/* IntelMap reference design. Shared presentation only; API contracts unchanged. */
@font-face { font-family: 'Geist Variable'; src: url('fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
body.admin-body { --bg:#0a0a0a; --panel:#141414; --line:#333; --text:#e8e8e8; --muted:#aaa; --green:#44ff88; --mint:#44ff88; background:#0a0a0a; font-family:'Geist Variable',system-ui,sans-serif; }
body.admin-body .admin-grid-bg, body.admin-body .admin-radar { display:none; }
body.admin-body :is(input,select,button,textarea) { font-family:'Geist Variable',system-ui,sans-serif; font-size:14px; border-radius:5px; }
body.admin-body button { min-height:36px; }
body.admin-body :is(p,td,th,label) { font-family:'Geist Variable',system-ui,sans-serif; font-size:13px; }
body.admin-body :is(.admin-panel,.admin-login-card,.admin-settings-card) { border-radius:5px; background:#141414; }
body.admin-body .admin-header { background:#0a0a0a; border-color:#333; }
body.admin-body .admin-header nav a { font:500 14px 'Geist Variable',system-ui,sans-serif; }
html { --radius: 5px; }
body.im-themed .theme-release-note { padding: 20px; margin: 20px 0; }
body.im-themed .theme-release-note > span { font: 11px var(--mono); color: var(--acid); }
body.im-themed .theme-release-note h2 { font: 600 22px var(--reading); margin: 8px 0; }
body.theme-standalone { background: #0a0a0a; color: #e8e8e8; font-family: var(--reading); }
body.theme-standalone .plus-email-card { border-color: #444; border-radius: 5px; background: #141414; }
body.theme-standalone .plus-email-card p { font: 15px/1.65 var(--reading); color: #aaa; }
body.theme-standalone :is(.plus-email-primary,.plus-email-link) { font: 600 14px/1.4 var(--reading); letter-spacing: 0; }
body.im-themed, body.map-first { font-family: var(--reading); background: #0a0a0a; color: var(--ink); }
body.im-themed { padding-top: 60px; }
body.im-themed .ambient-grid, body.im-themed .noise, body.map-first .ambient-grid, body.map-first .noise { display: none; }
body.im-themed .language-menu summary { font: 500 13px/1.3 var(--reading); letter-spacing: 0; min-height: 38px; display: flex; align-items: center; }
body.im-themed .language-menu nav a { font: 500 13px/1.4 var(--reading); padding: 10px 12px; }
@media (max-width:700px) {
    body.im-themed .language-menu summary { font-size: 12px; }
    body.im-themed .language-menu .language-menu-current { font-size: 12px; }
    body.im-themed .signal-header .utc-clock { display: none; }
}
body.im-themed .site-header, body.map-first .site-header { height: 60px; min-height: 60px; padding: 0 18px; position: relative; display: flex; gap: 20px; border-bottom: 1px solid #333; background: #0a0a0a; z-index: 70; }
body.im-themed .site-header { position: fixed; inset: 0 0 auto; }
body.im-themed .brand, body.map-first .brand { flex: 0 0 auto; gap: 0; }
body.im-themed .brand-mark, body.map-first .brand-mark, body.im-themed .brand small, body.map-first .brand small { display: none; }
body.im-themed .brand-copy strong, body.map-first .brand-copy strong { font: 750 28px var(--reading); letter-spacing: .5px; white-space: nowrap; }
body.im-themed .brand-copy strong span, body.map-first .brand-copy strong span { color: var(--acid); }
.im-navigation { position: fixed; left: 0; top: 60px; bottom: 0; width: 62px; z-index: 65; background: #0d0e0e; border-right: 1px solid #333; display: flex; flex-direction: column; padding: 8px; gap: 6px; font: 500 14px var(--reading); }
.im-navigation svg, .shell-command svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: 0 0 22px; }
body.im-themed .im-navigation { position: fixed; inset: 60px auto 0 0; width: 62px; height: auto; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 6px; padding: 8px; z-index: 65; background: #0c0c0c; border-right: 1px solid #333; }
.im-navigation .im-nav-toggle, .im-navigation .im-nav-links > a, .im-nav-more > summary { width: 44px; min-height: 44px; display: flex; align-items: center; gap: 13px; padding: 10px; border: 1px solid transparent; border-radius: 5px; color: #ccc; background: transparent; text-decoration: none; cursor: pointer; }
.im-nav-links { display: flex; flex-direction: column; flex: 1; gap: 6px; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.im-navigation .im-nav-links > a.active { color: var(--acid); border-color: var(--acid); background: #131a16; }
.im-navigation .im-nav-more.active > summary, .im-navigation .im-nav-more a.active { color: var(--acid); border-color: var(--acid); background: #131a16; }
.im-navigation span { display: none; white-space: nowrap; }
body.im-themed .im-navigation.expanded { width: 240px; box-shadow: 12px 0 30px #0005; }
.im-navigation.expanded .im-nav-links > a, .im-navigation.expanded .im-nav-toggle, .im-navigation.expanded summary { width: 100%; }
.im-navigation.expanded span { display: inline; }
.im-navigation .im-nav-profile { margin-top: auto; }
:is(.site-header,.plus-header) > .im-nav-header-toggle { display: inline-grid; place-items: center; width: 38px; min-width: 38px; height: 38px; padding: 8px; margin-right: auto; border: 1px solid #444; border-radius: 5px; color: #ccc; background: #181818; cursor: pointer; }
:is(.site-header,.plus-header) > .im-nav-header-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
#shell-global-content > .im-nav-toggle { display: flex; align-items: center; gap: 10px; }
#shell-global-content > .im-nav-toggle svg { width: 18px; height: 18px; }
.im-nav-more { position: static; }
.im-nav-more > summary { list-style: none; }
.im-nav-more > summary::-webkit-details-marker { display: none; }
.im-nav-more[open] > div { position: fixed; bottom: 65px; left: 70px; width: 220px; max-height: 70vh; overflow: auto; background: #141414; border: 1px solid #444; border-radius: 5px; padding: 8px; box-shadow: 0 8px 30px #0008; }
.im-navigation .im-nav-more a { display: block; padding: 10px 12px; color: #ddd; text-decoration: none; border-radius: 4px; }
.im-navigation a:hover, .im-navigation button:hover, .im-navigation summary:hover { background: #242424; color: white; }
body.im-themed > main, body.im-themed > .site-footer { margin-left: 62px; width: calc(100% - 62px); }
body.im-themed:where(:not(.map-first):not(.workspace-page):not(.plus-page)) > main { padding: 24px; }
body.im-themed :is(.digest-list,.policy-copy,.developer-main,.roadmap-main,.translation-main) :is(p,li) { font: 14px/1.7 var(--reading); }
body.im-themed :is(.digest-meta,.digest-list footer,.digest-delivery a,.digest-future span,.developer-main dt,.developer-main dd,.developer-main code,.developer-main small,.developer-main table,.policy-section > header span,.policy-copy aside > b) { font-size: 12px; line-height: 1.6; }
body.im-themed .digest-list h2 { font: 600 20px/1.4 var(--reading); }
body.im-themed .developer-main :is(pre,code) { font-family: var(--mono); overflow-wrap: anywhere; }
body.im-themed .developer-main :is(.api-reference > header h2,.api-quickstart h2) { font: 600 24px/1.4 var(--reading); }
body.im-themed .developer-main :is(.api-route span,.api-route b,.api-reference header > a,.api-endpoint > div > a,.api-code > span) { font: 12px/1.5 var(--reading); }
body.im-themed .subscribe-intro h1 { font: 600 36px/1.2 var(--reading); letter-spacing: -.025em; }
body.im-themed .subscribe-intro h1 em { color: #e8e8e8; font: inherit; }
body.im-themed .subscribe-intro > p,body.im-themed .subscribe-result p { font: 14px/1.7 var(--reading); }
body.im-themed :is(.subscribe-intro > span,.subscribe-manifest b,.subscribe-manifest span,.subscribe-privacy,.subscribe-privacy p,.subscribe-privacy a,.subscribe-console label,.subscribe-console legend,.subscribe-console footer) { font: 12px/1.6 var(--reading); letter-spacing: 0; }
body.im-themed .subscribe-console { border-radius: 5px; background: #141414; }
body.im-themed .subscribe-console :is(input,select,button) { font: 14px/1.5 var(--reading); }
body.im-themed .subscribe-result h2 { font: 600 22px/1.4 var(--reading); }
body.im-themed .subscribe-result a { font: 14px/1.5 var(--reading); }
body.im-themed .policy-section h2 { font: 600 22px/1.4 var(--reading); }
body.im-themed .policy-copy :is(ul,ol) { padding-left: 24px; }
body.im-themed .privacy-index :is(span,a) { font: 12px/1.5 var(--reading); }
body.im-themed .privacy-summary :is(b,p,span) { font: 14px/1.6 var(--reading); }
body.im-themed .site-footer :is(span,p,a) { font: 12px/1.5 var(--reading); }
body.im-themed :is(.translation-lane dt,.translation-lane dd,.translation-lane footer,.translation-lane footer b,.translation-lane footer span,.translation-state small,.translation-state span,.translation-summary span,.translation-item time,.translation-item time b,.translation-item time span,.translation-item > div > span,.translation-readiness span,.translation-note b) { font: 12px/1.5 var(--reading); letter-spacing: 0; }
body.im-themed .translation-lane > header h3 { font: 600 15px/1.5 var(--reading); }
body.im-themed .translation-lane > header b { font: 600 13px var(--reading); }
body.im-themed .translation-item h3 { font: 600 16px/1.5 var(--reading); }
body.im-themed .translation-note { border-color: #444; border-radius: 5px; }
body.im-themed :is(.translation-lanes,.translation-wire,.api-quickstart,.api-reference) > header h2 { font: 600 24px/1.3 var(--reading); }
body.im-themed .translation-unavailable { grid-column: 1 / -1; margin: 0; padding: 24px; color: #aaa; background: #141414; border: 1px solid #444; border-radius: 5px; }
body.im-themed .translation-summary small { font: 12px/1.5 var(--reading); }
body.im-themed .roadmap-target { background: #141414; border-color: #444; border-radius: 5px; }
body.im-themed .roadmap-target::after { display: none; }
body.im-themed .roadmap-target :is(small,span),body.im-themed .roadmap-command :is(span,b),body.im-themed .roadmap-manifest :is(span,b),body.im-themed .roadmap-milestone :is(header > div > span,footer,header > b) { font: 12px/1.6 var(--reading); }
body.im-themed .roadmap-milestone h2 { font: 600 22px/1.4 var(--reading); }
body.im-themed .roadmap-manifest h2 { font: 600 18px/1.4 var(--reading); }
body.im-themed .scope-card h3 { font: 600 17px/1.4 var(--reading); }
body.im-themed .scope-card p { font: 14px/1.7 var(--reading); color: #aaa; }
body.im-themed .scope-card :is(time,footer),body.im-themed .scope-card > div > span { font: 12px/1.5 var(--reading); }
body.im-themed .scope-stats b { font: 600 24px var(--reading); }
body.im-themed .scope-stats span { font: 12px var(--reading); }
body.im-themed .status-main :is(.source-row b,.status-services b) { font: 500 14px/1.5 var(--reading); }
body.im-themed .status-main :is(.source-row small,.source-row > span,.status-services span,.status-summary span) { font: 12px/1.5 var(--reading); }
body.im-themed .status-main .status-summary b { font: 600 22px var(--reading); }
body.im-themed .status-main .panel-header h2 { font: 600 16px var(--reading); text-transform: none; }
body.im-themed .status-main .panel { border-radius: 5px; }
body.im-themed .report-submit { background: #1c1c1c; color: #eee; border-color: var(--acid); font: 500 14px var(--reading); }
body.im-themed.im-nav-expanded:not(.map-first) > main, body.im-themed.im-nav-expanded:not(.map-first) > .site-footer { margin-left: 240px; width: calc(100% - 240px); }
body.im-themed:not(.map-first) .site-header { justify-content: space-between; }
body.im-themed :is(.discover-main,.compare-main,.archive-main) { padding: 24px; }
body.im-themed .signal-main { padding: 24px; max-width: none; }
body.im-themed .signal-copy h1 { font: 600 clamp(28px,3vw,38px)/1.25 var(--reading); letter-spacing: -.025em; }
body.im-themed .signal-copy > p { font: 16px/1.75 var(--reading); }
body.im-themed :is(.signal-source,.signal-source-link,.signal-meta,.signal-breadcrumb) { font: 12px/1.6 var(--reading); }
body.im-themed .signal-facts { border-radius: 5px; background: #141414; }
body.im-themed .signal-facts :is(dt,dd) { font: 13px/1.5 var(--reading); }
body.im-themed .signal-facts > a { font: 13px/1.5 var(--reading); padding: 12px 16px; }
body.im-themed :is(.signal-origin,.signal-flags,.facts-heading) { font: 12px/1.5 var(--reading); }
body.im-themed .original-link { font: 500 14px/1.5 var(--reading); border-radius: 5px; text-transform: none; background: #181818; color: #e8e8e8; border-color: var(--acid); }
body.im-themed .original-link:hover { background: #242b27; color: white; }
body.im-themed .signal-caveat b { font: 600 12px var(--reading); }
body.im-themed .signal-caveat p { font: 14px/1.6 var(--reading); color: #aaa; }
body.im-themed .incident-evolution :is(time,span) { font-size: 12px; }
body.im-themed .incident-evolution p { font: 14px/1.5 var(--reading); }
body.im-themed .related-signals a h3 { font: 600 15px/1.5 var(--reading); }
body.im-themed .related-signals a :is(span,b) { font: 12px/1.5 var(--reading); }
body.im-themed .report-dialog { border: 1px solid #444; border-radius: 5px; background: #141414; }
body.im-themed .report-dialog :is(label,p) { font: 14px/1.6 var(--reading); }
body.im-themed .report-dialog :is(select,textarea) { font: 14px/1.5 var(--reading); background: #181818; color: #eee; border: 1px solid #444; border-radius: 5px; }
body.im-themed :is(.signal-evolution,.verification-notice,.signal-caveat) { font: 14px/1.6 var(--reading); }
@media(max-width:700px){body.im-themed .signal-main { padding: 18px; } body.im-themed .signal-copy h1 { font-size: 28px; }}
body.im-themed :is(.archive-hero,.api-hero,.digest-hero,.translation-hero,.roadmap-hero,.privacy-hero,.scope-hero,.status-hero) h1 { font: 600 clamp(28px,3vw,36px)/1.2 var(--reading); letter-spacing: -.025em; margin: 8px 0 12px; }
body.im-themed :is(.archive-hero,.api-hero,.digest-hero,.translation-hero,.roadmap-hero,.privacy-hero,.scope-hero,.status-hero) h1 em { font-family: var(--reading); font-style: normal; color: #e8e8e8; }
body.im-themed :is(.archive-hero,.api-hero,.digest-hero,.translation-hero,.roadmap-hero,.privacy-hero,.scope-hero,.status-hero) p { font: 14px/1.7 var(--reading); color: #aaa; }
body.im-themed .archive-hero { padding-bottom: 20px; gap: 24px; align-items: center; }
body.im-themed .archive-hero > div:first-child > span { font: 11px var(--mono); }
body.im-themed .archive-state { min-width: 170px; padding: 16px; border-radius: 5px; }
body.im-themed .archive-state b { font: 600 28px var(--reading); }
body.im-themed .archive-state span { font: 12px/1.5 var(--reading); }
body.im-themed .archive-state small { font-size: 10px; }
body.im-themed .archive-filters { border-radius: 5px; gap: 12px; }
body.im-themed .archive-filters label { font: 12px/1.5 var(--reading); letter-spacing: 0; }
body.im-themed .archive-filters :is(input,select,button) { font: 14px var(--reading); min-height: 40px; }
body.im-themed .archive-layout { grid-template-columns: 300px minmax(0,1fr); }
body.im-themed :is(.archive-calendar,.archive-wire) { border-radius: 5px; }
body.im-themed :is(.archive-calendar,.archive-wire) > header span { font: 11px var(--reading); }
body.im-themed :is(.archive-calendar,.archive-wire) > header h2 { font: 600 17px var(--reading); }
body.im-themed .archive-wire > header > b { font: 12px var(--reading); }
body.im-themed .archive-card { grid-template-columns: 68px minmax(0,1fr); gap: 16px; padding: 18px; }
body.im-themed .archive-card h3 { font: 600 17px/1.4 var(--reading); }
body.im-themed .archive-card p { font: 14px/1.6 var(--reading); }
body.im-themed .archive-card :is(.archive-meta,footer) { font: 11px/1.5 var(--reading); }
body.im-themed .archive-card time b { font: 600 13px var(--mono); }
body.im-themed .archive-card time span { font: 11px/1.5 var(--mono); }
body.im-themed .archive-pagination { font: 13px var(--reading); }
body.im-themed .archive-calendar { top: 76px; }
body.im-themed .calendar-weekdays span { font: 11px var(--reading); }
body.im-themed .calendar-grid > a b { font: 600 12px var(--reading); }
body.im-themed .calendar-grid > a span { font: 10px var(--reading); }
body.im-themed .archive-calendar > footer { font: 11px var(--reading); flex-wrap: wrap; }
body.im-themed .archive-filters button,body.im-themed .archive-filters button:hover,body.im-themed .plus-button.primary,body.im-themed .plus-button.primary:hover,body.im-themed #workspace-new,body.im-themed #workspace-add-widget,body.im-themed .subscribe-submit,body.im-themed #alerts-create { background: #1b1f1d; color: #eee; border-color: var(--acid); }
@media(max-width:1000px){body.im-themed .archive-layout { grid-template-columns: 1fr; } body.im-themed .archive-calendar { max-width: none; }}
@media(max-width:700px){body.im-themed .archive-hero { grid-template-columns: 1fr; }body.im-themed .archive-card { grid-template-columns: 1fr; }body.im-themed .archive-card time { display: flex; align-items: center; gap: 10px; }body.im-themed .archive-card footer { flex-wrap: wrap; }}
body.im-themed :is(.discover-hero,.compare-hero) { margin-bottom: 20px; gap: 20px; }
body.im-themed :is(.discover-hero,.compare-hero) h1 { font: 650 30px/1.2 var(--reading); letter-spacing: -.5px; }
body.im-themed :is(.discover-hero,.compare-hero) h1 em { color: inherit; font: inherit; }
body.im-themed :is(.discover-hero,.compare-hero) > div > span { display: none; }
body.im-themed :is(.discover-hero,.compare-hero) p { font: 14px/1.6 var(--reading); }
body.im-themed .discover-hero aside { display: none; }
body.im-themed .discover-searchbox input { font: 16px var(--reading); min-height: 48px; }
body.im-themed .discover-searchbox label { font: 12px var(--reading); letter-spacing: .04em; }
body.im-themed :is(.discover-toolbar,.compare-toolbar) { flex-wrap: wrap; gap: 10px; }
body.im-themed :is(.discover-toolbar-actions,.compare-toolbar-actions) { flex-wrap: wrap; }
body.im-themed .discover-result h3 { font: 600 17px/1.4 var(--reading); }
body.im-themed .discover-result p { font: 14px/1.6 var(--reading); }
body.im-themed .discover-result h2 { font: 600 17px/1.4 var(--reading); }
body.im-themed .discover-result-meta, body.im-themed .discover-result footer { font: 12px var(--reading); }
body.im-themed #discover-filters :is(label,legend) { font: 12px/1.5 var(--reading); }
body.im-themed #discover-filters :is(input:not([type=checkbox]),select) { font-size: 14px; min-height: 38px; }
body.im-themed :is(.discover-view-panel,.compare-tray) { background: #141414; border-color: #444; border-radius: 5px 0 0 5px; }
body.im-themed :is(.discover-view-panel,.compare-tray) :is(header span,header b,header small,label,p) { font: 12px/1.5 var(--reading); letter-spacing: 0; }
body.im-themed .discover-view-panel :is(input,select) { color: #e8e8e8; background: #181818; border: 1px solid #444; border-radius: 5px; font: 14px var(--reading); }
body.im-themed .discover-saved-list input { font-size: 14px; }
body.im-themed .discover-view-layout { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; }
body.im-themed .discover-view-layout:has(.discover-context:not([hidden])):not([data-view="map"]) { grid-template-columns: minmax(0,1.5fr) minmax(310px,1fr); }
body.im-themed .discover-context { position: sticky; top: 76px; display: grid; gap: 0; min-width: 0; border-left: 1px solid #333; max-height: calc(100dvh - 92px); overflow: auto; }
body.im-themed .discover-context .discover-map { height: 300px; min-height: 300px; border: 0; }
body.im-themed .discover-view-layout[data-view="map"] .discover-context { grid-template-columns: minmax(0,1fr) minmax(280px,340px); position: static; }
body.im-themed .discover-view-layout[data-view="map"] .discover-map { height: 560px; }
body.im-themed .discover-preview { padding: 18px; border-top: 1px solid #333; background: #141414; }
body.im-themed .discover-preview h2 { margin: 0 0 14px; font: 600 16px var(--reading); }
body.im-themed .discover-preview h3 { margin: 0 0 16px; font: 600 18px/1.4 var(--reading); }
body.im-themed .discover-preview dl { margin: 0; }
body.im-themed .discover-preview dl > div { display: grid; grid-template-columns: 95px minmax(0,1fr); gap: 10px; padding: 7px 0; font: 13px/1.5 var(--reading); }
body.im-themed .discover-preview dt { color: #aaa; }
body.im-themed .discover-preview dd { margin: 0; overflow-wrap: anywhere; }
body.im-themed .discover-preview p { font: 14px/1.6 var(--reading); color: #bbb; }
body.im-themed .discover-preview > a { display: inline-block; border: 1px solid var(--acid); border-radius: 5px; color: white; padding: 9px 15px; font: 14px var(--reading); text-decoration: none; }
body.im-themed .workspace-shell { position: relative; min-height: calc(100dvh - 60px); grid-template-columns: minmax(0,1fr); }
body.im-themed .workspace-library { display: none; }
body.im-themed .im-library-open .workspace-library { display: grid; grid-template-rows: auto auto minmax(100px,1fr) auto; align-content: start; position: absolute; z-index: 55; left: 0; top: 0; bottom: 0; width: min(300px,100%); max-height: calc(100dvh - 60px); box-shadow: 8px 0 30px #0008; overflow-y: auto; }
body.im-themed .workspace-library .workspace-list { display: block; overflow: auto; max-width: 100%; }
body.im-themed .workspace-library .workspace-list-item { width: 100%; min-height: 80px; align-content: center; gap: 10px; }
body.im-themed .workspace-library-actions { align-content: start; }
body.im-themed .workspace-library-actions :is(button,label,a) { min-height: 40px; font: 12px var(--reading); }
body.im-themed .workspace-library .workspace-list-item b { font: 500 14px var(--reading); }
body.im-themed .workspace-library .workspace-list-item small { font-size: 11px; }
body.im-themed .workspace-library .workspace-list { display: block; min-height: 0; overflow: auto; }
body.im-themed .workspace-library .workspace-list-item { width: 100%; min-height: 76px; gap: 8px; align-content: center; }
body.im-themed .workspace-title-control input { font: 600 22px var(--reading); }
body.im-themed .workspace-title-control label { font: 12px var(--reading); }
body.im-themed :is(.workspace-toolbar-actions,.workspace-editor-toolbar) button { font: 13px var(--reading); min-height: 36px; padding: 7px 12px; text-transform: none; letter-spacing: 0; }
body.im-themed .workspace-library > header b { font: 600 15px var(--reading); }
body.im-themed .workspace-library > header span { font: 11px var(--reading); }
body.im-themed :is(.workspace-widget-header,.workspace-widget > header) { background: #141414; border-color: #333; }
body.im-themed :is(.workspace-widget-header h3,.workspace-widget > header h3) { font: 600 15px var(--reading); }
body.im-themed .workspace-widget-placeholder { border-radius: 5px; border-color: #3b3b3b; }
body.im-themed .workspace-widget-placeholder > header { min-height: 42px; padding: 8px 12px; border-bottom: 1px solid #333; background: #141414; }
body.im-themed .workspace-widget-placeholder [data-widget-title] { font: 600 15px var(--reading); }
body.im-themed .workspace-widget-placeholder .workspace-widget-type { font: 11px var(--reading); }
body.im-themed .workspace-widget-runtime-footer { min-height: 30px; font: 11px var(--mono); }
body.im-themed .workspace-widget-runtime-footer button { font: 11px var(--reading); }
body.im-themed .workspace-runtime-state span { font: 12px var(--reading); }
body.im-themed .workspace-runtime-state p { font: 14px/1.5 var(--reading); }
body.im-themed .workspace-runtime-signals article > b { font: 600 15px/1.4 var(--reading); }
body.im-themed .workspace-runtime-signals article > p { font: 14px/1.5 var(--reading); }
body.im-themed .workspace-runtime-signals article > footer { font: 11px var(--reading); }
body.im-themed .workspace-runtime-timeline time { font: 11px/1.5 var(--mono); }
body.im-themed .workspace-runtime-timeline b { font: 14px/1.4 var(--reading); }
body.im-themed .workspace-runtime-timeline span { font: 11px var(--reading); }
body.im-themed .workspace-graph-node { border-radius: 5px; background: #141414; }
body.im-themed .workspace-graph-node > header span { font: 10px var(--reading); }
body.im-themed .workspace-graph-node > header b { font: 600 14px var(--reading); }
body.im-themed .workspace-graph-ports button { font: 12px var(--reading); }
body.im-themed .workspace-graph-ports small { font: 10px var(--reading); }
body.im-themed .workspace-graph-node footer { font: 10px var(--reading); }
body.im-themed .workspace-graph-node footer button { font: 12px var(--reading); }
body.im-themed .alerts-sidebar :is(label,p), body.im-themed .alerts-inspector :is(label,p) { font: 14px/1.6 var(--reading); }
body.im-themed .alerts-inspector h2 { font: 600 20px var(--reading); }
body.im-themed .discover-map .maplibregl-canvas { filter: none; }
body.im-themed .workspace-onboarding h1 { font: 650 32px var(--reading); }
body.im-themed .workspace-onboarding p { font: 15px/1.6 var(--reading); }
body.im-themed .workspace-dialog { border-radius: 5px; background: #141414; border-color: #444; }
body.im-themed .workspace-dialog :is(p,label,small,dt,dd),body.im-themed .workspace-dialog header span,body.im-themed .workspace-dialog footer > span { font: 12px/1.6 var(--reading); letter-spacing: 0; }
body.im-themed .workspace-dialog :is(input,select,textarea) { font: 14px/1.5 var(--reading); }
body.im-themed :is(.workspace-widget-grid,.workspace-template-grid,.workspace-node-catalog) button b { font: 600 14px/1.5 var(--reading); }
body.im-themed :is(.workspace-widget-grid,.workspace-template-grid,.workspace-node-catalog) button span { font: 12px/1.5 var(--reading); }
body.im-themed .plus-page-title h1 { font-family: var(--reading); }
body.im-themed .plus-header { height: 60px; min-height: 60px; display: flex; gap: 20px; padding: 0 18px; background: #0a0a0a; border-color: #333; }
body.im-themed .plus-panel { min-width: 0; border-radius: 5px; }
body.im-themed .plus-panel :is(form,label,fieldset,input,select) { min-width: 0; max-width: 100%; }
body.im-themed .plus-panel :is(label,legend) { font: 12px/1.5 var(--reading); letter-spacing: 0; }
body.im-themed .plus-panel :is(input[type=text],input[type=password],select) { font: 14px var(--reading); }
body.im-themed .plus-header { position: fixed; inset: 0 0 auto; z-index: 60; }
body.im-themed .plus-sidebar { width: 210px; top: 60px; height: calc(100dvh - 60px); background: #101010; }
body.im-themed .plus-shell { grid-template-columns: 210px minmax(0,1fr); min-height: calc(100dvh - 60px); }
body.im-themed .plus-side-nav > a { font: 500 14px var(--reading); text-decoration: none; }
body.im-themed .plus-side-nav > span { font: 11px var(--reading); color: #aaa; }
body.im-themed .plus-sidebar-profile strong { font-size: 14px; }
.im-plus-sections-toggle { display: none; }
body.im-themed .plus-content :is(p,li) { font: 14px/1.6 var(--reading); }
body.im-themed .plus-button { font: 500 14px var(--reading); text-transform: none; letter-spacing: 0; }
body.im-themed .plus-button.primary { background: #202020; border-color: var(--acid); color: #eee; }
body.im-themed :is(.plus-panel header span,.plus-panel header > b,.plus-page-title > b,.plus-portal-kpis span,.plus-portal-kpis small,.plus-portal-kpis a,.plus-device-row span,.plus-settings-stack details > summary span,.plus-settings-stack details > summary i,.api-usage-kpis span,.api-usage-kpis small,.api-chart-legend,.api-quota-row span,.api-quota-row em,.api-quota-row > strong,.api-route-row code,.api-route-row div,.api-log-pagination) { font: 12px/1.5 var(--reading); letter-spacing: 0; }
body.im-themed :is(.plus-portal-kpis b,.api-usage-kpis b) { font: 600 22px/1.3 var(--reading); }
body.im-themed :is(.plus-device-row b,.plus-settings-stack details > summary b,.api-quota-row b) { font: 600 14px/1.5 var(--reading); }
body.im-themed .plus-table :is(td,th) { font: 12px/1.5 var(--reading); }
body.im-themed :is(.alert-desk-tabs button,.alert-desk-actions button,.alert-desk-actions select,.alert-rule-delivery button,.alert-delivery-body button,.api-range-switch button,.api-log-filters button,.api-log-pagination button) { font: 500 13px/1.5 var(--reading); letter-spacing: 0; }
body.im-themed :is(.alert-rule-item > span,.alert-detail-summary span,.alert-detail-section > h3,.alert-desk-actions > span,.alert-timeline-item small,.alert-trigger-card small,.alert-evaluation-card small,.alert-node-card small,.alert-source-card small,.alert-usage-status,.alert-desk-message,.alert-desk-help) { font: 12px/1.5 var(--reading); letter-spacing: 0; }
body.im-themed :is(.alert-rule-item strong,.alert-detail-summary b,.alert-trigger-card b,.alert-evaluation-card b) { font: 600 14px/1.5 var(--reading); }
body.im-themed :is(.alert-detail-section,.alert-delivery-body,.alert-rule-delivery) :is(input:not([type=checkbox]),select) { font: 14px var(--reading); }
body.im-themed .alert-detail-section { background: #141414; }
body.im-themed .plus-shell { min-height: calc(100dvh - 60px); }
body.im-themed .plus-sidebar { top: 60px; height: calc(100dvh - 60px); background: #101010; }
body.im-themed .plus-side-nav a { font: 500 14px var(--reading); }
body.im-themed .plus-panel { background: #141414; border-color: #333; border-radius: 5px; }
body.im-themed button, body.im-themed select, body.im-themed input, body.im-themed summary { font-family: var(--reading); font-size: 14px; }
body.im-themed button { border-radius: 5px; }
body.im-themed :is(.subpage-main,.discover-shell,.compare-shell,.archive-main) { max-width: none; }
body.im-themed :is(p,li) { font-family: var(--reading); }
body.im-themed .appearance-dock { top: auto; bottom: 24px; height: 40px; transform: none; }
body.im-themed .appearance-popover { width: 290px; padding: 16px; border-radius: 5px; background: #141414; }
body.im-themed .appearance-popover header { font: 12px var(--reading); padding-bottom: 12px; }
body.im-themed .appearance-popover :is(.appearance-label,.appearance-motion span) { font: 12px/1.5 var(--reading); }
body.im-themed .appearance-popover button { font-size: 14px; min-height: 42px; }
body.im-themed .appearance-popover button small { font: 10px var(--reading); }
body.im-themed .appearance-dock .appearance-popover { top: auto; bottom: 0; transform: none; max-height: calc(100dvh - 130px); overflow: auto; }
body.im-themed :is(a,button,input,select,summary):focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
/* Map-first shell retains original live-data nodes and their event bindings. */
body.map-first { height: 100dvh; overflow: hidden; padding-top: 0; }
body.map-first > main { margin: 0; width: 100%; }
body.map-first .site-header { position: fixed; inset: 0 0 auto; }
body.map-first .appearance-dock { z-index: 45; }
@media (min-width: 1500px) {
    body.map-first .site-header > .brand { width: 200px; height: 38px; border-right: 1px solid #444; }
    body.map-first.im-themed .site-header > .shell-command { gap: 24px; }
    body.map-first .shell-global:first-child > summary { min-width: 184px; }
    body.map-first .shell-command .shell-search { flex: 0 1 422px; margin-left: 7px; }
    body.map-first #shell-layers { min-width: 112px; margin-left: 7px; }
    body.map-first .shell-command > details:not(:first-child) > summary { min-width: 100px; }
    body.map-first #shell-projection { min-width: 116px; }
    body.map-first .shell-command > a { min-width: 132px; }
}
body.map-first.im-themed .im-navigation { bottom: 94px; }
body.map-first .header-tools { display: none; }
body.map-first .site-header > .shell-command { display: flex; flex: 1; align-items: center; gap: 16px; min-width: 0; }
.shell-command button, .shell-command summary, .shell-command a, .shell-toolbar button, .shell-replay button, .shell-replay select, .shell-replay input[type=date] { min-height: 40px; border: 1px solid #444; border-radius: 5px; background: #181818; color: #eee; padding: 7px 13px; font: 500 16px var(--reading); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.shell-command button:hover, .shell-command summary:hover, .shell-toolbar button:hover, .shell-replay button:hover { border-color: var(--acid); }
.shell-command .shell-global { position: relative; }
.shell-global > summary { border-color: var(--acid); white-space: nowrap; list-style: none; }
.shell-global:not(:first-child) > summary { border-color: #444; }
.shell-global[open] > summary { border-color: var(--acid); }
.shell-global[open] > div { position: absolute; left: 0; top: 48px; width: 300px; padding: 15px; border: 1px solid #444; border-radius: 5px; background: #141414; display: grid; gap: 12px; z-index: 80; }
.shell-global label { display: grid; gap: 8px; font: 14px var(--reading); }
.shell-global .view-controls, .shell-global .country-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.shell-global .country-picker-popover { top: 42px; left: 0; right: auto; width: 270px; }
.shell-global select { width: 100%; min-height: 38px; background: #202020; color: white; }
.shell-global #shell-drawing-vertices { max-height: 230px; overflow: auto; display: grid; gap: 8px; }
.shell-drawing-vertex { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 6px; border-top: 1px solid #333; padding-top: 8px; }
.shell-drawing-vertex b { grid-column: 1 / -1; font: 12px var(--reading); }
.shell-drawing-vertex input { min-width: 0; width: 100%; padding: 6px; background: #202020; color: white; border: 1px solid #444; border-radius: 4px; font: 12px var(--mono); }
.shell-drawing-vertex button { min-height: 32px; padding: 4px 7px; font-size: 12px; }
.shell-command .shell-search { flex: 1; justify-content: flex-start; max-width: 430px; color: #bbb; }
.shell-search kbd { margin-left: auto; padding: 2px 7px; background: #333; border-radius: 4px; font: 13px var(--reading); }
.shell-projection { white-space: nowrap; }
body.map-first .dashboard-shell, body.map-first .dashboard-grid, body.map-first .center-stage { display: contents; }
body.map-first #field-map { position: fixed; inset: 60px 0 94px 62px; width: auto; height: auto; margin: 0; border: 0; border-radius: 0; overflow: hidden; }
body.map-first #field-map > .panel-header, body.map-first #field-map > .map-footer { display: none; }
body.map-first #radar-map { height: 100%; min-height: 0; border: 0; }
body.map-first #intel-map { inset: 0; width: 100%; height: 100%; }
body.map-first .intel-map .maplibregl-canvas { filter: none; }
body.map-first :is(.briefing-bar,.section-heading,.dashboard-editor,.left-rail,.right-rail,.top-stories,.intelligence-ribbon,.velocity-panel,.deep-dive,.methodology-strip,.site-footer,.ad-leaderboard) { display: none; }
body.map-first .map-layer-dock { position: fixed; top: 60px; left: 62px; width: 268px; max-height: calc(100dvh - 180px); padding: 0; background: #141414f5; border: 1px solid #444; border-top: 0; border-radius: 0 0 5px 0; overflow: auto; z-index: 35; }
body.map-first .map-layer-dock-bar { padding: 11px 16px; border-bottom: 1px solid #444; background: transparent; }
body.map-first .map-layer-dock { max-height: min(470px,calc(100dvh - 200px)); }
body.map-first .map-layer-dock-bar { width: 100%; }
body.map-first #map-layer-menu-toggle { flex: 1; width: 100%; justify-content: space-between; }
body.map-first .map-layer-dock { pointer-events: auto; }
body.map-first .map-layer-dock-bar { width: 100%; }
body.map-first .map-layer-switcher button b { display: inline; }
body.map-first .map-layer-switcher .shell-layer-group { border-bottom: 1px solid #333; }
body.map-first .shell-layer-group > summary { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 7px 4px; font: 600 16px var(--reading); color: #eee; cursor: pointer; list-style: none; }
body.map-first .shell-group-label { display: inline-flex; align-items: center; gap: 8px; }
body.map-first .shell-group-label svg, body.map-first .panel-header h2 svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; }
body.map-first .shell-group-count { margin-left: 5px; margin-right: auto; font: 14px var(--reading); color: #bbb; }
body.map-first .shell-layer-group > summary::after { content:'⌄'; color:#bbb; }
body.map-first .shell-layer-group[open] > summary::after { content:'⌃'; }
body.map-first .shell-layer-group > div { padding-left: 15px; border-left: 1px solid #333; margin: 0 0 8px 10px; }
body.map-first .map-layer-switcher .shell-layer-group button[data-map-layer] { padding: 5px 4px; min-height: 32px; font: 14px var(--reading); border-bottom: 0; }
body.map-first.im-themed .shell-layer-group > summary .shell-layer-master { padding: 0; min-height: 24px; background: none; font: 600 16px var(--reading); width: auto; flex: 1; gap: 8px; }
body.map-first .shell-layer-master svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
body.map-first .shell-report-filter { display: flex; align-items: center; width: 100%; min-height: 32px; gap: 8px; padding: 5px 4px; background: none; border: 0; color: #ddd; font: 14px var(--reading); text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer; }
body.map-first .shell-report-filter::before { content:''; width: 15px; height: 15px; border: 1px solid #888; border-radius: 2px; flex-shrink: 0; }
body.map-first .shell-report-filter.active::before { content:'✓'; background: var(--acid); border-color: var(--acid); color: #111; text-align: center; font: 13px/13px var(--reading); }
body.map-first .shell-report-filter b { margin-left: auto; font: 13px var(--reading); color: #bbb; }
body.map-first .shell-layer-note { padding: 4px; margin: 5px 0; color: #aaa; font: 11px/1.5 var(--reading); text-transform: none; letter-spacing: 0; }
body.map-first #map-layer-menu-toggle { border: 0; background: transparent; color: #e8e8e8; font: 600 21px var(--reading); padding: 0; min-height: 26px; }
body.map-first #map-layer-menu-toggle b { display: inline; font: inherit; text-transform: none; letter-spacing: 0; }
body.map-first #map-layer-menu-toggle::after { content: '«'; margin-left: auto; padding-left: 16px; color: #ccc; }
body.map-first #map-layer-menu-toggle i { display: none; }
body.map-first #map-layer-pin { display: none; }
body.map-first .map-layer-switcher { display: block; position: static; width: auto; max-height: none; background: transparent; border: 0; padding: 0 12px 12px; box-shadow: none; }
body.map-first .map-layer-dock:not(.shell-hidden) .map-layer-switcher { visibility: visible; opacity: 1; transform: none; pointer-events: auto; max-height: none; padding: 0 12px 12px; }
body.map-first .map-layer-dock.shell-hidden { display: none; }
body.map-first .map-layer-switcher button[data-map-layer] { display: flex; gap: 10px; align-items: center; width: 100%; padding: 11px 4px; min-height: 43px; border: 0; border-bottom: 1px solid #303030; border-radius: 0; background: none; color: #ddd; font: 500 16px var(--reading); text-transform: none; letter-spacing: 0; }
body.map-first [data-map-layer]::before { content: ''; width: 14px; height: 14px; border: 1px solid #aaa; border-radius: 2px; flex: 0 0 14px; }
body.map-first [data-map-layer].active::before { content: '✓'; color: #052413; background: var(--acid); border-color: var(--acid); line-height: 13px; font-size: 13px; text-align: center; }
body.map-first [data-map-layer] b { margin-left: auto; color: #bbb; font: 13px var(--reading); }
body.map-first .map-point-density { margin-top: 8px; }
body.map-first .map-point-density header { font: 12px var(--reading); }
body.map-first .map-point-density > div { font: 9px var(--reading); }
body.map-first .map-readout { display: none; }
body.map-first .map-tool-controls { display: none; }
body.map-first #map-window-toggle, body.map-first .rotation-control { display: none; }
body.map-first .maplibregl-ctrl-bottom-right { bottom: 145px; right: 0; display: flex; flex-direction: column-reverse; }
body.map-first .maplibregl-ctrl-bottom-right .maplibregl-ctrl { margin: 0 10px 0 0; clear: both; }
body.map-first .maplibregl-ctrl-group { width: 42px; border-radius: 5px; }
body.map-first .maplibregl-ctrl-group button { width: 40px; height: 40px; padding: 0; min-height: 0; }
body.map-first .maplibregl-ctrl-scale { position: fixed; right: 14px; bottom: 115px; padding: 3px 8px; background: #111d; color: #ddd; border-color: #ddd; }
body.map-first .maplibregl-ctrl-bottom-left { left: auto; right: 0; bottom: 0; max-width: 55%; }
body.map-first .maplibregl-ctrl-attrib { background: #111d; color: #ddd; font-size: 10px; }
body.map-first .maplibregl-ctrl-attrib a { color: #ccc; }
body.map-first .satellite-controls { position: fixed; top: 74px; right: 350px; width: 300px; z-index: 61; background: #141414; border-color: #444; border-radius: 5px; }
body.map-first .satellite-controls :is(label,p,output,small) { font: 12px/1.5 var(--reading); }
body.map-first .satellite-controls select { font: 14px var(--reading); }
body.map-first .satellite-controls > header span { font: 600 12px/1.5 var(--reading); letter-spacing: .04em; color: #e8e8e8; }
body.map-first .satellite-controls p { color: #aaa; }
body.map-first .local-context-panel { position: fixed; top: 74px; right: 350px; bottom: 105px; width: min(390px,calc(100vw - 76px)); z-index: 44; background: #141414; border: 1px solid #444; border-radius: 5px; animation: none; }
body.map-first .local-context-panel > header { background: #141414; }
body.map-first .local-context-panel > header h3 { font: 600 17px/1.4 var(--reading); }
body.map-first .local-context-panel > header button { width: 36px; height: 36px; flex-basis: 36px; }
body.map-first .local-context-panel :is(p,small,span,footer),body.map-first .local-context-panel > header span { font: 12px/1.6 var(--reading); color: #aaa; }
body.map-first .local-context-panel :is(.context-section-title b,.nearby-radio-list b) { font: 600 14px/1.5 var(--reading); }
body.map-first .local-context-panel .nearby-context-list b { font: 600 22px/1.4 var(--reading); }
@media(max-width:700px){body.map-first .local-context-panel { top: 114px; right: 8px; left: 60px; bottom: 94px; width: auto; z-index: 62; }}
body.im-themed input[type=range],body.map-first input[type=range] { accent-color: var(--acid); }
body.map-first .focus-panel, body.map-first .feed-panel { position: fixed; z-index: 40; margin: 0; background: #141414f5; border: 1px solid #444; border-radius: 5px; overflow: auto; box-shadow: 0 8px 24px #0004; }
body.map-first .focus-panel { top: 74px; right: 10px; width: 332px; height: 370px; min-height: 180px; min-width: 280px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 190px); resize: both; }
body.map-first .shell-minimized { height: 45px !important; min-height: 45px; overflow: hidden; resize: none; }
body.map-first [hidden], body.im-themed [hidden] { display: none !important; }
body.map-first .feed-panel { left: 12px; bottom: 105px; width: 402px; height: 300px; min-height: 160px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 170px); resize: both; }
body.map-first .im-navigation:not(.expanded) { z-index: 36; }
body.map-first .im-nav-toggle { order: 0; }
body.map-first .focus-panel .panel-header, body.map-first .feed-panel .panel-header { min-height: 44px; padding: 9px 15px; border-bottom: 1px solid #444; cursor: grab; }
body.map-first .panel-header h2 { font: 600 16px var(--reading); text-transform: none; letter-spacing: 0; }
body.map-first .panel-header h2 { display: flex; align-items: center; gap: 10px; }
body.map-first .panel-index, body.map-first .focus-status, body.map-first .stream-state { display: none; }
.shell-panel-actions { display: flex; gap: 8px; margin-left: auto; }
.shell-conflict-controls { padding: 8px 2px; }
.shell-conflict-controls p { font: 12px/1.5 var(--reading); color: #aaa; margin: 8px 0; }
.shell-conflict-controls label { display: grid; gap: 5px; font: 12px/1.5 var(--reading); margin: 9px 0; }
.shell-conflict-controls label:has(input[type=checkbox]) { display: flex; align-items: center; font-size: 14px; }
.shell-conflict-controls input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--acid); }
.shell-conflict-controls :is(select,input[type=date]) { width: 100%; padding: 8px; min-height: 38px; color: #eee; background: #1b1b1b; border: 1px solid #444; border-radius: 5px; }
.shell-conflict-controls button { width: 100%; padding: 9px; border: 1px solid #555; color: #eee; background: #1b1b1b; }
.shell-conflict-controls a { font: 12px/1.5 var(--reading); color: var(--acid); }
.shell-conflict-controls details > summary { font: 13px var(--reading); padding: 10px 0; }
.shell-conflict-controls #conflict-inspector { padding-top: 12px; margin-top: 10px; border-top: 1px solid #444; }
.shell-conflict-controls #conflict-inspector h3 { font: 600 15px/1.4 var(--reading); }
.shell-conflict-controls #conflict-inspector :is(dt,dd) { margin: 0; font: 12px/1.5 var(--reading); overflow-wrap: anywhere; }
.shell-conflict-controls #conflict-inspector dt { color: #aaa; margin-top: 8px; }
.shell-conflict-inspector h3 { font: 600 17px/1.4 var(--reading); margin: 0 0 16px; }
.shell-conflict-inspector dl > div { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 12px; padding: 7px 0; border-bottom: 1px solid #333; }
.shell-conflict-inspector :is(dt,dd) { margin: 0; font: 13px/1.5 var(--reading); overflow-wrap: anywhere; }
.shell-conflict-inspector dt { color: #aaa; }
.shell-conflict-inspector p { font: 12px/1.6 var(--reading); color: #aaa; }
.shell-conflict-inspector a { font: 14px var(--reading); color: var(--acid); }
.shell-panel-actions button { padding: 0; width: 24px; height: 24px; min-height: 24px; background: none; color: #ccc; border: 0; font: 20px var(--reading); cursor: pointer; }
body.map-first .focus-empty { padding: 22px; min-height: 190px; }
body.map-first .focus-reticle { display: none; }
body.map-first .focus-empty h3 { font: 600 19px var(--reading); }
body.map-first .focus-empty p { font: 14px/1.6 var(--reading); }
body.im-themed .welcome-grid { display: none; }
body.im-themed .welcome-copy h2 { font-family: var(--reading); }
body.im-themed .welcome-copy h2 em { color: #e8e8e8; font-family: var(--reading); }
body.im-themed .welcome-copy > p { font: 17px/1.7 var(--reading); }
body.im-themed .welcome-actions button { font: 600 16px var(--reading); letter-spacing: 0; text-transform: none; }
body.im-themed .welcome-actions > p,body.im-themed .welcome-guide :is(p,footer) { font: 14px/1.6 var(--reading); }
body.im-themed .welcome-guide li b { font: 600 16px/1.4 var(--reading); }
body.im-themed .welcome-summary :is(b,p) { font-size: 14px; }
body.map-first .focus-content { padding: 15px; }
body.map-first .focus-content h3 { font: 600 17px/1.35 var(--reading); margin: 0 0 8px; }
body.map-first .focus-panel > .panel-header { position: sticky; top: 0; z-index: 2; background: #141414; }
body.map-first .shell-focus-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; font: 12px var(--reading); }
body.map-first #shell-focus-country { padding: 3px 7px; background: #303030; border-radius: 4px; font: 13px var(--reading); }
body.map-first .shell-focus-facts { margin: 0; padding: 4px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; }
body.map-first .shell-focus-facts > div { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 10px; padding: 2px 0; font: 12px/1.5 var(--reading); }
body.map-first .shell-focus-facts :is(dt,dd) { margin: 0; overflow-wrap: anywhere; }
body.map-first .shell-focus-facts dt { color: #aaa; }
body.map-first .shell-focus-facts a { display: inline; padding: 0; border: 0; color: var(--acid); font: inherit; text-transform: none; text-decoration: none; }
body.map-first .shell-focus-facts #focus-confidence { display: inline-block; padding: 1px 5px; border: 1px solid #376348; border-radius: 4px; color: var(--acid); }
body.map-first .focus-content > p { margin: 10px 0; font: 14px/1.5 var(--reading); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.map-first .shell-focus-more > summary { cursor: pointer; padding: 8px 0; color: #ccc; font: 12px/1.5 var(--reading); }
body.map-first .shell-focus-more .brief-link { display: flex; justify-content: space-between; padding: 10px; margin-top: 10px; background: #1b1b1b; border: 1px solid var(--acid); color: #eee; font: 14px var(--reading); text-decoration: none; }
body.map-first .focus-stats :is(dt,dd) { font: 13px/1.5 var(--reading); }
body.map-first .focus-stats > div { padding: 6px 0; }
body.map-first .focus-reasons { font: 12px/1.5 var(--reading); }
body.map-first .focus-content > a { font: 14px var(--reading); }
body.map-first .feed-tools { padding: 5px 10px; border-bottom: 1px solid #333; }
body.map-first .filter-row button { padding: 4px 6px; font: 11px var(--reading); }
body.map-first .event-feed { height: calc(100% - 82px); max-height: none; overflow: auto; }
body.map-first .event-card { display: grid; grid-template-columns: 52px 1fr; padding: 9px 12px; gap: 8px; border-bottom: 1px solid #333; }
body.map-first .event-time { font: 11px var(--mono); }
body.map-first .shell-country-badge { display: inline-flex; align-self: start; justify-content: center; padding: 4px 6px; border-radius: 4px; background: #303030; color: #eee; font: 13px var(--reading); }
body.map-first .event-copy h3 { font: 600 14px/1.3 var(--reading); margin: 0 0 4px; }
body.map-first .event-labels { display: none; }
body.map-first .event-byline { font: 11px var(--reading); }
body.map-first .event-byline span { font: inherit; text-transform: none; letter-spacing: 0; }
body.map-first .event-byline .shell-wire-time { font: 11px var(--reading); color: #bbb; white-space: nowrap; }
body.map-first .command-result { color: #eee; text-decoration: none; }
body.map-first .command-result b { font: 600 15px/1.4 var(--reading); }
body.map-first .command-result small { font: 12px var(--reading); }
body.map-first .command-deep-dive { display: block; padding: 16px; color: var(--acid); font: 14px var(--reading); }
body.map-first .event-card h3 { -webkit-line-clamp: 2; }
body.map-first .event-time small, body.map-first .event-brief, body.map-first .event-location { display: none; }
.shell-replay { position: fixed; inset: auto 0 0; height: 94px; z-index: 70; display: flex; align-items: center; gap: 12px; padding: 16px 12px; background: #0c0c0c; border-top: 1px solid #444; }
.shell-replay button { padding: 8px 13px; white-space: nowrap; }
.shell-replay #replay-toggle { border-color: var(--acid); color: var(--acid); min-width: 45px; }
.shell-replay-track { display: grid; gap: 5px; flex: 1; min-width: 100px; }
.shell-replay-status { position: fixed; z-index: 44; bottom: 102px; left: 430px; max-width: calc(100vw - 780px); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.shell-replay-status span { padding: 6px 10px; border: 1px solid #444; border-radius: 5px; background: #141414; font: 12px/1.5 var(--reading); }
.shell-replay-status button { min-height: 32px; padding: 6px 10px; color: #eee; border: 1px solid var(--acid); background: #141414; font: 12px var(--reading); }
@media(max-width:1100px) { .shell-replay-status { left: 70px; right: 70px; max-width: none; } }
@media(max-width:700px) { .shell-replay-status { left: 60px; right: 8px; bottom: 88px; z-index: 62; }.shell-replay-status span { font-size: 11px; } }
.shell-replay #replay-slider { width: 100%; accent-color: var(--acid); height: 16px; }
.shell-replay-ticks { display: flex; justify-content: space-between; font: 11px var(--mono); color: #aaa; }
.shell-replay #replay-time { font: 12px var(--mono); color: var(--acid); text-align: center; }
.shell-replay input[type=date] { width: 160px; }
.shell-toolbar { position: fixed; right: 10px; bottom: 355px; z-index: 39; display: grid; gap: 4px; }
.shell-panel-reopen { display: grid; gap: 6px; }
body.map-first #shell-mobile-layers { display: none; }

/* Analysis pages use the same readable hierarchy as the map inspector. */
body.im-themed .compare-controls label,
body.im-themed .compare-subjects span,
body.im-themed .compare-subjects small,
body.im-themed .compare-series-row > header span,
body.im-themed .compare-series-row > footer,
body.im-themed .compare-annotations time,
body.im-themed .compare-annotations span,
body.im-themed .compare-derived article > span,
body.im-themed .compare-derived article p span,
body.im-themed .compare-derived article small,
body.im-themed .compare-provenance article span,
body.im-themed .compare-provenance article a,
body.im-themed .compare-axis > header span,
body.im-themed .compare-axis > header b,
body.im-themed .compare-error span { font: 12px/1.5 var(--reading); }
body.im-themed .compare-subjects b,
body.im-themed .compare-series-row > header b,
body.im-themed .compare-provenance article b,
body.im-themed .compare-error b { font: 600 15px/1.5 var(--reading); }
body.im-themed .compare-annotations p,
body.im-themed .compare-derived > footer,
body.im-themed .compare-provenance article p { font: 14px/1.6 var(--reading); }
body.im-themed .compare-axis > header h2 { font: 600 16px/1.5 var(--reading); }
body.im-themed .compare-subjects b { white-space: normal; overflow-wrap: anywhere; }
body.im-themed .compare-derived article p b { font: 600 24px/1.5 var(--reading); }
.shell-overview { position: fixed; top: 60px; left: 62px; bottom: 94px; width: min(700px,calc(100vw - 62px)); z-index: 50; overflow: auto; padding: 18px; background: #111; border-right: 1px solid #444; }
.shell-overview > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.shell-overview > header h2 { font: 600 22px var(--reading); }
.shell-overview > header button { padding: 8px 12px; background: #222; border: 1px solid #444; color: white; }
body.map-first .shell-overview :is(.top-stories,.intelligence-ribbon,.deep-dive,.methodology-strip,.left-rail,.velocity-panel,.ad-leaderboard) { display: block; }
body.map-first .shell-overview :is(p,li) { font: 14px/1.6 var(--reading); }
body.map-first .shell-overview :is(small,dt,.top-story-meta,.top-story-why,.top-story-footer,.top-story-category,.ribbon-meta,.tiny-label,.market-attribution,.market-freshness,.transport-note,.category-row,.region-row,.trend-chip) { font: 12px/1.5 var(--reading); letter-spacing: 0; }
body.map-first .shell-overview .top-story h3 { font: 600 15px/1.4 var(--reading); }
body.map-first .shell-overview .metric-card { min-width: 0; }
body.map-first .shell-overview .panel { margin-bottom: 14px; }
body.map-first .shell-overview .left-rail { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
body.map-first .shell-overview .market-panel { min-width: 0; }
body.map-first .shell-overview .deep-dive { padding: 12px 0; }
body.map-first .shell-overview .top-story-grid { grid-template-columns: 1fr 1fr; }
body.map-first .shell-overview .intelligence-ribbon { display: grid; grid-template-columns: 1fr 1fr; }
body.map-first .shell-overview .deep-dive-grid { grid-template-columns: 1fr; }
body.map-first .shell-minimized { height: 44px !important; min-height: 44px !important; overflow: hidden !important; resize: none; }
body.map-first .shell-closed { display: none !important; }
body.map-first .appearance-dock { right: 12px; bottom: 108px; z-index: 75; }
@media (max-width: 1150px) {
    body.map-first .site-header { gap: 12px; padding: 0 12px; }
    body.map-first .brand-copy strong { font-size: 23px; }
    body.map-first .site-header > .shell-command { gap: 8px; }
    .shell-command button, .shell-command summary, .shell-command a { font-size: 14px; padding: 7px 10px; }
    .shell-search kbd { display: none; }
    .shell-command .shell-search { max-width: none; }
    body.map-first .focus-panel { width: 300px; }
    .shell-replay { gap: 7px; }
}
@media (max-width: 760px) {
    body.im-themed .site-header, body.map-first .site-header { height: 56px; min-height: 56px; padding: 0 10px; gap: 12px; }
    body.im-themed .brand-copy strong, body.map-first .brand-copy strong { font-size: 21px; }
    .im-navigation { top: 56px; width: 52px; padding: 4px; }
    body.im-themed > main, body.im-themed > .site-footer { margin-left: 52px; width: calc(100% - 52px); }
    body.map-first .shell-command .shell-search { min-width: 36px; flex: 0; padding: 7px; }
    .shell-search span, .shell-command .shell-draw-label, .shell-command .shell-alert-label { display: none; }
    .shell-command .shell-global > summary { font-size: 12px; padding: 7px; gap: 4px; }
    .shell-global > summary svg { display: none; }
    .shell-command .shell-layers, .shell-command .shell-projection { display: none; }
    body.map-first #field-map { inset: 56px 0 84px 52px; }
    body.map-first .im-navigation { bottom: 84px; }
    body.map-first .map-layer-dock { top: 56px; left: 52px; width: 250px; max-height: calc(100dvh - 150px); }
    body.map-first .feed-panel { width: calc(100vw - 70px); left: 60px; height: 220px; bottom: 94px; max-width: 402px; }
    body.map-first .focus-panel { top: 65px; right: 8px; width: calc(100vw - 70px); max-width: 332px; max-height: calc(100dvh - 170px); }
    body.map-first .map-readout { display: none; }
    body.map-first .map-layer-dock { display: none; }
    body.map-first .map-layer-dock.shell-mobile-open { display: block; }
    .shell-replay { height: 84px; padding: 8px; flex-wrap: wrap; gap: 5px; }
    .shell-replay button, .shell-replay select { font-size: 12px; min-height: 32px; padding: 5px 9px; }
    .shell-replay #shell-replay-date { width: 130px; font-size: 12px; min-height: 32px; }
    .shell-replay-track { flex-basis: 100%; order: 9; gap: 0; }
    .shell-replay #replay-time { position: absolute; right: 10px; top: 12px; max-width: 110px; font-size: 10px; }
    .shell-replay-ticks { font-size: 9px; }
    .shell-replay-ticks span:nth-child(even) { display: none; }
    .shell-overview { top: 56px; left: 52px; bottom: 84px; width: calc(100vw - 52px); padding: 12px; }
    body.map-first .shell-overview .left-rail, body.map-first .shell-overview .top-story-grid, body.map-first .shell-overview .intelligence-ribbon { grid-template-columns: 1fr; }
    body.map-first .satellite-controls { top: 114px; right: 8px; width: min(300px,calc(100vw - 76px)); z-index: 61; }
    .shell-toolbar { bottom: 320px; }
    body.map-first .appearance-dock { bottom: 94px; }
}
@media (prefers-reduced-motion: reduce) { body.im-themed *, body.map-first * { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media (max-width: 700px) {
    body.im-themed .plus-header { height: 56px; min-height: 56px; padding: 0 12px; gap: 10px; }
    body.im-themed .site-header { padding: 0 12px; gap: 10px; }
    body.im-themed .brand-copy strong { font-size: 23px; }
    body.im-themed .im-navigation { width: 52px; padding: 4px; }
    body.im-themed .im-navigation.expanded { width: 230px; }
    body.im-themed > main, body.im-themed > .site-footer, body.im-themed.im-nav-expanded:not(.map-first) > main { width: calc(100% - 52px); margin-left: 52px; }
    body.im-themed :is(.discover-main,.compare-main,.archive-main) { padding: 16px 12px; }
    body.im-themed :is(.discover-hero,.compare-hero) { grid-template-columns: 1fr; }
    body.im-themed :is(.discover-hero,.compare-hero) h1 { font-size: 26px; }
    body.im-themed .discover-view-layout, body.im-themed .discover-view-layout:has(.discover-context:not([hidden])):not([data-view="map"]), body.im-themed .discover-view-layout[data-view="map"] .discover-context { grid-template-columns: minmax(0,1fr); }
    body.im-themed .discover-view-layout[data-view="map"] .discover-map { height: 320px; }
    body.im-themed .workspace-shell { display: block; min-width: 0; }
    body.im-themed .workspace-main { min-width: 0; width: 100%; }
    body.im-themed .workspace-toolbar { padding: 12px; gap: 12px; }
    body.im-themed .workspace-title-control { min-width: 0; }
    body.im-themed .plus-shell { grid-template-columns: minmax(0,1fr); }
    body.im-themed .plus-content { min-width: 0; padding: 22px 12px 48px; }
    body.im-themed .workspace-title-control input { width: 100%; font-size: 19px; }
    body.im-themed .workspace-toolbar-actions { justify-content: flex-start; }
    body.im-themed :is(.workspace-editor-bar,.workspace-editor-primary,.workspace-editor-secondary,.workspace-editor-actions,.workspace-breakpoints,.workspace-mode-switch) { display: flex; flex-wrap: wrap; width: auto; min-width: 0; max-width: 100%; gap: 6px; }
    body.im-themed .workspace-editor-bar { padding: 10px 12px; }
    body.im-themed .workspace-editor-bar button { min-height: 34px; padding: 6px 9px; font-size: 12px; }
    body.im-themed .workspace-refresh-control { margin: 0; }
    body.im-themed .workspace-board-meta { display: block; padding: 10px 12px; font-size: 11px; }
    body.im-themed .workspace-board-meta time { display: block; margin-top: 5px; }
    body.map-first > main { width: 100%; margin: 0; }
    body.map-first .site-header { height: 104px; flex-wrap: wrap; align-content: space-around; gap: 0; padding: 4px 10px; }
    body.map-first .site-header > .shell-command { flex: 0 0 100%; width: 100%; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: thin; }
    body.map-first .shell-command > * { flex-shrink: 0; }
    body.map-first .shell-command > details { min-width: max-content; }
    body.map-first .shell-command svg { display: block; width: 18px; height: 18px; }
    body.map-first .shell-command > details > summary, body.map-first .shell-command #shell-layers, body.map-first .shell-command #shell-projection { display: inline-flex; }
    body.map-first .shell-command button, body.map-first .shell-command a, body.map-first .shell-command summary { min-height: 38px; }
    body.map-first .shell-command .shell-search { flex: 0 0 auto; }
    body.map-first .shell-search kbd { display: none; }
    body.map-first.im-themed .im-navigation { top: 104px; }
    body.map-first #field-map { inset: 104px 0 84px 52px; }
    body.map-first .map-layer-dock { top: 104px; left: 52px; bottom: 84px; max-height: none; width: calc(100vw - 52px); z-index: 60; border-radius: 0; }
    body.map-first .focus-panel { top: auto; bottom: 94px; left: 60px; right: 8px; width: auto; min-width: 0; max-height: 45dvh; resize: none; }
    body.map-first .feed-panel { left: 60px; right: 8px; bottom: 94px; width: auto; height: 240px; max-height: 40dvh; resize: none; }
    body.map-first .focus-panel:not([hidden]) { z-index: 43; }
    body.map-first .focus-empty { min-height: 0; padding: 14px; }
    body.map-first .focus-empty h3 { font-size: 16px; }
    body.map-first .focus-empty p { font-size: 12px; }
    body.map-first .shell-overview { top: 104px; }
    body.map-first .shell-global[open] > div { position: fixed; top: 104px; left: 52px; width: calc(100vw - 60px); max-height: calc(100dvh - 200px); overflow-y: auto; }
    body.map-first .map-readout { left: 8px; max-width: calc(100% - 16px); }
    body.map-first #map-coordinates { display: none; }
    body.map-first .shell-replay { display: grid; grid-template-columns: 50px 32px 32px 32px 44px minmax(0,1fr); grid-template-rows: 32px 32px; gap: 4px; padding: 8px; }
    body.map-first .shell-replay button, body.map-first .shell-replay select { width: 100%; min-width: 0; padding: 4px; font-size: 11px; }
    body.map-first .shell-replay #shell-replay-date { width: 100%; min-width: 0; padding: 4px; font-size: 11px; }
    body.map-first .shell-replay-track { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0,1fr) 100px; grid-template-rows: 16px 12px; align-items: center; }
    body.map-first #shell-slider-slot { grid-column: 1; grid-row: 1; }
    body.map-first .shell-replay-ticks { grid-column: 1; grid-row: 2; font-size: 8px; }
    body.map-first #shell-time-slot { grid-column: 2; grid-row: 1 / 3; }
    body.map-first .shell-replay #replay-time { position: static; display: block; font-size: 9px; max-width: none; }
}
@media (min-width: 701px) and (max-width: 900px) { body.im-themed .plus-shell { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 900px) {
    body.im-themed .im-plus-sections-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; min-height: 36px; padding: 6px 9px; font: 12px var(--reading); border: 1px solid #444; border-radius: 5px; color: #ddd; background: #141414; }
    body.im-themed .plus-sidebar.im-plus-sections-open { display: flex; position: fixed; left: 62px; top: 60px; bottom: auto; width: min(290px,calc(100vw - 70px)); height: auto; max-height: calc(100dvh - 80px); overflow-y: auto; z-index: 59; border: 1px solid #444; border-radius: 0 0 5px 5px; box-shadow: 0 12px 30px #0009; }
}
@media (max-width: 700px) { body.im-themed .plus-sidebar.im-plus-sections-open { left: 52px; top: 56px; width: calc(100vw - 60px); } }
