/* The reader shell stays outside the native visualization contracts. */
:root{--wm-content-top:126px;--wm-footer-height:58px}.wm-shell{overflow:hidden;min-height:100dvh}.wm-shell::before{content:"";position:fixed;inset:5px;border:1px solid var(--line);pointer-events:none;z-index:90}.wm-shell .site-header{position:fixed!important;inset:6px 6px auto;min-height:48px;height:48px;padding:4px 12px;gap:16px;z-index:80;background:var(--paper);border-bottom:1px solid var(--line)}.wm-shell .site-header .identity{font-size:13px;letter-spacing:.02em}.wm-shell .identity-mark{width:26px;height:30px;flex-basis:26px}.wm-shell .site-header .primary-nav{display:flex;min-width:0;gap:16px;overflow-x:auto;white-space:nowrap;align-items:center;padding:6px 2px}.wm-shell .primary-nav a{font-size:13px;flex-shrink:0}.wm-shell .site-header .nav-toggle{display:none}.wm-shell #theme-toggle{flex-shrink:0;width:30px;height:30px;font-size:18px}.wm-shell .site-header .header-command{display:none}
#wm-guide{position:fixed;top:54px;left:6px;right:6px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 14px;background:var(--surface);border-bottom:1px solid var(--line);z-index:75}#wm-guide strong{font-size:14px}#wm-guide p{font-size:13px;line-height:1.4;margin:3px 0 0;max-width:900px;color:var(--muted)}.wm-guide-actions{display:flex;gap:6px;flex-shrink:0}.wm-shell button,.wm-shell select{color:var(--ink)}.wm-guide-actions button,#wm-footer button{border:1px solid var(--line);padding:6px 10px;background:var(--paper);font:inherit;font-size:13px;white-space:nowrap}.wm-guide-actions #wm-start{background:var(--ink);color:var(--paper)}
#wm-content{position:fixed;top:var(--wm-content-top);bottom:var(--wm-footer-height);left:12px;right:12px;overflow:auto;overscroll-behavior:contain;scroll-padding-top:8px}.wm-shell main{margin:0;max-width:none;padding:0}.wm-shell .view-context{margin:12px 0;padding:12px}.wm-shell .view-context h2{font-size:20px}.wm-shell .title-band,.wm-shell .network-title,.wm-shell .global-graph-title,.wm-shell .mortality-title,.wm-shell .gas-heading,.wm-shell .newsmedia-heading,.wm-shell .hormuz-main>header{display:none}.wm-shell[data-wm-page="conflict-sides"] main>h1,.wm-shell[data-wm-page="conflict-sides"] main>.eyebrow,.wm-shell[data-wm-page="conflict-sides"] #coverage,.wm-shell .orbit-main>h1,.wm-shell .orbit-main>.eyebrow,.wm-shell .orbit-main>p:first-of-type{display:none}.wm-shell .section-heading{padding-block:18px}.wm-shell .information-main,.wm-shell .information-content{padding:20px clamp(12px,4vw,48px)}
#wm-footer{position:fixed;bottom:6px;left:6px;right:6px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--paper);border-top:1px solid var(--line);padding:7px 12px;z-index:80}#wm-footer nav{display:flex;flex-wrap:wrap;align-items:center;gap:14px;flex:0 1 auto}#wm-footer a{font-size:13px;text-decoration:none;color:var(--ink)}#wm-footer button{padding:4px 8px}.wm-counter{width:min(370px,36vw);min-width:160px}.wm-counter:has([hidden]){display:none}#wm-footer .human-cost-clock{position:relative;top:auto;inset:auto;margin:0;height:24px;min-height:0;width:100%;padding:3px 7px;font-size:10px}#wm-footer .human-cost-clock-label{font-size:9px;white-space:nowrap}#wm-footer .human-cost-clock-count{font-size:12px}#wm-footer .human-cost-clock-tip{bottom:100%;top:auto}.wm-shell .neutrality-footer.neutrality-overlay{position:static}
.wm-panel{position:fixed;inset:0;width:min(1000px,calc(100vw - 30px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line);background:var(--paper);color:var(--ink);box-shadow:0 20px 90px #0008}.wm-panel::backdrop{background:#0009;backdrop-filter:blur(3px)}.wm-panel-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--surface);border-bottom:1px solid var(--line);z-index:1}.wm-panel-head h2{font-size:18px;margin:0}.wm-panel-head button{border:1px solid var(--line);background:var(--paper);padding:6px 12px;font:inherit}.wm-panel-body{padding:14px;overflow:auto}.wm-panel-body .controls,.wm-panel-body .network-controls,.wm-panel-body .mortality-controls,.wm-panel-body .gas-controls{padding:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.wm-panel-body input,.wm-panel-body select{max-width:100%}.wm-panel-body label{min-width:0}.wm-panel-body .relationship-advanced{margin:10px 0}.wm-panel-body .relationship-find{padding:8px}.wm-panel-body .relationship-path{padding:8px}.wm-panel-body fieldset{min-width:0}.wm-panel-body .evidence-key{margin:15px 0}#wm-setup{width:min(500px,calc(100vw - 30px))}.wm-setting{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:16px;margin:12px 0}.wm-setting select{padding:8px;background:var(--surface);border:1px solid var(--line)}.wm-check{justify-content:flex-start}.wm-panel-body p{font-size:14px}.wm-support{display:inline-block;padding:9px 12px;border:1px solid var(--line)}
.wm-shell{--wm-view-height:calc(100dvh - var(--wm-content-top) - var(--wm-footer-height) - 20px)}.wm-shell .map-workspace,.wm-shell .network-workspace,.wm-shell .mortality-workspace,.wm-shell .gas-workspace,.wm-shell .hormuz-workspace{height:var(--wm-view-height);min-height:350px;margin:0}.wm-shell .network-workspace{grid-template-columns:minmax(0,1fr) 250px 210px}.wm-shell .network-stage{order:0;min-height:0;height:100%}.wm-shell .network-inspector{order:1}.wm-shell .war-register{order:2}.wm-shell .mortality-workspace{grid-template-columns:minmax(0,1fr) 280px}.wm-shell .gas-workspace{grid-template-columns:minmax(0,1fr) 280px}.wm-shell .mortality-stage,.wm-shell .gas-stage,.wm-shell .hormuz-stage{min-height:0;height:100%}.wm-shell #mortality-map,.wm-shell #gas-map,.wm-shell #civ-map{height:100%;min-height:0}.wm-shell .global-graph-workspace{grid-template-columns:minmax(0,1fr) 280px}.wm-shell .relationship-workspace .network-stage{min-height:350px}.wm-shell .hormuz-main{padding:0}.wm-shell .hormuz-main>p:first-of-type{display:none}.wm-shell .orbit-layout{margin:0;min-height:350px}.wm-shell .orbit-stage{height:var(--wm-view-height);min-height:350px}.wm-shell .orbit-readout{max-height:var(--wm-view-height);overflow:auto}.wm-shell .orbit-timeline{margin-top:12px}.wm-shell .newsmedia-player{padding:0}.wm-shell .newsmedia-player iframe{height:var(--wm-view-height);min-height:450px}.wm-shell[data-wm-page="conflict-sides"] main{padding:0 10px}.wm-shell[data-wm-page="conflict-sides"] #view-title{font-size:18px;margin:6px 0}.wm-shell[data-wm-page="conflict-sides"] #total{margin:4px 0;font-size:16px}.wm-shell[data-wm-page="conflict-sides"] #instructions,.wm-shell[data-wm-page="conflict-sides"] .sides-legend{font-size:12px;margin:4px 0}.wm-shell[data-wm-page="conflict-sides"] .sides-stage{height:calc(var(--wm-view-height) - 110px);min-height:350px;max-height:none}.wm-shell .sides-share-actions{margin:4px 0}.wm-shell[data-wm-page="gas-map"] .gas-tax-legend,.wm-shell[data-wm-page="gas-map"] .gas-refresh-note{margin:3px 10px;font-size:12px}.wm-shell .view-carousel{padding:12px;background:var(--paper)}.wm-shell .view-slide{grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr);gap:20px}.wm-shell .view-screen{height:clamp(180px,29vh,310px);aspect-ratio:auto}.wm-shell .view-screen img{object-fit:contain}.wm-shell .view-copy h2{font-size:clamp(24px,3vw,38px);margin:8px 0}.wm-shell .view-copy p:not(.eyebrow){font-size:14px;line-height:1.4}.wm-shell .view-copy>a{margin-top:6px}.wm-shell .view-carousel-controls{margin-top:10px}.wm-shell .view-carousel button{padding:6px 8px;font-size:12px}.wm-shell .landing-hero{min-height:0;padding:24px}.wm-shell .landing-hero h1{font-size:clamp(28px,4vw,48px)}.wm-shell .print-feature{margin:1rem 0;padding:1rem 0}
@media(max-width:1000px){.wm-shell .network-workspace{grid-template-columns:minmax(0,1fr) 240px}.wm-shell .war-register{grid-column:1/-1;height:220px}.wm-shell .wm-counter{display:none}.wm-shell .wm-counter:has(.human-cost-clock:not([hidden])){display:block;width:240px;min-width:120px}#wm-footer nav{gap:9px}#wm-footer a{font-size:12px}}
@media(max-width:760px){.wm-shell .site-header .identity{font-size:12px}.wm-shell .site-header .nav-toggle{display:block;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:5px 10px;margin-left:auto}.wm-shell .site-header .primary-nav{display:none}.wm-shell .site-header .primary-nav[data-open="true"]{display:flex;position:fixed;left:6px;right:6px;top:54px;background:var(--paper);border:1px solid var(--line);padding:14px;flex-wrap:wrap;max-height:70vh;overflow:auto;z-index:100}.wm-shell .site-header .primary-nav a{font-size:15px;padding:6px}#wm-guide{gap:8px;padding:8px 10px;align-items:start}#wm-guide p{font-size:12px}#wm-guide strong{font-size:13px}.wm-guide-actions{flex-direction:column;gap:4px}.wm-guide-actions button{padding:5px 7px;font-size:12px}#wm-footer{flex-wrap:wrap;gap:5px;padding:5px 9px}#wm-footer nav{gap:10px;width:100%;justify-content:space-between}#wm-footer button{font-size:12px;padding:5px}#wm-footer .wm-counter:has(.human-cost-clock:not([hidden])){width:100%}#wm-footer .human-cost-clock{height:18px}.wm-shell .network-workspace,.wm-shell .mortality-workspace,.wm-shell .gas-workspace,.wm-shell .map-workspace,.wm-shell .hormuz-workspace{display:flex;flex-direction:column;height:auto;min-height:0}.wm-shell .map-stage,.wm-shell .network-stage,.wm-shell .mortality-stage,.wm-shell .gas-stage,.wm-shell .hormuz-stage{width:100%;height:max(360px,var(--wm-view-height));min-height:350px;flex:none;order:0}.wm-shell .results,.wm-shell .network-inspector,.wm-shell .mortality-inspector,.wm-shell .gas-inspector,.wm-shell .war-register{width:100%;max-height:350px;overflow:auto;order:1}.wm-shell .orbit-layout{display:flex;flex-direction:column}.wm-shell .orbit-readout{max-height:none}.wm-shell .view-slide{grid-template-columns:1fr;gap:8px}.wm-shell .view-screen{height:180px}.wm-shell .view-copy p:not(.eyebrow){margin:6px 0}.wm-shell .view-copy h2{font-size:24px}.wm-shell .view-carousel-tabs{display:flex;flex-wrap:wrap}.wm-shell .view-carousel-tabs button{font-size:11px}.wm-panel-body .controls,.wm-panel-body .network-controls,.wm-panel-body .mortality-controls,.wm-panel-body .gas-controls{grid-template-columns:1fr}.wm-panel-head h2{font-size:16px}.wm-shell .human-cost-map-summary{font-size:11px}.wm-shell .orbit-stage{height:max(350px,var(--wm-view-height))}}
@media(prefers-reduced-motion:reduce){#wm-content{scroll-behavior:auto}.wm-shell *{scroll-behavior:auto!important}}
.wm-shell .relationship-reading{font-size:12px;padding:4px 8px;margin:0}.wm-shell .relationship-reading:empty{display:none}.wm-shell .relationship-workspace{min-height:0!important}.wm-shell .relationship-workspace .global-graph-stage{height:calc(var(--wm-view-height) - 40px);min-height:350px!important}.wm-shell[data-wm-page="conflict-sides"] #instructions{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-shell[data-wm-page="conflict-sides"] .sides-legend{flex-wrap:nowrap;overflow-x:auto;max-height:28px}.wm-shell[data-wm-page="conflict-sides"] .sides-legend span{flex-shrink:0}
.wm-panel-body .satellite-toolbar{position:static;display:flex;flex-wrap:wrap;margin:10px 0}.wm-shell .relationship-workspace .global-graph-inspector{max-height:calc(var(--wm-view-height) - 40px)}#wm-footer .human-cost-clock{overflow:hidden;gap:8px}#wm-footer .human-cost-clock-marks{min-width:15px;flex:1;overflow:hidden}#wm-footer .human-cost-clock-count{flex-shrink:0;margin-left:auto}#wm-footer .human-cost-clock-label{font-size:9px;letter-spacing:0}
@media(max-width:760px){.wm-panel-body .relationship-find{grid-template-columns:1fr}.wm-panel-body .relationship-find form>div:first-of-type{flex-wrap:wrap}.wm-panel-body .relationship-primary{flex-wrap:wrap}}
#wm-footer .human-cost-clock{grid-template-columns:auto minmax(15px,1fr) auto}
.wm-shell .orbit-main>p:not(#orbit-status){display:none}.wm-shell .site-header .nav-toggle{display:block;flex-shrink:0;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:5px 9px;font:inherit;font-size:13px}.wm-shell .site-header .primary-nav[data-open="true"]{display:flex;position:fixed;top:54px;left:6px;right:6px;flex-wrap:wrap;white-space:normal;background:var(--paper);border:1px solid var(--line);padding:14px;max-height:70vh;overflow:auto}.wm-shell .primary-nav[data-open="true"] a{padding:7px 10px;font-size:15px}

.wm-shell .sides-share-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.wm-shell .sides-share-actions button{padding:8px 14px;border:1px solid var(--line);background:var(--paper);color:var(--ink);font:inherit;cursor:pointer}.wm-shell .sides-share-actions button:hover,.wm-shell .sides-share-actions button:focus-visible{border-color:var(--orange)}

.wm-shell .orbit-main>.orbit-controls{padding:6px 0 12px}
