/* The workspace's what-if mode only; the rest is ../../lab.css and ../workspace.css. Level colours are the site's own
   (page.css --low to --veryhigh), used only where a level is drawn. */
.wi-controls { display: grid; grid-template-columns: auto auto minmax(220px, 1fr) minmax(220px, 1fr); gap: 20px 32px; align-items: start; }
@media (max-width: 1000px) { .wi-controls { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .wi-controls { grid-template-columns: 1fr; } }
.wi-rain label b { font-weight: 600; }
.wi-rain input[type=range] { width: 100%; min-height: 40px; accent-color: var(--ink); }
.wi-rain input[type=range]:disabled { opacity: .4; }
.wi-ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: -4px; }
.wi-rain .note { margin-top: 8px; }
#drop { font: inherit; font-size: var(--fs-note); min-height: 40px; max-width: 100%; padding: 4px 8px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); color: var(--ink); }
.wi-reset button { border: 1px solid var(--rule); background: var(--card); border-radius: var(--radius); min-height: 40px; padding: 6px 12px; cursor: pointer; font-size: var(--fs-note); }
.wi-reset button:disabled { color: var(--faint); cursor: default; }

.wi-strip svg { display: block; max-width: 100%; }
.wi-strip .lane-t { font: 600 12px var(--font-text); fill: var(--ink); }
.wi-strip .lane-s { font: 11px var(--font-text); fill: var(--muted); }
.wi-strip .base { stroke: var(--rule); }
.wi-strip .storm, .chart-note i.storm { fill: var(--ink); }
.chart-note { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.chart-note i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -2px; margin-right: 5px; }
.chart-note i.storm { width: 0; height: 0; border-radius: 0; border: 6px solid transparent; border-bottom: 9px solid var(--ink); border-top: 0; vertical-align: 1px; }

.wi-counts, .wi-table { overflow-x: auto; }
.wi-counts table, .wi-table table { border-collapse: collapse; font-size: 13px; margin-top: 14px; }
.wi-counts th, .wi-counts td, .wi-table th, .wi-table td { text-align: left; padding: 6px 14px 6px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.wi-counts thead th, .wi-table thead th { font-weight: 600; color: var(--muted); }
.wi-counts td, .wi-table td:not(:first-child) { font-variant-numeric: tabular-nums; }
.wi-counts small, .wi-table small { color: var(--muted); }
.wi-table { min-width: 0; }
.wi-table table { width: 100%; }
.wi-table tr.gone td { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--ov); }
.wi-table tr.gone td:not(:first-child) { text-decoration: none; }
.wi-table .na { color: var(--muted); font-style: italic; }
.wi-table .note { margin-top: 10px; max-width: 80ch; }
.lv { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lv::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--c); }

.drawn-map .ov.gone { fill: var(--paper); stroke: var(--muted); stroke-dasharray: 2 1.5; }
.drawn-map .x { stroke: var(--ov); stroke-width: 2; stroke-linecap: round; }

.wi-checks { margin: 0; max-width: 84ch; }
.wi-checks dt { font-weight: 600; margin-top: 16px; }
.wi-checks dt:first-child { margin-top: 0; }
.wi-checks dd { margin: 4px 0 0; }
