/* Money site, Look A (CraftsmanBid tokens.css, OCP brand book): ink sidebar, paper ground, DM Sans to read,
   Newsreader for the few sentences that should feel like an editorial, Big Shoulders for every figure.
   Rules held here: one spacing scale, three radii, no shadows, no gradients, no hover lifts, no all-caps labels,
   text never wears a chart colour, 44px targets. Fonts are self-hosted (CSP font-src 'self'). */

@font-face { font-family: "Newsreader"; src: url("fonts/newsreader.woff2") format("woff2-variations");
  font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dmsans.woff2") format("woff2-variations");
  font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("fonts/bigshoulders.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #292B1C; --paper: #F8F5EA; --cream: #F0E9C8; --card: #FFFDF8; --brick: #A8412C;
  --brass: #B89968; --bronze: #8C6F45; --char: #16170E; --char-soft: #1F2018;

  --ground: var(--paper); --surface: var(--card); --raised: #F3EEDA; --text: var(--ink); --muted: #555A43;
  --line: rgba(41, 43, 28, .14); --line-strong: rgba(41, 43, 28, .30); --hover: rgba(41, 43, 28, .05);
  --action: var(--brick); --focus: var(--brick); --brass-line: rgba(184, 153, 104, .55);
  --side-ground: var(--ink); --side-text: var(--cream); --side-muted: rgba(240, 233, 200, .62);
  --side-hover: rgba(240, 233, 200, .10); --side-line: rgba(240, 233, 200, .16);
  --ok: #0F5132; --ok-soft: rgba(15, 81, 50, .10); --warn: #6B4A00; --warn-soft: rgba(107, 74, 0, .10);
  --bad: #7A0F3D; --bad-soft: rgba(122, 15, 61, .09);

  /* Chart parameters, validated with the dataviz validator (light on #FFFDF8, dark on #1F2018). */
  --in: #1F7FB0; --out: #B8823A; --one: #45482F;
  --age0: #CBB27D; --age1: #B3955A; --age2: #977A3E; --age3: #765C28; --age4: #523F17;
  --grid: rgba(41, 43, 28, .10); --axis: rgba(41, 43, 28, .38);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fig: "Big Shoulders Display", "DM Sans", ui-sans-serif, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --t-12: 12px; --t-13: 13px; --t-15: 15px; --t-17: 17px; --t-20: 20px; --t-count: 28px; --t-title: 40px;
  --r-chip: 6px; --r-button: 10px; --r-card: 14px;
  --side: 248px; --page-max: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: var(--char); --surface: var(--char-soft); --raised: #2A2B20; --text: var(--cream);
    --muted: rgba(240, 233, 200, .68); --line: rgba(240, 233, 200, .14); --line-strong: rgba(240, 233, 200, .30);
    --hover: rgba(240, 233, 200, .06); --action: #C0533B; --focus: var(--brass);
    --side-ground: #0F100A;
    --ok: #7FC6A0; --ok-soft: rgba(127, 198, 160, .12); --warn: #E0B85A; --warn-soft: rgba(224, 184, 90, .12);
    --bad: #E58AA9; --bad-soft: rgba(229, 138, 169, .12);
    --in: #3A97CC; --out: #B98A45; --one: #C9C2A0;
    --age0: #7A6232; --age1: #9A7E46; --age2: #B89B5E; --age3: #D2B87C; --age4: #EAD6A6;
    --grid: rgba(240, 233, 200, .09); --axis: rgba(240, 233, 200, .36);
  }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--sans); font-size: 16px;
  line-height: 1.6; overflow-wrap: anywhere; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
button { font-family: var(--sans); font-size: var(--t-15); font-weight: 600; min-height: 44px; padding: 0 var(--s5);
  border: 0; border-radius: var(--r-button); background: var(--action); color: #FFFDF8; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
input, textarea { font-family: var(--sans); font-size: 16px; color: var(--text); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-button); padding: var(--s3); width: 100%; }
input:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }

/* ------------------------------------------------------------------ frame */
.frame { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; align-self: start; height: 100vh; display: flex; flex-direction: column; gap: var(--s5);
  padding: var(--s5) var(--s4); background: var(--side-ground); color: var(--side-text); }
.brand { display: grid; gap: 2px; padding: 0 var(--s2) var(--s4); border-bottom: 1px solid var(--brass-line);
  color: var(--side-text); text-decoration: none; }
.brand .word { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: -.01em; }
.brand .by { font-size: var(--t-12); color: var(--side-muted); }
.nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: var(--s1); }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--s3); border-radius: var(--r-button);
  color: var(--side-text); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--side-hover); }
.nav a[aria-current="page"] { background: var(--cream); color: var(--ink); font-weight: 700; }
#owner-links { display: contents; }
#owner-links a:first-child { margin-top: var(--s3); border-top: 1px solid var(--side-line); border-radius: 0 0 var(--r-button) var(--r-button); }
.nav [data-signout] { margin-top: auto; color: var(--side-muted); }
.foot { display: grid; gap: var(--s2); padding: var(--s4) var(--s2) 0; border-top: 1px solid var(--side-line);
  font-size: var(--t-13); color: var(--side-muted); }
.foot .lang { color: var(--side-text); text-decoration: none; min-height: 32px; display: flex; align-items: center; }
.foot .lang:hover { text-decoration: underline; }
.main { min-width: 0; }
.page { max-width: var(--page-max); margin: 0 auto; padding: var(--s7) var(--s7) var(--s8); }
.stale { margin: 0; padding: var(--s3) var(--s7); background: var(--warn-soft); color: var(--warn); font-weight: 600;
  border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------------ page head and type */
.pagehead { display: grid; gap: var(--s2); padding-bottom: var(--s5); margin-bottom: var(--s6); border-bottom: 1px solid var(--line); }
.pagehead h1 { font-family: var(--fig); font-size: var(--t-title); font-weight: 700; line-height: 1; letter-spacing: .005em; }
.pagehead .sub { color: var(--muted); font-size: var(--t-15); }
h2 { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
h3 { font-size: var(--t-15); font-weight: 700; margin: var(--s5) 0 var(--s2); }
.note { color: var(--muted); margin-top: var(--s2); max-width: 60ch; }
.block { margin-bottom: var(--s8); }
.block > h2 { margin-bottom: var(--s4); }
.more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: .2em; }
.unavailable { padding: var(--s3) var(--s4); border-left: 3px solid var(--warn); background: var(--warn-soft);
  color: var(--text); border-radius: 0 var(--r-chip) var(--r-chip) 0; }

/* The figure strip: values in Big Shoulders between hairlines, no cards. */
.facts { display: flex; flex-wrap: wrap; margin: var(--s5) 0; padding: 0; list-style: none;
  border-top: 1px solid var(--brass-line); border-bottom: 1px solid var(--brass-line); }
.facts li { display: grid; align-content: start; gap: var(--s1); padding: var(--s4) var(--s6) var(--s4) 0; margin-right: var(--s6);
  border-right: 1px solid var(--line); min-width: 9rem; }
.facts li:last-child { border-right: 0; margin-right: 0; }
.facts .fl { font-size: 14px; color: var(--muted); }
.facts .fv { font-family: var(--fig); font-size: 34px; font-weight: 600; line-height: 1.1; letter-spacing: .015em; }
.facts .fn { font-style: normal; font-size: var(--t-12); color: var(--muted); max-width: 16ch; }

/* ------------------------------------------------------------------ overview: the scroll story */
.page-overview { padding-top: var(--s6); }
.hero { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: var(--s4);
  padding-bottom: var(--s7); border-bottom: 1px solid var(--line); }
.hero .date { color: var(--muted); font-size: var(--t-15); }
.statement { font-family: var(--serif); font-weight: 450; font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02;
  letter-spacing: -.02em; max-width: 16ch; }
.duo { display: flex; flex-wrap: wrap; gap: var(--s6) var(--s8); margin-top: var(--s5); }
.big { display: grid; gap: var(--s1); }
.big .lbl { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-15); color: var(--muted); }
.big .lbl::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--in); }
.big.out .lbl::before { background: var(--out); }
.big { gap: var(--s2); }
.big .num { font-family: var(--fig); font-weight: 700; font-size: clamp(64px, 9vw, 128px); line-height: 1; letter-spacing: .005em; }
.hero .cap { color: var(--muted); font-size: var(--t-13); }
.act { padding: var(--s8) 0 var(--s7); border-bottom: 1px solid var(--line); }
.act > h2 { font-size: clamp(28px, 3.2vw, 40px); }
.act .figure { margin: var(--s5) 0 0; }
.act.quiet { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s7); border-bottom: 0; }
.act.quiet h2 { font-size: 24px; margin-bottom: var(--s4); }
.asks, .alerts, .pairs, .vendors { list-style: none; margin: 0; padding: 0; }
.asks li { padding: var(--s3) 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.asks .t { font-weight: 600; }
.asks .t a { text-decoration: none; }
.asks .t a:hover { text-decoration: underline; }
.asks .d { font-size: var(--t-12); color: var(--muted); }
.asks .s { color: var(--muted); font-size: var(--t-13); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.alerts li { padding: var(--s3) 0 var(--s3) var(--s4); border-top: 1px solid var(--line); position: relative; }
.alerts li.bad::before, .alerts li.warn::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px;
  margin-top: -4px; border-radius: 50%; background: var(--warn); }
.alerts li.bad::before { background: var(--bad); }
.alerts li.link a { font-weight: 600; text-underline-offset: .2em; }
.alerts .unavailable { margin-left: calc(-1 * var(--s4)); }

/* ------------------------------------------------------------------ charts */
.figure { margin: var(--s4) 0 0; }
.chart { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .axis { stroke: var(--axis); stroke-width: 1; }
.chart .divider { stroke: var(--line-strong); stroke-width: 1; }
.chart .target { stroke: var(--text); stroke-width: 1.5; }
.chart .tick, .chart .cat { fill: var(--muted); font-size: 12.5px; }
.chart .cat { fill: var(--text); font-size: 14px; }
.chart .val { fill: var(--text); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart .in { fill: var(--in); } .chart .out { fill: var(--out); } .chart .one { fill: var(--one); }
.chart .ok { fill: var(--one); } .chart .low { fill: var(--out); }
.chart .age0 { fill: var(--age0); } .chart .age1 { fill: var(--age1); } .chart .age2 { fill: var(--age2); }
.chart .age3 { fill: var(--age3); } .chart .age4 { fill: var(--age4); }
.chart path:hover { opacity: .82; }
.legend { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: var(--s3) 0 0; font-size: var(--t-13); color: var(--muted); }
.legend .key { display: inline-flex; align-items: center; gap: var(--s2); }
.legend svg { width: 12px; height: 12px; flex: none; }
.legend .in { fill: var(--in); } .legend .out { fill: var(--out); }
.legend .age0 { fill: var(--age0); } .legend .age1 { fill: var(--age1); } .legend .age2 { fill: var(--age2); }
.legend .age3 { fill: var(--age3); } .legend .age4 { fill: var(--age4); }
.numbers { margin-top: var(--s3); }
.numbers > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--muted);
  font-size: var(--t-13); font-weight: 600; }
.numbers > summary:hover { color: var(--text); }

/* ------------------------------------------------------------------ tables, rows, lists */
.scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
table.data th { text-align: left; font-weight: 600; color: var(--muted); padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
table.data td { padding: var(--s3) var(--s3); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td.n { text-align: right; }
table.cards { font-size: var(--t-15); }
.pill { display: inline-flex; align-items: center; gap: var(--s2); font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex: none; }
.pill.overdue, .pill.critical { color: var(--text); }
.pill.overdue::before, .pill.critical::before { background: var(--bad); }
.pill.pending::before { background: var(--warn); }
.pill.scheduled::before, .pill.healthy::before { background: var(--ok); }
.rows { border-top: 1px solid var(--line-strong); margin-top: var(--s5); }
.rowhead, .rows summary { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem 7rem 4.5rem; gap: var(--s3); align-items: center; }
.rowhead { padding: var(--s2) 0; font-size: var(--t-12); color: var(--muted); }
.rows details { border-top: 1px solid var(--line); }
.rows summary { min-height: 52px; cursor: pointer; list-style: none; padding: var(--s2) 0; }
.rows summary::-webkit-details-marker { display: none; }
.rows summary:hover { background: var(--hover); }
.rows .nm { font-weight: 600; }
.rows .fig { text-align: right; font-variant-numeric: tabular-nums; }
.rows details[open] { padding-bottom: var(--s4); }
.pairs li, .vendors li { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s2) 0; border-top: 1px solid var(--line); }
.pairs b, .vendors b { font-variant-numeric: tabular-nums; font-weight: 600; }
.vendors { max-width: 36rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); }

/* ------------------------------------------------------------------ keep or cut */
.review { margin-top: var(--s8); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface); display: grid; gap: var(--s3); max-width: 40rem; }
.review h2 { font-size: 22px; }
.review .sub { color: var(--muted); }
.review .choices { display: flex; gap: var(--s5); }
.review .choices label { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 600; }
.review .choices input { width: 20px; height: 20px; accent-color: var(--action); }
.review label.block { display: grid; gap: var(--s1); font-size: var(--t-13); color: var(--muted); }
.review textarea { min-height: 88px; resize: vertical; }
.review .row { display: flex; align-items: center; gap: var(--s4); }
[data-review-table] table { width: 100%; border-collapse: collapse; font-size: var(--t-13); }
[data-review-table] th, [data-review-table] td { text-align: left; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); }

/* The Metrics panels reused on Personal, My Cards, Cuts and Rewards sit on the same ground. */
.legacy { color: var(--text); }

/* ------------------------------------------------------------------ sign in: the one grand surface */
body[data-page="signin"] { background: var(--char); }
.cover { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.cover-copy { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s3); padding: var(--s8);
  background: var(--char); color: var(--cream); border-right: 1px solid var(--brass-line); }
.cover-copy .mark { width: 56px; height: 56px; padding: 6px; border-radius: var(--r-card); background: var(--cream); }
.cover-copy .kicker { color: var(--brass); font-size: var(--t-15); margin-top: var(--s5); }
.cover-copy h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(72px, 10vw, 148px); line-height: .9; letter-spacing: -.03em; }
.cover-copy .lede { font-family: var(--serif); font-style: italic; font-size: 24px; color: rgba(240, 233, 200, .78); }
.cover-form { display: flex; flex-direction: column; justify-content: center; gap: var(--s4); padding: var(--s8) var(--s7);
  background: var(--paper); color: var(--ink); --text: var(--ink); --muted: #555A43; --surface: #FFFDF8; --line-strong: rgba(41, 43, 28, .30); --focus: var(--brick); }
.cover-form .how { color: #555A43; max-width: 36ch; }
.cover-form form { display: grid; gap: var(--s4); max-width: 24rem; }
.cover-form label { display: grid; gap: var(--s1); font-size: var(--t-13); font-weight: 600; color: #555A43; }
.cover-form input { color: var(--ink); background: #FFFDF8; }
.cover-form form button { justify-self: start; }
.cover-form [data-signin-reset] { font-size: var(--t-13); color: #555A43; }
.cover-form [data-qr] { display: grid; gap: var(--s3); justify-items: start; }
.cover-form [data-qr] img { background: #FFFFFF; padding: var(--s3); border-radius: var(--r-button); border: 1px solid var(--line-strong); }
.cover-form [data-qr] code { font-size: var(--t-12); color: #555A43; overflow-wrap: anywhere; }
.cover-form .lang { font-size: var(--t-13); color: #555A43; min-height: 44px; display: inline-flex; align-items: center; }

/* ------------------------------------------------------------------ phone */
@media (max-width: 960px) {
  .frame { display: block; }
  .side { position: sticky; top: 0; z-index: 20; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center;
    gap: var(--s2) var(--s4); padding: var(--s3) var(--s4) 0; }
  .brand { display: flex; align-items: baseline; gap: var(--s2); padding: 0; border: 0; }
  .brand .word { font-size: 24px; }
  .nav { order: 3; flex: 1 0 100%; flex-direction: row; overflow-x: auto; overflow-y: hidden; gap: var(--s1);
    padding-bottom: var(--s2); scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; min-height: 40px; padding: 0 var(--s3); }
  #owner-links a:first-child { margin-top: 0; border-top: 0; border-radius: var(--r-button); }
  .nav [data-signout] { margin-top: 0; }
  .foot { margin-left: auto; padding: 0; border: 0; grid-auto-flow: column; align-items: center; gap: var(--s3); }
  .page { padding: var(--s5) var(--s4) var(--s8); }
  .stale { padding: var(--s3) var(--s4); }
  .hero { min-height: 70vh; }
  .act { padding: var(--s7) 0 var(--s6); }
  .act.quiet, .two { grid-template-columns: 1fr; gap: var(--s6); }
  .facts li { min-width: 0; flex: 1 1 40%; margin-right: var(--s3); padding-right: var(--s3); }
  .facts li:nth-child(2n) { border-right: 0; }
  .rowhead, .rows summary { grid-template-columns: minmax(0, 1fr) 6.5rem 4rem; }
  .rowhead > :nth-child(2), .rows summary .pill { display: none; }
  .cover { grid-template-columns: 1fr; }
  .cover-copy { padding: var(--s7) var(--s5) var(--s6); border-right: 0; border-bottom: 1px solid var(--brass-line); }
  .cover-form { padding: var(--s6) var(--s5) var(--s8); justify-content: start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
@media print {
  .side, .review, .numbers { display: none; }
  .frame { display: block; }
}

/* One chart, two drawings: the desk's (720 wide) and the phone's (360 wide), so chart text stays 12 to 13px. */
.viz { max-width: 760px; }
.viz .n { display: none; }
@media (max-width: 640px) {
  .viz .w { display: none; }
  .viz .n { display: block; }
}

/* Half-width charts use the phone drawing so their text stays readable. */
.two .viz { max-width: 420px; }
.two .viz .w { display: none; }
.two .viz .n { display: block; }
.pairs { max-width: 36rem; }
.rows details.group { border-top: 1px solid var(--line-strong); }
.rows details.group > summary { display: flex; gap: var(--s2); align-items: center; min-height: 52px; color: var(--muted); font-weight: 600; }
.rows details.group > summary b { color: var(--text); }
.rows details.group[open] > summary { color: var(--text); }
.legacy { padding: var(--s5); border-radius: var(--r-card); }
.hero .headline { color: var(--muted); font-size: var(--t-15); }

/* ------------------------------------------------------------------ the story pages (Projects, AR and AP, Cards) */
.hero.lead { min-height: 0; padding: var(--s5) 0 var(--s7); }
.hero.lead .statement { font-size: clamp(34px, 4.4vw, 60px); max-width: 20ch; }
.big.plain .lbl::before { background: var(--line-strong); }
.page-projects .pagehead, .page-ar-ap .pagehead, .page-cards .pagehead { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.pagehead h1 { font-size: 22px; letter-spacing: .02em; color: var(--muted); }
.pair { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s7); align-items: start; margin-top: var(--s5); }
.pair h3 { margin-top: 0; }
.act h3 { font-size: 16px; }

/* Donut: a thin ring, 2px gaps, labels with share and value beside it. Three hues validated plus gray. */
:root { --c1: #2A78D6; --c2: #C27532; --c3: #1BAF7A; --c-other: #A9A48E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --c1: #3987E5; --c2: #D95926; --c3: #199E70; --c-other: #6E6B5C; } }
.donutwrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s5); }
.chart.donut { width: 180px; flex: none; }
.chart.donut .c1 { stroke: var(--c1); } .chart.donut .c2 { stroke: var(--c2); } .chart.donut .c3 { stroke: var(--c3); }
.chart.donut .other { stroke: var(--c-other); }
.chart.donut .dc-v { font-family: var(--fig); font-size: 30px; font-weight: 700; fill: var(--text); }
.chart.donut .dc-l { font-size: 13px; fill: var(--muted); }
.dkeys { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); min-width: 12rem; flex: 1 1 12rem; }
.dkeys li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; column-gap: var(--s2); align-items: center; }
.dkeys svg { width: 12px; height: 12px; }
.dkeys .c1 { fill: var(--c1); } .dkeys .c2 { fill: var(--c2); } .dkeys .c3 { fill: var(--c3); } .dkeys .other { fill: var(--c-other); }
.dkeys b { font-family: var(--fig); font-size: 20px; font-weight: 600; }
.dkeys .m { grid-column: 2 / 4; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .pair { grid-template-columns: 1fr; gap: var(--s6); }
}
.big.ok .lbl::before { background: var(--ok); }
.big.bad .lbl::before { background: var(--bad); }
