/* PLAN-AID — see ../DESIGN.md for where each decision comes from. */
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #0b0c0c; --ink-2: #484949; --ink-3: #6f7072;
  --rule: #b1b4b6; --rule-2: #e5e5e5; --bg: #ffffff; --bg-2: #f3f2f1;
  --link: #1d70b8; --link-hover: #003078; --focus: #ffdd00;
  --red: #d4351c; --red-tint: #fbe4df; --blue: #1d70b8; --blue-tint: #e3eef8;
  --green: #00703c; --green-tint: #cce2d8; --amber-tint: #fff7bf; --amber-ink: #594d00;
  --sans: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --num: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --measure: 70ch;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--sans); font-kerning: normal; font-variant-numeric: lining-nums; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 700; color: var(--ink); margin: 0; }
h1 { font-size: 44px; line-height: 50px; letter-spacing: -0.01em; margin-bottom: 20px; max-width: 24ch; }
h2 { font-size: 28px; line-height: 35px; margin-bottom: 15px; }
h3 { font-size: 21px; line-height: 25px; margin-bottom: 10px; }
h4 { font-size: 17px; line-height: 25px; margin-bottom: 5px; }
p { margin: 0 0 15px; max-width: var(--measure); }
.lede { font-size: 21px; line-height: 30px; color: var(--ink); max-width: 40em; }
.caption, .hint { font-size: 15px; line-height: 20px; color: var(--ink-2); }
.small { font-size: 15px; line-height: 20px; }
.secondary { color: var(--ink-2); }
.mono, code { font-family: var(--mono); font-size: 0.92em; }
code { background: var(--bg-2); padding: 0 4px; }
strong, b { font-weight: 700; }
ul.plain, ol.plain { list-style: none; margin: 0; padding: 0; }
ul.bullets, ol.numbers { margin: 0 0 15px; padding-left: 22px; max-width: var(--measure); }
ul.bullets li, ol.numbers li { margin-bottom: 6px; }
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 32px; line-height: 35px; } h2 { font-size: 24px; line-height: 30px; } h3 { font-size: 19px; }
  .lede { font-size: 19px; line-height: 25px; }
}

/* ---------- links + focus ---------- */
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid transparent; background-color: var(--focus); color: var(--ink); box-shadow: 0 -2px var(--focus), 0 4px var(--ink); text-decoration: none;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; box-shadow: inset 0 0 0 2px var(--ink); }

/* ---------- page frame ---------- */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; z-index: 100; padding: 8px 12px; }
.width { max-width: 1180px; margin: 0 auto; padding: 0 30px; }
@media (max-width: 640px) { .width { padding: 0 16px; } }
.masthead { border-bottom: 1px solid var(--rule); }
.masthead .width { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; padding-top: 18px; }
.wordmark { color: var(--ink); text-decoration: none; display: block; padding-bottom: 14px; }
.wordmark:hover { color: var(--ink); }
.wordmark b { font-size: 24px; line-height: 30px; letter-spacing: 0.01em; display: block; }
.wordmark span { font-size: 14px; color: var(--ink-2); }
.nav { display: flex; gap: 26px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; padding: 6px 0 14px; border-bottom: 4px solid transparent; }
.nav a:hover { border-bottom-color: var(--rule); color: var(--ink); }
.nav a.on { border-bottom-color: var(--ink); }
@media (max-width: 640px) { .nav { gap: 18px; } .nav a { font-size: 16px; padding-bottom: 10px; } .wordmark { padding-bottom: 4px; } }
.phase { border-bottom: 1px solid var(--rule); }
.phase p { margin: 0; max-width: none; padding: 10px 0; font-size: 15px; line-height: 20px; }
.phase .tag { margin-right: 10px; }
main { padding: 40px 0 70px; min-height: 60vh; }
#view:focus, #view:focus-visible { outline: none; background: none; box-shadow: none; }
.site-foot { border-top: 1px solid var(--rule); background: var(--bg-2); font-size: 15px; line-height: 20px; color: var(--ink-2); }
.site-foot .width { padding-top: 30px; padding-bottom: 40px; display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.site-foot p { margin-bottom: 8px; }
@media (max-width: 800px) { .site-foot .width { grid-template-columns: 1fr; } }

/* ---------- layout ---------- */
.cols { display: grid; gap: 30px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; }
.c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c9 { grid-column: span 9; } .c12 { grid-column: span 12; }
@media (max-width: 900px) { .cols > * { grid-column: span 12; } }
.section { margin-top: 60px; }
.section-rule { border-top: 1px solid var(--rule); padding-top: 30px; margin-top: 50px; }
.stack > * + * { margin-top: 15px; }
.row { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 30px 0; }

/* ---------- controls ---------- */
.button { font: 700 17px/1 var(--sans); display: inline-block; padding: 10px 14px 9px; border: 2px solid transparent; border-radius: 0;
  background: var(--ink); color: #fff; cursor: pointer; text-decoration: none; box-shadow: 0 2px 0 #3d3d3d; margin-bottom: 2px; }
.button:hover { background: #383838; color: #fff; }
.button:active { transform: translateY(2px); box-shadow: none; }
.button.secondary { background: var(--bg-2); color: var(--ink); box-shadow: 0 2px 0 #929191; }
.button.secondary:hover { background: #dbdad9; }
.button.small { font-size: 15px; padding: 6px 10px 5px; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.button:focus-visible { background: var(--focus); color: var(--ink); box-shadow: 0 2px 0 var(--ink); outline: 3px solid var(--focus); }
.linkbtn { font: inherit; color: var(--link); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.12em; }
.linkbtn:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
.linkbtn.on { color: var(--ink); font-weight: 700; text-decoration: none; }
label.field { display: block; margin-bottom: 15px; }
label.field > span { display: block; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
label.field > small { display: block; color: var(--ink-2); font-size: 15px; margin: -2px 0 6px; }
input[type=text], input[type=number], select, textarea { font: 400 16px/1.25 var(--sans); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 0; padding: 6px 8px; }
input[type=number] { width: 7em; font-family: var(--mono); }
input[type=text] { width: 100%; max-width: 24em; }
select { min-width: 12em; max-width: 100%; }
textarea { width: 100%; min-height: 150px; font-family: var(--mono); font-size: 14px; line-height: 20px; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ink); vertical-align: -3px; margin-right: 6px; }
.toggle { display: inline-flex; border: 2px solid var(--ink); }
.toggle button { font: 700 15px/1 var(--sans); padding: 8px 12px; background: #fff; color: var(--ink); border: 0; cursor: pointer; }
.toggle button + button { border-left: 2px solid var(--ink); }
.toggle button.on { background: var(--ink); color: #fff; }
.toggle button:disabled { color: var(--ink-3); cursor: not-allowed; }

/* ---------- tags, notes ---------- */
.tag { display: inline-block; font: 700 14px/1.2 var(--sans); padding: 3px 7px 2px; background: var(--bg-2); color: var(--ink); white-space: nowrap; }
.tag.red { background: var(--red-tint); color: #8a1f0e; }
.tag.green { background: var(--green-tint); color: #005a30; }
.tag.blue { background: var(--blue-tint); color: #0c2d4a; }
.tag.amber { background: var(--amber-tint); color: var(--amber-ink); }
.tag.grey { background: var(--bg-2); color: var(--ink-2); }
.tag.dark { background: var(--ink); color: #fff; }
.inset { border-left: 10px solid var(--rule); padding: 10px 0 10px 18px; margin: 20px 0; max-width: var(--measure); }
.inset p:last-child { margin: 0; }
.warning { display: flex; gap: 14px; align-items: flex-start; margin: 20px 0; max-width: 52em; font-weight: 700; }
.warning::before { content: "!"; flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 26px/34px var(--sans); text-align: center; }
.warning p { margin: 4px 0 0; }
.note { font-size: 15px; line-height: 20px; color: var(--ink-2); margin-top: 10px; max-width: var(--measure); }
details { margin: 15px 0; max-width: var(--measure); }
details summary { color: var(--link); cursor: pointer; text-decoration: underline; text-underline-offset: 0.12em; }
details[open] summary { margin-bottom: 10px; }
details > div { border-left: 5px solid var(--rule); padding-left: 16px; }

/* ---------- tables + summary lists ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 20px; }
table.data caption { text-align: left; font-weight: 700; font-size: 19px; line-height: 25px; margin-bottom: 10px; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 10px 20px 10px 0; border-bottom: 1px solid var(--rule); }
table.data th { font-weight: 700; }
table.data thead th { border-bottom: 2px solid var(--ink); }
table.data .n { text-align: right; font-variant-numeric: tabular-nums lining-nums; }
table.data th.n { font-family: var(--sans); }
table.data td:last-child, table.data th:last-child { padding-right: 0; }
table.data tr.rowlink { cursor: pointer; }
table.data tr.rowlink:hover td { background: var(--bg-2); }
table.data.compact th, table.data.compact td { padding-top: 7px; padding-bottom: 7px; font-size: 15px; }
dl.summary { display: grid; grid-template-columns: minmax(8em, 30%) 1fr; margin: 0 0 20px; font-size: 16px; line-height: 20px; }
dl.summary dt, dl.summary dd { margin: 0; padding: 10px 20px 10px 0; border-bottom: 1px solid var(--rule); }
dl.summary dt { font-weight: 700; }

/* key figures written into prose, not boxed */
.bignum { font: 700 48px/50px var(--num); letter-spacing: -0.02em; display: block; font-variant-numeric: tabular-nums lining-nums; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; border-top: 2px solid var(--ink); padding-top: 15px; }
.facts p { margin: 5px 0 0; font-size: 16px; line-height: 20px; color: var(--ink-2); }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr; } }

/* ---------- drawings ---------- */
.sheet { border: 1px solid var(--ink); background: #fff; }
/* drawings take their proportions from the plan; the cap stops tall plans running off-screen */
.sheet svg.plan { display: block; width: 100%; height: auto; max-height: 460px; }
.sheet.tall svg.plan { max-height: min(66vh, 620px); }
.sheet.short svg.plan { max-height: 340px; }
.sheet.mini svg.plan { max-height: 260px; }
.titleblock { display: grid; grid-template-columns: 2fr 1fr 1fr; border-top: 1px solid var(--ink); font-size: 13px; line-height: 17px; }
.titleblock > div { padding: 6px 10px; border-left: 1px solid var(--ink); }
.titleblock > div:first-child { border-left: 0; }
.titleblock small { display: block; color: var(--ink-2); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.sheet-bar { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 8px 10px; border-bottom: 1px solid var(--ink); font-size: 15px; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; line-height: 18px; color: var(--ink-2); padding: 8px 10px; border-top: 1px solid var(--rule); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 16px; height: 12px; border: 1px solid var(--ink); background: #fff; }
.sw.fx { background: #f2f2f2; }
.sw.red { border: 2px solid var(--red); background: var(--red-tint); }
.sw.blue { border: 2px solid var(--blue); background: var(--blue-tint); }
.sw.hatch { background: repeating-linear-gradient(45deg, #fff 0 3px, #777 3px 4px); }
.sw.dash { border-style: dashed; border-color: #666; }
.sw.circle { border-radius: 50%; border-style: dashed; width: 14px; height: 14px; }

svg.plan { font-family: var(--sans); touch-action: none; }
svg.plan .wall { fill: none; stroke: var(--ink); stroke-width: 4; vector-effect: non-scaling-stroke; stroke-linejoin: miter; pointer-events: none; }
svg.plan .feat { cursor: pointer; }
svg.plan .room .hit { fill: #fff; }
svg.plan .fixture polygon { fill: #f2f2f2; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
svg.plan .furniture polygon { fill: #fff; stroke: #555; stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
svg.plan .furniture.faded { opacity: .45; }
svg.plan .door .gap { fill: #fff; stroke: none; }
svg.plan .door .leaf, svg.plan .door .swing { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
svg.plan .door .swing { stroke-dasharray: 3 2; }
svg.plan .door .hit, svg.plan .door.cbc .hit, svg.plan .door.fail .hit { fill: transparent; }
svg.plan .door.cbc .gap, svg.plan .door.fail .gap, svg.plan .door.hl .gap { fill: #fff; }
svg.plan .feat.fail polygon, svg.plan .room.fail .hit { fill: url(#hatch); }
svg.plan .feat.cbc polygon { fill: var(--red-tint); }
svg.plan .room.cbc .hit { fill: #fdf3f1; }
svg.plan .feat.changed polygon { fill: var(--blue-tint); }
svg.plan .mark { fill: none; stroke: var(--red); stroke-width: 2.5; vector-effect: non-scaling-stroke; pointer-events: none; }
svg.plan .rev { fill: none; stroke: var(--blue); stroke-width: 2.5; vector-effect: non-scaling-stroke; pointer-events: none; }
svg.plan .feat.hl polygon, svg.plan .room.hl .hit { fill: #fff3a3; }
svg.plan .feat.sel polygon { stroke: var(--link); stroke-width: 3; }
svg.plan .room.sel .hit { fill: #eef5fb; }
svg.plan .ghost { fill: none; stroke: #8a8a8a; stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; pointer-events: none; }
svg.plan .lbl { fill: var(--ink); pointer-events: none; }
svg.plan .room-lbl { font-weight: 700; letter-spacing: 0.08em; }
svg.plan .area { fill: var(--ink-2); }
svg.plan .fn-lbl { fill: #555; font-style: italic; }
svg.plan .dimtxt { fill: var(--ink); font-variant-numeric: tabular-nums; }
svg.plan .turn circle { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; pointer-events: none; }
svg.plan .turn line { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
svg.plan .turn.short circle, svg.plan .turn.short line { stroke: var(--red); }
svg.plan .turn.short text { fill: var(--red); }
svg.plan .zone { fill: none; stroke: #555; stroke-width: 1; stroke-dasharray: 2 2; vector-effect: non-scaling-stroke; pointer-events: none; }
svg.plan .tagc circle { fill: var(--red); }
svg.plan .tagc text, svg.plan .tagd text { fill: #fff; font-weight: 700; text-anchor: middle; }
svg.plan .tagd path { fill: var(--blue); }
svg.plan .tagc, svg.plan .tagd { pointer-events: none; }
svg.plan .scalebar rect { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
svg.plan .scalebar text { fill: var(--ink); }
svg.plan.editable .feat:not(.room) { cursor: move; }
svg.plan .bgimg { pointer-events: none; }
svg.plan .grid { stroke: #efefef; stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
svg.plan .hatch-line { stroke: #8a8a8a; stroke-width: 1; }
svg.plan .hit-bg { fill: transparent; }

/* numbered markup list beside a drawing */
ol.markups { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
ol.markups li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
ol.markups h4 { font-size: 16px; line-height: 20px; margin: 0; }
ol.markups .rule-line { font-size: 15px; line-height: 20px; color: var(--ink-2); margin-top: 2px; }
.mk { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font: 700 13px/24px var(--sans); text-align: center; flex: none; }
.dk { width: 26px; height: 23px; color: #fff; font: 700 11px/29px var(--sans); text-align: center; background: var(--blue); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
blockquote.q { margin: 6px 0 0; font-size: 17px; line-height: 25px; max-width: 60ch; }
blockquote.q .qt::before { content: "\201C"; } blockquote.q .qt::after { content: "\201D"; }

/* ---------- workbench ---------- */
.wb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--rule); padding-bottom: 15px; margin-bottom: 30px; }
.wb-head h1 { margin: 0; font-size: 36px; line-height: 40px; max-width: none; }
.wb-head .meta { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }
.wb { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .wb { grid-template-columns: 1fr; } .tasks { position: static; } }
.tasks { position: sticky; top: 20px; }
.tasks h2 { font-size: 19px; line-height: 25px; margin-bottom: 8px; }
.tasks ol { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: t; }
.tasks li { counter-increment: t; border-bottom: 1px solid var(--rule); }
.tasks li:first-child { border-top: 1px solid var(--rule); }
.tasks button { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 22px 1fr; column-gap: 6px; padding: 10px 4px; cursor: pointer; font-size: 16px; line-height: 20px; color: var(--link); }
.tasks button::before { content: counter(t) "."; color: var(--ink-2); font-family: var(--mono); font-size: 14px; }
.tasks button span { text-decoration: underline; text-underline-offset: 0.12em; }
.tasks button small { grid-column: 2; color: var(--ink-2); font-size: 14px; }
.tasks button:hover span { text-decoration-thickness: 2px; }
.tasks button.on { color: var(--ink); font-weight: 700; box-shadow: inset 4px 0 0 var(--ink); padding-left: 12px; }
.tasks button.on span { text-decoration: none; }
.tasks button:focus-visible { background: var(--focus); }
.engine-line { font-size: 14px; line-height: 18px; color: var(--ink-2); }
.engine-line .bar { height: 4px; background: var(--rule-2); margin-top: 6px; }
.engine-line .bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .3s; }
.step > h2 { font-size: 28px; line-height: 35px; margin-bottom: 8px; }
.step > .intro { color: var(--ink-2); margin-bottom: 25px; }
.toolbar { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.toolbar label { display: inline-flex; align-items: center; }
.step-foot { display: flex; justify-content: flex-end; gap: 15px; border-top: 1px solid var(--rule); padding-top: 20px; margin-top: 40px; }

.qlist { border-top: 2px solid var(--ink); max-height: 75vh; overflow: auto; }
.qi { padding: 14px 6px 14px 0; border-bottom: 1px solid var(--rule); }
.qi.active { box-shadow: inset 4px 0 0 var(--ink); padding-left: 14px; background: #fafafa; }
.qi.assigning { box-shadow: inset 4px 0 0 var(--ink); background: #fff8c5; padding-left: 14px; }
.qi .qmeta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--ink-2); margin-bottom: 4px; }
.qi .qmeta .id { font-family: var(--mono); font-weight: 700; color: var(--ink); }
.qi .qtext { font-size: 17px; line-height: 25px; max-width: 62ch; cursor: pointer; }
.qi.dim .qtext { color: var(--ink-2); }
.lnk { display: flex; gap: 6px 12px; flex-wrap: wrap; align-items: baseline; font-size: 15px; line-height: 20px; margin-top: 8px; }
.lnk .to { font-weight: 700; }
.lnk.rejected .to, .lnk.rejected .from { text-decoration: line-through; color: var(--ink-3); }
.lnk .acts { display: inline-flex; gap: 14px; margin-left: auto; }
.lnk .state { font-size: 14px; color: var(--ink-2); }
.ref { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.flag { font-size: 15px; line-height: 20px; color: #8a1f0e; margin-top: 8px; max-width: 60ch; }
.qi select { font-size: 14px; padding: 2px 4px; min-width: 0; border-width: 1px; }

.crosstab { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 20px; }
.crosstab th, .crosstab td { border: 1px solid var(--ink); padding: 10px 12px; text-align: left; vertical-align: top; }
.crosstab thead th, .crosstab tbody th { background: var(--bg-2); }
.crosstab td b { font: 700 30px/34px var(--num); display: block; font-variant-numeric: tabular-nums; }
.crosstab td.key { background: var(--red-tint); }
.crosstab td.key b { color: #8a1f0e; }

.feat-entry { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.feat-list { border-top: 2px solid var(--ink); }
.feat-entry h3 { font-size: 19px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.feat-entry h3 .mono { font-weight: 400; font-size: 14px; color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 0 0 8px; font-size: 16px; line-height: 20px; }
.checks li { padding: 4px 0; }
.checks .res { font-weight: 700; display: inline-block; min-width: 3.4em; }
.checks .res.fail { color: #8a1f0e; }
.checks .src { color: var(--ink-2); font-size: 14px; }
.feat-entry blockquote.q { border-left: 4px solid var(--red); padding-left: 12px; margin-top: 10px; }
.feat-entry blockquote.q small { display: block; font-size: 13px; color: var(--ink-2); font-family: var(--mono); }

ol.revs { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
ol.revs li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
ol.revs b { font-size: 17px; }
ol.revs .why { font-size: 15px; line-height: 20px; color: var(--ink-2); margin-top: 4px; max-width: 70ch; }

.modal-back { position: fixed; inset: 0; background: rgba(11, 12, 12, .55); z-index: 50; display: grid; place-items: start center; padding: 40px 16px; overflow: auto; }
.modal { background: #fff; width: min(960px, 100%); padding: 30px; border-top: 6px solid var(--ink); }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; font-size: 16px; z-index: 70; max-width: calc(100% - 32px); }
.loading { padding: 40px 0; color: var(--ink-2); }
.empty { padding: 20px 0; color: var(--ink-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* charts */
.chart-block h3 { margin-bottom: 4px; max-width: 40ch; }
.chart-block .sub { color: var(--ink-2); font-size: 16px; margin-bottom: 10px; }
svg.chart { width: 100%; height: auto; display: block; font-family: var(--sans); }
svg.chart .gl { stroke: #e5e5e5; } svg.chart .ax { stroke: var(--ink); }
svg.chart text { font-size: 13px; fill: var(--ink-2); } svg.chart text.lab { fill: var(--ink); font-weight: 700; }
svg.chart .pt { cursor: pointer; } svg.chart .pt:hover { stroke: var(--ink); stroke-width: 2; }
.source { font-size: 14px; line-height: 18px; color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: 8px; margin-top: 10px; max-width: none; }
.hbar { display: grid; grid-template-columns: 7em 1fr 4.5em; gap: 12px; align-items: center; font-size: 16px; margin: 8px 0; }
.hbar .track { height: 18px; background: var(--bg-2); display: flex; }
.hbar .track i { display: block; height: 100%; }
.hbar .v { font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; }
.toc { position: sticky; top: 20px; font-size: 16px; }
.toc h2 { font-size: 17px; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; } .toc li { margin-bottom: 8px; }

@media print {
  .masthead, .phase, .site-foot, .tasks, .no-print { display: none !important; }
  .wb { display: block; } main { padding: 0; }
}
