/* Generated dark color overrides; light layout and colors remain in style.css. */
html[data-theme="dark"]{--bg:#1f201a;--paper:#1c1919;--ink:#dbe6e2;--muted:#c5c8c6;--line:#464941;--green:#d8e9e4;--lime:#29301a;--orange:#cfb09b;--soft:#1f221a;}
html[data-theme="dark"] body{background:#1f201a;color:#dbe6e2;}
html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] select:focus-visible{outline:3px solid #454f3b;}
html[data-theme="dark"] button{background:transparent;}
html[data-theme="dark"] .sidebar{background:#172b25;color:#ebeee7;}
html[data-theme="dark"] .brand-mark{border:1px solid #4b5436;color:#bfd09a;}
html[data-theme="dark"] .brand-en{color:#adbdb3;}
html[data-theme="dark"] .workspace{color:#afbbb3;}
html[data-theme="dark"] .nav-link{color:#aebcb3;}
html[data-theme="dark"] .nav-link:hover{background:#20352f;}
html[data-theme="dark"] .nav-link.active{background:#282e1c;color:#dae7e1;}
html[data-theme="dark"] .sidebar-bottom{border-top:1px solid #3f4b46;color:#adbdb0;}
html[data-theme="dark"] .sidebar-bottom small{color:#aebcb4;}
html[data-theme="dark"] .source-dot{background:#282e1c;}
html[data-theme="dark"] .topbar{border-bottom:1px solid #464941;background:#1f201a;}
html[data-theme="dark"] .breadcrumb{color:#c5c9c7;}
html[data-theme="dark"] .demo-badge{border:1px solid #464b3f;color:#c5cbc2;}
html[data-theme="dark"] .demo-badge i{background:#434a35;}
html[data-theme="dark"] .avatar{background:#21241c;}
html[data-theme="dark"] .eyebrow{color:#c5c9c7;}
html[data-theme="dark"] .subtitle{color:#c5c9c7;}
html[data-theme="dark"] .date-switch button{border:1px solid #464941;background:#1c1919;}
html[data-theme="dark"] .date-switch .now{color:#c8ccc2;}
html[data-theme="dark"] .hero{background:#213730;color:#eff1e4;}
html[data-theme="dark"] .hero .eyebrow{color:#b0c1a9;}
html[data-theme="dark"] .hero p{color:#adbdb0;}
html[data-theme="dark"] .hero .hero-bottom{color:#eaeee7;}
html[data-theme="dark"] .pill{background:#202419;color:#c2cfbf;}
html[data-theme="dark"] .hero .pill{background:#374938;color:#edf2e3;}
html[data-theme="dark"] .ring-base{stroke:#9db9aa;}
html[data-theme="dark"] .ring-value{stroke:#bbd581;}
html[data-theme="dark"] .ring-label{color:#acbeaf;}
html[data-theme="dark"] .ring-label b{color:#f0f1e4;}
html[data-theme="dark"] .hero-score small{color:#afbeac;}
html[data-theme="dark"] .section-label{color:#b6bab1;}
html[data-theme="dark"] .text-link{color:#c4cdc1;}
html[data-theme="dark"] .text-link:hover{color:#d8e8e4;}
html[data-theme="dark"] .card{background:#1c1919;border:1px solid #464941;}
html[data-theme="dark"] .metric{background:#1c1919;border:1px solid #464941;}
html[data-theme="dark"] .metric .metric-top{color:#c4c9c5;}
html[data-theme="dark"] .metric svg.icon{color:#c7cdc0;}
html[data-theme="dark"] .metric-value small{color:#c5c9c4;}
html[data-theme="dark"] .metric-change{color:#c5cdc0;}
html[data-theme="dark"] .metric-change.neutral{color:#bab7b1;}
html[data-theme="dark"] .workout-overview{background:#20211a;}
html[data-theme="dark"] .workout-icon{border:1px solid #464b3f;}
html[data-theme="dark"] .muted{color:#c5c9c7;}
html[data-theme="dark"] .workout-meta{color:#c6c9c4;}
html[data-theme="dark"] .workout-overview .pill{background:#23281b;color:#c8d0be;}
html[data-theme="dark"] .exercise-mini{border-bottom:1px solid #484a40;}
html[data-theme="dark"] .exercise-number{color:#b5bbaf;}
html[data-theme="dark"] .exercise-mini small{color:#b5b8b2;}
html[data-theme="dark"] .exercise-mini>span:last-child{color:#c5ccc2;}
html[data-theme="dark"] .btn.primary{background:#213730;color:#edf0e5;}
html[data-theme="dark"] .btn.primary:hover{background:#304c3d;}
html[data-theme="dark"] .btn.outline{border:1px solid #464c3e;background:#1c1919;color:#c4cdc0;}
html[data-theme="dark"] .btn.outline:hover{background:#1f2219;}
html[data-theme="dark"] .btn.light{background:#21251a;color:#c3d0bd;}
html[data-theme="dark"] .calorie span{color:#b4b9b1;}
html[data-theme="dark"] .progress{background:#20221b;}
html[data-theme="dark"] .progress>i{background:#424e32;}
html[data-theme="dark"] .macro{color:#c6cac4;}
html[data-theme="dark"] .macro b{color:#dfe5dc;}
html[data-theme="dark"] .macro-line div{color:#c6cac4;}
html[data-theme="dark"] .macro-line strong{color:#c4cebf;}
html[data-theme="dark"] .checkin-icon{background:#21241a;color:#c7cfbe;}
html[data-theme="dark"] .face-btn{border:1px solid #464a3f;background:#1d1f18;color:#c7cbc3;}
html[data-theme="dark"] .face-btn:hover,html[data-theme="dark"] .face-btn.selected{border-color:#454c3e;background:#21261a;color:#dbe6dc;}
html[data-theme="dark"] .checkin-caption{color:#b5b9b1;}
html[data-theme="dark"] .glucose-empty{border:1px dashed #464b3f;background:#1e2019;}
html[data-theme="dark"] .glucose-empty svg{color:#b7bdae;}
html[data-theme="dark"] .glucose-empty p{color:#c7cbc3;}
html[data-theme="dark"] .note{color:#b5bab1;}
html[data-theme="dark"] .footer{color:#b6b9b1;}
html[data-theme="dark"] .insight{background:#20221a;color:#c6cbc3;}
html[data-theme="dark"] .exercise-heading .exercise-number{border:1px solid #464941;}
html[data-theme="dark"] .set-table th{color:#b5bab0;}
html[data-theme="dark"] .set-table td{border-top:1px solid #474a3f;}
html[data-theme="dark"] .set-table input,html[data-theme="dark"] .set-table select{border:1px solid #464941;background:#1e2118;color:#dbe6e2;}
html[data-theme="dark"] .set-table .complete{border:1px solid #464c3e;}
html[data-theme="dark"] .set-table .complete.done{background:#3d4c34;color:#ebebeb;border-color:#444c3e;}
html[data-theme="dark"] .set-table tr.done td{color:#c6ccc2;}
html[data-theme="dark"] .large-number small{color:#c7cbc3;}
html[data-theme="dark"] .meal{border-bottom:1px solid #464941;}
html[data-theme="dark"] .meal-icon{background:#20221a;color:#c8cebf;}
html[data-theme="dark"] .meal p{color:#c6cac3;}
html[data-theme="dark"] .meal>strong small{color:#b5bab0;}
html[data-theme="dark"] .mini-badge{border:1px solid #474b3f;color:#c7ccc2;}
html[data-theme="dark"] .chart-grid{stroke:#474b3e;}
html[data-theme="dark"] .chart-label{fill:#b5bab0;}
html[data-theme="dark"] .chart-line{stroke:#a7bd99;}
html[data-theme="dark"] .range-controls{background:#20231a;}
html[data-theme="dark"] .range-controls button{color:#c6cbc2;}
html[data-theme="dark"] .range-controls button.active{background:#1c1919;color:#dbe6dc;box-shadow:0 1px 3px rgba(0,0,0,0.06275);}
html[data-theme="dark"] .connect-state>svg{color:#b5bfab;}
html[data-theme="dark"] .connect-state p{color:#c6cbc3;}
html[data-theme="dark"] .connect-steps{color:#b5bbb0;}
html[data-theme="dark"] .connect-steps b{border:1px solid #464941;}
html[data-theme="dark"] .data-label{color:#d4c5ba;background:#261d15;}
html[data-theme="dark"] .chart-kpis span{color:#c7cbc3;}
html[data-theme="dark"] .trend-list button{border:1px solid #464941;}
html[data-theme="dark"] .trend-list button.active{background:#21261a;border-color:#464e3c;}
html[data-theme="dark"] .timeline-item{border-bottom:1px solid #464941;}
html[data-theme="dark"] .timeline-item span{color:#b5bcae;}
html[data-theme="dark"] .timeline-item p{color:#c6ccc2;}
html[data-theme="dark"] .empty-text{color:#b5bab0;}
html[data-theme="dark"] dialog{border:1px solid #464941;color:#dbe6e2;box-shadow:0 30px 100px rgba(0,0,0,0.1451);}
html[data-theme="dark"] dialog::backdrop{background:rgba(20,41,35,0.4196);}
html[data-theme="dark"] .dialog-copy{color:#c6cbc3;}
html[data-theme="dark"] .field{color:#c6ccc2;}
html[data-theme="dark"] .field input,html[data-theme="dark"] .field select,html[data-theme="dark"] .field textarea[name="food"]{background:#1f2118;border:1px solid #464941;color:#dbe6e2;}
html[data-theme="dark"] #toast{background:#203730;color:#ebf0e5;box-shadow:0 8px 30px rgba(0,0,0,0.1255);}
@media (max-width:650px){html[data-theme="dark"] .sidebar{background:#202413;border-top:1px solid #464b3f;box-shadow:0 -5px 25px rgba(0,0,0,0.06275);}
html[data-theme="dark"] .nav-link{color:#c7cbc3;}
html[data-theme="dark"] .nav-link.active{background:transparent;color:#d9e8e3;}
html[data-theme="dark"] .nav-link.active:before{background:#404d32;}}
html[data-theme="dark"] .training-tabs{border-bottom:1px solid #464941;}
html[data-theme="dark"] .training-tabs>button{color:#c6cbc3;}
html[data-theme="dark"] .training-tabs>button.active{color:#dae7e3;}
html[data-theme="dark"] .training-tabs>button.active:after{background:#404b34;}
html[data-theme="dark"] .training-tabs span{background:#21241b;}
html[data-theme="dark"] .session-pr-banner{background:#21251a;border:1px solid #474e3c;}
html[data-theme="dark"] .session-pr-banner p{color:#c7cdc1;}
html[data-theme="dark"] .strength-intro{background:#20241a;}
html[data-theme="dark"] .pr-value small{color:#c6ccc2;}
html[data-theme="dark"] .pr-value .no-record{color:#b5bbaf;}
html[data-theme="dark"] .pr-target{background:#1f2219;}
html[data-theme="dark"] .pr-target span{color:#c6cbc2;}
html[data-theme="dark"] .progression-copy{color:#c7ccc2;}
html[data-theme="dark"] .confirm-row{color:#c4d0be;}
html[data-theme="dark"] .record-reference{background:#202319;color:#c7cdc1;}
html[data-theme="dark"] .record-reference b{color:#dde7da;}
html[data-theme="dark"] .history-record{border-bottom:1px solid #464941;}
html[data-theme="dark"] .history-record p{color:#c7ccc2;}
html[data-theme="dark"] .save-pr-link{color:#c6d1bd;}
html[data-theme="dark"] .session-curve{border-top:1px solid #464941;}
html[data-theme="dark"] .weight-chart .chart-line{stroke:#abba9b;}
html[data-theme="dark"] .weight-chart .chart-label{fill:#c6cbc3;}
html[data-theme="dark"] .axis-title{fill:#b4bbaf;}
html[data-theme="dark"] .curve-point:focus>circle:last-child{stroke:#91c5a7;}
html[data-theme="dark"] .curve-point:hover>circle:last-child{fill:#91c5a7;}
html[data-theme="dark"] .curve-empty{background:#1f2119;color:#b5bcae;}
html[data-theme="dark"] .curve-selection{background:#1f2218;}
html[data-theme="dark"] .curve-selection>span{color:#c6ccc2;}
html[data-theme="dark"] .curve-selection small{color:#b5bbaf;}
html[data-theme="dark"] .curve-foot{color:#b5bcae;}
html[data-theme="dark"] .curve-session-row{border-bottom:1px solid #464941;}
html[data-theme="dark"] .curve-session-row span{color:#c6cbc2;}
html[data-theme="dark"] .bulk-summary{background:#1f2218;}
html[data-theme="dark"] .bulk-summary p{border-bottom:1px solid #474d3d;}
html[data-theme="dark"] .bulk-summary span{color:#c6ccc2;}
html[data-theme="dark"] .supp-empty>.icon{color:#c5cdc1;}
html[data-theme="dark"] .supp-empty p{color:#c5c9c5;}
html[data-theme="dark"] .supp-plan.paused{background:#1d1f19;}
html[data-theme="dark"] .supp-dose{color:#c4cbc2;}
html[data-theme="dark"] .supp-dose b{color:#dbe6e2;}
html[data-theme="dark"] .supp-dose>span{color:#c6c9c5;}
html[data-theme="dark"] .supp-meta{color:#c6cac3;}
html[data-theme="dark"] .supp-plan-status{background:#1f211a;color:#c4ccc2;}
html[data-theme="dark"] .supp-stat>span{color:#c6cac4;}
html[data-theme="dark"] .supp-total{border-bottom:1px solid #464941;}
html[data-theme="dark"] .supp-ai-card{background:#1f231a;border-color:#464c3d;}
html[data-theme="dark"] .supp-check{border-top:1px solid #464c3d;}
html[data-theme="dark"] .supp-check p{color:#c5ccc2;}
html[data-theme="dark"] .supp-assessment .field{color:#c4ccc2;}
html[data-theme="dark"] .supp-date-list button{background:#1e2119;}
html[data-theme="dark"] .supp-date-list button.active{background:#203931;color:#ebebeb;}
html[data-theme="dark"] .supp-summary{background:#202219;}
html[data-theme="dark"] .supp-notice{background:#262017;border:1px solid #534837;}
html[data-theme="dark"] .supp-label{background:#1e201a;}
@media (max-width:650px){html[data-theme="dark"] .supp-assessment .supp-ai-card{background:#1f231a;}}
html[data-theme="dark"] .ai-settings-entry{border:1px solid #444940;color:#dce5e1;}
html[data-theme="dark"] .ai-settings-entry:hover{background:#1f231b;}
html[data-theme="dark"] .ai-overview .card>span{color:#c5cac4;}
html[data-theme="dark"] .ai-overview small{color:#c6cac4;}
html[data-theme="dark"] .ai-provider.selected{border-color:#454c3e;box-shadow:0 0 0 1px #000000;}
html[data-theme="dark"] .ai-provider-mark{border:1px solid #454b3e;color:#c2cfbe;background:#1e2119;}
html[data-theme="dark"] .ai-provider-balance{background:#1e2219;}
html[data-theme="dark"] .ai-provider-balance>span{color:#c6cbc2;}
html[data-theme="dark"] .ai-provider-balance small{color:#c7cac3;}
html[data-theme="dark"] .ai-layout .field{color:#c5cbc3;}
html[data-theme="dark"] .ai-scope-fieldset{border:1px solid #464941;}
html[data-theme="dark"] .ai-scope-fieldset legend{color:#c5ccc2;}
html[data-theme="dark"] .ai-scopes label{color:#c4cec0;}
html[data-theme="dark"] .ai-policy-note{color:#c6ccc1;background:#1f231a;}
html[data-theme="dark"] .ai-next>span{color:#c5cac4;}
html[data-theme="dark"] .ai-next>small{color:#c7cac4;}
html[data-theme="dark"] .ai-rules p{color:#c6ccc2;border-bottom:1px solid #464941;}
html[data-theme="dark"] .ai-blockers{color:#c6cbc3;}
html[data-theme="dark"] .field input:disabled{background:#1f211c;color:#c7cac4;}
html[data-theme="dark"] .login-body{background:linear-gradient(135deg,#1f221b,#1f2019);}
html[data-theme="dark"] .login-shell{background:#1c1919;border:1px solid #464941;box-shadow:0 20px 80px rgba(0,0,0,0.06275);}
html[data-theme="dark"] .login-mark{color:#c2cfbe;}
html[data-theme="dark"] #login-message{color:#d6c0b8;}
html[data-theme="dark"] .private-loading{color:#c6cbc2;}
html[data-theme="dark"] .live-hero-status>.icon{color:#bfd09a;}
html[data-theme="dark"] .live-hero-status span{color:#b1bfab;}
html[data-theme="dark"] .live-metric>span{color:#c6cbc3;}
html[data-theme="dark"] .live-metric>b small{color:#c6cbc3;}
html[data-theme="dark"] .live-metric>small{color:#c7cac4;}
html[data-theme="dark"] .live-missing{color:#b5bab0;}
html[data-theme="dark"] .live-chart-empty{color:#b5bbaf;}
html[data-theme="dark"] .live-chart .chart-line{stroke:#aabc99;}
html[data-theme="dark"] .live-chart .chart-grid{stroke:#464c3e;}
html[data-theme="dark"] .live-chart .chart-label{fill:#c7cbc2;}
html[data-theme="dark"] .live-comparison{border-bottom:1px solid #464941;}
html[data-theme="dark"] .live-comparison>span{color:#c7cbc3;}
html[data-theme="dark"] .live-comparison>small{color:#b5bbaf;}
html[data-theme="dark"] .live-ai-section{border-color:#464e3c;background:#1e2314;}
html[data-theme="dark"] .live-ai-facts>div{background:#202319;}
html[data-theme="dark"] .live-ai-facts span{color:#c6ccc2;}
html[data-theme="dark"] .live-ai-facts small{color:#b4bbb0;}
html[data-theme="dark"] .live-ai-notes p{color:#c5ccc2;}
html[data-theme="dark"] .live-ai-notes .live-gap{color:#d4caba;}
html[data-theme="dark"] .live-source{color:#c6cbc3;}
html[data-theme="dark"] .live-training-note{background:#20231a;color:#c6cdc1;}
html[data-theme="dark"] .sync-error{color:#d8bdb6!important;}
html[data-theme="dark"] .trend-metric-controls{border-bottom:1px solid #464941;}
html[data-theme="dark"] .trend-metric-controls>button{border:1px solid #464c3e;color:#c6cbc3;background:#1f2118;}
html[data-theme="dark"] .trend-metric-controls>button.active{background:#203931;color:#edf1e4;border-color:#3b4f48;}
html[data-theme="dark"] .trend-period{color:#c6cbc3;}
html[data-theme="dark"] .trend-period>b{color:#c3cfbf;}
html[data-theme="dark"] .trend-summary>div{background:#1f221a;}
html[data-theme="dark"] .trend-summary span{color:#c6cbc3;}
html[data-theme="dark"] .trend-chart-large .chart-line{stroke:#abba9b;}
html[data-theme="dark"] .trend-chart-large .chart-label{fill:#c6ccc2;}
html[data-theme="dark"] .trend-chart-large .chart-grid{stroke:#454b3e;}
html[data-theme="dark"] .trend-selection-line{stroke:#afc096;}
html[data-theme="dark"] .trend-chart-point:focus circle:last-of-type{stroke:#90c6b8;}
html[data-theme="dark"] .trend-point-detail{background:#202419;}
html[data-theme="dark"] .trend-point-detail span{color:#c6cdc1;}
html[data-theme="dark"] .trend-point-detail>small{color:#c6cbc2;}
html[data-theme="dark"] .trend-method p{color:#c6cbc2;}
html[data-theme="dark"] .live-trend-card>.note{border-top:1px solid #464941;}
html[data-theme="dark"] .policy-card{border-left:3px solid #3a504a;}
html[data-theme="dark"] .assistant-thread{background:transparent;border-bottom:1px solid #454941;}
html[data-theme="dark"] .assistant-thread.selected{background:#1f221b;}
html[data-theme="dark"] .assistant-thread small{color:#c5c9c5;}
html[data-theme="dark"] .assistant-message{border:1px solid #454a3f;background:#1d2118;}
html[data-theme="dark"] .assistant-message.user{background:#1c1919;}
html[data-theme="dark"] .assistant-message small{color:#c6c9c5;}
html[data-theme="dark"] .assistant-memory-form{border-top:1px solid #454940;}
html[data-theme="dark"] .capture-item{border:1px solid #454b3f;}
html[data-theme="dark"] .capture-item legend{color:#c3ccc2;}
html[data-theme="dark"] .assistant-workspace{background:#1c1919;border:1px solid #454941;box-shadow:0 3px 20px rgba(0,0,0,0.01961);}
html[data-theme="dark"] .assistant-workspace button:focus-visible,html[data-theme="dark"] .assistant-workspace a:focus-visible,html[data-theme="dark"] .assistant-workspace select:focus-visible,html[data-theme="dark"] .assistant-workspace input:focus-visible,html[data-theme="dark"] .assistant-workspace textarea:focus-visible{outline:2px solid #414945;}
html[data-theme="dark"] .aw-brand{border:1px solid #464940;background:#1d1f1a;}
html[data-theme="dark"] .aw-tabs{background:#1e1f1b;border:1px solid #474a40;}
html[data-theme="dark"] .aw-tabs>button{color:#c7c8c6;}
html[data-theme="dark"] .aw-tabs>button.active{background:#1c1919;box-shadow:0 1px 4px rgba(0,0,0,0.06275);color:#dfe2df;}
html[data-theme="dark"] .aw-tabs>button i{background:#21241d;color:#c7cbc2;}
html[data-theme="dark"] .aw-icon-button{color:#c7c8c5;background:transparent;}
html[data-theme="dark"] .aw-icon-button:hover{background:#1f211b;color:#dee3de;}
html[data-theme="dark"] .aw-rail{background:#1e1f1a;}
html[data-theme="dark"] .aw-new-thread{border:1px solid #464a3f;background:#1c1919;box-shadow:0 1px 2px rgba(0,0,0,0.01569);}
html[data-theme="dark"] .aw-new-thread:hover{border-color:#444941;background:#1e2314;}
html[data-theme="dark"] .aw-new-thread kbd{color:#b6b9b1;background:#1f201a;border:1px solid #484b3f;}
html[data-theme="dark"] .aw-search{border:1px solid #474a40;background:#1c1919;color:#b6b9b1;}
html[data-theme="dark"] .aw-rail>.aw-search{background:transparent;border-color:transparent;}
html[data-theme="dark"] .aw-search:focus-within{border-color:#444940;background:#1c1919;}
html[data-theme="dark"] .aw-search input{background:transparent;color:#dfe2df;}
html[data-theme="dark"] .aw-search input::placeholder{color:#b5b9b1;}
html[data-theme="dark"] .aw-list-label{color:#c7c9c5;}
html[data-theme="dark"] .aw-thread{border:1px solid transparent;}
html[data-theme="dark"] .aw-thread:hover{background:#20221b;}
html[data-theme="dark"] .aw-thread.selected{background:#20231c;border-color:#474c3e;}
html[data-theme="dark"] .aw-thread-icon{color:#c6c9c5;}
html[data-theme="dark"] .aw-thread-text b{color:#c6c9c5;}
html[data-theme="dark"] .aw-thread.selected .aw-thread-text b{color:#dfe3de;}
html[data-theme="dark"] .aw-thread-text small{color:#c7c9c5;}
html[data-theme="dark"] .aw-pending-dot{background:#584728;}
html[data-theme="dark"] .aw-rail-empty{color:#c7cac4;}
html[data-theme="dark"] .aw-rail-empty span{color:#b5b9b1;}
html[data-theme="dark"] .aw-rail-model{border-top:1px solid #464a3f;}
html[data-theme="dark"] .aw-model-mark{background:#20241b;color:#c6cdc1;border:1px solid #464c3e;}
html[data-theme="dark"] .aw-rail-model b{color:#c7cbc3;}
html[data-theme="dark"] .aw-rail-model small{color:#c7ccc2;}
html[data-theme="dark"] .aw-rail-model>svg{color:#b6bcaf;}
html[data-theme="dark"] .aw-conversation{background:#1c1919;}
html[data-theme="dark"] .aw-conversation-head>div>span{color:#c7cac4;}
html[data-theme="dark"] .aw-menu>div{background:#1c1919;border:1px solid #474a40;box-shadow:0 8px 30px rgba(0,0,0,0.07059);}
html[data-theme="dark"] .aw-menu button{color:#d1c2bd;}
html[data-theme="dark"] .aw-menu button:hover{background:#241b16;}
html[data-theme="dark"] .aw-empty-symbol{background:#1f2119;border:1px solid #474c3e;color:#c7cdc1;box-shadow:0 3px 12px rgba(0,0,0,0.01569);}
html[data-theme="dark"] .aw-eyebrow{color:#b5bab0;}
html[data-theme="dark"] .aw-chat-empty h2{color:#dfe4dd;}
html[data-theme="dark"] .aw-chat-empty>p{color:#c7cbc3;}
html[data-theme="dark"] .aw-starters>button{border:1px solid #474c3e;background:#1c1919;}
html[data-theme="dark"] .aw-starters>button:hover{background:#1f2218;border-color:#464d3d;}
html[data-theme="dark"] .aw-starters>button>svg{color:#b4beac;}
html[data-theme="dark"] .aw-starters b{color:#c6ccc2;}
html[data-theme="dark"] .aw-load-history{color:#b5bcae;}
html[data-theme="dark"] .aw-message{color:#dfe4dd;}
html[data-theme="dark"] .aw-message-heading{color:#c6ccc2;}
html[data-theme="dark"] .aw-message-heading time{color:#b5bab0;}
html[data-theme="dark"] .aw-answer-mark{background:#202319;border:1px solid #474e3c;color:#c7cebf;}
html[data-theme="dark"] .aw-message.is-user .aw-message-body{background:#1f221a;border:1px solid #474e3b;color:#c6cdc1;}
html[data-theme="dark"] .aw-message-body strong{color:#e0e5dc;}
html[data-theme="dark"] .aw-message-body blockquote{border-left:2px solid #464e3c;color:#c7ccc2;background:#1e2018;}
html[data-theme="dark"] .aw-message-body code{background:#1f211a;}
html[data-theme="dark"] .aw-message-body pre{border:1px solid #474c3e;background:#1e2118;}
html[data-theme="dark"] .aw-message-body pre code{background:transparent;}
html[data-theme="dark"] .aw-running{background:#1e2118;border:1px solid #484d3d;color:#c7ccc2;}
html[data-theme="dark"] .aw-running-dot{border:2px solid #464e3c;}
html[data-theme="dark"] .aw-running div>span{color:#b7bdad;}
html[data-theme="dark"] .aw-composer-area{background:linear-gradient(rgba(28,25,25,0.9333),#1c1919 20%);}
html[data-theme="dark"] .aw-composer{border:1px solid #464b3e;background:#1e2018;box-shadow:0 3px 14px rgba(0,0,0,0.01961);}
html[data-theme="dark"] .aw-composer:focus-within{border-color:#454d3d;box-shadow:0 0 0 3px rgba(0,0,0,0.2);}
html[data-theme="dark"] .aw-composer>textarea{background:transparent;color:#e0e5dc;}
html[data-theme="dark"] .aw-composer>textarea::placeholder{color:#b5bcae;}
html[data-theme="dark"] .aw-scope{border:1px solid #464c3d;background:#1c1919;color:#c7ccc2;}
html[data-theme="dark"] .aw-scope select{background:transparent;color:#c7ccc2;}
html[data-theme="dark"] .aw-scope select:disabled{color:#c8ccc2;}
html[data-theme="dark"] .aw-key-hint{color:#b6bcae;}
html[data-theme="dark"] .aw-send{background:#273529;color:#ebebeb;}
html[data-theme="dark"] .aw-send:hover{background:#384937;}
html[data-theme="dark"] .aw-send:disabled{background:#21241d;color:#b6bdad;}
html[data-theme="dark"] .aw-composer-status{color:#b5bcae;}
html[data-theme="dark"] .aw-composer-status a{color:#c7cdc1;}
html[data-theme="dark"] .aw-status{color:#b5bbaf;}
html[data-theme="dark"] .aw-status>i{background:#2f312c;}
html[data-theme="dark"] .aw-status.waiting>i{background:#373126;}
html[data-theme="dark"] .aw-status.ready>i{background:#404c34;}
html[data-theme="dark"] .aw-summary{color:#b5bcae;}
html[data-theme="dark"] .aw-summary>summary>span{color:#b6bcae;}
html[data-theme="dark"] .aw-summary>div{background:#1f2118;border:1px solid #484d3c;}
html[data-theme="dark"] .aw-summary-note{color:#b6bdad;}
html[data-theme="dark"] .aw-section-heading h2{color:#e0e4dd;}
html[data-theme="dark"] .aw-section-heading p{color:#c7ccc2;}
html[data-theme="dark"] .aw-primary-button{background:#2a372b;color:#edf1e4;border:1px solid #404a41;}
html[data-theme="dark"] .aw-primary-button:hover{background:#3a4937;}
html[data-theme="dark"] .aw-secondary-button{background:#1c1919;color:#c7ccc2;border:1px solid #464b3f;}
html[data-theme="dark"] .aw-memory-stats{border-bottom:1px solid #484c3d;color:#b5bbaf;}
html[data-theme="dark"] .aw-memory-stats b{color:#c7cfbf;}
html[data-theme="dark"] .aw-memory-stats i{background:#2a2d25;}
html[data-theme="dark"] .aw-memory-stats i.pending{background:#332e24;}
html[data-theme="dark"] .aw-memory-stats>button{color:#b5bdad;}
html[data-theme="dark"] .aw-memory-toolbar .aw-search{border-color:#474c3e;background:#1e2117;}
html[data-theme="dark"] .aw-category-filter select{color:#c7cdc1;border:1px solid #474c3e;background:#1c1919;}
html[data-theme="dark"] .aw-memory-filterbar button{color:#c7cdc1;}
html[data-theme="dark"] .aw-memory-filterbar button.active{background:#202419;color:#c6cec0;}
html[data-theme="dark"] .aw-memory-filterbar>span{color:#b5bcae;}
html[data-theme="dark"] .aw-memory-row{border:1px solid #474d3c;background:#1c1919;}
html[data-theme="dark"] .aw-memory-row:hover,html[data-theme="dark"] .aw-memory-row.selected{border-color:#464e3c;}
html[data-theme="dark"] .aw-memory-category{background:#1f2219;color:#c7cec0;}
html[data-theme="dark"] .aw-memory-status{color:#c8cfbf;}
html[data-theme="dark"] .aw-memory-status.pending{color:#c7baa4;}
html[data-theme="dark"] .aw-memory-status.expired,html[data-theme="dark"] .aw-memory-status.superseded{color:#b5bcae;}
html[data-theme="dark"] .aw-memory-status.scheduled{color:#b1bab9;}
html[data-theme="dark"] .aw-memory-content{color:#e0e6db;}
html[data-theme="dark"] .aw-memory-row-bottom>div>span{color:#b5bcae;}
html[data-theme="dark"] .aw-memory-edit{color:#b5c1a9;}
html[data-theme="dark"] .aw-memory-empty{color:#b6beac;}
html[data-theme="dark"] .aw-memory-empty>svg{color:#b6c0aa;}
html[data-theme="dark"] .aw-memory-empty h3{color:#b5beac;}
html[data-theme="dark"] .aw-memory-empty p{color:#b6beac;}
html[data-theme="dark"] .aw-memory-footnote{color:#b5bcae;}
html[data-theme="dark"] .aw-memory-drawer{border-left:1px solid #474d3d;background:#1e2216;}
html[data-theme="dark"] .aw-drawer-head{border-bottom:1px solid #474e3c;}
html[data-theme="dark"] .aw-drawer-head span{color:#c8cebf;}
html[data-theme="dark"] .aw-drawer-head h3{color:#c6d1bd;}
html[data-theme="dark"] .aw-memory-form .field{color:#c7cebf;}
html[data-theme="dark"] .aw-memory-form .field input,html[data-theme="dark"] .aw-memory-form .field select,html[data-theme="dark"] .aw-memory-form .field textarea{background:#1c1919;border:1px solid #474e3c;color:#c6d2bc;}
html[data-theme="dark"] .aw-memory-form .field input::placeholder,html[data-theme="dark"] .aw-memory-form .field textarea::placeholder{color:#b5c0ab;}
html[data-theme="dark"] .aw-memory-provenance{border-top:1px solid #474f3b;color:#c7cec0;}
html[data-theme="dark"] .aw-memory-provenance b{color:#c7d0be;}
html[data-theme="dark"] .aw-memory-provenance p{color:#b6bfab;}
html[data-theme="dark"] .aw-memory-provenance button{color:#b6c3a7;}
html[data-theme="dark"] .aw-pending-memory-note{border:1px solid #50493a;background:#251f14;color:#c6baa4;}
html[data-theme="dark"] .aw-form-help{color:#c7cfbf;}
html[data-theme="dark"] .aw-danger-button{color:#c3b2a7;}
html[data-theme="dark"] .aw-danger-button:hover{color:#d3c2bb;}
html[data-theme="dark"] .aw-task-view>.card{border:1px solid #474b3e;}
html[data-theme="dark"] .aw-task-view .history-record p{color:#b5bcae;}
html[data-theme="dark"] .aw-loading .card{color:#b5beac;}
@media (max-width:1000px){html[data-theme="dark"] .aw-starters>button>span{color:#b6bfab;}}
@media (max-width:800px){html[data-theme="dark"] .aw-memory-drawer{box-shadow:-10px 0 35px rgba(0,0,0,0.07843);}}
@media (max-width:650px){html[data-theme="dark"] .aw-mobile-threads{color:#b5bdad;}
html[data-theme="dark"] .aw-chat-layout.is-rail-open .aw-rail{box-shadow:8px 0 25px rgba(0,0,0,0.07059);}
html[data-theme="dark"] .aw-chat-layout.is-rail-open .aw-rail-scrim{background:rgba(32,44,31,0.2);}}
html[data-theme="dark"] .capture-page{color:#dee4dd;}
html[data-theme="dark"] .capture-entry-icon{background:#1f2319;border:1px solid #464d3c;color:#c7cebf;}
html[data-theme="dark"] .capture-entry>summary b{color:#e0e5dc;}
html[data-theme="dark"] .capture-entry>summary small{color:#c6cbc2;}
html[data-theme="dark"] .capture-entry-chevron{color:#b6beac;}
html[data-theme="dark"] .capture-entry>form{border-top:1px solid #464c3e;}
html[data-theme="dark"] .capture-page .field{color:#c6ccc2;}
html[data-theme="dark"] .capture-page .field input,html[data-theme="dark"] .capture-page .field select,html[data-theme="dark"] .capture-page .field textarea{border:1px solid #474d3d;background:#1e2117;color:#e0e6da;}
html[data-theme="dark"] .capture-page .field textarea{background:#1c1919;}
html[data-theme="dark"] .capture-page .field textarea::placeholder,html[data-theme="dark"] .capture-page input::placeholder{color:#b4bdad;}
html[data-theme="dark"] .capture-quick-types>span{color:#b5bfab;}
html[data-theme="dark"] .capture-quick-types>button{border:1px solid #464c3e;color:#c6cdc1;background:#1c1919;}
html[data-theme="dark"] .capture-quick-types>button:hover{background:#1f2418;border-color:#454e3b;}
html[data-theme="dark"] .capture-save-action>span{color:#b5bfab;}
html[data-theme="dark"] .capture-note{color:#b4beac;}
html[data-theme="dark"] .capture-note a{color:#c6d1bd;}
html[data-theme="dark"] .capture-inbox-title>span{color:#b5bfac;}
html[data-theme="dark"] .capture-status-tabs{background:#1f211a;}
html[data-theme="dark"] .capture-status-tabs>button{color:#c7cec0;}
html[data-theme="dark"] .capture-status-tabs>button.active{background:#1c1919;color:#c6d1bd;box-shadow:0 1px 4px rgba(0,0,0,0.04314);}
html[data-theme="dark"] .capture-search{border:1px solid #464c3e;background:#1e2117;}
html[data-theme="dark"] .capture-search svg{color:#b5beac;}
html[data-theme="dark"] .capture-search input{background:transparent;color:#c7cfbf;}
html[data-theme="dark"] .capture-search>button{color:#b5c0aa;}
html[data-theme="dark"] .capture-search>button:hover{background:#202519;}
html[data-theme="dark"] .capture-record{border:1px solid #474d3c;background:#1c1919;}
html[data-theme="dark"] .capture-record:hover,html[data-theme="dark"] .capture-record.selected{border-color:#454f3b;background:#1e2315;}
html[data-theme="dark"] .capture-record-top time{color:#b5bfab;}
html[data-theme="dark"] .capture-status{background:#1f211b;color:#b5beac;}
html[data-theme="dark"] .capture-status.raw,html[data-theme="dark"] .capture-status.draft{background:#262015;color:#c6bba4;}
html[data-theme="dark"] .capture-status.confirmed{background:#1f2518;color:#c7d0be;}
html[data-theme="dark"] .capture-status.void{background:#1f201c;color:#b6bbaf;}
html[data-theme="dark"] .capture-record>b{color:#c6d0be;}
html[data-theme="dark"] .capture-record-bottom{color:#b5c0aa;}
html[data-theme="dark"] .capture-list-empty{color:#b4c0aa;}
html[data-theme="dark"] .capture-list-empty svg{color:#b6c2a8;}
html[data-theme="dark"] .capture-list-empty span{color:#b4c0aa;}
html[data-theme="dark"] .capture-pagination{color:#b5c0aa;}
html[data-theme="dark"] .capture-review-empty>span{background:#1f2318;border:1px solid #464e3b;color:#b5c3a7;}
html[data-theme="dark"] .capture-review-empty>h2{color:#c4d2bc;}
html[data-theme="dark"] .capture-review-empty>p{color:#b4c0aa;}
html[data-theme="dark"] .capture-empty-steps b{color:#b5c3a7;}
html[data-theme="dark"] .capture-empty-steps span{color:#c6d0be;}
html[data-theme="dark"] .capture-empty-steps small{color:#b5c2a8;}
html[data-theme="dark"] .capture-review-empty>.text-link{color:#c6d1bd;}
html[data-theme="dark"] .capture-review-heading h2{color:#c4d3bb;}
html[data-theme="dark"] .capture-review-heading .eyebrow{color:#b4c1a9;}
html[data-theme="dark"] .capture-close,html[data-theme="dark"] .capture-remove{color:#b5bfab;}
html[data-theme="dark"] .capture-close:hover,html[data-theme="dark"] .capture-remove:hover{background:#1f2219;color:#b4c2a8;}
html[data-theme="dark"] .capture-review-status>span:last-child{color:#b4c0aa;}
html[data-theme="dark"] .capture-original{border:1px solid #454d3c;background:#1e2216;}
html[data-theme="dark"] .capture-original>summary{color:#c6d1bd;}
html[data-theme="dark"] .capture-original>p{color:#c5d3bb;}
html[data-theme="dark"] .capture-original>small{color:#b4c5a5;}
html[data-theme="dark"] .capture-extract-bar b{color:#c5d2bc;}
html[data-theme="dark"] .capture-extract-bar span{color:#b4c4a6;}
html[data-theme="dark"] .capture-measured-time{border-top:1px solid #464d3d;}
html[data-theme="dark"] .capture-items-heading h3{color:#c6d0be;}
html[data-theme="dark"] .capture-items-heading span{color:#b4c4a7;}
html[data-theme="dark"] .capture-editor .capture-item{border-color:#464f3b;background:#1e2314;}
html[data-theme="dark"] .capture-item legend{color:#b5c3a7;}
html[data-theme="dark"] .capture-item legend>span{color:#b4c3a7;}
html[data-theme="dark"] .capture-editor .capture-item .field{color:#c6d1bd;}
html[data-theme="dark"] .capture-editor .capture-item .field input,html[data-theme="dark"] .capture-editor .capture-item .field select{background:#1c1919;border-color:#454f3b;color:#c4d6b8;}
html[data-theme="dark"] .capture-item details>summary{color:#c6d2bc;}
html[data-theme="dark"] .capture-item .assistant-checkbox{color:#c6d2bc;}
html[data-theme="dark"] .capture-add-item{border:1px dashed #454f3b;background:#1e2414;color:#c6d2bc;}
html[data-theme="dark"] .capture-confirm-footer{border-top:1px solid #46503a;}
html[data-theme="dark"] .capture-confirm-footer>p{color:#b3c4a6;}
html[data-theme="dark"] .capture-void{color:#c3b5a7;}
html[data-theme="dark"] .capture-revision-history{border-top:1px solid #474f3a;}
html[data-theme="dark"] .capture-revision-history>summary{color:#b3c4a6;}
html[data-theme="dark"] .capture-revision-history>p{color:#c6d2bc;border-bottom:1px solid #474f3b;}
html[data-theme="dark"] .capture-revision-history>p>span{color:#b5c3a7;}
html[data-theme="dark"] .capture-revision-history time{color:#b4c4a6;}
html[data-theme="dark"] .feedback-top-entry{color:#c6ccc2;}
html[data-theme="dark"] .feedback-top-entry:hover{color:#dbe6de;}
html[data-theme="dark"] .feedback-footer-entry{color:#b5bcae;}
html[data-theme="dark"] .login-support-link{color:#c7cec0;}
html[data-theme="dark"] .feedback-contact{background:#1e2314;}
html[data-theme="dark"] .feedback-contact-icon{background:#202518;border:1px solid #454f3b;color:#b5c1a9;}
html[data-theme="dark"] .feedback-contact>div>span{color:#c6d1bd;}
html[data-theme="dark"] .feedback-contact>div>a{color:#c4d4ba;}
html[data-theme="dark"] .feedback-contact>div>p{color:#c6d1bd;}
html[data-theme="dark"] .feedback-view-tabs{border-bottom:1px solid #464d3c;}
html[data-theme="dark"] .feedback-view-tabs button{color:#c6d1bd;border-bottom:2px solid transparent;}
html[data-theme="dark"] .feedback-view-tabs button.active{color:#c5d1bc;border-bottom-color:#444d3c;}
html[data-theme="dark"] .feedback-page .field{color:#c6d1bc;}
html[data-theme="dark"] .feedback-page .field input,html[data-theme="dark"] .feedback-page .field select,html[data-theme="dark"] .feedback-page .field textarea{border:1px solid #454f3b;background:#1e2314;color:#c5d4b9;}
html[data-theme="dark"] .feedback-page .field textarea{background:#1c1919;}
html[data-theme="dark"] .feedback-page .field textarea::placeholder,html[data-theme="dark"] .feedback-page .field input::placeholder{color:#b4c5a5;}
html[data-theme="dark"] .feedback-submission-note{background:#1e2317;color:#c6d0bd;}
html[data-theme="dark"] .feedback-version{color:#b4c3a8;}
html[data-theme="dark"] .feedback-filter select{border:1px solid #454e3c;color:#c6d0bd;background:#1c1919;}
html[data-theme="dark"] .feedback-ticket{border-bottom:1px solid #474f3a;}
html[data-theme="dark"] .feedback-ticket:hover,html[data-theme="dark"] .feedback-ticket.selected{background:#1d2413;}
html[data-theme="dark"] .feedback-ticket-heading>b{color:#c5d3bb;}
html[data-theme="dark"] .feedback-status{background:#1f2319;color:#b5c2a8;}
html[data-theme="dark"] .feedback-status.new{background:#262114;color:#c9baa1;}
html[data-theme="dark"] .feedback-status.in_progress{background:#1a2020;color:#afbbba;}
html[data-theme="dark"] .feedback-status.resolved{background:#1d2517;color:#b3c4a6;}
html[data-theme="dark"] .feedback-status.closed{background:#1f211a;color:#b5c0aa;}
html[data-theme="dark"] .feedback-ticket-meta{color:#b4c2a8;}
html[data-theme="dark"] .feedback-ticket-bottom{color:#b5c3a7;}
html[data-theme="dark"] .feedback-replied{color:#b4c4a6;}
html[data-theme="dark"] .feedback-empty{color:#b4c4a6;}
html[data-theme="dark"] .feedback-empty>svg{color:#b6c5a5;}
html[data-theme="dark"] .feedback-empty h3{color:#b4c4a6;}
html[data-theme="dark"] .feedback-empty p{color:#b4c6a5;}
html[data-theme="dark"] .feedback-pagination .text-link{color:#b4c4a6;}
html[data-theme="dark"] .feedback-detail-meta>span:not(.feedback-status){color:#b4c4a6;}
html[data-theme="dark"] .feedback-body{color:#c5d5b9;}
html[data-theme="dark"] .feedback-reply-contact{background:#1e2414;border:1px solid #455138;}
html[data-theme="dark"] .feedback-reply-contact>span{color:#b4c4a6;}
html[data-theme="dark"] .feedback-reply-contact>a{color:#c6d2bc;}
html[data-theme="dark"] .feedback-timeline{border-top:1px solid #465138;}
html[data-theme="dark"] .feedback-timeline h3{color:#b4c3a7;}
html[data-theme="dark"] .feedback-timeline-dot{background:#272e20;}
html[data-theme="dark"] .feedback-timeline-head b{color:#c6d2bc;}
html[data-theme="dark"] .feedback-timeline-head time{color:#b4c5a5;}
html[data-theme="dark"] .feedback-timeline article>div>span{color:#b5c5a5;}
html[data-theme="dark"] .feedback-timeline article p{color:#c5d4ba;}
html[data-theme="dark"] #feedback-admin-form{border-top:1px solid #465238;}
html[data-theme="dark"] .feedback-error{color:#c5b2a5;}
html[data-theme="dark"] .support-body{background:#202319;}
html[data-theme="dark"] .support-shell{background:#1c1919;border:1px solid #464e3b;box-shadow:0 12px 50px rgba(0,0,0,0.04314);}
html[data-theme="dark"] .support-shell h1{color:#c5d1bc;}
html[data-theme="dark"] .support-intro{color:#c6d1bd;}
html[data-theme="dark"] .support-contact{border:1px solid #455039;background:#1f2514;}
html[data-theme="dark"] .support-contact>span{color:#b3c5a5;}
html[data-theme="dark"] .support-contact>a{color:#c5d4ba;}
html[data-theme="dark"] .support-note{color:#b4c5a5;}
html[data-theme="dark"] .support-login{color:#c6d3bb;}
html[data-theme="dark"] .capture-review-tools>button:first-child{color:#b4c2a8;}
html[data-theme="dark"] .health-workspace-header{background:#1c1919;}
html[data-theme="dark"] .capture-page>.health-workspace-header{background:transparent;}
html[data-theme="dark"] .capture-toolbar>div>span{color:#c5c9c5;}
html[data-theme="dark"] .guide-account-link{color:#c3cdc0;}
html[data-theme="dark"] .guide-rail{border:1px solid #454941;background:#1e2018;}
html[data-theme="dark"] .guide-progress{border-bottom:1px solid #464a40;}
html[data-theme="dark"] .guide-progress>span{color:#c6c9c5;}
html[data-theme="dark"] .guide-progress>b{color:#dee3dd;}
html[data-theme="dark"] .guide-progress small{color:#c7cac4;}
html[data-theme="dark"] .guide-progress>div{background:#21231c;}
html[data-theme="dark"] .guide-progress i{background:#3f4b35;}
html[data-theme="dark"] .guide-rail nav>button{background:transparent;color:#c6cac4;}
html[data-theme="dark"] .guide-rail nav>button.active{background:#21241a;color:#dee5dc;}
html[data-theme="dark"] .guide-step-number{border:1px solid #464a3f;background:#1c1919;}
html[data-theme="dark"] .guide-step-number.done{background:#3f4b35;color:#ebebeb;border-color:#454b3e;}
html[data-theme="dark"] .guide-rail button small{color:#c7cac4;}
html[data-theme="dark"] .guide-panel{background:#1c1919;border:1px solid #454941;box-shadow:0 5px 25px rgba(0,0,0,0.01569);}
html[data-theme="dark"] .guide-kicker{color:#c7cbc3;}
html[data-theme="dark"] .guide-panel h2{color:#dee4dd;}
html[data-theme="dark"] .guide-lead{color:#c6cac4;}
html[data-theme="dark"] .guide-instructions li:before{background:#1f221a;color:#c8cdc1;}
html[data-theme="dark"] .guide-instructions b{color:#dfe3dd;}
html[data-theme="dark"] .guide-instructions p{color:#c7cac4;}
html[data-theme="dark"] .guide-callout{background:#1f2218;border:1px solid #474c3e;color:#c7ccc2;}
html[data-theme="dark"] .guide-small{color:#c7cac4;}
html[data-theme="dark"] .guide-small a{color:#c4d1bd;}
html[data-theme="dark"] .guide-platforms button{border:1px solid #464b3f;background:#1c1919;color:#c7cbc3;}
html[data-theme="dark"] .guide-platforms button.active{background:#20231a;border-color:#464b3f;color:#dfe6db;}
html[data-theme="dark"] .guide-resource{color:#c6d0be;border-bottom:1px solid #464d3d;}
html[data-theme="dark"] .guide-status{border:1px solid #464e3c;color:#c7d1bd;}
html[data-theme="dark"] .guide-address{border:1px solid #474b3f;background:#1e2018;}
html[data-theme="dark"] .guide-address>span{color:#c7cbc3;}
html[data-theme="dark"] .guide-address code{color:#e0e4dc;}
html[data-theme="dark"] .guide-address small{color:#c7cac4;}
html[data-theme="dark"] .guide-checks{border:1px solid #464c3e;}
html[data-theme="dark"] .guide-checks>div{background:#1e2118;}
html[data-theme="dark"] .guide-checks span{color:#c7cbc3;}
html[data-theme="dark"] .guide-checks b{color:#c5cec0;}
html[data-theme="dark"] .guide-mini-grid a{border:1px solid #464b3f;}
html[data-theme="dark"] .guide-mini-grid b{color:#c4cfbf;}
html[data-theme="dark"] .guide-mini-grid span{color:#c7cac3;}
html[data-theme="dark"] .guide-step-footer{border-top:1px solid #474c3e;}
html[data-theme="dark"] .guide-mark{background:transparent;color:#c7cac3;}
html[data-theme="dark"] .guide-mark.is-read{color:#c4d2bc;}
html[data-theme="dark"] .guide-reference{border:1px solid #474b3f;background:#1c1919;}
html[data-theme="dark"] .guide-reference>h2{color:#dfe4dd;}
html[data-theme="dark"] .guide-code-table>div{border-top:1px solid #474b3e;}
html[data-theme="dark"] .guide-code-table b{color:#c6cdc1;}
html[data-theme="dark"] .guide-code-table span{color:#c7cbc3;}
html[data-theme="dark"] .guide-faq{border-top:1px solid #474b3e;}
html[data-theme="dark"] .guide-faq>summary{color:#c7cec0;}
html[data-theme="dark"] .guide-faq>p{color:#c7cbc3;}
html[data-theme="dark"] .guide-source{color:#b6bab0;}
html[data-theme="dark"] .guide-error{border:1px solid #514338;background:#241c14;color:#d2c6bc;}
html[data-theme="dark"] .guide-error button{background:transparent;}
html[data-theme="dark"] .public-guide-body{background:#1f2219;color:#e0e3de;}
html[data-theme="dark"] .public-guide-header{border-bottom:1px solid #474b3e;background:#1c1919;}
html[data-theme="dark"] .guide-page button:focus-visible,html[data-theme="dark"] .guide-page a:focus-visible{outline:2px solid #454c3e;}
html[data-theme="dark"] .rh-settings>summary{color:#c5cdc0;}
html[data-theme="dark"] .rh-settings>summary>span{color:#b5bab0;}
html[data-theme="dark"] .rh-switches label{color:#c5cec0;}
html[data-theme="dark"] .rh-small{color:#b5bab0;}
html[data-theme="dark"] .rh-tabs{border-bottom:1px solid #464b3e;}
html[data-theme="dark"] .rh-tabs button{color:#b5bbaf;border-bottom:2px solid transparent;}
html[data-theme="dark"] .rh-tabs button.active{border-color:#424d3c;color:#dfe6db;}
html[data-theme="dark"] .rh-tabs small{background:#1f221b;color:#b5bbaf;}
html[data-theme="dark"] .rh-month input{border:1px solid #464c3e;background:#1c1919;color:#c5cfbf;}
html[data-theme="dark"] .rh-month>button{color:#c7cdc1;}
html[data-theme="dark"] .rh-calendar-week{color:#b6bcaf;}
html[data-theme="dark"] .rh-day{color:#c7cbc3;}
html[data-theme="dark"] .rh-day small{color:#c7cebf;}
html[data-theme="dark"] .rh-day.has-record.period{background:#261916;color:#c3aba7;}
html[data-theme="dark"] .rh-day.period small{color:#c6aba4;}
html[data-theme="dark"] .rh-day.has-record.sex{background:#1f231b;color:#c5d1bd;}
html[data-theme="dark"] .rh-observed{border-top:1px solid #464c3e;}
html[data-theme="dark"] .rh-observed>span{color:#c7ccc2;}
html[data-theme="dark"] .rh-observed>div>span{background:#202319;color:#c6d0be;}
html[data-theme="dark"] .rh-observed>div>p{color:#b6bcae;}
html[data-theme="dark"] .rh-sex-summary{border-top:1px solid #464c3e;}
html[data-theme="dark"] .rh-sex-summary b{color:#c3d1bd;}
html[data-theme="dark"] .rh-sex-summary>span{color:#b5bbaf;}
html[data-theme="dark"] .rh-history article{border-top:1px solid #474e3c;}
html[data-theme="dark"] .rh-history article b{color:#c6cec0;}
html[data-theme="dark"] .rh-history article p{color:#b5bcae;}
html[data-theme="dark"] .rh-editor .field textarea{border:1px solid #454c3d;color:#c6cfbf;background:#1e2117;}
html[data-theme="dark"] .rh-symptoms legend{color:#c7ccc1;}
html[data-theme="dark"] .rh-symptoms label{color:#b5bcae;}
html[data-theme="dark"] .rh-danger{color:#d1c2bd!important;}
html[data-theme="dark"] .rh-empty{color:#b6bdad;}
html[data-theme="dark"] .rh-disabled>span{background:#20231a;color:#b7bfab;}
html[data-theme="dark"] .rh-disabled h2{color:#c6cec0;}
html[data-theme="dark"] .rh-disabled p{color:#b5bcaf;}
html[data-theme="dark"] .rh-error{background:#261c15;border:1px solid #524537;color:#d1c6bd;}
html[data-theme="dark"] .med-status-hero{background:#202419;border:1px solid #464e3c;}
html[data-theme="dark"] .med-status-hero.warning{background:linear-gradient(110deg,#251814,#241a13);border-color:#533c36;box-shadow:0 4px 22px rgba(0,0,0,0.03137);}
html[data-theme="dark"] .med-hero-symbol{background:#23271c;color:#c6cebf;}
html[data-theme="dark"] .warning .med-hero-symbol{background:#291b16;color:#d5beb9;}
html[data-theme="dark"] .med-hero-eyebrow{color:#b6bdad;}
html[data-theme="dark"] .warning .med-hero-eyebrow{color:#c6ada4;}
html[data-theme="dark"] .med-status-hero h2{color:#c4d2bc;}
html[data-theme="dark"] .med-status-hero.warning h2{color:#d5bdb9;}
html[data-theme="dark"] .med-status-hero p{color:#b6bcae;}
html[data-theme="dark"] .med-status-hero.warning p{color:#c2b0a8;}
html[data-theme="dark"] .med-hero-number{border-left:1px solid #464e3c;}
html[data-theme="dark"] .med-hero-number b{color:#c6d0bd;}
html[data-theme="dark"] .med-hero-number span{color:#b6bdae;}
html[data-theme="dark"] .warning .med-hero-number{border-color:#513f38;}
html[data-theme="dark"] .warning .med-hero-number b{color:#d2c1bc;}
html[data-theme="dark"] .warning .med-hero-number span{color:#c3afa7;}
html[data-theme="dark"] .med-tabs{border-bottom:1px solid #464c3e;}
html[data-theme="dark"] .med-tabs button{color:#b6bcaf;border-bottom:2px solid transparent;}
html[data-theme="dark"] .med-tabs button.active{color:#c3d2bc;border-color:#434e3c;}
html[data-theme="dark"] .med-small{color:#b5bcaf;}
html[data-theme="dark"] .med-date-label{color:#b5bbaf;}
html[data-theme="dark"] .med-dose{border:1px solid #464c3e;background:#1c1919;}
html[data-theme="dark"] .med-dose.due{border-color:#513e38;background:#241814;box-shadow:inset 3px 0 #000000;}
html[data-theme="dark"] .med-dose.snoozed{background:#242014;border-color:#534a37;}
html[data-theme="dark"] .med-dose.taken{background:#1f2217;}
html[data-theme="dark"] .med-dose-clock>b{color:#c5d0bd;}
html[data-theme="dark"] .med-dose.due .med-dose-clock>b{color:#d4bfb9;}
html[data-theme="dark"] .med-dose-clock>span{color:#b6bcae;}
html[data-theme="dark"] .med-dose-title h3{color:#c5d0bd;}
html[data-theme="dark"] .med-dose.due h3{color:#d3c0bb;}
html[data-theme="dark"] .med-dose-main>p{color:#b6bdae;}
html[data-theme="dark"] .med-dose-main>small{color:#b6bdad;}
html[data-theme="dark"] .med-state{background:#1f231a;color:#b6bdad;}
html[data-theme="dark"] .med-state.due{background:#291b17;color:#d3c0ba;}
html[data-theme="dark"] .med-state.taken,html[data-theme="dark"] .med-state.active{background:#21261a;color:#c6d0be;}
html[data-theme="dark"] .med-state.snoozed{background:#2a2617;color:#d5cdb9;}
html[data-theme="dark"] .med-state.skipped,html[data-theme="dark"] .med-state.cancelled{background:#20201c;color:#b7b8b2;}
html[data-theme="dark"] .med-take{background:#503630;color:#f4e8e1;}
html[data-theme="dark"] .med-plain,html[data-theme="dark"] .med-skip{color:#b6bead;}
html[data-theme="dark"] .med-skip{color:#b7b9b1;}
html[data-theme="dark"] .med-guidance{border-bottom:1px solid #474c3e;}
html[data-theme="dark"] .med-guidance b{color:#b6bdad;}
html[data-theme="dark"] .med-guidance p{color:#b6bcae;}
html[data-theme="dark"] .med-bottom-tools>span{color:#b6bdae;}
html[data-theme="dark"] .med-push-card h2{color:#c5d1bd;}
html[data-theme="dark"] .med-push-intro{color:#b6bdad;}
html[data-theme="dark"] .med-install-steps{background:#1f2218;border:1px solid #474e3c;}
html[data-theme="dark"] .med-install-steps b{color:#c7cebf;}
html[data-theme="dark"] .med-install-steps ol{color:#b6bdad;}
html[data-theme="dark"] .med-channel-warning{background:#261f14;border:1px solid #544a36;color:#c5baa5;}
html[data-theme="dark"] .med-device-list{border-top:1px solid #474d3d;}
html[data-theme="dark"] .med-device-list>summary{color:#b4c0aa;}
html[data-theme="dark"] .med-device-list b{color:#b5beac;}
html[data-theme="dark"] .med-device-list small{color:#b6bdad;}
html[data-theme="dark"] .med-device-list button{color:#bfb5ab;}
html[data-theme="dark"] .med-push-footer{color:#b6bcae;}
html[data-theme="dark"] .med-how h3{color:#c6cfbf;}
html[data-theme="dark"] .med-how>div>b{color:#b5beac;}
html[data-theme="dark"] .med-how>div>p{color:#b6bdad;}
html[data-theme="dark"] .med-empty{background:#1c1919;border:1px dashed #464e3c;}
html[data-theme="dark"] .med-empty>span{background:#202419;color:#b7c0aa;}
html[data-theme="dark"] .med-empty h3{color:#c6cebf;}
html[data-theme="dark"] .med-empty p{color:#b5bdad;}
html[data-theme="dark"] .med-history-date input{border:1px solid #454c3d;background:#1c1919;color:#c6cebf;}
html[data-theme="dark"] .med-plan-card{border:1px solid #464d3d;background:#1c1919;}
html[data-theme="dark"] .med-pill-symbol{background:#202319;color:#b6bfac;}
html[data-theme="dark"] .med-plan-heading h3{color:#c6d0be;}
html[data-theme="dark"] .med-plan-main>p{color:#b6beac;}
html[data-theme="dark"] .med-times>span{color:#c6cfbf;background:#1f2219;}
html[data-theme="dark"] .med-plan-main>small{color:#b6bdae;}
html[data-theme="dark"] .med-plan-main>.med-future-change{color:#c3baa8;}
html[data-theme="dark"] .med-plan-actions button{color:#b6c0aa;}
html[data-theme="dark"] .med-editor h2{color:#c6cfbe;}
html[data-theme="dark"] .med-editor .field{color:#b6beac;}
html[data-theme="dark"] .med-editor .field input,html[data-theme="dark"] .med-editor .field select,html[data-theme="dark"] .med-editor .field textarea{color:#c6cec0;background:#1d2216;border:1px solid #474d3d;}
html[data-theme="dark"] .med-time-fields legend,html[data-theme="dark"] .med-weekdays legend{color:#b6beac;}
html[data-theme="dark"] .med-time-fields input{border:1px solid #474d3d;background:#1e2315;color:#c7cebf;}
html[data-theme="dark"] .med-time-fields>div>button{color:#b6bdad;}
html[data-theme="dark"] .med-weekdays span{border:1px solid #454c3e;color:#b6beac;}
html[data-theme="dark"] .med-weekdays input:checked+span{border-color:#454c3d;background:#202518;color:#c7d0be;}
html[data-theme="dark"] .med-weekdays input:focus-visible+span{outline:2px solid #454c3e;}
html[data-theme="dark"] .med-cycle{border-top:1px solid #464d3d;}
html[data-theme="dark"] .med-cycle>summary{color:#b4bfab;}
html[data-theme="dark"] .med-form-note{color:#b5bdae;}
html[data-theme="dark"] .med-danger{color:#c3b1a7;}
html[data-theme="dark"] .med-error{background:#251a14;border:1px solid #534136;color:#d2c4bc;}
html[data-theme="dark"] .med-global-banner{background:#281a15;border-bottom:1px solid #523e37;color:#d3c0bb;}
html[data-theme="dark"] .medication-warning .breadcrumb>span:last-child{color:#d3c0bb;}
html[data-theme="dark"] .med-page button:focus-visible,html[data-theme="dark"] .med-page a:focus-visible{outline:2px solid #454c3d;}
html[data-theme="dark"] .med-page .med-small,html[data-theme="dark"] .med-dose-main>small,html[data-theme="dark"] .med-guidance p,html[data-theme="dark"] .med-plan-main>small,html[data-theme="dark"] .med-push-card .med-push-intro,html[data-theme="dark"] .med-how>div>p,html[data-theme="dark"] .med-device-list small,html[data-theme="dark"] .med-form-note,html[data-theme="dark"] .med-push-footer{color:#c6cbc3;}
html[data-theme="dark"] .med-dose-main>p,html[data-theme="dark"] .med-plan-main>p{color:#c7cdc1;}
html[data-theme="dark"] .med-editor .field,html[data-theme="dark"] .med-time-fields legend,html[data-theme="dark"] .med-weekdays legend,html[data-theme="dark"] .med-cycle>summary{color:#c7cdc1;}
html[data-theme="dark"] .med-dose.due .med-dose-main>small{color:#cfc4be;}
html[data-theme="dark"] .med-page .med-dose.due .med-state.due{color:#d5bdb8;}
html[data-theme="dark"] .med-status-hero.warning p{color:#cfc3be;}
html[data-theme="dark"] .med-status-hero p{color:#c7cdc1;}
html[data-theme="dark"] .med-device-list b,html[data-theme="dark"] .med-how>div>b{color:#c6cec0;}
@media (max-width:650px){html[data-theme="dark"] .med-mobile-push-link{border:1px solid #464d3d;background:#1f2316;color:#c6cec0;}}
html[data-theme="dark"] .env-toolbar{border-bottom:1px solid #464b3e;}
html[data-theme="dark"] .env-device-picker>span{border:1px solid #464c3e;color:#b6c0aa;background:#1c1919;}
html[data-theme="dark"] .env-device-picker select{background:transparent;color:#c5cfbe;}
html[data-theme="dark"] .env-status{color:#c6cdc1;border:1px solid #454c3d;background:#1f2218;}
html[data-theme="dark"] .env-metric.temperature{background:linear-gradient(120deg,#1c1919,#241d14);border-color:#4f473b;}
html[data-theme="dark"] .env-metric.humidity{background:linear-gradient(120deg,#1c1919,#18211b);border-color:#404a42;}
html[data-theme="dark"] .env-metric .section-row>span{color:#c9cbc3;}
html[data-theme="dark"] .env-metric.temperature .section-row svg{color:#c7b8a3;}
html[data-theme="dark"] .env-metric.humidity .section-row svg{color:#aebcb6;}
html[data-theme="dark"] .env-metric .section-row>small{color:#b6bcae;}
html[data-theme="dark"] .env-value>b{color:#cfc8bf;}
html[data-theme="dark"] .humidity .env-value>b{color:#c2ccc8;}
html[data-theme="dark"] .env-value>span{color:#beb9ac;}
html[data-theme="dark"] .humidity .env-value>span{color:#aebcb4;}
html[data-theme="dark"] .env-metric>p{color:#c7cbc3;}
html[data-theme="dark"] .env-room-tag{background:#20221a;color:#b5bcae;}
html[data-theme="dark"] .env-chart-heading h2{color:#c6cfbf;}
html[data-theme="dark"] .env-chart-heading p{color:#b5bdad;}
html[data-theme="dark"] .env-ranges{border:1px solid #464c3e;background:#1c1919;}
html[data-theme="dark"] .env-ranges button{color:#b5beac;}
html[data-theme="dark"] .env-ranges button.active{background:#20251a;color:#c6d2bb;}
html[data-theme="dark"] .env-chart-card .section-row h3{color:#c5cfbe;}
html[data-theme="dark"] .env-chart-card .section-row>span{color:#b4c0aa;}
html[data-theme="dark"] .env-axis{fill:#b5beac;}
html[data-theme="dark"] .env-grid-line{stroke:#464c3e;}
html[data-theme="dark"] .env-empty-chart{color:#b5beac;}
html[data-theme="dark"] .env-empty-chart>svg{color:#b6c0aa;}
html[data-theme="dark"] .env-empty-chart>b{color:#b5bfab;}
html[data-theme="dark"] .env-empty-chart>p{color:#b4bfab;}
html[data-theme="dark"] .env-chart-summary{border-top:1px solid #474e3c;}
html[data-theme="dark"] .env-chart-summary span{color:#b4bfab;}
html[data-theme="dark"] .env-chart-summary b{color:#c6cfbf;}
html[data-theme="dark"] .env-method{color:#b6beac;}
html[data-theme="dark"] .env-setup h2{color:#c5d2bc;}
html[data-theme="dark"] .env-setup>ol>li:before{background:#202419;color:#b6c1a9;}
html[data-theme="dark"] .env-setup li b{color:#c6d0be;}
html[data-theme="dark"] .env-setup li p{color:#b5bfab;}
html[data-theme="dark"] .env-connection-summary{background:#1f2218;border:1px solid #474e3c;}
html[data-theme="dark"] .env-connection-summary>span{color:#b7beac;}
html[data-theme="dark"] .env-connection-summary>b{color:#c7cebf;}
html[data-theme="dark"] .env-official-links{border-top:1px solid #484e3b;}
html[data-theme="dark"] .env-official-links a{color:#b5c0aa;}
html[data-theme="dark"] .env-bottom>span{color:#b5beac;}
html[data-theme="dark"] .env-danger{color:#c1b5a9!important;}
html[data-theme="dark"] .env-editor h2{color:#c6d0be;}
html[data-theme="dark"] .env-page .field{color:#c7cfbf;}
html[data-theme="dark"] .env-page .field input,html[data-theme="dark"] .env-page .field select{border:1px solid #464e3c;background:#1e2314;color:#c6d0be;}
html[data-theme="dark"] .env-entity-settings{border-top:1px solid #474d3c;}
html[data-theme="dark"] .env-entity-settings>summary{color:#b4c0aa;}
html[data-theme="dark"] .env-note{color:#b5bfac;}
html[data-theme="dark"] .env-credential{border:1px solid #464e3b;background:#1d2414;}
html[data-theme="dark"] .env-credential h2{color:#c6d0be;}
html[data-theme="dark"] .env-credential>p{color:#b5beac;}
html[data-theme="dark"] .env-error{border:1px solid #514639;background:#251e14;color:#d1c8bd;}
html[data-theme="dark"] .env-page .env-note,html[data-theme="dark"] .env-page .env-method,html[data-theme="dark"] .env-setup li p,html[data-theme="dark"] .env-connection-summary>span,html[data-theme="dark"] .env-metric>p{color:#c6ccc2;}
html[data-theme="dark"] .env-setup li b,html[data-theme="dark"] .env-connection-summary>b{color:#c6cfbf;}
html[data-theme="dark"] .env-official-links a{color:#c7cfbf;}
html[data-theme="dark"] .env-install-guide{border-top:1px solid #484e3c;}
html[data-theme="dark"] .env-install-guide>summary{color:#c6cfbf;}
html[data-theme="dark"] .env-install-guide>p{color:#c7cdc1;}
html[data-theme="dark"] .env-install-guide>a{color:#c6cfbe;border-bottom:1px solid #464e3c;}
html[data-theme="dark"]{--muted:#c5c9c7;}
html[data-theme="dark"] .ux-help{color:#c3cbc6;}
html[data-theme="dark"] .ux-help>summary{color:#dce5e1;}
html[data-theme="dark"] .ux-disclosure>summary{color:#dbe6e2;}
html[data-theme="dark"] .ux-disclosure>summary small{color:#c5c9c7;}
html[data-theme="dark"] .ux-disclosure>.card{background:transparent;}
html[data-theme="dark"] .ux-disclosure .ux-details-body{color:#c3cbc7;}
html[data-theme="dark"] .ux-optional-note{color:#c5c9c7;}
html[data-theme="dark"] .ux-budget-grid span{color:#c5c9c7;}
html[data-theme="dark"] .live-hero .ux-start-actions .btn{background:#23281b;color:#d8e8e4;border:1px solid #454c3d;}
html[data-theme="dark"] .live-hero .ux-start-actions .btn.outline{background:transparent;color:#ecf1e5;}
html[data-theme="dark"] .ux-guide>.guide-panel{border:1px solid #464941;background:#1c1919;}
html[data-theme="dark"] .ux-guide .guide-lead,html[data-theme="dark"] .ux-guide-intro>p{color:#c4cac6;}
html[data-theme="dark"] .ux-start-options{border-top:1px solid #464941;}
html[data-theme="dark"] .ux-start-options>button{border:1px solid #464941;background:#1d1f19;}
html[data-theme="dark"] .ux-start-options>button:hover{border-color:#424842;background:#1e221a;}
html[data-theme="dark"] .ux-start-options .ux-option-number{color:#c4cac4;border:1px solid #444c3e;}
html[data-theme="dark"] .ux-start-options small{color:#c4cac6;}
html[data-theme="dark"] .ux-guide .guide-small{color:#c4cac6;}
html[data-theme="dark"] .ux-guide .guide-instructions p{color:#c4cac6;}
html[data-theme="dark"] .ux-device-progress{color:#c3cbc4;}
@media (max-width:700px){html[data-theme="dark"] .ux-budget-grid>div{border-bottom:1px solid #464941;}}
html[data-theme="dark"] summary:focus-visible{outline:3px solid #454f3b;}
html[data-theme="dark"] .dc-summary{background:#1c1919;border:1px solid #464941;}
html[data-theme="dark"] .dc-summary>div{border-right:1px solid #464941;}
html[data-theme="dark"] .dc-summary span{color:#c4cac6;}
html[data-theme="dark"] .dc-summary>div:nth-child(3) b{color:#d7c5b7;}
html[data-theme="dark"] .dc-filters{border:1px solid #464941;background:#1f221b;}
html[data-theme="dark"] .dc-filters button{color:#c4cac5;}
html[data-theme="dark"] .dc-filters button.active{background:#1c1919;color:#d9e8e3;box-shadow:0 1px 3px rgba(0,0,0,0.06275);}
html[data-theme="dark"] .dc-checked{color:#c4c9c6;}
html[data-theme="dark"] .dc-card{background:#1c1919;border:1px solid #464941;}
html[data-theme="dark"] .dc-card:hover,html[data-theme="dark"] .dc-card.selected{border-color:#414942;box-shadow:0 4px 16px rgba(0,0,0,0.03137);}
html[data-theme="dark"] .dc-card.offline{border-color:#513f39;}
html[data-theme="dark"] .dc-card.attention{border-color:#514938;}
html[data-theme="dark"] .dc-icon{color:#bfcfc8;background:#1d211a;}
html[data-theme="dark"] .dc-icon.thermometer{background:#251e17;color:#d3c7bb;}
html[data-theme="dark"] .dc-icon.cgm{background:#231b19;color:#d1c0bd;}
html[data-theme="dark"] .dc-icon.scale{background:#1a1d22;color:#c1c7cd;}
html[data-theme="dark"] .dc-icon.speaker{background:#1c1922;color:#c6c0ce;}
html[data-theme="dark"] .dc-status{background:#1e201c;color:#c6c9c4;}
html[data-theme="dark"] .dc-status.fresh,html[data-theme="dark"] .dc-status.online{background:#1c231a;color:#c3cfbf;}
html[data-theme="dark"] .dc-status.attention{background:#282216;color:#d7cab7;}
html[data-theme="dark"] .dc-status.offline{background:#261a16;color:#d3bfba;}
html[data-theme="dark"] .dc-status.planned,html[data-theme="dark"] .dc-status.paused{background:#1c1d1f;color:#c4c6ca;}
html[data-theme="dark"] .dc-model{color:#c5c9c6;}
html[data-theme="dark"] .dc-card-data>span{color:#c5c9c4;}
html[data-theme="dark"] .dc-card-bottom{border-top:1px solid #474a40;color:#c5c9c5;}
html[data-theme="dark"] .dc-detail-title>svg{color:#c1cdc6;}
html[data-theme="dark"] .dc-guidance{color:#c3cac5;}
html[data-theme="dark"] .dc-facts>div{border-bottom:1px solid #464941;}
html[data-theme="dark"] .dc-facts dt{color:#c5c9c5;}
html[data-theme="dark"] .dc-metrics>span{background:#1e201b;color:#c5cac4;}
html[data-theme="dark"] .dc-note{color:#c4cac4;}
html[data-theme="dark"] .dc-catalog-grid>button{border:1px dashed #454b3f;background:#1d1f18;}
html[data-theme="dark"] .dc-catalog-grid>button:hover{background:#1e231a;border-color:#434a40;}
html[data-theme="dark"] .dc-catalog-grid svg{color:#c4cdc1;}
html[data-theme="dark"] .dc-catalog-grid span{color:#c6cac4;}
html[data-theme="dark"] .dc-empty svg{color:#b3beac;}
html[data-theme="dark"] .dc-empty p{color:#c5cac4;}
html[data-theme="dark"] .dc-error{background:#272015;border:1px solid #544936;color:#d5c9b9;}
html[data-theme="dark"] .dc-discovered{border-bottom:1px solid #464941;}
html[data-theme="dark"] .dc-discovered span{color:#c5cac4;}
html[data-theme="dark"] .dc-editor input,html[data-theme="dark"] .dc-editor select,html[data-theme="dark"] .dc-credential input{border:1px solid #454b3f;background:#1e2117;color:#bfcec5;}
html[data-theme="dark"] .dc-archive{color:#d0c5be;}
html[data-theme="dark"] .dc-credential{background:#1e2416;border-color:#454e3b;}
html[data-theme="dark"] .dc-credential>p{color:#c4cdc0;}
@media (max-width:700px){html[data-theme="dark"] .dc-summary>div{border-bottom:1px solid #464941;}}
html[data-theme="dark"] .dc-manual-source{background:#1e2218;border-color:#454e3b;}
html[data-theme="dark"] .dc-manual-source p{color:#c5ccc2;}
html[data-theme="dark"] .mr-tabs{background:#1f221b;}
html[data-theme="dark"] .mr-tabs>button.active{background:#1c1919;box-shadow:0 1px 3px rgba(0,0,0,0.0549);}
html[data-theme="dark"] .mr-editor input,html[data-theme="dark"] .mr-editor select{border:1px solid #444b3f;color:#dce5df;background:#1f2215;}
html[data-theme="dark"] .mr-editor .field small{color:#c6cac4;}
html[data-theme="dark"] .mr-record{border-bottom:1px solid #464941;}
html[data-theme="dark"] .mr-record p{color:#c5c9c4;}
html[data-theme="dark"] .mr-record small{color:#c6cbc3;}
html[data-theme="dark"] .mr-links a{border-bottom:1px solid #464941;}
html[data-theme="dark"] .mr-links small{color:#c6cac4;}
html[data-theme="dark"] .mr-error{color:#d5c5b9;}
html[data-theme="dark"] .mr-welcome{background:#1e2218;border-color:#444e3c;}
html[data-theme="dark"] .mr-welcome p{color:#c5ccc2;}
html[data-theme="dark"] .ws-shell{color:#dbe6e1;}
html[data-theme="dark"] .ws-wordmark{color:#c1cdc6;}
html[data-theme="dark"] .ws-kicker{color:#c5cac4;}
html[data-theme="dark"] .ws-intro p{color:#c5cac4;}
html[data-theme="dark"] .ws-steps li{color:#c7cac4;}
html[data-theme="dark"] .ws-steps li>span{border:1px solid #454b3f;}
html[data-theme="dark"] .ws-steps .current{color:#d9e7e2;}
html[data-theme="dark"] .ws-steps .current>span{background:#21392f;border-color:#3b4f47;color:#ebebeb;}
html[data-theme="dark"] .ws-steps .done{color:#c3cfbf;}
html[data-theme="dark"] .ws-steps .done>span{background:#20251a;border-color:#444e3b;}
html[data-theme="dark"] .ws-help{color:#c6cac3;}
html[data-theme="dark"] .ws-panel{background:#1c1919;border:1px solid #474b3f;box-shadow:0 12px 50px rgba(0,0,0,0.01961);}
html[data-theme="dark"] .ws-lead{color:#c6c9c4;}
html[data-theme="dark"] .ws-option{border:1px solid #464b3e;background:#1c1919;}
html[data-theme="dark"] .ws-option:hover{border-color:#434b3f;background:#1e2216;}
html[data-theme="dark"] .ws-option.selected{background:#1e2319;border-color:#444b3e;}
html[data-theme="dark"] .ws-option-icon{color:#c4cec0;}
html[data-theme="dark"] .ws-option small,html[data-theme="dark"] .ws-module small{color:#c6cac4;}
html[data-theme="dark"] .ws-check{border:1px solid #454b3e;}
html[data-theme="dark"] .selected>.ws-check{background:#3a4d33;border-color:#414c3d;color:#ebebeb;}
html[data-theme="dark"] .ws-actions{border-top:1px solid #464b3f;}
html[data-theme="dark"] .ws-skip>span{color:#c7cac4;}
html[data-theme="dark"] .ws-save-note{color:#c7cac4;}
html[data-theme="dark"] .ws-no-device{color:#c5cbc3;}
html[data-theme="dark"] .ws-no-device.active{color:#bfd4ba;}
html[data-theme="dark"] .ws-ai-choice{border-top:1px solid #464b3e;}
html[data-theme="dark"] .ws-ai-choice>.ws-module{background:transparent;}
html[data-theme="dark"] .ws-ai-choice>small{color:#c7cac4;}
html[data-theme="dark"] .ws-module{border-bottom:1px solid #474b3f;background:transparent;}
html[data-theme="dark"] .ws-switch{background:#22241e;}
html[data-theme="dark"] .ws-switch>i{background:#1c1919;box-shadow:0 1px 2px rgba(0,0,0,0.1255);}
html[data-theme="dark"] .selected>.ws-switch{background:#3a4c33;}
html[data-theme="dark"] .ws-core{border:1px solid #464d3d;background:#1e2218;}
html[data-theme="dark"] .ws-core>span{color:#c4cfbf;}
html[data-theme="dark"] .ws-core small{color:#c6cac3;}
html[data-theme="dark"] .ws-more summary{color:#c6cbc3;}
html[data-theme="dark"] .ws-more summary>span{color:#c7cbc3;}
html[data-theme="dark"] .ws-footnote{color:#c7cac4;}
html[data-theme="dark"] .ws-side-note{color:#c5ccc2;}
html[data-theme="dark"] .ws-error{background:#261d15;border:1px solid #524538;color:#d8c5b6;}
html[data-theme="dark"] .ws-shell button:focus-visible,html[data-theme="dark"] .ws-shell a:focus-visible,html[data-theme="dark"] .ws-shell summary:focus-visible{outline:2px solid #434b3f;}
html[data-theme="dark"] .setup-required .topbar{background:transparent;}
@media (min-width:651px){html[data-theme="dark"] .sidebar #nav .nav-group-label{color:#aebcb4;}}
@media (max-width:650px){html[data-theme="dark"] .sidebar #nav .nav-group+.nav-group:before{background:#22261e;}}
html[data-theme="dark"] .sidebar #nav .nav-link:focus-visible{outline:2px solid #4b5436;}
html[data-theme="dark"] .rh-head{border-bottom:1px solid #464941;}
html[data-theme="dark"] .rh-type-options>label{border:1px solid #454940;background:#1d2116;}
html[data-theme="dark"] .rh-type-options>label:has(input:checked){background:#1f2319;border-color:#444a3f;}
html[data-theme="dark"] .rh-type-options>label:nth-child(2){background:#211616;}
html[data-theme="dark"] .rh-type-options>label:nth-child(2):has(input:checked){background:#221a19;border-color:#4b403f;}
html[data-theme="dark"] .rh-type-icon{color:#c5ccc2;}
html[data-theme="dark"] .rh-type-options>label:nth-child(2) .rh-type-icon{color:#bfaeab;}
html[data-theme="dark"] .rh-type-options small{color:#c6cac4;}
html[data-theme="dark"] .rh-disabled>span{background:#1f2219;color:#c6cec0;}
html[data-theme="dark"] .training-calendar-nav button{border:1px solid #464941;background:#1c1919;}
html[data-theme="dark"] .training-calendar-weekdays{color:#c5c9c7;}
html[data-theme="dark"] .training-calendar .training-calendar-day{border:1px solid #464941;background:#1c1919;color:#dbe6e2;}
html[data-theme="dark"] .training-calendar .training-calendar-day.is-trained{color:#ebebeb;}
html[data-theme="dark"] .training-calendar .training-calendar-day.is-trained:hover{background:#5d2328;color:#ebebeb;}
html[data-theme="dark"] .training-calendar .training-calendar-day.is-today{outline:2px solid #3e4c47;}
html[data-theme="dark"] .training-calendar .training-calendar-day:disabled{background:#1f221a;color:#c5c9c7;}
html[data-theme="dark"] .training-calendar-footer{color:#c5c9c7;}
html[data-theme="dark"] .training-calendar-legend i{border:1px solid #464941;background:#1c1919;}
html[data-theme="dark"] html[data-theme="dark"] .training-calendar .training-calendar-day.is-trained{color:#ebebeb;}
html[data-theme="dark"] .chart-controls button{border:1px solid #464941;background:#1c1919;color:#dbe6e2;}
html[data-theme="dark"] .health-trend-chart .chart-hit.is-selected .chart-raw-dot,html[data-theme="dark"] .health-trend-chart .chart-hit:hover .chart-raw-dot,html[data-theme="dark"] .health-trend-chart .chart-hit:focus-visible .chart-raw-dot{stroke:#454545;}
html[data-theme="dark"] .chart-reading{border-top:1px solid #464941;}
html[data-theme="dark"] .chart-reading span{color:#c5c9c7;}
html[data-theme="dark"] .chart-reading b{color:#dbe6e2;}
html[data-theme="dark"] .chart-reading small{color:#c5c9c7;}
html[data-theme="dark"] .chart-comparison{background:#1f221a;color:#dbe6e2;}
html[data-theme="dark"] .chart-method{color:#c5c9c7;}
html[data-theme="dark"] html[data-theme="dark"] .chart-controls button{background:#1c1919;border-color:#464941;color:#dbe6e2;}
html[data-theme="dark"] .chart-reference-head>div>span{color:#c5c9c7;}
html[data-theme="dark"] .chart-reference-head b{color:#dbe6e2;}
html[data-theme="dark"] .chart-reference-head>p{color:#c5c9c7;}
html[data-theme="dark"] .chart-stage-card{border:1px solid #464941;background:#1f221a;}
html[data-theme="dark"] .chart-stage-title>span{color:#c5c9c7;}
html[data-theme="dark"] .chart-stage-title>b{color:#dbe6e2;}
html[data-theme="dark"] .chart-stage-values span{color:#c5c9c7;}
html[data-theme="dark"] .chart-stage-values strong{color:#dbe6e2;}
html[data-theme="dark"] .chart-stage-values>div>small{color:#c5c9c7;}
html[data-theme="dark"] .chart-stage-empty{color:#c5c9c7;}
html[data-theme="dark"] .meal-type-field legend{color:#c6ccc2;}
html[data-theme="dark"] .meal-type-options span{border:1px solid #464941;color:#dbe6e2;background:#1f2118;}
html[data-theme="dark"] .meal-type-options input:checked+span{background:#172b25;border-color:#3a504a;color:#ebebeb;}
html[data-theme="dark"] .meal-type-options input:focus-visible+span{outline:2px solid #414945;}
html[data-theme="dark"] .hydration-total strong{color:#dbe6e2;}
html[data-theme="dark"] .hydration-total>span{color:#c6cbc3;}
html[data-theme="dark"] .hydration-symbol{color:#c1ccc8;}
html[data-theme="dark"] .hydration-history{border-top:1px solid #464941;}
html[data-theme="dark"] .hydration-history summary{color:#c6cbc2;}
html[data-theme="dark"] .account-menu{border:1px solid #464941;background:#1c1919;color:#dbe6e2;box-shadow:0 24px 80px rgba(0,0,0,0.1882);}
html[data-theme="dark"] .account-menu::backdrop{background:rgba(21,41,34,0.349);}
html[data-theme="dark"] .account-menu-close{background:transparent;color:#c5c9c7;}
html[data-theme="dark"] .account-current small,html[data-theme="dark"] .account-option small{color:#c5c9c7;}
html[data-theme="dark"] .account-initial,html[data-theme="dark"] .account-small-initial{background:#1f221a;color:#dbe6e2;}
html[data-theme="dark"] .account-menu-label{color:#c5c9c7;}
html[data-theme="dark"] .account-option{border:1px solid transparent;background:transparent;color:#dbe6e2;}
html[data-theme="dark"] .account-option:hover,html[data-theme="dark"] .account-option[aria-current=true]{background:#1f221a;}
html[data-theme="dark"] .account-option-state{color:#c5c9c7;}
html[data-theme="dark"] .account-menu-tools{border-top:1px solid #464941;border-bottom:1px solid #464941;}
html[data-theme="dark"] .account-menu-tools button,html[data-theme="dark"] .account-menu-tools a{background:transparent;color:#dbe6e2;}
html[data-theme="dark"] .account-menu-tools button:hover,html[data-theme="dark"] .account-menu-tools a:hover{background:#1f221a;}
html[data-theme="dark"] .account-signout{background:transparent;color:#d9b6b5;}
html[data-theme="dark"] .account-signout:hover{background:#241816;}
html[data-theme="dark"] .account-menu-note{color:#c5c9c7;}
html[data-theme="dark"] .account-menu-error{color:#d9b6b5;}
html[data-theme="dark"] .login-accounts{border-bottom:1px solid #464941;}
html[data-theme="dark"] .login-accounts p{color:#c5c9c7;}
html[data-theme="dark"] .login-accounts .account-option{border-color:#464941;}
html[data-theme="dark"] .account-menu button:focus-visible,html[data-theme="dark"] .account-menu a:focus-visible,html[data-theme="dark"] .login-accounts button:focus-visible{outline:2px solid #3e4c47;}
html[data-theme="dark"] .usage-ranges{background:#1f221a;}
html[data-theme="dark"] .usage-ranges button{color:#c5c9c7;}
html[data-theme="dark"] .usage-ranges button[aria-pressed=true]{background:#1c1919;color:#dbe6e2;box-shadow:0 2px 7px rgba(0,0,0,0.05098);}
html[data-theme="dark"] .usage-scope,html[data-theme="dark"] .usage-subtle,html[data-theme="dark"] .usage-unit,html[data-theme="dark"] .usage-count{color:#c5c9c7;}
html[data-theme="dark"] .usage-kpis span{color:#c5c9c7;}
html[data-theme="dark"] .usage-kpis small{color:#c5c9c7;}
html[data-theme="dark"] .usage-budget p{color:#c5c9c7;}
html[data-theme="dark"] .usage-budget>div>span:not(.section-label){color:#c5c9c7;}
html[data-theme="dark"] .usage-budget-note{border-top:1px solid #464941;}
html[data-theme="dark"] .usage-bars{border-bottom:1px solid #464941;}
html[data-theme="dark"] .usage-bar{background:#203d35;}
html[data-theme="dark"] .usage-bar.is-unknown{background:#5a3a26;}
html[data-theme="dark"] .usage-bar-tip{background:#1b2924;color:#ebebeb;}
html[data-theme="dark"] .usage-axis{color:#c5c9c7;}
html[data-theme="dark"] .usage-table th{color:#c5c9c7;border-bottom:1px solid #464941;}
html[data-theme="dark"] .usage-table td{border-bottom:1px solid #464941;}
html[data-theme="dark"] .usage-table small{color:#c5c9c7;}
html[data-theme="dark"] .usage-status{background:#1f221a;color:#d8e9e4;}
html[data-theme="dark"] .usage-status.is-pending{background:#271f15;color:#d7c5b6;}
html[data-theme="dark"] .usage-self summary{color:#c5c9c7;}
html[data-theme="dark"] .usage-empty{color:#c5c9c7;}
html[data-theme="dark"] .usage-empty-mark{background:#1f221a;color:#d8e9e4;}
html[data-theme="dark"] .usage-empty h2,html[data-theme="dark"] .usage-empty h3{color:#dbe6e2;}
html[data-theme="dark"] .usage-alert{border:1px solid #534937;background:#261f14;color:#d8c9b5;}
html[data-theme="dark"] .usage-updated{color:#c5c9c7;}
html[data-theme="dark"] .aw-thread-delete{color:#c5c9c7;}
html[data-theme="dark"] .aw-thread-row:hover .aw-thread-delete,html[data-theme="dark"] .aw-thread-delete:focus-visible{color:#d6b9b8;}
html[data-theme="dark"] .aw-privacy-toggle{border:1px solid #464941;color:#c5c9c7;}
html[data-theme="dark"] .aw-privacy-toggle.is-private{color:#c6bed0;background:#1c1822;border-color:#433a50;}
html[data-theme="dark"] .aw-privacy-note{background:#1c1623;border-bottom:1px solid #463c4e;color:#c7c0ce;}
html[data-theme="dark"] .aw-delete-visible:hover,html[data-theme="dark"] .aw-message-delete:hover{color:#d6b9b8;background:#241816;}
html[data-theme="dark"] .aw-memory-remove{color:#d1bebc;}
html[data-theme="dark"] .aw-memory-remove:hover{color:#dab6b4;}
html[data-theme="dark"] .aw-delete-confirm::backdrop{background:rgba(22,40,34,0.3333);}
html[data-theme="dark"] .aw-delete-mark{background:#251915;color:#d6b9b8;}
html[data-theme="dark"] .aw-delete-confirm p{color:#c5c9c7;}
html[data-theme="dark"] .aw-confirm-danger{background:#542e2c;color:#ebebeb;}
html[data-theme="dark"] .aw-confirm-danger:hover{background:#562c2a;}
html[data-theme="dark"] .aw-evidence{border-top:1px solid #464941;color:#c5c9c7;}
html[data-theme="dark"] .rh-calendar-days .rh-day.is-selected{outline:2px solid #3a504a;}
html[data-theme="dark"] .rh-calendar-days .rh-day.daily{background:#1f221a;}
html[data-theme="dark"] .recovery-reference{background:linear-gradient(135deg,#1c1919,#1b2019);border-color:#404941;}
html[data-theme="dark"] .recovery-badge{background:#1c211c;color:#c1cdc8;}
html[data-theme="dark"] .recovery-mark{background:#1c221d;color:#bfcfc8;}
html[data-theme="dark"] .recovery-headline p{color:#c5c9c6;}
html[data-theme="dark"] .recovery-changed .recovery-mark,html[data-theme="dark"] .recovery-review .recovery-mark{background:#262018;color:#d5c7b9;}
html[data-theme="dark"] .recovery-changed .recovery-badge,html[data-theme="dark"] .recovery-review .recovery-badge{background:#262118;color:#d4c8ba;}
html[data-theme="dark"] .recovery-factor{border-top:3px solid #404943;}
html[data-theme="dark"] .recovery-factor b{color:#c4cac7;}
html[data-theme="dark"] .recovery-factor strong small{color:#c5c9c6;}
html[data-theme="dark"] .recovery-factor>span{color:#c2ccc6;}
html[data-theme="dark"] .recovery-factor>small{color:#b2b8b4;}
html[data-theme="dark"] .recovery-factor.factor-low,html[data-theme="dark"] .recovery-factor.factor-high{border-color:#50463a;}
html[data-theme="dark"] .recovery-factor.factor-low>span,html[data-theme="dark"] .recovery-factor.factor-high>span{color:#d4c7b9;}
html[data-theme="dark"] .recovery-factor.factor-building,html[data-theme="dark"] .recovery-factor.factor-missing,html[data-theme="dark"] .recovery-factor.factor-unsupported,html[data-theme="dark"] .recovery-factor.factor-review{border-color:#424843;}
html[data-theme="dark"] .recovery-factor.factor-building>span,html[data-theme="dark"] .recovery-factor.factor-missing>span,html[data-theme="dark"] .recovery-factor.factor-unsupported>span{color:#b2b8b4;}
html[data-theme="dark"] .recovery-footer{border-top:1px solid #414941;color:#c5c9c6;}
html[data-theme="dark"] .overview-status{color:#c5c9c6;}
html[data-theme="dark"] .overview-status-label i{background:#39473d;}
html[data-theme="dark"] .overview-status-label.is-delayed i{background:#513f2f;}
html[data-theme="dark"] .overview-status-label.is-delayed,html[data-theme="dark"] .overview-warning{color:#d5c6b8;}
html[data-theme="dark"] .overview-metric-grid{background:#1e221e;}
html[data-theme="dark"] .overview-metric{background:#1c1919;}
html[data-theme="dark"] .overview-metric-label{color:#c3cbc7;}
html[data-theme="dark"] .overview-metric-label>small{color:#b2b8b4;}
html[data-theme="dark"] .overview-metric-value>b>small{color:#c5c9c6;}
html[data-theme="dark"] .overview-sparkline{color:#c2ccc8;}
html[data-theme="dark"] .overview-sparkline circle{fill:#94c2b4;stroke:#454545;}
html[data-theme="dark"] .overview-metric-source{color:#b2b8b4;}
html[data-theme="dark"] .overview-metric-source summary:hover{color:#bed0c7;}
html[data-theme="dark"] .overview-metric-source[open] summary{color:#bed0c7;}
html[data-theme="dark"] .overview-chart-details,html[data-theme="dark"] .overview-sleep-details,html[data-theme="dark"] .overview-baseline{color:#c4cac6;}
html[data-theme="dark"] .overview-baseline{border-top:1px solid #414841;}
html[data-theme="dark"] .overview-comparison{border-bottom:1px solid #424941;}
html[data-theme="dark"] .overview-comparison small{color:#b2b8b3;}
html[data-theme="dark"] .live-metrics{background:#1c1919;border:1px solid #464941;}
html[data-theme="dark"] .live-metric{border-right:1px solid #464941;}
html[data-theme="dark"] .overview-manual-grid .overview-metric:nth-child(4n){border-right:1px solid #464941;}
html[data-theme="dark"] .workout-history-row{border-top:1px solid #464941;}
html[data-theme="dark"] .workout-history-row>summary>time{color:#c5c9c7;}
html[data-theme="dark"] .workout-history-row>summary>span:after{color:#c5c9c7;}
html[data-theme="dark"] .session-pr-banner{background:#1c1919;border:1px solid #464941;}
html[data-theme="dark"] .capture-review-empty>span{background:transparent;}
html[data-theme="dark"] .aw-header .aw-brand{background:transparent;}
html[data-theme="dark"] .dc-icon{background:transparent;}
html[data-theme="dark"] .dc-catalog-grid>button{background:#1c1919;}
html[data-theme="dark"] .dc-manual-source{background:#1c1919;}
html[data-theme="dark"] .med-status-hero:not(.warning){background:#1c1919;color:#dbe6e2;border:1px solid #464941;}
html[data-theme="dark"] .med-status-hero:not(.warning) p,html[data-theme="dark"] .med-status-hero:not(.warning) .med-hero-eyebrow{color:#c5c9c7;}
html[data-theme="dark"] .feedback-contact-icon{background:transparent;}
html[data-theme="dark"] .ux-guide-intro{background:#1c1919;border:1px solid #464941;}
html[data-theme="dark"] .usage-kpis{border:1px solid #464941;background:#1c1919;}
html[data-theme="dark"] .usage-empty-mark{background:transparent;}
@media (max-width:650px){html[data-theme="dark"] .live-metric{border-bottom:1px solid #464941;}}
html[data-theme="dark"] .env-metric.temperature,html[data-theme="dark"] .env-metric.humidity{background:#1c1919;border-color:#464941;}
html[data-theme="dark"] .record-empty-row{border-top:1px solid #464941;color:#c5c9c7;}
html[data-theme="dark"] .record-date-heading>label{color:#c5c9c7;}
html[data-theme="dark"] .record-date-heading input,html[data-theme="dark"] .health-date-label input{color:#dbe6e2;background:#1c1919;border:1px solid #464941;}
html[data-theme="dark"] .record-date-days>button{border:1px solid #464941;background:#1c1919;color:#dbe6e2;}
html[data-theme="dark"] .record-date-days>button small{color:#c5c9c7;}
html[data-theme="dark"] .record-date-days>button[aria-pressed="true"]{border-color:#3a504a;background:#1f221a;box-shadow:inset 0 0 0 1px #000000;}
html[data-theme="dark"] .record-backfill-label{color:#c5c9c7;}
html[data-theme="dark"] .rh-day.is-selected{outline:2px solid #3a504a;}
html[data-theme="dark"] .workspace-tools>summary{border:1px solid #464941;background:#1c1919;}
html[data-theme="dark"] .workspace-tools>nav{border:1px solid #464941;background:#1c1919;box-shadow:0 12px 28px rgba(0,0,0,0.07843);}
html[data-theme="dark"] .workspace-tools>nav>a,html[data-theme="dark"] .workspace-tools>nav>a.demo-badge,html[data-theme="dark"] .workspace-tools>nav>a.ai-settings-entry{background:transparent;color:#dbe6e2;}
html[data-theme="dark"] .workspace-tools>nav>a:hover{background:#1f221a;}
html[data-theme="dark"] .overview-start{border-top:1px solid #464941;}
html[data-theme="dark"] .overview-start>p{color:#c5c9c7;}
html[data-theme="dark"] .overview-sync-help{background:transparent;}
html[data-theme="dark"] .live-source{border-top:1px solid #464941;color:#c5c9c7;}
html[data-theme="dark"] .ai-action-strip{border-top:1px solid #464941;}
html[data-theme="dark"] .ai-action-strip .btn{background:#1c1919;border:1px solid #464941;color:#dbe6e2;}
html[data-theme="dark"] .nutrition-summary{border-bottom:1px solid #464941;color:#c5c9c7;}
html[data-theme="dark"] .nutrition-summary b{color:#dbe6e2;}
html[data-theme="dark"] .nutrition-side .hydration-actions>.btn:last-child{background:#1c1919;border-color:#464941;color:#dbe6e2;}
html[data-theme="dark"] .nutrition-energy small{color:#c5c9c7;}
html[data-theme="dark"] .journal-date input{color:#dbe6e2;background:#1c1919;border:1px solid #464941;}
html[data-theme="dark"] .rh-settings:not([open]){background:transparent;}
html[data-theme="dark"] .med-notification-settings>summary>span{color:#c5c9c7;}
html[data-theme="dark"] .med-notification-settings .med-push-card{background:transparent;}
html[data-theme="dark"] .overview-metric:hover{background:#1f221a;}
html[data-theme="dark"] .overview-metric-open:focus-visible:after{outline:2px solid #3a504a;}
html[data-theme="dark"] .achievements-page .page-head p{color:#c5c9c7;}
html[data-theme="dark"] .achievement-collection-summary{border-bottom:1px solid #464941;}
html[data-theme="dark"] .achievement-stats>span{color:#c5c9c7;}
html[data-theme="dark"] .achievement-stats b{color:#dbe6e2;}
html[data-theme="dark"] .achievement-stats b small{color:#c5c9c7;}
html[data-theme="dark"] .achievement-level>span{color:#c5c9c7;}
html[data-theme="dark"] .achievement-level b{color:#dbe6e2;}
html[data-theme="dark"] .achievement-level progress,html[data-theme="dark"] .achievement-detail progress{background:#21221e;}
html[data-theme="dark"] .achievement-level small{color:#c5c9c7;}
html[data-theme="dark"] .achievement-next{border-bottom:1px solid #464941;}
html[data-theme="dark"] .achievement-next>span{color:#c5c9c7;}
html[data-theme="dark"] .achievement-filters button{border:1px solid #464941;background:#1c1919;color:#c5c9c7;}
html[data-theme="dark"] .achievement-filters button.active{background:#203d35;border-color:#3a504a;color:#ebebeb;}
html[data-theme="dark"] .achievement-categories button{color:#c5c9c7;}
html[data-theme="dark"] .achievement-categories button[aria-pressed=true]{background:#1f221a;color:#dbe6e2;}
html[data-theme="dark"] .achievement-group-heading>span{color:#c5c9c7;}
html[data-theme="dark"] .achievement-item{border:1px solid #464941;background:#1c1919;color:#dbe6e2;}
html[data-theme="dark"] .achievement-item.is-earned{border-color:color-mix(in srgb,var(--collection-accent) 36%,#464941);background:radial-gradient(ellipse at 50% 28%,color-mix(in srgb,var(--collection-accent) 10%,transparent),transparent 70%),#1c1919;}
html[data-theme="dark"] .achievement-item:hover{box-shadow:0 5px 17px rgba(0,0,0,0.04314);}
html[data-theme="dark"] .achievement-item.is-mystery{background:radial-gradient(ellipse at 50% 25%,rgba(61,54,74,0.04706),transparent 75%),#1c1919;}
html[data-theme="dark"] .achievement-card-top{color:#c5c9c7;}
html[data-theme="dark"] .achievement-item.is-earned .achievement-card-status{color:#d8e9e4;}
html[data-theme="dark"] .achievement-card-rule{color:#c5c9c7;}
html[data-theme="dark"] .achievement-card-bottom{color:#c5c9c7;}
html[data-theme="dark"] .achievement-item progress{background:#21221e;}
html[data-theme="dark"] .achievement-item progress::-webkit-progress-bar,html[data-theme="dark"] .achievement-level progress::-webkit-progress-bar,html[data-theme="dark"] .achievement-detail progress::-webkit-progress-bar{background:#21221e;}
html[data-theme="dark"] .achievement-level progress::-webkit-progress-value,html[data-theme="dark"] .achievement-detail progress::-webkit-progress-value{background:#203d35;}
html[data-theme="dark"] .achievement-level progress::-moz-progress-bar,html[data-theme="dark"] .achievement-detail progress::-moz-progress-bar{background:#203d35;}
html[data-theme="dark"] .achievement-item.is-earned::after{background:linear-gradient(90deg,transparent,rgba(28,25,25,0.2078),transparent);}
html[data-theme="dark"] .achievement-empty{color:#c5c9c7;}
html[data-theme="dark"] .achievement-options{border-top:1px solid #464941;}
html[data-theme="dark"] .achievement-options summary{color:#c5c9c7;}
html[data-theme="dark"] .achievement-options p{color:#c5c9c7;}
html[data-theme="dark"] .achievement-detail-tier{color:#c5c9c7;}
html[data-theme="dark"] .achievement-detail .achievement-detail-status{color:#d8e9e4;}
html[data-theme="dark"] .achievement-detail-progress{color:#c5c9c7;}
html[data-theme="dark"] .achievement-detail>small{color:#c5c9c7;}
html[data-theme="dark"] .achievement-overview{border-bottom:1px solid #464941;color:#c5c9c7;}
html[data-theme="dark"] .achievement-overview b{color:#dbe6e2;}
html[data-theme="dark"] .achievement-celebration{border:1px solid color-mix(in srgb,var(--collection-accent) 60%,#464941);background:#1c1919;box-shadow:0 12px 50px rgba(0,0,0,0.2);}
html[data-theme="dark"] .achievement-dismiss{color:#c5c9c7;}
html[data-theme="dark"] .achievement-celebration small{color:#c5c9c7;}
html[data-theme="dark"] .achievement-celebration p{color:#c5c9c7;}
html[data-theme="dark"] .achievement-celebration-rays{background:repeating-conic-gradient(from 0deg,transparent 0 20deg,rgba(58,50,31,0.2078) 20deg 22deg,transparent 22deg 45deg);}
html[data-theme="dark"] .achievements-page button:focus-visible,html[data-theme="dark"] .achievement-overview:focus-visible,html[data-theme="dark"] .achievement-celebration button:focus-visible{outline:2px solid #3a504a;}
html[data-theme="dark"] .medical-privacy{border:1px solid #464941;background:#1c1919;}
html[data-theme="dark"] .medical-privacy .icon{color:#d8e9e4;}
html[data-theme="dark"] .medical-privacy>b{background:#1f221a;color:#d8e9e4;}
html[data-theme="dark"] .medical-privacy p{color:#c5c9c7;}
html[data-theme="dark"] .medical-error,html[data-theme="dark"] .medical-progress{border:1px solid #464941;background:#1c1919;}
html[data-theme="dark"] .medical-error{color:#cfb09b;}
html[data-theme="dark"] .medical-kicker{color:#c5c9c7;}
html[data-theme="dark"] .medical-actions>span{color:#c5c9c7;}
html[data-theme="dark"] .medical-facts{border-bottom:1px solid #464941;}
html[data-theme="dark"] .medical-facts dt{color:#c5c9c7;}
html[data-theme="dark"] .medical-attachments{border-top:1px solid #464941;}
html[data-theme="dark"] .medical-file{border-bottom:1px solid #464941;}
html[data-theme="dark"] .medical-file-symbol{border:1px solid #464941;background:#1f221a;color:#d8e9e4;}
html[data-theme="dark"] .medical-file small{color:#c5c9c7;}
html[data-theme="dark"] .medical-format-note{color:#c5c9c7;}
html[data-theme="dark"] .medical-empty-inline{color:#c5c9c7;}
html[data-theme="dark"] .medical-danger{color:#cfb09b;}
html[data-theme="dark"] .medical-list-tools input,html[data-theme="dark"] .medical-list-tools select{background:#1c1919;border:1px solid #464941;color:#dbe6e2;}
html[data-theme="dark"] .medical-list-heading>span{color:#c5c9c7;}
html[data-theme="dark"] .medical-record{border-bottom:1px solid #464941;}
html[data-theme="dark"] .medical-record-date{color:#c5c9c7;}
html[data-theme="dark"] .medical-record small{color:#c5c9c7;}
html[data-theme="dark"] .medical-record-count{color:#d8e9e4;}
html[data-theme="dark"] .medical-empty>span{color:#c5c9c7;}
html[data-theme="dark"] .medical-empty p{color:#c5c9c7;}
html[data-theme="dark"] .medical-storage-note{color:#c5c9c7;}
html[data-theme="dark"] .medical-page-heading p{color:#c5c9c7;}
html[data-theme="dark"] .medical-upload-label:focus-within{outline:3px solid #454f3b;}
html[data-theme="dark"] .security-rule{color:#c5c9c7;}
html[data-theme="dark"] .security-session-note{color:#c5c9c7;}
html[data-theme="dark"] .security-card .is-error{color:#d9b5b5;}
html[data-theme="dark"] .account-settings-links{border:1px solid #464941;background:#1c1919;}
html[data-theme="dark"] .account-settings-links>a{color:#dbe6e2;border-right:1px solid #464941;border-bottom:1px solid #464941;}
html[data-theme="dark"] .account-settings-links>a:hover{background:#1f221a;}
html[data-theme="dark"] .account-settings-links span{color:#c5c9c7;}
html[data-theme="dark"] .users-toolbar input{border:1px solid #464941;background:#1c1919;color:#dbe6e2;}
html[data-theme="dark"] .users-toolbar>span,html[data-theme="dark"] .users-footnote{color:#c5c9c7;}
html[data-theme="dark"] .users-kpis span{color:#c5c9c7;}
html[data-theme="dark"] .users-kpis small{color:#c5c9c7;}
html[data-theme="dark"] .users-ranges{border:1px solid #464941;}
html[data-theme="dark"] .users-ranges button{background:transparent;color:#c5c9c7;}
html[data-theme="dark"] .users-ranges button[aria-pressed=true]{background:#1f221a;color:#dbe6e2;}
html[data-theme="dark"] .users-chart{border-bottom:1px solid #464941;}
html[data-theme="dark"] .users-chart-track i{background:#364941;}
html[data-theme="dark"] .users-chart-track .is-untracked{background:#21221e;}
html[data-theme="dark"] .users-chart-day>small{color:#c5c9c7;}
html[data-theme="dark"] .users-chart-tip{background:#1b2924;color:#ebebeb;}
html[data-theme="dark"] .users-chart-axis{color:#c5c9c7;}
html[data-theme="dark"] .users-directory select{border:1px solid #464941;background:#1c1919;color:#dbe6e2;}
html[data-theme="dark"] .users-directory h2 small{color:#c5c9c7;}
html[data-theme="dark"] .users-table th{color:#c5c9c7;}
html[data-theme="dark"] .users-table td,html[data-theme="dark"] .users-table th{border-bottom:1px solid #464941;}
html[data-theme="dark"] .users-table td small{color:#c5c9c7;}
html[data-theme="dark"] .users-active-dot{background:#364941;}
html[data-theme="dark"] .users-empty{color:#c5c9c7;}
html[data-theme="dark"] .users-pagination span{color:#c5c9c7;}

:root{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark;--bg:#111b16;--paper:#1b2720;--ink:#e6eee8;--muted:#a8b8ac;--line:#35483b;--soft:#233327}
.theme-toggle{width:38px;height:38px;min-width:38px;border:1px solid var(--line);border-radius:11px;display:inline-flex;align-items:center;justify-content:center;background:var(--paper);color:var(--ink);padding:0;flex-shrink:0}
.theme-toggle svg{width:19px;height:19px}.theme-toggle:hover{border-color:#88a376}.theme-toggle:focus-visible{outline:3px solid #92b969;outline-offset:3px}
.public-theme-toggle{position:fixed;top:18px;right:22px;z-index:50}.public-guide-header{padding-right:84px}
html[data-theme="dark"] :is(button,a,input,select,textarea,summary):focus-visible{outline-color:#b8d390}
html[data-theme="dark"] .sidebar #nav .nav-link.active{background:#c8dfab;color:#203c28}
html[data-theme="dark"] :is(.training-tabs,.mr-tabs,.aw-tabs,.range-controls,.dc-filters,.env-ranges,.achievement-filters) button.active{background:#344b38;color:#edf5dd}
html[data-theme="dark"] :is(.med-status-hero.warning,.med-dose.due,.med-global-banner){background:#402522;border-color:#a46353;color:#f4d8cf}
html[data-theme="dark"] :is(.achievement-level,.achievement-detail) progress::-webkit-progress-value{background:#a2c48f}
html[data-theme="dark"] :is(.achievement-level,.achievement-detail) progress::-moz-progress-bar{background:#a2c48f}
html[data-theme="dark"] :is(.achievement-level,.achievement-detail) progress{accent-color:#a2c48f}
html[data-theme="dark"] .achievement-item.is-earned .achievement-card-status{color:#b8d390}
html[data-theme="dark"] .achievement-celebration{border-color:#96865a}
html[data-theme="dark"] .med-status-hero.warning h2{color:#ffd9ce}
html[data-theme="dark"] .chart-line,html[data-theme="dark"] .trend-chart-large .chart-line{stroke:#b6d58e}
html[data-theme="dark"] .trend-chart-point circle:not([fill="transparent"]){fill:#b6d58e}
@media(max-width:650px){.top-actions{gap:9px}.theme-toggle{width:36px;height:36px;min-width:36px}.public-theme-toggle{top:14px;right:16px}.public-guide-header{padding-right:70px}}
