/* Hasenheide dashboard. Colours as tokens; dark mode by OS setting or data-theme. */
:root {
  --bg: #fbfbfa; --panel: #ffffff; --fg: #1d1f21; --muted: #5d6166; --border: #dcdde0;
  --accent: #1f5fa8; --accent-fg: #ffffff; --mark: #fff3c4; --code: #f1f2f4;
  --ok: #2b7a3d; --warn: #9a5b00; --control: #83888f; --edge: rgba(0,0,0,.22);
  --sick: #d62728; --fds: #9467bd; --window: #4a90c8; --fire: #d06a00;
  --room-f1: #1f77b4; --room-f2: #c25e00; --room-fc: #9467bd; --room-f3: #2a8a2a;
  /* the same hues as text, at least 4.5:1 on their tinted fills (light theme) */
  --fds-text: #765297; --text-f1: #1a6599; --text-f2: #9b4b00; --text-fc: #765297; --text-f3: #226e22;
  --lem: #1d1f21;                  /* plot_style LEM = black; flips with the theme */
  --radius: 8px; --gutter: 16px; --nav-w: 232px; --topbar: 56px; --prose: 100%;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15171a; --panel: #1d2024; --fg: #e6e7e9; --muted: #a2a7ae; --border: #34383e;
    --accent: #7fb0ec; --accent-fg: #10161d; --mark: #4a3f12; --code: #262a2f;
    --ok: #6fc283; --warn: #e0a64a; --lem: #e6e7e9; --control: #6f757e; --edge: rgba(255,255,255,.22);
    --sick: #ef5a5b; --fds: #b48ee0; --window: #6fb0e0; --fire: #f28c28; --room-f1: #4c9bd6; --room-f2: #ff7f0e; --room-fc: #b48ee0; --room-f3: #3cb44b;
    --fds-text: #b48ee0; --text-f1: #4c9bd6; --text-f2: #ff7f0e; --text-fc: #b48ee0; --text-f3: #3cb44b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15171a; --panel: #1d2024; --fg: #e6e7e9; --muted: #a2a7ae; --border: #34383e;
  --accent: #7fb0ec; --accent-fg: #10161d; --mark: #4a3f12; --code: #262a2f;
  --ok: #6fc283; --warn: #e0a64a; --lem: #e6e7e9; --control: #6f757e; --edge: rgba(255,255,255,.22);
    --sick: #ef5a5b; --fds: #b48ee0; --window: #6fb0e0; --fire: #f28c28; --room-f1: #4c9bd6; --room-f2: #ff7f0e; --room-fc: #b48ee0; --room-f3: #3cb44b;
    --fds-text: #b48ee0; --text-f1: #4c9bd6; --text-f2: #ff7f0e; --text-fc: #b48ee0; --text-f3: #3cb44b;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar) + 8px); }   /* focus never under the sticky bar */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 var(--font); }
a { color: var(--accent); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
main a { overflow-wrap: anywhere; }   /* long URLs reflow at 320 px */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible,
[tabindex]:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px;
}
code, .mono { font-family: var(--mono); font-size: 0.9em; }
code { background: var(--code); padding: 0.05em 0.3em; border-radius: 4px; overflow-wrap: anywhere; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 0.5rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.6rem; }
h3 { font-size: 1rem; margin: 1.2rem 0 0.4rem; }
p { margin: 0.5rem 0; }

/* folded sections (overview): the heading is the toggle, a chevron shows the state */
.folds { margin-top: 2rem; border-bottom: 1px solid var(--border); }
details.fold { border-top: 1px solid var(--border); scroll-margin-top: calc(var(--topbar) + 8px); }
details.fold > summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 12px 0; cursor: pointer; list-style: none; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: ""; align-self: center; flex: none; width: 0.5em; height: 0.5em; margin: 0 4px 0 2px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); }
details.fold[open] > summary::before { transform: rotate(45deg); }
details.fold > summary h2 { margin: 0; font-size: 1.1rem; }
details.fold > summary h2, details.fold > summary h3 { flex: 1 1 12ch; min-width: 0; }
@media (max-width: 560px) { details.fold > summary .fold-hint { flex: 1 0 100%; padding-left: calc(0.5em + 18px); } }
details.fold > summary:hover h2 { color: var(--accent); }
.fold-hint { font-size: 0.85rem; color: var(--muted); }
details.fold[open] { padding-bottom: 1.2rem; }
/* inside a view: smaller titles, the fold set off by its rules */
details.fold-3 { margin: 1rem 0 0; } details.fold-3 + details.fold-3 { margin-top: 0; }
details.fold-3:not(:has(+ details.fold-3)) { border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
details.fold > summary h3 { margin: 0; font-size: 1rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-fg); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.topbar {
  height: var(--topbar); position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter); background: var(--panel); border-bottom: 1px solid var(--border);
}
/* added by scripts/stage_dashboard.py --preview on a site published from a branch */
.preview-note { margin: 0; padding: 6px var(--gutter); background: var(--code); border-bottom: 1px solid var(--border);
  font-size: 0.85rem; }
.brand { font-weight: 650; color: var(--fg); text-decoration: none; margin-right: auto; }
.brand span { font-weight: 400; color: var(--muted); }
button, select, input {
  font: inherit; color: var(--fg); background: var(--panel); border: 1px solid var(--control);
  border-radius: 6px; padding: 5px 10px;
}
button { cursor: pointer; }
button:hover { border-color: var(--accent); }
.menu-btn { display: none; }

.layout { display: grid; grid-template-columns: var(--nav-w) minmax(0, 1fr); min-height: calc(100vh - var(--topbar)); }
.nav { border-right: 1px solid var(--border); padding: 16px 10px; background: var(--panel);
  position: sticky; top: var(--topbar); align-self: start; height: calc(100vh - var(--topbar)); overflow-y: auto; }
.nav ol { list-style: none; margin: 0; padding: 0; }
.nav li a {
  display: block; padding: 6px 10px; border-radius: 6px; color: var(--fg); text-decoration: none; font-size: 0.95rem;
}
.nav li a:hover { background: var(--code); }
.nav li a[aria-current="page"] { background: var(--accent); color: var(--accent-fg); }

.content { min-width: 0; display: flex; flex-direction: column; }
main { padding: 24px clamp(var(--gutter), 3vw, 48px) 40px; max-width: 1560px; width: 100%; min-width: 0; flex: 1; }
.foot { padding: 14px clamp(var(--gutter), 3vw, 48px); border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--muted); }
main:focus { outline: none; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: var(--prose); }
.banner { margin: 0 0 18px; }
.banner img { display: block; width: 100%; height: clamp(110px, 18vw, 240px); object-fit: cover; object-position: 50% 60%;
  border-radius: var(--radius); }
.banner figcaption { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.loading { color: var(--muted); }

.about { background: var(--panel); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 10px 14px; margin: 12px 0 18px; max-width: var(--prose); }
.about h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 4px; }

/* four tiles in a row, or two by two, never three plus one */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
@media (max-width: 1280px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.tile { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.tile .v { font-size: 1.9rem; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tile .k { font-size: 0.9rem; color: var(--muted); }
.tile .m { font-size: 0.75rem; color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }

blockquote { margin: 12px 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--border); max-width: var(--prose); }
blockquote footer { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 12px 0; }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: block; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; color: var(--fg); text-decoration: none; }
a.card:hover { border-color: var(--accent); }
.card b { display: block; margin-bottom: 2px; }
/* institutions on the overview: logos where cleared, names otherwise; one logo per theme */
.institutions { margin-top: 28px; }   /* the folds above already end in a rule */
.institutions h3 { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
.institutions ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: flex-start; }
.institutions li { display: flex; flex-direction: column; gap: 2px; max-width: 30ch; }
.institutions li.wide { max-width: 62ch; }
.institutions li small { font-size: 0.78rem; color: var(--muted); }
.inst { display: flex; align-items: center; min-height: 56px;   /* one row height: logos and names centred alike */
         color: var(--fg); text-decoration: none; font-size: 0.9rem; line-height: 1.3; }
a.inst:hover span, a.inst:focus-visible span { text-decoration: underline; }
a.inst img { width: auto; max-width: 100%; display: block; }   /* height per logo (start.js) */
a.inst img.on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) a.inst img.on-light { display: none; }
  :root:not([data-theme="light"]) a.inst img.on-dark { display: block; }
}
:root[data-theme="dark"] a.inst img.on-light { display: none; }
:root[data-theme="dark"] a.inst img.on-dark { display: block; }
.card > span { display: block; font-size: 0.88rem; color: var(--muted); }

/* scroll shadows show that a wide table continues sideways (narrow screens) */
.table-wrap { width: fit-content; max-width: 100%; overflow-x: auto; margin: 8px 0; border: 1px solid var(--border); border-radius: var(--radius);
  background:
    linear-gradient(to right, var(--panel) 30%, transparent) left / 24px 100% no-repeat local,
    linear-gradient(to left, var(--panel) 30%, transparent) right / 24px 100% no-repeat local,
    linear-gradient(to right, var(--edge), transparent) left / 10px 100% no-repeat scroll,
    linear-gradient(to left, var(--edge), transparent) right / 10px 100% no-repeat scroll,
    var(--panel); }
sub { line-height: 0; }
table { border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 0.92rem; }
caption { text-align: left; padding: 8px 10px; font-size: 0.88rem; color: var(--muted); caption-side: top; }
th, td { padding: 6px 16px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
th { font-weight: 600; border-bottom: 2px solid var(--border); }
td.num, th.num { text-align: right; }
tbody tr:last-child td { border-bottom: none; }

.table-row { display: flex; flex-wrap: wrap; gap: 0 28px; align-items: flex-start; }
.table-row > div { min-width: 0; max-width: 100%; }
.source { font-size: 0.82rem; color: var(--muted); margin: 6px 0 0; overflow-wrap: anywhere; }
.note { font-size: 0.88rem; color: var(--muted); max-width: var(--prose); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.chip { font-size: 0.78rem; padding: 1px 8px; border-radius: 10px; border: 1px solid var(--border); color: var(--muted); white-space: nowrap; }
.chip.kind-paper { border-color: var(--accent); color: var(--accent); }
.chip.kind-package { border-color: var(--warn); color: var(--warn); }
.card .refs { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--muted); }
.card .chip { display: inline-block; margin-top: 6px; }
.card > span.badge { display: inline-block; width: auto; margin: 6px 0 0 6px; font-size: 0.72rem; }
dl.naming { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 8px 0; }
dl.naming dt { font-family: var(--mono); font-size: 0.9em; }
dl.naming dd { margin: 0; }
.badge { display: inline-block; font-size: 0.72rem; padding: 1px 6px; border-radius: 10px; border: 1px solid var(--border); color: var(--muted); }
pre { background: var(--code); padding: 10px 12px; border-radius: var(--radius); overflow-x: auto; font-size: 0.85rem; }

/* controls */
.controls { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: flex-end; margin: 8px 0 6px; }
fieldset.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.seg legend { font-size: 0.78rem; color: var(--muted); padding: 0; margin-bottom: 3px; }
fieldset.seg label { display: inline-flex; position: relative; }
fieldset.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
fieldset.seg span { padding: 4px 11px; border: 1px solid var(--control); margin-left: -1px; background: var(--panel); cursor: pointer; font-size: 0.92rem; }
fieldset.seg label:first-of-type span { border-radius: 6px 0 0 6px; margin-left: 0; }
fieldset.seg label:last-of-type span { border-radius: 0 6px 6px 0; }
fieldset.seg input:checked + span { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
fieldset.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; position: relative; z-index: 1; }
fieldset.seg label.disabled span { color: var(--muted); cursor: not-allowed; border-style: dashed; }
fieldset.seg label.disabled input:checked + span { color: var(--accent-fg); border-style: solid; opacity: 0.8; }
fieldset.checks span { border-radius: 6px !important; margin: 0 6px 0 0 !important; }
fieldset.checks input:checked + span::before { content: "✓ "; }
/* a segmented control that wraps keeps its rounded corners: each option on its own */
@media (max-width: 560px) { fieldset.seg label span { border-radius: 6px !important; margin: 0 4px 4px 0 !important; } }
.chart { width: 100%; height: clamp(320px, 52vh, 560px); }
.chart-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; }
.chart.half { height: clamp(280px, 40vh, 420px); }
.chart.tornado { height: clamp(380px, 56vh, 560px); }
.chart.square { height: auto; aspect-ratio: 1 / 1; max-width: clamp(340px, calc(100vh - 400px), 640px); }   /* the whole plot fits the window */
.stat-line { font-size: 1.05rem; margin: 6px 0 0; }
fieldset.seg select { font-size: 0.92rem; padding: 4px 8px; }
.chart-note p { margin: 2px 0; }
.downloads { font-size: 0.85rem; color: var(--muted); margin: 4px 0; }
button.linklike { border: 0; background: none; padding: 0; color: var(--accent); text-decoration: underline; font-size: inherit; }
input.search { width: min(380px, 100%); padding: 6px 10px; }
.search-label { display: block; }
.search-label > span { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 3px; }
.contents { font-size: 0.9rem; color: var(--muted); margin: 10px 0 0; }
td .wrap { white-space: normal; display: inline-block; min-width: 26ch; max-width: 46ch; overflow-wrap: anywhere; }
td .wrap.wide { min-width: 34ch; max-width: 70ch; overflow-wrap: normal; }
@media (max-width: 560px) { td .wrap { min-width: 14ch; } td .wrap.wide { min-width: 26ch; } }   /* phones: the next column stays in view */
@media (max-width: 560px) {
  table.stack thead { display: none; }
  table.stack tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
  table.stack td { display: block; border: 0; padding: 0 4px; }
  table.stack td:nth-child(2) { grid-row: 2; }
  table.stack td:nth-child(3) { grid-row: 1 / 3; grid-column: 2; align-self: start; }
  table.stack td:nth-child(4) { grid-column: 1 / -1; color: var(--muted); font-size: 0.9rem; }
  table.stack td .wrap.wide, table.stack td .nowrap { min-width: 0; white-space: normal; }
}
td .nowrap { white-space: nowrap; }
.chart-note { font-size: 0.85rem; color: var(--muted); margin: 2px 0; }

/* apartment plan (svg in metres: stroke widths and font sizes in m) */
.figure { margin: 12px 0; }
/* no max-height: top view and section must scale to the same width to stay aligned */
.plan { display: block; width: 100%; height: auto; }
.plan.section { margin-top: 6px; }
.plan-wrap { overflow-x: auto; }
@media (max-width: 640px) { .plan-pair { min-width: 640px; } }
.fig .room { fill: var(--panel); stroke: var(--fg); stroke-linejoin: miter; }
.fig .door { fill: var(--panel); }
.fig .sealed line { stroke: var(--muted); stroke-width: 0.04; }
.fig .window { stroke: var(--window); stroke-width: 0.12; }
.fig .room-label { font: 600 0.3px var(--font); fill: var(--muted); }
.fig .axis-note { font: 0.24px var(--font); fill: var(--muted); }
.fig .fire { fill: var(--fire); }
.fig .beam { stroke-width: 0.09; stroke-linecap: round; }
.beam.lem { stroke: var(--lem); }
.beam.sick { stroke: var(--sick); }
.fig .tree { fill: var(--panel); stroke: var(--fg); stroke-width: 0.045; }
.fig .stem { stroke: var(--muted); stroke-width: 0.025; }
.fig .scale { fill: var(--muted); fill-opacity: 0.55; }
.fig .flame { fill: var(--fire); fill-opacity: 0.55; }
.fig .window-pane { fill: var(--window); fill-opacity: 0.16; }
.fig .lem-mark { fill: var(--lem); }
.fig .sick-mark { fill: var(--sick); }
.fig .ceiling { fill: var(--fg); }
.fig .alarm { fill: var(--muted); }
.plan a.dev { cursor: pointer; }
.plan a.dev:hover .beam, .plan a.dev:focus .beam { stroke-width: 0.17; }
.plan a.dev:hover > :not(title):not(.hit), .plan a.dev:focus-visible > :not(title):not(.hit) { stroke: var(--accent); stroke-width: 0.05; }
.plan a.dev:focus-visible > :not(title):not(.hit):not(.beam) { stroke-width: 0.11; }   /* keyboard focus: a clear halo */
.plan a.dev:focus-visible .hit { fill: var(--accent); fill-opacity: 0.18; }
.fig .hit { fill: transparent; stroke: none; stroke-width: 0; pointer-events: fill; }   /* larger target around small symbols (its fill only) */
.plan a.dev:hover .beam, .plan a.dev:focus-visible .beam { stroke: var(--accent); stroke-width: 0.17; }
.plan a.dev:focus { outline: none; }
.plan a.dev:focus-visible .beam { stroke: var(--accent); }
.plan-legend { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.85rem; color: var(--muted); margin: 4px 0; }
.legend-mark { width: 36px; height: 22px; vertical-align: middle; overflow: visible; }
.legend-mark .tree { stroke-width: 0.07; }
.fig .wall { stroke: var(--fg); stroke-width: 0.06; }
.fig .legend-text { font: 0.24px var(--font); fill: var(--fg); }
.plan-legend .sym { display: inline-flex; gap: 3px; align-items: center; }
.caption { font-size: 0.88rem; color: var(--muted); margin: 4px 0; }

@media (max-width: 860px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .nav.open { display: block; }
  h1 { font-size: 1.35rem; }
  .tile .v { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .brand span { display: none; }
  .theme-btn { font-size: 0.85rem; padding: 4px 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* key result at a glance (after the paper's graphical abstract), native SVG */
.glance { margin: 14px 0 8px; }
.glance-head { font-size: clamp(1.15rem, 0.9vw + 0.85rem, 1.55rem); font-weight: 700; line-height: 1.25; margin: 0; }
.glance-sub { font-size: clamp(1rem, 0.5vw + 0.85rem, 1.2rem); margin: 2px 0; }
.glance-context { color: var(--muted); margin: 2px 0 12px; }
.glance-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 2.1fr); gap: 14px 28px; align-items: start; }
.glance-right { display: grid; gap: 10px; min-width: 0; }
.glance-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(170px, 1fr); gap: 10px 24px; align-items: center; }
@media (max-width: 1240px) { .glance-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .glance-top { grid-template-columns: minmax(0, 1fr); } }
a.glance-cell { display: block; color: inherit; text-decoration: none; border-radius: var(--radius); padding: 4px; }
a.glance-cell:hover { background: var(--code); }
.glance-parity { display: block; width: 100%; max-width: 380px; height: auto; }
.glance-plan { display: block; width: 100%; height: auto; }
.glance-instr { margin: 4px 0 0; }
.glance-top > div { min-width: 0; }
.glance-stat p { margin: 2px 0; }
.glance-delta { font-size: clamp(2.1rem, 3vw + 1rem, 3.2rem); line-height: 1.05; color: var(--fds-text); white-space: nowrap; }
.glance-stat .glance-delta { margin-bottom: 0.3em; }   /* room below the subscript k */
.glance-bars-title { margin: 0 0 4px; }
.g-sick-text { color: var(--sick); }
.g-band { fill: var(--muted); fill-opacity: 0.18; }
.g-one { stroke: var(--fg); stroke-width: 1.2; }
.g-delta { stroke: var(--fds); stroke-width: 2.2; }
.g-frame { fill: none; stroke: var(--muted); stroke-width: 1; }
.g-tick, .g-note { font: 12px var(--font); fill: var(--muted); }
.g-axis { font: 13px var(--font); fill: var(--fg); }
.g-delta-label { font: 600 12px var(--font); fill: var(--fds-text); }
.g-pt { fill: var(--fds); stroke: var(--bg); stroke-width: 1.2; }
.g-room { stroke-width: 0.06; fill-opacity: 0.16; }
.g-room-label { font: 700 0.5px var(--font); }
.g-room.g-f1 { stroke: var(--room-f1); fill: var(--room-f1); } .g-room-label.g-f1 { fill: var(--text-f1); }
.g-room.g-f2 { stroke: var(--room-f2); fill: var(--room-f2); } .g-room-label.g-f2 { fill: var(--text-f2); }
.g-room.g-fc { stroke: var(--room-fc); fill: var(--room-fc); } .g-room-label.g-fc { fill: var(--text-fc); }
.g-room.g-f3 { stroke: var(--room-f3); fill: var(--room-f3); } .g-room-label.g-f3 { fill: var(--text-f3); }
.g-fire { fill: var(--fire); }
.g-path { fill: none; stroke: var(--muted); stroke-width: 0.12; }
.g-arrowhead { fill: var(--muted); }
.g-dim { stroke: var(--muted); stroke-width: 0.03; }
.g-dim-label { font: 0.42px var(--font); fill: var(--muted); }
.gbars { list-style: none; margin: 0; padding: 0; }
.gbar-row { display: grid; grid-template-columns: minmax(12em, 16em) minmax(160px, 1fr); gap: 2px 12px; align-items: center; padding: 3px 0; }
.gbar-track { position: relative; height: 18px; }
.gbar-zero { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 1.5px solid var(--fg); }
.gbar { position: absolute; top: 0; bottom: 0; }
.gbar.g-bar { background: var(--fds); } .gbar.g-bar-muted { background: var(--muted); opacity: 0.6; }
.gbar-value { position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap; }
.gbar-value.g-bar-text { color: var(--fds-text); } .gbar-value.g-bar-muted-text { color: var(--muted); }
@media (max-width: 560px) { .gbar-row { grid-template-columns: minmax(0, 1fr); } }
