:root{--font-geist-sans:Inter, "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;--font-geist-mono:"SFMono-Regular", "Roboto Mono", "Cascadia Code", Consolas, monospace;--paper:#f3f7f5;--surface:#fff;--surface-soft:#f8faf9;--ink:#12312c;--ink-soft:#37544f;--muted:#687b76;--line:#d8e3df;--line-strong:#bfd1cb;--teal:#0d6b5c;--teal-dark:#084f44;--teal-bright:#149179;--mint:#dff3eb;--mint-strong:#bce5d6;--blue-soft:#e7f1f7;--blue:#2b6f92;--amber-soft:#fff5db;--amber:#895f07;--red-soft:#fff0ed;--red:#a63e2c;--shadow-sm:0 1px 2px #11312c0f;--shadow-md:0 18px 45px #11312c14;--radius-sm:10px;--radius-md:16px;--radius-lg:24px}*{box-sizing:border-box}html{scroll-behavior:smooth;min-width:320px}body{background:radial-gradient(circle at 92% 4%, #a2d9c638, transparent 22rem), var(--paper);color:var(--ink);font-family:var(--font-geist-sans), Arial, Helvetica, sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0}button,input,textarea{font:inherit}button{color:inherit}button,label,input[type=checkbox],input[type=radio]{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #1491794d}button:disabled{cursor:not-allowed;opacity:.52}h1,h2,p{margin-top:0}.app-shell{flex-direction:column;min-height:100dvh;display:flex}.skip-link{z-index:100;background:var(--ink);color:#fff;border-radius:8px;padding:.75rem 1rem;text-decoration:none;position:fixed;top:-5rem;left:1rem}.skip-link:focus{top:1rem}.app-header{z-index:40;-webkit-backdrop-filter:blur(16px);background:#f8fbf9eb;border-bottom:1px solid #bfd1cbbf;position:sticky;top:0}.synthetic-banner{z-index:35;color:#fff;background:#982f22;border-bottom:1px solid #7e271d;justify-content:center;align-items:center;gap:.7rem;min-height:58px;padding:.65rem 1rem;display:flex;position:sticky;top:72px;box-shadow:0 5px 18px #601c1429}.synthetic-banner-mark{border:2px solid #ffffffd1;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:.78rem;font-weight:850;display:grid}.synthetic-banner div{gap:.08rem;max-width:980px;display:grid}.synthetic-banner strong{letter-spacing:.08em;font-size:.72rem}.synthetic-banner div>span{color:#ffffffe6;font-size:.68rem;line-height:1.35}.header-inner{justify-content:space-between;align-items:center;gap:.75rem;width:min(1180px,100%);min-height:72px;margin:0 auto;padding:.75rem 1rem;display:flex}.brand{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:.7rem;min-height:48px;padding:0;display:inline-flex}.brand-mark{background:var(--teal);border-radius:12px;flex:none;width:40px;height:40px;position:relative;box-shadow:0 6px 16px #0d6b5c33}.brand-mark:before,.brand-mark:after{content:"";background:#fff;border-radius:999px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.brand-mark:before{width:19px;height:5px}.brand-mark:after{width:5px;height:19px}.brand-mark span{border:2px solid var(--teal);background:var(--mint-strong);border-radius:50%;width:8px;height:8px;position:absolute;bottom:4px;right:4px}.brand-copy{gap:1px;display:grid}.brand-copy strong{letter-spacing:-.02em;font-size:1.05rem}.brand-copy small{color:var(--muted);font-size:.72rem;line-height:1.2;display:none}.header-actions{align-items:center;gap:.45rem;display:flex}.workspace-identity{text-align:right;min-width:0;display:none}.workspace-identity span,.workspace-identity small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace-identity span{color:var(--ink);font-size:.78rem;font-weight:750}.workspace-identity small{color:var(--muted);font-size:.66rem}.header-actions form{margin:0}.header-signout{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--ink-soft);cursor:pointer;border-radius:11px;padding:.5rem .7rem;font-size:.73rem;font-weight:700}.header-signout:hover{border-color:var(--line-strong);background:var(--surface-soft);color:var(--teal)}.connection-pill{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--ink-soft);box-shadow:var(--shadow-sm);border-radius:999px;align-items:center;gap:.4rem;padding:.4rem .62rem;font-size:.78rem;font-weight:650;display:inline-flex}.status-dot{background:var(--teal-bright);border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #1491791f}.connection-pill.is-offline .status-dot{background:#c47b17;box-shadow:0 0 0 3px #c47b171f}.queue-count{background:var(--mint);min-width:20px;height:20px;color:var(--teal-dark);border-radius:999px;place-items:center;padding:0 .35rem;font-size:.7rem;display:grid}.locale-switch{border:1px solid var(--line);background:var(--surface);min-height:44px;box-shadow:var(--shadow-sm);border-radius:12px;align-items:stretch;padding:3px;display:flex}.locale-switch button{min-width:40px;min-height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;font-size:.74rem;font-weight:750}.locale-switch button.is-active{background:var(--ink);color:#fff}main{flex:1}.page{width:min(1180px,100%);margin:0 auto;padding:2rem 1rem 4rem}.eyebrow,.card-kicker{color:var(--teal);letter-spacing:.13em;text-transform:uppercase;margin-bottom:.7rem;font-size:.72rem;font-weight:780;line-height:1.35}.hero-grid{align-items:center;gap:2.5rem;display:grid}.hero-copy h1,.setup-intro h1,.review-heading h1{letter-spacing:-.055em;margin-bottom:1.25rem;font-size:clamp(2.45rem,10vw,4.6rem);font-weight:620;line-height:.99}.hero-body{max-width:42rem;color:var(--ink-soft);margin-bottom:1.6rem;font-size:1.05rem;line-height:1.65}.primary-button,.secondary-button,.text-button,.back-button,.pause-button,.stop-button{cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:.55rem;min-height:48px;padding:.72rem 1rem;font-weight:700;line-height:1.2;transition:transform .15s,background-color .15s,border-color .15s,box-shadow .15s;display:inline-flex}.primary-button{border:1px solid var(--teal);background:var(--teal);color:#fff;box-shadow:0 9px 22px #0d6b5c2e}.primary-button:hover:not(:disabled){background:var(--teal-dark);transform:translateY(-1px);box-shadow:0 12px 26px #0d6b5c3b}.secondary-button{border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}.secondary-button:hover:not(:disabled){border-color:var(--teal);background:var(--mint)}.text-button{color:var(--teal);background:0 0;border:0}.text-button:hover:not(:disabled){background:var(--mint)}.hero-button{width:100%;min-height:56px;padding-inline:1.25rem}.button-plus{border:1px solid #ffffff73;border-radius:7px;place-items:center;width:23px;height:23px;font-size:1.05rem;font-weight:400;display:grid}.privacy-note{color:var(--muted);align-items:flex-start;gap:.5rem;margin:.9rem 0 0;font-size:.78rem;line-height:1.5;display:flex}.privacy-icon{border:1.5px solid var(--teal);color:#0000;border-radius:5px 5px 8px 8px;flex:none;place-items:center;width:17px;height:17px;display:grid}.consultation-visual{place-items:center;min-height:330px;display:grid;position:relative;overflow:hidden}.visual-orbit{border:1px solid #0d6b5c21;border-radius:50%;position:absolute}.orbit-one{width:330px;height:330px}.orbit-two{border-style:dashed;width:250px;height:250px}.visual-card{z-index:2;width:min(280px,82vw);box-shadow:var(--shadow-md);background:#fffffff0;border:1px solid #bfd1cbcc;border-radius:22px;padding:1.4rem;position:relative;transform:rotate(-2deg)}.visual-card-top{color:var(--ink-soft);font-family:var(--font-geist-mono), monospace;align-items:center;gap:.45rem;font-size:.84rem;font-weight:650;display:flex}.visual-record-dot{background:#df5c48;border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 4px #df5c481f}.visual-wave{justify-content:center;align-items:center;gap:5px;height:80px;margin:1.25rem 0;display:flex}.visual-wave span{background:var(--teal);border-radius:99px;width:5px}.visual-caption{grid-template-columns:44px 1fr;gap:.55rem;margin-top:.65rem;display:grid}.visual-caption span{background:#d8e4df;border-radius:99px;height:8px}.visual-caption span:first-child{background:var(--mint-strong)}.visual-caption.short span:last-child{width:65%}.visual-language,.visual-check{z-index:3;border:1px solid var(--line);background:var(--surface);font-size:.76rem;font-weight:800;position:absolute;box-shadow:0 9px 24px #11312c1f}.visual-language{min-width:49px;min-height:49px;color:var(--teal-dark);border-radius:15px;place-items:center;display:grid}.language-en{top:2.2rem;left:max(.8rem,50% - 165px);transform:rotate(-8deg)}.language-fr{bottom:3.2rem;right:max(.8rem,50% - 164px);transform:rotate(7deg)}.visual-check{background:var(--teal);color:#fff;border-radius:50%;place-items:center;width:39px;height:39px;font-size:1rem;display:grid;top:1.8rem;right:max(1.8rem,50% - 130px)}.recovery-card{border-radius:var(--radius-md);background:var(--amber-soft);border:1px solid #e7d39d;align-items:center;gap:1rem;margin-top:2rem;padding:1.1rem;display:grid}.recovery-card h2{margin-bottom:.25rem;font-size:1.08rem}.recovery-card p{color:var(--ink-soft);margin-bottom:.35rem;font-size:.87rem;line-height:1.5}.recovery-icon{width:44px;height:44px;color:var(--amber);background:#895f071f;border-radius:13px;place-items:center;font-size:1.3rem;display:grid}.recovery-meta{font-weight:700;color:var(--amber)!important}.recovery-card .card-kicker{color:var(--amber);margin-bottom:.35rem}.trust-grid{border-top:1px solid var(--line);margin-top:3rem;display:grid}.trust-grid article{border-bottom:1px solid var(--line);padding:1.5rem 0}.feature-number{color:var(--teal);font-family:var(--font-geist-mono), monospace;font-size:.72rem;font-weight:700}.trust-grid h2{letter-spacing:-.02em;margin:1.3rem 0 .6rem;font-size:1.05rem}.trust-grid p{color:var(--muted);margin-bottom:0;font-size:.87rem;line-height:1.6}.history-card{border:1px solid var(--line);border-radius:var(--radius-md);background:#ffffffb8;margin-top:2.2rem;padding:1.25rem}.history-heading{justify-content:space-between;gap:1rem;display:flex}.history-card h2{margin-bottom:.6rem;font-size:1.1rem}.history-card p{color:var(--muted);margin-bottom:0;font-size:.87rem;line-height:1.55}.history-lock{background:var(--mint);width:38px;height:38px;color:var(--teal);letter-spacing:2px;border-radius:12px;place-items:center;display:grid}.patient-workspace{border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);background:#ffffffeb;margin-top:3rem;padding:1rem;scroll-margin-top:9rem}.patient-workspace-heading{flex-direction:column;align-items:flex-start;gap:1rem;padding:.25rem;display:flex}.patient-workspace-heading h2{letter-spacing:-.045em;margin-bottom:.5rem;font-size:clamp(1.7rem,7vw,2.45rem)}.patient-workspace-heading p:not(.card-kicker){max-width:46rem;color:var(--muted);margin-bottom:0;font-size:.88rem;line-height:1.6}.patient-workspace-heading>button{width:100%}.patient-create-form{border:1px solid var(--mint-strong);background:linear-gradient(145deg,#f4fbf8,#fbfdfc);border-radius:18px;margin-top:1.2rem;padding:1rem}.patient-form-heading{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.patient-form-heading h3,.patient-panel-heading h3,.selected-patient-card h3,.patient-history-heading h3,.patient-selection-empty h3{letter-spacing:-.02em;margin-bottom:.25rem;font-size:1rem}.patient-form-heading p,.patient-history-heading p{color:var(--muted);margin-bottom:0;font-size:.78rem;line-height:1.5}.patient-form-heading>span{background:var(--mint);width:36px;height:36px;color:var(--teal);border-radius:11px;flex:none;place-items:center;font-size:1.15rem;display:grid}.patient-demo-notice{color:#8f2f22;background:#fff7f5;border:1px solid #e5b8ae;border-radius:12px;align-items:flex-start;gap:.55rem;margin:0 0 1rem;padding:.7rem;font-size:.72rem;font-weight:620;line-height:1.45;display:flex}.patient-demo-notice>span{border:1px solid;border-radius:50%;flex:none;place-items:center;width:19px;height:19px;font-size:.65rem;font-weight:850;display:grid}.patient-form-grid{gap:.8rem;display:grid}.patient-form-grid label{gap:.38rem;display:grid}.patient-form-grid label>span{color:var(--ink-soft);font-size:.74rem;font-weight:720}.patient-form-grid label small{color:var(--muted);font-size:.65rem;font-weight:520}.patient-form-grid input,.patient-search input{border:1px solid var(--line);background:var(--surface);width:100%;min-height:46px;color:var(--ink);border-radius:11px;padding:.68rem .75rem}.patient-form-grid input:hover,.patient-search:hover{border-color:var(--line-strong)}.patient-form-grid input:focus,.patient-search:focus-within{border-color:var(--teal)}.patient-form-grid input:focus-visible,.patient-search:focus-within{outline-offset:2px;outline:3px solid #1175603d}.patient-form-actions{justify-content:flex-end;margin-top:1rem;display:flex}.patient-form-actions button{width:100%}.patient-error{margin:1rem 0 0}.patient-workspace-grid{border:1px solid var(--line);background:var(--surface);border-radius:18px;margin-top:1.2rem;display:grid;overflow:hidden}.patient-directory,.patient-detail{min-width:0;padding:.9rem}.patient-directory{border-bottom:1px solid var(--line);background:var(--surface-soft)}.patient-panel-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.patient-panel-heading h3{margin-bottom:0}.patient-panel-heading>span{background:var(--mint);min-width:26px;min-height:26px;color:var(--teal-dark);border-radius:999px;place-items:center;font-size:.68rem;font-weight:800;display:grid}.patient-search{border:1px solid var(--line);background:var(--surface);min-height:46px;color:var(--muted);border-radius:11px;grid-template-columns:18px 1fr;align-items:center;margin-top:.8rem;padding-left:.72rem;display:grid}.patient-search input{background:0 0;border:0;outline:none;min-height:44px;padding-left:.25rem;font-size:.82rem}.patient-list,.patient-history-list{margin:.8rem 0 0;padding:0;list-style:none}.patient-list{gap:.4rem;max-height:420px;display:grid;overflow-y:auto}.patient-list button{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:13px;grid-template-columns:40px minmax(0,1fr) 20px;align-items:center;gap:.65rem;width:100%;min-height:68px;padding:.65rem;display:grid}.patient-list button:hover{border-color:var(--line);background:var(--surface)}.patient-list button.is-selected{border-color:var(--mint-strong);background:var(--mint)}.patient-avatar{width:40px;height:40px;color:var(--teal-dark);letter-spacing:.03em;text-transform:uppercase;background:#e4efeb;border-radius:12px;flex:none;place-items:center;font-size:.72rem;font-weight:820;display:grid}.patient-avatar.is-large{background:var(--teal);color:#fff;border-radius:15px;width:52px;height:52px;font-size:.84rem}.patient-list-copy{gap:.18rem;min-width:0;display:grid}.patient-list-copy strong,.patient-list-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.patient-list-copy strong{font-size:.82rem}.patient-list-copy small{color:var(--muted);font-size:.69rem}.patient-chevron{color:var(--muted);font-size:1.35rem;line-height:1}.patient-detail{min-height:390px}.selected-patient-card{border:1px solid var(--line);background:linear-gradient(135deg,#f5fbf8,#fff);border-radius:15px;gap:.9rem;padding:.9rem;display:grid}.selected-patient-main{align-items:center;gap:.75rem;min-width:0;display:flex}.selected-patient-main .card-kicker{margin-bottom:.22rem;font-size:.62rem}.selected-patient-main h3{margin-bottom:.2rem;font-size:1.08rem}.selected-patient-main p:not(.card-kicker){color:var(--muted);margin-bottom:0;font-size:.72rem}.selected-patient-card>button{width:100%}.patient-history-heading{margin-top:1.2rem}.patient-history-list{gap:.55rem;display:grid}.patient-history-list li{border:1px solid var(--line);border-radius:13px;align-items:center;gap:.65rem;padding:.75rem;display:grid}.history-date{gap:.18rem;min-width:0;display:grid}.history-date strong{font-size:.78rem}.history-date span{color:var(--muted);font-size:.68rem}.history-review{background:var(--amber-soft);width:fit-content;color:var(--amber);border-radius:999px;padding:.28rem .5rem;font-size:.63rem;font-weight:750}.history-review.is-reviewed{background:var(--mint);color:var(--teal-dark)}.patient-history-list button{width:100%;min-height:40px;padding:.55rem .65rem;font-size:.69rem}.patient-load-more{width:100%;margin-top:.75rem}.patient-empty{min-height:190px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:.4rem;padding:1.2rem;display:grid}.patient-empty>span:not(.document-loader){background:var(--mint);width:42px;height:42px;color:var(--teal);border-radius:13px;place-items:center;font-size:1.15rem;display:grid}.patient-empty h3,.patient-empty h4,.patient-empty p{margin-bottom:0}.patient-empty h4{color:var(--ink);font-size:.86rem}.patient-empty p{max-width:24rem;font-size:.75rem;line-height:1.5}.patient-empty.is-compact{min-height:160px}.patient-empty.is-loading .document-loader{width:30px;height:30px}.patient-selection-empty{min-height:360px}.setup-patient-context{border:1px solid var(--mint-strong);background:var(--mint);border-radius:14px;flex-wrap:wrap;align-items:center;gap:.7rem;margin-bottom:1.25rem;padding:.75rem;display:flex}.setup-patient-context>div{gap:.1rem;min-width:0;display:grid}.setup-patient-context small{color:var(--teal);letter-spacing:.08em;text-transform:uppercase;font-size:.64rem;font-weight:750}.setup-patient-context strong{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;overflow:hidden}.setup-patient-change-button{min-height:40px;margin-left:auto;padding:.55rem .7rem;font-size:.7rem}.setup-patient-picker{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;margin:-.55rem 0 1.25rem;padding:.8rem}.setup-patient-picker-heading h2{margin-bottom:.2rem;font-size:.95rem}.setup-patient-picker-heading h2:focus{outline:none}.setup-patient-picker-heading p{color:var(--muted);margin-bottom:0;font-size:.75rem;line-height:1.45}.setup-patient-list{max-height:280px}.setup-patient-empty{min-height:140px;padding:.8rem}.review-patient-context{border:1px solid var(--line);background:var(--surface);width:fit-content;color:var(--muted);border-radius:999px;align-items:center;gap:.45rem;margin-bottom:0;padding:.45rem .7rem;font-size:.72rem;display:flex}.review-patient-context strong{color:var(--ink)}.app-footer{border-top:1px solid var(--line);width:min(1180px,100% - 2rem);padding:1.4rem 0 calc(1.4rem + env(safe-area-inset-bottom));color:var(--muted);align-items:flex-start;gap:.55rem;margin:0 auto;font-size:.75rem;line-height:1.45;display:flex}.footer-mark{border:1px solid var(--line-strong);width:19px;height:19px;color:var(--teal);border-radius:6px;flex:none;place-items:center;font-weight:800;display:grid}.setup-page,.review-page{max-width:1040px}.back-button{min-height:44px;color:var(--ink-soft);background:0 0;border:0;padding:0 .4rem 0 0}.back-button:hover{color:var(--teal)}.setup-layout{gap:1.8rem;margin-top:1.6rem;display:grid}.setup-intro h1,.review-heading h1{margin-bottom:.9rem;font-size:clamp(2.2rem,9vw,3.6rem)}.setup-intro>p:last-of-type{max-width:32rem;color:var(--muted);line-height:1.6}.setup-step{align-items:center;max-width:230px;margin-top:1.5rem;display:flex}.setup-step span{border:1px solid var(--line-strong);width:29px;height:29px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-size:.72rem;font-weight:750;display:grid}.setup-step span.is-current{border-color:var(--teal);background:var(--teal);color:#fff}.setup-step i{background:var(--line-strong);flex:1;height:1px}.setup-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-md);padding:1.1rem}.language-fieldset,.consent-fieldset{border:0;min-width:0;margin:0;padding:0}.language-fieldset legend,.consent-fieldset legend{padding:0;font-size:1rem;font-weight:750}.field-help,.consent-help{color:var(--muted);margin:.35rem 0 1rem;font-size:.8rem;line-height:1.5}.synthetic-fieldset{background:#fff7f5;border:1px solid #e5b8ae;border-radius:15px;padding:1rem}.synthetic-fieldset legend{color:#8f2f22}.consent-box.synthetic-confirmation{background:#fff;border-color:#e5b8ae}.consent-box.synthetic-confirmation.is-checked{border-color:var(--teal);background:#f4fbf8}.language-options{gap:.65rem;display:grid}.language-option{border:1px solid var(--line);cursor:pointer;border-radius:14px;grid-template-columns:43px minmax(0,1fr) 21px;align-items:center;gap:.75rem;min-height:72px;padding:.8rem;transition:border-color .15s,background-color .15s,box-shadow .15s;display:grid;position:relative}.language-option:hover{border-color:var(--line-strong);background:var(--surface-soft)}.language-option.is-selected{border-color:var(--teal);background:#f4fbf8;box-shadow:0 0 0 1px #0d6b5c0d}.language-option input{opacity:0;width:1px;height:1px;position:absolute}.language-option:has(input:focus-visible){outline-offset:2px;outline:3px solid #14917947}.language-monogram{background:var(--paper);width:43px;height:43px;color:var(--ink-soft);border-radius:12px;place-items:center;font-size:.72rem;font-weight:780;display:grid}.is-selected .language-monogram{background:var(--mint);color:var(--teal-dark)}.language-copy{gap:.2rem;min-width:0;display:grid}.language-copy strong{font-size:.9rem}.language-copy small{color:var(--muted);font-size:.75rem;line-height:1.35}.radio-mark{border:1.5px solid var(--line-strong);border-radius:50%;place-items:center;width:19px;height:19px;display:grid}.language-option.is-selected .radio-mark{border:5px solid var(--teal)}.form-divider{background:var(--line);height:1px;margin:1.3rem 0}.consent-box{border:1px solid var(--line);background:var(--surface-soft);min-height:56px;color:var(--ink-soft);cursor:pointer;border-radius:14px;grid-template-columns:23px 1fr;align-items:flex-start;gap:.7rem;margin-top:.85rem;padding:.9rem;font-size:.86rem;font-weight:570;line-height:1.5;display:grid;position:relative}.consent-box.is-checked{border-color:var(--teal);background:#f4fbf8}.consent-box input,.review-confirmation input{opacity:0;width:1px;height:1px;position:absolute}.consent-box:has(input:focus-visible){outline-offset:2px;outline:3px solid #14917947}.review-confirmation label:has(input:focus-visible){outline-offset:2px;outline:3px solid #14917947}.check-mark{border:1.5px solid var(--line-strong);background:var(--surface);color:#0000;border-radius:6px;place-items:center;width:22px;height:22px;font-size:.76rem;display:grid}.consent-box.is-checked .check-mark,.review-confirmation input:checked+.check-mark{border-color:var(--teal);background:var(--teal);color:#fff}.consent-help{margin:.65rem 0 0;padding-left:.15rem}.mic-tip{background:var(--blue-soft);border:1px solid #cbdde7;border-radius:14px;align-items:flex-start;gap:.75rem;margin-top:1.2rem;padding:.9rem;display:flex}.mic-tip-icon{width:30px;height:30px;color:var(--blue);background:#2b6f9221;border-radius:10px;flex:none;place-items:center;font-size:.45rem;display:grid;position:relative}.mic-tip strong{font-size:.82rem}.mic-tip p{color:#4f6f7f;margin:.25rem 0 0;font-size:.76rem;line-height:1.45}.inline-error,.success-message{background:var(--red-soft);color:var(--red);border:1px solid #f0c7bd;border-radius:12px;align-items:flex-start;gap:.55rem;margin-top:1rem;padding:.75rem;font-size:.79rem;font-weight:590;line-height:1.45;display:flex}.inline-error>span,.success-message>span{border:1px solid;border-radius:50%;flex:none;place-items:center;width:19px;height:19px;font-size:.67rem;font-weight:800;display:grid}.success-message{border-color:var(--mint-strong);color:var(--teal);background:#effaf6}.start-button{width:100%;min-height:56px;margin-top:1rem}.record-button-dot{background:#fff;border:2px solid #ffffffb3;border-radius:50%;width:11px;height:11px}.offline-help{color:var(--amber);text-align:center;margin:.7rem 0 0;font-size:.76rem;line-height:1.45}.recording-page{max-width:920px;padding-top:1.2rem}.recording-stage{border:1px solid var(--line);border-radius:var(--radius-lg);min-height:calc(100dvh - 170px);box-shadow:var(--shadow-sm);background:radial-gradient(circle at 50% 35%,#bce5d659,#0000 18rem),#ffffffd1;flex-direction:column;padding:1rem;display:flex;position:relative}.recording-stage.is-paused{background:radial-gradient(circle at 50% 35%,#ffecba40,#0000 18rem),#ffffffd1}.recording-status-row{justify-content:space-between;align-items:center;gap:.7rem;display:flex}.recording-status,.language-chip{border:1px solid var(--line);background:var(--surface);min-height:42px;color:var(--ink-soft);box-shadow:var(--shadow-sm);border-radius:999px;align-items:center;gap:.48rem;padding:.45rem .7rem;font-size:.75rem;font-weight:700;display:inline-flex}.recording-pulse{background:#df5c48;border-radius:50%;width:9px;height:9px;animation:1.8s ease-in-out infinite recording-pulse;box-shadow:0 0 0 4px #df5c481f}.is-paused .recording-pulse{box-shadow:none;background:#c88722;border-radius:2px;animation:none}.language-chip{text-align:right;border-radius:12px;gap:0;min-width:0;padding:.35rem .65rem;display:grid}.language-chip span{color:var(--muted);font-size:.6rem;font-weight:550}.language-chip strong{text-overflow:ellipsis;white-space:nowrap;max-width:130px;font-size:.7rem;overflow:hidden}.timer-wrap{text-align:center;justify-items:center;margin:auto;padding:3rem 0 2rem;display:grid}.timer-wrap time{font-family:var(--font-geist-mono), ui-monospace, monospace;letter-spacing:-.07em;font-size:clamp(3.2rem,17vw,6.6rem);font-weight:520;line-height:1}.live-wave{align-items:center;gap:5px;height:60px;margin:1.2rem 0 1rem;display:flex}.live-wave span{background:var(--teal-bright);border-radius:99px;width:4px;height:12px;animation:1.45s ease-in-out infinite live-wave}.live-wave span:nth-child(2n){animation-delay:-.35s}.live-wave span:nth-child(3n){animation-delay:-.7s}.live-wave span:nth-child(4n){animation-delay:-1.05s}.is-paused .live-wave span{background:#c88722;animation:none;height:4px!important}.timer-wrap h1{letter-spacing:-.025em;margin-bottom:.4rem;font-size:clamp(1.25rem,5vw,1.7rem)}.timer-wrap p{max-width:30rem;color:var(--muted);margin-bottom:0;font-size:.8rem;line-height:1.55}.recording-sync-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:15px;grid-template-columns:1fr 1px 1fr;align-items:center;gap:.65rem;padding:.75rem;display:grid;position:relative}.sync-stat{align-items:center;gap:.55rem;min-width:0;display:flex}.sync-icon{border-radius:10px;flex:none;place-items:center;width:32px;height:32px;font-size:.78rem;font-weight:800;display:grid}.sync-icon.saved{background:var(--mint);color:var(--teal)}.sync-icon.cloud{background:var(--blue-soft);color:var(--blue)}.sync-icon.is-spinning{animation:1.2s ease-in-out infinite sync-arrow}.sync-stat div{gap:2px;min-width:0;display:grid}.sync-stat small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.61rem;overflow:hidden}.sync-stat strong{text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;overflow:hidden}.sync-divider{background:var(--line);width:1px;height:30px}.pending-badge{border:2px solid var(--surface);background:var(--amber);color:#fff;border-radius:99px;place-items:center;min-width:23px;height:23px;padding:0 .3rem;font-size:.65rem;font-weight:800;display:grid;position:absolute;top:-7px;right:-7px}.live-transcript-card{box-shadow:var(--shadow-sm);background:#f6fcfaf0;border:1px solid #1491794d;border-radius:15px;margin-top:.75rem;overflow:hidden}.live-transcript-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:.75rem;padding:.65rem .8rem;display:flex}.live-transcript-heading h2{letter-spacing:-.01em;margin:0;font-size:.8rem}.live-transcript-heading span{background:var(--amber-soft);color:#7a5a13;letter-spacing:.02em;text-transform:uppercase;border-radius:999px;padding:.28rem .5rem;font-size:.58rem;font-weight:800}.live-transcript-copy{scrollbar-gutter:stable;min-height:72px;max-height:180px;padding:.8rem;overflow-y:auto}.live-transcript-copy p{color:var(--ink-soft);white-space:pre-wrap;margin:0;font-size:.8rem;line-height:1.65}.live-transcript-copy p.is-waiting{color:var(--muted);font-style:italic}.live-transcript-meta{border-top:1px solid var(--line);color:var(--muted);grid-template-columns:auto minmax(0,1fr);gap:.75rem;padding:.55rem .8rem;font-size:.61rem;line-height:1.45;display:grid}.live-transcript-meta span:first-child{color:var(--teal-dark);white-space:nowrap;font-weight:750}.storage-warning{background:var(--amber-soft);color:var(--amber);border:1px solid #e9d39d;border-radius:13px;align-items:flex-start;gap:.65rem;margin-top:.75rem;padding:.75rem;display:flex}.storage-warning>span{border:1px solid;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:.7rem;font-weight:800;display:grid}.storage-warning strong{font-size:.78rem}.storage-warning p{color:#7a6535;margin:.2rem 0 0;font-size:.7rem;line-height:1.4}.recording-error{margin-top:.75rem}.recording-controls{padding-bottom:env(safe-area-inset-bottom);grid-template-columns:minmax(110px,.7fr) minmax(0,1.3fr);gap:.75rem;margin-top:1rem;display:grid}.pause-button,.stop-button{min-height:56px}.pause-button{border:1px solid var(--line-strong);background:var(--surface);color:var(--ink)}.pause-button>span{font-family:var(--font-geist-mono), monospace;font-size:.77rem}.stop-button{color:#fff;background:#b94432;border:1px solid #b94432;box-shadow:0 8px 20px #b944322e}.stop-button:hover:not(:disabled){background:#9f3828}.stop-button>span{background:#fff;border:2px solid #ffffffd9;border-radius:3px;width:12px;height:12px}.review-heading{flex-direction:column;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.review-heading h1{margin-bottom:0}.review-heading-actions{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.review-heading-actions .text-button{align-items:center;gap:.35rem;display:inline-flex}.new-button{display:inline-flex}.review-status-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm);grid-template-columns:42px minmax(0,1fr);align-items:start;gap:.85rem;margin-top:1.6rem;padding:1rem;display:grid;position:relative}.processing-symbol{background:var(--blue-soft);width:42px;height:42px;color:var(--blue);border-radius:13px;place-items:center;font-size:1.3rem;font-weight:800;animation:1.6s ease-in-out infinite processing-breathe;display:grid}.processing-symbol.is-ready{background:var(--mint);color:var(--teal);animation:none}.processing-symbol.is-failed{background:var(--red-soft);color:var(--red);animation:none}.review-status-copy{min-width:0}.review-status-copy .card-kicker{margin-bottom:.25rem}.review-status-copy h2{margin-bottom:.25rem;font-size:1rem}.review-status-copy>p{color:var(--muted);margin-bottom:.65rem;font-size:.76rem;line-height:1.45}.progress-track{background:#e5ece9;border-radius:99px;height:6px;overflow:hidden}.progress-track>span{border-radius:inherit;background:var(--teal-bright);height:100%;transition:width .3s;display:block}.progress-meta{color:var(--muted);flex-wrap:wrap;gap:.35rem .75rem;margin-top:.35rem;font-size:.65rem;display:flex}.duration-stat{grid-column:2;align-items:baseline;gap:.5rem;display:flex}.duration-stat small{color:var(--muted);font-size:.65rem}.duration-stat strong{font-family:var(--font-geist-mono), monospace;font-size:.83rem}.retry-button{grid-column:1/-1;width:100%}.clinical-warning{border-radius:var(--radius-md);background:var(--amber-soft);border:1px solid #e8cd8e;align-items:flex-start;gap:.7rem;margin-top:1rem;padding:.9rem;display:flex}.warning-icon{width:28px;height:28px;color:var(--amber);background:#895f0721;border-radius:9px;flex:none;place-items:center;font-size:.77rem;font-weight:850;display:grid}.clinical-warning strong{color:#6e4d07;font-size:.8rem}.clinical-warning p{color:#75623c;margin:.25rem 0 0;font-size:.72rem;line-height:1.5}.document-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-md);margin-top:1rem;overflow:hidden}.document-tabs{border-bottom:1px solid var(--line);gap:.2rem;padding:0 .8rem;display:flex}.document-tabs button{min-height:52px;color:var(--muted);cursor:pointer;background:0 0;border:0;padding:.75rem .8rem;font-size:.82rem;font-weight:700;position:relative}.document-tabs button.is-active{color:var(--teal-dark)}.document-tabs button.is-active:after{content:"";background:var(--teal);border-radius:99px 99px 0 0;height:3px;position:absolute;bottom:-1px;left:.7rem;right:.7rem}.note-panel,.transcript-panel{min-height:320px}.note-editor-label{min-height:inherit;display:block}.note-editor-label textarea{resize:vertical;width:100%;min-height:360px;color:var(--ink);font-family:var(--font-geist-mono), ui-monospace, monospace;background:linear-gradient(#0000 29px,#d8e3df8c 30px) 0 0/100% 30px;border:0;padding:1.25rem;font-size:.8rem;line-height:30px}.note-editor-label textarea:focus{outline:0;box-shadow:inset 0 0 0 3px #1491792e}.note-editor-label textarea::placeholder{color:#8c9b97}.empty-document{min-height:320px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:1rem;padding:2rem;display:grid}.empty-document p{max-width:25rem;margin-bottom:0;font-size:.83rem;line-height:1.55}.document-loader,.document-empty-icon{background:var(--paper);width:48px;height:48px;color:var(--teal);letter-spacing:3px;border-radius:15px;place-items:center;font-weight:800;display:grid}.document-loader{position:relative}.document-loader:before{content:"";border:2px solid var(--line-strong);border-top-color:var(--teal);border-radius:50%;width:20px;height:20px;animation:.9s linear infinite spin}.transcript-list{margin:0;padding:.5rem 1rem;list-style:none}.transcript-list li{border-bottom:1px solid var(--line);padding:1rem .2rem}.transcript-list li:last-child{border-bottom:0}.speaker-row{justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.4rem;display:flex}.speaker-row strong{color:var(--teal-dark);font-size:.74rem}.speaker-row time{color:var(--muted);font-family:var(--font-geist-mono), monospace;font-size:.64rem}.transcript-list p{color:var(--ink-soft);margin-bottom:0;font-size:.83rem;line-height:1.6}.transcript-text{min-height:320px;color:var(--ink-soft);white-space:pre-wrap;padding:1.25rem;font-size:.85rem;line-height:1.75}.review-confirmation{border-top:1px solid var(--line);background:var(--surface-soft);padding:1rem}.review-confirmation label{color:var(--ink-soft);cursor:pointer;grid-template-columns:22px minmax(0,1fr);align-items:flex-start;gap:.65rem;font-size:.77rem;font-weight:600;line-height:1.5;display:grid;position:relative}.review-confirmation label:has(input:disabled){cursor:not-allowed;opacity:.55}.review-state{color:var(--teal);align-items:center;gap:.4rem;margin:.65rem 0 0 2.65rem;font-size:.7rem;font-weight:700;display:flex}.review-state>span{background:var(--mint);border-radius:50%;place-items:center;width:18px;height:18px;font-size:.65rem;display:grid}.document-message,.success-message{margin:.85rem 1rem 0}.document-actions{border-top:1px solid var(--line);gap:.75rem;padding:1rem;display:grid}.document-actions>button{width:100%}.document-actions>div{gap:.55rem;display:grid}.live-region{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:fixed;overflow:hidden}.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}@keyframes recording-pulse{0%,to{box-shadow:0 0 0 4px #df5c481f}50%{box-shadow:0 0 0 8px #df5c4808}}@keyframes live-wave{0%,to{height:8px}50%{height:48px}}@keyframes sync-arrow{0%,to{transform:translateY(1px)}50%{transform:translateY(-2px)}}@keyframes processing-breathe{0%,to{box-shadow:0 0 #2b6f9214}50%{box-shadow:0 0 0 7px #2b6f9205}}@keyframes spin{to{transform:rotate(360deg)}}@media (min-width:560px){.brand-copy small{display:block}.page{padding-left:1.5rem;padding-right:1.5rem}.hero-button{width:auto}.patient-workspace{padding:1.35rem}.patient-workspace-heading{flex-direction:row;justify-content:space-between;align-items:flex-end}.patient-workspace-heading>button,.patient-form-actions button{width:auto}.patient-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.selected-patient-card{grid-template-columns:minmax(0,1fr) auto;align-items:center}.selected-patient-card>button{width:auto}.patient-history-list li{grid-template-columns:minmax(0,1fr) auto}.patient-history-list button{grid-column:1/-1}.recovery-card{grid-template-columns:44px minmax(0,1fr) auto;padding:1.25rem}.trust-grid{grid-template-columns:repeat(3,1fr)}.trust-grid article{border-right:1px solid var(--line);border-bottom:0;padding:1.5rem}.trust-grid article:first-child{padding-left:0}.trust-grid article:last-child{border-right:0;padding-right:0}.setup-card{padding:1.5rem}.language-options{grid-template-columns:repeat(3,1fr)}.language-option{grid-template-columns:1fr 21px;align-content:start;min-height:146px}.language-monogram{grid-column:1/-1}.language-copy,.radio-mark{align-self:start}.recording-stage{padding:1.4rem}.recording-controls{width:min(520px,100%);margin-left:auto;margin-right:auto}.review-status-card{grid-template-columns:48px minmax(0,1fr) auto;padding:1.2rem}.review-heading{flex-direction:row;align-items:flex-end}.processing-symbol{width:48px;height:48px}.duration-stat{text-align:right;grid-area:1/3;gap:.25rem;display:grid}.duration-stat strong{font-size:.95rem}.retry-button{grid-column:3;width:auto}.clinical-warning{padding:1rem 1.1rem}.document-actions{justify-content:space-between;align-items:center;display:flex}.document-actions>button{width:auto}.document-actions>div{display:flex}}@media (min-width:840px){.header-inner{min-height:78px;padding-inline:1.5rem}.workspace-identity{gap:.08rem;max-width:210px;display:grid}.synthetic-banner{top:78px}.page{padding-top:4.5rem;padding-bottom:6rem}.hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:4rem;min-height:520px}.patient-workspace{padding:1.7rem}.patient-workspace-grid{grid-template-columns:minmax(260px,.78fr) minmax(420px,1.22fr)}.patient-directory{border-right:1px solid var(--line);border-bottom:0;padding:1rem}.patient-detail{padding:1.1rem}.patient-history-list li{grid-template-columns:minmax(0,1fr) auto auto}.patient-history-list button{grid-column:auto;width:auto}.hero-copy h1{max-width:720px}.consultation-visual{min-height:480px}.orbit-one{width:440px;height:440px}.orbit-two{width:340px;height:340px}.visual-card{width:330px;padding:1.7rem}.visual-wave{height:100px}.language-en{left:calc(50% - 205px)}.language-fr{right:calc(50% - 205px)}.visual-check{right:calc(50% - 160px)}.setup-layout{grid-template-columns:minmax(260px,.7fr) minmax(460px,1.3fr);align-items:start;gap:4rem}.setup-intro{position:sticky;top:8rem}.setup-card{padding:2rem}.recording-stage{min-height:min(760px,100dvh - 190px);padding:1.7rem}.timer-wrap{padding:3rem 1rem}.recording-sync-card{width:100%;max-width:510px;margin-left:auto;margin-right:auto;padding:.85rem 1rem}.sync-stat small{font-size:.68rem}.sync-stat strong{font-size:.78rem}.review-page{padding-top:3.5rem}.review-status-card{margin-top:2rem}.note-editor-label textarea,.note-panel,.transcript-panel,.empty-document,.transcript-text{min-height:440px}}@media (max-width:420px){.connection-pill>span:not(.status-dot):not(.queue-count){display:none}.connection-pill{justify-content:center;min-width:40px}.header-signout{width:40px;padding:0;font-size:0;overflow:hidden}.header-signout:before{content:"↗";font-size:.92rem}.recording-status-row{align-items:stretch}.recording-status{border-radius:12px}.recording-controls{grid-template-columns:1fr}.live-transcript-heading,.live-transcript-meta{grid-template-columns:1fr;align-items:flex-start}.live-transcript-heading{flex-direction:column}.pause-button{order:2}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
.auth-page{background:var(--surface);grid-template-columns:minmax(0,1.08fr) minmax(440px,.92fr);min-height:100dvh;display:grid}.auth-visual{isolation:isolate;color:#fff;background:radial-gradient(circle at 18% 12%,#86e0be33,#0000 19rem),radial-gradient(circle at 86% 84%,#79b9d52e,#0000 24rem),linear-gradient(145deg,#073f38 0%,#0a5b4f 54%,#08483f 100%);min-height:100dvh;position:relative;overflow:hidden}.auth-visual:before,.auth-visual:after{z-index:-1;content:"";border:1px solid #ffffff1c;border-radius:50%;position:absolute}.auth-visual:before{width:32rem;height:32rem;top:18%;right:-17rem}.auth-visual:after{width:18rem;height:18rem;bottom:-7rem;left:-8rem}.auth-visual-inner{flex-direction:column;justify-content:space-between;gap:5rem;width:min(760px,100%);min-height:100%;margin:0 auto;padding:clamp(2rem,6vw,5.5rem);display:flex}.auth-brand{align-items:center;gap:.75rem;display:inline-flex}.auth-brand>span:last-child{gap:.1rem;display:grid}.auth-brand strong{letter-spacing:-.02em;font-size:1.08rem}.auth-brand small{color:inherit;opacity:.72;font-size:.74rem}.auth-brand-mark{background:var(--teal);border-radius:13px;flex:none;width:42px;height:42px;position:relative;box-shadow:0 9px 24px #042c2633}.auth-visual .auth-brand-mark{background:#ffffff24;border:1px solid #fff3}.auth-brand-mark:before,.auth-brand-mark:after{content:"";background:#fff;border-radius:999px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.auth-brand-mark:before{width:20px;height:5px}.auth-brand-mark:after{width:5px;height:20px}.auth-brand-mark>span{border:2px solid var(--teal);background:var(--mint-strong);border-radius:50%;width:9px;height:9px;position:absolute;bottom:4px;right:4px}.auth-visual .auth-brand-mark>span{border-color:#0a584d}.auth-promise{max-width:38rem;padding-bottom:clamp(1rem,5vh,4rem)}.auth-eyebrow{color:var(--teal);letter-spacing:.11em;text-transform:uppercase;margin-bottom:.7rem;font-size:.72rem;font-weight:800}.auth-visual .auth-eyebrow{color:#a9e5cf}.auth-promise h2{letter-spacing:-.055em;max-width:12ch;margin:0;font-size:clamp(2.2rem,4.7vw,4.4rem);font-weight:680;line-height:1.01}.auth-trust-list{flex-wrap:wrap;gap:.65rem;margin-top:clamp(2.1rem,5vw,4rem);display:flex}.auth-trust-list span{color:#ffffffdb;background:#ffffff14;border:1px solid #ffffff2e;border-radius:999px;align-items:center;min-height:36px;padding:.45rem .75rem;font-size:.75rem;display:inline-flex}.auth-panel{background:radial-gradient(circle at 96% 0%, #bce5d64d, transparent 18rem), var(--surface);place-items:center;min-width:0;display:grid}.auth-panel-inner{width:min(470px,100%);padding:clamp(2rem,7vw,5rem) clamp(1.3rem,6vw,4.25rem)}.auth-language{border:1px solid var(--line);background:var(--surface-soft);border-radius:999px;gap:2px;width:fit-content;margin-left:auto;padding:3px;display:flex}.auth-language button{min-width:42px;min-height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:.35rem .55rem;font-size:.72rem;font-weight:800}.auth-language button[aria-pressed=true]{background:var(--surface);color:var(--teal);box-shadow:var(--shadow-sm)}.auth-heading{margin-top:clamp(2.7rem,8vh,5rem)}.auth-heading h1{letter-spacing:-.045em;margin-bottom:.65rem;font-size:clamp(2.1rem,4.5vw,3rem);line-height:1.05}.auth-heading>p:last-child{max-width:37rem;color:var(--muted);margin-bottom:0;line-height:1.6}.auth-form{gap:1.05rem;margin-top:2rem;display:grid}.auth-form label,.admin-create label{gap:.45rem;display:grid}.auth-form label>span,.admin-create label>span{color:var(--ink-soft);font-size:.79rem;font-weight:750}.auth-form input,.admin-create input,.admin-create select{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-height:52px;color:var(--ink);border-radius:12px;padding:.75rem .9rem;transition:border-color .14s,box-shadow .14s}.auth-form input:hover,.admin-create input:hover,.admin-create select:hover{border-color:#8fb3a8}.auth-form input:focus,.admin-create input:focus,.admin-create select:focus{border-color:var(--teal-bright);outline:0;box-shadow:0 0 0 4px #1491791a}.auth-error{min-height:0;color:var(--red);border:0 solid #0000;border-radius:10px;font-size:.8rem;line-height:1.45}.auth-error.is-visible{background:var(--red-soft);border-width:1px;border-color:#f0c7bd;min-height:44px;padding:.65rem .75rem}.auth-submit,.admin-create button{border:1px solid var(--teal);background:var(--teal);color:#fff;cursor:pointer;border-radius:12px;min-height:52px;padding:.75rem 1rem;font-weight:780;transition:background .14s,transform .14s;box-shadow:0 8px 20px #0d6b5c29}.auth-submit:hover:not(:disabled),.admin-create button:hover:not(:disabled){background:var(--teal-dark);transform:translateY(-1px)}.auth-submit-link{justify-content:center;align-items:center;margin-top:1.6rem;text-decoration:none;display:inline-flex}.auth-field-hint{color:var(--muted);margin-top:-.45rem;font-size:.72rem;line-height:1.45}.auth-switch{color:var(--muted);text-align:center;margin:1.15rem 0 0;font-size:.8rem;line-height:1.5}.auth-switch a{color:var(--teal);text-underline-offset:.18em;font-weight:800}.auth-success{margin-top:clamp(3.4rem,10vh,6.5rem)}.auth-success-mark{background:var(--mint);width:54px;height:54px;color:var(--teal);border:1px solid #9bcdbc;border-radius:18px;place-items:center;margin-bottom:1.2rem;font-size:1.45rem;font-weight:900;display:grid}.auth-success h1{letter-spacing:-.045em;margin-bottom:.65rem;font-size:clamp(2.1rem,4.5vw,3rem);line-height:1.05}.auth-success>p:last-of-type{color:var(--muted);margin:0;line-height:1.6}.auth-help{color:var(--muted);text-align:center;margin:1.1rem 0 0;font-size:.78rem;line-height:1.5}.auth-privacy{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;gap:.8rem;margin-top:2rem;padding:.85rem;display:flex}.auth-privacy strong{margin-bottom:.2rem;font-size:.78rem;display:block}.auth-privacy p{color:var(--muted);margin:0;font-size:.73rem;line-height:1.5}.auth-lock{background:var(--mint);border-radius:8px;flex:none;width:30px;height:27px;margin-top:.2rem;position:relative}.auth-lock:before{border:2px solid var(--teal);content:"";border-bottom:0;border-radius:8px 8px 0 0;width:10px;height:11px;position:absolute;top:-6px;left:9px}.auth-lock:after{background:var(--teal);content:"";border-radius:999px;width:4px;height:7px;position:absolute;top:11px;left:13px}.auth-footer{color:#81918d;text-align:center;margin:1.4rem auto 0;font-size:.68rem;line-height:1.45}.admin-shell{min-height:100dvh}.admin-header{z-index:40;-webkit-backdrop-filter:blur(16px);background:#f8fbf9ed;border-bottom:1px solid #bfd1cbd1;position:sticky;top:0}.admin-header-inner{justify-content:space-between;align-items:center;gap:1rem;width:min(1280px,100%);min-height:76px;margin:0 auto;padding:.75rem 1.25rem;display:flex}.admin-header-actions{align-items:center;gap:.7rem;display:flex}.admin-header-actions form{margin:0}.admin-logout,.admin-refresh,.admin-account-actions button{border:1px solid var(--line-strong);background:var(--surface);min-height:42px;color:var(--ink-soft);cursor:pointer;border-radius:10px;padding:.55rem .8rem;font-size:.77rem;font-weight:750}.admin-logout:hover,.admin-refresh:hover:not(:disabled),.admin-account-actions button:hover:not(:disabled){color:var(--teal-dark);border-color:#8fb3a8}.admin-main{width:min(1280px,100%);margin:0 auto;padding:clamp(1.6rem,4vw,3.25rem) 1.25rem 5rem}.admin-intro{justify-content:space-between;align-items:end;gap:1rem;display:flex}.admin-intro h1{letter-spacing:-.052em;margin-bottom:.45rem;font-size:clamp(2.1rem,5vw,3.7rem);line-height:1}.admin-intro>div>p:last-child{color:var(--muted);margin:0;font-size:.82rem}.admin-refresh{min-width:100px}.admin-status{margin-top:1.25rem}.admin-alert{border:1px solid;border-radius:11px;margin:0 0 .75rem;padding:.75rem .9rem;font-size:.8rem}.admin-alert.is-error{background:var(--red-soft);color:var(--red);border-color:#efc4bb}.admin-alert.is-success{background:var(--mint);color:var(--teal-dark);border-color:#b8dfd1}.admin-password-alert{background:var(--amber-soft);border:1px solid #e6cf91;border-radius:12px;gap:.35rem;margin-bottom:.75rem;padding:.8rem .9rem;display:grid}.admin-password-alert>span{color:var(--amber);letter-spacing:.07em;text-transform:uppercase;font-size:.7rem;font-weight:850}.admin-password-alert output{overflow-wrap:anywhere;color:#5d4209;width:fit-content;max-width:100%;font-family:var(--font-geist-mono);background:#fffdf5;border:1px solid #ddc476;border-radius:7px;padding:.4rem .55rem;font-weight:700}.admin-password-alert small{color:#765718;line-height:1.4}.admin-section{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm);margin-top:1.4rem;padding:clamp(1rem,2.8vw,1.5rem)}.admin-section-heading{justify-content:space-between;gap:1rem;display:flex}.admin-section-heading h2{letter-spacing:-.015em;margin:0 0 .4rem;font-size:1rem}.admin-section-heading p{max-width:49rem;color:var(--muted);margin:0;font-size:.76rem;line-height:1.5}.admin-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:.8rem;margin-top:1.2rem;display:grid}.admin-metric{border:1px solid var(--line);background:var(--surface-soft);border-radius:13px;flex-direction:column;justify-content:space-between;min-height:128px;padding:1rem;display:flex;position:relative;overflow:hidden}.admin-metric:after{background:var(--metric-accent,#14917917);content:"";border-radius:50%;width:90px;height:90px;position:absolute;bottom:-32px;right:-25px}.admin-metric.is-teal{--metric-accent:#1491791f}.admin-metric.is-blue{--metric-accent:#2b6f921f}.admin-metric.is-mint{--metric-accent:#4aa48021}.admin-metric.is-amber{--metric-accent:#cd910f29}.admin-request-count{background:var(--amber-soft);min-width:38px;height:38px;color:var(--amber);border:1px solid #e6cf91;border-radius:12px;place-items:center;font-weight:850;display:grid}.admin-request-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:1rem;display:grid}.admin-request-card{background:#fffdf7;border:1px solid #e8d398;border-radius:13px;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem;display:flex}.admin-request-card .admin-account-identity small{color:#85661f;margin-top:.32rem;font-size:.64rem;display:block}.admin-request-pagination{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:.8rem;margin-top:1rem;padding-top:.9rem;display:flex}.admin-request-pagination>span{color:var(--muted);font-size:.7rem}.admin-request-pagination>div{gap:.45rem;display:flex}.admin-request-pagination button{border:1px solid var(--line-strong);background:var(--surface);min-height:38px;color:var(--ink-soft);cursor:pointer;border-radius:10px;padding:.45rem .7rem;font-size:.7rem;font-weight:750}.admin-request-pagination button:hover:not(:disabled){color:var(--teal-dark);border-color:#8fb3a8}.admin-avatar.is-pending{background:var(--amber-soft);color:var(--amber)}.admin-account-actions button.is-approve{background:var(--mint);color:var(--teal-dark);border-color:#9bcdbc}.admin-account-actions button.is-reject{background:var(--red-soft);color:var(--red);border-color:#efc4bb}.admin-metric>span{max-width:12rem;color:var(--muted);font-size:.73rem;line-height:1.35}.admin-metric strong{z-index:1;letter-spacing:-.05em;font-size:clamp(1.7rem,4vw,2.5rem);position:relative}.admin-grid{grid-template-columns:minmax(0,1.45fr) minmax(310px,.75fr);gap:1.4rem;display:grid}.admin-create{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;margin-top:1.1rem}.admin-create summary{min-height:46px;color:var(--teal);cursor:pointer;align-items:center;padding:.75rem .9rem;font-size:.78rem;font-weight:800;display:flex}.admin-create summary::marker{color:var(--teal)}.admin-create form{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(150px,.7fr);align-items:end;gap:.8rem;padding:1rem;display:grid}.admin-create input,.admin-create select,.admin-create button{min-height:46px}.admin-account-list{gap:.75rem;margin-top:1rem;display:grid}.admin-account-card{border:1px solid var(--line);border-radius:13px;grid-template-columns:minmax(220px,1.15fr) minmax(280px,1fr) auto;align-items:center;gap:1rem;padding:.9rem;display:grid}.admin-account-identity{align-items:center;gap:.75rem;min-width:0;display:flex}.admin-avatar{background:var(--mint);width:40px;height:40px;color:var(--teal-dark);border-radius:12px;flex:none;place-items:center;font-size:.9rem;font-weight:850;display:grid}.admin-avatar.is-disabled{color:var(--muted);background:#edf0ef}.admin-account-identity h3{text-overflow:ellipsis;white-space:nowrap;margin:0 0 .15rem;font-size:.85rem;overflow:hidden}.admin-account-identity p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.72rem;overflow:hidden}.admin-account-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:0;display:grid}.admin-account-meta div{min-width:0}.admin-account-meta dt{color:var(--muted);text-transform:uppercase;margin-bottom:.18rem;font-size:.62rem;font-weight:750}.admin-account-meta dd{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.69rem;overflow:hidden}.admin-state{align-items:center;gap:.32rem;display:inline-flex}.admin-state:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px}.admin-state.is-active{color:var(--teal)}.admin-state.is-disabled{color:var(--red)}.admin-state.is-pending{color:var(--amber)}.admin-state.is-rejected{color:var(--red)}.admin-account-actions{justify-content:end;gap:.4rem;display:flex}.admin-account-actions button{white-space:nowrap;min-height:38px;padding:.45rem .6rem;font-size:.67rem}.admin-empty{border:1px dashed var(--line-strong);color:var(--muted);text-align:center;border-radius:12px;margin:1.2rem 0 0;padding:1.4rem;font-size:.76rem}.admin-audit-list{margin-top:1rem}.admin-audit-row{gap:.75rem;padding:.65rem 0 .75rem 1.35rem;display:flex;position:relative}.admin-audit-row:not(:last-child){border-bottom:1px solid var(--line)}.admin-audit-dot{background:var(--blue);border-radius:50%;width:8px;height:8px;position:absolute;top:.92rem;left:0}.admin-audit-dot.is-success,.admin-audit-dot.is-allowed{background:var(--teal-bright)}.admin-audit-dot.is-failure,.admin-audit-dot.is-denied{background:var(--red)}.admin-audit-row strong{margin-bottom:.18rem;font-size:.75rem;display:block}.admin-audit-row p{color:var(--ink-soft);margin:0 0 .2rem;font-size:.68rem}.admin-audit-row small{color:var(--muted);font-size:.63rem;line-height:1.45}@media (max-width:1080px){.auth-page{grid-template-columns:minmax(0,.85fr) minmax(420px,1fr)}.auth-promise h2{font-size:clamp(2.1rem,4.5vw,3.4rem)}.admin-grid,.admin-request-list{grid-template-columns:1fr}.admin-account-card{grid-template-columns:minmax(220px,1fr) minmax(280px,1fr)}.admin-account-actions{grid-column:1/-1}}@media (max-width:820px){.auth-page{display:block}.auth-visual{min-height:auto}.auth-visual-inner{gap:3rem;min-height:250px;padding:1.5rem}.auth-promise{padding-bottom:0}.auth-promise h2{max-width:17ch;font-size:clamp(1.8rem,8vw,2.7rem)}.auth-trust-list{display:none}.auth-panel-inner{width:min(560px,100%);padding-top:1.6rem}.auth-heading{margin-top:2.4rem}.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-create form{grid-template-columns:1fr 1fr}.admin-create form button{grid-column:1/-1}.admin-account-card{grid-template-columns:1fr}.admin-account-actions{grid-column:auto;justify-content:start}}@media (max-width:560px){.auth-visual-inner{min-height:220px}.auth-brand small,.admin-header .auth-brand small{display:none}.auth-promise h2{font-size:1.7rem}.auth-panel-inner{padding:1.25rem 1rem 2.5rem}.auth-heading h1{font-size:2rem}.admin-header-inner{min-height:70px;padding-inline:.8rem}.admin-header-actions{gap:.4rem}.admin-header .auth-language{display:none}.admin-main{padding:1.4rem .8rem 3.5rem}.admin-intro{flex-direction:column;align-items:start}.admin-refresh{width:100%}.admin-metrics{grid-template-columns:1fr 1fr;gap:.55rem}.admin-request-card,.admin-request-pagination{flex-direction:column;align-items:stretch}.admin-request-card .admin-account-actions,.admin-request-pagination>div{grid-template-columns:1fr 1fr;display:grid}.admin-request-card .admin-account-actions button,.admin-request-pagination button{width:100%}.admin-metric{min-height:112px}.admin-create form{grid-template-columns:1fr}.admin-create form button{grid-column:auto}.admin-account-meta{grid-template-columns:1fr 1fr}.admin-account-meta div:last-child{grid-column:1/-1}.admin-account-actions{grid-template-columns:1fr 1fr;display:grid}.admin-request-card{flex-direction:column;align-items:stretch}.admin-account-actions button{white-space:normal}}@media (prefers-reduced-motion:reduce){.auth-submit,.admin-create button,.auth-form input,.admin-create input,.admin-create select{transition:none}}
