/* v3: the same graph on geography, country lanes and a compact causal diagram. */
.event-nav-head>div:first-child{display:none}.event-nav-head{justify-content:flex-end;margin-bottom:7px}.event-navigation{margin-bottom:10px}.event-stop{min-height:64px;padding-block:9px}.event-mode .map-heading>.eyebrow,.event-mode .map-heading>div>.eyebrow{display:none}.event-mode .map-heading{padding-top:14px}.event-mode .map-heading h1{margin-top:0}.time-axis-bg{fill:#18362f}body[data-theme=light] .time-axis-bg{fill:#f3f5ed}
.scene-controls{display:none}.event-mode .scene-controls{display:flex;justify-content:space-between;gap:12px;padding:16px 28px;position:relative;z-index:3;flex-wrap:wrap}.layout-switch,.scene-tools{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.scene-controls button{min-height:38px;padding:8px 13px;border:1px solid #5a7b6c;background:#24483f;color:#deeadb;border-radius:6px;font-size:12px}.scene-controls button[aria-pressed=true]{background:#e3dec5;color:#294c41}.scene-controls button:disabled{opacity:.45;cursor:default}.scene-controls button[hidden]{display:none}
.event-mode #world-map{visibility:hidden}.event-mode .map-stage,.event-mode.has-detail .map-stage{height:660px;margin:0}.event-mode #story-map{width:100%;height:auto;min-width:1200px;min-height:0;overflow:visible}.event-mode #story-canvas{position:absolute;inset:0;scrollbar-gutter:stable}.event-mode[data-layout=lanes] #story-map{width:auto;max-width:none;min-width:1200px}.event-mode[data-layout=lanes] #story-canvas{background:#18362f}.event-mode #story-inspector{display:none}.event-mode .story-legend{min-height:50px}.event-mode .map-footnote{display:none}.event-mode .map-heading p{max-width:900px;line-height:1.6}.event-mode.has-detail .scene-controls{width:calc(100% - 420px)}
.scene-world{pointer-events:none}.scene-country{fill:#5d7971;stroke:#193a32;stroke-width:.8}.scene-country.relevant{fill:#abc4ab;stroke:#33594a;stroke-width:1.2}.event-mode[data-layout=causal] .scene-country{fill:#416158;stroke:#54746a}.event-mode[data-layout=causal] .scene-country.relevant{fill:#7a9986}.node-title,.role-shock .node-title{font-size:16px;font-weight:550;letter-spacing:-.5px}.node-shadow{opacity:.22}.event-dot{fill:#91c3ab;stroke:#143e30;stroke-width:2}.role-shock .event-dot{fill:#eab183}.review-symbol{font-size:11px;fill:#d9b5a1}.causal-line{stroke-width:2.1;opacity:1}.causal-edge.near .causal-line{stroke-width:2.5}.edge-caption{display:none;pointer-events:none}.causal-edge:hover .edge-caption,.causal-edge:focus-visible .edge-caption,.causal-edge.chosen .edge-caption{display:block}.participant{cursor:pointer;outline:none}.participant-line{stroke:#779e8c;stroke-width:1;stroke-dasharray:3 4;opacity:.7;pointer-events:none}.participant-dot{fill:#183e32;stroke:#cee0b9;stroke-width:2}.participant:focus-visible .participant-dot,.participant:hover .participant-dot{stroke:#f2bd65;stroke-width:4}.geo-country-name{font-size:14px;fill:#edf3df;paint-order:stroke;stroke:#214438;stroke-width:4;stroke-linejoin:round;font-weight:600}.lane-base{fill:#17372f}.lane-alt{fill:#1c3d34}.lane-divider{stroke:#547364;stroke-width:1}.lane-date{fill:#bcd0bb;font-size:12px}.time-guide{stroke:#718d7324;stroke-width:1}.event-mode[data-layout=lanes] .participant-line{stroke-width:1.8}.event-mode[data-layout=lanes] .participant-dot{fill:#244a3b}.event-mode[data-layout=lanes] .node-face{stroke-width:1.5}
#lane-head{display:none}.event-mode[data-layout=lanes] #lane-head{display:flex;position:sticky;top:0;z-index:4;width:max-content;min-width:100%;height:48px;background:#24483d;box-shadow:0 1px #74927e;color:#e8f0dd}.event-mode[data-layout=lanes] #lane-head>span{display:flex;flex:0 0 230px;align-items:center;justify-content:center;border-right:1px solid #72917a55;font-size:14px;font-weight:600}.event-mode[data-layout=lanes] #lane-head>.time-heading{flex-basis:140px;font-size:12px;font-weight:400}
#edge-content{padding-top:20px}#edge-content .inspector-kind{margin-bottom:15px}#edge-content .inspector-kind strong{display:inline;margin:0 12px 0 0}#edge-content .meaning-badge{display:inline-block}#edge-content .eyebrow{display:none}#edge-content .story-sources a{font-size:12px;color:#356f57}#edge-content .inspector-body p{font-size:14px}#edge-content .edge-endpoints{margin-top:20px}#edge-content .edge-endpoints button{font-size:12px;min-height:44px}
.event-detail #detail-tabs{display:none}.event-detail #detail-title{font-size:20px}.event-detail #detail-content>.back-link{display:none}.event-detail .detail-head{padding-block:18px}.event-detail #detail-panel{position:fixed;top:30px;bottom:30px;right:24px;height:auto;max-height:calc(100dvh - 60px);border:1px solid #b2c6b8;border-radius:12px;width:440px}.event-detail .map-stage,.event-detail .map-heading,.event-detail .story-context,.event-detail .scene-controls,.event-detail .story-legend{width:100%!important}
body[data-theme=light] .atlas{background:#e5eee8;border-color:#bacdc3;color:#243e35;box-shadow:0 8px 30px #36554512}body[data-theme=light] .atlas .eyebrow{color:#667e70}body[data-theme=light] .map-heading p{color:#506d60}body[data-theme=light] .scene-range{color:#385949;border-color:#b6c9b9;background:#f4f5e9}body[data-theme=light] #story-period{color:#5a7667}body[data-theme=light] .scene-node-count{color:#5a7667;border-color:#adc2b2}body[data-theme=light] #story-scenes button{color:#426653;background:#d7e5d9;border-color:#b5cdbb}body[data-theme=light] #story-scenes button[aria-pressed=true]{background:#3d6955;color:#f4f7eb}body[data-theme=light] .scene-controls button{background:#f5f7ef;color:#3f604f;border-color:#b4cbb9}body[data-theme=light] .scene-controls button[aria-pressed=true]{background:#345f4c;color:#fffdf2}body[data-theme=light] .scene-country{fill:#c2d4c5;stroke:#8ca896;stroke-width:.8}body[data-theme=light] .scene-country.relevant{fill:#94b496;stroke:#5c8069;stroke-width:1.3}body[data-theme=light] [data-layout=causal] .scene-country{fill:#d4dfcf;stroke:#b0c1ac}body[data-theme=light] [data-layout=causal] .scene-country.relevant{fill:#b6ccb2}body[data-theme=light] .node-face{fill:#fafbf4;stroke:#93afa0}body[data-theme=light] .node-shadow{fill:#758f7c;opacity:.16}body[data-theme=light] .node-title{fill:#25483b}body[data-theme=light] .role-shock .node-face{fill:#f4dfbe;stroke:#b78348}body[data-theme=light] .role-shock .node-title{fill:#62451e}body[data-theme=light] .role-policy .node-face{fill:#deeddf;stroke:#7caa89}body[data-theme=light] .role-money .node-face{fill:#f2ebd1;stroke:#b7a060}body[data-theme=light] .role-money .node-title{fill:#635327}body[data-theme=light] .role-real .node-face{fill:#e2ecec;stroke:#8bafae}body[data-theme=light] .story-node:hover .node-face,body[data-theme=light] .story-node:focus-visible .node-face,body[data-theme=light] .story-node.chosen .node-face{stroke:#ab6928;stroke-width:2.5}body[data-theme=light] .event-dot{fill:#547f63;stroke:#f5f8ed}body[data-theme=light] .review-symbol{fill:#956b43}body[data-theme=light] .causal-line{stroke:#3c806a}body[data-theme=light] .interpretation .causal-line{stroke:#a67222}body[data-theme=light] .sequence .causal-line{stroke:#73897d}body[data-theme=light] .unknown .causal-line{stroke:#997d66}body[data-theme=light] #story-arrow path{fill:#3c806a}body[data-theme=light] #interpretation-arrow path{fill:#a67222}body[data-theme=light] .edge-label-bg{fill:#fbfcf4;stroke:#b8cbbc}body[data-theme=light] .edge-label{fill:#366a52}body[data-theme=light] .interpretation .edge-label{fill:#8c601c}body[data-theme=light] .geo-country-name{fill:#335644;stroke:#e5eee8;stroke-width:5}body[data-theme=light] .participant-dot{fill:#edf4e7;stroke:#527d5f}body[data-theme=light] .participant-line{stroke:#5f876e}body[data-theme=light] .story-legend{color:#536f5c;border-color:#bfd0bf}body[data-theme=light] .story-line{border-color:#3c806a}body[data-theme=light] .story-line:after{border-left-color:#3c806a}body[data-theme=light] .story-line.dashed{border-color:#a67222}body[data-theme=light] .story-line.dashed:after{border-left-color:#a67222}body[data-theme=light] .story-line.sequence{border-color:#73897d}body[data-theme=light] [data-layout=lanes] #story-canvas{background:#f3f5ed}body[data-theme=light] .lane-base{fill:#f3f5ed}body[data-theme=light] .lane-alt{fill:#e9f0e5}body[data-theme=light] .lane-divider{stroke:#c3d4c1}body[data-theme=light] .lane-date{fill:#56735d}body[data-theme=light] .time-guide{stroke:#93ac8d30}body[data-theme=light] #lane-head{background:#dce8d7;color:#36553d;box-shadow:0 1px #b2c9ae}body[data-theme=light] #story-canvas{scrollbar-color:#99b29a #e6eee2}
.event-mode[data-layout=geo] #story-map,.event-mode[data-layout=causal] #story-map{height:100%;width:100%;min-width:1000px;min-height:0}
.event-mode[data-layout=geo] .scene-world .relevant{pointer-events:all;cursor:pointer}.event-mode[data-layout=geo] .scene-world .relevant:hover,.event-mode[data-layout=geo] .scene-world .relevant:focus-visible{fill:#dec18c;outline:none;stroke:#a97b3a;stroke-width:2}
.repeat-participant .participant-dot{display:none}.repeat-participant .participant-line{opacity:.3}.repeat-participant{pointer-events:none}
.participant-legend{display:none!important}.event-mode[data-layout=lanes] .participant-legend{display:flex!important}
body[data-theme=light] .event-mode[data-layout=lanes] #lane-head{background:#dce8d7;color:#36553d}body[data-theme=light] .event-mode[data-layout=lanes] .participant-dot{fill:#f3f5ed;stroke:#527d5f}
/* Top-down plates retain a small edge without a slanted/extruded appearance. */
#plate-bases{filter:none}#plate-bases path{transform:translateY(1px)}body[data-theme=light] #plate-bases path{fill:#a0b4a3;stroke:#8fa895}body[data-theme=light] #country-plates path{fill:#bdd1c2;stroke:#759884}body[data-theme=light] #country-plates path.active{fill:#94b497}body[data-theme=light] #country-plates path.selected{fill:#e7c68b!important;stroke:#b58a48}body[data-theme=light] .map-label rect{fill:#f2f6e9;stroke:#9db9a3}body[data-theme=light] .map-label .label-text{fill:#325641}body[data-theme=light] .map-label .count-text{fill:#65816d}body[data-theme=light] .map-edge.relation{stroke:#2b775b}body[data-theme=light] .map-edge.money{stroke:#a67423}body[data-theme=light] .map-counts strong{color:#476647}body[data-theme=light] .map-counts span,body[data-theme=light] .legend,body[data-theme=light] .map-footnote{color:#617e69}
@media(max-width:1100px){.event-mode.has-detail .scene-controls{width:100%}.event-detail #detail-panel{right:12px;width:400px}}
@media(max-width:720px){.event-mode .scene-controls{padding:12px;gap:10px}.scene-controls button{min-height:42px;padding:9px 12px}.layout-switch{flex:1}.layout-switch button{flex:1;white-space:nowrap}.scene-tools{width:100%;justify-content:flex-end}.scene-tools button{font-size:11px}.scene-tools #expand-scene{margin-right:auto}.event-mode .map-stage,.event-mode.has-detail .map-stage{height:470px}.event-mode #story-map{width:1200px;height:auto;min-width:1200px;min-height:0}.event-mode[data-layout=lanes] #story-map{width:auto}.event-mode .story-legend{font-size:10px;gap:12px;line-height:1.6}.event-mode .mobile-scene-nav{color:#4d705c}.event-mode .mobile-scene-nav button{min-height:40px;min-width:40px}.event-detail #detail-panel{top:auto;left:0;right:0;bottom:0;width:100%;height:73dvh;max-height:73dvh;border-radius:17px 17px 0 0}.event-detail .detail-head{padding:13px 18px}.event-detail #detail-title{font-size:18px}.event-mode[data-layout=lanes] #lane-head>.time-heading{position:sticky;left:0;background:inherit}.event-mode .story-context{gap:9px}.event-mode .map-heading{padding-top:15px}.event-mode .map-heading h1{font-size:23px}.story-swipe{display:none}}

@media(max-width:720px){.event-mode[data-layout=geo] #story-map,.event-mode[data-layout=causal] #story-map{width:1200px;min-width:1200px;height:auto;min-height:0}}
