/* GENERATED by scripts/build-appearance.py. Colour-only legacy compatibility.
   All original layout declarations and original stylesheets are preserved. */
@media screen and (forced-colors: none) {
/* style.css */
html[data-theme="dark"] body{background:var(--theme-bg);color:var(--theme-text)}
html[data-theme="dark"] a{color:var(--theme-accent)}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{border:1px solid var(--theme-border-strong);background:var(--theme-surface);color:var(--theme-text)}
html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] summary:focus-visible{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] .muted{color:var(--theme-muted)}
html[data-theme="dark"] .eyebrow{color:var(--theme-accent)}
html[data-theme="dark"] .skip-link{background:var(--theme-surface)}
html[data-theme="dark"] .site-header{background:var(--theme-surface);border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .brand{color:var(--theme-text)}
html[data-theme="dark"] .brand-mark{color:var(--theme-accent)}
html[data-theme="dark"] .brand-desc{color:var(--theme-muted)}
html[data-theme="dark"] .primary-nav a{color:var(--theme-text)}
html[data-theme="dark"] .primary-nav a.active{border-color:var(--theme-accent);color:var(--theme-accent)}
html[data-theme="dark"] .header-utilities a{color:var(--theme-muted)}
html[data-theme="dark"] .header-search button{color:var(--theme-muted)}
html[data-theme="dark"] .menu-toggle{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .urgent-strip{background:var(--theme-danger-soft);color:var(--theme-danger);border-bottom:1px solid var(--theme-danger-border)}
html[data-theme="dark"] .urgent-text span{color:var(--theme-muted)}
html[data-theme="dark"] .urgent-inner a{color:var(--theme-danger)}
html[data-theme="dark"] .breadcrumb{color:var(--theme-muted)}
html[data-theme="dark"] .breadcrumb a{color:var(--theme-muted)}
html[data-theme="dark"] .hero{background:var(--theme-navy);color:var(--theme-on-strong)}
html[data-theme="dark"] .hero h1{color:var(--theme-on-strong)}
html[data-theme="dark"] .hero p{color:var(--theme-on-strong)}
html[data-theme="dark"] .hero-kicker{color:var(--theme-muted)}
html[data-theme="dark"] .hero-symbol{color:var(--theme-accent)}
html[data-theme="dark"] .hero.education .hero-symbol{background:var(--theme-lime);color:var(--theme-text)}
html[data-theme="dark"] .hero-nodes:before{border:1px solid var(--theme-border)}
html[data-theme="dark"] .hero-node{background:var(--theme-raised);color:var(--theme-on-strong);box-shadow:0 0 18px #00000040}
html[data-theme="dark"] .hero-node:first-child{background:var(--theme-primary)}
html[data-theme="dark"] .hero-node:last-child{background:var(--theme-lime);color:var(--theme-text)}
html[data-theme="dark"] .route-card{border:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:var(--theme-shadow)}
html[data-theme="dark"] .route-card:hover{border-color:var(--theme-border)}
html[data-theme="dark"] .icon-tile{background:var(--theme-soft);color:var(--theme-accent)}
html[data-theme="dark"] .education-tile{background:var(--theme-success-soft);color:var(--theme-text)}
html[data-theme="dark"] .clinical-tile{background:var(--theme-raised);color:var(--theme-text)}
html[data-theme="dark"] .route-card h3 a{color:var(--theme-text)}
html[data-theme="dark"] .route-card p{color:var(--theme-muted)}
html[data-theme="dark"] .button{border:1px solid var(--theme-accent);color:var(--theme-on-strong);background:var(--theme-primary)}
html[data-theme="dark"] .button:hover{background:var(--theme-primary-hover)}
html[data-theme="dark"] .button.secondary{background:var(--theme-surface);color:var(--theme-accent);border-color:var(--theme-accent)}
html[data-theme="dark"] .button.secondary:hover{background:var(--theme-accent-soft)}
html[data-theme="dark"] .button.subtle{color:var(--theme-text);border-color:var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .card-links{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .contact-band{background:var(--theme-accent-soft);border:1px solid var(--theme-border)}
html[data-theme="dark"] .contact-band .icon{color:var(--theme-accent)}
html[data-theme="dark"] .contact-band p{color:var(--theme-muted)}
html[data-theme="dark"] .quick-link{border-right:1px solid var(--theme-border)}
html[data-theme="dark"] .quick-link .icon{color:var(--theme-text)}
html[data-theme="dark"] .quick-link p{color:var(--theme-muted)}
html[data-theme="dark"] .site-footer{border-top:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .footer-note{color:var(--theme-muted)}
html[data-theme="dark"] .runtime-label{color:var(--theme-muted)}
html[data-theme="dark"] .inner-tabs{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .inner-tabs a.active{border-color:var(--theme-accent)}
html[data-theme="dark"] .article-content section{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .side-panel{background:var(--theme-accent-soft);border:1px solid var(--theme-border)}
html[data-theme="dark"] .side-panel p{color:var(--theme-muted)}
html[data-theme="dark"] .source-panel{background:var(--theme-surface);border:1px solid var(--theme-border);color:var(--theme-muted)}
html[data-theme="dark"] .source-panel summary{color:var(--theme-text)}
html[data-theme="dark"] .source-panel dt{color:var(--theme-text)}
html[data-theme="dark"] .notice{background:var(--theme-accent-soft);border-left:3px solid var(--theme-accent);color:var(--theme-text)}
html[data-theme="dark"] .notice .icon{color:var(--theme-accent)}
html[data-theme="dark"] .notice.warning{background:var(--theme-warning-soft);border-color:var(--theme-warning-border)}
html[data-theme="dark"] .notice.danger{background:var(--theme-danger-soft);border-color:var(--theme-danger)}
html[data-theme="dark"] .notice.danger .icon{color:var(--theme-danger)}
html[data-theme="dark"] .check-label input{accent-color:var(--theme-accent)}
html[data-theme="dark"] .search-box{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .result-count{color:var(--theme-muted)}
html[data-theme="dark"] .catalogue-card{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .catalogue-card h3 a{color:var(--theme-text)}
html[data-theme="dark"] .catalogue-card p{color:var(--theme-muted)}
html[data-theme="dark"] .catalogue-card .catalogue-type{color:var(--theme-accent)}
html[data-theme="dark"] .card-bottom{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .save-button{color:var(--theme-muted)}
html[data-theme="dark"] .save-button[aria-pressed="true"]{color:var(--theme-accent)}
html[data-theme="dark"] .save-button[aria-pressed="true"] .icon{fill:var(--theme-on-strong)}
html[data-theme="dark"] .chip{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .chip.lime{background:var(--theme-success-soft);color:var(--theme-text)}
html[data-theme="dark"] .empty{border:1px dashed var(--theme-border-strong);background:var(--theme-surface)}
html[data-theme="dark"] .photo-hero{background:var(--theme-teal-soft);color:var(--theme-text)}
html[data-theme="dark"] .photo-hero p{color:var(--theme-muted)}
html[data-theme="dark"] .topic-strip{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .topic-strip .icon{color:var(--theme-accent)}
html[data-theme="dark"] .topic-strip p{color:var(--theme-muted)}
html[data-theme="dark"] .media-placeholder{background:var(--theme-soft);color:var(--theme-muted)}
html[data-theme="dark"] .session-card{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .session-card h3{color:var(--theme-accent)}
html[data-theme="dark"] .form-step{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .stepper li{color:var(--theme-muted)}
html[data-theme="dark"] .stepper li:before{border:1px solid var(--theme-border-strong)}
html[data-theme="dark"] .stepper .active{color:var(--theme-text)}
html[data-theme="dark"] .stepper .active:before{background:var(--theme-primary);color:var(--theme-on-strong);border-color:var(--theme-accent)}
html[data-theme="dark"] .draft-review{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .contact-choice{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .contact-choice:has(input:checked){border-color:var(--theme-accent);background:var(--theme-accent-soft)}
html[data-theme="dark"] .contact-choice input{accent-color:var(--theme-accent)}
html[data-theme="dark"] .contact-choice .icon{color:var(--theme-accent)}
html[data-theme="dark"] .question-card{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .question-plan{background:var(--theme-accent-soft)}
html[data-theme="dark"] .data-table th,html[data-theme="dark"] .data-table td{border:1px solid var(--theme-border)}
html[data-theme="dark"] .data-table th{background:var(--theme-accent-soft)}
html[data-theme="dark"] .back-row{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .toast{background:var(--theme-navy);color:var(--theme-on-strong)}
html[data-theme="dark"] .status-pill{color:var(--theme-muted);background:var(--theme-soft)}
/* outline.css */
html[data-theme="dark"] .outline-tree .outline-branch{border-left:2px solid var(--theme-border)}
html[data-theme="dark"] .outline-tree .outline-branch>summary{color:var(--theme-text)}
/* experience.css */
html[data-theme="dark"] .reference-link{border:1px solid var(--theme-border);background:var(--theme-accent-soft)}
html[data-theme="dark"] .references-section{border-top:3px solid var(--theme-border)}
html[data-theme="dark"] .references-section>.section-head .icon{color:var(--theme-accent)}
html[data-theme="dark"] .reference-item{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .reference-item::marker{color:var(--theme-text)}
html[data-theme="dark"] .evidence-kind{color:var(--theme-muted)}
html[data-theme="dark"] .evidence-quote{border-left:3px solid var(--theme-accent);background:var(--theme-accent-soft)}
html[data-theme="dark"] .evidence-quote figcaption{color:var(--theme-muted)}
html[data-theme="dark"] .reference-verification{color:var(--theme-muted)}
html[data-theme="dark"] .evidence-card{background:var(--theme-surface);border:1px solid var(--theme-border);border-top:3px solid var(--theme-accent)}
html[data-theme="dark"] .evidence-gap{background:var(--theme-accent-soft);border-left:3px solid var(--theme-accent)}
html[data-theme="dark"] .facet-panel{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .chip-button{border:1px solid var(--theme-border-strong);background:var(--theme-surface);color:var(--theme-accent)}
html[data-theme="dark"] .chip-button:hover{background:var(--theme-accent-soft)}
html[data-theme="dark"] .chip-button[aria-pressed=true]{background:var(--theme-navy);border-color:var(--theme-border);color:var(--theme-on-strong)}
html[data-theme="dark"] .other-guide-panel{background:var(--theme-accent-soft);border:1px solid var(--theme-border)}
html[data-theme="dark"] .visit-checklist{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .checklist-graphic li{border:1px solid var(--theme-border);background:var(--theme-bg)}
html[data-theme="dark"] .step-illustration{color:var(--theme-accent)}
html[data-theme="dark"] .step-number{background:var(--theme-navy);color:var(--theme-on-strong)}
html[data-theme="dark"] .request-module{border:1px solid var(--theme-border);background:var(--theme-surface);border-top:3px solid var(--theme-accent)}
html[data-theme="dark"] .request-module fieldset{border:1px solid var(--theme-border)}
html[data-theme="dark"] .request-review{border-top:2px solid var(--theme-border)}
html[data-theme="dark"] .draft-status{background:var(--theme-accent-soft)}
html[data-theme="dark"] #request-error{color:var(--theme-danger)}
html[data-theme="dark"] .technique-guide{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .technique-active{background:var(--theme-accent-soft)}
html[data-theme="dark"] .movement-schematic{color:var(--theme-accent)}
html[data-theme="dark"] .technique-guide video{background:var(--theme-navy)}
html[data-theme="dark"] .v07-module{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .v07-module h2{color:var(--theme-accent)}
html[data-theme="dark"] .v07-video{background:var(--theme-soft)}
html[data-theme="dark"] .v07-media-symbol{background:var(--theme-soft);color:var(--theme-accent)}
html[data-theme="dark"] .v07-resource-grid article{border:1px solid var(--theme-border)}
html[data-theme="dark"] .v07-notice{background:var(--theme-soft);border-left:4px solid var(--theme-accent)}
html[data-theme="dark"] .v07-field{color:var(--theme-accent)}
html[data-theme="dark"] .v07-field input,html[data-theme="dark"] .v07-field select,html[data-theme="dark"] .v07-field textarea,html[data-theme="dark"] .v07-matrix select{border:1px solid var(--theme-border);color:var(--theme-accent);background:var(--theme-surface)}
html[data-theme="dark"] .v07-hint,html[data-theme="dark"] .v07-file-status{color:var(--theme-muted)}
html[data-theme="dark"] .v07-file-status{background:var(--theme-surface)}
html[data-theme="dark"] .v07-errors{color:var(--theme-danger)}
html[data-theme="dark"] .v07-review{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .v07-summary dt,html[data-theme="dark"] .v07-summary dd{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .v07-matrix td,html[data-theme="dark"] .v07-matrix th{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .v07-facet-panel{background:var(--theme-surface);border:1px solid var(--theme-border)}
/* edition08.css */
html[data-theme="dark"] .v08-disclaimer,html[data-theme="dark"] .v08-privacy{background:var(--theme-soft);border:1px solid var(--theme-border);border-left:4px solid var(--theme-accent);color:var(--theme-accent)}
html[data-theme="dark"] .v08-disclaimer>svg,html[data-theme="dark"] .v08-privacy>svg{color:var(--theme-accent)}
html[data-theme="dark"] .v08-section,html[data-theme="dark"] .v08-form-module{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .v08-section h2,html[data-theme="dark"] .v08-form-module h2{color:var(--theme-accent)}
html[data-theme="dark"] .v08-section>p,html[data-theme="dark"] .v08-form-module>p{color:var(--theme-muted)}
html[data-theme="dark"] .v08-section-kicker,html[data-theme="dark"] .v08-overline{color:var(--theme-accent)}
html[data-theme="dark"] .v08-small-note,html[data-theme="dark"] .v08-fictitious{color:var(--theme-muted)}
html[data-theme="dark"] .v08-tag{background:var(--theme-soft);color:var(--theme-accent)}
html[data-theme="dark"] .v08-tick-list li .icon{color:var(--theme-accent)}
html[data-theme="dark"] .v08-process span{border:1px solid var(--theme-border);background:var(--theme-soft);color:var(--theme-accent)}
html[data-theme="dark"] .v08-tools{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .v08-chip{background:var(--theme-surface);border:1px solid var(--theme-border);color:var(--theme-accent)}
html[data-theme="dark"] .v08-chip[aria-pressed="true"]{background:var(--theme-primary);border-color:var(--theme-accent);color:var(--theme-on-strong)}
html[data-theme="dark"] .v08-chip:focus-visible,html[data-theme="dark"] .v08-event-title:focus-visible,html[data-theme="dark"] .v08-event-marker:focus-visible{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] .v08-team-tile,html[data-theme="dark"] .v08-physician,html[data-theme="dark"] .v08-location-card,html[data-theme="dark"] .v08-role,html[data-theme="dark"] .v08-course-card{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .v08-team-icon,html[data-theme="dark"] .v08-location-icon,html[data-theme="dark"] .v08-avatar{color:var(--theme-accent);background:var(--theme-soft)}
html[data-theme="dark"] .v08-team-tile p,html[data-theme="dark"] .v08-physician p,html[data-theme="dark"] .v08-location-card p,html[data-theme="dark"] .v08-role p,html[data-theme="dark"] .v08-course-card p{color:var(--theme-muted)}
html[data-theme="dark"] .v08-team-footer{border-top:1px solid var(--theme-border);color:var(--theme-muted)}
html[data-theme="dark"] .v08-physician .v08-job{color:var(--theme-accent)}
html[data-theme="dark"] .v08-site-facts>div{background:var(--theme-soft)}
html[data-theme="dark"] .v08-role summary,html[data-theme="dark"] .v08-course-card summary{color:var(--theme-accent)}
html[data-theme="dark"] .v08-course-filters,html[data-theme="dark"] .v08-events-tools{background:var(--theme-surface)}
html[data-theme="dark"] .v08-field{color:var(--theme-accent)}
html[data-theme="dark"] .v08-field input,html[data-theme="dark"] .v08-field select,html[data-theme="dark"] .v08-field textarea{border:1px solid var(--theme-border-strong);background:var(--theme-surface);color:var(--theme-accent)}
html[data-theme="dark"] .v08-form-module{background:var(--theme-surface)}
html[data-theme="dark"] .v08-form-module fieldset{border:1px solid var(--theme-border)}
html[data-theme="dark"] .v08-form-module fieldset legend{color:var(--theme-accent)}
html[data-theme="dark"] .v08-doc-check input{accent-color:var(--theme-accent)}
html[data-theme="dark"] .v08-confirm input{accent-color:var(--theme-accent)}
html[data-theme="dark"] .v08-form-error{color:var(--theme-danger)}
html[data-theme="dark"] .v08-draft-review{border-top:2px solid var(--theme-border)}
html[data-theme="dark"] .v08-reviewed{background:var(--theme-soft);border-left:4px solid var(--theme-accent)}
html[data-theme="dark"] .v08-draft-grid dt,html[data-theme="dark"] .v08-draft-grid dd{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .v08-privacy{background:var(--theme-surface)}
html[data-theme="dark"] .v08-calendar{background:var(--theme-soft);border:1px solid var(--theme-border)}
html[data-theme="dark"] .v08-weekday{background:var(--theme-soft)}
html[data-theme="dark"] .v08-cal-day,html[data-theme="dark"] .v08-cal-blank{background:var(--theme-surface)}
html[data-theme="dark"] .v08-cal-blank{background:var(--theme-surface)}
html[data-theme="dark"] .v08-day-n{color:var(--theme-muted)}
html[data-theme="dark"] .v08-event-marker{border:1px solid var(--theme-border);background:var(--theme-soft);color:var(--theme-accent)}
html[data-theme="dark"] .v08-event-marker[aria-pressed="true"]{outline:2px solid var(--theme-focus)}
html[data-theme="dark"] .v08-event-selected{background:var(--theme-surface);border-left:4px solid var(--theme-accent)}
html[data-theme="dark"] .v08-event-row{border:1px solid var(--theme-border)}
html[data-theme="dark"] .v08-date-block{background:var(--theme-soft)}
html[data-theme="dark"] .v08-date-block strong{color:var(--theme-accent)}
html[data-theme="dark"] .v08-event-title{color:var(--theme-accent)}
html[data-theme="dark"] .v08-empty{background:var(--theme-soft);border:1px solid var(--theme-border);color:var(--theme-muted)}
/* platform.css */
html[data-theme="dark"] .platform-section{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .platform-preferences{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .platform-preferences select{border:1px solid var(--theme-border-strong);background:var(--theme-surface);color:var(--theme-accent)}
html[data-theme="dark"] .platform-draft-state{background:var(--theme-soft);color:var(--theme-accent);border-left:4px solid var(--theme-accent)}
html[data-theme="dark"] .platform-file-note{border-left:3px solid var(--theme-border-strong)}
/* account.css */
html[data-theme="dark"] .account-card{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .account-card h1{color:var(--theme-text)}
html[data-theme="dark"] .account-card h2{color:var(--theme-text)}
html[data-theme="dark"] .account-eyebrow{color:var(--theme-accent)}
html[data-theme="dark"] .account-side{background:var(--theme-accent-soft)}
html[data-theme="dark"] .account-card details{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .account-card summary{color:var(--theme-text)}
html[data-theme="dark"] .account-session{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .account-user{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .account-feedback{border-left:4px solid var(--theme-accent);background:var(--theme-accent-soft)}
html[data-theme="dark"] .account-environment{color:var(--theme-muted)}
/* controls-modern.css */
html[data-theme="dark"] .button{box-shadow:var(--theme-shadow)}
html[data-theme="dark"] .chip-button[aria-pressed="true"],html[data-theme="dark"] .v08-chip[aria-pressed="true"]{box-shadow:var(--theme-shadow)}
html[data-theme="dark"] :is(#main, #site-header) :is(
  input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="range"],
            [type="color"], [type="button"], [type="submit"], [type="reset"]),
  select, textarea
){box-shadow:inset 0 1px 2px var(--theme-border)}
html[data-theme="dark"] :is(#main, #site-header) :is(input, select, textarea):focus{box-shadow:var(--theme-shadow)}
html[data-theme="dark"] :is(#main, #site-header) :is(input, select, textarea)[aria-invalid="true"]{border-color:var(--theme-danger)}
@supports selector(input:user-invalid){
html[data-theme="dark"] #main :is(input, select, textarea):user-invalid{border-color:var(--theme-danger)}
}
html[data-theme="dark"] #main input:is([type="checkbox"], [type="radio"]){accent-color:var(--theme-accent)}
html[data-theme="dark"] .contact-choice:has(input:checked){box-shadow:var(--theme-shadow)}
html[data-theme="dark"] .contact-choice:focus-within{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] #main input[type="file"]::file-selector-button{border:1px solid var(--theme-border);background:var(--theme-accent-soft);color:var(--theme-accent)}
@media (hover: hover) and (pointer: fine){
html[data-theme="dark"] :is(.button, .chip-button, .v08-chip, .save-button, .menu-toggle):not(:disabled):not([aria-disabled="true"]):hover{box-shadow:var(--theme-shadow)}
html[data-theme="dark"] .contact-choice:hover,html[data-theme="dark"] .v08-event-marker:hover,html[data-theme="dark"] #main input[type="file"]:hover::file-selector-button{box-shadow:var(--theme-shadow)}
}
/* browser.css */
html[data-theme="dark"] .browser-error-summary{border:2px solid var(--theme-danger)}
html[data-theme="dark"] .browser-error-summary:focus{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] .browser-network-status{background:var(--theme-navy);color:var(--theme-on-strong)}
html[data-theme="dark"] .table-scroll:focus-visible{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] .browser-copy-dialog{border:1px solid var(--theme-border);color:var(--theme-text);background:var(--theme-surface)}
html[data-theme="dark"][data-theme="light"] body #outreach-link-disclosure{color:var(--theme-muted)!important}
html[data-theme="dark"][data-theme="light"] body [data-appearance-clock]{color:var(--theme-muted)!important}
/* ux.css */
html[data-theme="dark"] .ux-page-tools>details{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .ux-page-tools>details[open]>summary{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .ux-task-links>div{background:var(--theme-accent-soft)}
html[data-theme="dark"] .ux-saved-list li{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .ux-filter-summary{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .ux-form-assist{background:var(--theme-accent-soft);border:1px solid var(--theme-border)}
html[data-theme="dark"] .ux-progress-row progress{accent-color:var(--theme-accent)}
html[data-theme="dark"] .ux-workspace-step{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .ux-workspace-step>span{background:var(--theme-accent-soft);color:var(--theme-text)}
html[data-theme="dark"] .ux-context-caption{color:var(--theme-muted)}
html[data-theme="dark"] .ux-record-date{color:var(--theme-muted)}
html[data-theme="dark"] .ux-empty-state{border:1px dashed var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .workspace-nav .ux-nav-group{color:var(--theme-muted)}
html[data-theme="dark"] .ux-form-assist:focus-within{border-color:var(--theme-accent)}
/* experience-dynamic.css */
html[data-theme="dark"] .exp-preparation,html[data-theme="dark"] .exp-start{border:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:var(--theme-shadow)}
html[data-theme="dark"] .exp-preparation-action>span{color:var(--theme-muted)}
html[data-theme="dark"] .exp-emblem{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .exp-start{background:var(--theme-accent-soft)}
html[data-theme="dark"] .exp-start .icon{color:var(--theme-accent)}
html[data-theme="dark"] .exp-inline{color:var(--theme-accent)}
html[data-theme="dark"] .exp-inline:hover{background:var(--theme-accent-soft)}
html[data-theme="dark"] .exp-inline[aria-pressed=true]{background:var(--theme-accent-soft);color:var(--theme-text)}
html[data-theme="dark"] .exp-resource-actions{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .exp-comparison-bar{border:1px solid var(--theme-border);background:var(--theme-accent-soft)}
html[data-theme="dark"] .exp-dialog{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text);box-shadow:var(--theme-shadow)}
html[data-theme="dark"] .exp-dialog::backdrop{background:color-mix(in srgb,var(--theme-navy) 62%,transparent)}
html[data-theme="dark"] .exp-dialog-head{background:var(--theme-navy);color:var(--theme-on-strong)}
html[data-theme="dark"] .exp-dialog-head h2:focus{outline:2px solid var(--theme-border)}
html[data-theme="dark"] .exp-facts dt{color:var(--theme-muted)}
html[data-theme="dark"] .exp-map-grid>div{border:1px solid var(--theme-border)}
html[data-theme="dark"] .exp-map-grid .icon{color:var(--theme-accent)}
html[data-theme="dark"] .exp-comparison-scroll{border:1px solid var(--theme-border)}
html[data-theme="dark"] .exp-guide-boundary{background:var(--theme-accent-soft)}
html[data-theme="dark"] .exp-guide-meta progress{accent-color:var(--theme-accent)}
html[data-theme="dark"] .exp-chapter-link{background:var(--theme-bg);color:var(--theme-text);border:1px solid var(--theme-border)}
html[data-theme="dark"] .exp-chapter-link[aria-current=step]{border-color:var(--theme-accent);background:var(--theme-accent-soft)}
html[data-theme="dark"] .exp-chapter-number{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .exp-chapter-link[aria-current=step] .exp-chapter-number{background:var(--theme-primary);color:var(--theme-on-strong);border-color:var(--theme-accent)}
html[data-theme="dark"] .exp-reviewed-marker{color:var(--theme-accent)}
html[data-theme="dark"] .exp-review-toggle{background:var(--theme-accent-soft)}
html[data-theme="dark"] .exp-review-toggle input{accent-color:var(--theme-accent)}
html[data-theme="dark"] .exp-media-options{border:1px solid var(--theme-border);background:var(--theme-bg)}
html[data-theme="dark"] .exp-snapshot{border-left:3px solid var(--theme-border);background:var(--theme-bg)}
html[data-theme="dark"] .exp-snapshot[data-state=failed]{border-color:var(--theme-danger)}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
html[data-theme="dark"] .exp-map-grid>div:hover{border-color:var(--theme-accent);box-shadow:var(--theme-shadow)}
}
html[data-theme="dark"] .exp-dialog-feedback{border-left:3px solid var(--theme-accent);background:var(--theme-accent-soft);color:var(--theme-text)}
/* control-tokens.css */

/* components.css */
html[data-theme="dark"] :is(#main,#account-main,#workspace-main,dialog) input:is([type="checkbox"],[type="radio"]){accent-color:var(--theme-accent)}
html[data-theme="dark"] .ui-help-trigger{border:1px solid var(--theme-border);background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .ui-help-trigger:focus-visible,html[data-theme="dark"] .ui-feedback-dismiss:focus-visible{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] .ui-tooltip{background:var(--theme-navy);color:var(--theme-on-strong);border:1px solid var(--theme-border);box-shadow:var(--theme-shadow)}
html[data-theme="dark"] .ui-feedback.toast{box-shadow:var(--theme-shadow)}
html[data-theme="dark"] .ui-workspace select{border:1px solid var(--theme-border)}
html[data-theme="dark"] .ui-facts>div{border:1px solid var(--theme-border)}
/* refinements-v20.css */
html[data-theme="dark"] #site-header .primary-nav a:hover{background:var(--theme-accent-soft)}
html[data-theme="dark"] #site-header .primary-nav a:focus-visible{outline:2px solid var(--theme-focus)}
html[data-theme="dark"] #site-header .primary-nav a.active{background:var(--theme-accent-soft)}
html[data-theme="dark"] input[type="checkbox"],html[data-theme="dark"] input[type="radio"]{accent-color:var(--theme-accent)}
html[data-theme="dark"] input[type="checkbox"]:focus-visible,html[data-theme="dark"] input[type="radio"]:focus-visible{outline:2px solid var(--theme-focus)}
html[data-theme="dark"] .contact-choice:has(input:checked),html[data-theme="dark"] .check-label:has(input:checked){border-color:var(--theme-accent)}
html[data-theme="dark"] .references-section .v20-ref-body>summary{border:1px solid var(--theme-border)}
html[data-theme="dark"] .v20-education-accent{color:var(--theme-success)!important}
html[data-theme="dark"] .hero.education .hero-symbol,html[data-theme="dark"] .education-tile .icon,html[data-theme="dark"] .v20-course-accent .icon{color:var(--theme-success)}
/* learning-v21.css */
html[data-theme="dark"] .learning-icon .learning-icon-accent{fill:var(--theme-lime)}
html[data-theme="dark"] .icon-tile.education-tile{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .education-tile .learning-icon,html[data-theme="dark"] .v20-course-accent .learning-icon{color:var(--theme-accent)}
html[data-theme="dark"] .hero.education .hero-symbol{color:var(--theme-lime)}
html[data-theme="dark"] .hero-node:has(> .learning-icon){background:var(--theme-navy);color:var(--theme-on-strong)}
/* protocol-v22.css */
html[data-theme="dark"] .onc-protocol-section{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .onc-fact-grid>div{border:1px solid var(--theme-border);background:var(--theme-accent-soft)}
html[data-theme="dark"] .onc-fact-grid span{color:var(--theme-muted)}
html[data-theme="dark"] .onc-editor-grid input,html[data-theme="dark"] .onc-editor-grid select{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text)}
html[data-theme="dark"] .onc-editor-grid input:focus-visible,html[data-theme="dark"] .onc-editor-grid select:focus-visible,html[data-theme="dark"] .onc-protocol-section button:focus-visible{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] .onc-protocol-section [role=status]{background:var(--theme-accent-soft)}
/* bereavement-v25.css */
html[data-theme="dark"] .grief-welcome{color:var(--theme-muted)}
html[data-theme="dark"] .grief-start-card{border:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:var(--theme-shadow)}
html[data-theme="dark"] .grief-start-card>.icon{color:var(--theme-accent)}
html[data-theme="dark"] .grief-start-card strong{color:var(--theme-text)}
html[data-theme="dark"] .grief-start-card small{color:var(--theme-muted)}
html[data-theme="dark"] .grief-start-card:hover{border-color:var(--theme-accent)}
html[data-theme="dark"] .grief-panel{border:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:var(--theme-shadow)}
html[data-theme="dark"] .grief-evidence{color:var(--theme-muted)}
html[data-theme="dark"] .grief-figure{background:var(--theme-accent-soft)}
html[data-theme="dark"] .grief-land{fill:var(--theme-on-strong)}
html[data-theme="dark"] .grief-line{stroke:var(--theme-accent)}
html[data-theme="dark"] .grief-water{stroke:var(--theme-accent)}
html[data-theme="dark"] .grief-ring{stroke:var(--theme-accent)}
html[data-theme="dark"] .grief-stem{stroke:var(--theme-accent)}
html[data-theme="dark"] .grief-ripple{stroke:var(--theme-accent)}
html[data-theme="dark"] .grief-figure figcaption{color:var(--theme-muted)}
html[data-theme="dark"] .grief-memory-output{color:var(--theme-text)}
html[data-theme="dark"] .grief-status{color:var(--theme-muted)}
html[data-theme="dark"] .grief-boundary{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .grief-topic{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .grief-topic>summary{color:var(--theme-text)}
html[data-theme="dark"] .grief-topic>summary::marker{color:var(--theme-accent)}
html[data-theme="dark"] .grief-topic[open]>summary{background:var(--theme-accent-soft)}
html[data-theme="dark"] .grief-support-card{background:var(--theme-bg);border:1px solid var(--theme-border)}
html[data-theme="dark"] .grief-urgent{background:var(--theme-accent-soft)}
html[data-theme="dark"] .grief-giving-action p{color:var(--theme-muted)}
html[data-theme="dark"] .grief-editorial{color:var(--theme-muted)}
/* nursing-v26.css */
html[data-theme="dark"] .nurse-counts{background:var(--theme-accent-soft);border:1px solid var(--theme-border);color:var(--theme-text)}
html[data-theme="dark"] .nurse-view-note{color:var(--theme-muted)}
html[data-theme="dark"] .nurse-card{background:var(--theme-surface)}
html[data-theme="dark"] .nurse-topic-detail>summary{color:var(--theme-accent)}
html[data-theme="dark"] .nurse-boundary{border-left:3px solid var(--theme-accent);background:var(--theme-accent-soft)}
html[data-theme="dark"] .nurse-plan{border:1px solid var(--theme-border);background:var(--theme-accent-soft)}
html[data-theme="dark"] .nurse-plan li{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .nurse-remove{color:var(--theme-accent)}
/* navigation-v28.css */
html[data-theme="dark"] #site-header .primary-nav .donate-nav-button{border:1px solid var(--theme-accent);color:var(--theme-accent);background:var(--theme-accent-soft)}
html[data-theme="dark"] #site-header .primary-nav .donate-nav-button:hover{background:var(--theme-soft);border-color:var(--theme-accent)}
html[data-theme="dark"] #site-header .primary-nav .donate-nav-button:focus-visible{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] #catalogue-search .filter-toggles .ui-help-trigger{background:radial-gradient(circle, var(--theme-accent-soft) 0 13px, transparent 13.5px)}
/* workspace.css */
html[data-theme="dark"] .workspace-nav [aria-current="page"]{border-color:var(--theme-accent);background:var(--theme-accent-soft);color:var(--theme-text)}
html[data-theme="dark"] .workspace-record{border:1px solid var(--theme-border)}
html[data-theme="dark"] .workspace-warning{border-left:4px solid var(--theme-accent);background:var(--theme-accent-soft)}
html[data-theme="dark"] .workspace-muted{color:var(--theme-muted)}
/* account-care-v27.css */
html[data-theme="dark"] .care-heading h1{color:var(--theme-text)}
html[data-theme="dark"] .care-heading p{color:var(--theme-muted)}
html[data-theme="dark"] .care-mode{background:var(--theme-navy);color:var(--theme-on-strong)}
html[data-theme="dark"] .care-mode .icon{color:var(--theme-lime)}
html[data-theme="dark"] .care-boundary{background:var(--theme-accent-soft);border-left:4px solid var(--theme-accent)}
html[data-theme="dark"] .care-boundary strong{color:var(--theme-text)}
html[data-theme="dark"] .care-boundary span{color:var(--theme-muted)}
html[data-theme="dark"] .care-urgent{color:var(--theme-muted)}
html[data-theme="dark"] .care-urgent .icon{color:var(--theme-text)}
html[data-theme="dark"] .care-navigation{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .care-navigation>button{color:var(--theme-muted)}
html[data-theme="dark"] .care-navigation>button:hover{background:var(--theme-accent-soft);color:var(--theme-text)}
html[data-theme="dark"] .care-navigation>button[aria-current]{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .care-nav-label{color:var(--theme-muted)}
html[data-theme="dark"] .care-source-note{color:var(--theme-muted)}
html[data-theme="dark"] .care-status:not(:empty){background:var(--theme-teal-soft);border:1px solid var(--theme-border)}
html[data-theme="dark"] .care-section-head h2{color:var(--theme-text)}
html[data-theme="dark"] .care-section-head p{color:var(--theme-muted)}
html[data-theme="dark"] .care-summary{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .care-summary>span{color:var(--theme-accent)}
html[data-theme="dark"] .care-summary h3{color:var(--theme-text)}
html[data-theme="dark"] .care-summary p{color:var(--theme-muted)}
html[data-theme="dark"] .care-summary button{color:var(--theme-accent)}
html[data-theme="dark"] .care-reference-date{color:var(--theme-muted)}
html[data-theme="dark"] .care-domain-card{background:var(--theme-surface);border:1px solid var(--theme-border);color:var(--theme-text);box-shadow:var(--theme-shadow)}
html[data-theme="dark"] .care-domain-card:hover{border-color:var(--theme-accent)}
html[data-theme="dark"] .care-domain-top{color:var(--theme-accent)}
html[data-theme="dark"] .care-domain-top>span{color:var(--theme-muted)}
html[data-theme="dark"] .care-domain-card>strong{color:var(--theme-text)}
html[data-theme="dark"] .care-domain-card>span:not(.care-domain-top){color:var(--theme-muted)}
html[data-theme="dark"] .care-domain-card>small{color:var(--theme-accent)}
html[data-theme="dark"] .care-record{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .care-record-domain{color:var(--theme-accent)}
html[data-theme="dark"] .care-status-tag{color:var(--theme-muted);border:1px solid var(--theme-border)}
html[data-theme="dark"] .care-record h3{color:var(--theme-text)}
html[data-theme="dark"] .care-record-date{color:var(--theme-muted)}
html[data-theme="dark"] .care-record dt{color:var(--theme-muted)}
html[data-theme="dark"] .care-record summary{color:var(--theme-accent)}
html[data-theme="dark"] .care-record details{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .care-related button{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .care-timeline .care-record{border-left:3px solid var(--theme-accent)}
html[data-theme="dark"] .care-domain-boundary{background:var(--theme-accent-soft)}
html[data-theme="dark"] .care-domain-boundary summary{color:var(--theme-text)}
html[data-theme="dark"] .care-result-count,html[data-theme="dark"] .care-public-resource{color:var(--theme-muted)}
html[data-theme="dark"] .care-empty{border:1px dashed var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .care-empty>.icon{color:var(--theme-accent)}
html[data-theme="dark"] .care-empty h3{color:var(--theme-text)}
html[data-theme="dark"] .care-empty p{color:var(--theme-muted)}
html[data-theme="dark"] .care-integration,html[data-theme="dark"] .care-transfer{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .care-integration summary,html[data-theme="dark"] .care-transfer summary{color:var(--theme-text)}
html[data-theme="dark"] .care-ready-grid h3{color:var(--theme-text)}
html[data-theme="dark"] .care-ready-grid p{color:var(--theme-muted)}
html[data-theme="dark"] .care-dialog{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text);box-shadow:var(--theme-shadow)}
html[data-theme="dark"] .care-dialog::backdrop{background:var(--theme-navy)}
html[data-theme="dark"] .care-dialog h2{color:var(--theme-text)}
html[data-theme="dark"] .care-form-boundary{color:var(--theme-muted);background:var(--theme-accent-soft)}
html[data-theme="dark"] .care-dialog .small{color:var(--theme-muted)}
html[data-theme="dark"] .care-dialog #care-form-errors:not(:empty){border-left:3px solid var(--theme-danger);background:var(--theme-danger-soft)}
html[data-theme="dark"] .care-privacy-cover{background:var(--theme-bg)}
html[data-theme="dark"] .care-privacy-cover>div{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .care-privacy-cover .icon{color:var(--theme-accent)}
/* commerce.css */
html[data-theme="dark"] .commerce-hero-symbol{color:var(--theme-accent)}
html[data-theme="dark"] .commerce-mode{background:var(--theme-accent-soft);border:1px solid var(--theme-border)}
html[data-theme="dark"] .commerce-mode strong{color:var(--theme-text)}
html[data-theme="dark"] .commerce-feedback:not(:empty){background:var(--theme-accent-soft);border:1px solid var(--theme-border)}
html[data-theme="dark"] .commerce-tabs{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .commerce-tabs button{color:var(--theme-muted)}
html[data-theme="dark"] .commerce-tabs button[aria-selected=true]{color:var(--theme-on-strong);background:var(--theme-navy)}
html[data-theme="dark"] .commerce-steps li{color:var(--theme-muted)}
html[data-theme="dark"] .commerce-steps li span{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .commerce-steps li[aria-current=step]{color:var(--theme-accent)}
html[data-theme="dark"] .commerce-steps li[aria-current=step] span{color:var(--theme-on-strong);background:var(--theme-primary);border-color:var(--theme-accent)}
html[data-theme="dark"] .commerce-card,html[data-theme="dark"] .commerce-summary,html[data-theme="dark"] .commerce-section{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .commerce-card p{color:var(--theme-muted)}
html[data-theme="dark"] .commerce-art{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .commerce-price{color:var(--theme-text)}
html[data-theme="dark"] .commerce-method{border:1px solid var(--theme-border)}
html[data-theme="dark"] .commerce-method:has(input:checked){border-color:var(--theme-accent);background:var(--theme-accent-soft)}
html[data-theme="dark"] .commerce-method small{color:var(--theme-muted)}
html[data-theme="dark"] .commerce-small{color:var(--theme-muted)}
html[data-theme="dark"] .commerce-total{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .commerce-boundary{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .commerce-boundary p{color:var(--theme-muted)}
html[data-theme="dark"] .commerce-allocation{background:var(--theme-accent-soft)}
html[data-theme="dark"] .commerce-status-panel{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .commerce-admin-table th,html[data-theme="dark"] .commerce-admin-table td{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .commerce-status-badge{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .commerce-error{color:var(--theme-danger)}
/* content-editor.css */
html[data-theme="dark"] .editor-feedback{border:1px solid var(--theme-border);background:var(--theme-accent-soft));color:var(--theme-text)}
html[data-theme="dark"] .editor-table-wrap{border:1px solid var(--theme-border)}
html[data-theme="dark"] .editor-table th,html[data-theme="dark"] .editor-table td{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .editor-table th{background:var(--theme-accent-soft))}
html[data-theme="dark"] .editor-badge{border:1px solid var(--theme-border)}
html[data-theme="dark"] .editor-panel{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .editor-section{border:1px solid var(--theme-border)}
html[data-theme="dark"] .editor-boundary{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .editor-demo-banner{border:1px solid var(--theme-border)}
/* admin-v29.css */
html[data-theme="dark"] .ad-mode{background:var(--theme-accent-soft);border:1px solid var(--theme-border)}
html[data-theme="dark"] .ad-mode[data-demo]{background:var(--theme-success-soft);border-color:var(--theme-success-border)}
html[data-theme="dark"] .ad-mode[data-demo] strong{color:var(--theme-success)}
html[data-theme="dark"] .ad-sidebar nav button{color:var(--theme-muted)}
html[data-theme="dark"] .ad-sidebar nav button[aria-current="page"]{background:var(--theme-navy);color:var(--theme-on-strong)}
html[data-theme="dark"] .ad-nav-divider{background:var(--theme-border)}
html[data-theme="dark"] .ad-side-note{border-top:1px solid var(--theme-border);color:var(--theme-muted)}
html[data-theme="dark"] .ad-side-note strong{color:var(--theme-text)}
html[data-theme="dark"] .ad-dot{background:var(--theme-lime)}
html[data-theme="dark"] .ad-feedback{border-left:3px solid var(--theme-accent);background:var(--theme-accent-soft)}
html[data-theme="dark"] .ad-feedback[data-error]{background:var(--theme-danger-soft);border-color:var(--theme-danger)}
html[data-theme="dark"] .ad-title-row p{color:var(--theme-muted)}
html[data-theme="dark"] .ad-main .button.danger{background:var(--theme-surface);border-color:var(--theme-danger-border);color:var(--theme-danger)}
html[data-theme="dark"] .ad-main .button.danger:hover{background:var(--theme-danger-soft)}
html[data-theme="dark"] .ad-stat{background:var(--theme-surface);border:1px solid var(--theme-border);box-shadow:var(--theme-shadow)}
html[data-theme="dark"] .ad-stat span{color:var(--theme-muted)}
html[data-theme="dark"] .ad-stat strong{color:var(--theme-text)}
html[data-theme="dark"] .ad-stat small{color:var(--theme-muted)}
html[data-theme="dark"] .ad-stat.focus{background:var(--theme-navy);border-color:var(--theme-border)}
html[data-theme="dark"] .ad-stat.focus strong{color:var(--theme-lime)}
html[data-theme="dark"] .ad-stat.focus span,html[data-theme="dark"] .ad-stat.focus small{color:var(--theme-on-strong)}
html[data-theme="dark"] .ad-panel{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .ad-helper{color:var(--theme-muted)}
html[data-theme="dark"] .ad-process div{background:var(--theme-bg)}
html[data-theme="dark"] .ad-process span{color:var(--theme-accent)}
html[data-theme="dark"] .ad-link-row{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .ad-link-row p{color:var(--theme-muted)}
html[data-theme="dark"] .ad-tag{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .ad-tag.published,html[data-theme="dark"] .ad-tag.booked{background:var(--theme-success-soft);color:var(--theme-success)}
html[data-theme="dark"] .ad-tag.draft{background:var(--theme-warning-soft);color:var(--theme-warning)}
html[data-theme="dark"] .ad-tag.in_review{background:var(--theme-soft);color:var(--theme-muted)}
html[data-theme="dark"] .ad-tag.cancelled,html[data-theme="dark"] .ad-tag.archived,html[data-theme="dark"] .ad-tag.withdrawn,html[data-theme="dark"] .ad-tag.entered_in_error{background:var(--theme-danger-soft);color:var(--theme-danger)}
html[data-theme="dark"] .ad-tag.neutral{color:var(--theme-muted);background:var(--theme-bg)}
html[data-theme="dark"] .ad-filter{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .ad-field small{color:var(--theme-muted)}
html[data-theme="dark"] .ad-main fieldset{border:1px solid var(--theme-border)}
html[data-theme="dark"] .ad-main .ad-check input[type="checkbox"]{accent-color:var(--theme-accent)}
html[data-theme="dark"] .ad-table-wrap{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .ad-table th{background:var(--theme-soft);color:var(--theme-muted)}
html[data-theme="dark"] .ad-table td{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .ad-table small{color:var(--theme-muted)}
html[data-theme="dark"] .ad-table tr:hover td{background:var(--theme-surface)}
html[data-theme="dark"] .ad-pagination span{color:var(--theme-muted)}
html[data-theme="dark"] .ad-empty{color:var(--theme-muted)}
html[data-theme="dark"] .ad-workflow{background:var(--theme-soft)}
html[data-theme="dark"] .ad-form-footer{background:var(--theme-surface);border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .ad-form-footer span{color:var(--theme-muted)}
html[data-theme="dark"] .ad-section{border:1px solid var(--theme-border);background:var(--theme-bg)}
html[data-theme="dark"] .ad-main pre{background:var(--theme-soft);border:1px solid var(--theme-border)}
html[data-theme="dark"] .ad-persona span{color:var(--theme-muted)}
html[data-theme="dark"] .ad-permission{border:1px dashed var(--theme-border-strong);background:var(--theme-surface)}
html[data-theme="dark"] .ad-save-hint{color:var(--theme-muted)}
@media(max-width:760px){
html[data-theme="dark"] .ad-sidebar nav button{background:var(--theme-surface);border:1px solid var(--theme-border)}
}
/* project-admin-v30.css */
html[data-theme="dark"] .admin-nav-entry:focus-visible,html[data-theme="dark"] .project-warning-link:focus-visible{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] .project-overview{border-top:3px solid var(--theme-lime)}
html[data-theme="dark"] .project-state{background:var(--theme-success-soft);border:1px solid var(--theme-border);color:var(--theme-success)}
html[data-theme="dark"] .project-state.paused{background:var(--theme-warning-soft);border-color:var(--theme-warning-border);color:var(--theme-warning)}
html[data-theme="dark"] .project-quick-links a{background:var(--theme-bg);border:1px solid var(--theme-border);color:var(--theme-text)}
html[data-theme="dark"] .project-quick-links a:hover{border-color:var(--theme-accent)}
html[data-theme="dark"] .project-safety-link{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .project-safety-link p{color:var(--theme-muted)}
html[data-theme="dark"] .project-warning-link{border:1px solid var(--theme-warning-border);color:var(--theme-warning);background:var(--theme-warning-soft)}
html[data-theme="dark"] .project-destination{border:1px solid var(--theme-border)}
html[data-theme="dark"] .project-destination>p{color:var(--theme-muted)}
html[data-theme="dark"] .project-warning{background:var(--theme-warning-soft);border:1px solid var(--theme-warning-border);border-left:4px solid var(--theme-warning-border);color:var(--theme-warning)}
html[data-theme="dark"] .project-state-details dt{color:var(--theme-muted)}
html[data-theme="dark"] .project-denied{background:var(--theme-soft);border-left:3px solid var(--theme-border-strong)}
html[data-theme="dark"] .project-history li{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .project-history small{color:var(--theme-muted)}
/* security-v31.css */
html[data-theme="dark"] .sec-summary{border:1px solid var(--theme-border);border-left:4px solid var(--theme-accent);background:var(--theme-surface)}
html[data-theme="dark"] .sec-summary p{color:var(--theme-muted)}
html[data-theme="dark"] .sec-assurance{background:var(--theme-soft);border:1px solid var(--theme-border)}
html[data-theme="dark"] .sec-status{border:1px solid var(--theme-warning-border);background:var(--theme-warning-soft);color:var(--theme-warning)}
html[data-theme="dark"] .sec-stat-grid article{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .sec-stat-grid article:first-child{background:var(--theme-navy);color:var(--theme-on-strong);border-color:var(--theme-accent)}
html[data-theme="dark"] .sec-stat-grid article:first-child strong{color:var(--theme-success)}
html[data-theme="dark"] .sec-stat-grid small{color:var(--theme-muted)}
html[data-theme="dark"] .sec-stat-grid article:first-child small{color:var(--theme-on-strong)}
html[data-theme="dark"] .sec-tabs{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .sec-tabs button{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-accent)}
html[data-theme="dark"] .sec-tabs button[aria-current]{background:var(--theme-navy);color:var(--theme-on-strong);border-color:var(--theme-accent)}
html[data-theme="dark"] .sec-tabs button:focus-visible,html[data-theme="dark"] .sec-domain summary:focus-visible{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] .sec-domain-list{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .sec-domain{border-bottom:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .sec-domain-id{background:var(--theme-soft);color:var(--theme-accent)}
html[data-theme="dark"] .sec-domain-title small{color:var(--theme-muted)}
html[data-theme="dark"] .sec-expand{color:var(--theme-muted)}
html[data-theme="dark"] .sec-domain-detail li small{color:var(--theme-muted)}
html[data-theme="dark"] .sec-path{background:var(--theme-soft)}
html[data-theme="dark"] .sec-flow{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .sec-agent-lead{border-top:3px solid var(--theme-success-border)}
html[data-theme="dark"] .sec-agent-flags span{border:1px solid var(--theme-border);background:var(--theme-soft)}
html[data-theme="dark"] .sec-gates article{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .sec-note{border-left:3px solid var(--theme-warning-border);background:var(--theme-warning-soft)}
html[data-theme="dark"] .sec-findings-table small{color:var(--theme-muted)}
html[data-theme="dark"] .sec-severity{border:1px solid var(--theme-border);background:var(--theme-soft)}
html[data-theme="dark"] .sec-severity.high,html[data-theme="dark"] .sec-severity.critical{border-color:var(--theme-danger-border);background:var(--theme-danger-soft);color:var(--theme-danger)}
html[data-theme="dark"] .sec-severity.medium{border-color:var(--theme-warning-border);background:var(--theme-warning-soft);color:var(--theme-warning)}
html[data-theme="dark"] .sec-editor fieldset{border:1px solid var(--theme-border)}
html[data-theme="dark"] #sec-feedback[data-error]{color:var(--theme-danger);background:var(--theme-danger-soft)}
}
