/* wide load atlas -- consumes tokens.css. map ramp is local: severity, not brand,
   so it stays out of the site tokens. hotter = more required of the hauler. */
.wla-page {
  max-width: 1240px;
  --r-ok: #2f6a52; --r0: #262626; --r1: #5c5226; --r2: #d6a900; --r3: #e3761c; --r4: #e2493a; --r5: #b2477d;
  --hatch-a: #141414; --hatch-b: #333;
}
.wla-page .lede { margin-bottom: 1.75rem; }

.wla-controls { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: end; margin-bottom: 1.25rem; }
.wla-ctl { display: flex; flex-direction: column; gap: 6px; }
.wla-ctl-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--page-fg-3); }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--rule-strong); }
.seg button {
  font: inherit; font-family: var(--font-mono); font-size: 0.74rem; padding: 7px 12px;
  background: none; border: 0; color: var(--page-fg-2); cursor: pointer; letter-spacing: 0.02em;
}
.seg button + button { border-left: 1px solid var(--rule-strong); }
.seg button:hover { color: var(--page-fg); }
.seg button.is-active { background: var(--ink-accent); color: var(--page-bg); }
.wla-load { display: flex; align-items: center; gap: 12px; border: 1px solid var(--rule-strong); padding: 4px 12px; }
.wla-load input[type=range] { width: min(220px, 46vw); accent-color: var(--ink-accent); }
.wla-readout { font: 600 1.05rem/1 var(--font-mono); min-width: 5.2ch; font-variant-numeric: tabular-nums; color: var(--page-fg); }
#pick {
  font: inherit; font-family: var(--font-mono); font-size: 0.8rem; color: var(--page-fg);
  background: var(--page-bg); border: 1px solid var(--rule-strong); padding: 6px 8px; border-radius: 0;
}
.seg button:focus-visible, #pick:focus-visible, .wla-load input:focus-visible, .st:focus-visible, .wla-sheet a:focus-visible {
  outline: 2px solid var(--ink-accent); outline-offset: 2px;
}

.wla-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
@media (max-width: 920px) { .wla-main { grid-template-columns: minmax(0, 1fr); } }
.wla-mapcard { border: 1px solid var(--rule); padding: 12px; position: relative; min-width: 0; }
.wla-map { width: 100%; height: auto; display: block; }
.hatch-a { fill: var(--hatch-a); } .hatch-b { fill: var(--hatch-b); }
.st { stroke: var(--page-bg); stroke-width: .8; cursor: pointer; transition: fill .2s; }
.st:hover { stroke: var(--page-fg-2); stroke-width: 1.4; }
.st.sel { stroke: var(--page-fg); stroke-width: 2.4; }
@media (prefers-reduced-motion: reduce) { .st { transition: none; } }
.lbl {
  font: 600 10px var(--font-mono); fill: #f2f2f2; paint-order: stroke; stroke: rgba(0,0,0,.75); stroke-width: 2.4px;
  pointer-events: none; text-anchor: middle; dominant-baseline: central;
}
.lead { stroke: var(--page-fg-3); stroke-width: .7; }
.wla-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 0.82rem; color: var(--page-fg-2); }
.wla-legend div { display: flex; align-items: center; gap: 7px; }
.sw { width: 13px; height: 13px; border: 1px solid var(--rule-strong); flex: none; }
.sw.hatch { background: repeating-linear-gradient(45deg, var(--hatch-a) 0 3px, var(--hatch-b) 3px 5px); }
.wla-legend b { font: 600 0.74rem var(--font-mono); color: var(--page-fg-3); font-variant-numeric: tabular-nums; }
.wla-summary { margin-top: 8px; }
.wla-tip {
  position: absolute; pointer-events: none; background: var(--page-fg); color: var(--page-bg);
  padding: 6px 9px; font-size: 0.8rem; line-height: 1.35; max-width: 240px; z-index: 2;
}
.wla-tip b { display: block; font-weight: 600; }

.wla-sheet { border: 1px solid var(--rule); min-width: 0; position: sticky; top: 72px; }
@media (max-width: 920px) { .wla-sheet { position: static; } }
.wla-head { padding: 14px 16px 12px; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.wla-head h2 { font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.wla-head .office { margin-top: 4px; color: var(--page-fg-2); font-size: 0.8rem; }
.conf { font: 600 0.66rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; padding: 5px 7px 4px; border: 1px solid currentColor; white-space: nowrap; }
.conf.high { color: var(--ok); } .conf.medium { color: var(--warn); } .conf.needs_verification { color: var(--err); }
.verdict { padding: 10px 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--rule); font-size: 0.88rem; }
.verdict .sw { width: 16px; height: 16px; }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.fig { padding: 9px 10px 8px 16px; border-right: 1px solid var(--rule); border-top: 1px solid var(--rule); }
.fig:nth-child(3n) { border-right: 0; }
.fig:nth-child(-n+3) { border-top: 0; }
.fig span { display: block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--page-fg-3); font-weight: 600; line-height: 1.3; }
.fig strong { font: 600 1.05rem/1.4 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--page-fg); }
.fig strong.na { color: var(--page-fg-3); font-size: 0.8rem; font-weight: 400; }
.wla-sheet dl { padding: 2px 16px 6px; }
.wla-sheet dl div { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.wla-sheet dl div:last-child { border-bottom: 0; }
.wla-sheet dt { font-size: 0.64rem; text-transform: uppercase; letter-spacing: .12em; color: var(--page-fg-3); font-weight: 600; }
.wla-sheet dd { margin-top: 2px; font-size: 0.86rem; color: var(--page-fg); overflow-wrap: anywhere; }
.links { padding: 12px 16px 14px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; font-size: 0.8rem; }
.links details summary { cursor: pointer; color: var(--page-fg-2); }
.links ol { margin: 6px 0 0; padding-left: 20px; overflow-wrap: anywhere; color: var(--page-fg-2); }
.wla-empty { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; }
.wla-empty h2 { font-size: 1.15rem; font-weight: 600; color: var(--page-fg); }
.wla-empty ul { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--page-fg-2); }
.wla-foot { margin-top: 2rem; font-size: 0.82rem; max-width: var(--measure); }
.wla-foot strong { color: var(--page-fg); font-weight: 600; }
