.patient-record-surface{--patient-record-safe-padding:clamp(22px,2.4vw,32px)}.patient-record-surface .clinic-record-shell{display:grid}.patient-record-surface .clinic-record-shell>*{min-width:0;margin-block:0}.patient-record-surface .clinic-record-overview,.patient-record-surface .patient-report-branding,.patient-record-surface .clinic-session-list.clinic-session-strip,.patient-record-surface .analysis-section-workspace,.patient-record-surface .product-recommendations,.patient-record-surface .clinic-capture-gallery{border-radius:var(--patient-record-surface-radius)}.patient-record-surface .patient-record-header{padding:var(--patient-record-safe-padding);grid-template-columns:minmax(320px,.9fr) minmax(430px,1.1fr);grid-template-areas:"identity summary""actions actions""tabs tabs";align-items:stretch;gap:clamp(22px,2.2vw,34px)}.patient-record-surface .record-analysis-summary{grid-area:summary;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-width:0;display:grid}.patient-record-surface .record-analysis-summary>div{gap:7px;min-width:0;display:grid}.patient-record-surface .record-analysis-summary>div>span{font-size:12px}.patient-record-surface .record-analysis-summary>div>strong{color:var(--ink);line-height:1.55}.patient-record-surface .record-analysis-summary>div>p{margin:0}.patient-record-surface .record-analysis-summary .analysis-score-ring>span{gap:2px;font-size:13px;line-height:1.55;display:grid}.patient-record-surface .record-analysis-summary .record-score-ring>span>small{color:var(--muted);font-size:12px;font-weight:500;line-height:1.6}.patient-record-surface .analysis-summary-print-only{display:none}.patient-record-surface .clinic-record-identity{max-width:780px;display:grid}.patient-record-surface .clinic-record-identity h1{margin-block:6px 8px}.patient-record-surface .clinic-record-meta{gap:8px;margin-top:14px}.patient-record-surface .clinic-record-actions{width:100%}.patient-record-surface .clinic-record-overview .clinic-record-actions>*{border-radius:16px;grid-template-columns:44px minmax(0,1fr);gap:3px 12px;min-width:0;min-height:82px;padding:12px 14px;text-decoration:none}.patient-record-surface .clinic-record-actions>*>small{text-overflow:clip;white-space:normal;display:block;overflow:visible}.patient-record-surface .patient-record-products-action{border:1px solid rgba(var(--brand-rgb),.14);min-width:0;color:var(--ink);text-align:start;cursor:pointer;background:#ffffffe6;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:3px 12px;font-family:inherit;transition:transform .2s,border-color .2s,box-shadow .2s;display:grid;box-shadow:0 10px 26px #1f34440f}.patient-record-surface .patient-record-products-action:hover{border-color:rgba(var(--brand-rgb),.3);box-shadow:0 15px 32px rgba(var(--brand-rgb),.11);transform:translateY(-2px)}.patient-record-surface .patient-record-products-action:focus-visible{box-shadow:var(--focus-ring);outline:0}.patient-record-surface .patient-record-products-action>span,.patient-record-surface .patient-record-products-action>svg{width:44px;height:44px;color:var(--brand);background:var(--brand-soft);border-radius:12px;grid-row:1/3;place-items:center;padding:10px;display:grid}.patient-record-surface .patient-record-products-action svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.patient-record-surface .patient-record-products-action b{font-size:13px;font-weight:500;line-height:1.55}.patient-record-surface .patient-record-products-action small{color:var(--muted);font-size:12px;line-height:1.55}.patient-record-surface [id^=product-recommendations-]{scroll-margin-top:96px}.patient-record-surface .clinic-record-overview .clinic-record-view-tabs{gap:12px;padding-top:22px}.patient-record-surface .clinic-record-view-tabs>div,.patient-record-surface .clinic-record-view-tabs>button{min-width:0;border-radius:16px!important}.patient-record-surface .clinic-record-view-tabs strong{text-overflow:clip;white-space:normal;line-height:1.55;overflow:visible}.patient-record-surface .clinic-record-view-tabs small{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.55;display:-webkit-box;overflow:hidden}.patient-record-surface .patient-report-branding{padding:var(--patient-record-safe-padding);gap:clamp(20px,2.6vw,38px)}.patient-record-surface .patient-record-overview .patient-record-view-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.patient-record-surface .patient-record-overview>.patient-report-branding{grid-area:brand}.patient-record-surface .patient-record-overview .patient-report-brand-actions{grid-template-columns:none;justify-content:flex-end;display:flex}.patient-record-surface .patient-record-overview .patient-report-brand-actions>a{min-width:190px}.patient-record-surface .patient-report-clinic-brand p,.patient-record-surface .patient-report-clinic-brand address{line-height:1.75}.patient-record-surface .clinic-session-list.clinic-session-strip{overflow:hidden}.patient-record-surface .clinic-session-list.clinic-session-strip>div{gap:10px;padding:0 14px 14px;scroll-padding-inline:14px}.patient-record-surface[dir] .clinic-session-strip button{flex-basis:clamp(230px,20vw,292px);min-height:78px;padding:11px 12px;border-radius:17px!important}.patient-record-surface .clinic-record-layout,.patient-record-surface .clinic-session-detail{min-width:0}.patient-record-surface .analysis-results-shell{gap:var(--patient-record-section-gap)}.patient-record-surface .patient-analysis-overall{border-radius:var(--patient-record-surface-radius)}.patient-record-surface .analysis-tab-navigation .analysis-tab-rail{border-radius:var(--patient-record-inner-radius)}.patient-record-surface .analysis-tab-rail button{border-radius:14px!important}.patient-record-surface .analysis-section-header{padding:clamp(22px,2.3vw,30px)}.patient-record-surface .analysis-section-header h2{font-size:clamp(21px,1.85vw,27px);line-height:1.4}.patient-record-surface .analysis-section-header p{max-width:76ch;font-size:14px;line-height:1.9}.patient-record-surface .analysis-primary-column,.patient-record-surface .analysis-list-grid,.patient-record-surface .analysis-overview-highlights{gap:14px}.patient-record-surface .analysis-narrative-card{padding:clamp(18px,1.8vw,24px)}.patient-record-surface .analysis-narrative-card h3,.patient-record-surface .analysis-insight-card h3{font-size:15px;line-height:1.55}.patient-record-surface .analysis-narrative-card>p{max-width:92ch;margin-block:14px 0;font-size:14px;line-height:2}.patient-record-surface .analysis-insight-card{padding:clamp(17px,1.6vw,22px)}.patient-record-surface .analysis-insight-card li>p,.patient-record-surface .analysis-insight-card>p{font-size:13px;line-height:1.85}.patient-record-surface .product-recommendations{margin-top:0}.patient-record-surface .clinic-capture-gallery figcaption{padding:11px 13px}@media (min-width:1800px){.patient-record-surface .clinic-record-shell{width:min(100% - 96px,1680px)}.patient-record-surface .analysis-section-header p,.patient-record-surface .analysis-narrative-card>p{max-width:88ch}}@media (max-width:1180px){.patient-record-surface{--patient-record-section-gap:18px;--patient-record-surface-radius:26px}.patient-record-surface .clinic-record-shell{width:min(100% - 28px,1060px)}.patient-record-surface .clinic-record-overview{padding:24px}.patient-record-surface .patient-record-header{grid-template-areas:"identity summary""actions actions""tabs tabs"}.patient-record-surface .patient-record-overview.patient-record-header{grid-template-areas:"identity summary""brand brand""tabs tabs"}}@media (max-width:820px){.patient-record-clinic .clinic-record-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-record-surface .patient-record-overview .clinic-record-view-tabs>button:first-child{grid-column:1/-1}.patient-record-surface .patient-report-branding{grid-template-columns:1fr}.patient-record-surface .patient-record-overview .patient-report-brand-actions{justify-content:stretch}.patient-record-surface .patient-record-overview .patient-report-brand-actions>a{width:100%;min-width:0}}@media (max-width:700px){.patient-record-surface{--patient-record-safe-padding:17px 15px}.patient-record-surface .clinic-record-topbar{padding:8px 12px}.patient-record-surface .clinic-record-overview{padding:var(--patient-record-safe-padding);gap:14px}.patient-record-surface .record-analysis-summary{min-height:0}.patient-record-surface .record-analysis-summary .analysis-score-ring{min-width:0}.patient-record-surface .record-analysis-summary .analysis-score-ring>div{width:64px}.patient-record-surface .record-analysis-summary .analysis-score-ring strong{font-size:24px}.patient-record-surface .clinic-record-identity h1{margin-block:4px 6px}.patient-record-surface:not(.patient-record-public) .clinic-record-actions{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-columns:auto;grid-auto-flow:row;gap:9px;padding:0;display:grid;overflow:visible}.patient-record-surface:not(.patient-record-public) .clinic-record-actions>*{scroll-snap-align:none}.patient-record-surface:not(.patient-record-public) .clinic-record-new-session{grid-column:1/-1}.patient-record-surface .clinic-record-overview .clinic-record-actions>*{min-height:64px;padding:10px}.patient-record-surface .clinic-record-overview .clinic-record-view-tabs{gap:8px;padding-top:14px}.patient-record-surface .clinic-record-view-tabs>div,.patient-record-surface .clinic-record-view-tabs>button{border-radius:14px!important}.patient-record-surface .clinic-record-view-tabs strong{font-size:12px}.patient-record-surface .clinic-record-view-tabs small{font-size:12px;line-height:1.5}.patient-record-surface .patient-report-branding{gap:16px;padding:18px 15px}.patient-record-surface .patient-record-overview>.patient-report-branding{gap:14px}.patient-record-surface .patient-report-clinic-brand{gap:12px}.patient-record-surface .patient-report-clinic-brand>img,.patient-record-surface .patient-report-clinic-brand>span{border-radius:16px}.patient-record-surface .patient-report-brand-actions{gap:9px}.patient-record-surface .clinic-session-list.clinic-session-strip>div{gap:8px;padding:0 10px 11px;scroll-padding-inline:10px}.patient-record-surface .clinic-session-list.clinic-session-strip button{flex-basis:min(82vw,286px);min-height:76px;padding:10px;border-radius:15px!important}.patient-record-surface .patient-analysis-overall,.patient-record-surface .analysis-tab-navigation{border-radius:var(--patient-record-surface-radius)}.patient-record-surface .analysis-tab-navigation .analysis-tab-rail{border-radius:16px}.patient-record-surface .analysis-section-workspace{border-radius:var(--patient-record-surface-radius)}.patient-record-surface .analysis-section-header{gap:14px;padding:20px 16px}.patient-record-surface .analysis-section-header h2{font-size:20px;line-height:1.45}.patient-record-surface .analysis-section-header p{font-size:13px;line-height:1.85}.patient-record-surface .analysis-section-grid,.patient-record-surface .analysis-primary-column,.patient-record-surface .analysis-list-grid,.patient-record-surface .analysis-overview-highlights{grid-template-columns:1fr;gap:12px}.patient-record-surface .analysis-list-grid>.analysis-insight-card:last-child{grid-column:auto}.patient-record-surface .analysis-narrative-card,.patient-record-surface .analysis-insight-card{padding:16px}.patient-record-surface .analysis-narrative-card>p{font-size:13px;line-height:1.95}.patient-record-surface .analysis-insight-card li>p,.patient-record-surface .analysis-insight-card>p{font-size:13px;line-height:1.8}.patient-record-surface .product-recommendations{border-radius:var(--patient-record-surface-radius)}.patient-record-surface .clinic-capture-gallery>div{gap:10px}.patient-record-surface .clinic-capture-gallery figure{border-radius:16px}}@media (max-width:420px){.patient-record-surface .record-analysis-summary .analysis-score-ring{text-align:start;justify-items:start}.patient-record-surface .record-analysis-summary .analysis-score-ring>span{align-self:center;margin:0}.patient-record-surface:not(.patient-record-public) .clinic-record-actions{grid-template-columns:1fr}.patient-record-surface:not(.patient-record-public) .clinic-record-new-session,.patient-record-surface .patient-record-overview .clinic-record-view-tabs>button:first-child{grid-column:auto}.patient-record-surface .clinic-record-view-tabs>div,.patient-record-surface .clinic-record-view-tabs>button{min-height:68px}.patient-record-surface .clinic-session-list.clinic-session-strip button{flex-basis:calc(100vw - 48px)}.patient-record-surface .analysis-status-badge{grid-template-columns:40px minmax(0,1fr) auto;padding:12px}.patient-record-surface .analysis-status-badge>i{width:40px}}@media print{.patient-record-surface .analysis-summary-print-only{display:grid}}.patient-record-surface{--patient-record-section-gap:18px;--patient-record-surface-radius:22px;--patient-record-inner-radius:16px;color:var(--ink);background:radial-gradient(circle at 12% 0,rgba(var(--brand-rgb),.035),transparent 28rem), #f6f7f8}.patient-record-surface .clinic-record-topbar{border-bottom:1px solid var(--surface-border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff0;min-height:68px;box-shadow:0 8px 28px #1e2b3509}.patient-record-surface .clinic-record-shell{width:min(100% - clamp(28px,4vw,64px),1540px);padding-block:26px 72px}.patient-record-surface .clinic-record-overview{border:1px solid var(--surface-border);border-radius:var(--patient-record-surface-radius);background:#fff;grid-template-columns:minmax(280px,.85fr) minmax(420px,1.15fr);grid-template-areas:"identity summary""actions actions""tabs tabs";align-items:center;gap:20px 28px;margin:0;padding:28px;display:grid;overflow:visible;box-shadow:0 14px 40px #1e2b350e}.patient-record-surface .patient-record-header:after{display:none}.patient-record-surface .clinic-record-identity{align-content:center}.patient-record-surface .clinic-record-identity>span{width:max-content;color:var(--brand);background:var(--brand-soft);border-radius:8px;margin:0 0 9px;padding:4px 9px;font-size:12px;font-weight:500}.patient-record-surface .clinic-record-identity h1{color:var(--ink);letter-spacing:-.025em;margin:0;font-size:clamp(24px,2.1vw,32px);font-weight:500;line-height:1.35}.patient-record-surface .clinic-record-identity p{max-width:58ch;color:var(--muted);margin:8px 0 0;font-size:13px;font-weight:500;line-height:1.8}.patient-record-surface .record-analysis-summary{border:1px solid var(--surface-border);border-radius:var(--patient-record-inner-radius);min-height:146px;box-shadow:none;background:#f9fafb;gap:22px;padding:18px 20px}.patient-record-surface .record-analysis-summary>div>span{color:var(--brand);font-weight:500}.patient-record-surface .record-analysis-summary>div>strong{font-size:clamp(17px,1.45vw,20px);font-weight:500}.patient-record-surface .record-analysis-summary>div>p{color:var(--muted);font-size:12px;font-weight:500}.patient-record-surface .record-analysis-summary .analysis-score-ring{border-color:var(--surface-border);text-align:start;background:#fff;border-radius:14px;grid-template-columns:78px minmax(0,1fr);place-items:center start;gap:0 12px;min-width:230px;padding:13px 12px;box-shadow:0 6px 18px #1e2b350b}.patient-record-surface .record-analysis-summary .analysis-score-ring>div{grid-row:1/3;width:78px}.patient-record-surface .record-analysis-summary .analysis-score-ring>span{align-self:center;margin:0}.patient-record-surface .record-analysis-summary .analysis-score-ring strong{font-size:25px}.patient-record-surface .clinic-record-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding-top:2px}.patient-record-surface .patient-record-header .clinic-record-actions>*{border:1px solid var(--surface-border);min-height:66px;color:var(--ink);box-shadow:none;background:#fff;border-radius:14px;grid-template-columns:38px minmax(0,1fr);gap:2px 10px;padding:10px 12px;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s;overflow:hidden}.patient-record-surface .patient-record-header .clinic-record-actions>:hover:not(:disabled){border-color:rgba(var(--brand-rgb),.22);background:var(--brand-surface);transform:translateY(-1px);box-shadow:0 7px 18px #1e2b350e}.patient-record-surface .clinic-record-actions>*>span,.patient-record-surface .patient-record-products-action>svg{width:38px;height:38px;color:var(--brand);background:var(--brand-soft);border-radius:10px;padding:9px}.patient-record-surface .clinic-record-actions>*>b{font-size:12px;font-weight:500;line-height:1.5}.patient-record-surface .clinic-record-actions>*>small{color:var(--muted);font-size:12px;line-height:1.45}.patient-record-surface .patient-record-header .clinic-record-new-session{color:#fff;background:var(--brand);box-shadow:0 8px 18px rgba(var(--brand-rgb),.18);border-color:#0000}.patient-record-surface .patient-record-header .clinic-record-new-session:hover{background:var(--brand-hover);box-shadow:0 10px 22px rgba(var(--brand-rgb),.22);border-color:#0000}.patient-record-surface .patient-record-header .clinic-record-new-session>span{color:#fff;background:#ffffff24}.patient-record-surface .patient-record-header .clinic-record-new-session small{color:#ffffffc7}.patient-record-surface .patient-record-header .clinic-record-view-tabs{border-top:1px solid var(--surface-border);gap:8px;margin:0;padding:16px 0 0}.patient-record-surface .clinic-record-view-tabs>div,.patient-record-surface .clinic-record-view-tabs>button{min-height:60px;color:var(--muted);box-shadow:none;background:0 0;border:1px solid #0000;grid-template-columns:36px minmax(0,1fr);gap:2px 9px;padding:9px 12px}.patient-record-surface .clinic-record-view-tabs>div>span,.patient-record-surface .clinic-record-view-tabs>button>span,.patient-record-surface .patient-record-view-tabs>button>svg{width:36px;height:36px;color:var(--brand);background:var(--brand-soft);box-shadow:none;border-radius:10px;padding:8px}.patient-record-surface .clinic-record-view-tabs>div.active,.patient-record-surface .clinic-record-view-tabs>button.active{border-color:rgba(var(--brand-rgb),.13);color:var(--ink);box-shadow:none;background:#f7f9fb}.patient-record-surface .clinic-record-view-tabs strong{font-size:12px;font-weight:500}.patient-record-surface .clinic-record-view-tabs small{color:var(--muted);font-size:12px}.patient-record-surface .patient-record-overview.patient-record-header{grid-template-columns:minmax(260px,.78fr) minmax(390px,1.22fr);grid-template-areas:"identity summary""brand brand""tabs tabs"}.patient-record-surface .patient-record-overview>.patient-report-branding{border:1px solid var(--surface-border);box-shadow:none;background:#f9fafb;border-radius:14px;gap:16px;padding:14px 16px}.patient-record-surface .patient-report-clinic-brand>img,.patient-record-surface .patient-report-clinic-brand>span{background:#fff;border-radius:14px;flex-basis:56px;width:56px;height:56px}.patient-record-surface .patient-report-clinic-brand h2{font-size:18px;font-weight:500}.patient-record-surface .patient-report-brand-actions>a{border:1px solid rgba(var(--brand-rgb),.14);min-height:44px;color:var(--brand);box-shadow:none;background:#fff;border-radius:12px}.patient-record-surface .patient-report-brand-actions>a:hover{background:var(--brand-surface);box-shadow:none;transform:none}.patient-record-surface .clinic-session-strip{border:1px solid var(--surface-border);background:#fff;margin:0;box-shadow:0 10px 30px #1e2b350a}.patient-record-surface .clinic-session-strip>header span{color:var(--muted);font-size:12px}.patient-record-surface .clinic-session-strip>header h2{font-weight:500}.patient-record-surface .clinic-session-strip>div{scroll-padding-inline:12px}.patient-record-surface .clinic-session-strip button{border:1px solid var(--surface-border);min-height:74px;box-shadow:none;background:#f9fafb;border-radius:14px;flex-basis:clamp(224px,19vw,274px);padding:10px;transition:border-color .18s,background .18s}.patient-record-surface .clinic-session-strip button:hover{border-color:rgba(var(--brand-rgb),.18);background:#fff;transform:none}.patient-record-surface .clinic-session-strip button.active{border-color:rgba(var(--brand-rgb),.34);background:var(--brand-surface);box-shadow:inset 3px 0 0 var(--brand)}.patient-record-surface[dir=rtl] .clinic-session-strip button.active{box-shadow:inset -3px 0 0 var(--brand)}.patient-record-surface .clinic-session-number{border:1px solid var(--surface-border);box-shadow:none;border-radius:10px}.patient-record-surface .analysis-results-hero,.patient-record-surface .analysis-section-workspace,.patient-record-surface [id^=product-recommendations-],.patient-record-surface .clinic-capture-gallery{border:1px solid var(--surface-border);border-radius:var(--patient-record-surface-radius);background:#fff;box-shadow:0 10px 30px #1e2b350a}.patient-record-surface .analysis-results-hero{background:#fff;min-height:112px;padding:20px 22px}.patient-record-surface .analysis-results-hero>.analysis-score-ring{border:1px solid var(--surface-border);box-shadow:none;background:#f9fafb}.patient-record-surface .analysis-results-embedded .analysis-tab-navigation .analysis-tab-rail{-webkit-backdrop-filter:none;backdrop-filter:none}.patient-record-surface .analysis-results-embedded .analysis-tab-rail button{color:#525b61;box-shadow:none;border-inline-start:0;transition:border-color .18s,background .18s,color .18s}.patient-record-surface .analysis-results-embedded .analysis-tab-rail button:hover{border-color:var(--surface-border);box-shadow:none;background:#f9fafb;transform:none}.patient-record-surface .analysis-results-embedded .analysis-tab-rail button.active{border-color:rgba(var(--brand-rgb),.13);color:var(--brand);background:var(--brand-soft);box-shadow:none}.patient-record-surface .analysis-section-workspace{overflow:hidden}.patient-record-surface .analysis-section-workspace>header{border-bottom:1px solid var(--surface-border);background:#fff;gap:18px}.patient-record-surface .analysis-section-workspace>header h2{font-weight:500;line-height:1.4}.patient-record-surface .analysis-status-badge{background:var(--damage-soft);border-radius:14px}.patient-record-surface .analysis-section-grid{background:#f9fafb;gap:12px;padding:14px}.patient-record-surface .analysis-narrative-card,.patient-record-surface .analysis-insight-card,.patient-record-surface .analysis-evidence-card,.patient-record-surface .analysis-chart-card{border:1px solid var(--surface-border);border-radius:var(--patient-record-inner-radius);box-shadow:none;background:#fff}.patient-record-surface .analysis-result-overview{border-inline-start:3px solid var(--brand)}.patient-record-surface .analysis-text-stage .analysis-narrative-card h3,.patient-record-surface .analysis-text-stage .analysis-insight-card h3{font-size:clamp(17px,1.35vw,20px);line-height:1.65}.patient-record-surface .clinic-capture-gallery>header{border-bottom:1px solid var(--surface-border);padding:18px}.patient-record-surface .clinic-capture-gallery>div{gap:10px;padding:12px}.patient-record-surface .clinic-capture-gallery figure{border:1px solid var(--surface-border);background:#f9fafb;border-radius:14px}.patient-record-surface .clinic-capture-gallery img{transition:transform .25s}.patient-record-surface .clinic-capture-gallery figure:hover img{transform:scale(1.015)}@media (max-width:1180px){.patient-record-surface .patient-record-header,.patient-record-surface .patient-record-overview.patient-record-header{grid-template-columns:minmax(0,1fr) minmax(300px,.78fr)}.patient-record-surface .clinic-record-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:820px){.patient-record-surface .patient-record-header,.patient-record-surface .patient-record-overview.patient-record-header{grid-template-columns:1fr;grid-template-areas:"identity""summary""brand""actions""tabs";padding:22px}.patient-record-surface .record-analysis-summary{min-height:0}.patient-record-surface .patient-record-overview .clinic-record-view-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.patient-record-surface{--patient-record-section-gap:12px;--patient-record-surface-radius:18px;--patient-record-inner-radius:14px}.patient-record-surface .clinic-record-topbar{min-height:62px}.patient-record-surface .clinic-record-shell{gap:12px;width:calc(100% - 16px);padding-block:10px 42px}.patient-record-surface .patient-record-header,.patient-record-surface .patient-record-overview.patient-record-header{gap:14px;padding:16px 14px}.patient-record-surface .clinic-record-identity>span{margin-bottom:7px}.patient-record-surface .clinic-record-identity h1{font-size:22px}.patient-record-surface .clinic-record-identity p{font-size:12px;line-height:1.7;display:block}.patient-record-surface .record-analysis-summary{grid-template-columns:minmax(0,1fr) 124px;gap:10px;padding:11px}.patient-record-surface .record-analysis-summary .analysis-score-ring{padding:9px 7px}.patient-record-clinic .clinic-record-actions{gap:8px}.patient-record-surface .patient-record-header .clinic-record-actions>*{min-height:62px;padding:9px}.patient-record-surface .patient-record-header .clinic-record-view-tabs{gap:7px;padding-top:12px}.patient-record-surface .clinic-record-view-tabs>div,.patient-record-surface .clinic-record-view-tabs>button{min-height:62px;padding:8px 9px}.patient-record-surface .patient-record-overview>.patient-report-branding{padding:12px}.patient-record-surface .patient-report-clinic-brand>img,.patient-record-surface .patient-report-clinic-brand>span{flex-basis:50px;width:50px;height:50px}.patient-record-surface .analysis-section-workspace>header{gap:14px}.patient-record-surface .analysis-section-workspace>header h2{font-size:22px}.patient-record-surface .analysis-section-grid{padding:10px}.patient-record-surface .analysis-results-hero{padding:16px 14px}.patient-record-surface .clinic-capture-gallery>header{padding:15px 13px}.patient-record-surface .clinic-capture-gallery>div{padding:9px}}@media (max-width:420px){.patient-record-surface .record-analysis-summary{grid-template-columns:1fr}.patient-record-surface .record-analysis-summary .analysis-score-ring{grid-template-columns:68px minmax(0,1fr);gap:11px;width:100%;padding:10px 12px}.patient-record-surface .record-analysis-summary .analysis-score-ring>div{grid-row:1/3;width:68px}.patient-record-surface .patient-record-overview .clinic-record-view-tabs{grid-template-columns:1fr}}@media (min-width:1181px){.patient-record-clinic{grid-template-rows:auto minmax(0,1fr);align-items:start;min-height:100dvh;display:grid}.patient-record-clinic .patient-record-sidebar{z-index:40;border-inline-end:1px solid var(--surface-border);background:#fffffffb;grid-area:1/1/3;height:100dvh;display:flex;position:sticky;inset-block-start:0;box-shadow:8px 0 30px #1e2b3509}.patient-record-clinic .clinic-record-topbar,.patient-record-clinic .clinic-record-shell{grid-column:2}}.patient-record-sidebar .admin-nav-groups{flex:none}.patient-record-sidebar .patient-record-action-panel.is-sidebar{margin-top:20px}.patient-record-clinic .clinic-record-topbar{min-height:56px;box-shadow:none;background:#fff;padding-inline:18px}.patient-record-clinic .clinic-record-topbar .clinic-record-brand{display:none}.patient-record-clinic .clinic-record-shell{gap:12px;width:min(100% - 28px,1680px);padding-block:14px 54px}.patient-record-clinic .patient-record-header{box-shadow:0 8px 26px #1e2b3509}.patient-record-clinic .clinic-record-identity{grid-area:identity;padding-inline:6px}.patient-record-clinic .clinic-record-identity h1{color:var(--brand)}.patient-record-clinic .record-analysis-summary{grid-template-columns:1fr;place-items:center}.patient-record-clinic .record-analysis-summary>div{display:none}.patient-record-clinic .record-analysis-summary .analysis-score-ring{width:100%;min-width:0;box-shadow:none;text-align:center;border:0;grid-template-columns:1fr;justify-items:center}.patient-record-clinic .record-analysis-summary .analysis-score-ring>div{grid-row:auto}.patient-record-clinic .record-analysis-summary .analysis-score-ring>span{justify-items:center;font-weight:500}.patient-record-clinic .clinic-record-quick-facts{grid-area:facts;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.patient-record-clinic .clinic-record-quick-facts article{border:1px solid var(--surface-border);background:#fff;align-content:center;min-width:0;display:grid}.patient-record-clinic .clinic-record-quick-facts span,.patient-record-clinic .clinic-record-quick-facts small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.patient-record-clinic .clinic-record-quick-facts strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.patient-record-clinic .clinic-record-actions{grid-area:actions;align-self:center;padding:0}.patient-record-clinic .patient-record-header .clinic-record-view-tabs{grid-area:tabs;grid-template-columns:repeat(2,minmax(0,1fr))}.patient-record-clinic .clinic-session-strip{align-items:stretch;display:grid}.patient-record-clinic .clinic-session-strip>header{align-items:center;display:flex}.patient-record-clinic .clinic-session-strip button{position:relative}.patient-record-clinic .clinic-session-strip button:after{content:"";border-top:1px dashed #c5cdd2;width:18px;position:absolute;inset-block-start:50%;inset-inline-end:-9px}.patient-record-clinic .clinic-session-strip button:last-child:after{display:none}.patient-record-clinic .clinic-session-number{background:conic-gradient(var(--brand) calc(var(--session-score)*1%),#e8edf0 0);border:0;border-radius:50%;place-items:center;font-weight:500;display:grid;position:relative;overflow:hidden}.patient-record-clinic .clinic-session-number:before{content:"";background:#fff;border-radius:50%;position:absolute}.patient-record-clinic .clinic-session-number{isolation:isolate}.patient-record-clinic .clinic-session-number:before{z-index:-1}.patient-record-clinic .clinic-session-strip button em,.patient-record-clinic .clinic-session-meta{display:none}.patient-record-surface .analysis-section-workspace.is-overview{align-items:start}.patient-record-surface .analysis-section-workspace.is-overview>.analysis-category-stage,.patient-record-surface .analysis-section-workspace.is-overview>.analysis-visual-stage{align-self:start;min-width:0}.patient-record-surface .analysis-section-workspace.is-overview .analysis-feature-chart{height:auto;box-shadow:none}.patient-record-surface .analysis-text-stage .analysis-primary-column{width:100%;display:grid}.patient-record-surface .analysis-text-stage .analysis-list-grid>.analysis-insight-card:last-child{grid-column:auto}.patient-record-surface .analysis-text-stage .analysis-narrative-card{border-color:#1f8e5d73}.patient-record-surface .analysis-text-stage .analysis-insight-card{border-color:#d6971c6b}.patient-record-surface .analysis-text-stage .analysis-insight-card.featured{background:#fff;border-color:#1f8e5d6b}.patient-record-surface .analysis-evidence-section .analysis-feature-evidence figure{border-radius:12px}.patient-record-surface .clinic-session-detail{align-items:start}.patient-record-surface .clinic-session-detail>[id^=product-recommendations-] .product-recommendation-grid{scroll-snap-type:x proximity;scrollbar-width:thin;overflow-x:auto}.patient-record-surface .clinic-session-detail>[id^=product-recommendations-] .product-recommendation-card{scroll-snap-align:start}.patient-record-surface .clinic-session-detail>.clinic-capture-gallery figure{height:100%}.patient-record-surface .clinic-session-detail>.clinic-capture-gallery img{aspect-ratio:4/3;object-fit:cover}@media (max-width:1480px) and (min-width:1181px){.patient-record-clinic .patient-record-header{grid-template-columns:200px minmax(0,1fr) minmax(410px,1.1fr)}.patient-record-clinic .clinic-record-quick-facts article:nth-child(3){display:none}.patient-record-clinic .clinic-record-quick-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-record-surface .analysis-section-workspace.is-overview{grid-template-columns:minmax(0,1.45fr) minmax(290px,.75fr)}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-plot{grid-template-columns:repeat(12,minmax(32px,1fr));gap:5px}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-columns{min-height:340px}}@media (max-width:1180px){.patient-record-sidebar{display:none}.patient-record-clinic .clinic-record-quick-facts{grid-area:facts;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.patient-record-surface .analysis-section-workspace.is-overview{grid-template-columns:1fr}.patient-record-surface .analysis-section-workspace.is-overview>.analysis-category-stage,.patient-record-surface .analysis-section-workspace.is-overview>.analysis-visual-stage{grid-column:1;margin:10px;padding:14px}.patient-record-surface .analysis-section-workspace.is-overview>.analysis-visual-stage{padding-top:0}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-columns{min-height:650px}}@media (max-width:900px){.patient-record-surface .analysis-text-stage .analysis-narrative-card{min-height:0}.patient-record-surface .clinic-session-detail{grid-template-columns:1fr}.patient-record-surface .clinic-session-detail>[id^=product-recommendations-],.patient-record-surface .clinic-session-detail>.clinic-capture-gallery{grid-column:1}.patient-record-surface .clinic-session-detail>[id^=product-recommendations-] .product-recommendation-grid{display:grid;overflow:visible}.patient-record-surface .clinic-session-detail>[id^=product-recommendations-] .product-recommendation-card{width:auto}.patient-record-surface .clinic-session-detail>.clinic-capture-gallery figcaption span,.patient-record-surface .clinic-session-detail>.clinic-capture-gallery figcaption small{display:block}}@media (max-width:700px){.patient-record-surface .analysis-text-stage .analysis-primary-column{grid-template-columns:1fr}.patient-record-surface .analysis-text-stage .analysis-narrative-card{grid-column:auto}.patient-record-surface .analysis-text-stage .analysis-narrative-card,.patient-record-surface .analysis-text-stage .analysis-insight-card{min-height:0}.patient-record-surface .analysis-evidence-section .analysis-feature-evidence>div{grid-template-columns:1fr 1fr}}@media (max-width:420px){.patient-record-clinic .clinic-record-actions{grid-template-columns:1fr}.patient-record-clinic .clinic-record-new-session{grid-column:auto}}.patient-record-surface .clinic-record-shell{gap:20px}.patient-record-clinic .patient-record-header{border-radius:22px;grid-template-columns:minmax(0,1fr) 260px;gap:18px 22px;padding:24px}.patient-record-clinic .clinic-record-identity{align-self:center;padding:4px}.patient-record-clinic .clinic-record-identity>span{display:block}.patient-record-clinic .clinic-record-identity h1{font-size:clamp(28px,2.2vw,36px)}.patient-record-clinic .clinic-record-identity p{max-width:64ch;margin-top:8px;font-size:14px;line-height:1.8}.patient-record-clinic .record-analysis-summary{background:#f9fafb;border-radius:18px;min-height:196px;padding:20px}.patient-record-clinic .record-analysis-summary .analysis-score-ring{gap:10px;padding:10px}.patient-record-clinic .record-analysis-summary .analysis-score-ring>div{width:112px}.patient-record-clinic .record-analysis-summary .analysis-score-ring strong{font-size:34px}.patient-record-clinic .record-analysis-summary .analysis-score-ring>span{gap:4px;font-size:15px;line-height:1.55}.patient-record-clinic .clinic-record-quick-facts{gap:12px}.patient-record-clinic .clinic-record-quick-facts article{border-radius:14px;gap:5px;min-height:78px;padding:13px 15px}.patient-record-clinic .clinic-record-quick-facts span,.patient-record-clinic .clinic-record-quick-facts small{font-size:13px}.patient-record-clinic .clinic-record-quick-facts strong{font-size:16px}.patient-record-clinic .clinic-record-actions{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;padding-top:2px}.patient-record-clinic .patient-record-header .clinic-record-actions>*{border-radius:14px;grid-template-columns:44px minmax(0,1fr);gap:3px 12px;min-height:82px;padding:13px 14px}.patient-record-clinic .clinic-record-actions>*>span,.patient-record-clinic .patient-record-products-action>svg{border-radius:11px;width:44px;height:44px;padding:10px}.patient-record-clinic .clinic-record-actions>*>span>svg,.patient-record-clinic .clinic-record-view-tabs span>svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;width:22px;height:22px}.patient-record-clinic .clinic-record-actions>*>b{font-size:14px;line-height:1.5}.patient-record-clinic .clinic-record-actions>*>small{color:var(--muted);white-space:normal;font-size:12px;line-height:1.6;display:block;overflow:visible}.patient-record-clinic .patient-record-header .clinic-record-new-session small{color:#ffffffd1}.patient-record-clinic .patient-record-header .clinic-record-view-tabs{gap:12px;padding-top:18px}.patient-record-clinic .clinic-record-view-tabs>div,.patient-record-clinic .clinic-record-view-tabs>button{border-radius:14px;gap:3px 11px;min-height:70px;padding:11px 14px}.patient-record-clinic .clinic-record-view-tabs strong{font-size:14px}.patient-record-clinic .clinic-record-view-tabs small{font-size:12px;line-height:1.55;display:block}.patient-record-clinic .clinic-session-strip{border-radius:20px;grid-template-columns:190px minmax(0,1fr)}.patient-record-clinic .clinic-session-strip>header{border-inline-end:1px solid var(--surface-border);padding:20px}.patient-record-clinic .clinic-session-strip>header span{font-size:12px;display:block}.patient-record-clinic .clinic-session-strip>header h2{font-size:18px}.patient-record-clinic .clinic-session-strip>div{gap:12px;padding:14px 16px}.patient-record-clinic .clinic-session-strip button{border:1px solid var(--surface-border);background:#f9fafb;border-radius:15px;flex-basis:190px;grid-template-columns:56px minmax(0,1fr);gap:11px;min-height:92px;padding:10px 12px}.patient-record-clinic .clinic-session-strip button:after{display:none}.patient-record-clinic .clinic-session-number{width:54px;height:54px;font-size:15px}.patient-record-clinic .clinic-session-number:before{inset:6px}.patient-record-clinic .clinic-session-strip button>span:nth-child(2){gap:4px}.patient-record-clinic .clinic-session-strip button>span:nth-child(2)>strong{font-size:14px}.patient-record-clinic .clinic-session-strip button>span:nth-child(2)>small{font-size:12px}.patient-record-clinic .clinic-session-strip button em{width:max-content;color:var(--brand);background:var(--brand-soft);border-radius:7px;margin-top:2px;padding:2px 7px;font-size:12px;font-style:normal;font-weight:500;display:block}.patient-record-surface .analysis-results-embedded>.analysis-results-shell{grid-template-columns:minmax(0,1fr);grid-template-areas:"hero""tabs""content""footer";gap:20px}.patient-record-surface .analysis-results-embedded .analysis-tab-navigation{border:1px solid var(--surface-border);background:#fff;border-radius:20px;gap:14px;padding:18px;display:grid;position:static;inset:auto;box-shadow:0 10px 30px #1e2b350a}.patient-record-surface .analysis-tab-navigation>header{justify-content:space-between;align-items:center;gap:16px;padding-inline:2px;display:flex}.patient-record-surface .analysis-tab-navigation>header strong{color:var(--ink);font-size:17px;font-weight:500}.patient-record-surface .analysis-tab-navigation>header span{color:var(--muted);font-size:12px;font-weight:500}.patient-record-surface .analysis-results-embedded .analysis-tab-navigation .analysis-tab-rail{max-height:none;box-shadow:none;background:0 0;border:0;border-radius:0;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:9px;padding:0;display:grid;overflow:visible}.patient-record-surface .analysis-results-embedded .analysis-tab-rail button{border:1px solid var(--surface-border);background:#f9fafb;border-radius:12px;align-items:center;gap:8px;width:100%;height:auto;min-height:64px;max-height:none;padding:10px 12px}.patient-record-surface .analysis-results-embedded .analysis-tab-rail button>span{-webkit-line-clamp:2;font-size:13px;line-height:1.55}.patient-record-surface .analysis-results-embedded .analysis-tab-rail button>small{width:25px;height:25px;color:var(--muted);background:#fff;border-radius:7px;place-items:center;font-size:12px;font-weight:500;display:grid}.patient-record-surface .analysis-results-embedded .analysis-tab-rail button.active>small{color:#fff;background:var(--brand)}.patient-record-surface .analysis-section-workspace{border-radius:22px}.patient-record-surface .analysis-section-workspace>header{padding:28px 30px}.patient-record-surface .analysis-section-workspace>header h2{font-size:clamp(26px,2.2vw,34px)}.patient-record-surface .analysis-section-workspace.is-overview{direction:ltr;grid-template-columns:1fr;gap:0;display:grid}.patient-record-surface[dir=rtl] .analysis-section-workspace.is-overview>*{direction:rtl}.patient-record-surface .analysis-section-workspace.is-overview>header,.patient-record-surface .analysis-section-workspace.is-overview>.analysis-category-stage,.patient-record-surface .analysis-section-workspace.is-overview>.analysis-visual-stage,.patient-record-surface .analysis-section-workspace.is-overview>.analysis-text-stage,.patient-record-surface .analysis-section-workspace.is-overview>.analysis-evidence-section{grid-column:1}.patient-record-surface .analysis-section-workspace.is-overview>.analysis-category-stage{box-shadow:none;border-radius:18px;margin:20px 20px 10px;padding:24px}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-stage>header{margin-bottom:18px}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-stage>header h3{font-size:20px}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-columns{grid-template-columns:38px minmax(0,1fr);gap:14px;min-height:440px}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-scale{height:320px;font-size:13px}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-plot{grid-template-columns:repeat(12,minmax(68px,1fr));gap:10px;width:auto}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-plot:before{inset-block-end:92px}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-plot article{grid-template-rows:28px 320px minmax(72px,auto)}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-plot article>b{font-size:14px}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-plot article>div{width:clamp(36px,62%,54px)}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-plot article>span{-webkit-line-clamp:3;margin-top:12px;font-size:13px;line-height:1.55}.patient-record-surface .analysis-section-workspace.is-overview>.analysis-visual-stage{background:#fff;margin:10px 20px 20px;padding:0}.patient-record-surface .analysis-section-workspace.is-overview .analysis-feature-chart{border-radius:18px;min-height:660px;padding:26px}.patient-record-surface .analysis-section-workspace.is-overview .analysis-overview-radar{min-height:570px}.patient-record-surface .analysis-section-workspace.is-overview .analysis-feature-chart .analysis-radar{grid-template-columns:1fr;gap:18px;padding:0}.patient-record-surface .analysis-section-workspace.is-overview .analysis-feature-chart .analysis-radar svg{width:min(100%,760px);max-height:610px}.patient-record-surface .analysis-results-embedded .analysis-visual-stage.is-single .analysis-feature-chart.chart-topic-profile{min-height:560px;margin:6px}.patient-record-surface .analysis-text-stage{background:#f9fafb;padding:20px}.patient-record-surface .analysis-text-stage .analysis-primary-column{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.patient-record-surface .analysis-text-stage .analysis-list-grid{display:contents}.patient-record-surface .analysis-text-stage .analysis-narrative-card,.patient-record-surface .analysis-text-stage .analysis-insight-card{border-radius:16px;min-height:0;padding:24px}.patient-record-surface .analysis-text-stage .analysis-narrative-card>p{font-size:clamp(17px,1.25vw,19px);line-height:2.05}.patient-record-surface .analysis-text-stage .analysis-insight-card li>p,.patient-record-surface .analysis-text-stage .analysis-insight-card>p{font-size:clamp(16px,1.08vw,18px);line-height:2}.patient-record-surface .analysis-evidence-section{padding:0 20px 20px}.patient-record-surface .analysis-evidence-section .analysis-feature-evidence{border-radius:18px;padding:22px}.patient-record-surface .analysis-evidence-section .analysis-feature-evidence>div{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.patient-record-surface .clinic-session-detail{grid-template-columns:minmax(0,1fr);gap:20px;display:grid}.patient-record-surface .clinic-session-detail>.analysis-results-embedded,.patient-record-surface .clinic-session-detail>[id^=product-recommendations-],.patient-record-surface .clinic-session-detail>.clinic-capture-gallery{grid-column:1;width:100%;margin:0}.patient-record-surface .clinic-session-detail>[id^=product-recommendations-]{border-radius:22px;padding:24px}.patient-record-surface .clinic-session-detail>[id^=product-recommendations-] .product-recommendation-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;padding-bottom:0;display:grid;overflow:visible}.patient-record-surface .clinic-session-detail>[id^=product-recommendations-] .product-recommendation-card{flex:auto;width:auto}.patient-record-surface .clinic-session-detail>.clinic-capture-gallery{border-radius:22px}.patient-record-surface .clinic-session-detail>.clinic-capture-gallery>div{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;padding:16px}.patient-record-surface .clinic-session-detail>.clinic-capture-gallery figcaption{gap:4px;padding:11px;display:grid}.patient-record-surface .clinic-session-detail>.clinic-capture-gallery figcaption span,.patient-record-surface .clinic-session-detail>.clinic-capture-gallery figcaption small{display:block}@media (min-width:1181px){.patient-record-clinic{grid-template-columns:268px minmax(0,1fr)}.patient-record-clinic .patient-record-sidebar{width:268px;padding:18px 14px 16px}.patient-record-clinic .clinic-record-shell{width:min(100% - 40px,1720px);padding-block:20px 64px}}@media (max-width:1180px){.patient-record-clinic .patient-record-header{grid-template-columns:minmax(0,1fr) 250px}.patient-record-clinic .clinic-record-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-columns{padding-bottom:10px;overflow:auto hidden}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-plot{grid-template-columns:repeat(12,78px);width:1080px}}@media (max-width:900px){.patient-record-surface .analysis-results-embedded .analysis-tab-navigation{padding:14px}.patient-record-surface .analysis-results-embedded .analysis-tab-navigation .analysis-tab-rail{scroll-snap-type:x proximity;scrollbar-width:thin;display:flex;overflow:auto hidden}.patient-record-surface .analysis-results-embedded .analysis-tab-rail button{scroll-snap-align:start;flex:0 0 180px}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-plot{grid-template-columns:repeat(12,74px);width:1040px}.patient-record-surface .analysis-text-stage .analysis-primary-column{grid-template-columns:1fr}.patient-record-surface .analysis-text-stage .analysis-narrative-card{grid-column:auto}.patient-record-surface .analysis-evidence-section .analysis-feature-evidence>div,.patient-record-surface .clinic-session-detail>[id^=product-recommendations-] .product-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-record-surface .clinic-session-detail>.clinic-capture-gallery>div{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:700px){.patient-record-clinic .patient-record-header{grid-template-columns:1fr;gap:16px;padding:18px 16px}.patient-record-clinic .clinic-record-identity h1{font-size:26px}.patient-record-clinic .record-analysis-summary{min-height:0}.patient-record-clinic .clinic-record-actions{grid-template-columns:1fr}.patient-record-clinic .clinic-record-new-session{grid-column:auto}.patient-record-clinic .clinic-record-quick-facts{grid-template-columns:1fr 1fr}.patient-record-clinic .clinic-record-quick-facts article:nth-child(3){grid-column:1/-1}.patient-record-clinic .clinic-session-strip{display:block}.patient-record-clinic .clinic-session-strip>header{border-inline-end:0;padding:16px}.patient-record-clinic .clinic-session-strip>div{padding:0 12px 14px}.patient-record-clinic .clinic-session-strip button{flex-basis:190px}.patient-record-surface .analysis-tab-navigation>header{flex-direction:column;align-items:flex-start;gap:4px}.patient-record-surface .analysis-section-workspace>header{align-items:flex-start;padding:22px 18px}.patient-record-surface .analysis-section-workspace.is-overview>.analysis-category-stage{margin:14px 10px 8px;padding:16px}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-columns{min-height:0;display:block}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-scale{display:none}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-plot{grid-template-columns:repeat(12,72px);gap:10px;width:1000px}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-plot:before{display:none}.patient-record-surface .analysis-section-workspace.is-overview .analysis-category-plot article{grid-template-rows:26px 250px 72px}.patient-record-surface .analysis-section-workspace.is-overview>.analysis-visual-stage{margin:8px 10px 14px;padding:0}.patient-record-surface .analysis-section-workspace.is-overview .analysis-feature-chart{min-height:520px;padding:18px}.patient-record-surface .analysis-section-workspace.is-overview .analysis-overview-radar{min-height:430px}.patient-record-surface .analysis-text-stage{padding:12px}.patient-record-surface .analysis-text-stage .analysis-narrative-card,.patient-record-surface .analysis-text-stage .analysis-insight-card{padding:18px}.patient-record-surface .analysis-evidence-section{padding:0 12px 12px}.patient-record-surface .clinic-session-detail>[id^=product-recommendations-]{padding:18px}.patient-record-surface .clinic-session-detail>[id^=product-recommendations-] .product-recommendation-grid{grid-template-columns:1fr}.patient-record-surface .clinic-session-detail>.clinic-capture-gallery>div{grid-template-columns:1fr 1fr}}@media (max-width:420px){.patient-record-clinic .clinic-record-quick-facts{grid-template-columns:1fr}.patient-record-clinic .clinic-record-quick-facts article:nth-child(3){grid-column:auto}.patient-record-surface .analysis-evidence-section .analysis-feature-evidence>div,.patient-record-surface .clinic-session-detail>.clinic-capture-gallery>div{grid-template-columns:1fr}}@media (max-width:520px){.patient-record-surface .analysis-visual-stage.is-single .analysis-overview-radar .clinical-radar svg{width:680px;max-width:none;max-height:none}}.patient-record-clinic .patient-record-header{grid-template-areas:"identity summary""facts summary""tabs tabs"}.patient-record-action-panel{gap:12px;display:grid}.patient-record-action-panel>header{gap:3px;display:grid}.patient-record-action-panel>header span{color:var(--brand);font-size:12px;font-weight:500}.patient-record-action-panel>header strong{color:var(--ink);font-size:15px;font-weight:500}.patient-record-action-panel>div{gap:8px;display:grid}.patient-record-action-panel>div>a,.patient-record-action-panel>div>button{border:1px solid var(--surface-border);min-width:0;min-height:48px;color:var(--ink);text-align:start;cursor:pointer;background:#fff;border-radius:12px;align-items:center;padding:10px 13px;text-decoration:none;transition:border-color .18s,background .18s,color .18s,box-shadow .18s;display:flex}.patient-record-action-panel>div>a:hover,.patient-record-action-panel>div>button:hover{border-color:rgba(var(--brand-rgb),.2);background:var(--brand-surface)}.patient-record-action-panel>div>a:focus-visible,.patient-record-action-panel>div>button:focus-visible{box-shadow:var(--focus-ring);outline:0}.patient-record-action-panel b{font-size:13px;font-weight:500;line-height:1.6}.patient-record-action-panel>div>.is-primary{color:#fff;background:var(--brand);box-shadow:0 10px 22px rgba(var(--brand-rgb),.2);border-color:#0000;order:-1}.patient-record-action-panel>div>.is-primary:hover{color:#fff;background:var(--brand-hover);box-shadow:0 13px 27px rgba(var(--brand-rgb),.25);border-color:#0000}.patient-record-action-panel>p{border-radius:10px;margin:0;padding:8px 9px;font-size:12px;font-weight:500;line-height:1.65}.patient-record-action-panel>p.success{color:#18765f;background:#ebf8f3}.patient-record-action-panel>p.error{color:#a53a4c;background:#fff0f2}.patient-record-action-panel.is-sidebar{border-top:1px solid var(--surface-border);margin-top:20px;padding:18px 4px 0}.patient-record-action-panel.is-mobile{display:none}.patient-record-surface .clinic-session-strip{border-radius:18px;grid-template-columns:176px minmax(0,1fr)}.patient-record-surface .clinic-session-strip>header{justify-content:center;align-items:center;gap:8px;min-width:0;padding:13px 16px;display:flex}.patient-record-surface .clinic-session-strip>header>div{align-items:center;min-width:0;display:flex}.patient-record-surface .clinic-session-strip>header>b{flex:none;align-self:center;min-width:30px;height:30px;margin:0;padding:0 8px;display:inline-grid;position:static}.patient-record-surface .clinic-session-strip>header span{display:none}.patient-record-surface .clinic-session-strip>header h2{white-space:nowrap;margin:0;font-size:16px;line-height:1.5}.patient-record-surface .clinic-session-strip>div{align-items:center;gap:10px;padding:9px 12px}.patient-record-surface .clinic-session-list.clinic-session-strip button{border-radius:13px;flex:0 0 184px;grid-template-columns:46px minmax(0,1fr);gap:10px;min-height:76px;padding:8px 10px}.patient-record-surface .clinic-session-number{width:46px;height:46px;font-size:14px}.patient-record-surface .clinic-session-number:before{inset:5px}.patient-record-surface .clinic-session-strip button>span:nth-child(2){align-content:center;gap:3px;overflow:visible}.patient-record-surface .clinic-session-strip button>span:nth-child(2)>strong{white-space:nowrap;font-size:13px;line-height:1.5;overflow:visible}.patient-record-surface .clinic-session-strip button>span:nth-child(2)>small{white-space:nowrap;font-size:12px;line-height:1.5;overflow:visible}.patient-record-surface .analysis-results-embedded .analysis-tab-rail button{text-align:start;grid-template-columns:minmax(0,1fr)}.patient-record-surface .analysis-results-embedded .analysis-tab-rail button>span{text-align:start;width:100%}.patient-record-surface .analysis-text-stage .analysis-narrative-card{border-inline-start-width:1px;grid-column:1/-1;width:100%}.patient-record-surface .analysis-text-stage .analysis-narrative-card>p{font-weight:500}.patient-record-surface .analysis-text-stage .analysis-insight-card li{padding-block:8px;display:block}.patient-record-surface .analysis-text-stage .analysis-insight-card li+li{border-top:1px solid var(--surface-border)}.patient-record-surface .analysis-text-stage .analysis-insight-card li>p{margin:0}.patient-record-surface .clinic-session-detail [id^=product-recommendations-] .product-recommendation-grid{grid-template-columns:repeat(auto-fill,minmax(236px,260px));justify-content:start;gap:14px}.patient-record-surface .clinic-session-detail [id^=product-recommendations-] .product-recommendation-card{grid-template-rows:auto minmax(0,1fr);justify-self:start;width:100%;max-width:260px}.patient-record-surface .clinic-session-detail>[id^=product-recommendations-]{border:0}.patient-record-surface .product-recommendation-image{aspect-ratio:1;background:#fff;border-bottom:1px solid #334a5b14;width:100%;height:auto;position:relative;overflow:hidden}.patient-record-surface .product-recommendation-image img{object-fit:contain;object-position:center;background:#fff;width:100%;height:100%;padding:14px;display:block;position:absolute;inset:0}@media (max-width:1180px){.patient-record-clinic .patient-record-header{grid-template-areas:"identity summary""facts summary""tabs tabs"}.patient-record-action-panel.is-sidebar{display:none}.patient-record-action-panel.is-mobile{border:1px solid var(--surface-border);background:#fff;border-radius:20px;padding:18px;display:grid;box-shadow:0 10px 30px #1e2b350a}.patient-record-action-panel.is-mobile>div{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:900px){.patient-record-action-panel.is-mobile>div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.patient-record-clinic .patient-record-header{grid-template-areas:"identity""summary""facts""tabs"}.patient-record-action-panel.is-mobile{border-radius:18px;padding:15px}.patient-record-surface .clinic-session-strip>header{padding:12px 14px}.patient-record-surface .clinic-session-strip>div{padding:0 10px 11px}.patient-record-surface[dir] .clinic-session-strip button{flex-basis:180px;min-height:74px}}@media (max-width:620px){.patient-record-surface .clinic-session-detail [id^=product-recommendations-] .product-recommendation-grid{grid-template-columns:1fr;justify-content:stretch}.patient-record-surface .clinic-session-detail [id^=product-recommendations-] .product-recommendation-card{grid-template-rows:minmax(178px,auto);grid-template-columns:112px minmax(0,1fr);width:100%;max-width:none}.patient-record-surface .product-recommendation-image{aspect-ratio:1;border-bottom:0;border-inline-end:1px solid #334a5b14;align-self:start;width:112px;height:112px}.patient-record-surface .product-recommendation-image img{padding:9px}}@media (max-width:480px){.patient-record-action-panel.is-mobile>div{grid-template-columns:1fr}}
.clinic-license-gate{min-height:100dvh;padding:var(--page-gutter);background:var(--canvas);place-items:center;display:grid}.clinic-license-gate>section{width:min(100%,620px);padding:var(--surface-padding);border:1px solid var(--surface-border);border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-md)}.clinic-license-gate>section>span{color:var(--brand);margin-block-start:var(--space-6);font-weight:500;display:block}.clinic-license-gate h1{margin:var(--space-2) 0;font-size:var(--title-page);line-height:1.35}.clinic-license-gate p{color:var(--muted);line-height:1.9}.clinic-license-gate form{gap:var(--space-4);margin-block-start:var(--space-6);display:grid}.clinic-license-gate label{gap:var(--space-2);font-weight:500;display:grid}.clinic-license-gate input{min-height:52px;padding-inline:var(--space-4);border:1px solid var(--field-border);border-radius:var(--radius-field);font:inherit}.clinic-license-gate button{border-radius:var(--radius-button);color:#fff;background:var(--brand);min-height:50px;font:inherit;cursor:pointer;border:0;font-weight:500}.clinic-license-gate button:focus-visible,.clinic-license-gate input:focus-visible{box-shadow:var(--focus-ring);outline:0}.clinic-license-gate button:disabled{opacity:.6;cursor:wait}.admin-handpiece-licensing{gap:var(--section-gap);display:grid}.admin-handpiece-licensing>header{justify-content:space-between;align-items:end;gap:var(--space-6);padding:var(--surface-padding);border:1px solid var(--surface-border);border-radius:var(--radius-xl);background:var(--surface-bg);box-shadow:var(--shadow-sm);display:flex}.admin-handpiece-licensing>header span{color:var(--brand);font-weight:500}.admin-handpiece-licensing h1,.admin-handpiece-licensing h2{margin:0}.admin-handpiece-licensing>header p{margin:var(--space-2) 0 0;color:var(--muted)}.admin-handpiece-licensing label{gap:var(--space-2);font-size:var(--text-small);font-weight:500;display:grid}.admin-handpiece-licensing input{min-height:var(--field-height);border:1px solid var(--field-border);padding-inline:var(--space-3);border-radius:var(--radius-field);font:inherit}.admin-licensing-forms,.admin-licensing-tables{gap:var(--space-5);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.admin-licensing-forms form,.admin-licensing-tables article{gap:var(--space-4);min-width:0;padding:var(--surface-padding);border:1px solid var(--surface-border);border-radius:var(--radius-xl);background:var(--surface);display:grid}.admin-handpiece-licensing button{min-height:var(--control-height);border:1px solid var(--surface-border);border-radius:var(--radius-button);padding-inline:var(--space-4);color:var(--brand);background:var(--surface);font:inherit;cursor:pointer;font-weight:500}.admin-licensing-forms button{color:#fff;background:var(--brand);border-color:#0000}.admin-licensing-tables article>div{overflow:auto}.admin-licensing-tables table{border-collapse:collapse;width:100%}.admin-licensing-tables th,.admin-licensing-tables td{padding:var(--space-3);border-block-end:1px solid var(--line);text-align:start;white-space:nowrap}.admin-handpiece-licensing>footer{justify-content:center;align-items:center;gap:var(--space-3);display:flex}.admin-handpiece-licensing>.is-error{color:var(--danger);background:var(--danger-soft)}.admin-handpiece-licensing>.is-success{color:var(--success);background:var(--success-soft)}.admin-handpiece-licensing>.is-error,.admin-handpiece-licensing>.is-success{padding:var(--space-3);border-radius:var(--radius-sm);margin:0;font-weight:500}.admin-licensing-excel{gap:var(--space-5);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.admin-licensing-excel>div{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-4);border:1px solid var(--surface-border);border-radius:var(--radius-md);background:var(--surface);display:flex}.admin-licensing-excel a{color:var(--brand);font-weight:500}.admin-licensing-excel label{cursor:pointer}.admin-licensing-excel input{max-width:220px;padding:var(--space-2)}.admin-platform-license-summary{justify-content:space-between;align-items:center;gap:var(--space-4);margin:var(--space-4) var(--surface-padding) 0;padding:var(--space-4);border:1px solid var(--surface-border);border-radius:var(--radius-md);background:var(--brand-surface);display:flex}.admin-platform-license-summary>div{gap:var(--space-1);display:grid}.admin-platform-license-summary span,.admin-platform-license-summary small{color:var(--muted)}.admin-platform-license-summary button{min-height:var(--control-height);border:1px solid var(--surface-border);border-radius:var(--radius-button);padding-inline:var(--space-4);color:var(--brand);background:var(--surface);font:inherit;cursor:pointer;font-weight:500}.clinic-camera-utilities>label{align-items:center;gap:var(--space-2);min-width:min(100%,240px);color:var(--text);grid-template-columns:auto minmax(120px,1fr);font-size:12px;font-weight:500;display:grid}.clinic-camera-utilities>label select{border:1px solid var(--field-border);border-radius:var(--radius-field);min-width:0;min-height:40px;padding-inline:var(--space-3);color:var(--text);background:var(--surface);font:inherit;cursor:pointer}.clinic-camera-utilities>label select:focus-visible{box-shadow:var(--focus-ring);outline:0}@media (max-width:900px){.admin-licensing-forms,.admin-licensing-tables,.admin-licensing-excel{grid-template-columns:1fr}.admin-handpiece-licensing>header{flex-direction:column;align-items:stretch}}@media (max-width:560px){.admin-platform-license-summary{flex-direction:column;align-items:stretch}.clinic-camera-utilities>label{grid-column:1/-1;grid-template-columns:1fr;width:100%}}@media (max-width:420px){.admin-handpiece-licensing button{min-height:46px}.admin-handpiece-licensing>header{padding:var(--space-5)}}
.clinic-theme-scope{min-height:100dvh}.clinic-theme-scope[data-clinic-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-console,.clinic-record-page,.clinic-trend-page,.analysis-state-page,.analysis-results-page,.clinic-followup-page,.clinic-record-state,.clinic-workflow,.clinic-license-gate){color:var(--ink);background:radial-gradient(circle at 12% 10%,rgba(var(--brand-rgb),.15),transparent 30rem), radial-gradient(circle at 88% 82%,rgba(var(--accent-rgb),.09),transparent 27rem), linear-gradient(145deg,#050e17 0%,#091824 54%,#06121d 100%);background-size:125% 125%,135% 135%,100% 100%;animation:18s ease-in-out infinite alternate clinic-dark-ambient}.clinic-theme-scope[data-clinic-theme=dark] :is(.admin-sidebar,.patient-record-sidebar){border-color:var(--surface-border);-webkit-backdrop-filter:blur(28px)saturate(1.12);backdrop-filter:blur(28px)saturate(1.12);background:#05111bdb;box-shadow:14px 0 42px #0000004d}.clinic-theme-scope[data-clinic-theme=dark] :is(.admin-topbar,.clinic-record-topbar,.analysis-results-topbar,.clinic-workflow-header){border-color:var(--surface-border);-webkit-backdrop-filter:blur(24px)saturate(1.1);backdrop-filter:blur(24px)saturate(1.1);background:#06141fb8;box-shadow:0 12px 34px #00000029}.clinic-theme-scope[data-clinic-theme=dark] :is(.panel-sidebar-brand__copy strong,.admin-person strong,.clinic-topbar-context strong,h1,h2,h3,h4,strong){color:var(--ink)}.clinic-theme-scope[data-clinic-theme=dark] :is(.admin-nav-label,.panel-sidebar-brand__label,.admin-person small,.clinic-topbar-context small,p,small){color:var(--muted)}.clinic-theme-scope[data-clinic-theme=dark] :is(.panel-nav-icon,.admin-logout,.clinic-topbar-context>span,.admin-search,.admin-secondary,.secondary-action,.ds-action--secondary,.admin-row-action,.analysis-results-topbar nav>a){border-color:var(--surface-border);color:var(--ink-soft);box-shadow:var(--shadow-xs);background:#0d1f2bc7}.clinic-theme-scope[data-clinic-theme=dark] :is(.admin-nav button,.support-sidebar .admin-nav button):hover{color:var(--brand);background:rgba(var(--brand-rgb),.09)}.clinic-theme-scope[data-clinic-theme=dark] :is(.admin-nav button,.support-sidebar .admin-nav button).active{border-color:rgba(var(--brand-rgb),.24);color:var(--ink);background:linear-gradient(90deg,rgba(var(--brand-rgb),.18),rgba(var(--brand-rgb),.07));box-shadow:inset 0 0 22px rgba(var(--brand-rgb),.04)}.clinic-theme-scope[data-clinic-theme=dark] .admin-nav button.active .panel-nav-icon{border-color:rgba(var(--brand-rgb),.5);color:var(--ink);background:rgba(var(--brand-rgb),.2);box-shadow:0 0 20px rgba(var(--brand-rgb),.14)}.clinic-theme-scope[data-clinic-theme=dark] .language-switcher{border-color:rgba(var(--brand-rgb),.2);color:var(--ink-soft);box-shadow:var(--shadow-xs);-webkit-backdrop-filter:blur(18px)saturate(1.12);backdrop-filter:blur(18px)saturate(1.12);background:#0b1d29db}.clinic-theme-scope[data-clinic-theme=dark] .language-switcher:hover{border-color:rgba(var(--brand-rgb),.42);color:var(--ink);background:#102736f5}.clinic-theme-scope[data-clinic-theme=dark] .language-switcher svg{color:var(--brand)}.clinic-theme-scope[data-clinic-theme=dark] .language-flag{background:#edf8ff17;box-shadow:inset 0 0 0 1px #edf8ff14}.clinic-theme-scope[data-clinic-theme=dark] .clinic-theme-toggle{border-color:rgba(var(--brand-rgb),.24);color:#e7f7ff;-webkit-backdrop-filter:blur(18px)saturate(1.12);backdrop-filter:blur(18px)saturate(1.12);background:#0b1d29e0;box-shadow:0 0 0 1px #ffffff05,0 8px 22px #0003}.clinic-theme-scope[data-clinic-theme=dark] .clinic-theme-toggle:hover{border-color:rgba(var(--brand-rgb),.48);color:#fff;box-shadow:0 0 24px rgba(var(--brand-rgb),.15);background:#102736fa}.clinic-theme-scope[data-clinic-theme=dark] .clinic-theme-toggle__halo{background:radial-gradient(circle,rgba(var(--brand-rgb),.3),transparent 68%)}.clinic-theme-scope[data-clinic-theme=dark] :is(.ds-page-header,.ds-surface,.ds-card,.admin-kpis article,.admin-chart-card,.admin-alert-card,.admin-table-card,.clinic-overview-hero,.clinic-crm-card,.clinic-settings-hero,.clinic-settings-section,.clinic-module-placeholder,.patient-retention-metrics article,.patient-retention-guide,.patient-retention-workspace,.ticket-metric-grid article,.ticket-workspace,.ticket-index,.ticket-thread,.ticket-message,.clinic-license-gate>section,.clinic-license-card,.clinic-license-summary,.clinic-subscription-card){border-color:var(--surface-border);background:var(--surface-bg);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(22px)saturate(1.1);backdrop-filter:blur(22px)saturate(1.1)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-activity-summary>div,.clinic-crm-followup a,.clinic-crm-legend>div,.clinic-crm-journey section,.clinic-settings-local-hint,.clinic-settings-readonly,.clinic-guide-setting,.clinic-guide-model-options>button,.clinic-logo-control,.clinic-logo-control>div,.clinic-settings-toggle,.clinic-settings-toggles>article,.clinic-license-summary article,.clinic-data-summary article,.clinic-entitlement-list article,.patient-retention-filters button,.ticket-index button,.ticket-empty,.ticket-thread-empty,.ticket-attachment-list a){border-color:var(--surface-border);color:var(--ink-soft);background:var(--surface-muted);box-shadow:var(--shadow-xs)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-console .admin-demo-banner{border-color:rgba(var(--brand-rgb),.2);color:var(--ink-soft);background:linear-gradient(120deg,rgba(var(--brand-rgb),.1),rgba(var(--accent-rgb),.07)),#091925e6;box-shadow:var(--shadow-xs)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-console .admin-demo-banner span{color:var(--ink-soft)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-console .admin-demo-banner b{color:#f3fbff;background:linear-gradient(135deg,var(--brand),var(--brand-deep));box-shadow:0 0 18px rgba(var(--brand-rgb),.14)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-crm-donut>div{border-color:var(--surface-border);background:#0d2230;box-shadow:inset 0 1px #ffffff09,0 8px 24px #00000038}.clinic-theme-scope[data-clinic-theme=dark] .clinic-crm-donut.is-empty{background:#95c2dc24}.clinic-theme-scope[data-clinic-theme=dark] .clinic-crm-legend span{color:var(--ink-soft)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-crm-legend strong{color:var(--ink)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-crm-legend small{color:var(--muted)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-activity-card>header>strong{color:var(--success);background:linear-gradient(145deg,#49c8a021,#0b1d29e6);border-color:#49c8a038;box-shadow:inset 0 1px #ffffff09,0 0 22px #49c8a00f}.clinic-theme-scope[data-clinic-theme=dark] .clinic-activity-card>header>strong small{color:#8fdcc4}.clinic-theme-scope[data-clinic-theme=dark] .clinic-week-chart{border-color:var(--surface-border);background:repeating-linear-gradient(0deg,#95c2dc12 0 1px,#0000 1px 48px),#05131d94;box-shadow:inset 0 1px #ffffff05}.clinic-theme-scope[data-clinic-theme=dark] .clinic-week-chart>div>strong{color:var(--ink-soft);box-shadow:0 6px 16px #0003,inset 0 0 0 1px var(--surface-border);background:#0e2331f2}.clinic-theme-scope[data-clinic-theme=dark] .clinic-week-chart>div>span{color:inherit;background:0 0;border-color:#0000}.clinic-theme-scope[data-clinic-theme=dark] .clinic-week-chart small{color:var(--muted)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-settings-jump,.clinic-settings-save,.clinic-setup-actions){border-color:var(--surface-border);box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(26px)saturate(1.15);backdrop-filter:blur(26px)saturate(1.15);background:#071621e0}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-settings-section>header,.clinic-guide-model-preview,.patient-retention-table th,.patient-retention-table td,.admin-table th,.admin-table td,.ticket-thread-header,.ticket-composer,.ticket-thread-actions){border-color:var(--line)}.clinic-theme-scope[data-clinic-theme=dark] :is(.patient-retention-table th,.admin-table th){color:var(--muted);background:#081823bd}.clinic-theme-scope[data-clinic-theme=dark] :is(.patient-retention-table tbody tr:hover,.admin-table tbody tr:hover){background:rgba(var(--brand-rgb),.06)}.clinic-theme-scope[data-clinic-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){border-color:var(--field-border);color:var(--ink);background:var(--field-bg);box-shadow:var(--field-shadow)}.clinic-theme-scope[data-clinic-theme=dark] :is(input,textarea)::placeholder{color:#718c9d;opacity:1}.clinic-theme-scope[data-clinic-theme=dark] :is(input,select,textarea):focus{border-color:rgba(var(--brand-rgb),.5);box-shadow:var(--field-focus-shadow)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-patients-launch,.clinic-record-link,.product-recommendation-actions>button,.product-alternatives-modal>header>button,.localized-date-trigger,.localized-calendar>footer button,.clinic-record-trend-action){border-color:var(--surface-border);color:var(--ink-soft);box-shadow:var(--shadow-xs);background:#0b1d29e0}.clinic-theme-scope[data-clinic-theme=dark] .clinic-record-link:hover{border-color:rgba(var(--brand-rgb),.36);color:var(--brand);background:rgba(var(--brand-rgb),.1);box-shadow:0 0 22px rgba(var(--brand-rgb),.09);transform:translateY(-1px)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-settings-permanent,.clinic-subscription-copy>span,.clinic-patient-status.active,.clinic-trend-ai .status.ready){color:var(--success);background:var(--success-soft)}.clinic-theme-scope[data-clinic-theme=dark] :is(.patient-retention-badges .overdue,.analysis-demo-chip){color:#f0c47c;background:rgba(var(--accent-rgb),.14)}.clinic-theme-scope[data-clinic-theme=dark] :is(.patient-retention-badges .urgent,.clinic-record-view-tabs>p){color:var(--danger);background:var(--danger-soft)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-workflow-steps,.clinic-workflow-body,.clinic-intake-form,.clinic-camera-setup){border-color:var(--surface-border);background:0 0}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-section-heading,.clinic-form-section,.clinic-option-group,.clinic-option-group label,.clinic-consent,.clinic-setup-intro .clinic-section-heading,.clinic-setup-intro .clinic-followup-patient,.clinic-setup-grid article,.clinic-camera-card,.clinic-device-card,.clinic-capture-stage,.clinic-review-card,.clinic-capture-gallery figure){border-color:var(--surface-border);color:var(--ink-soft);background:var(--surface-bg);box-shadow:var(--shadow-sm)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-option-group label:hover,.clinic-option-group label.selected,.clinic-workflow-steps>div.active){border-color:rgba(var(--brand-rgb),.32);background:rgba(var(--brand-rgb),.11)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-clinical-note,.clinic-light-copy,.clinic-position-tips){border-color:rgba(var(--accent-rgb),.25);background:rgba(var(--accent-rgb),.1)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-clinical-note strong,.clinic-clinical-note p){color:#e0c08d}.clinic-theme-scope[data-clinic-theme=dark] :is(.patient-record-action-panel,.clinic-record-hero,[class~=clinic-record-overview],[class~=clinic-session-list],.clinic-session-detail,.clinic-progress-overview,.clinic-trend-hero,.clinic-trend-card,.clinic-trend-ai,.clinic-trend-locked,.clinic-record-chart,.clinic-analysis-summary,.clinic-capture-gallery,.clinic-note-card,.clinic-record-view-tabs,.clinic-trend-sessions){border-color:var(--surface-border);background:var(--surface-bg);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(22px)saturate(1.1);backdrop-filter:blur(22px)saturate(1.1)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-record-facts>div,[class~=clinic-session-list] button,.clinic-session-meta,.clinic-progress-kpis article,.clinic-trend-hero>aside,.clinic-trend-overview article,.clinic-trend-kpis article,.clinic-trend-sessions article,.clinic-record-view-tabs>div,.clinic-record-view-tabs>button,.clinic-comparison-bars>div,.clinic-metric-lines article,.clinic-metric-progress){border-color:var(--surface-border);color:var(--ink-soft);background:var(--surface-muted)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-trend-hero>aside,.clinic-trend-overview article){box-shadow:var(--shadow-xs)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-trend-hero>aside span,.clinic-trend-overview>header span,.clinic-trend-overview>header p,.clinic-trend-overview article>span,.clinic-trend-overview article>p){color:var(--muted)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-trend-overview article>strong{color:var(--ink)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-trend-sessions>header{border-color:var(--line)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-trend-sessions article>span{color:#dff6ff;background:rgba(var(--brand-rgb),.18)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-trend-session-gain{color:var(--success);background:var(--success-soft)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-comparison-bars>aside{border-color:var(--line)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-comparison-bars>aside>span,.clinic-theme-scope[data-clinic-theme=dark] .clinic-comparison-bars>div>header span,.clinic-theme-scope[data-clinic-theme=dark] .clinic-comparison-bars header b{color:var(--ink-soft)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-comparison-bars i.baseline{background:#6f8796}.clinic-theme-scope[data-clinic-theme=dark] .clinic-metric-progress>header strong,.clinic-theme-scope[data-clinic-theme=dark] .clinic-metric-progress>footer b{color:var(--ink-soft)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-metric-progress>header em{color:var(--muted);background:#8fa8b81c}.clinic-theme-scope[data-clinic-theme=dark] .clinic-metric-progress.improved>header em{color:#73d9ba;background:#49c8a01f}.clinic-theme-scope[data-clinic-theme=dark] .clinic-metric-progress.worsened>header em{color:#ff8da0;background:#ff748e1f}.clinic-theme-scope[data-clinic-theme=dark] .clinic-metric-progress svg line{stroke:#8fbbd62e}.clinic-theme-scope[data-clinic-theme=dark] .clinic-metric-progress svg circle{fill:#102332}.clinic-theme-scope[data-clinic-theme=dark] .clinic-metric-progress svg g:last-of-type circle{stroke:#102332}.clinic-theme-scope[data-clinic-theme=dark] .clinic-metric-progress svg text,.clinic-theme-scope[data-clinic-theme=dark] .clinic-metric-progress>footer small,.clinic-theme-scope[data-clinic-theme=dark] .clinic-metric-progress>footer>i{fill:var(--muted);color:var(--muted)}.clinic-theme-scope[data-clinic-theme=dark] .clinic-metric-progress>footer{border-color:var(--line)}.clinic-theme-scope[data-clinic-theme=dark] :is([class~=clinic-session-list] button.active,.clinic-record-view-tabs>div.active,.clinic-record-view-tabs>button:hover:not(:disabled)){border-color:rgba(var(--brand-rgb),.32);background:linear-gradient(125deg,rgba(var(--brand-rgb),.14),#0b1d29e6);box-shadow:0 0 26px rgba(var(--brand-rgb),.08)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-line-chart text,.clinic-radar-chart text,.clinic-radar-chart tspan+.clinic-radar-chart tspan,.clinic-trend-line text,.clinic-metric-lines text){fill:var(--muted)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-line-chart line,.clinic-radar-chart line,.clinic-trend-line line,.clinic-metric-lines line){stroke:var(--line)}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface :is(.patient-record-header,.record-analysis-summary,.clinic-record-quick-facts article,.clinic-session-strip,.clinic-session-strip button,.clinic-session-number,.analysis-results-hero,.analysis-tab-navigation,.analysis-tab-rail button,.analysis-section-workspace,.analysis-section-workspace>header,.analysis-category-stage,.analysis-feature-chart,.analysis-chart-summary-card,.analysis-narrative-card,.analysis-insight-card,.analysis-evidence-card,.analysis-feature-evidence,.analysis-chart-card,.clinic-capture-gallery,.clinic-capture-gallery figure){border-color:var(--surface-border);color:var(--ink);background:var(--surface-bg);box-shadow:var(--shadow-sm)}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface :is(.record-analysis-summary,.clinic-record-quick-facts article,.clinic-session-strip button,.analysis-tab-rail button,.analysis-score-ring,.analysis-chart-summary-card .analysis-score-ring){background:var(--surface-muted);box-shadow:var(--shadow-xs)}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface :is(.analysis-section-grid,.analysis-text-stage,.analysis-visual-stage,.analysis-evidence-section,.analysis-section-workspace.is-overview>.analysis-visual-stage){border-color:var(--surface-border);color:var(--ink-soft);background:#06151f94}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface .analysis-tab-rail button:hover{border-color:rgba(var(--brand-rgb),.28);color:var(--ink);background:rgba(var(--brand-rgb),.1);box-shadow:var(--shadow-xs)}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface .analysis-tab-rail button.active{border-color:rgba(var(--brand-rgb),.4);color:#f3fbff;background:linear-gradient(125deg,var(--brand-deep),var(--brand),#0d4f78);box-shadow:0 10px 24px rgba(var(--brand-rgb),.16)}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface .analysis-tab-rail button>small{color:var(--ink-soft);background:#edf8ff14}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface .analysis-tab-rail button.active>small{color:#fff;background:#ffffff29}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface :is(.analysis-category-stage>header>b,.analysis-narrative-card header i,.analysis-insight-card header i,.analysis-evidence-card>header b){color:var(--brand);background:rgba(var(--brand-rgb),.12)}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface :is(.analysis-category-stage>header h3,.analysis-narrative-card h3,.analysis-insight-card h3,.analysis-chart-card strong){color:var(--ink)}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface :is(.analysis-category-stage>header span,.analysis-category-plot article>span,.analysis-narrative-card>p,.analysis-insight-card li>p,.analysis-insight-card>p,.analysis-chart-summary-card>p,.analysis-chart-card>header span){color:var(--muted)}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface :is(.analysis-narrative-card>div,.analysis-evidence-card>p,.analysis-unavailable-chart){border-color:var(--surface-border);color:var(--ink-soft);background:#081924c2}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface :is(.analysis-radar svg polygon,.analysis-radar svg line){stroke:#8fbbd640}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface .analysis-radar svg circle{stroke:#102332}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface .clinic-capture-gallery figcaption{border-color:var(--surface-border);background:#07151fe6}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface .clinic-session-number{background:conic-gradient(var(--brand) calc(var(--session-score)*1%),#96bed626 0)}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface .clinic-session-number:before{background:#102332}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface .clinic-session-strip button:after{border-color:#96bed633}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface :is(.patient-record-action-panel>div>a,.patient-record-action-panel>div>button,.clinic-analysis-score,.clinic-review-badge){border-color:var(--surface-border);color:var(--ink-soft);background:var(--surface-muted);box-shadow:var(--shadow-xs)}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface :is(.patient-record-action-panel>div>a,.patient-record-action-panel>div>button):hover{border-color:rgba(var(--brand-rgb),.3);color:var(--ink);background:rgba(var(--brand-rgb),.1)}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface .patient-record-action-panel>div>.is-primary{color:#fff;background:var(--brand);box-shadow:0 10px 24px rgba(var(--brand-rgb),.18);border-color:#0000}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface .patient-record-action-panel>p.success{color:var(--success);background:var(--success-soft)}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface .patient-record-action-panel>p.error{color:var(--danger);background:var(--danger-soft)}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface :is(.analysis-insight-card li>span,.analysis-chart-legend,.analysis-chart-summary-card>div,.analysis-evidence-card>p){color:var(--ink-soft);background:#081924c2}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface :is(.clinic-bar-chart>div>div,.analysis-bars>div>div){background:#96bed624}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface .clinic-line-point circle{fill:#102332;stroke:var(--brand)}.clinic-theme-scope[data-clinic-theme=dark] .patient-record-surface :is(.clinic-analysis-summary>p,.clinic-analysis-score>span,.clinic-analysis-score small,.clinic-analysis-summary footer,.clinic-bar-chart>div>header){color:var(--muted)}.clinic-theme-scope[data-clinic-theme=dark] :is(.analysis-loading-card,.analysis-failure-card,.analysis-results-hero,.analysis-embedded-state,.analysis-section,.analysis-feature-card,.analysis-feature-chart,.analysis-chart-summary-card,.analysis-narrative-card,.analysis-chart-card,.analysis-evidence-card,.analysis-insight-card,.analysis-record-loading,.analysis-section-workspace,.analysis-unavailable-chart,.analysis-feature-evidence,.analysis-topic-breakdown,.analysis-topic-breakdown article,.analysis-damage-scale,[class~=product-recommendations],.product-recommendation-card,.product-alternatives-modal){border-color:var(--surface-border);color:var(--ink);background:var(--surface-bg);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(22px)saturate(1.1);backdrop-filter:blur(22px)saturate(1.1)}.clinic-theme-scope[data-clinic-theme=dark] :is(.analysis-tab-rail,.analysis-loading-card li,.analysis-score-ring,.analysis-hero-kpis>article,.analysis-category-plot article,.analysis-topic-breakdown article>div,.clinical-radar-legend span,.clinical-radar-legend small,[class~=product-recommendations]>header>aside,.product-recommendation-focus span,.product-recommendation-actions>button){border-color:var(--surface-border);color:var(--ink-soft);background:var(--surface-muted)}.clinic-theme-scope[data-clinic-theme=dark] :is([class~=analysis-section-header],.analysis-tab-navigation,.analysis-category-stage,.analysis-text-stage,.analysis-visual-stage,.analysis-bars){border-color:var(--surface-border);color:var(--ink-soft);background:#0a1b27c7}.clinic-theme-scope[data-clinic-theme=dark] :is(.analysis-tab-rail button.active,.analysis-loading-card li.active){color:var(--ink);background:rgba(var(--brand-rgb),.14);box-shadow:inset 3px 0 0 var(--brand)}.clinic-theme-scope[data-clinic-theme=dark] .analysis-score-ring>div{background:radial-gradient(circle closest-side,#102332 77%,transparent 79% 100%),conic-gradient(var(--brand) calc(var(--score)*1%),#96bed629 0)}.clinic-theme-scope[data-clinic-theme=dark] .analysis-score-ring.damage-good>div{background:radial-gradient(circle closest-side,#102332 77%,transparent 79% 100%),conic-gradient(var(--success) calc(var(--score)*1%),#96bed629 0)}.clinic-theme-scope[data-clinic-theme=dark] :is(.analysis-progress>div,.analysis-category-plot,.analysis-topic-breakdown article>div,.analysis-damage-scale>div){background:#94bfd81f}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinical-radar-grid,.clinical-radar-spoke,.clinical-radar-leader,.analysis-overview-radar .grid,.analysis-overview-radar line){stroke:#8fbbd640}.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-surface{fill:#0b1f2d;stroke:#7fc4eb29;filter:drop-shadow(0 20px 34px #0000003d)}.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-grid{fill:rgba(var(--brand-rgb),.025)}.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-label-card{fill:#102a3a;stroke:#7fc4eb2e;filter:drop-shadow(0 9px 17px #00000038)}.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-axis:hover .clinical-radar-label-card,.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-axis:focus .clinical-radar-label-card{fill:#16384b;stroke:rgba(var(--brand-rgb),.5);filter:drop-shadow(0 12px 24px rgba(var(--brand-rgb),.14))}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinical-radar-axis-name,.clinical-radar-axis-value,.clinical-radar-axis-comparison,.analysis-overview-radar text){fill:var(--ink-soft);color:var(--ink-soft)}.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-axis-name{fill:#d9edf7}.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-axis-value{fill:#72c8f4}.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-axis-comparison .is-primary{fill:#a8bdc9}.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-axis-comparison .is-arrow{fill:#6f8999}.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-axis-comparison .is-secondary{fill:#65d0af}.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-axis.is-worse .clinical-radar-axis-comparison .is-secondary{fill:#ff8da0}.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-point{fill:#102332}.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-center{stroke:#102332}.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar.is-comparison .clinical-radar-dataset.is-primary .clinical-radar-point{fill:#102332;stroke:#9eb3c0}.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-legend span,.clinic-theme-scope[data-clinic-theme=dark] .clinical-radar-legend small{color:var(--ink-soft);box-shadow:var(--shadow-xs)}.clinic-theme-scope[data-clinic-theme=dark] [class~=product-recommendations]{background:linear-gradient(135deg,#0c1d29eb,#0a1925cc 62%,rgba(var(--brand-rgb),.08))}.clinic-theme-scope[data-clinic-theme=dark] .product-recommendation-image{border-color:var(--surface-border);background:#dfe7eb}.clinic-theme-scope[data-clinic-theme=dark] .product-recommendation-actions>a{color:#fff;background:linear-gradient(125deg,#2776ad,var(--brand-hover));box-shadow:0 10px 24px rgba(var(--brand-rgb),.2)}.clinic-theme-scope[data-clinic-theme=dark] .product-recommendation-actions>a strong{color:#fff}.clinic-theme-scope[data-clinic-theme=dark] .product-recommendation-actions>a small{color:#fffc}.clinic-theme-scope[data-clinic-theme=dark] .product-recommendation-actions>button i{color:#bfe8ff;background:rgba(var(--brand-rgb),.16)}.clinic-theme-scope[data-clinic-theme=dark] .product-alternatives-backdrop{background:#01070cc2}.clinic-theme-scope[data-clinic-theme=dark] .product-alternatives-modal>header{border-color:var(--line);background:linear-gradient(#0d202e 82%,#0d202e00)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-camera-dock,.clinic-camera-empty,.clinic-camera-message,.clinic-camera-select,.clinic-camera-utilities,.clinic-capture-guide,.clinic-capture-layout,.clinic-photo-guide,.clinic-photo-target,.clinic-quality,.clinic-complete-shell,.clinic-complete-summary,.clinic-workflow-complete,.clinic-intake-readiness,.clinic-patient-delivery,.clinic-patient-info-grid,.clinic-record-summary,.clinic-record-quick-facts,.clinic-trend-overview,.clinic-trend-primary-chart,.clinic-trend-radar-card,.clinic-trend-comparison-card,.clinic-trend-metric-card,.clinic-review-step-grid,.clinic-analysis-choice,.clinic-chart-help-dialog,.clinic-patient-info-modal,.clinic-settings-notice,.clinic-settings-danger){border-color:var(--surface-border);color:var(--ink-soft);background:var(--surface-bg);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(22px)saturate(1.1);backdrop-filter:blur(22px)saturate(1.1)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-record-meta,.clinic-session-strip,.clinic-session-number,.clinic-review-badge,.clinic-analysis-score,.clinic-metric-progress,.clinic-step-dots,.clinic-inline-check,.clinic-patient-link-notice,.clinic-light-instruction,.clinic-light-confirm,.clinic-data-actions,.clinic-device-actions,.clinic-capture-footer,.ticket-index-item,.ticket-status){border-color:var(--surface-border);color:var(--ink-soft);background:var(--surface-muted)}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-record-back,.clinic-complete-back,.clinic-patient-info-trigger,.clinic-patient-link-trigger,.clinic-chart-help-close){border-color:var(--surface-border);color:var(--ink-soft);box-shadow:var(--shadow-xs);background:#0b1d29e6}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-record-error,.clinic-settings-danger){color:var(--danger);background:var(--danger-soft);border-color:#ff748e33}.clinic-theme-scope[data-clinic-theme=dark] .clinic-subscription-ring:before{background:#0d2230}.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-guide-visual,.clinic-light-orb,.clinic-shutter-area){border-color:var(--surface-border);background:#06131deb}.clinic-theme-scope[data-clinic-theme=dark] :is(.admin-modal,.admin-issue-modal,.localized-calendar,.clinic-modal,.clinic-confirm-modal){border-color:var(--surface-border);color:var(--ink);box-shadow:var(--shadow-lg);background:linear-gradient(145deg,#0e202dfa,#081722fa)}.clinic-theme-scope[data-clinic-theme=dark] :is(.localized-calendar-header,.localized-calendar-weekdays,.localized-calendar>footer){border-color:var(--line);background:0 0}.clinic-theme-scope[data-clinic-theme=dark] .localized-calendar-days button{color:var(--ink-soft);background:0 0}.clinic-theme-scope[data-clinic-theme=dark] .localized-calendar-days button:hover{background:rgba(var(--brand-rgb),.1)}.clinic-theme-scope[data-clinic-theme=dark] :is(.admin-modal-backdrop,.localized-calendar-backdrop,.clinic-modal-backdrop){-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#01070cb8}@keyframes clinic-dark-ambient{0%{background-position:0 0,100% 100%,0 0}to{background-position:12% 8%,86% 90%,0 0}}@media (prefers-reduced-motion:reduce){.clinic-theme-scope[data-clinic-theme=dark] :is(.clinic-console,.clinic-record-page,.clinic-trend-page,.analysis-state-page,.analysis-results-page,.clinic-followup-page,.clinic-record-state,.clinic-workflow,.clinic-license-gate){animation:none}}
