:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#06101f;--bg-deep:#030a14;--panel:#0c1e36c7;--panel-strong:#0d2039;--panel-soft:#11284494;--border:#526d8d;--border-soft:#6d8db147;--text:#f4f7fb;--muted:#a6b6ca;--muted-strong:#c1cede;--accent:#65acff;--accent-strong:#2d73e5;--accent-surface:#478eed2b;--success:#6fd3aa;--success-surface:#29916829;--warning:#f2c879;--warning-surface:#c2852a29;--error:#ff9b9b;--error-strong:#df646e;--error-surface:#c3414e29;--focus:#75b7ff;--radius-sm:12px;--radius-md:18px;--radius-lg:22px;--shadow:0 24px 70px #00040c61;--header-height:72px;--space-1:.375rem;--space-2:.625rem;--space-3:.875rem;--space-4:1.125rem;--space-5:1.5rem;--space-6:2rem;--space-7:2.75rem;--space-8:4rem;font-synthesis:none}*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth;min-width:320px;min-height:100%}body{min-height:100dvh;color:var(--text);background:radial-gradient(circle at 52% 44%, #265eae33 0, #08182f0f 34%, transparent 62%), linear-gradient(180deg, var(--bg-deep), var(--bg) 28%, #071323 100%);text-rendering:optimizelegibility;background-attachment:fixed;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1rem;line-height:1.55;overflow-x:hidden}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:var(--accent)}h1,h2,p{overflow-wrap:anywhere}h1,h2{color:var(--text);letter-spacing:-.025em;margin:0;line-height:1.12}h1{font-size:clamp(2rem,4vw,3rem)}h2{font-size:clamp(1.35rem,2.5vw,1.8rem)}p{margin:0}svg{display:block}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}::selection{color:#fff;background:#245ca6}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:1000;color:#04101d;background:var(--focus);border-radius:10px;padding:10px 14px;font-weight:750;transition:transform .16s;position:fixed;top:10px;left:10px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}.app-header,.public-header{z-index:100;min-height:var(--header-height);border-bottom:1px solid var(--border-soft);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#030b17e0;position:fixed;inset:0 0 auto}.header-inner{width:min(100%,1500px);min-height:var(--header-height);justify-content:space-between;align-items:center;gap:var(--space-4);margin:0 auto;padding:0 clamp(1rem,4vw,3rem);display:flex}.header-leading,.header-desktop-actions,.header-mobile-actions{align-items:center;gap:clamp(.6rem,2vw,1.4rem);display:flex}.brand-link{color:inherit;text-decoration:none}.brand{align-items:center;gap:.7rem;min-height:44px;display:inline-flex}.nv-logo{filter:drop-shadow(0 0 10px #78b7ff3d);width:42px;height:42px}.brand-name{color:var(--text);letter-spacing:-.01em;font-size:1.1rem;font-weight:680}.header-user-name{max-width:24ch;color:var(--muted-strong);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.header-mobile-actions{display:none}.app-main,.public-main{min-height:100dvh;padding:calc(var(--header-height) + clamp(2rem, 5vw, 4rem)) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem)}.app-main{width:min(100%,1500px);margin:0 auto}.centered-main,.public-main{place-items:center;display:grid}.glass-panel{border:1px solid var(--border-soft);border-radius:var(--radius-lg);background:linear-gradient(135deg, #ffffff0a, transparent 28%), var(--panel);width:100%;box-shadow:inset 0 1px 0 #ffffff12, var(--shadow);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);position:relative}.button{border-radius:var(--radius-sm);cursor:pointer;text-align:center;border:1px solid #0000;justify-content:center;align-items:center;gap:.65rem;min-height:50px;padding:.75rem 1.35rem;font-weight:720;line-height:1.2;text-decoration:none;transition:border-color .16s,background .16s,box-shadow .16s,transform .16s;display:inline-flex}.button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:22px;height:22px}.button:hover:not(:disabled){transform:translateY(-1px)}.button:active:not(:disabled){transform:translateY(0)}.button:disabled{cursor:not-allowed;opacity:.52}.button-primary{color:#fff;background:linear-gradient(#3272da,#215ec4);border-color:#5da2ff;box-shadow:inset 0 1px #ffffff38,0 10px 28px #1f68d340}.button-primary:hover:not(:disabled){background:linear-gradient(#3471d5,#2869d3);box-shadow:inset 0 1px #ffffff40,0 12px 34px #2d75e354}.button-secondary{border-color:var(--border);color:#dce8f7;background:#112742b8;box-shadow:inset 0 1px #ffffff0f}.button-secondary:hover:not(:disabled){background:#1c395cc7;border-color:#79a1ce}.button-danger{color:#fff;background:#a83d4a;border-color:#e57982}.button-danger:hover:not(:disabled){background:#bd4854}.button-quiet{min-height:44px;color:var(--muted-strong);box-shadow:none;background:0 0;border-color:#0000;padding:.55rem .8rem}.button-quiet:hover{color:var(--text);background:#65acff1a}.back-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:20px;height:20px}.spinner{border:2px solid #ffffff59;border-top-color:currentColor;border-radius:50%;flex:none;width:18px;height:18px;animation:.7s linear infinite spin}.spinner-large{width:36px;height:36px}@keyframes spin{to{transform:rotate(360deg)}}.field{gap:.45rem;min-width:0;display:grid}.field label{color:#dce7f5;font-size:.96rem;font-weight:650}.field-hint{color:var(--muted);font-size:.84rem}.field input,.field textarea{border-radius:var(--radius-sm);width:100%;min-width:0;color:var(--text);background:#041121c2;border:1px solid #45617f;transition:border-color .16s,box-shadow .16s;box-shadow:inset 0 1px 4px #0003}.field input{min-height:52px;padding:.75rem .9rem}.field textarea{resize:vertical;min-height:130px;padding:.9rem;line-height:1.55}.field input:hover,.field textarea:hover{border-color:#6687ad}.field input:focus,.field textarea:focus{border-color:var(--focus);outline:0;box-shadow:0 0 0 3px #65acff38,inset 0 1px 4px #0003}.field input[aria-invalid=true],.field textarea[aria-invalid=true]{border-color:var(--error-strong)}.field input::placeholder,.field textarea::placeholder{color:#768ba5;opacity:1}.password-field{display:block;position:relative}.password-field input{padding-right:3.5rem}.icon-button{width:44px;height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;padding:0;display:grid}.password-toggle{position:absolute;top:4px;right:4px}.icon-button:hover{color:var(--text);background:#65acff1a}.icon-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;width:23px;height:23px}.field-error{color:var(--error);align-items:flex-start;gap:.45rem;font-size:.88rem;font-weight:620;display:flex}.field-error>span{border:1px solid;border-radius:50%;flex:none;place-items:center;width:18px;height:18px;font-size:.72rem;display:grid}.character-counter{color:var(--muted);justify-self:end;font-size:.85rem}.form-stack{gap:var(--space-4);display:grid}.form-grid{gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.form-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-actions{justify-content:flex-end;gap:var(--space-3);margin-top:var(--space-2);flex-wrap:wrap;display:flex}.alert{border-radius:var(--radius-sm);border:1px solid;align-items:flex-start;gap:.75rem;padding:.9rem 1rem;line-height:1.45;display:flex}.alert-mark{border:1px solid;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-size:.8rem;font-weight:800;display:grid}.alert-info{color:#d7e9ff;background:var(--accent-surface);border-color:#477ab1}.alert-success{color:#c9f4e3;background:var(--success-surface);border-color:#3b8b70}.alert-warning{color:#f6dfb3;background:var(--warning-surface);border-color:#987235}.alert-error{color:#ffd4d7;background:var(--error-surface);border-color:#a64f59}.loading-state{align-content:center;place-items:center;gap:var(--space-4);min-height:260px;color:var(--muted-strong);display:grid}.public-main{width:100%}.auth-layout{width:min(100%,560px)}.auth-layout-welcome{grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);align-items:center;gap:clamp(2rem,7vw,6.5rem);width:min(100%,1180px);display:grid}.welcome-copy{justify-items:start;gap:var(--space-5);display:grid}.welcome-copy h1{color:#0000;background:linear-gradient(105deg,#fff 16%,#9db7d7 52%,#f5f9ff 83%);-webkit-background-clip:text;background-clip:text;font-size:clamp(3rem,7vw,5.5rem)}.welcome-copy>p:not(.service-kicker){max-width:44ch;color:var(--muted-strong);font-size:clamp(1.05rem,1.8vw,1.25rem)}.welcome-mark{border:1px solid var(--border);border-radius:var(--radius-md);background:#0a1b31b8;place-items:center;width:76px;height:76px;display:grid;box-shadow:inset 0 1px #ffffff17,0 18px 40px #00000040}.welcome-mark .nv-logo{width:58px;height:58px}.service-kicker{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;font-size:.9rem;font-weight:720}.auth-panel{gap:var(--space-5);padding:clamp(1.5rem,4vw,2.5rem);display:grid}.panel-heading{gap:var(--space-2);display:grid}.panel-heading p{color:var(--muted)}.registration-panel{width:min(100%,720px)}.narrow-page{gap:var(--space-5);width:min(100%,720px);display:grid}.narrow-page>.button{justify-self:center}.status-page{justify-items:center}.status-user{color:var(--muted-strong);font-size:1.05rem}.status-card{justify-items:center;gap:var(--space-4);text-align:center;padding:clamp(2rem,5vw,3.5rem);display:grid}.status-card p{max-width:58ch;color:var(--muted-strong)}.status-symbol,.error-symbol{border:1px solid;border-radius:50%;place-items:center;width:58px;height:58px;font-size:1.5rem;font-weight:800;display:grid}.status-pending .status-symbol{color:var(--warning);background:var(--warning-surface);border-color:#987235}.status-denied .status-symbol,.status-blocked .status-symbol{color:var(--error);background:var(--error-surface);border-color:#a64f59}.wizard-panel{gap:clamp(1.75rem,4vw,3rem);padding:clamp(1.25rem,4vw,3.5rem);display:grid}.wizard-heading{justify-content:space-between;align-items:end;gap:var(--space-5);display:flex}.wizard-heading>div{gap:var(--space-2);display:grid}.wizard-heading p{color:var(--muted)}.step-copy{color:var(--muted);flex:none;font-size:.9rem}.step-indicator{overflow:hidden}.step-indicator ol{grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:0;list-style:none;display:grid}.step{color:#758ba7;align-items:center;gap:.65rem;min-width:0;font-size:.9rem;font-weight:620;display:flex;position:relative}.step:not(:last-child):after{content:"";background:#3b5572;width:100%;height:1px;margin:0 .75rem}.step-number{border:1px solid #4c6685;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:.85rem;display:grid}.step-current{color:var(--text)}.step-current .step-number{border-color:var(--accent);color:var(--text);background:var(--accent-surface);box-shadow:0 0 18px #4091ef3b}.step-complete{color:var(--muted-strong)}.step-complete .step-number{color:var(--success);background:var(--success-surface);border-color:#4b9c81}.selection-grid{gap:clamp(1rem,2vw,1.5rem);display:grid}.selection-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.selection-grid-documents{grid-template-columns:repeat(2,minmax(0,1fr))}.selection-card{align-content:center;justify-items:center;gap:var(--space-4);border:1px solid var(--border);border-radius:var(--radius-md);min-width:0;min-height:260px;color:var(--text);cursor:pointer;text-align:center;background:linear-gradient(145deg,#ffffff0a,#0000 38%),#09192ea8;padding:clamp(1.25rem,3vw,2.25rem);transition:border-color .18s,background .18s,box-shadow .18s,transform .18s;display:grid;position:relative;box-shadow:inset 0 1px #ffffff0d}.selection-card:hover{background:#112946c7;border-color:#7ca5d3;transform:translateY(-2px);box-shadow:inset 0 1px #ffffff14,0 14px 34px #00081440}.selection-card[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px #65acff40,0 0 24px #3786e733}.selection-icon{color:#a9ccf8;background:#1532537a;border:1px solid #4f6f93;border-radius:50%;place-items:center;width:84px;height:84px;display:grid}.selection-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.55px;width:46px;height:46px}.selection-icon .document-icon{width:50px;height:50px}.selection-title{font-size:clamp(1.2rem,2vw,1.55rem);font-weight:740}.selection-description{max-width:28ch;color:var(--muted);font-size:.92rem}.selection-arrow{color:var(--accent);font-size:1.4rem;position:absolute;bottom:.9rem;right:1.1rem}.patient-panel,.audio-panel{width:min(100%,1220px);margin:0 auto}.audio-actions{gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.audio-actions .button{min-height:74px}.audio-ingestion{gap:1rem;display:grid}.audio-methods{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.audio-method-card{border:1px solid var(--border-soft);border-radius:var(--radius-sm);background:#0715279e;align-content:start;gap:.75rem;min-width:0;padding:1rem;display:grid}.audio-method-card h2,.audio-method-card p,.audio-status p{margin:0}.audio-status{gap:.65rem;display:grid}.audio-status progress{width:100%;height:.75rem;accent-color:var(--accent-strong)}.audio-local-name{overflow-wrap:anywhere;font-weight:650}.recorder-controls{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.recorder-clock{margin-right:auto;display:grid}.recorder-clock strong{color:var(--accent);font-variant-numeric:tabular-nums;font-size:1.35rem}.audio-download-fallback{justify-self:start}.usage-card{justify-content:space-between;align-items:center;gap:var(--space-3);border:1px solid var(--border-soft);border-radius:var(--radius-sm);color:var(--muted);background:#0715279e;flex-wrap:wrap;padding:1rem 1.2rem;display:flex}.usage-card strong{color:var(--text)}.scenario-picker{gap:var(--space-3);border-radius:var(--radius-sm);border:1px dashed #516b89;flex-wrap:wrap;margin:0;padding:1rem;display:flex}.scenario-picker legend{color:var(--muted);padding:0 .4rem;font-size:.85rem}.scenario-picker label{min-height:44px;color:var(--muted-strong);cursor:pointer;border-radius:10px;align-items:center;gap:.5rem;padding:.45rem .7rem;display:inline-flex}.scenario-picker label:has(input:checked){color:var(--text);background:var(--accent-surface)}.scenario-picker input{width:18px;height:18px;accent-color:var(--accent-strong)}.mock-badge{color:#bad3f0;background:#26528024;border:1px dashed #6c8aad;border-radius:8px;align-items:center;width:fit-content;min-height:30px;padding:.2rem .65rem;font-size:.78rem;font-weight:680;display:inline-flex}.processing-panel,.error-panel,.document-card-panel,.delete-panel{gap:var(--space-5);width:min(100%,820px);padding:clamp(1.5rem,5vw,3.5rem);display:grid}.processing-panel>p,.error-panel>p{color:var(--muted-strong)}.processing-steps{margin:0;padding:0;list-style:none;display:grid}.processing-step{align-items:center;gap:var(--space-3);color:#758ba7;grid-template-columns:40px minmax(0,1fr) auto;min-height:76px;display:grid;position:relative}.processing-step:not(:last-child):after{content:"";background:#304a68;width:2px;position:absolute;top:58px;bottom:-18px;left:19px}.processing-node{z-index:1;background:#0a1d34;border:1px solid #46617f;border-radius:50%;place-items:center;width:40px;height:40px;font-weight:750;display:grid;position:relative}.processing-complete{color:var(--muted-strong)}.processing-complete .processing-node{color:var(--success);background:#0d3029;border-color:#438f77}.processing-active{color:var(--text)}.processing-active .processing-node{border-color:var(--accent);background:var(--accent-surface);animation:1.8s ease-in-out infinite calm-pulse;box-shadow:0 0 20px #4b9eff47}.processing-state{color:inherit;font-size:.82rem}@keyframes calm-pulse{50%{box-shadow:0 0 30px #4b9eff66}}.error-panel{justify-items:start}.error-symbol{color:var(--error);background:var(--error-surface);border-color:#a64f59}.document-preview{align-items:center;gap:var(--space-5);display:flex}.document-icon{fill:#4284d221;stroke:#a8c9ee;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;flex:none;width:68px;height:68px}.document-preview>.document-icon{width:96px;height:96px}.document-label{margin-bottom:var(--space-2);color:var(--success);font-size:.88rem;font-weight:720}.safe-filename{margin-top:var(--space-2);color:var(--muted)}.document-actions{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.document-actions .button:last-child{grid-column:1/-1}.editor-panel{gap:var(--space-5);width:min(100%,1100px);margin:0 auto;padding:clamp(1.25rem,4vw,3rem);display:grid}.editor-toolbar{justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.editor-toolbar>div{gap:var(--space-2);display:grid}.editor-page{gap:var(--space-5);color:#151a21;background:#f7f8fa;border:1px solid #8593a6;border-radius:6px;justify-self:center;width:min(100%,820px);padding:clamp(1.25rem,5vw,3.75rem);display:grid;box-shadow:0 20px 50px #00000047}.editor-page h2{color:#121820;text-align:center}.editor-page .field label{color:#283443}.editor-page .field textarea{color:#141a22;background:#fff;border-color:#758398;min-height:300px}.editor-protected-note{color:#35475c;background:#e9eef5;border-left:3px solid #52759d;padding:.75rem .9rem;font-size:.9rem}.document-fixed-fields{gap:.45rem;margin:0;display:grid}.document-fixed-fields>div{gap:var(--space-3);grid-template-columns:minmax(120px,.35fr) 1fr;display:grid}.document-fixed-fields dt{font-weight:750}.document-fixed-fields dd{overflow-wrap:anywhere;margin:0}.document-signature{gap:.4rem;display:grid}.danger-heading{align-items:flex-start;gap:var(--space-4);display:flex}.danger-heading>span{width:48px;height:48px;color:var(--error);background:var(--error-surface);border:1px solid #a64f59;border-radius:50%;flex:none;place-items:center;font-size:1.25rem;font-weight:800;display:grid}.danger-heading>div{gap:var(--space-3);display:grid}.danger-heading p{color:var(--muted-strong)}.user-menu{position:relative}.user-menu-trigger{min-width:50px;min-height:48px;color:var(--text);cursor:pointer;background:#10253ebf;border:1px solid #496581;border-radius:12px;justify-content:center;align-items:center;gap:.3rem;padding:.3rem .55rem;display:flex}.user-menu-trigger>span{background:#285c9f;border-radius:50%;place-items:center;width:30px;height:30px;font-weight:750;display:grid}.user-menu-trigger svg{fill:none;stroke:currentColor;stroke-width:1.7px;width:14px;height:14px}.user-menu-panel{border-radius:var(--radius-sm);width:min(310px,100vw - 2rem);box-shadow:var(--shadow);background:#0a1b30;border:1px solid #4d6886;padding:.55rem;display:grid;position:absolute;top:calc(100% + .65rem);right:0}.user-menu-identity{border-bottom:1px solid var(--border-soft);gap:.2rem;padding:.75rem;display:grid}.user-menu-identity span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;overflow:hidden}.menu-action{min-height:46px;color:var(--muted-strong);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;padding:.65rem .75rem;font-weight:620;text-decoration:none;display:flex}.menu-action:hover{color:var(--text);background:#65acff1a}.menu-action-danger{color:#ffb7bc}.dialog-backdrop{z-index:500;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#00050db8;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.confirm-dialog{gap:var(--space-4);border-radius:var(--radius-md);width:min(100%,540px);box-shadow:var(--shadow);background:#0b1d34;border:1px solid #607c9d;padding:clamp(1.25rem,5vw,2.25rem);display:grid}.confirm-dialog p{color:var(--muted-strong)}.dialog-actions{justify-content:flex-end;gap:var(--space-3);flex-wrap:wrap;display:flex}.empty-state{justify-items:center;gap:var(--space-3);padding:var(--space-6);color:var(--muted);text-align:center;display:grid}@media (max-width:900px){.auth-layout-welcome{gap:var(--space-7);grid-template-columns:1fr;width:min(100%,660px)}.welcome-copy{text-align:center;justify-items:center}.selection-grid-three{grid-template-columns:1fr}.selection-card{text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;justify-items:start;min-height:180px}.selection-card .selection-description{grid-column:2}.form-grid-three{grid-template-columns:1fr 1fr}}@media (max-width:680px){:root{--header-height:64px}.header-inner{padding:0 .85rem}.brand-name{display:none}.nv-logo{width:38px;height:38px}.header-leading{gap:.35rem;min-width:0}.header-desktop-actions{display:none}.header-mobile-actions{display:flex}.back-button{padding:.45rem .5rem}.app-main,.public-main{padding-left:.8rem;padding-right:.8rem}.app-main{padding-top:calc(var(--header-height) + 1.25rem)}.public-main{padding-top:calc(var(--header-height) + 1.75rem);align-items:start}.welcome-copy{gap:var(--space-4)}.welcome-mark{width:62px;height:62px}.welcome-mark .nv-logo{width:48px;height:48px}.auth-layout-welcome{gap:var(--space-6)}.auth-panel,.wizard-panel,.processing-panel,.error-panel,.document-card-panel,.editor-panel,.delete-panel{border-radius:var(--radius-md);padding:1.15rem}.form-grid,.form-grid-three,.selection-grid-documents,.audio-actions,.audio-methods,.document-actions{grid-template-columns:1fr}.document-actions .button:last-child{grid-column:auto}.step-indicator ol{gap:.35rem}.step{justify-content:center}.step>span:last-child,.step:not(:last-child):after{display:none}.wizard-heading{align-items:start}.step-copy{display:none}.selection-card{min-height:150px;padding:1.1rem}.selection-icon{width:62px;height:62px}.selection-icon svg{width:36px;height:36px}.processing-step{grid-template-columns:40px minmax(0,1fr)}.processing-state{grid-column:2;margin-top:-.7rem}.document-preview,.danger-heading{flex-direction:column}.document-preview{align-items:flex-start}.editor-toolbar{flex-direction:column;align-items:flex-start}.editor-toolbar .button{width:100%}.editor-page{padding:1rem}.document-fixed-fields>div{grid-template-columns:1fr;gap:.1rem}.form-actions,.dialog-actions{flex-direction:column-reverse}.form-actions .button,.dialog-actions .button{width:100%}}@media (max-width:390px){.back-button{font-size:.9rem}.selection-card{grid-template-columns:52px minmax(0,1fr)}.selection-icon{width:52px;height:52px}.selection-icon svg{width:30px;height:30px}}.admin-header{height:auto;min-height:var(--header-height);position:sticky}.admin-header-inner{gap:1rem}.admin-header-title{color:var(--text-muted);letter-spacing:.04em;margin-right:auto;font-size:.9rem}.admin-header-actions,.admin-actions,.invitation-create-controls{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.admin-nav{flex-wrap:wrap;gap:.35rem;width:100%;max-width:1180px;margin:0 auto;padding:0 1.5rem .75rem;display:flex}.admin-nav-link{color:var(--text-muted);border:1px solid #0000;border-radius:999px;min-height:42px;padding:.65rem 1rem;text-decoration:none}.admin-nav-link:hover,.admin-nav-link.is-active{color:var(--text-primary);background:#7cace11f;border-color:#9ec2ec3d}.admin-main{align-items:stretch;max-width:none;padding-top:2rem}.admin-section{width:100%;max-width:1180px;margin:0 auto}.admin-page-heading,.admin-card-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.admin-page-heading{margin-bottom:1.5rem}.admin-page-heading h1,.admin-card-heading h2,.admin-info-panel h2{margin-bottom:.35rem}.admin-page-heading p,.admin-card-heading p,.admin-privacy-note{color:var(--text-muted);margin:0}.admin-search-panel,.admin-info-panel,.admin-user-card{border-radius:var(--radius-large);box-shadow:var(--shadow-panel);background:linear-gradient(145deg,#102846e0,#081a31eb);border:1px solid #9fc3eb2e}.admin-search-panel,.admin-info-panel{margin-bottom:1.25rem;padding:1.25rem}.admin-search-panel .field{max-width:620px}.admin-user-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.admin-user-card{min-width:0;padding:1.2rem}.admin-user-card h2,.admin-user-card p,.admin-user-card dd,.created-invitations code{overflow-wrap:anywhere}.admin-status{border:1px solid #a7c7eb47;border-radius:999px;flex:none;align-items:center;min-height:30px;padding:.25rem .7rem;font-size:.78rem;font-weight:700;display:inline-flex}.admin-status-approved,.admin-status-active{color:#a7f3cf;background:#48bb8524}.admin-status-pending{color:#ffe1a3;background:#f6be5424}.admin-status-denied,.admin-status-blocked,.admin-status-deleted,.admin-status-expired{color:#ffc0ca;background:#ed687a24}.admin-status-used{color:#c9ddf5;background:#7b9ac124}.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1rem 0;display:grid}.admin-stat-grid div{background:#0615298c;border:1px solid #97bbe21a;border-radius:12px;min-width:0;padding:.75rem}.admin-stat-grid dt{color:var(--text-muted);margin-bottom:.25rem;font-size:.78rem}.admin-stat-grid dd{margin:0;font-weight:650}.admin-card-link{width:100%}.admin-pagination{justify-content:center;align-items:center;gap:1rem;margin-top:1.5rem;display:flex}.admin-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.admin-back-link{margin-bottom:1rem}.patient-summary-list,.invitation-list{gap:.75rem;margin-top:1rem;display:grid}.patient-summary,.invitation-row{background:#0615298c;border:1px solid #97bbe21f;border-radius:14px;padding:.9rem}.patient-summary h3,.patient-summary p{overflow-wrap:anywhere;margin:0 0 .35rem}.invitation-create-controls .field{max-width:180px;margin:0}.created-invitations ol{gap:.75rem;padding-left:1.4rem;display:grid}.created-invitations li,.invitation-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;min-width:0;display:flex}.created-invitations code{color:#d8eaff;-webkit-user-select:all;user-select:all;flex:480px;min-width:0}.prompt-layout{grid-template-columns:minmax(240px,.34fr) minmax(0,1fr);align-items:start;gap:1rem;display:grid}.prompt-slot-list{gap:.55rem;display:grid}.prompt-slot{color:var(--text-primary);cursor:pointer;text-align:left;background:#0a1f39e0;border:1px solid #97bbe229;border-radius:14px;gap:.2rem;min-height:74px;padding:.8rem;display:grid}.prompt-slot span,.prompt-slot small{color:var(--text-muted)}.prompt-slot.is-active{background:#4f84c233;border-color:#9dcaff7a}.prompt-editor textarea{resize:vertical;min-height:360px}@media (max-width:820px){.admin-header-inner,.admin-page-heading,.admin-card-heading{flex-direction:column;align-items:stretch}.admin-header-title,.header-user-name{display:none}.admin-header-actions .button{flex:auto}.admin-nav{padding-inline:1rem}.admin-nav-link{text-align:center;flex:calc(50% - .35rem)}.admin-user-grid,.admin-detail-grid,.prompt-layout{grid-template-columns:1fr}}@media (max-width:520px){.admin-main{padding:1rem}.admin-nav-link{flex-basis:100%}.admin-stat-grid{grid-template-columns:1fr}.admin-actions .button,.invitation-create-controls,.invitation-create-controls .field,.invitation-create-controls .button{width:100%;max-width:none}.created-invitations li,.invitation-row{flex-direction:column;align-items:stretch}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
