/* Research Lab exhibit 6, the overflow ledger, only; the rest is ../lab.css over the site's page.css. */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the opening's map: every traced overflow as a dot, on the frontispiece's dark paper */
.overview { margin: 0; }
.overview figcaption { font-size: 12px; color: var(--deep-muted); margin-top: 8px; }
.drawn-map.dark svg { border-color: rgba(233, 228, 214, .3); }
.drawn-map.dark rect:first-child { fill: #0e1c21; }
.drawn-map.dark .grat { stroke: rgba(233, 228, 214, .08); }
.drawn-map.dark .land { fill: #1d3036; stroke: rgba(233, 228, 214, .45); }
.drawn-map.dark .land.other { fill: #182a2f; stroke: rgba(233, 228, 214, .2); }
.drawn-map.dark .gl { fill: rgba(233, 228, 214, .5); }
.drawn-map.dark g[transform] line, .drawn-map.dark g[transform] path { stroke: var(--deep-ink); fill: var(--deep-ink); }
.drawn-map .lg-dot { fill: #e0766b; opacity: .8; }

.lg-read { columns: 2; column-gap: 40px; font-size: var(--fs-note); max-width: 1100px; }
.lg-read p { margin: 0 0 12px; break-inside: avoid; }
.lg-read.one { columns: 1; max-width: 68ch; }
@media (max-width: 760px) { .lg-read { columns: 1; } }

.lg-controls { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: end; margin-bottom: 8px; }
.lg-field { max-width: 100%; }
.lg-field .lbl { display: block; font-size: var(--fs-note); font-weight: 600; margin-bottom: 6px; }
.lg-field select { 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); }
.lg-field .seg { margin: 0; flex-wrap: wrap; }

.lg-table, .lg-reach { overflow-x: auto; position: relative; }   /* .vh inside stays inside the scroll frame */
.lg-table table, .lg-reach table { border-collapse: collapse; font-size: 13px; width: 100%; margin-top: 8px; }
.lg-table caption, .lg-reach caption { text-align: left; font-size: 12px; color: var(--muted); padding: 0 0 6px; caption-side: top; }
.lg-table th, .lg-table td, .lg-reach th, .lg-reach td { text-align: left; padding: 6px 14px 6px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.lg-table thead th, .lg-reach thead th { font-weight: 600; color: var(--muted); }
.lg-table td.n, .lg-table th.n, .lg-reach td.n, .lg-reach th.n { text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.lg-table small { color: var(--muted); display: block; }
.lg-table .na { color: var(--muted); }
.lg-table .bar, .lg-reach .bar { display: block; height: 3px; background: var(--ink); margin-top: 4px; min-width: 1px; }
.lg-reach { max-width: 560px; }
.lg-reach td.bar-col, .lg-reach th.bar-col { width: 60%; vertical-align: middle; }
.lg-reach td.bar-col .bar { height: 8px; margin: 0; }
#untraced, #shared-note { max-width: 68ch; margin-top: 12px; }

#more { 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); }

.lg-grid table { width: auto; }
.lg-grid thead th { white-space: normal; min-width: 84px; max-width: 120px; font-size: 12px; vertical-align: bottom; }
.lg-grid td.w { text-align: right; font-variant-numeric: tabular-nums lining-nums; padding: 6px 8px; background: color-mix(in srgb, var(--ink) calc(var(--w) * 30%), transparent); }
.lg-grid td.none { background: repeating-linear-gradient(135deg, transparent 0 3px, var(--gap) 3px 4px); }
#grid-key .sw.w1 { background: color-mix(in srgb, var(--ink) 30%, transparent); }
#grid-key .sw { display: inline-block; width: 18px; height: 10px; vertical-align: -1px; margin-right: 5px; border: 1px solid var(--hair); }
#grid-key .sw.gap { background: repeating-linear-gradient(135deg, transparent 0 3px, var(--gap) 3px 4px); }
.tolive { font-size: var(--fs-note); margin-top: 12px; }
@media (max-width: 640px) {
  .lg-table table { font-size: 12px; }
  .lg-table th, .lg-table td { padding-right: 10px; }
}
