/* Load last. Host owns data-theme persistence. Cinematic art remains intentionally shaded. */
html[data-theme="light"] :is(.ts-clubhouse,.ts-journey,.ts-role-space,.ts-history-hall){color-scheme:light;--club-text:#1D3226;--club-dim:#4B6255;--club-highlight:#315240;--journey-paper:#1D3226;--journey-muted:#4B6255;color:#1D3226;background:#F6FAF8;border-color:#B5CABE}
html[data-theme="light"] :is(.ts-clubhouse,.ts-journey,.ts-role-space,.ts-history-hall) :is(button,a,input,select,summary):focus-visible{outline-color:#217344}
/* Coach shell and workbench. Scene captions and entrance labels keep their dark-stage colors. */
html[data-theme="light"] :is(.club-topline,.club-heading,.club-workbench,.club-footer){background:#F6FAF8;border-color:#B5CABE}
html[data-theme="light"] :is(.club-topline,.club-heading p,.club-workbench-heading p,.club-completed,.club-controls label,.club-unconnected,.club-footer>span,.club-report-status){color:#4B6255}
html[data-theme="light"] :is(.club-toolbar,.club-zone-list button,.club-prepared-output){background:#E9F3ED;border-color:#B5CABE;color:#223D2E}
html[data-theme="light"] .club-zone-list button[aria-pressed=true]{background:color-mix(in srgb,var(--club-accent) 20%,#fff);color:#1E3628}
html[data-theme="light"] :is(.club-zone-list small,.club-prepared-output>span,.club-prepared-output p,.club-prepared-output li,.club-location){color:#4B6255}
html[data-theme="light"] .club-prepared-output h4{color:#223D2E}
html[data-theme="light"] :is(.club-list-toggle,.club-replay,.club-mark,.club-report){background:#fff;color:#2B503B;border-color:#88A896}
html[data-theme="light"] :is(.club-controls select,.club-controls input){background:#fff;color:#223D2E;border-color:#88A896}
html[data-theme="light"] .ts-journey :is(.club-mark,.club-prepared-output){background:#E9F3ED;color:#223D2E;border-color:#88A896}
html[data-theme="light"] .ts-journey :is(.club-location,.club-report-status){color:#4B6255}
/* Briefing and feature cards. */
html[data-theme="light"] :is(.journey-header,.journey-briefing,.journey-features,.journey-footer){background:#F6FAF8;border-color:#B5CABE}
html[data-theme="light"] :is(.journey-header>div>span,.journey-header p,.journey-powered,.journey-section-head>div>span,.journey-section-head p,.journey-sample-selects label,.journey-search,.journey-question,.journey-fixture,.journey-card-metric>span,.journey-priority>p,.journey-evidence-note,.journey-working-plan>div>span,.journey-working-plan p,.journey-plan-items small,.journey-plan-empty,.journey-feature-groups article>span,.journey-footer,.journey-no-tools){color:#4B6255}
html[data-theme="light"] :is(.journey-quick-brief button,.journey-chapters button,.journey-travel-controls,.journey-priority,.journey-working-plan,.journey-plan-items li,.journey-feature-groups article){background:#E9F3ED;color:#223D2E;border-color:#B5CABE}
html[data-theme="light"] :is(.journey-quick-brief button>span,.journey-quick-brief small,.journey-chapters strong,.journey-travel-status){color:#4B6255}
html[data-theme="light"] .journey-chapters button[aria-current=step]{background:color-mix(in srgb,var(--journey-accent) 22%,#fff);color:#223D2E}
html[data-theme="light"] .journey-chapters button[aria-current=step] strong{color:#223D2E}
html[data-theme="light"] :is(.journey-sample-selects select,.journey-search input,.journey-plan-items li>button,.journey-export,.journey-feature-groups a,.journey-feature-groups button){background:#fff;color:#223D2E;border-color:#88A896}
html[data-theme="light"] .journey-feature-groups :is(a,button)>small{color:#4B6255}
html[data-theme="light"] :is(.journey-priority summary,.journey-evidence-scroll td,.journey-evidence-scroll th){color:#365644;border-color:#B1C6BA}
html[data-theme="light"] .journey-priority>button:disabled{background:#D9E5DE;color:#4B6255}
html[data-theme="light"] .journey-plan-status{color:#315240!important}
html[data-theme="light"] .journey-travel-actions .journey-pause{background:#fff;color:#223D2E;border-color:#88A896}
/* GM box, AD office and Owner office tools. */
html[data-theme="light"] :is(.role-space-header,.role-space-tools,.role-space-agenda,.role-space-footer){background:#F6FAF8;border-color:#B5CABE}
html[data-theme="light"] :is(.role-space-header>div>span,.role-space-header p,.role-space-header>span,.role-space-summary span,.role-space-heading>div>span,.role-space-heading p,.role-space-detail>div>span,.role-space-detail p,.role-space-detail small,.role-space-agenda>div>span,.role-space-agenda p,.role-agenda-items small,.role-agenda-empty,.role-space-footer){color:#4B6255}
html[data-theme="light"] :is(.role-space-summary>div,.role-space-chapters button,.role-space-travel,.role-space-tool-list button,.role-space-detail,.role-agenda-items li){background:#E9F3ED;color:#223D2E;border-color:#B5CABE}
html[data-theme="light"] :is(.role-space-chapters button[aria-current=step],.role-space-tool-list button[aria-pressed=true]){background:color-mix(in srgb,var(--role-accent) 22%,#fff);color:#223D2E;border-color:#729682}
html[data-theme="light"] :is(.role-space-travel p,.role-space-tool-list span){color:#4B6255}
html[data-theme="light"] :is(.role-space-list-toggle,.role-agenda-items button,.role-agenda-export){background:#fff;color:#223D2E;border-color:#88A896}
html[data-theme="light"] .role-add-agenda{background:#fff;color:#223D2E!important;border-color:#88A896}
html[data-theme="light"] .role-unconnected{color:#4B6255!important}
html[data-theme="light"] .role-agenda-status{color:#315240!important}
/* Source-linked UND heritage hall. */
html[data-theme="light"] :is(.hall-heading,.hall-footer,.hall-content,.hall-source-drawer){background:#F6FAF8;border-color:#B5CABE}
html[data-theme="light"] :is(.hall-heading>div>span,.hall-heading p,.hall-category-heading>span,.hall-category-heading p,.hall-source-drawer p,.hall-source-drawer li,.hall-source-drawer summary,.hall-footer span){color:#4B6255}
html[data-theme="light"] :is(.hall-category-controls button,.hall-detail,.hall-scene-note){background:#E9F3ED;color:#223D2E;border-color:#B5CABE}
html[data-theme="light"] .hall-category-controls button[aria-pressed=true]{background:color-mix(in srgb,var(--hall-accent) 16%,#fff);border-color:#547964;color:#223D2E}
html[data-theme="light"] :is(.hall-category-controls span,.hall-detail>div>span,.hall-detail p){color:#4B6255}
html[data-theme="light"] :is(.hall-item-selector button,.hall-citations a){background:#fff;color:#214936;border-color:#88A896}
html[data-theme="light"] .hall-item-selector button[aria-pressed=true]{background:#cce5d6;color:#153b29;border-color:#547964}
html[data-theme="light"] .hall-citations a:hover{background:#dcebe3}
/* The default dark CSS is retained for html[data-theme="dark"] and unset themes. */
