html[data-theme] :is(.site-header,.hero-live-panel,.explorer-controls,.camera-card,.detail-description,.detail-facts,.no-results,.empty-state,.content-card,.news-card,.content-language,.maintenance-card){background:var(--ui-panel);color:var(--ui-text);border-color:var(--ui-border);box-shadow:var(--ui-shadow)}
html[data-theme] :is(.site-brand strong,.hero h1,.hero-live-panel>strong,.section-title h2,.camera-card h3,.camera-detail-head h1,.detail-description h2,.empty-state h2,.content-hero h1,.legal-page h1,.news-card h3,.maintenance-card h1,.content-language summary){color:var(--ui-text)}
html[data-theme] :is(.site-brand small,.site-nav a,.back-link,.hero-copy>p,.hero-live-panel,.hero-live-panel small,.section-title>div>span,.result-bar,.result-bar button,.camera-card p,.camera-detail-head p,.detail-description p,.detail-facts dt,.camera-meta,.legal-updated,.news-card time,.camera-responsibility,.site-footer,.map-loading,.maintenance-card p,.maintenance-card small){color:var(--ui-muted)}
html[data-theme] :is(.hero h1 em,.hero-kicker,.detail-eyebrow,.site-nav a:hover,.back-link:hover,.maintenance-kicker,.site-footer a:hover){color:var(--ui-accent)}
html[data-theme] :is(.language-switch,.view-toggle){background:var(--ui-soft)}
html[data-theme] :is(.language-switch a,.view-toggle button){color:var(--ui-muted)}
html[data-theme] :is(.language-switch a.active,.view-toggle button.active){background:var(--ui-raised);color:var(--ui-accent)}
html[data-theme] .primary-button{background:var(--ui-button);color:var(--ui-button-text)}
html[data-theme] .primary-button:hover{filter:brightness(1.08);background:var(--ui-button)}
html[data-theme] :is(.ghost-button,.control-button,.explorer select,.detail-actions button,.map-fact-link){background:var(--ui-panel);color:var(--ui-text);border-color:var(--ui-border)}
html[data-theme] :is(.search-box,.search-box input){background:var(--ui-soft);color:var(--ui-text);border-color:var(--ui-border)}
html[data-theme] .search-box input::placeholder{color:var(--ui-muted)}
html[data-theme] .feature-line{background:var(--ui-border)}
html[data-theme] :is(.camera-meta span,.detail-tags span,.featured-star){background:var(--ui-raised);color:var(--ui-text);border-color:var(--ui-border)}
html[data-theme] .camera-meta span:first-child{background:var(--ui-info-bg);color:var(--ui-info)}
html[data-theme] :is(.favorite-button,.site-footer strong){color:var(--ui-muted)}
html[data-theme] :is(.favorite-button:hover,.favorite-button.is-favorite,.detail-actions .is-favorite){background:var(--ui-danger-bg);color:var(--ui-danger)}
html[data-theme] .camera-status{background:var(--ui-panel);color:var(--ui-text);border-color:var(--ui-border)}
html[data-theme] .camera-status.live{color:var(--ui-success)}
html[data-theme] .camera-hover-action{background:var(--ui-panel);color:var(--ui-accent);border-color:var(--ui-border)}
html[data-theme] .camera-card:hover{border-color:var(--ui-accent)}
html[data-theme] :is(.detail-facts dl>div,.camera-responsibility,.site-footer){border-color:var(--ui-border)}
html[data-theme] .detail-facts .map-fact-link{background:var(--ui-info-bg);color:var(--ui-info)}
html[data-theme] :is(.legal-text,.content-hero .prose-text,.prose-text){color:var(--ui-text)}
html[data-theme] :is(.map-notice,.map-notice button){background:var(--ui-warning-bg);color:var(--ui-warning);border-color:var(--ui-warning)}
html[data-theme] .portal-map{background:var(--ui-soft);border-color:var(--ui-border)}
html[data-theme] :is(.leaflet-popup-content-wrapper,.leaflet-popup-tip){background:var(--ui-panel)!important;color:var(--ui-text)!important}
html[data-theme] :is(.map-popup-body,.map-popup-body span){color:var(--ui-text)}
html[data-theme] .map-popup-body a{color:var(--ui-accent)}
html[data-theme] .maintenance-mode{background:var(--ui-bg);color:var(--ui-text)}
html[data-theme] :is(.embed-mode,.embed-mode .public-shell){background:var(--ui-bg)}
html[data-theme] .hero-visual:has(.hero-image[src*="status-set.svg"]) .hero-image-caption{background:var(--ui-panel);color:var(--ui-text)}
html[data-theme] .hero-visual:has(.hero-image[src*="status-set.svg"]) .hero-image-caption small{color:var(--ui-muted)}
.site-brand .brand-graphic{width:122px;height:75px}.site-brand .brand-graphic img{width:100%;height:100%;border-radius:0}
.site-nav{flex-wrap:wrap;justify-content:flex-end}.maintenance-tools{display:flex;justify-content:flex-end;padding:0 0 16px}
.camera-card-image:has(img[src*="status-set.svg"]) .camera-hover-action{display:none}
@media(max-width:760px){.header-inner{gap:12px;flex-wrap:wrap}.site-brand{flex:1}.site-brand .brand-graphic{width:96px;height:60px}.site-nav{gap:8px}.site-nav .theme-choice{order:2}html[data-theme] .site-nav .theme-choice select{max-width:100px}}
@media(max-width:440px){.site-brand>span:not(.brand-graphic){display:none}.site-nav{gap:6px}.site-brand .brand-graphic{width:90px;height:56px}.header-inner{flex-wrap:nowrap}}
