:root {
  --ink: #1F2633; --ink-soft: #536070; --paper: #F2F4F6; --surface: #FFFFFF; --line: #D5DBE2;
  --action: #3F45A0; --action-ink: #FFFFFF; --action-wash: #E6E7F6;
  --ok: #2E7D6B; --ok-wash: #DDEFEA; --caution: #9A5B00; --caution-wash: #FBEEDA; --stop: #B42318; --stop-wash: #FCE6E4;
  --dawn: #F4C29A; --morning: #F2DB8C; --afternoon: #A9CDE4; --dusk: #8E8BCB; --night: #2F3566;
  --focus: #1F5FD1; --r-panel: 12px; --r-control: 8px;
  --fs: 1rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #E6EAF0; --ink-soft: #A9B4C2; --paper: #12161D; --surface: #1B212B; --line: #323B48;
    --action: #9EA3F0; --action-ink: #12161D; --action-wash: #2A2E52;
    --ok: #6CC7AF; --ok-wash: #183A33; --caution: #E8A84A; --caution-wash: #3A2C14; --stop: #F2877C; --stop-wash: #3D1E1B;
    --focus: #8AB4FF;
  }
}
:root[data-theme="dark"] {
    --ink: #E6EAF0; --ink-soft: #A9B4C2; --paper: #12161D; --surface: #1B212B; --line: #323B48;
    --action: #9EA3F0; --action-ink: #12161D; --action-wash: #2A2E52;
    --ok: #6CC7AF; --ok-wash: #183A33; --caution: #E8A84A; --caution-wash: #3A2C14; --stop: #F2877C; --stop-wash: #3D1E1B;
    --focus: #8AB4FF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs)/1.55 'Atkinson Hyperlegible', system-ui, sans-serif; font-variant-numeric: tabular-nums; }
body.large { --fs: 1.15rem; }
a { color: var(--action); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.site-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; padding: 20px 0; }
.site-head .who { font-weight: 700; color: var(--ink); text-decoration: none; }
.site-head nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-head nav a { color: var(--ink-soft); text-decoration: none; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--ink); text-decoration: underline; }

h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.08; letter-spacing: -0.015em; margin: 24px 0 14px; max-width: 20ch; }
h2 { font-size: 1.55rem; line-height: 1.2; margin: 0 0 12px; }
h3 { font-size: 1.1rem; margin: 0 0 8px; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 64ch; margin: 0 0 28px; }
.prose { max-width: 66ch; }
.meta { font-size: .9rem; color: var(--ink-soft); }
section.block { padding: 48px 0; border-top: 1px solid var(--line); }

/* Person picker */
.people { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; padding: 0; border: 0; }
.people legend { font-weight: 700; margin-bottom: 10px; }
.person { position: relative; display: block; cursor: pointer; }
.person input { position: absolute; opacity: 0; }
.person span { display: block; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.person input:checked + span { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.person input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.person-desc { margin: 0 0 18px; color: var(--ink-soft); min-height: 1.5em; max-width: 70ch; }
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-control); overflow: hidden; background: var(--surface); }
.seg button { border: 0; background: transparent; color: var(--ink); padding: 9px 14px; font: inherit; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.btn { border: 0; background: var(--action); color: var(--action-ink); padding: 11px 20px; border-radius: var(--r-control); font: 700 1rem 'Atkinson Hyperlegible', sans-serif; cursor: pointer; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-quiet { background: transparent; color: var(--action); border: 1px solid var(--action); }

/* Form */
.form { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px; }
.form[hidden] { display: none; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 20px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend, .form label.field > span { display: block; font-weight: 700; margin-bottom: 6px; }
.form input[type=number], .form input[type=time], .form input[type=date], .form input[type=text], .form textarea {
  width: 100%; font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--paper); color: var(--ink); }
.form textarea { min-height: 70px; resize: vertical; }
.checks { display: grid; gap: 6px; }
.checks label { display: flex; gap: 8px; align-items: flex-start; }
.checks input { margin-top: 4px; accent-color: var(--action); }
.form .wide { grid-column: 1 / -1; }
.form-note { font-size: .9rem; color: var(--ink-soft); margin: 14px 0 0; }

/* Agents at work */
.workspace { display: grid; grid-template-columns: 1fr 290px; gap: 28px; margin-top: 28px; align-items: start; }
@media (max-width: 960px) { .workspace { grid-template-columns: 1fr; } .agents { order: -1; } }
.agents { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 18px; position: sticky; top: 16px; }
@media (max-width: 960px) { .agents { position: static; } }
.agents ol { list-style: none; margin: 0; padding: 0; }
.agents li { display: grid; grid-template-columns: 22px 1fr; gap: 0 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .93rem; }
.agents li:first-child { border-top: 0; }
.agents .dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; border: 3px solid var(--line); }
.agents .run .dot { border-color: var(--action); border-right-color: transparent; animation: spin .9s linear infinite; }
.agents .ok .dot { border-color: var(--ok); background: var(--ok); }
.agents .changed .dot { border-color: var(--caution); background: var(--caution); }
.agents .stopped .dot { border-color: var(--stop); background: var(--stop); }
.agents b { display: block; }
.agents small { color: var(--ink-soft); display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .agents .run .dot { animation: none; border-right-color: var(--action); } }

.plan-head { margin-bottom: 8px; }
.plan-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.banner { padding: 10px 14px; border-radius: var(--r-control); background: var(--action-wash); margin: 0 0 18px; }
.empty-plan { color: var(--ink-soft); padding: 32px 0; }

.comp { margin: 0 0 30px; }
.comp > h3 { font-size: 1.25rem; margin-bottom: 12px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 18px; }

/* Notices */
.notice { padding: 12px 14px; border-radius: var(--r-control); border-left: 4px solid var(--action); background: var(--action-wash); margin-bottom: 10px; }
.notice.caution { border-left-color: var(--caution); background: var(--caution-wash); }
.notice.stop { border-left-color: var(--stop); background: var(--stop-wash); font-size: 1.1rem; }

/* Priorities: a real ranking, so numbered */
.priorities { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: p; }
.priorities li { counter-increment: p; display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 16px; }
.priorities li::before { content: counter(p); font-size: 1.6rem; font-weight: 700; color: var(--action); line-height: 1; }
.priorities b { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.priorities p { margin: 0 0 4px; }

/* The day ribbon: color follows the time of day */
.day { list-style: none; margin: 0; padding: 0; }
.day li { display: grid; grid-template-columns: 64px 10px 1fr; gap: 0 14px; }
.day .t { font-weight: 700; padding: 10px 0; text-align: right; }
.day .rib { background: var(--c); }
.day li:first-child .rib { border-radius: 5px 5px 0 0; }
.day li:last-child .rib { border-radius: 0 0 5px 5px; }
.day .what { padding: 10px 0 14px; border-bottom: 1px solid var(--line); }
.day li:last-child .what { border-bottom: 0; }
.day .what b { display: block; }
.day .what p { margin: 2px 0 0; color: var(--ink-soft); }
.day .tag { display: inline-block; font-size: .85rem; padding: 1px 8px; border-radius: 999px; background: var(--action-wash); margin: 4px 6px 0 0; color: var(--ink); }
.day .tag.med { background: var(--caution-wash); }

/* Insights and charts */
.insights { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.insights .panel b { display: block; margin-bottom: 4px; }
.chart svg { width: 100%; height: auto; display: block; }
.axis { stroke: var(--line); }
.axis-label { fill: var(--ink-soft); font-size: 12px; font-family: inherit; }
.pt { fill: var(--action); opacity: .85; }
.pt.late { fill: var(--dusk); }
.ref { stroke: var(--ink-soft); stroke-dasharray: 4 4; }
.chart figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; }

/* Meals */
.menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.menu .panel h4 { margin: 0 0 2px; font-size: 1.05rem; }
.menu .panel .meta { margin: 0 0 10px; }
.menu dl { margin: 0; }
.menu dt { font-weight: 700; margin-top: 10px; }
.menu dt span { font-weight: 400; color: var(--ink-soft); }
.menu dd { margin: 0; }
.menu dd small { color: var(--ink-soft); display: block; }
.highlights { margin: 14px 0 0; padding-left: 20px; }

.shop table { width: 100%; border-collapse: collapse; }
.shop th, .shop td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.shop td:last-child, .shop th:last-child { text-align: right; }
.budget { margin-top: 14px; }
.budget .bar { height: 12px; border-radius: 6px; background: var(--paper); overflow: hidden; margin: 6px 0; }
.budget .bar i { display: block; height: 100%; background: var(--ok); }
.budget.over .bar i { background: var(--caution); }

.supp table { width: 100%; border-collapse: collapse; }
.supp th, .supp td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }

.water { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.water .big { font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--action); }

.support-card { border-left: 4px solid var(--dusk); }
.support-card ul { margin: 10px 0 0; padding-left: 20px; }

.goals { margin: 0; padding-left: 20px; }
.goals li { margin-bottom: 8px; }

/* How it works */
.flow { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.flow li { border-top: 3px solid var(--action); padding-top: 10px; }
.flow b { display: block; }

table.plain { width: 100%; border-collapse: collapse; }
table.plain th, table.plain td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap { overflow-x: auto; }

footer { padding: 32px 0 48px; color: var(--ink-soft); font-size: .9rem; border-top: 1px solid var(--line); }

/* Evaluation page */
.scoreline { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 8px 0; }
.rate { font-size: 3rem; font-weight: 700; line-height: 1; }
.rate.good { color: var(--ok); } .rate.bad { color: var(--stop); }
.bars { display: grid; gap: 8px; margin-top: 8px; }
.bars .row { display: grid; grid-template-columns: 190px 1fr 1fr; gap: 10px; align-items: center; font-size: .92rem; }
@media (max-width: 640px) { .bars .row { grid-template-columns: 1fr 1fr; } .bars .row > :first-child { grid-column: 1 / -1; } }
.meter { height: 10px; border-radius: 5px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; }
.meter.a i { background: var(--ok); } .meter.b i { background: var(--stop); }
.pass { color: var(--ok); font-weight: 700; } .fail { color: var(--stop); font-weight: 700; }
details.case { border-bottom: 1px solid var(--line); padding: 10px 0; }
details.case summary { cursor: pointer; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
@media (max-width: 720px) { .pair { grid-template-columns: 1fr; } }
.pair pre { white-space: pre-wrap; font: inherit; font-size: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-control); padding: 12px; margin: 6px 0; max-height: 360px; overflow: auto; }
.rules { columns: 2 320px; column-gap: 32px; }
.rules .grp { break-inside: avoid; margin-bottom: 18px; }
.rules ul { list-style: none; margin: 6px 0 0; padding: 0; }
.rules li { padding: 4px 0 4px 26px; position: relative; font-size: .95rem; }
.rules li::before { content: ''; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--ok); }
.rules li.f::before { background: var(--stop); }
.runner input { font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--surface); color: var(--ink); min-width: 220px; }
progress { width: 100%; height: 10px; accent-color: var(--action); }

/* v2: conditional questions, medicine rows, adjust, today, trends, release */
.form select { width: 100%; font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--paper); color: var(--ink); }
.form [data-show][hidden] { display: none; }
.form fieldset > .field { margin-top: 10px; display: block; }
.take { display: grid; grid-template-columns: 1fr 150px 120px 36px; gap: 8px; margin-bottom: 8px; align-items: center; }
.take input, .take select { width: 100%; font: inherit; padding: 8px 9px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--paper); color: var(--ink); }
.take .x { border: 1px solid var(--line); background: transparent; color: var(--ink-soft); border-radius: var(--r-control); height: 38px; cursor: pointer; font: inherit; }
@media (max-width: 560px) { .take { grid-template-columns: 1fr 1fr; } .take .nm { grid-column: 1 / -1; } }
.btn.ghost { background: transparent; color: var(--action); border: 1px solid var(--action); }
.btn.small { padding: 7px 14px; font-size: .92rem; }
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.tools .panel h4 { margin: 0 0 8px; font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.chips label { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; cursor: pointer; }
.chips input { accent-color: var(--action); }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 8px 0; }
.row label { display: grid; gap: 4px; font-size: .9rem; font-weight: 700; }
.row input { font: inherit; padding: 7px 9px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--paper); color: var(--ink); }
.clock { font-size: 2rem; font-weight: 700; line-height: 1.1; margin: 6px 0 2px; }
.gauge { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 8px 0; }
.gauge i { display: block; height: 100%; background: var(--ok); }
.trend { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.trend .panel { padding: 14px 16px; }
.trend .v { font-size: 1.35rem; font-weight: 700; }
.trend svg { width: 100%; height: 44px; display: block; margin-top: 6px; }
.trend path.l { fill: none; stroke: var(--action); stroke-width: 2; }
.trend circle { fill: var(--action); }
.release { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.release ul { margin: 0; padding-left: 18px; }
.release li { margin-bottom: 6px; }
.agents .neutral .dot { border-color: var(--ink-soft); background: transparent; }
.preview-note { font-size: .9rem; color: var(--ink-soft); background: var(--paper); border-radius: var(--r-control); padding: 10px 12px; margin: 0 0 10px; }
.panel > h4:first-child { margin-top: 0; }

.agent-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 12px; }
.agent-pick button { font: inherit; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.agent-pick button small { color: var(--ink-soft); font-size: .8rem; margin-left: 4px; }
.agent-pick button[aria-expanded="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.agent-pick button[aria-expanded="true"] small { color: inherit; opacity: .75; }
.agent-info { max-width: 70ch; }
.agent-info h3 { margin-top: 0; }
.agent-info p, .agent-info ul { margin: 0 0 8px; }
.release h3 { margin-top: 0; }

/* Agents as a connected pipeline */
.pipe { margin: 18px 0 14px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; }
.chain { list-style: none; margin: 0; padding: 0; display: contents; }
.chain > li { position: relative; display: flex; align-items: stretch; padding-right: 18px; grid-row: 1; }
.chain > li:not(:last-child)::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--ink-soft); border-right: 2px solid var(--ink-soft); transform: translateY(-50%) rotate(45deg); }
.chain > li:not(:last-child)::before { content: ""; position: absolute; right: 4px; top: 50%; width: 16px; height: 2px; background: var(--ink-soft); }
.chain > li > button, .chain > .out > span { width: 100%; font: inherit; font-size: .95rem; line-height: 1.25; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 12px 10px; border-radius: 10px; cursor: pointer; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.chain > li > button small { color: var(--ink-soft); font-size: .78rem; }
.chain > .code > button { border-color: var(--ok); background: var(--ok-wash); }
.chain > .rev > button { border-color: var(--action); }
.chain > .out > span { cursor: default; background: var(--ink); color: var(--surface); border-color: var(--ink); font-weight: 700; }
.chain > li > button:hover { border-color: var(--action); }
.chain > li > button[aria-expanded="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.chain > li > button[aria-expanded="true"] small { color: inherit; opacity: .75; }
.pipe .back { grid-row: 2; grid-column: 2 / 8; margin: 0 calc(8.33% + 9px) 0 calc(8.33% - 9px); height: 30px; border: 2px dashed var(--action); border-top: 0; border-radius: 0 0 12px 12px; position: relative; }
.pipe .back span { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); background: var(--paper); color: var(--action); font-size: .85rem; padding: 0 8px; white-space: nowrap; }
.pipe .guard { grid-row: 3; grid-column: 1 / -1; margin: 22px 0 0; padding: 8px 12px; border-radius: 8px; background: var(--ok-wash); color: var(--ok); font-size: .9rem; font-weight: 700; text-align: center; }
@media (max-width: 860px) {
  .pipe { grid-template-columns: minmax(0, 1fr) 34px; max-width: 460px; }
  .chain > li { grid-row: auto; grid-column: 1; padding: 0 0 18px; }
  .chain > li:not(:last-child)::before { right: auto; left: 50%; top: auto; bottom: 2px; width: 2px; height: 14px; }
  .chain > li:not(:last-child)::after { right: auto; left: calc(50% - 5px); top: auto; bottom: 2px; transform: rotate(135deg); }
  .pipe .back { grid-row: 2 / 8; grid-column: 2; height: auto; margin: 22px 0 40px 0; border: 2px dashed var(--action); border-left: 0; border-radius: 0 12px 12px 0; }
  .pipe .back span.short { position: absolute; left: 100%; top: 50%; transform: translate(-50%, -50%) rotate(180deg); writing-mode: vertical-rl; white-space: nowrap; background: var(--paper); padding: 6px 0; bottom: auto; }
  .pipe .guard { grid-row: auto; grid-column: 1 / -1; margin-top: 8px; }
}

/* The agent's description opens right under the agent you clicked */
.chain > li .agent-info { position: absolute; top: calc(100% + 10px); left: 0; width: 340px; z-index: 4; box-shadow: 0 10px 30px rgba(20, 30, 40, .16); font-size: .95rem; }
.chain > li:nth-child(n+6) .agent-info { left: auto; right: 18px; }
.chain > li .agent-info::before { content: ""; position: absolute; top: -7px; left: 24px; width: 12px; height: 12px; background: var(--surface); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.chain > li:nth-child(n+6) .agent-info::before { left: auto; right: 24px; }
.agent-info .x { position: absolute; top: 8px; right: 10px; border: 0; background: none; color: var(--ink-soft); font-size: 1.2rem; cursor: pointer; padding: 2px 6px; }
.agent-info h3 { padding-right: 24px; }
@media (max-width: 860px) {
  .chain > li { flex-direction: column; }
  .chain > li .agent-info, .chain > li:nth-child(n+6) .agent-info { position: relative; top: auto; left: auto; right: auto; width: auto; margin-top: 10px; }
  .chain > li .agent-info::before { left: calc(50% - 6px); }
}
.pipe .back .short { display: none; }
@media (max-width: 860px) { .pipe .back .long { display: none; } .pipe .back .short { display: inline; } }

/* Does it work? */
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.proof .stat .big { font-size: 2.2rem; font-weight: 700; line-height: 1.1; display: block; }
.proof .stat p { margin: 4px 0 0; color: var(--ink-soft); }
.vs { display: grid; gap: 8px; margin-top: 10px; }
.vs div { display: grid; grid-template-columns: 110px 1fr 54px; gap: 10px; align-items: center; font-size: .92rem; }
.vs i { display: block; height: 12px; border-radius: 999px; background: var(--action); }
.vs .single i { background: var(--stop); }
.side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.side .panel h4 { margin: 0 0 6px; }
.side .bad { border-left: 4px solid var(--stop); }
.side .good { border-left: 4px solid var(--ok); }
@media (max-width: 700px) { .side { grid-template-columns: 1fr; } }
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ladder div { background: var(--paper); border-radius: 8px; padding: 8px 10px; }
.ladder b { display: block; font-size: 1.15rem; }
.proof { align-items: start; }
#mdChanges summary { cursor: pointer; font-weight: 700; }
#mdChanges li { margin-bottom: 6px; }

.mark { display: inline-block; width: .95em; height: .95em; margin-right: .38em; vertical-align: -.12em; background: #8B2635; -webkit-mask:url(/assets/mark.svg) center/contain no-repeat;mask:url(/assets/mark.svg) center/contain no-repeat; }
:root[data-theme="dark"] .mark { background: #E07C8A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mark { background: #E07C8A; } }
