.nsrs-app-shell {
	--nsrs-ink: #171918;
	--nsrs-muted: #5c625d;
	--nsrs-paper: #f4efe6;
	--nsrs-surface: #fffaf2;
	--nsrs-line: #d3c8b8;
	--nsrs-moss: #3f5146;
	--nsrs-moss-dark: #202b26;
	--nsrs-clay: #a5633f;
	--nsrs-danger: #8a3f37;
	box-sizing: border-box;
	color: var(--nsrs-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.55;
	margin: 0 auto;
	max-width: 1180px;
	padding: clamp(1rem, 4vw, 3.5rem) clamp(1rem, 4vw, 2rem) 1.5rem;
}
.nsrs-body { background: var(--nsrs-paper, #f4efe6); margin: 0; min-height: 100vh; }
.nsrs-skip-link { background: #fffaf2; border: 1px solid #d3c8b8; border-radius: .4rem; left: 1rem; padding: .55rem .8rem; position: absolute; top: -5rem; z-index: 1000; }
.nsrs-skip-link:focus { top: 1rem; }

.nsrs-app-shell *, .nsrs-app-shell *::before, .nsrs-app-shell *::after { box-sizing: inherit; }
.nsrs-app-shell [hidden] { display: none !important; }
.nsrs-app-shell button, .nsrs-app-shell input, .nsrs-app-shell textarea { font: inherit; }
.nsrs-app-shell a { color: inherit; }
.nsrs-masthead, .nsrs-section-heading, .nsrs-detail-head, .nsrs-session-row, .nsrs-app-footer, .nsrs-private-label { align-items: center; display: flex; justify-content: space-between; gap: 1rem; }
.nsrs-voice-controls { border: 1px solid var(--nsrs-line); border-radius: 14px; margin: 1rem 0; padding: 1rem; }
.nsrs-voice-controls h3 { margin: 0; }
.nsrs-voice-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.nsrs-voice-status { align-items: center; color: var(--nsrs-muted, #52615d); display: flex; font-size: .9rem; gap: .55rem; min-height: 1.4em; }
.nsrs-voice-dot { background: #929a96; border: 1px solid currentColor; border-radius: 50%; display: inline-block; flex: 0 0 .7rem; height: .7rem; width: .7rem; }
.nsrs-voice-dot[data-state="connected"] { background: #39814c; border-color: #39814c; box-shadow: 0 0 0 2px #39814c26; }
.nsrs-voice-dot[data-state="connecting"] { background: #bd8a28; border-color: #bd8a28; }
.nsrs-voice-dot[data-state="disconnected"], .nsrs-voice-dot[data-state="error"] { background: #bd4939; border-color: #bd4939; }
.nsrs-voice-dot[data-state="unavailable"] { background: #929a96; border-color: #929a96; }
.nsrs-microphone-status { margin-top: -.5rem; }
.nsrs-voice-actions button:disabled { cursor: not-allowed; }
.nsrs-voice-audio audio { display: none; }
.nsrs-masthead { border-bottom: 1px solid var(--nsrs-line); padding: 0 0 1.15rem; }
.nsrs-brand { align-items: center; color: var(--nsrs-ink); display: inline-flex; gap: .7rem; text-decoration: none; }
.nsrs-brand > span:last-child { font-size: .96rem; letter-spacing: -.02em; }
.nsrs-brand strong { color: var(--nsrs-moss); font-weight: 700; }
.nsrs-brand-mark { align-items: center; background: var(--nsrs-moss); border-radius: .5rem; color: var(--nsrs-surface); display: inline-flex; font-size: .75rem; font-weight: 750; height: 2.1rem; justify-content: center; letter-spacing: .04em; width: 2.1rem; }
.nsrs-private-label { color: var(--nsrs-muted); font-size: .78rem; gap: .45rem; }
.nsrs-private-label[tabindex="0"] { cursor: help; }
.nsrs-private-label[tabindex="0"]:focus-visible { outline: 3px solid #b79855; outline-offset: 4px; }
.nsrs-private-label > span { background: #73866e; border-radius: 50%; height: .48rem; width: .48rem; }
.nsrs-private-label-copy { align-items: flex-end; background: transparent !important; border-radius: 0 !important; display: flex; flex-direction: column; gap: .18rem; height: auto !important; width: auto !important; }
.nsrs-technician-link { color: var(--nsrs-moss); font-size: .68rem; font-weight: 700; letter-spacing: .02em; text-decoration: underline; text-underline-offset: .16em; }
.nsrs-technician-link:hover { color: var(--nsrs-moss-dark); }
.nsrs-hero { align-items: end; display: flex; gap: 2rem; justify-content: space-between; padding: clamp(2.4rem, 6vw, 4.2rem) 0 2rem; }
.nsrs-hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.055em; line-height: 1.04; margin: .25rem 0 .8rem; max-width: 760px; }
.nsrs-hero p:not(.nsrs-eyebrow) { color: var(--nsrs-muted); font-size: 1rem; margin: 0; max-width: 610px; }
.nsrs-create-form, .nsrs-rename-form { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.nsrs-create-form { max-width: 330px; flex: 0 0 330px; }
.nsrs-create-form label, .nsrs-rename-form label { width: 100%; font-size: .82rem; font-weight: 700; }
.nsrs-create-form input, .nsrs-rename-form input { min-width: 0; flex: 1 1 180px; border: 1px solid var(--nsrs-line); border-radius: .45rem; padding: .7rem .8rem; font: inherit; }
.nsrs-create-form .nsrs-button { flex: 1 1 auto; }
.nsrs-rename-form { margin-bottom: 1.25rem; }
.nsrs-session-id { color: var(--nsrs-muted); font-size: .78rem; }
.nsrs-cleanup-control { border-top: 1px solid var(--nsrs-line); margin-top: 1.4rem; padding-top: 1.2rem; }
.nsrs-cleanup-control h3 { font-size: 1rem; margin: 0 0 .4rem; }
.nsrs-cleanup-control p { color: var(--nsrs-muted); font-size: .82rem; line-height: 1.5; }
.nsrs-eyebrow { color: var(--nsrs-clay); font-size: .71rem; font-weight: 750; letter-spacing: .12em; margin: 0 0 .45rem; text-transform: uppercase; }
.nsrs-button { align-items: center; border: 1px solid transparent; border-radius: .45rem; cursor: pointer; display: inline-flex; font-size: .9rem; font-weight: 650; gap: .45rem; justify-content: center; line-height: 1.2; min-height: 2.75rem; padding: .7rem 1rem; text-decoration: none; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.nsrs-button:hover:not(:disabled) { transform: translateY(-1px); }
.nsrs-button:focus-visible, .nsrs-app-shell a:focus-visible, .nsrs-app-shell input:focus-visible, .nsrs-app-shell textarea:focus-visible { outline: 3px solid #b79855; outline-offset: 2px; }
.nsrs-button:disabled { cursor: wait; opacity: .65; }
.nsrs-button-primary { background: var(--nsrs-moss); color: white !important; }
.nsrs-button-primary:hover:not(:disabled) { background: var(--nsrs-moss-dark); }
.nsrs-button-secondary { background: var(--nsrs-surface); border-color: var(--nsrs-line); color: var(--nsrs-ink) !important; }
.nsrs-button-secondary:hover:not(:disabled) { border-color: var(--nsrs-moss); }
.nsrs-button-subtle { background: transparent; border-color: transparent; color: var(--nsrs-moss) !important; min-height: 2.35rem; }
.nsrs-button-danger { background: transparent; border-color: #dcb8ae; color: var(--nsrs-danger) !important; margin-top: 1rem; }
.nsrs-button-danger:hover:not(:disabled) { background: #fbefeb; }
.nsrs-landing-shell { max-width: 1240px; }
.nsrs-landing-hero { align-items: center; border-bottom: 1px solid var(--nsrs-line); display: grid; gap: clamp(2rem, 7vw, 7rem); grid-template-columns: minmax(0, 1.3fr) minmax(180px, .7fr); min-height: min(620px, 70vh); padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem); }
.nsrs-landing-hero h1 { font-size: clamp(2.8rem, 7vw, 6.8rem); letter-spacing: -.075em; line-height: .96; margin: .25rem 0 1.25rem; max-width: 850px; }
.nsrs-landing-lede { color: var(--nsrs-muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.55; margin: 0; max-width: 650px; }
.nsrs-landing-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.8rem; }
.nsrs-landing-note { color: var(--nsrs-muted); font-size: .78rem; margin: 1rem 0 0; max-width: 470px; }
.nsrs-landing-signal { align-items: center; background: #e8eee5; border: 1px solid #c9d4c7; border-radius: 50%; display: flex; flex-direction: column; gap: .6rem; height: clamp(170px, 24vw, 280px); justify-content: center; justify-self: center; position: relative; width: clamp(170px, 24vw, 280px); }
.nsrs-landing-signal::before, .nsrs-landing-signal::after { border: 1px solid #a9bca9; border-radius: 50%; content: ''; height: 72%; position: absolute; width: 72%; }
.nsrs-landing-signal::after { height: 46%; width: 46%; }
.nsrs-landing-signal-line { background: var(--nsrs-moss); display: block; height: 1px; opacity: .7; transform: rotate(-25deg); width: 42%; }
.nsrs-landing-signal-line-short { opacity: .4; transform: rotate(35deg); width: 24%; }
.nsrs-landing-signal-dot { background: var(--nsrs-clay); border: 4px solid #f8f4eb; border-radius: 50%; box-shadow: 0 0 0 1px var(--nsrs-clay); height: 1.2rem; position: relative; width: 1.2rem; z-index: 1; }
.nsrs-landing-section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.nsrs-landing-section .nsrs-section-heading { margin-bottom: 1.5rem; }
.nsrs-landing-section h2, .nsrs-landing-boundary h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.055em; line-height: 1; margin: .2rem 0 0; }
.nsrs-landing-cards { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nsrs-landing-card { min-height: 230px; padding: 1.35rem; }
.nsrs-landing-card h3, .nsrs-landing-steps h3 { font-size: 1.15rem; letter-spacing: -.025em; margin: 1.8rem 0 .55rem; }
.nsrs-landing-card p:last-child, .nsrs-landing-steps p, .nsrs-landing-boundary > p { color: var(--nsrs-muted); font-size: .9rem; line-height: 1.6; margin: 0; }
.nsrs-card-index { color: var(--nsrs-clay); font-size: .73rem; font-weight: 800; letter-spacing: .1em; margin: 0; }
.nsrs-landing-process { border-top: 1px solid var(--nsrs-line); }
.nsrs-landing-steps { display: grid; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.nsrs-landing-steps li { border-top: 2px solid var(--nsrs-moss); padding: 1rem 1rem 0 0; }
.nsrs-landing-steps li > span { color: var(--nsrs-clay); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.nsrs-landing-steps h3 { margin-top: 2.5rem; }
.nsrs-landing-boundary { align-items: start; background: #e9eee7; border: 1px solid #c9d4c7; border-radius: .7rem; display: grid; gap: 2rem; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); margin: 0 0 3rem; padding: clamp(1.4rem, 4vw, 2.5rem); }
.nsrs-landing-boundary > p { color: #34463a; font-size: 1rem; max-width: 640px; }
.nsrs-landing-shell .nsrs-app-footer { border-top: 1px solid var(--nsrs-line); padding-top: 1.15rem; }
.nsrs-button-small { min-height: 2.25rem; padding: .45rem .75rem; }
.nsrs-icon-button { background: transparent; border: 1px solid var(--nsrs-line); border-radius: 50%; color: var(--nsrs-moss); cursor: pointer; font-size: 1.2rem; height: 2.5rem; width: 2.5rem; }
.nsrs-banner { border: 1px solid transparent; border-radius: .55rem; font-size: .9rem; margin: 0 0 1.4rem; padding: .9rem 1rem; }
.nsrs-banner-info { background: #e9eee7; border-color: #c9d4c7; color: #293d31; }
.nsrs-banner-success { background: #edf3e9; border-color: #c8d9bf; color: #31442c; }
.nsrs-banner-error { background: #fbefeb; border-color: #e7c8bf; color: #773b32; }
.nsrs-workspace-grid { align-items: start; display: grid; gap: 1.25rem; grid-template-columns: minmax(280px, .88fr) minmax(0, 1.5fr); }
.nsrs-card { background: var(--nsrs-surface); border: 1px solid var(--nsrs-line); border-radius: .75rem; box-shadow: 0 10px 28px rgba(23, 25, 24, .045); padding: clamp(1.15rem, 3vw, 1.8rem); }
.nsrs-session-panel { min-height: 360px; }
.nsrs-section-heading { align-items: center; margin-bottom: .25rem; }
.nsrs-section-heading h2, .nsrs-detail-head h2, .nsrs-subpanel h3 { font-size: 1.25rem; letter-spacing: -.025em; line-height: 1.2; margin: 0; }
.nsrs-muted, .nsrs-loading, .nsrs-footnote { color: var(--nsrs-muted); font-size: .87rem; }
.nsrs-session-list { margin-top: 1.1rem; }
.nsrs-session-row { align-items: flex-start; border-top: 1px solid #e9e0d5; padding: 1rem 0; }
.nsrs-session-row-copy { min-width: 0; }
.nsrs-session-row-copy strong { display: block; font-size: .92rem; }
.nsrs-session-meta { align-items: center; color: var(--nsrs-muted); display: flex; flex-wrap: wrap; font-size: .72rem; gap: .5rem; margin-top: .5rem; }
.nsrs-status { background: #eee9df; border-radius: 999px; color: #4f514d; display: inline-block; font-size: .7rem; font-weight: 700; padding: .28rem .6rem; white-space: nowrap; }
.nsrs-status-active { background: #e3ece3; color: #31513c; }
.nsrs-status-connected { background: #dceedd; color: #245333; }
.nsrs-status-awaiting_intake { background: #f2e8d3; color: #6b5024; }
.nsrs-status-temporarily_disconnected, .nsrs-status-credentials_expired { background: #eee7e3; color: #6a4038; }
.nsrs-status-invitation_issued { background: #f2e8d3; color: #6b5024; }
.nsrs-status-ended, .nsrs-status-ending, .nsrs-status-revoked { background: #eee7e3; color: #6a4038; }
.nsrs-status-expired { background: #eee9df; color: #5d5b52; }
.nsrs-list-empty { background: #f8f4ee; border-radius: .5rem; color: var(--nsrs-muted); font-size: .88rem; padding: 1rem; }
.nsrs-empty-state { margin: clamp(2rem, 8vw, 5rem) auto; max-width: 450px; text-align: center; }
.nsrs-empty-state h2 { font-size: 1.8rem; letter-spacing: -.04em; margin: .2rem 0 .5rem; }
.nsrs-empty-state p:last-child { color: var(--nsrs-muted); margin: 0 auto; max-width: 390px; }
.nsrs-empty-mark { color: var(--nsrs-clay); display: block; font-size: 2rem; margin-bottom: .65rem; }
.nsrs-detail-head { align-items: flex-start; border-bottom: 1px solid var(--nsrs-line); padding-bottom: 1rem; }
.nsrs-detail-head h2, .nsrs-detail-head h1 { font-size: 1.65rem; letter-spacing: -.04em; margin: 0; }
.nsrs-subpanel { border-bottom: 1px solid #e9e0d5; padding: 1.25rem 0; }
.nsrs-subpanel:last-child { border-bottom: 0; }
.nsrs-subpanel > .nsrs-muted { margin: .4rem 0 .85rem; }
.nsrs-subpanel .nsrs-section-heading { justify-content: flex-start; }
.nsrs-invitation-result { align-items: stretch; display: flex; gap: .6rem; margin-top: .8rem; }
.nsrs-invitation-result[hidden] { display: none; }
.nsrs-invitation-result input { background: #f6f1e8; border: 1px solid var(--nsrs-line); border-radius: .4rem; color: var(--nsrs-ink); flex: 1; min-width: 0; padding: .65rem; }
.nsrs-message-list { background: #f8f4ee; border: 1px solid #e9e0d5; border-radius: .55rem; display: flex; flex-direction: column; gap: .7rem; height: 330px; min-height: 300px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: .8rem; scrollbar-gutter: stable; }
.nsrs-message { background: var(--nsrs-surface); border: 1px solid #ede5da; border-radius: .45rem; padding: .65rem .75rem; }
.nsrs-message p { margin: .35rem 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.nsrs-message-meta { align-items: baseline; display: flex; flex-wrap: wrap; gap: .65rem; }
.nsrs-message-meta strong { color: var(--nsrs-moss); font-size: .78rem; }
.nsrs-message-meta time { color: var(--nsrs-muted); font-size: .7rem; }
.nsrs-attachment-message { border-color: #d7e3d7; }
.nsrs-attachment-card { display: grid; gap: .6rem; margin-top: .5rem; }
.nsrs-file-icon { align-items: center; background: #e8eee5; border-radius: .3rem; color: var(--nsrs-moss); display: inline-flex; font-size: .65rem; font-weight: 750; height: 1.5rem; justify-content: center; letter-spacing: .04em; width: 2.2rem; }
.nsrs-attachment-link { color: var(--nsrs-moss); font-size: .88rem; font-weight: 650; overflow-wrap: anywhere; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nsrs-attachment-preview { background: #f4f1ec; border: 1px solid var(--nsrs-line); border-radius: .4rem; display: block; max-height: 240px; max-width: min(100%, 420px); object-fit: contain; }
.nsrs-new-messages { align-self: center; margin: .55rem 0 0; }
.nsrs-new-messages[hidden] { display: none; }
.nsrs-sync-status { color: var(--nsrs-muted); font-size: .76rem; min-height: 1.1em; margin: 0 0 .4rem; }
.nsrs-attachment-controls { align-items: center; display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .6rem; }
.nsrs-attachment-controls progress { accent-color: var(--nsrs-moss); height: .7rem; width: min(220px, 100%); }
.nsrs-upload-status { color: var(--nsrs-muted); font-size: .78rem; }
.nsrs-evidence-list { display: grid; gap: .55rem; }
.nsrs-evidence-row { align-items: center; background: #f8f4ee; border: 1px solid #e9e0d5; border-radius: .45rem; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; padding: .65rem .75rem; }
.nsrs-chat-empty { margin: auto; text-align: center; }
.nsrs-message-form, .nsrs-notes-form { display: flex; flex-direction: column; gap: .65rem; margin-top: .75rem; }
.nsrs-app-shell textarea { background: white; border: 1px solid var(--nsrs-line); border-radius: .45rem; color: var(--nsrs-ink); line-height: 1.5; padding: .75rem; resize: vertical; width: 100%; }
.nsrs-message-form button, .nsrs-notes-form button { align-self: flex-end; }
.nsrs-footnote { font-size: .76rem; margin: .8rem 0 0; }
.nsrs-app-footer { border-top: 1px solid var(--nsrs-line); color: var(--nsrs-muted); font-size: .75rem; margin-top: 1.6rem; padding-top: 1rem; }
.nsrs-app-footer a { color: var(--nsrs-moss); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nsrs-build-label { color: var(--nsrs-muted); font-size: .7rem; letter-spacing: .02em; white-space: nowrap; }
.nsrs-access-card, .nsrs-guest-card { margin: clamp(2rem, 8vw, 5rem) auto; max-width: 680px; }
.nsrs-access-card h1, .nsrs-guest-result h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); letter-spacing: -.05em; line-height: 1.06; margin: .25rem 0 .7rem; }
.nsrs-access-card > p:not(.nsrs-eyebrow) { color: var(--nsrs-muted); }
.nsrs-guest-result { margin: 1rem auto; max-width: 480px; text-align: center; }
.nsrs-spinner { animation: nsrs-spin 1.1s linear infinite; border: 2px solid #ddd2c1; border-right-color: var(--nsrs-moss); border-radius: 50%; display: inline-block; height: 1.6rem; margin-bottom: .8rem; width: 1.6rem; }
.nsrs-error-text { color: var(--nsrs-danger); font-size: .85rem; }
.nsrs-inline-notice { margin: .5rem 0 .9rem; }
.nsrs-guest-shell .nsrs-guest-card { max-width: 760px; }
@keyframes nsrs-spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
	.nsrs-message-list { height: min(50vh, 330px); min-height: 220px; }
	.nsrs-hero { align-items: flex-start; flex-direction: column; }
	.nsrs-create-form { max-width: none; width: 100%; flex: 1 1 auto; }
	.nsrs-workspace-grid { grid-template-columns: 1fr; }
	.nsrs-detail-head { align-items: flex-start; }
	.nsrs-invitation-result { flex-direction: column; }
	.nsrs-app-footer { align-items: flex-start; flex-direction: column; gap: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
	.nsrs-app-shell *, .nsrs-app-shell *::before, .nsrs-app-shell *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.nsrs-screen-controls, .nsrs-screen-view { border-top: 1px solid var(--nsrs-line); margin-top: 1rem; padding-top: 1rem; }
.nsrs-screen-controls h3, .nsrs-screen-view h3 { font-size: 1.05rem; margin: 0 0 .45rem; }
.nsrs-screen-status { color: var(--nsrs-muted); font-size: .82rem; min-height: 1.2rem; }
.nsrs-screen-status[data-state="live"] { color: #31513c; font-weight: 650; }
.nsrs-screen-status[data-state="error"], .nsrs-screen-status[data-state="interrupted"] { color: var(--nsrs-danger); }
.nsrs-screen-frame { align-items: center; aspect-ratio: 16 / 9; background: #171b19; border: 1px solid var(--nsrs-line); border-radius: .55rem; display: flex; justify-content: center; max-height: min(70vh, 720px); min-height: 180px; overflow: hidden; width: 100%; }
.nsrs-screen-placeholder { color: #e9ece8; font-size: .85rem; padding: 1rem; text-align: center; }
.nsrs-screen-video { display: block; height: 100%; max-height: 70vh; object-fit: contain; width: 100%; }
.nsrs-workspace-grid.nsrs-workspace-session-open { grid-template-columns: minmax(205px, .46fr) minmax(0, 1.8fr); }
.nsrs-session-workspace { align-items: start; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .9fr); margin-top: 1rem; }
.nsrs-session-main { min-width: 0; }
.nsrs-session-main > .nsrs-subpanel:first-child { padding-top: .45rem; }
.nsrs-session-actions { align-items: center; display: flex; flex-wrap: wrap; gap: .35rem .65rem; }
.nsrs-session-actions .nsrs-section-heading { flex: 0 0 100%; margin: 0; }
.nsrs-session-actions > .nsrs-muted { flex: 1 1 210px; margin: .2rem 0; }
.nsrs-session-actions > .nsrs-status { align-self: center; }
.nsrs-session-actions .nsrs-invitation-result { flex: 1 1 100%; }
.nsrs-voice-controls.nsrs-voice-compact { border-radius: .65rem; margin: .6rem 0 .2rem; padding: .7rem .8rem; }
.nsrs-voice-compact .nsrs-voice-toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: .45rem .9rem; justify-content: space-between; }
.nsrs-voice-compact .nsrs-voice-info { align-items: center; display: flex; flex-wrap: wrap; gap: .25rem .8rem; min-width: 0; }
.nsrs-voice-compact .nsrs-voice-status { font-size: .78rem; margin: 0; min-height: 1.2em; }
.nsrs-voice-compact .nsrs-microphone-status { border-left: 1px solid var(--nsrs-line); padding-left: .8rem; }
.nsrs-advisor-panel { background: #f8f4ee; border: 1px solid var(--nsrs-line); border-radius: .7rem; max-height: calc(100vh - 2rem); overflow-y: auto; padding: 1rem; position: sticky; top: 1rem; }
.nsrs-advisor-panel h3 { font-size: 1.12rem; letter-spacing: -.02em; margin: 0; }
.nsrs-advisor-panel h4 { font-size: .76rem; letter-spacing: .04em; margin: 0 0 .35rem; text-transform: uppercase; }
.nsrs-advisor-header { align-items: flex-start; border-bottom: 1px solid var(--nsrs-line); display: flex; gap: .7rem; justify-content: space-between; padding-bottom: .75rem; }
.nsrs-advisor-badge { background: #eee8da; border-radius: 999px; color: #665a41; flex: 0 0 auto; font-size: .63rem; font-weight: 750; padding: .22rem .45rem; text-transform: uppercase; }
.nsrs-advisor-demo-note { background: #f1ebdd; border-radius: .4rem; color: #625b4d; font-size: .72rem; margin: .65rem 0; padding: .5rem .6rem; }
.nsrs-advisor-worker-note, .nsrs-advisor-job-ref { color: var(--nsrs-muted); font-size: .7rem; margin: .45rem 0; }
.nsrs-advisor-job-ref { font-weight: 700; }
.nsrs-advisor-field { display: block; font-size: .8rem; font-weight: 650; margin: .7rem 0 .3rem; }
.nsrs-advisor-panel textarea { font-size: .84rem; min-height: 3.2rem; }
.nsrs-advisor-panel .nsrs-advisor-observation { min-height: 4.5rem; }
.nsrs-advisor-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin: .65rem 0; }
.nsrs-advisor-actions .nsrs-button { font-size: .78rem; min-height: 2.25rem; padding: .48rem .65rem; }
.nsrs-advisor-question { border-top: 1px solid #e9e0d5; margin-top: .75rem; padding-top: .45rem; }
.nsrs-advisor-question textarea { min-height: 2.8rem; }
.nsrs-advisor-feedback { color: var(--nsrs-muted); font-size: .76rem; min-height: 1.2em; margin: .35rem 0; }
.nsrs-advisor-feedback[data-state="error"] { color: var(--nsrs-danger); }
.nsrs-advisor-feedback[data-state="ready"] { color: #31513c; font-weight: 650; }
.nsrs-advisor-feedback[data-state="offline"] { color: #795b14; }
.nsrs-advisor-feedback[data-state="failed"] { color: var(--nsrs-danger); }
.nsrs-advisor-history-section { border-top: 1px solid var(--nsrs-line); margin-top: .7rem; padding-top: .65rem; }
.nsrs-advisor-history-section h4 { margin-bottom: .45rem; }
.nsrs-advisor-history { display: grid; gap: .35rem; }
.nsrs-advisor-history-item { align-items: center; background: var(--nsrs-surface); border: 1px solid #e9e0d5; border-radius: .4rem; display: flex; gap: .4rem; justify-content: space-between; padding: .4rem .5rem; }
.nsrs-advisor-history-item.is-selected { border-color: #867350; box-shadow: inset 3px 0 #867350; }
.nsrs-advisor-history-copy { display: grid; gap: .12rem; min-width: 0; }
.nsrs-advisor-history-copy strong, .nsrs-advisor-history-status, .nsrs-advisor-history-time { font-size: .67rem; overflow-wrap: anywhere; }
.nsrs-advisor-history-status, .nsrs-advisor-history-time, .nsrs-advisor-history-empty { color: var(--nsrs-muted); }
.nsrs-advisor-history-empty { font-size: .72rem; margin: .2rem 0; }
.nsrs-advisor-evidence-list { display: grid; gap: .4rem; max-height: 15rem; overflow-y: auto; }
.nsrs-advisor-evidence-item { background: var(--nsrs-surface); border-left: 3px solid #819783; padding: .4rem .55rem; }
.nsrs-advisor-evidence-item strong { display: block; font-size: .68rem; text-transform: capitalize; }
.nsrs-advisor-evidence-item p { font-size: .72rem; margin: .2rem 0; overflow-wrap: anywhere; }
.nsrs-advisor-evidence-item small { color: var(--nsrs-muted); }
.nsrs-advisor-history-item .nsrs-button { flex: 0 0 auto; font-size: .68rem; min-height: 1.9rem; padding: .32rem .45rem; }
.nsrs-advisor-output { display: grid; gap: .55rem; margin-top: .7rem; }
.nsrs-advisor-result { background: var(--nsrs-surface); border: 1px solid #e9e0d5; border-radius: .45rem; padding: .65rem .7rem; }
.nsrs-advisor-result p, .nsrs-advisor-result ul { font-size: .82rem; margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.nsrs-advisor-result ul { padding-left: 1.1rem; }
.nsrs-advisor-confidence { color: var(--nsrs-muted); font-size: .68rem; font-weight: 500; margin-left: .35rem; text-transform: none; }
.nsrs-advisor-observations { display: grid; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nsrs-advisor-observations li { border-left: 2px solid #c8d4c7; font-size: .74rem; padding-left: .5rem; }
.nsrs-advisor-observations strong { color: var(--nsrs-moss); display: block; font-size: .65rem; letter-spacing: .04em; text-transform: uppercase; }
.nsrs-advisor-panel details { border-top: 1px solid var(--nsrs-line); margin-top: .75rem; padding-top: .6rem; }
.nsrs-advisor-panel summary { cursor: pointer; font-size: .78rem; font-weight: 650; }
.nsrs-advisor-panel details p { color: var(--nsrs-muted); font-size: .72rem; margin: .4rem 0; }
.nsrs-advisor-panel [data-action="advisor-use-reply"] { width: 100%; }
.nsrs-advisor-panel[data-ended="true"] { opacity: .76; position: static; }
@media (max-width: 1080px) {
	.nsrs-workspace-grid.nsrs-workspace-session-open { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
	.nsrs-session-workspace { grid-template-columns: minmax(0, 1fr); }
	.nsrs-advisor-panel { max-height: none; position: static; }
}

.nsrs-paste-preview-list { display: grid; gap: .5rem; margin-top: .55rem; }
.nsrs-paste-preview { align-items: center; background: var(--nsrs-surface); border: 1px solid var(--nsrs-line); border-radius: .5rem; display: grid; gap: .65rem; grid-template-columns: 5rem minmax(0, 1fr) auto; padding: .45rem; }
.nsrs-paste-thumbnail { aspect-ratio: 16 / 10; background: #ede8df; border: 1px solid var(--nsrs-line); border-radius: .3rem; object-fit: contain; width: 5rem; }
.nsrs-paste-details { display: grid; font-size: .76rem; gap: .2rem; min-width: 0; overflow-wrap: anywhere; }
.nsrs-paste-details span { color: var(--nsrs-muted); font-size: .7rem; }
.nsrs-paste-remove { white-space: nowrap; }
.nsrs-upload-status[data-state="error"] { color: var(--nsrs-danger); }
.nsrs-upload-status[data-state="success"] { color: #31513c; }
.nsrs-client-name { color: var(--nsrs-moss); display: block; font-size: .82rem; font-weight: 650; margin-top: .2rem; overflow-wrap: anywhere; }
.nsrs-screen-frame:fullscreen { background: #101413; display: grid; place-items: center; padding: 1rem; }
.nsrs-screen-frame:fullscreen video { max-height: 100vh; max-width: 100vw; object-fit: contain; }
.nsrs-screen-view:fullscreen { background: #101413; color: #fff; display: flex; flex-direction: column; padding: 1rem; }
.nsrs-screen-view:fullscreen .nsrs-screen-frame { flex: 1; min-height: 0; }
.nsrs-screen-view:fullscreen .nsrs-screen-video { height: 100%; object-fit: contain; width: 100%; }
.nsrs-screen-context { color: var(--nsrs-muted); font-size: .76rem; margin: .2rem 0; }
.nsrs-screen-view:fullscreen .nsrs-screen-context { color: #d7e1dc; }
.nsrs-viewer { margin: 0 auto; max-width: 1500px; padding: 1rem; }
.nsrs-viewer:fullscreen { background: #101413; color: #fff; display: flex; flex-direction: column; max-width: none; }
.nsrs-viewer:fullscreen .nsrs-viewer-frame { flex: 1; min-height: 0; }
.nsrs-viewer.nsrs-viewer-large { background: #101413; color: #fff; display: flex; flex-direction: column; height: 100vh; inset: 0; margin: 0; max-width: none; position: fixed; width: 100vw; z-index: 99999; }
.nsrs-viewer.nsrs-viewer-large .nsrs-viewer-frame { flex: 1; min-height: 0; }
.nsrs-viewer-head { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.nsrs-viewer-head h1 { font-size: 1.4rem; margin: .2rem 0; }
.nsrs-viewer-frame { aspect-ratio: 16 / 9; background: #101413; display: grid; min-height: 18rem; place-items: center; width: 100%; }
.nsrs-viewer-frame video { height: 100%; object-fit: contain; width: 100%; }
.nsrs-advisor-worker-recovery { background: #fff6df; border: 1px solid #d6bb75; border-radius: .45rem; display: grid; gap: .4rem; margin: .6rem 0; padding: .65rem; }
.nsrs-advisor-worker-recovery[hidden] { display: none; }
.nsrs-advisor-worker-recovery p { font-size: .75rem; margin: 0; }
.nsrs-advisor-command { background: #fff; display: block; font-size: .68rem; overflow-wrap: anywhere; padding: .4rem; user-select: all; }
.nsrs-intake-summary { background: #f8f4ee; padding: .75rem .9rem; }
.nsrs-intake-summary p { font-size: .82rem; margin: .3rem 0; overflow-wrap: anywhere; }
.nsrs-intake-issue { white-space: pre-wrap; }
.nsrs-intake-form { margin: 1rem auto; max-width: 38rem; }
.nsrs-intake-form h1 { margin: .2rem 0 .5rem; }
.nsrs-intake-form > label { display: block; font-size: .85rem; font-weight: 650; margin: 1rem 0 .35rem; }
.nsrs-intake-form > input, .nsrs-intake-form > textarea { box-sizing: border-box; width: 100%; }
.nsrs-intake-acknowledgements { border: 1px solid var(--nsrs-line); border-radius: .55rem; margin: 1.2rem 0; padding: .7rem .85rem; }
.nsrs-intake-acknowledgements legend { font-size: .82rem; font-weight: 650; padding: 0 .3rem; }
.nsrs-intake-check { align-items: flex-start; display: flex; font-size: .82rem; gap: .55rem; line-height: 1.45; margin: .65rem 0; }
.nsrs-intake-check input { flex: 0 0 auto; margin-top: .2rem; }

/* Advisor A-001: clearer warm-surface hierarchy and a single active-session grid. */
.nsrs-app-shell { max-width: 1680px; }
.nsrs-card { background: #fffdf8; }
.nsrs-workspace-grid { gap: 1rem; }
.nsrs-workspace-grid.nsrs-workspace-session-open { grid-template-columns: minmax(205px, .58fr) minmax(0, 1.55fr) minmax(300px, .9fr); }
.nsrs-workspace-grid.nsrs-workspace-session-open > .nsrs-session-panel { grid-column: 1; grid-row: 1 / span 3; padding: 1rem; }
.nsrs-workspace-grid.nsrs-workspace-session-open #nsrs-detail-panel,
.nsrs-workspace-grid.nsrs-workspace-session-open .nsrs-session-workspace { display: contents; }
.nsrs-workspace-grid.nsrs-workspace-session-open .nsrs-detail-head { grid-column: 2 / 4; }
.nsrs-workspace-grid.nsrs-workspace-session-open .nsrs-session-main { background: #fffdf8; border: 1px solid var(--nsrs-line); border-radius: .75rem; grid-column: 2; padding: 1rem 1.2rem; }
.nsrs-workspace-grid.nsrs-workspace-session-open .nsrs-advisor-panel { grid-column: 3; max-height: calc(100vh - 2rem); overflow-y: auto; }
.nsrs-session-panel { min-width: 0; }
.nsrs-session-row { align-items: flex-start; gap: .5rem; }
.nsrs-session-row .nsrs-button { flex: 0 0 auto; }
.nsrs-session-row.is-current { border-left: 3px solid var(--nsrs-moss); background: #edf2eb; margin-left: -.65rem; padding-left: .65rem; }
.nsrs-session-meta { gap: .35rem .5rem; }
.nsrs-recent-sessions { border-top: 1px solid var(--nsrs-line); margin-top: .6rem; padding-top: .7rem; }
.nsrs-recent-sessions summary { color: var(--nsrs-moss); cursor: pointer; font-size: .8rem; font-weight: 700; }
.nsrs-recent-session-list { margin-top: .35rem; }
.nsrs-detail-head { align-items: center; gap: .75rem; }
.nsrs-session-clock { align-items: flex-end; display: grid; flex: 0 0 auto; gap: .05rem; margin-left: auto; text-align: right; }
.nsrs-session-clock-value { color: var(--nsrs-moss); font-size: 1.35rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; line-height: 1.1; }
.nsrs-session-clock-detail { color: var(--nsrs-muted); font-size: .68rem; }
.nsrs-session-main .nsrs-subpanel { padding: 1rem 0; }
.nsrs-message-list { background: #f5f3ec; height: min(58vh, 620px); min-height: 360px; }
.nsrs-message { border-color: #ddd8ca; line-height: 1.6; padding: .8rem .9rem; }
.nsrs-message-form textarea { font-size: .95rem; min-height: 5.5rem; }
.nsrs-advisor-panel { background: #f3f0e8; max-height: none; overflow: visible; padding: 1rem; position: sticky; top: 1rem; }
.nsrs-advisor-demo-note { background: #e9eee6; color: #36473b; font-size: .76rem; }
.nsrs-advisor-output { gap: .6rem; margin-top: .8rem; }
.nsrs-advisor-primary-result { border-color: #d0d8ca; border-left: 3px solid #788f75; box-shadow: 0 2px 8px #273b2c0a; padding: .75rem .8rem; }
.nsrs-advisor-primary-result:first-child { background: #e9eee6; border-color: #b9c8b8; }
.nsrs-advisor-primary-result h4 { color: #304438; font-size: .78rem; letter-spacing: .035em; }
.nsrs-advisor-primary-result p { color: #252d27; font-size: .88rem; line-height: 1.55; }
.nsrs-advisor-panel [data-action="advisor-use-reply"] { min-height: 2.6rem; }
.nsrs-advisor-evidence-list { max-height: none; overflow: visible; }
.nsrs-advisor-accordion, .nsrs-case-context, .nsrs-guest-tools, .nsrs-guest-evidence { border-top: 1px solid var(--nsrs-line); margin-top: .8rem; padding-top: .65rem; }
.nsrs-advisor-accordion > summary, .nsrs-case-context > summary, .nsrs-guest-tools > summary, .nsrs-guest-evidence > summary { color: var(--nsrs-moss); cursor: pointer; font-size: .8rem; font-weight: 700; line-height: 1.45; }
.nsrs-app-shell summary:focus-visible { outline: 3px solid #b79855; outline-offset: 3px; }
.nsrs-guest-tools > summary { align-items: center; display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.nsrs-guest-tools-status, .nsrs-guest-voice-summary { color: var(--nsrs-muted); font-size: .73rem; font-weight: 600; }
.nsrs-guest-tools-status { margin-left: auto; }
.nsrs-advisor-accordion[open] > summary, .nsrs-case-context[open] > summary, .nsrs-guest-tools[open] > summary, .nsrs-guest-evidence[open] > summary { margin-bottom: .65rem; }
.nsrs-advisor-panel details details { margin-top: .65rem; }
.nsrs-advisor-supporting { display: grid; gap: .5rem; }
.nsrs-case-context { font-size: .82rem; }
.nsrs-case-context .nsrs-muted { font-size: .76rem; }
.nsrs-case-context-meta { color: var(--nsrs-muted); font-size: .7rem; margin: 0; }
.nsrs-case-context .nsrs-notes-form { gap: .45rem; }
.nsrs-case-context textarea { min-height: 5rem; }
.nsrs-guest-session-head { align-items: flex-start; }
.nsrs-guest-session-head h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.1; }
.nsrs-guest-technician { color: var(--nsrs-moss); font-size: .92rem; font-weight: 700; margin: .45rem 0 0; }
.nsrs-guest-instruction { background: #e9eee6; border-left: 3px solid var(--nsrs-moss); border-radius: .45rem; color: #2c3c32; font-size: .9rem; margin: 1rem 0 .25rem; padding: .75rem .9rem; }
.nsrs-guided-diagnostic { background: #e9eee6; border: 1px solid #d5dfd2; border-left: 4px solid var(--nsrs-moss); border-radius: .65rem; color: #2c3c32; margin: 1rem 0 .45rem; padding: 1rem; }
.nsrs-guided-diagnostic .nsrs-eyebrow { color: var(--nsrs-moss); font-size: .68rem; font-weight: 800; letter-spacing: .09em; margin: 0 0 .2rem; }
.nsrs-guided-diagnostic h2 { font-size: 1.25rem; margin: 0 0 .45rem; }
.nsrs-guided-instruction { font-size: .96rem; line-height: 1.5; margin: 0 0 .85rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.nsrs-guided-capture-row { align-items: center; display: flex; flex-wrap: wrap; gap: .65rem; }
.nsrs-guided-capture { min-height: 2.9rem; }
.nsrs-guided-capture-status { color: var(--nsrs-muted); flex: 1 1 13rem; font-size: .78rem; line-height: 1.4; }
.nsrs-guided-capture-status[data-state="success"] { color: #31513c; font-weight: 650; }
.nsrs-guided-capture-status[data-state="error"] { color: var(--nsrs-danger); }
.nsrs-guided-capture-row progress { flex: 1 1 8rem; max-width: 13rem; }
.nsrs-guest-chat { border: 1px solid #d8d4c8; border-radius: .65rem; margin-top: .65rem; padding: .75rem 0 1rem; }
.nsrs-guest-chat .nsrs-section-heading { padding: 0 .9rem; }
.nsrs-guest-chat .nsrs-message-list { height: min(58vh, 540px); min-height: 300px; }
.nsrs-guest-tools .nsrs-voice-controls, .nsrs-guest-tools .nsrs-screen-controls { margin: .2rem 0 0; }
.nsrs-guest-tools .nsrs-voice-controls { border: 0; padding: .25rem 0 .7rem; }
.nsrs-guest-tools .nsrs-voice-controls > .nsrs-muted { font-size: .78rem; }
.nsrs-guest-evidence .nsrs-evidence-list { margin-top: .7rem; }
.nsrs-screen-controls .nsrs-voice-actions { gap: .45rem; }

@media (max-width: 1380px) {
	.nsrs-workspace-grid.nsrs-workspace-session-open { grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr); }
	.nsrs-workspace-grid.nsrs-workspace-session-open > .nsrs-session-panel { grid-column: 1; grid-row: 1 / span 4; }
	.nsrs-workspace-grid.nsrs-workspace-session-open .nsrs-detail-head { grid-column: 2; }
	.nsrs-workspace-grid.nsrs-workspace-session-open .nsrs-session-main { grid-column: 2; }
	.nsrs-workspace-grid.nsrs-workspace-session-open .nsrs-advisor-panel { grid-column: 2; position: static; }
}
@media (max-width: 760px) {
	.nsrs-landing-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.nsrs-landing-signal { justify-self: start; }
	.nsrs-landing-cards, .nsrs-landing-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nsrs-landing-steps li:nth-child(n+3) { margin-top: 1.5rem; }
	.nsrs-landing-boundary { grid-template-columns: minmax(0, 1fr); }
	.nsrs-workspace-grid.nsrs-workspace-session-open { grid-template-columns: minmax(0, 1fr); }
	.nsrs-workspace-grid.nsrs-workspace-session-open > .nsrs-session-panel { grid-column: 1; grid-row: auto; }
	.nsrs-workspace-grid.nsrs-workspace-session-open .nsrs-detail-head,
	.nsrs-workspace-grid.nsrs-workspace-session-open .nsrs-session-main,
	.nsrs-workspace-grid.nsrs-workspace-session-open .nsrs-advisor-panel { grid-column: 1; }
	.nsrs-workspace-grid.nsrs-workspace-session-open .nsrs-session-main { padding: .75rem; }
	.nsrs-detail-head { flex-wrap: wrap; }
	.nsrs-session-clock { flex: 1 0 100%; margin: 0; text-align: left; }
	.nsrs-guest-chat .nsrs-message-list { height: 45vh; min-height: 240px; }
}
@media (max-width: 520px) {
	.nsrs-landing-cards, .nsrs-landing-steps { grid-template-columns: minmax(0, 1fr); }
	.nsrs-landing-steps li:nth-child(n+2) { margin-top: 1.5rem; }
	.nsrs-paste-preview { gap: .45rem; grid-template-columns: 3.8rem minmax(0, 1fr); }
	.nsrs-paste-thumbnail { width: 3.8rem; }
	.nsrs-paste-remove { grid-column: 2; justify-self: start; }
}
@media (max-width: 450px) {
	.nsrs-guided-diagnostic { margin-top: .75rem; padding: .8rem; }
	.nsrs-guided-capture-row { align-items: stretch; display: grid; grid-template-columns: minmax(0, 1fr); }
	.nsrs-guided-capture { width: 100%; }
	.nsrs-guided-capture-row progress { max-width: none; width: 100%; }
	.nsrs-guided-capture-status { min-width: 0; }
}
