/* Spatial foundation: geography stays tied to the actual registry. */
.se-data-part{margin-top:100px}.se-data-part>h3{margin:24px 0 32px;font-size:clamp(28px,3vw,42px);line-height:1.15}.se-data-part>p{max-width:850px}.se-data-part>.mono,.se-data-outcome>.mono{font-size:12px;letter-spacing:.08em;color:#555}
.storm-case .se-domain-boundary{fill:none;stroke:#fe3a3a;stroke-width:2;opacity:var(--se-boundary,0)}
.se-data-map{width:100%;min-height:220px}.se-data-map svg{display:block;width:100%;height:auto}
.se-domain-moment .se-physical,.se-domain-moment .se-marine{display:none}.se-domain-moment .se-registry-grid{opacity:var(--se-grid,0)}
.sr-reader .se-data-part .se-moment{width:100%;margin:40px 0 60px;height:155dvh}.sr-reader .se-data-part .se-stage{padding:24px 0;min-height:0;height:calc(100dvh - 110px);gap:16px}.se-data-part .se-stage-art{width:100%;min-height:0}.se-data-part .se-stage h3{font-size:clamp(23px,2.5vw,34px);margin:0}.se-data-part .se-stage figcaption{font-size:12px;line-height:1.5;max-width:900px}.se-data-part .se-stage .se-registry-map{max-height:42dvh}
.se-domain-facts{width:100%;display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:20px;border-top:1px solid #ddd;padding-top:18px}.se-domain-facts div{display:flex;flex-direction:column;gap:8px}.se-domain-facts strong{font-size:30px;line-height:1.2}.se-domain-facts div:first-child strong{font-size:17px}.se-domain-facts span{font-size:12px}
.se-registry-moment .se-domain-boundary{display:none}.se-registry-moment .se-scene-status{font-size:clamp(19px,2vw,28px);font-weight:600;margin:0;color:#111}.se-network-source{font-size:13px!important;margin:0!important;color:#666}
.se-history-pair{display:grid;grid-template-columns:1fr 1fr;gap:25px;width:100%}.se-history-pair section{min-width:0}.se-history-pair .mono{font-size:12px}.se-history-pair p{font-size:16px!important;line-height:1.4!important;margin:12px 0 6px!important}.se-history-pair small{font-size:12px;line-height:1.4;display:block;color:#777}.se-history-pair .se-data-map{min-height:0}.se-history-pair .se-domain-boundary{display:none}
[data-se-training] .se-registry-grid{opacity:1}[data-se-training] .se-physical,[data-se-training] .se-marine{opacity:var(--se-sampled,0)}[data-se-operation] .se-registry-grid{opacity:.07}[data-se-operation] .se-physical,[data-se-operation] .se-marine{opacity:1}.se-history-pair .se-physical{fill:#fe3a3a}.se-history-pair .se-marine{fill:#111}
.se-shared-structure{display:flex;flex-direction:column;align-items:center;gap:7px;width:100%;text-align:center}.se-shared-structure strong{font-size:clamp(16px,2vw,24px)}.se-shared-structure>span{font-size:13px;color:#777}.se-shared-structure>span:first-child{font-size:26px;color:#fe3a3a}
.se-data-outcome{border-top:1px solid #ddd;padding-top:45px;margin-top:80px}.se-data-outcome h3{font-size:clamp(32px,4vw,55px);line-height:1.1;margin:25px 0 35px}.se-data-outcome em{font-style:normal;border-bottom:3px solid #fe3a3a}
@media(max-width:650px){.se-data-part{margin-top:64px}.se-history-pair{gap:12px}.se-history-pair p{font-size:12px!important}.se-history-pair small,.se-history-pair .mono{font-size:10px}.se-domain-facts{gap:10px}.se-domain-facts strong{font-size:25px}.se-domain-facts div:first-child strong{font-size:12px}.se-domain-facts span{font-size:10px}.sr-reader .se-data-part .se-stage{height:calc(100dvh - 215px);gap:12px}.se-data-part .se-stage figcaption{font-size:10px}.se-data-part .se-stage .se-registry-map{max-height:34dvh}.se-registry-legend{flex-wrap:wrap}.se-shared-structure strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.se-domain-moment .se-domain-boundary,.se-domain-moment .se-registry-grid,[data-se-training] .se-physical,[data-se-training] .se-marine{opacity:1}}

@media(max-width:650px){#se-foundation .se-lead{font-size:19px;line-height:1.55}.se-history-pair small,.se-shared-structure>span{color:#595959}}

/* A camera move into one real prediction-grid cell, with variable labels. */
.se-selected-cell{display:none}.se-domain-moment .se-selected-cell{display:block;fill:#fe3a3a18;stroke:#fe3a3a;stroke-width:2;vector-effect:non-scaling-stroke;opacity:var(--se-cell-detail,0)}
.se-domain-moment .se-registry-grid rect,.se-domain-moment .se-actual-coast path{vector-effect:non-scaling-stroke}
.sr-reader .se-data-part .se-domain-moment{height:210dvh}.se-domain-moment figcaption:empty{display:none}
.se-cell-explainer{position:relative;width:100%}.se-cell-detail{position:absolute;right:5%;top:50%;transform:translateY(-50%);width:38%;padding:18px 22px;background:#f5f0e8;opacity:var(--se-cell-detail,0);border-radius:8px}.se-cell-detail .mono{font-size:10px}.se-cell-detail h4{font-size:clamp(18px,2vw,26px);line-height:1.15;margin:12px 0 18px}.se-cell-detail ul{list-style:none;padding:0;margin:0}.se-cell-detail li{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #ddd5cb;padding:9px 0;font-size:12px}.se-cell-detail li span{color:#555;text-align:right}.se-cell-detail p{font-size:12px!important;margin:12px 0 0!important}.se-cell-pointer{position:absolute;top:50%;left:39%;width:23%;height:1px;background:#fe3a3a;opacity:var(--se-cell-detail,0)}
@media(max-width:650px){.se-cell-detail{width:49%;padding:12px}.se-cell-detail h4{font-size:16px;margin:8px 0 10px}.se-cell-detail .mono{font-size:8px}.se-cell-detail li{display:block;padding:6px 0;font-size:10px}.se-cell-detail li span{display:block;text-align:left;margin-top:2px}.se-cell-detail p{font-size:10px!important}.se-cell-pointer{left:37%;width:14%}.se-domain-moment .se-cell-explainer{min-height:280px;display:flex;align-items:center}.se-cell-explainer .se-data-map{min-height:0}}

.se-sampled-cells{display:none}[data-se-training] .se-sampled-cells{display:block}[data-se-training] .se-sampled-cells rect{opacity:clamp(0,calc((var(--se-sampled,0) - var(--sample-delay,0))*5),1);stroke:#fe3a3a;stroke-width:.6;vector-effect:non-scaling-stroke}
.sr-reader .se-data-part .se-history-moment .se-stage{gap:12px}.se-cell-detail li span{line-height:1.35}
@media(max-width:650px){.se-history-pair small{font-size:9px}.se-history-pair .se-data-map svg{max-height:24dvh!important}}
@media(prefers-reduced-motion:reduce){[data-se-training] .se-sampled-cells rect{opacity:1}}

/* Keep maps and their labels inside the allocated comparison row. */
.se-history-moment .se-stage-art{margin-top:0}.se-history-moment .se-history-pair{height:100%}.se-history-moment .se-history-pair section{display:flex;flex-direction:column;min-height:0}.se-history-moment .se-history-pair .se-data-map{flex:1;min-height:0;margin-top:10px}.se-history-moment .se-history-pair .se-data-map svg{height:100%;max-height:none!important}.se-history-moment .se-history-pair p,.se-history-moment .se-history-pair small,.se-history-moment .se-history-pair .mono{flex-shrink:0}.se-history-moment .se-shared-structure,.se-history-moment figcaption{flex-shrink:0}

/* The legend belongs to the map, and the next stage is a distinct action. */
.se-network-map{position:relative;width:100%;height:100%;min-height:0}.se-network-map .se-data-map{height:100%;min-height:0}.storm-case .se-network-map .se-registry-legend{position:absolute;top:18px;right:0;display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin:0;padding:12px 14px;background:rgba(255,255,255,.94);font-size:11px;line-height:1.4}.se-network-map .se-registry-legend>span{gap:9px}.se-network-map .se-registry-legend i{flex-shrink:0;width:6px;height:6px}.se-registry-moment figcaption:empty{display:none}
.storm-case .se-data-outcome .se-next-stage{display:inline-flex;align-items:center;justify-content:space-between;gap:42px;margin:30px 0 0;padding:18px 22px;min-height:76px;min-width:260px;background:#fe3a3a;color:#000;border:1px solid #fe3a3a;border-radius:8px;text-align:left;cursor:pointer;transition:background .2s,transform .2s}.se-next-copy{display:flex;flex-direction:column;gap:6px}.se-next-copy small{font-family:var(--se-mono,monospace);font-size:10px;letter-spacing:.09em}.se-next-copy strong{font-size:19px;font-weight:600}.se-next-arrow{font-size:30px;line-height:1}.storm-case .se-data-outcome .se-next-stage:hover{background:#ff655f;transform:translateX(3px)}.se-next-stage:focus-visible{outline:2px solid #000;outline-offset:4px}
@media(max-width:650px){.storm-case .se-network-map .se-registry-legend{top:0;padding:8px;gap:8px;font-size:8px;max-width:160px}.storm-case .se-data-outcome .se-next-stage{min-width:240px;max-width:100%;padding:16px 18px}}
@media(prefers-reduced-motion:reduce){.storm-case .se-data-outcome .se-next-stage{transition:none}}

/* Optical centring follows the mapped region rather than the wide map frame. */
.se-history-moment .se-shared-structure{transform:translateX(-4%)}.se-history-moment figcaption:empty{display:none}

@media(max-width:650px){.se-cell-detail{right:2%}}
