/* Only screen chrome changes. Map symbols, SVGs, exports and print forms keep their colours. */
@media screen {
html[data-theme=light]{color-scheme:light;--bg:#f2f5f8;--surface:#fff;--surface2:#e8eff5;--line:#bdcbd6;--text:#1e3345;--muted:#4d6578;--link:#175b8e;--accent:#28658f;--panel:var(--surface);--panel2:var(--surface2)}
html[data-theme=light] a{color:var(--link)}
html[data-theme=light] body{background:var(--bg);color:var(--text)}
html[data-theme=light] :is(header,aside){background:#e8eff5;color:var(--text)}
html[data-theme=light] :is(button,input,select,textarea,a.button){background:#f5f8fb;color:var(--text);border-color:#9eafbd}
html[data-theme=light] :is(button:hover,a.button:hover){background:#dce8f2;color:#16334a}
html[data-theme=light] :is(button.primary,.primary){background:#245f8b!important;border-color:#245f8b!important;color:white!important}
html[data-theme=light] button.link{background:transparent;color:var(--link)}
html[data-theme=light] :is(.danger,.formError,#saveState.error){color:#a02e23!important}
html[data-theme=light] :is(label,th,.hint,.empty,.foot,.eyebrow,.navcaption,.localnote,#congregation,.navName,.asideNote,.navIcon,.navExternalMark,.navExternalLabel small,.top p,.pageTitle p,.mapCaption,.comparisonLegend,.report small,.report .hint,.report th,.chartData summary,.historyTable summary){color:var(--muted)}
html[data-theme=light] :is(nav button,nav a.navExternal){color:#27465e;background:transparent}
html[data-theme=light] :is(nav button.active,nav button[aria-current],nav a.navExternal:hover,.areaRail button.active,.tabs button.active,.cardRow.selected,tr.selected,.welcomeSteps [aria-current]){background:#d7e6f2;color:#173e5e;border-color:#416f92}
html[data-theme=light] :is(.cardRow:hover,.deskCounts button:hover){background:#e3edf5}
html[data-theme=light] :is(.globalSearchBar button,.attentionCard,.dashboardShortcuts button,.geoChosen,.geoRange,.searchEmpty){background:#e8eff5;color:var(--text);border-color:var(--line)}
html[data-theme=light] :is(.globalSearchBar kbd,.searchEmpty p,.searchResult small,.attentionCard small,.dashboardShortcuts button>span,.dashboardMetrics small,.dashboardRing span,.ringLegend span,.trendPeriod){color:var(--muted)}
html[data-theme=light] :is(.deskCounts strong,.dashboardShortcuts strong,.dashboardMetrics strong,.dashboardGrid h3,.geoTotal){color:#205579}
html[data-theme=light] .dashboardHero{background:linear-gradient(125deg,#dceaf5,#eef5fa);border-color:var(--line)}
html[data-theme=light] .dashboardHero :is(h2,p,small,.eyebrow){color:#24465f}
html[data-theme=light] :is(.privacyBadge,.attentionClear,.savedNote,.save-indicator,#saveState){color:#285e43}
html[data-theme=light] :is(.notice,.undoBar,.picks span,.badge,.attentionSummary b){background:#e1edf7;color:#244d6c;border-color:#91adbf}
html[data-theme=light] :is(.warning,.taskAlert,.connectionNotice,.navTaskCount,.navFollowupCount,.demoBadge){background:#fff0cf;color:#654512;border-color:#a27b34}
html[data-theme=light] :is(.issueTaskAlert,.saveDetail){background:#fff0eb;color:#8a3026;border-color:#b36e5c}
html[data-theme=light] :is(.connectionNotice.restored,.statusBadge.folder,.badge.folder){background:#d9f0e5;color:#1d593c;border-color:#77a38e}
html[data-theme=light] :is(.statusBadge.issued,.badge.assigned){background:#fff0cf;color:#654512}
html[data-theme=light] :is(.statusBadge.box,.badge.box){background:#deebf8;color:#244d6c}
html[data-theme=light] :is(button.issueAction,.mapGestureControls button[aria-pressed=true]){background:#daefe3;color:#1c563b;border-color:#6e9e82}
html[data-theme=light] button.returnAction{background:#fbeaca;color:#614113;border-color:#a68348}
html[data-theme=light] :is(.attentionLink,.navGroup summary){color:var(--link);background:transparent}
html[data-theme=light] .publisherSuggestions button{background:#f5f8fb;color:#183b55}
html[data-theme=light] :is(.publisherSuggestions button:hover,.publisherSuggestions button[aria-selected=true],.roadSuggestions button[aria-selected=true]){background:#245f8b;color:white}
html[data-theme=light] :is(.geoDownloadStatus,#toast){background:#245f8b;color:white}
html[data-theme=light] .dashboardRing{background:conic-gradient(#3b779f var(--portion),#dae4ed 0)}
html[data-theme=light] :is(.panel,.stat,.taskMetric,dialog){background:var(--surface);color:var(--text)}
html[data-theme=light] :is(.brand,.brand:hover,.brandIdentity){background:transparent;color:var(--text)}
html[data-theme=light] input::placeholder,html[data-theme=light] textarea::placeholder{color:#536d80;opacity:1}
html[data-theme=light] .dashboardTrend svg text{fill:#405d72}
html[data-theme=light] :focus-visible{outline:3px solid #256b9e;outline-offset:2px}
}
