


@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 600; src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }


:root {
  --bg: #f4f1e8;
  --card: #fffcf5;
  --sunk: #e9e5d9;
  --fg: #172320;
  --muted: #53635c;
  --rule: #ccd2c8;
  --rule-strong: #7e8b84;
  --decision: #172320;
  --decision-fg: #fffcf5;
  --caution: #805100;
  --latch: #a63f20;
  --live: #e5484d;
  --sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --t-meta: 13px;
  --t-small: 15px;
  --t-body: 18px;
  --t-lede: 21px;
  --t-h3: 21px;
  --t-h2: clamp(26px, 3vw, 32px);
  --t-h1: clamp(32px, 4.6vw, 48px);
  --t-display: clamp(34px, 5.2vw, 56px);

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px;
  --radius: 4px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --read: 66ch;
  --rail: 200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14211e; --card: #1d302a; --sunk: #263c35; --fg: #f4f1e8; --muted: #bccbc2;
    --rule: #3d5048; --rule-strong: #6b8073; --decision: #f4f1e8; --decision-fg: #14211e;
    --caution: #f0c56d; --latch: #ffaf88; --live: #ff6b62;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14211e; --card: #1d302a; --sunk: #263c35; --fg: #f4f1e8; --muted: #bccbc2;
  --rule: #3d5048; --rule-strong: #6b8073; --decision: #f4f1e8; --decision-fg: #14211e;
  --caution: #f0c56d; --latch: #ffaf88; --live: #ff6b62;
  color-scheme: dark;
}
@media (max-width: 759px) { :root { --t-body: 17px; --t-lede: 19px; --s6: 64px; --s5: 48px; } }


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: var(--t-body); line-height: 1.6;
  font-feature-settings: "kern"; text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
.nw { white-space: nowrap; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--sunk); border-radius: 3px; padding: 1px 5px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.read { max-width: var(--read); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 10; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


.label, .tag, .mark, .count {
  font-family: var(--mono); font-size: var(--t-meta); font-weight: 500; line-height: 1.35;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.label { color: var(--muted); margin: 0; }
.meta, .checked, .dated { color: var(--muted); font-size: var(--t-small); }
.arrow { font-family: var(--mono); font-weight: 500; }


.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px;
  font: 700 17px/1 var(--sans); text-decoration: none; border-radius: var(--radius);
  border: 2px solid var(--fg); color: var(--fg); background: transparent;
}
.btn.decision { background: var(--decision); color: var(--decision-fg); border-color: var(--decision); }
.btn.decision:hover { opacity: 0.9; }


.top { border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--s3); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.wn { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--rule-strong); border-radius: 3px; padding: 2px 6px; white-space: nowrap; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-nav a {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px;
  font-size: 16px; color: var(--muted); text-decoration: none;
}

.site-nav a::after { content: attr(data-label); font-weight: 700; height: 0; overflow: hidden; visibility: hidden; }
.site-nav a:hover { color: var(--fg); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--fg); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
@media (max-width: 859px) {
  .top .wrap { min-height: 0; padding-top: 6px; }
  .site-nav { order: 3; flex-basis: 100%; border-top: 1px solid var(--rule); }
  .site-nav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
  .site-nav a { font-size: 15px; min-height: 40px; }
  .brand { font-size: 17px; }
}


.page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s4); padding-bottom: var(--s5); }
.page-head { padding: var(--s5) 0 var(--s4); }
.page-head h1 { font-size: var(--t-h1); line-height: 1.06; letter-spacing: -0.025em; max-width: 22ch; margin: var(--s2) 0 var(--s3); }
.lede { font-size: var(--t-lede); line-height: 1.45; max-width: 56ch; }
.page-head .meta { margin-top: -6px; }
.toc { font-size: var(--t-small); margin-bottom: var(--s4); }
@media (max-width: 759px) {
  .page-head { padding-bottom: var(--s3); }
  .page-head > :last-child { margin-bottom: 0; }
  .toc { margin-bottom: var(--s3); }
}
@media (max-width: 999px) { .toc li { white-space: nowrap; } .toc li a { display: inline-block; max-width: 100%; white-space: normal; padding: 6px 0; } .links .toc li { display: block; } .links .toc li + li::before { content: none; } .links .toc li a { padding: 4px 0; } }
.toc .label { display: none; }
.toc li { display: inline; }
.toc li + li::before { content: " · "; color: var(--muted); }
.toc .count { color: var(--muted); letter-spacing: 0.02em; }
@media (min-width: 1000px) {
  .page { grid-template-columns: var(--rail) minmax(0, 1fr); }
  .page-head { grid-column: 1 / -1; padding-left: calc(var(--rail) + var(--s4)); }
  .toc { position: sticky; top: var(--s3); align-self: start; margin: 6px 0 0; }
  .toc .label { display: block; margin-bottom: var(--s1); }
  .toc li { display: block; padding: 7px 0; border-top: 1px solid var(--rule); }
  .toc li:last-child { border-bottom: 1px solid var(--rule); }
  .toc li + li::before { content: none; }
  .toc a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; text-decoration: none; }
  .toc a:hover { text-decoration: underline; }
}
@media (min-width: 1000px) and (max-height: 700px) { .toc { position: static; } }


.part { scroll-margin-top: var(--s3); }
.part + .part { margin-top: var(--s6); }
.part > h2 { font-size: var(--t-h2); line-height: 1.15; padding-top: var(--s2); border-top: 2px solid var(--fg); margin-bottom: var(--s3); }
.part > h2.vh + * { border-top: 2px solid var(--fg); }
.sum { font-size: var(--t-lede); line-height: 1.45; max-width: 56ch; }
.ruled { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s4); }
@media (min-width: 1200px) { .ruled.credits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ruled > * { padding: var(--s3) 0; border-top: 1px solid var(--rule); }
.ruled h3, .ruled dt { font-size: var(--t-h3); font-weight: 700; margin-bottom: 6px; }
.ruled p, .ruled dd { margin: 0; }
@media (max-width: 599px) { .ruled { grid-template-columns: minmax(0, 1fr); } .ruled > * { padding: var(--s2) 0; } }


.words { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--s4); border-bottom: 1px solid var(--rule); }
.words > div { padding: 10px 0; border-top: 1px solid var(--rule); }
.words dt { font-weight: 700; }
.words dd { font-size: 16px; line-height: 1.5; }
@media (min-width: 760px) { .words { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .words dt, .words dd { display: inline; }
  .words dt::after { content: ": "; }
}


.fits { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.fits th, .fits td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--rule); }
.fits thead th { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--rule-strong); }
.fits tbody th { font-size: 17px; width: 22%; }
@media (max-width: 859px) {
  .fits thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fits, .fits tbody, .fits tr, .fits th, .fits td { display: block; width: auto; }
  .fits tr { border-top: 1px solid var(--rule); padding: 14px 0; }
  .fits tbody th { width: auto; font-size: 18px; padding: 0 0 6px; border: 0; }
  .fits td { border: 0; padding: 3px 0; }
  .fits td { padding: 2px 0 6px; }
  .fits td::before { content: attr(data-label); display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
}
.after-table { margin-top: var(--s3); max-width: var(--read); }


.hard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s4); }
.hard > li { padding: var(--s3) 0; border-top: 1px solid var(--rule); }
.hard h3 { font-size: var(--t-h3); margin-bottom: 8px; }
.hard p { margin: 0; }
.after-list { margin-top: var(--s4); }
@media (max-width: 759px) { .hard { grid-template-columns: minmax(0, 1fr); } .hard > li { padding: var(--s2) 0; } }


details.more { margin-top: 12px; border-top: 1px dashed var(--rule-strong); }
details.more > summary { list-style: none; cursor: pointer; display: flex; gap: 10px; align-items: baseline; min-height: 44px; padding: 10px 0 6px; font-size: 16px; font-weight: 700; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: "+"; font-family: var(--mono); font-weight: 500; flex: none; width: 1ch; }
details.more[open] > summary::before { content: "\2212"; }
details.more > p { font-size: 16px; padding-left: calc(1ch + 10px); }


.home h1 { font-size: var(--t-display); line-height: 1.04; letter-spacing: -0.03em; max-width: 15ch; margin: var(--s2) 0 var(--s3); }
.home .lede { margin-bottom: var(--s3); }
.story { max-width: 58ch; border-left: 2px solid var(--fg); padding-left: var(--s2); }
.story li { margin-bottom: 10px; }
.story li:last-child { margin-bottom: 0; }
.then { margin: 0 0 var(--s4); display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.then .quiet { margin: 0; font-size: 16px; color: var(--muted); }
.then .quiet a { color: var(--fg); font-weight: 700; white-space: nowrap; }
.standing-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px var(--s3); padding-bottom: 12px; border-bottom: 2px solid var(--fg); }
.standing-head h2 { color: var(--fg); }
.standing .more .meta { font-weight: 400; margin-left: 10px; }
@media (max-width: 759px) { .standing .more .meta { display: block; margin: 4px 0 0; } }
.tally { display: grid; grid-template-columns: repeat(12, 16px); gap: 4px; }
.tally li { height: 16px; border: 2px solid var(--fg); border-radius: 2px; }
.tally .works { background: var(--fg); }
.tally .proto { background: repeating-linear-gradient(135deg, var(--fg) 0 2px, transparent 2px 5px); }
.tally .goal { border-style: dashed; }
.stand-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stand-rows li { padding: var(--s3) var(--s3) var(--s1) 0; }
.stand-rows li + li { border-left: 1px solid var(--rule); padding-left: var(--s3); }
.stand-rows li:last-child { padding-right: 0; }
.stand-rows p { margin: 0; font-size: 16px; }
.stand-rows .mark { display: flex; margin-bottom: 8px; font-size: 13px; }
.stand-rows .n { margin-left: auto; font-size: 22px; font-weight: 600; letter-spacing: 0; line-height: 1; }
.standing .more { margin: var(--s2) 0 0; font-weight: 700; font-size: 16px; }
@media (max-width: 899px) {
  .stand-rows { grid-template-columns: minmax(0, 1fr); }
  .stand-rows li { padding: var(--s2) 0; }
  .stand-rows li + li { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
}
@media (max-width: 759px) {
  .then .btn { width: 100%; justify-content: center; }
  .then .quiet a { display: block; padding: 6px 0; }
  .then .quiet .sep { display: none; }
  .standing-head { flex-direction: column; align-items: flex-start; }
}


.mark { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); white-space: nowrap; margin: 0; }
.mark::before { content: ""; width: 14px; height: 14px; border-radius: 2px; flex: none; }
.mark.works::before { background: var(--fg); border: 2px solid var(--fg); }
.mark.proto::before { border: 2px solid var(--fg); background: repeating-linear-gradient(135deg, var(--fg) 0 2px, transparent 2px 5px); }
.mark.goal::before { border: 2px dashed var(--fg); }
.key { display: grid; gap: 6px; font-size: 16px; color: var(--muted); margin-bottom: var(--s3); }
.key li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; align-items: baseline; }
@media (max-width: 599px) { .key li { grid-template-columns: 124px minmax(0, 1fr); gap: 10px; } }
.status h3 { font-size: 19px; margin: var(--s4) 0 6px; }
.status ul { border-bottom: 1px solid var(--rule); }
.status li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 4px 18px; padding: 14px 0; border-top: 1px solid var(--rule); }
.status .mark { padding-top: 4px; align-self: start; }
.status .what { font-weight: 600; line-height: 1.4; }
.status .why { grid-column: 2; font-size: 16px; color: var(--muted); }
@media (max-width: 599px) {
  .status li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; }
  .status .why { grid-column: 1; font-size: 15px; }
}
.dated { margin-top: var(--s3); }


.ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s4); counter-reset: idea; }
.ideas > li { counter-increment: idea; padding-top: 4px; }
.ideas > li::before { content: counter(idea); display: block; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.ideas h3 { font-size: var(--t-h3); margin: 6px 0 10px; }
.ideas p { font-size: 17px; }
@media (max-width: 1199px) {
  .ideas { grid-template-columns: minmax(0, 1fr); max-width: var(--read); }
  .ideas > li + li { border-top: 1px solid var(--rule); padding-top: var(--s2); margin-top: var(--s1); }
}


.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: var(--s3) var(--s4); }
.screens figure { margin: 0; display: flex; flex-direction: column; }
.screens .phone { flex: 1; }
.screens figcaption { margin-top: 12px; font-size: var(--t-small); color: var(--muted); }
.phone { background: var(--card); border: 2px solid var(--fg); border-radius: 22px; padding: 26px 18px 20px; display: flex; flex-direction: column; gap: 12px; min-height: 360px; position: relative; }
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 46px; height: 5px; margin-left: -23px; background: var(--rule); border-radius: 3px; }
.phone .carrier { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.livedot { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--fg); }
.livedot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--live); }
.verdict { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; }
.verdict::before { content: ""; display: inline-block; width: 12px; height: 12px; flex: none; }
.verdict.caution { color: var(--caution); }
.verdict.caution::before { clip-path: polygon(50% 0, 100% 100%, 0 100%); background: currentColor; }
.verdict.private::before { border: 2px solid currentColor; border-radius: 50%; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.phone .true { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0; }
.phone .done { font-size: 15px; color: var(--muted); border-left: 3px solid var(--rule); padding-left: 10px; margin: 0; }
.phone .spacer { flex: 1; }
.phone .pbtn { display: block; text-align: center; border-radius: var(--radius); padding: 12px 10px; font-weight: 700; font-size: 16px; border: 2px solid var(--fg); }
.phone .pbtn small { display: block; font-weight: 400; font-size: 13px; margin-top: 4px; }
.screens + .meta { margin-top: var(--s3); }
@media (max-width: 599px) { .screens { grid-template-columns: minmax(0, 1fr); } .phone { min-height: 0; } }


.entries li { padding: 12px 0; border-top: 1px solid var(--rule); max-width: 72ch; }
.entries li:last-child { border-bottom: 1px solid var(--rule); }
.entries li > a:first-child, .entries .name { font-weight: 700; }
.entries .also { color: var(--muted); font-size: var(--t-small); }
.tag { display: inline-block; font-size: 12px; text-transform: none; letter-spacing: 0.01em; color: var(--muted); border: 1px solid var(--rule-strong); border-radius: 3px; padding: 1px 6px; margin-left: 2px; white-space: nowrap; vertical-align: 1px; }
.links .part > h2 { scroll-margin-top: var(--s3); }
.links .part + .part { margin-top: var(--s5); }
.checked { margin-top: var(--s4); }


.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s5); }
.not { border-left: 1px solid var(--rule); padding-left: var(--s3); }
.not h3 { font-size: 19px; margin-bottom: 10px; }
.not p { font-size: 17px; }
.credits dt { font-size: 19px; }
.credits + .meta { margin-top: var(--s3); }
@media (max-width: 899px) { .split { grid-template-columns: minmax(0, 1fr); gap: var(--s3); } .not { border-left: 0; border-top: 1px solid var(--rule); padding: var(--s2) 0 0; } }


.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s4); }
.path { padding-top: var(--s2); scroll-margin-top: var(--s3); }
.path h3 { font-size: var(--t-h3); margin: 8px 0 12px; }
.path li { font-size: 17px; }
.bul li, .hard-bul li { position: relative; padding-left: 20px; margin-bottom: 10px; }
.bul li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 9px; height: 2px; background: var(--fg); }
@media (max-width: 1199px) {
  .paths { grid-template-columns: minmax(0, 1fr); max-width: var(--read); }
  .path + .path { border-top: 1px solid var(--rule); margin-top: var(--s2); }
}
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s5); }
.rules > div { padding: var(--s2) 0 var(--s3); border-top: 1px solid var(--rule); }
.rules dt { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.rules dd { font-size: 17px; }
@media (max-width: 759px) { .rules { grid-template-columns: minmax(0, 1fr); } }
.ask { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.ask .meta { margin: 0; max-width: 60ch; }


.pager { margin-bottom: var(--s5); }
.pager a { display: flex; align-items: baseline; gap: 12px; padding: var(--s3) 0; border-top: 2px solid var(--fg); font-size: var(--t-h3); font-weight: 700; text-decoration: none; }
.pager a:hover .arrow { text-decoration: underline; }
.pager .label { flex: none; }
@media (min-width: 1000px) { .pager { padding-left: calc(var(--gutter) + var(--rail) + var(--s4)); } }


.legal { padding-top: var(--s5); padding-bottom: var(--s6); }
.legal h1 { font-size: var(--t-h1); letter-spacing: -0.025em; line-height: 1.08; margin: 14px 0 24px; hyphens: manual; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; }
.legal address { font-style: normal; margin: 0 0 1em; }
.legal .short { font-size: 20px; border-left: 2px solid var(--fg); padding-left: 14px; margin-bottom: 8px; }
.legal .see { margin-top: 32px; color: var(--muted); }
.legal .dated { margin-top: 40px; }
.legal-head { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.legal-head .lang { font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--fg); }



.foot { padding: var(--s4) 0 var(--s5); font-size: var(--t-small); color: var(--muted); border-top: 1px solid var(--rule); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3) var(--s4); }
.foot .brand { color: var(--fg); margin-bottom: 4px; font-size: 18px; }
.foot p { margin: 0 0 8px; max-width: 52ch; }
.foot li { padding: 3px 0; }
.foot a[aria-current="page"] { color: var(--fg); font-weight: 700; text-decoration: none; }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s3); }
.foot-h { font-size: var(--t-small); font-weight: 700; letter-spacing: 0; color: var(--fg); margin: 0 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.foot-nav li a { display: inline-block; padding: 2px 0; }
.foot-legal p:last-child { margin-bottom: 0; }
.foot .foot-credits { max-width: none; margin: 0; padding-top: var(--s2); border-top: 1px solid var(--rule); }
@media (min-width: 760px) {
  .foot-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-legal { display: flex; flex-wrap: wrap; gap: 0 var(--s4); }
}
@media (min-width: 1000px) {
  .foot .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); }
  .foot-legal, .foot .foot-credits { grid-column: 1 / -1; }
}
@media (max-width: 759px) {
}


.mk-line { fill: none; stroke: currentColor; stroke-width: 4; }
.mk-latch { fill: var(--latch); }


@media (forced-colors: active) {
  .mark::before, .tally li, .verdict::before { forced-color-adjust: none; border-color: CanvasText; }
  .mark.works::before, .tally .works { background: CanvasText; }
  .mark.proto::before, .tally .proto { background: repeating-linear-gradient(135deg, CanvasText 0 2px, Canvas 2px 5px); }
  .verdict.caution::before { background: CanvasText; }
  .verdict.private::before { background: linear-gradient(90deg, CanvasText 50%, Canvas 50%); }
}


.ill { display: block; width: 168px; height: 112px; color: var(--fg); margin-bottom: var(--s2); }
.il, .il-thin, .il-dash, .il-ground { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.il { stroke-width: var(--il-w, 3); }
.il-thin { stroke-width: var(--il-thin-w, 2); }
.il-dash { stroke-width: 2.5; stroke-dasharray: 5 6; }
.il-ground { stroke-width: 1.5; stroke: var(--rule-strong); }
.il-dot { fill: currentColor; }
@media (forced-colors: active) { .ill { forced-color-adjust: auto; } }


.flow { max-width: 760px; }
.step { padding: var(--s3) 0 var(--s4); border-top: 2px solid var(--fg); scroll-margin-top: var(--s2); }
.step + .step { margin-top: var(--s4); }
.step h2 { font-size: var(--t-h2); line-height: 1.15; margin: 8px 0 var(--s3); }
.step h3 { font-size: 17px; margin: var(--s3) 0 6px; }
.step .label { margin-bottom: 0; }
@supports selector(:has(*)) {
  .step + .step { margin-top: 0; }
}
.answers { display: grid; gap: 10px; }
.answers a {
  display: flex; align-items: baseline; gap: 12px; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius); text-decoration: none; background: var(--card);
}
.answers a::after { content: "\2192"; margin-left: auto; font-family: var(--mono); color: var(--muted); }
.answers a:hover { border-color: var(--fg); }
.answers a:hover::after { color: var(--fg); }
.answers strong { flex: none; }
@media (max-width: 599px) { .answers a { display: block; position: relative; padding-right: 40px; } .answers a::after { position: absolute; right: 14px; top: 14px; } .answers strong { display: block; } }
.hint { font-size: 16px; color: var(--muted); max-width: 60ch; }
.picks li { padding: 8px 0; border-top: 1px solid var(--rule); }
.picks li:last-child { border-bottom: 1px solid var(--rule); }
.picks li > a:first-child { font-weight: 700; }
.else, .next { margin: var(--s3) 0 0; max-width: 64ch; }
.else .label, .next .label { display: block; margin-bottom: 2px; }
.back { margin: var(--s3) 0 0; font-size: var(--t-small); color: var(--muted); }
.combine { margin-top: var(--s5); }
.combine details.more > summary { font-size: 17px; }
.combine .fits { margin-top: var(--s2); }
.combine .meta { margin-top: var(--s3); max-width: 64ch; }
.fits tbody th a { text-decoration-thickness: 1px; }


.many { margin: var(--s3) 0 0; max-width: 72ch; }
.many a { font-weight: 700; }
.fits-teaser { display: flex; gap: var(--s4); align-items: flex-start; }
.fits-teaser .ill { flex: none; }
.fits-teaser .go { margin: 0; font-size: var(--t-h3); font-weight: 700; }
@media (max-width: 599px) { .fits-teaser { flex-direction: column; gap: 0; } }
.hard > li.wide { grid-column: 1 / -1; }
.hard > li.wide p { max-width: 72ch; }
.mission { margin-top: var(--s5); padding: var(--s4) 0 var(--s2); border-top: 2px solid var(--fg); }
.mission-line { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; max-width: 30ch; margin: var(--s2) 0 var(--s3); text-wrap: balance; }
.mission p:last-child { font-weight: 700; margin: 0; }

.step h3.q { font-size: var(--t-h3); margin: var(--s3) 0 var(--s2); }
.step .sum { margin-bottom: var(--s2); }
.back .send { display: block; margin-top: 6px; }
.back .send a { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
@media print { .flow .step { display: block !important; } .site-nav, .pager { display: none; } }


.story-h { font-size: var(--t-h3); margin: var(--s4) 0 var(--s2); }
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin: 0 0 var(--s3); }
.chain li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1.5px solid var(--rule-strong); border-radius: var(--radius); background: var(--card); }
.chain li + li::before { content: "\2192"; content: "\2192" / ""; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); font-family: var(--mono); color: var(--muted); }
.chain li:first-child { border: 2px solid var(--fg); }
.chain .node { font-weight: 700; }
.chain .says { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.chain .knows { font-size: 15px; color: var(--muted); line-height: 1.4; }
@media (max-width: 899px) {
  .chain { grid-template-columns: minmax(0, 1fr); gap: 22px 0; }
  .chain li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 2px 14px; }
  .chain .node { grid-row: span 2; }
  .chain li + li::before { content: "\2193"; content: "\2193" / ""; left: 24px; top: -20px; transform: none; }
}
.verdict.starting::before { border: 2px solid currentColor; border-radius: 50%; }
#chain .screens { margin: var(--s2) 0 var(--s2); }
#chain .phone { min-height: 0; }
.screens.concept .phone { border-style: dashed; }




:root { --measure: 66ch; }
@media (min-width: 1440px) { :root { --max: 1320px; --rail: 240px; --gutter: 56px; --s6: 112px; } }
@media (min-width: 1920px) { :root { --max: 1680px; --rail: 280px; --gutter: 80px; --t-body: 19px; --t-lede: 23px; --t-display: clamp(34px, 3.4vw, 68px); --s6: 128px; } }
.read, .sum, .lede, .else, .next, .picks, .hint { max-width: var(--measure); }


.tint { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: var(--s5) 0; }
@media print { .tint { background: none; } }


.home-lead { padding-top: var(--s6); padding-bottom: var(--s5); }
.home .then { margin-bottom: 0; }
.standing-head { border-bottom: 2px solid var(--fg); }
.standing-head h2 { font-size: var(--t-h3); letter-spacing: -0.01em; }
.stand-rows p { font-size: 17px; }
@media (max-width: 759px) { .home-lead { padding-top: var(--s4); padding-bottom: var(--s5); } .tint { padding: var(--s4) 0; } }


.head-ill { display: none; }
@media (min-width: 1000px) {
  .page-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s5); align-items: center; }
  .page-head > * { grid-column: 1; }
  .page-head > .head-ill { display: block; grid-column: 2; grid-row: 1 / span 4; width: 240px; height: 160px; color: var(--fg); }
}
.lang-switch { margin: -8px 0 var(--s3); font-weight: 700; }


.pager a { font-size: var(--t-h3); }
.pager .arrow { font-size: 1.2em; }


.choices { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 12px; }
.choices a {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto 1fr;
  column-gap: 16px; height: 100%; padding: 14px 16px; text-decoration: none; color: var(--fg);
  background: var(--card); border: 1.5px solid var(--rule-strong); border-radius: var(--radius);
}
.choices .ill { grid-row: 1 / 3; width: 96px; height: 64px; margin: 0; align-self: center; }
.choices strong { font-size: 18px; line-height: 1.3; display: flex; gap: 8px; align-self: end; }
.choices strong::after { content: "\2192"; content: "\2192" / ""; margin-left: auto; font-family: var(--mono); font-weight: 500; color: var(--muted); }
.choices span { font-size: 16px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.choices a:hover, .choices a:focus-visible { border-color: var(--fg); }
.choices a:hover strong::after { color: var(--fg); }
@media (min-width: 600px) {
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 16px; }
  .choices li { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
  .choices a { grid-row: span 3; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding: 16px 18px 18px; }
  .choices .ill { grid-row: auto; width: 144px; height: 96px; margin-bottom: 4px; align-self: start; }
  .choices strong { align-self: start; }
}
@media (min-width: 1000px) {
  .choices:not(.two) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choices .ill { width: 168px; height: 112px; }
}



@supports selector(:has(*)) {
  @media (max-width: 999px) { .fits-page:has(.step:not(#start):target, .step:not(#start) :target) > .toc { display: none; } }
}
.flow { max-width: none; }
.step { padding-top: var(--s3); }
.step.start > h2 { margin-top: 0; }
.answers { display: none; }
@supports selector(:has(*)) {
  .fits-page:has(.step:not(#start):target, .step:not(#start) :target) .page-head { padding-bottom: var(--s3); }
  .fits-page:has(.step:not(#start):target, .step:not(#start) :target) .page-head :is(.lede, .meta) { display: none; }
}
@media (min-width: 1920px) {
  .fits-page .start .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}


/* One back link at the top of an answer, named after where it goes. */
.go-back { margin: 0 0 var(--s2); font-size: 16px; }
.go-back a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--fg); text-underline-offset: 3px; }
@media screen { .flow > .step.result, .flow > .step.question { border-top: 0; padding-top: var(--s2); } }
@media print { .go-back { display: none; } }


.ask-text .ill { margin-bottom: var(--s2); }
.ask-q .q { margin-top: var(--s3); }
.step.question .hint { margin-top: var(--s3); }
@media (min-width: 760px) { .step.question .hint { padding-left: calc(240px + var(--s4)); } .step.question .ask-q { padding-left: calc(240px + var(--s4)); } }


.result-head { display: grid; gap: var(--s2); }
.result-head h2 { margin: 0 0 var(--s2); }
.result-head .ill { margin: 0; }
.result-main h3 { margin-top: var(--s3); }
.result-side .else, .result-side .next { margin: var(--s3) 0 0; }
.result-side .send { margin-top: var(--s3); }
.send { font-size: var(--t-small); color: var(--muted); }
.send a { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 1279px) { .result-side { margin-top: var(--s3); border-left: 2px solid var(--rule-strong); padding-left: 14px; } .result-side > :first-child { margin-top: 0; } }
@media (min-width: 760px) {
  .result-head { grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: var(--s4); }
  .ill.big { width: 240px; height: 160px; }
}

@media (min-width: 1280px) {
  .result-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 0 var(--s5); margin-top: var(--s2); }
  .result-side { border-left: 1px solid var(--rule); padding-left: var(--s3); align-self: start; margin-top: var(--s3); }
  .result-side > :first-child { margin-top: 0; }
}
@media (min-width: 1920px) {
  .ill.big { width: 280px; height: 187px; }
}

@media print {
  .flow .step { break-inside: avoid-page; }
  .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ill { width: 96px; height: 64px; }
}


@media (min-width: 1440px) { .words { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1920px) {
  .words { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #thanks .ruled { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hard { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mission { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s4); align-items: center; }
.mission .ill { margin: 0 0 var(--s2); }
@media (min-width: 760px) {
  .mission { grid-template-columns: 200px minmax(0, 1fr); }
  .mission .ill { grid-row: 1 / span 2; width: 200px; height: 133px; margin: 0; }
  .mission > p { grid-column: 2; }
}
.mission-line { margin-top: 0; }


@media (min-width: 1440px) {
  .entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s4); }
  .entries li { max-width: none; }
  .entries li:last-child { border-bottom: 0; }
  .links .part { border-bottom: 1px solid var(--rule); }
}
@media (min-width: 1920px) { .entries { grid-template-columns: repeat(3, minmax(0, 1fr)); } }


.path .ill { width: 120px; height: 80px; margin: 0 0 8px; }
.path h3 { margin: 0 0 4px; }
.path-sum { color: var(--muted); margin-bottom: 12px; }
@media (min-width: 1440px) { .rules { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--s4); } }


@supports selector(:has(*)) {
  @media screen {
    .flow:has(> .step:target, > .step :target) > .step:not(:target):not(:has(:target)),
    .flow:not(:has(> .step:target, > .step :target)) > .step:not(#start) { display: none !important; }
  }
}
@media print { .flow > .step { display: block !important; } }




@media (min-width: 1440px) {
  .concept-example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px var(--s5); align-items: start; }
  .concept-example > h3 { grid-column: 1 / -1; }
  .concept-example > .screens { grid-column: 2; grid-row: 2 / span 2; margin: 0; }
  .concept-example > .meta { grid-column: 1; }
}
@media (min-width: 1920px) { .toc { font-size: 17px; } }

.step[tabindex="-1"]:focus { outline: none; }


@supports selector(:has(*)) {
  @media screen { body:has(.step:not(#start):target, .step:not(#start) :target) :is(.combine, .pager) { display: none; } }
}
.send a { overflow-wrap: normal; word-break: normal; }


@media (min-width: 600px) {
  .choices:not(.two) > li:nth-child(7):last-child { grid-column: 1 / -1; grid-row: auto; display: block; }
  .choices:not(.two) > li:nth-child(7):last-child > a { display: grid; grid-row: auto; grid-template-rows: auto 1fr; grid-template-columns: 168px minmax(0, 1fr); column-gap: var(--s3); align-items: center; }
  .choices:not(.two) > li:nth-child(7):last-child .ill { grid-row: 1 / 3; width: 168px; height: 112px; margin: 0; }
  .choices:not(.two) > li:nth-child(7):last-child strong { align-self: end; }
  .choices:not(.two) > li:nth-child(7):last-child span { align-self: start; }
}

@media (max-width: 859px) { .site-nav ul { display: flex; flex-wrap: wrap; gap: 0 18px; } }


.glossary { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s5); margin: 0; }
.glossary .entry { padding: var(--s3) 0; border-top: 1px solid var(--rule); scroll-margin-top: var(--s3); }
.glossary .entry:target { box-shadow: inset 3px 0 0 var(--fg); padding-left: 14px; }
.glossary dt { padding-right: 30px; font-size: var(--t-h3); font-weight: 700; line-height: 1.25; margin-bottom: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.glossary .who { font-size: 13px; font-weight: 500; color: var(--muted); border: 1px solid var(--rule-strong); border-radius: 3px; padding: 1px 7px; }
.glossary dd { margin: 0 0 6px; max-width: var(--measure); }
.glossary .plain { font-size: var(--t-body); margin-bottom: 10px; }
.glossary .aka, .glossary .when, .glossary .rel { font-size: var(--t-small); color: var(--muted); }
.glossary .aka strong, .glossary .when strong, .glossary .rel strong { color: var(--fg); font-weight: 700; }
@media (min-width: 760px) { .glossary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1440px) { .glossary { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.more-words { margin: var(--s3) 0 0; font-weight: 700; }
.words-page .lang-switch { margin-top: 0; }


.answer-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5) var(--s5); }
.answer { border-top: 2px solid var(--fg); padding-top: var(--s2); scroll-margin-top: var(--s3); }
.answer h2 { font-size: var(--t-h2); line-height: 1.15; margin: 0 0 var(--s2); }
.answer .sum { margin-bottom: var(--s2); }
.checklist { list-style: none; counter-reset: chk; margin: 0 0 var(--s3); max-width: var(--measure); }
.checklist li { counter-increment: chk; position: relative; padding: 10px 0 10px 40px; border-top: 1px solid var(--rule); }
.checklist li:last-child { border-bottom: 1px solid var(--rule); }
.checklist li::before { content: counter(chk); position: absolute; left: 0; top: 10px; width: 26px; height: 26px; display: grid; place-items: center; border: 1.5px solid var(--fg); border-radius: 50%; font: 600 13px/1 var(--mono); }
.answer-words, .answer-sources { font-size: var(--t-small); color: var(--muted); max-width: var(--measure); margin: 0 0 6px; }
.answer-words strong, .answer-sources strong { color: var(--fg); }
.answer .more { margin: var(--s2) 0 6px; font-weight: 700; }
.answer:target h2 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
@media (min-width: 1200px) { .answer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 999px) { .checks-page .toc li { display: block; white-space: normal; padding: 2px 0; } .checks-page .toc li + li::before { content: none; } }


.hub-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.hub-cards li > a { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 16px; height: 100%; padding: 14px 16px; border: 1.5px solid var(--rule-strong); border-radius: var(--radius); background: var(--card); color: var(--fg); text-decoration: none; }
.hub-cards li > a:hover, .hub-cards li > a:focus-visible { border-color: var(--fg); }
.hub-cards .ill { grid-row: 1 / 3; width: 96px; height: 64px; margin: 0; align-self: center; }
.hub-cards strong { font-size: 18px; align-self: end; }
.hub-cards span { font-size: 16px; color: var(--muted); }
@media (min-width: 760px) {
  .hub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-cards:has(> li:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hub-cards:has(> li:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-cards li > a { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; row-gap: 6px; padding: 16px 18px 18px; }
  .hub-cards .ill { grid-row: auto; width: 144px; height: 96px; align-self: start; }
  .hub-cards strong { align-self: start; }
}
.ask-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; margin-bottom: var(--s3); }
.ask-table th, .ask-table td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-top: 1px solid var(--rule); }
.ask-table thead th { font-size: 14px; font-weight: 700; border-top: 2px solid var(--fg); }
.ask-table tbody th { font-weight: 700; width: 26%; }
.ask-table td:nth-child(2) { color: var(--muted); width: 18%; }
@media (max-width: 759px) {
  .ask-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ask-table, .ask-table tbody, .ask-table tr, .ask-table th, .ask-table td { display: block; width: auto; }
  .ask-table tr { border-top: 1px solid var(--rule); padding: 12px 0; }
  .ask-table tbody th, .ask-table td { border: 0; padding: 2px 0; width: auto; }
  .ask-table td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--fg); }
}

.guide-meta { color: var(--muted); font-size: 0.92em; }
.answer-guides { font-size: var(--t-small); color: var(--muted); max-width: var(--measure); margin: 0 0 6px; }
.answer-guides strong { color: var(--fg); }
.guides-list { max-width: 80ch; }
.guides-list li { padding: 10px 0; border-top: 1px solid var(--rule); }
.guides-list li:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 1440px) { .guides-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s5); max-width: none; } .guides-list li:last-child { border-bottom: 0; } }


.chain-wrap { margin: 0 0 var(--s5); }
.part-chain { list-style: none; margin: 0 0 var(--s2); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.part-chain li { position: relative; border: 1.5px solid var(--fg); border-radius: var(--radius); padding: 8px 10px; background: var(--card); }
.part-chain strong { display: block; font-size: var(--t-small); line-height: 1.25; }
.part-chain span { display: block; font-size: var(--t-meta); color: var(--muted); line-height: 1.3; margin-top: 2px; }
.part-chain li::after { content: "\2192"; position: absolute; right: -21px; top: 50%; transform: translateY(-50%); font-family: var(--mono); color: var(--muted); }
.part-chain li:last-child::after { content: none; }
@media (max-width: 599px) { .part-chain li:nth-child(2n)::after { content: none; } }
@media (min-width: 600px) and (max-width: 999px) { .part-chain { grid-template-columns: repeat(3, minmax(0, 1fr)); } .part-chain li:nth-child(3n)::after { content: none; } }
@media (min-width: 1000px) { .part-chain { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.chk-part { display: inline-block; font: 600 12px/1 var(--mono); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 3px 8px; margin-right: 6px; vertical-align: 2px; white-space: nowrap; }
.answer-ask { font-size: var(--t-small); color: var(--muted); max-width: var(--measure); margin: 0 0 6px; }
.answer-ask strong { color: var(--fg); }
@media print { .part-chain li::after { content: none; } }


.guide-groups { list-style: none; padding: 0; margin: 0 0 var(--s3); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--t-small); }
#guides h3 { font-size: var(--t-h3); margin: var(--s4) 0 var(--s1); scroll-margin-top: var(--s3); }
.guides-list li { display: flex; flex-direction: column; gap: 4px; scroll-margin-top: var(--s3); }
.guide-title { font-weight: 700; }
.guide-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { font: 600 12px/1 var(--mono); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 4px 9px; text-decoration: none; color: var(--fg); }
.chip:hover { border-color: var(--fg); }
.guide-by { font-size: var(--t-meta); color: var(--muted); }
.guides-list .guide-meta { font-size: var(--t-meta); }
.guide-index { list-style: none; padding: 0; margin: 0; max-width: 80ch; font-size: var(--t-small); }
.guide-index li { padding: 8px 0; border-top: 1px solid var(--rule); scroll-margin-top: var(--s3); }
.guide-index li:last-child { border-bottom: 1px solid var(--rule); }
.guide-index strong { margin-right: 8px; }
.guide-index li:target, .guides-list li:target { outline: 2px solid var(--fg); outline-offset: 4px; }
.guides-n { font-size: var(--t-meta); margin-left: 6px; white-space: nowrap; }
@media (min-width: 1440px) { .guide-index { columns: 2; column-gap: var(--s5); max-width: none; } .guide-index li { break-inside: avoid; } }


.setup > .sum { margin-bottom: var(--s3); }
.setup-picker:focus { outline: none; }
.stack-picker { margin: 0; display: grid; gap: var(--s3); }
.setup-find { display: grid; gap: 6px; }
.setup-find[hidden], .stack-step[hidden], .pick[hidden], .no-pick-match[hidden] { display: none !important; }
.find-count { margin: 0; font-size: var(--t-small); color: var(--muted); }
.find-count:empty { display: none; }
.setup-order { margin: 0; font-size: var(--t-small); color: var(--muted); max-width: var(--measure); }
.stack-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.stack-step legend { padding: 0; margin: 0 0 10px; font-weight: 700; font-size: 18px; line-height: 1.35; }
.stack-step legend span { font-weight: 400; font-size: var(--t-small); color: var(--muted); }
.picks-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .picks-list { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); } }
.pick { display: flex; min-width: 0; }
.pick-card { flex: 1; display: flex; align-items: flex-start; gap: 10px; min-height: 52px; padding: 10px 12px; background: var(--card); border: 1.5px solid var(--rule-strong); border-radius: var(--radius); cursor: pointer; }
.pick-card:hover { border-color: var(--fg); }
.pick-card:has(input:checked) { border-color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--fg); }
.pick-card:has(input:focus-visible) { outline: 3px solid var(--fg); outline-offset: 2px; }
.pick-card input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--fg); cursor: pointer; }
.pick-card input:focus-visible { outline: none; }
.pick-text { display: grid; gap: 2px; min-width: 0; }
.pick-name { font-weight: 700; font-size: 16px; line-height: 1.3; }
.pick-meta { font-size: var(--t-meta); line-height: 1.3; color: var(--muted); }
.stack-more, .stack-actions, .stack-line, .no-pick-match { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; font-size: var(--t-small); }
.stack-more label, .stack-line label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; cursor: pointer; }
.stack-more input, .stack-line input { width: 18px; height: 18px; margin: 0; accent-color: var(--fg); }
.stack-actions .btn, .stack-line .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
.stack-js { display: grid; gap: var(--s1); border-top: 1px solid var(--rule); margin-top: var(--s3); padding-top: var(--s2); }
.stack-js[hidden] { display: none; }
.stack-status { font-size: var(--t-small); max-width: var(--measure); margin: 0; }
.stack-hint, #stack-link-note { color: var(--muted); max-width: 60ch; }

.setup-bar { display: flex; align-items: center; gap: 8px 16px; margin: var(--s3) 0 0; padding: 10px 0; background: var(--bg); border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.setup-bar[hidden] { display: none; }
.setup-bar.has-picks { position: sticky; top: 0; z-index: 6; border-top-color: var(--fg); }
.setup-bar p { flex: 1 1 auto; min-width: 0; margin: 0; font-size: var(--t-small); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.setup-bar:not(.has-picks) #setup-names { color: var(--muted); }
.setup-bar .btn { flex: none; min-height: 40px; padding: 0 16px; font-size: 15px; }
.setup + .setup-bar + .part { margin-top: var(--s6); }
.help-page:has(.setup-bar.has-picks) :is(.part, h3, h4, li[id]) { scroll-margin-top: 88px; }
@media print { .setup, .setup-bar { display: none !important; } }

.for-stack { border-left: 4px solid var(--fg); padding-left: var(--s2); margin: var(--s2) 0 var(--s4); }
.for-stack h3 { margin-top: 0; }
#guides .for-stack :is(.fit-h, .part-h) { font-size: 17px; margin: var(--s3) 0 6px; }
#guides .for-stack .fit-h { margin-top: var(--s2); }
.needs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--t-small); }
.need { font: 600 12px/1 var(--mono); border: 1px dashed var(--fg); border-radius: 999px; padding: 4px 9px; }
.fb { font-size: var(--t-small); max-width: var(--measure); margin: 8px 0; }
#guides h4 { font-size: var(--t-h3); margin: var(--s4) 0 var(--s1); scroll-margin-top: var(--s3); }
.rest-h { font-size: var(--t-h3); margin: var(--s3) 0 var(--s1); }

.ask-table tr { --row-display: table-row; }
@media (max-width: 759px) { .ask-table tr { --row-display: block; } }


.search-field { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
.search-field label { font-weight: 700; }
.search-field input[type="search"] { flex: 1 1 16rem; max-width: 28rem; min-height: 44px; padding: 8px 12px; font: inherit; color: var(--fg); background: var(--card); border: 1.5px solid var(--fg); border-radius: var(--radius); }
.search-box { position: relative; display: flex; flex: 1 1 16rem; max-width: 28rem; min-width: 0; }
.search-box input[type="search"] { flex: 1 1 auto; max-width: none; width: 100%; min-width: 0; padding-right: 48px; }
input.has-clear::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.search-clear { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: var(--muted); background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.search-clear[hidden] { display: none; }
.search-clear:hover { color: var(--fg); background: var(--sunk); }
.search-clear:focus-visible { color: var(--fg); outline: 3px solid var(--fg); outline-offset: 0; }
.search-clear svg { width: 18px; height: 18px; }
@media (forced-colors: active) { .search-clear { color: ButtonText; } }




.word-tools { display: grid; gap: var(--s1); margin: 0 0 var(--s3); padding: var(--s2) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.word-tools[hidden], .glossary .entry[hidden], .toc li[hidden] { display: none !important; }
.word-count { margin: 0; font-size: var(--t-small); color: var(--muted); }
/* Glossary search, on the shared directory controls: the search full width, its label row carrying a small
   "12 / 31" on the right. No filters, so the search's own clear button is the only reset. The entries' own
   top rules separate it from the list, so it has no line below. */
.gloss-tools { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 16px; margin-bottom: var(--s1); padding-bottom: 0; border-bottom: 0; }
.gloss-tools .word-search { display: contents; }
.gloss-tools .word-search label { grid-column: 1; grid-row: 1; }
.gloss-tools .word-search .search-box, .gloss-tools .word-search > input { grid-column: 1 / -1; grid-row: 2; max-width: none; }
.gloss-tools .word-count { grid-column: 2; grid-row: 1; font: 500 var(--t-meta)/1.2 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media print { .word-tools { display: none !important; } }
/* A deep-linked word lights up for a moment. */
@keyframes word-landed { from { background-color: var(--sunk); } to { background-color: transparent; } }
.glossary .entry.is-landed { animation: word-landed 1.6s ease-out 0.2s both; }
@media (prefers-reduced-motion: reduce) { .glossary .entry.is-landed { animation-duration: 0.01s; animation-delay: 1.2s; } }


.std-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s5); }
.std { padding: var(--s3) 0; border-top: 1px solid var(--rule); scroll-margin-top: var(--s3); min-width: 0; }
.std:target { box-shadow: inset 3px 0 0 var(--fg); padding-left: 14px; }
.std h3 { font-size: var(--t-h3); line-height: 1.25; margin: 0 0 8px; overflow-wrap: anywhere; }
.std-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.std-tags .tag { margin-left: 0; font-size: 13px; color: var(--fg); }
.std .plain { margin: 0 0 10px; max-width: var(--measure); }
.std-facts { margin: 0 0 8px; font-size: var(--t-small); }
.std-facts div { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: 4px; }
.std-facts dt { font-weight: 700; }
.std-facts dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.std-facts dd a { color: var(--fg); }
@media (min-width: 360px) { .std-facts div { grid-template-columns: 8.5em minmax(0, 1fr); column-gap: 12px; } }
.std-foot { margin: 0; font-size: var(--t-small); overflow-wrap: anywhere; }
.std-foot .dated { display: block; margin-top: 2px; color: var(--muted); }
.std[hidden], .std-group[hidden] { display: none !important; }
.std-key { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s4); margin: 0; font-size: var(--t-small); }
.std-key div { padding: 8px 0; border-top: 1px solid var(--rule); }
.std-key dt { font-weight: 700; }
.std-key dd { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .std-list, .std-key { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.std .std-word { font-size: var(--t-small); white-space: nowrap; }

.cmp .sum { max-width: var(--read); }
.cmp-hint { font-size: var(--t-small); color: var(--muted); margin: 0 0 8px; }
.cmp-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border-bottom: 1px solid var(--rule); margin-bottom: var(--s3); }
.cmp-scroll:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.cmp-table { border-collapse: collapse; width: 100%; min-width: 1040px; font-size: var(--t-small); line-height: 1.45; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-top: 1px solid var(--rule); min-width: 7.5em; }
.cmp-table td:nth-child(2), .cmp-table td:nth-child(3) { min-width: 15em; }
#compare-transports .cmp-table td:nth-child(n+2):nth-child(-n+5) { min-width: 13em; }
.cmp-table thead th { font-size: 14px; font-weight: 700; border-top: 2px solid var(--fg); vertical-align: bottom; }
.cmp-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--bg); min-width: 7em; max-width: 9em; padding-left: 0; box-shadow: 1px 0 0 var(--rule); }
.cmp-table tbody th a { color: var(--fg); }
.cmp-table strong { display: block; }
.cmp-gear { list-style: none; margin: 0; padding: 0; }
.cmp-gear li { margin: 0 0 3px; white-space: nowrap; }
.cmp-gear span { display: inline-block; min-width: 5.2em; color: var(--muted); }
.cmp-gear strong { display: inline; }
.cmp .fn { font-size: 13px; white-space: nowrap; }
.cmp .unv { font-size: 11px; font-weight: 700; text-decoration: none; border: 1px solid var(--rule-strong); border-radius: 3px; padding: 0 4px; cursor: help; }
.cmp-notes-h { font-size: var(--t-small); margin: 0 0 6px; }
.cmp-notes { margin: 0; padding-left: 2.6em; font-size: var(--t-small); max-width: var(--read); overflow-wrap: anywhere; }
.cmp-notes li { margin-bottom: 6px; scroll-margin-top: var(--s3); }
.cmp-notes li:target { box-shadow: inset 3px 0 0 var(--fg); padding-left: 8px; }
.cmp-notes .tip-src { display: inline; }
.cmp-notes .dated { color: var(--muted); }


.theme-toggle { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; margin-left: var(--s2); color: var(--fg); background: transparent; border: 1px solid var(--rule-strong); border-radius: 999px; cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { border-color: var(--fg); }
.theme-toggle .ti { width: 22px; height: 22px; display: none; }
.theme-toggle[data-mode="auto"] .ti-auto, .theme-toggle[data-mode="dark"] .ti-dark, .theme-toggle[data-mode="light"] .ti-light { display: block; }
.theme-tip { position: absolute; top: calc(100% + 6px); right: 0; z-index: 10; white-space: nowrap; font: 600 13px/1 var(--sans); color: var(--bg); background: var(--fg); border-radius: 3px; padding: 6px 8px; opacity: 0; pointer-events: none; }
.theme-toggle:hover .theme-tip, .theme-toggle:focus-visible .theme-tip { opacity: 1; }
@media (max-width: 859px) { .theme-toggle { order: 2; margin-left: auto; width: 40px; height: 40px; } }
@media print { .theme-toggle { display: none !important; } }
@media (min-width: 860px) { .site-nav { margin-left: auto; } }


.soon-card { margin: var(--s3) 0 0; padding: var(--s2) var(--s2) var(--s1); border: 1.5px dashed var(--rule-strong); border-radius: var(--radius); max-width: var(--measure); }
.soon-card h3 { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.soon-tag { font: 600 12px/1 var(--mono); color: var(--muted); border: 1px solid var(--rule-strong); border-radius: 3px; padding: 3px 6px; white-space: nowrap; }
.soon-card p { margin: 0 0 8px; font-size: var(--t-small); color: var(--muted); }


.cool-tips { margin: var(--s3) 0 0; }
.cool-tips h3 { font-size: var(--t-h3); margin: 0 0 var(--s1); }
.cool-tips .tips { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.cool-tips .tips li { padding: 10px 0; border-top: 1px solid var(--rule); }
.cool-tips .tips li:last-child { border-bottom: 1px solid var(--rule); }
.tip-src { display: block; margin-top: 4px; font-size: var(--t-meta); color: var(--muted); }
@media (min-width: 760px) { .step.question .cool-tips { padding-left: calc(240px + var(--s4)); } }


.sims-ref { font-size: var(--t-small); }
@media print { .sims-ref { display: none; } }


.one-show { margin: var(--s3) 0 0; max-width: 760px; }
.one-show-svg { display: block; width: 100%; height: auto; color: var(--fg); }
.dg-band { fill: var(--sunk); }
.dg-label { font: 700 22px var(--sans); fill: currentColor; }
.dg-viewers { stroke: currentColor; stroke-width: 10; stroke-linecap: round; }
.dg-pc { stroke: currentColor; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 0 16; }
.dg-phone { stroke: currentColor; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 22 12; }
.dg-help { stroke: var(--rule-strong); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 6 8; }
.dg-pack { stroke: currentColor; stroke-width: 10; stroke-linecap: round; }
.dg-step { fill: var(--bg); stroke: currentColor; stroke-width: 2.5; }
.dg-num { font: 700 17px var(--mono); fill: currentColor; text-anchor: middle; }
.one-show figcaption { margin-top: var(--s2); font-size: var(--t-small); }
.handovers { list-style: none; margin: 0 0 var(--s1); padding: 0; display: grid; gap: 6px; }
.handovers .n { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 6px; border: 2px solid var(--fg); border-radius: 50%; font: 700 13px/1 var(--mono); }
.one-show .key { color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.k { display: inline-block; width: 36px; height: 0; border-top: 6px solid var(--fg); vertical-align: middle; }
.k-pc { border-top-style: dotted; }
.k-phone { border-top-style: dashed; }
@media (forced-colors: active) { .dg-band { fill: none; stroke: CanvasText; stroke-dasharray: 2 4; } }
.one-show .key > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }


.commons { margin-top: 0; margin-bottom: var(--s5); }
.commons-card { border: 1.5px solid var(--fg); border-radius: var(--radius); padding: var(--s3); background: var(--card); max-width: 920px; }
.commons-card h2 { font-size: var(--t-h2); line-height: 1.15; margin: 0 0 var(--s2); }
.commons-card p { max-width: var(--measure); }
.commons-card .meta { color: var(--muted); font-size: var(--t-small); }
.commons-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: var(--s2) 0 0; }
.commons-go a:not(.btn) { font-weight: 700; }
.commons-line { margin: var(--s3) 0 0; font-size: var(--t-meta); color: var(--muted); }
.commons-line a { color: inherit; }


.wip-card { margin-top: var(--s2); }
.wip-card .bul { margin: 6px 0 8px; font-size: var(--t-small); color: var(--muted); }
.wip-card h3 { font-size: 17px; }


.plans-table { border-collapse: collapse; margin: 0 0 var(--s2); font-size: 16px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.plans-table th, .plans-table td { text-align: left; padding: 8px 24px 8px 0; border-top: 1px solid var(--rule); }
.plans-table thead th { font-size: 14px; font-weight: 700; border-top: 2px solid var(--fg); vertical-align: bottom; }
.plans-table tbody tr:last-child > * { border-bottom: 1px solid var(--rule); }
.plans-page .read > h3 { font-size: var(--t-h3); margin: var(--s3) 0 var(--s1); }
.plans-page .bul { margin-bottom: var(--s2); }
.plans-page .tip-src { margin-top: var(--s2); }
@media (max-width: 599px) { .plans-table th, .plans-table td { padding-right: 14px; } }


.permalink { position: relative; display: inline-block; padding: 0 0.2em; margin: -0.1em 0; font-weight: 400; font-size: 0.85em; line-height: 1; color: var(--muted); text-decoration: none; border-radius: var(--radius); opacity: 0; transition: opacity 0.15s; }
.permalink:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 0.15em; }
.glossary dt:hover > .permalink, .glossary dt:focus-within > .permalink, .entry:target > dt > .permalink, h2:hover > .permalink, h3:hover > .permalink, .permalink:focus-visible, .permalink.is-copied, :target > .permalink, :target > h2 > .permalink { opacity: 1; }
@media (hover: none), (pointer: coarse) { .permalink { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .permalink { transition: none; } }
.permalink::after { content: "Link copied"; position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 10; white-space: nowrap; font: 600 13px/1 var(--sans); letter-spacing: 0; color: var(--bg); background: var(--fg); border-radius: 3px; padding: 6px 8px; opacity: 0; pointer-events: none; }
.permalink.is-copied::after { opacity: 1; }
@media print { .permalink { display: none; } }


.calc[hidden], .calc-nojs[hidden], .calc [hidden] { display: none !important; }
.calc { margin: 0 0 var(--s3); padding: var(--s2); background: var(--card); border: 1px solid var(--rule-strong); border-radius: var(--radius); }
.calc-form { margin: 0; }
.calc-grid { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); margin: 0 0 var(--s2); }
.calc-field { display: grid; gap: 6px; margin: 0; }
.calc-field label { font-weight: 700; }
.calc-opt { font-weight: 400; color: var(--muted); }
.calc-in { display: inline-flex; align-items: center; gap: 8px; }
.calc input[type="text"], .calc select { min-height: 44px; padding: 8px 10px; font: inherit; color: var(--fg); background: var(--bg); border: 1.5px solid var(--fg); border-radius: var(--radius); }
.calc input[type="text"] { width: 6.5em; font-variant-numeric: tabular-nums; }
.calc input[type="text"]:disabled { border-color: var(--rule-strong); color: var(--muted); }
.calc input[aria-invalid="true"] { border-color: var(--latch); box-shadow: inset 0 0 0 1px var(--latch); }
.calc-unit { color: var(--muted); font-size: var(--t-small); }
.calc-modes { border: 0; margin: 0 0 var(--s2); padding: 0; min-width: 0; display: grid; gap: 8px; }
.calc-modes legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.calc-radio, .calc-check { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.calc-radio input, .calc-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fg); }
.calc-radio span { color: var(--muted); }
.calc-hint { margin: 0 0 var(--s2); font-size: var(--t-small); color: var(--muted); max-width: 60ch; }
.calc-check { margin-bottom: var(--s2); }
.calc-out { margin-top: var(--s3); padding-top: var(--s2); border-top: 2px solid var(--fg); }
.calc-total { margin: 0 0 var(--s1); }
.calc-big { font-size: var(--t-h2); font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-line { margin: 0 0 6px; }
.calc-error { margin: 0 0 var(--s1); font-weight: 700; color: var(--latch); }
.calc-math { width: 100%; border-collapse: collapse; margin: var(--s2) 0 0; font-size: var(--t-small); line-height: 1.4; font-variant-numeric: tabular-nums; }
.calc-math caption { text-align: left; font-weight: 700; padding-bottom: 6px; }
.calc-math th, .calc-math td { padding: 6px 0; border-top: 1px solid var(--rule); vertical-align: top; text-align: left; }
.calc-math th { font-weight: 400; padding-right: var(--s2); }
.calc-math th span { display: block; color: var(--muted); font-size: var(--t-meta); }
.calc-math td { text-align: right; white-space: nowrap; }
.calc-math .calc-sum th, .calc-math .calc-sum td { font-weight: 700; border-top: 2px solid var(--fg); }
.calc-nojs { color: var(--muted); }
.calc-table caption { text-align: left; font-size: var(--t-small); color: var(--muted); padding-bottom: 6px; caption-side: top; }
.calc-table td[data-mode] { text-align: right; }
.calc-table th[rowspan] { vertical-align: top; }
@media print { .calc, .calc-nojs { display: none !important; } }
.calc-table thead th:nth-child(n+3) { text-align: right; }
.calc-table td[data-mode] { white-space: nowrap; }
.calc-out.is-stale .calc-total, .calc-out.is-stale .calc-line, .calc-out.is-stale .calc-math { opacity: 0.45; }


.fold-js:not(.fold-ready) details.fold > :not(summary) { display: none; }
.fold-js:not(.fold-ready) details.fold > summary::before { content: "+"; }
details.fold { scroll-margin-top: var(--s3); }
details.fold > summary:hover { text-decoration: underline; text-underline-offset: 3px; }
details.fold[open] { padding-bottom: 4px; }
details.fold > :not(summary) { margin-left: calc(1ch + 10px); }
details.fold > summary + * { margin-top: 4px; }
details.fold > ul.bul, details.fold > ol { margin-bottom: var(--s2); }
details.fold:target > summary, details.fold:target { box-shadow: none; }
@media (max-width: 599px) { details.fold > :not(summary) { margin-left: 0; } }

details.sources { margin-top: var(--s2); border-top-style: dotted; border-top-color: var(--rule); }
details.sources > summary { min-height: 40px; padding: 8px 0 4px; font-size: var(--t-small); font-weight: 700; color: var(--muted); }
details.sources > .tip-src { display: block; margin-top: 0; margin-bottom: 8px; font-size: var(--t-small); line-height: 1.5; overflow-wrap: anywhere; }
.answer details.sources { font-weight: 400; max-width: var(--measure); margin: var(--s1) 0 6px; }
.plans-page details.fold + details.fold { margin-top: 0; }
.plans-page details.fold:not(.sources) > summary { font-size: 17px; }


.tower-fig { margin: var(--s3) 0 var(--s3); max-width: 560px; }
.tower-svg { display: block; width: 100%; height: auto; color: var(--fg); }
.tw-line, .tw-thin, .tw-down, .tw-up, .tw-up-head, .tw-edge, .tw-ground { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tw-line { stroke: currentColor; stroke-width: 3; }
.tw-thin { stroke: currentColor; stroke-width: 2; }
.tw-down { stroke: currentColor; stroke-width: 6; }
.tw-up { stroke: currentColor; stroke-width: 2; stroke-dasharray: 3 7; }
.tw-up-head { stroke: currentColor; stroke-width: 2; }
.tw-edge { stroke: var(--rule-strong); stroke-width: 2.5; stroke-dasharray: 5 6; }
.tw-ground { stroke: var(--rule-strong); stroke-width: 1.5; }
.tw-dot { fill: currentColor; }
.tw-label { font: 700 22px var(--sans); fill: currentColor; text-anchor: middle; }
.tw-note { font: 400 19px var(--sans); fill: var(--muted); }
.tower-fig .key { display: grid; gap: 6px; margin-top: var(--s1); font-size: var(--t-small); }
.tower-fig .key > span { display: flex; align-items: baseline; gap: 10px; }
.tower-fig .k { flex: none; width: 36px; height: 0; transform: translateY(-4px); }
.k-down { border-top: 6px solid var(--fg); }
.k-up { border-top: 2px dashed var(--fg); }
@media (forced-colors: active) { .tw-edge, .tw-ground { stroke: CanvasText; } .tw-note { fill: CanvasText; } }


.line-fig { margin: var(--s3) 0; max-width: 560px; }
.line-svg { display: block; width: 100%; height: auto; color: var(--fg); }
.share-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
@media (max-width: 599px) { .share-panels { grid-template-columns: minmax(0, 1fr); max-width: 360px; } }
.tw-share, .tw-you, .dip-weak, .dip-stream { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tw-share { stroke: var(--rule-strong); stroke-width: 1.5; }
.tw-you { stroke: currentColor; stroke-width: 2; stroke-dasharray: 3 7; }
.tw-phones rect { fill: none; stroke: var(--rule-strong); stroke-width: 2; }
.dip-band { fill: var(--sunk); }
.dip-fig .tw-label { font-size: 19px; }
.dip-name { text-anchor: start; }
.pieces-fig .tw-label { font-size: 20px; }
.dip-weak { stroke: currentColor; stroke-width: 2; stroke-dasharray: 3 7; }
.dip-stream { stroke: currentColor; stroke-width: 10; }
.line-fig .key { display: grid; gap: 6px; margin-top: var(--s1); font-size: var(--t-small); }
.line-fig .key > span { display: flex; align-items: baseline; gap: 10px; }
.line-fig .k { flex: none; width: 36px; height: 0; transform: translateY(-4px); }
.k-weak { border-top: 2px dashed var(--fg); }
.k-stream { border-top: 10px solid var(--fg); }
.pc-piece rect { fill: var(--bg); stroke: currentColor; stroke-width: 2; }
.pc-num { font: 700 16px var(--mono); fill: currentColor; text-anchor: middle; }
.pc-row { font: 700 19px var(--mono); fill: currentColor; text-anchor: middle; }
.pieces-fig .pc-in { font-size: 18px; }
.pc-note { text-anchor: middle; }
.why-page .read > h3 { font-size: var(--t-h3); margin: var(--s4) 0 var(--s1); scroll-margin-top: var(--s3); }
@media (forced-colors: active) { .dip-band { fill: none; stroke: CanvasText; stroke-dasharray: 2 4; } .tw-share, .tw-phones rect { stroke: CanvasText; } }

.three-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
@media (max-width: 599px) { .three-panels { grid-template-columns: minmax(0, 1fr); max-width: 270px; } }
.moving-fig { max-width: 640px; }
.tw-mid { text-anchor: middle; }
.hand-fig .tw-label, .prio-fig .tw-label, .up-fig .tw-label, .add-fig .tw-label, .md-fig .tw-label { font-size: 20px; }
.chain-fig .tw-label { font-size: 18px; }
.mv-wall, .bar { fill: var(--sunk); stroke: currentColor; stroke-width: 2; }
.bar-extra { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 4 4; }
.pr-first rect { fill: currentColor; stroke: currentColor; stroke-width: 2; }
.ch-bond { fill: var(--sunk); stroke: currentColor; stroke-width: 3; }
.ch-other { fill: none; stroke: var(--rule-strong); stroke-width: 2; }
.k-thin { border-top: 2px solid var(--fg); }
.k-edge { border-top: 2.5px dashed var(--rule-strong); }
.line-fig .k-gap, .line-fig .k-bar, .line-fig .k-extra { height: 14px; transform: translateY(2px); }
.line-fig .k-gap { border: 0; background: var(--sunk); }
.line-fig .k-bar { background: var(--sunk); border: 2px solid var(--fg); }
.line-fig .k-extra { border: 2px dashed var(--fg); }
.line-fig .k-sq { width: 16px; height: 16px; margin-right: 20px; border: 2px solid var(--fg); border-radius: 2px; transform: translateY(2px); }
.line-fig .k-sq-fill { background: var(--fg); }
.line-fig .k-box { width: 36px; height: 18px; border: 3px solid var(--fg); border-radius: 4px; background: var(--sunk); transform: translateY(3px); }
.line-fig .k-box-other { border: 2px solid var(--rule-strong); background: none; }
@media (forced-colors: active) {
  .mv-wall, .bar, .ch-bond { fill: none; stroke: CanvasText; }
  .ch-other { stroke: CanvasText; stroke-dasharray: 4 4; }
  .line-fig .k-gap { background: none; border: 2px dashed CanvasText; }
  .line-fig .k-bar, .line-fig .k-box { background: none; }
  .line-fig .k-sq-fill { forced-color-adjust: none; background: CanvasText; }
}


.os-fig { margin: var(--s3) 0 var(--s3); max-width: 620px; }
.os-svg { display: block; width: 100%; height: auto; color: var(--fg); }
.os-node, .os-band { fill: var(--card); stroke: currentColor; stroke-width: 2.5; }
.os-draft { fill: none; stroke-dasharray: 8 7; }
.os-base { fill: var(--sunk); }
.os-link, .os-tick { fill: none; stroke: var(--rule-strong); stroke-width: 2; stroke-linecap: round; }
.os-label { font: 700 17px var(--sans); fill: currentColor; text-anchor: middle; }
.os-name { font: 700 22px var(--mono); fill: currentColor; }
.os-fig .key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: var(--s1); font-size: var(--t-small); color: var(--muted); }
.os-fig .key > span { display: inline-flex; align-items: center; gap: 8px; }
.os-fig .k { flex: none; width: 28px; height: 14px; border: 2px solid var(--fg); border-radius: 4px; }
.os-fig .k-dash { border-style: dashed; }
.os-app { fill: var(--bg); stroke: var(--rule-strong); stroke-width: 2; }
.os-tick-app { stroke-dasharray: 3 5; }
.os-fig .k-app { border-color: var(--rule-strong); border-width: 2px; }
.os-around { margin-top: var(--s2); }
.os-list .os-q { font-weight: 700; margin-bottom: 6px; }
.os-list .os-state { margin-top: 8px; font-size: var(--t-small); color: var(--muted); overflow-wrap: anywhere; }
@media (forced-colors: active) { .os-node, .os-band, .os-app, .os-link, .os-tick { stroke: CanvasText; } .os-base { fill: none; stroke: CanvasText; } .os-fig .k { border-color: CanvasText; } }


.clear { clear: both; }
@media (min-width: 1200px) {
  .plans-page #data .read { max-width: none; }
  .plans-page #data .read > :not(.calc-table) { max-width: var(--read); }
  .plans-page #data .read > .calc-table { float: right; margin: 6px 0 var(--s3) var(--s4); }
  .plans-page #data .read > h3.clear, .plans-page #data .read > .calc, .plans-page #data .read > details { clear: both; }
}

.maker-table tbody th { width: 1%; min-width: 6.5em; white-space: nowrap; }




.std-names { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 var(--s1); font-size: var(--t-small); max-width: var(--read); }
.std-names li:not(:last-child)::after { content: "·"; padding: 0 8px; color: var(--muted); }
.std-teaser, .cmp-teaser { max-width: var(--read); }
.std-fold > summary { font-size: 17px; }
.std-fold > .std-list { margin-left: 0; }
.std .std-note { margin: 8px 0 0; font-size: var(--t-small); color: var(--muted); max-width: var(--measure); }
.std details.sources { margin-top: 8px; }
.cmp-fold > .cmp-hint, .cmp-fold > .cmp-scroll, .cmp-fold > details { margin-left: 0; }
.cmp-src > .cmp-notes { margin-left: 0; }
#label-list > .std-key { margin-left: 0; }
.cmp-notes { list-style: decimal; }




.site-nav a[aria-current="true"] { color: var(--fg); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }


.home .home-lead .lede { margin-bottom: var(--s4); max-width: var(--measure); }
.home-lead { padding-bottom: var(--s6); }
@media (min-width: 1100px) { .home .hub-cards.home-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }


.commons-teaser { margin: var(--s3) 0 0; font-size: var(--t-small); max-width: var(--measure); }
.parts > .commons-teaser { margin-top: var(--s5); padding-top: var(--s2); border-top: 1px solid var(--rule); }
.how-end { margin-top: var(--s4); }


.ours { max-width: var(--measure); }
.ours li { font-weight: 700; font-size: 17px; }
@media (max-width: 479px) {
  .dir-row.has-thumb { grid-template-columns: 88px minmax(0, 1fr); }
  .dir-thumb img { width: 88px; }
  .dir-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dir-facts dd { margin-bottom: 6px; }
}


.ask-line { display: block; font-size: var(--t-meta); color: var(--muted); margin-top: 2px; }
.ask-line a { color: inherit; }


.contact-list { max-width: 920px; }
@media (min-width: 1000px) { .contact-page > .parts { grid-column: 2; } }


:root { --ill: #a63f20; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ill: #ffaf88; } }
:root[data-theme="dark"] { --ill: #ffaf88; }
.why-step { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--rule); }
.why-step + :not(.why-step) { margin-top: var(--s4); }
.why-text h3 { font-size: var(--t-h3); margin: 0 0 var(--s1); scroll-margin-top: var(--s3); }
.why-text > :last-child { margin-bottom: 0; }
.why-page .why-fig { margin: var(--s3) 0 0; max-width: 480px; }
.why-fig .lb { font: 400 20px var(--sans); fill: currentColor; }
.why-fig .mid { text-anchor: middle; }
.why-fig .num { font: 700 17px var(--mono); fill: currentColor; text-anchor: middle; }
.why-fig .acc { stroke: var(--ill); }
.why-fig .acc-text { fill: var(--ill); }
.why-fig .acc-pieces rect { stroke: var(--ill); }
.why-fig .acc-band { fill: var(--ill); fill-opacity: 0.16; }
.why-fig .acc-box { fill: var(--ill); fill-opacity: 0.16; stroke: var(--ill); stroke-width: 3; }
.why-fig .tw-share { stroke-width: 2; }
.why-fig .acc-extra { fill: var(--ill); fill-opacity: 0.16; stroke: var(--ill); stroke-width: 2; stroke-dasharray: 4 4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .why-fig :is(.acc-band, .acc-box, .acc-extra) { fill-opacity: 0.3; } }
:root[data-theme="dark"] .why-fig :is(.acc-band, .acc-box, .acc-extra) { fill-opacity: 0.3; }
@media (min-width: 900px) {
  .why-page .read { max-width: none; display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); column-gap: var(--s4); align-items: start; }
  .why-page .read > * { grid-column: 1; }
  .why-page .read > .why-step { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); column-gap: var(--s4); grid-template-columns: subgrid; align-items: start; }
  .why-step > .why-text { grid-column: 1; }
  .why-page .why-step > .why-fig { grid-column: 2; margin: 4px 0 0; max-width: none; }
}
@media (forced-colors: active) {
  .why-fig .acc, .why-fig .acc-pieces rect, .why-fig .acc-box, .why-fig .acc-extra { stroke: Highlight; }
  .why-fig .acc-text { fill: Highlight; }
  .why-fig .acc-band, .why-fig .acc-box, .why-fig .acc-extra { fill: none; }
  .why-fig .acc-band { stroke: Highlight; stroke-dasharray: 2 4; }
}

/* Beta badge beside the logo: a button that opens a small note (popover: tap, click, Esc and tapping outside
   work without script; site.js adds hover and focus). */
.top .wrap > .beta { display: inline-flex; align-items: center; position: relative; margin-left: calc(10px - var(--s3)); margin-right: auto; }
.beta-badge { font: 600 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: transparent;
  border: 1px solid var(--rule-strong); border-radius: 999px; padding: 4px 8px; min-height: 24px; cursor: pointer; }
.beta-badge:hover, .beta-badge:focus-visible { color: var(--fg); border-color: var(--fg); }
.beta-badge:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.beta-tip { position: fixed; inset: auto; top: 58px; left: 16px; margin: 0; max-width: min(300px, calc(100vw - 32px)); padding: 10px 12px;
  font-size: var(--t-small); line-height: 1.4; color: var(--fg); background: var(--card); border: 1px solid var(--rule-strong);
  border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); }
.beta-tip:not(:popover-open) { display: none; }
@supports (anchor-name: --beta) {
  .beta-badge { anchor-name: --beta; }
  .beta-tip { position-anchor: --beta; top: calc(anchor(bottom) + 6px); left: anchor(left); position-try-fallbacks: flip-inline; }
}
@media print { .beta { display: none; } }

/* The tiny edit pencil: inside every data entry, muted, with a label for screen readers and a tooltip. */
.edit { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; vertical-align: middle;
  color: var(--muted); border-radius: 3px; text-decoration: none; opacity: 0.75; }
.edit svg { width: 15px; height: 15px; }
.edit:hover, .edit:focus-visible { color: var(--fg); opacity: 1; background: var(--sunk); }
.edit-line { margin: 4px 0 0; }
.glossary .entry { position: relative; }
.glossary .entry > .edit-line { position: absolute; top: var(--s3); right: 0; margin: 0; }
.glossary .entry:target > .edit-line { right: 0; }
.std-foot .edit { margin-left: 4px; }
.foot-commons .edit { width: 22px; height: 22px; vertical-align: -5px; }

/* Home: small cards for the glossary and Help under the lede. */
.home-more { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: var(--s2) 0 0; padding: 0; }
.home-more a { display: grid; grid-template-columns: 40px auto; column-gap: 10px; align-items: center; padding: 8px 14px 8px 10px;
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius); background: var(--card); color: var(--fg); text-decoration: none; max-width: 340px; }
.home-more a:hover, .home-more a:focus-visible { border-color: var(--fg); }
.home-more svg { grid-row: 1 / 3; width: 40px; height: 27px; }
.home-more strong { font-size: 16px; line-height: 1.25; }
.home-more span { font-size: var(--t-meta); line-height: 1.3; color: var(--muted); }

/* Apps and services: one overview per class, a platform filter, compact entries. */
.on-marks { height: 0; }
.on-mark { display: block; scroll-margin-top: var(--s2); }
.on-filter { margin: 0 0 var(--s3); padding: var(--s2) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.on-filter ul, .fchips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.on-filter a, .fchip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px; font-size: 15px; color: var(--fg);
  text-decoration: none; border: 1.5px solid var(--rule-strong); border-radius: var(--radius); background: var(--card); }
.on-filter a:hover, .fchip:hover { border-color: var(--fg); }
.on-filter .n, .fchip .sn { font: 500 12px/1 var(--mono); color: var(--muted); }
.fh { font-weight: 700; font-size: var(--t-small); margin: 0 0 var(--s1); }
.cls > h2 { scroll-margin-top: var(--s3); }
.links .cls + .cls { margin-top: var(--s5); }
.host-group + .host-group { margin-top: var(--s3); }
.host-group > h3 { font-size: var(--t-h3, 20px); margin: var(--s3) 0 2px; }
.host-group > .sum { margin: 0 0 var(--s1); font-size: var(--t-small); color: var(--muted); }
.svcs { list-style: none; margin: var(--s1) 0 0; padding: 0; border-top: 2px solid var(--fg); }
.svc, .block { padding: 10px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: var(--s3); }
.svc:target, .block:target { background: var(--sunk); box-shadow: -8px 0 0 var(--sunk), 8px 0 0 var(--sunk); }
.svc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0; }
.svc-name { font-weight: 700; font-size: 17px; line-height: 1.3; }
.svc-head .tag { margin-left: 0; }
.svc-plat { font: 500 12px/1.4 var(--mono); color: var(--muted); }
.svc-what { margin: 2px 0 0; font-size: var(--t-small); line-height: 1.45; max-width: 72ch; }
.svc-more > summary { display: inline-block; font-size: var(--t-meta); color: var(--muted); cursor: pointer; padding: 2px 0; }
.svc-more > summary:hover { color: var(--fg); }
.svc-more > p { margin: 4px 0 0; font-size: var(--t-small); max-width: 72ch; }
.svc-facts { color: var(--muted); }
@media (min-width: 1000px) {
  .svcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s4); }
}

/* Help: the guide directory as the Index B list. Filters: the chain, kind and product (links to empty anchors,
   so they work without script), search and a count with script. */
.fmarks { height: 0; }
.fm { display: block; scroll-margin-top: var(--s2); }
.ix-filters { display: grid; gap: var(--s2); margin: 0 0 var(--s2); }
.chainmap ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.cstep { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 10px; color: var(--fg); text-decoration: none;
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius); background: var(--card); }
.cstep:hover { border-color: var(--fg); }
.cstep .pi { width: 30px; height: 20px; color: var(--fg); }
.cstep .sl { font-weight: 700; font-size: var(--t-small); line-height: 1.2; }
.cstep .sn { font: 500 12px/1.3 var(--mono); color: var(--muted); }
.fchip .ki { width: 16px; height: 16px; }
.ix-row2 { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s2) var(--s3); }
.fgroup { margin: 0; }
.fprod > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 12px; cursor: pointer; list-style: none;
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius); background: var(--card); margin: 0; }
.fprod > summary::-webkit-details-marker { display: none; }
.fprod > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.fprod[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.fprod[open] { flex: 1 1 100%; order: 1; }
.fprod > .fchips { margin-top: var(--s1); }
.fcur { font-weight: 700; }
.fgroup .fh { margin-bottom: 6px; }
.fprod > summary.fh { font-size: 15px; }
.ix-search { flex: 1 1 16rem; margin: 0 0 0 auto; display: grid; gap: 6px; }
.ix-search[hidden], .ix-row[hidden], #dir-none[hidden] { display: none; }
.fnotes { min-height: 1.6em; margin: 0; }
.fnote { font-size: var(--t-small); margin: 0; padding: 6px 0; border-top: 1px solid var(--rule); }
.fnote .btn { min-height: 32px; padding: 0 12px; font-size: 14px; margin-left: 8px; }
.ix-rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fg); }
.ix-row { position: relative; border-bottom: 1px solid var(--rule); scroll-margin-top: var(--s3); }
.ix-row:target { background: var(--sunk); box-shadow: -8px 0 0 var(--sunk), 8px 0 0 var(--sunk); }
.ix-js .ix-row { cursor: pointer; }
.ix-line { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; padding: 12px 40px 12px 0; align-items: start; }
.ix-icon { width: 22px; height: 22px; grid-row: 1 / 4; margin-top: 2px; color: var(--fg); }
.ix-kind { font: 500 12px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.ix-tcell { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.ix-thumb { flex: none; line-height: 0; }
.ix-thumb img { width: 64px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; border: 1px solid var(--rule); }
.ix-title { font-weight: 700; line-height: 1.3; color: var(--fg); text-decoration: none; }
.ix-title:hover, .ix-title:focus-visible { text-decoration: underline; }
.ix-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.pchip { font: 600 11.5px/1 var(--mono); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 3px 7px; color: var(--muted); white-space: nowrap; }
.ix-more > summary { position: absolute; top: 6px; right: 0; display: grid; place-items: center; width: 32px; height: 32px; cursor: pointer; list-style: none; border-radius: 3px; color: var(--muted); }
.ix-more > summary::-webkit-details-marker { display: none; }
.ix-more > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.ix-more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.ix-more > summary:hover, .ix-more > summary:focus-visible { color: var(--fg); background: var(--sunk); }
.ix-row:has(.ix-more[open]) .ix-icon { color: var(--fg); }
.ix-body { padding: 0 0 12px 34px; font-size: var(--t-small); cursor: auto; }
.ix-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px var(--s3); margin: 0; }
.ix-facts > div { display: contents; }
.ix-facts dt { font-weight: 700; }
.ix-facts dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 760px) {
  .ix-line { grid-template-columns: 24px 84px minmax(0, 1fr) auto; align-items: baseline; }
  .ix-icon { grid-row: auto; align-self: start; }
  .ix-chips { justify-content: flex-end; margin-top: 0; }
  .ix-body { padding-left: 128px; }
}
.fprod > summary { font-weight: 400; }
.fsum[hidden] { display: none; }
.communities { margin-top: var(--s4); }
@media (min-width: 1000px) { .page:not(:has(> .toc)) > .parts { grid-column: 2; } }
.g { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gf { fill: currentColor; }
.fprod > summary { font-size: 15px; }
.has-thumb .ix-line { align-items: start; }
.has-thumb .ix-kind, .has-thumb .ix-chips { margin-top: 4px; }
.block[hidden], #building-blocks[hidden] { display: none; }

/* Words for app makers (irlcommons.org): the naming guide. Calm text labels, one table per word, evidence folded. */
.nm-page .page-head .meta { margin-top: 10px; }
.nm h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.nm-badge { font: 600 12px/1.2 var(--mono); letter-spacing: 0.02em; color: var(--muted); border: 1px dashed var(--rule-strong); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.nm-badge.nm-reviewed { border-style: solid; color: var(--fg); }
.nm h2 .nm-badge { position: relative; top: -3px; }
.nm-k { display: block; font-size: var(--t-meta); font-weight: 700; letter-spacing: 0.02em; color: var(--muted); margin-bottom: 2px; }
.nm-scope { font-size: var(--t-lede); line-height: 1.45; max-width: 56ch; margin: 0 0 var(--s2); }
.nm-why { max-width: var(--measure); margin: 0 0 var(--s2); }
.nm-tr { max-width: var(--measure); font-size: var(--t-small); margin: var(--s2) 0 0; }
.nm-facts { margin: 0 0 var(--s3); }
.nm-st { font-weight: 700; font-size: var(--t-small); white-space: nowrap; }
.nm-st::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; margin-right: 7px; vertical-align: 1px; }
.nm-also-used::before { background: currentColor; }
.nm-ambiguous { color: var(--caution); }
.nm-table { width: 100%; border-collapse: collapse; font-size: var(--t-small); line-height: 1.45; margin: 0 0 var(--s2); }
.nm-table caption { text-align: left; font-weight: 700; font-size: 16px; padding-bottom: 8px; }
.nm-table th, .nm-table td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-top: 1px solid var(--rule); }
.nm-table thead th { font-size: var(--t-meta); color: var(--muted); border-top: 0; border-bottom: 1.5px solid var(--fg); padding-top: 0; }
.nm-table tbody th { font-size: 16px; white-space: nowrap; }
.nm-table td:last-child { color: var(--muted); }
@media (max-width: 759px) {
  .nm-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nm-table, .nm-table tbody, .nm-table tr, .nm-table th, .nm-table td { display: block; }
  .nm-table tr { border-top: 1px solid var(--rule); padding: 10px 0; }
  .nm-table th, .nm-table td { border: 0; padding: 2px 0; }
  .nm-table tbody th { white-space: normal; }
  .nm-table td[data-label="About it"], .nm-table td[data-label="Seen in"] { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); column-gap: 10px; }
  .nm-table td[data-label="About it"]::before, .nm-table td[data-label="Seen in"]::before { content: attr(data-label); font-weight: 700; color: var(--muted); font-size: var(--t-meta); padding-top: 2px; }
  .nm-table td[data-label="Status"] { padding-bottom: 4px; }
  .nm-table caption { display: block; }
  .nm-table td.nm-empty { display: none; }
}
.nm-evidence { margin-top: var(--s2); }
.nm-ev { margin: 4px 0 0; padding-left: 1.1em; font-size: var(--t-small); max-width: var(--measure); }
.nm-ev li { margin-bottom: 8px; overflow-wrap: anywhere; }
.nm-ev .dated { margin-top: 0; font-size: var(--t-meta); white-space: nowrap; }
.nm-unv { font-size: var(--t-meta); font-weight: 700; color: var(--caution); }
.nm-propose { font-size: var(--t-small); margin: var(--s2) 0 0; }
.nm-key { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 var(--s2); max-width: var(--measure); }
.nm-key div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.nm-key dt { font-weight: 700; }
.nm-key dd { margin: 0; color: var(--muted); }
@media (min-width: 560px) { .nm-key div { grid-template-columns: 10em minmax(0, 1fr); column-gap: 16px; } }
.nm-how { max-width: var(--measure); font-size: var(--t-small); }

/* Glossary: further reading per word, folded into one quiet "More" that starts closed. */
.glossary .word-more { margin: 0; }
.glossary .word-more > details { scroll-margin-top: var(--s3); }
.glossary .word-more > details > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: var(--t-meta); color: var(--muted); cursor: pointer; list-style: none; }
.glossary .word-more > details > summary::-webkit-details-marker { display: none; }
.glossary .word-more > details > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.glossary .word-more > details[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.glossary .word-more > details > summary:hover, .glossary .word-more > details > summary:focus-visible { color: var(--fg); }
.glossary .word-more ul { margin: 4px 0 6px; padding-left: 1.1em; font-size: var(--t-small); line-height: 1.45; }
.glossary .word-more li { margin-bottom: 6px; overflow-wrap: anywhere; }
.glossary .word-more .guide-meta { color: var(--muted); }

/* Shared directory controls: search above equal-height filter fields. */
.search-field, .filter-field { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin: 0; min-width: 0; }
.search-field label, .filter-field { font-size: var(--t-small); font-weight: 700; }
.search-field input[type="search"], .filter-field select, .on-filter a { box-sizing: border-box; width: 100%; max-width: none; flex: none; height: 44px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--rule-strong); border-radius: var(--radius); background: var(--card); color: var(--fg); font: inherit; }
.filter-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ix-js .ix-filters > .chainmap, .ix-js .ix-row2 { display: none; }
.ix-search { margin: 0; }
.ix-js .fnote:not(.fnote-js), .fnote[hidden], .search-field[hidden] { display: none !important; }
.filter-reset { min-height: 32px; padding: 2px 4px; margin-left: 8px; border: 0; border-radius: 3px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.filter-reset:hover { color: var(--fg); }
.ix-rows:has(> li):not(:has(> li:not([hidden]))) { border: 0; }
@media (max-width: 520px) { .filter-controls { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } }

.search-field label { margin: 0; }
.filter-field select { font-weight: 400; }

.std-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.std-tools .word-count { margin: 0; grid-area: auto; }

/* ---------- Phone header: the site nav is one row that scrolls sideways ---------- */
@media (max-width: 859px) {
  .site-nav { border-top: 0; margin-right: calc(-1 * var(--gutter)); overflow: hidden; }
  .site-nav ul { display: flex; flex-wrap: nowrap; gap: 0 22px; overflow-x: auto; scrollbar-width: none; padding-right: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .site-nav ul::-webkit-scrollbar { display: none; }
  .site-nav li { flex: none; }
  .site-nav a { white-space: nowrap; font-size: 16px; }
}

/* ---------- Home: three groups of starting points ---------- */
.home-title { font-size: var(--t-h1); line-height: 1.06; letter-spacing: -0.025em; margin: var(--s3) 0 0; }
@media (min-width: 1000px) { .home-page > .home-title { grid-column: 2; margin-top: 48px; } }
@supports selector(:has(*)) {
  /* On an answer the title stays for screen readers only; the back link leads the page. */
  @media screen { .home-page:has(.step:not(#start):target, .step:not(#start) :target) > .home-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; } }
}
.step.start { border-top: 0; padding-top: var(--s3); }
.step.start > .grp { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: var(--s3) 0 10px; }
.step.start > .grp:first-child { margin-top: 0; }
.start .choices { gap: 8px; }
.start .choices a { grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; padding: 9px 12px; }
.start .choices .ill { width: 72px; height: 48px; }
.start .choices strong { font-size: 17px; line-height: 1.25; }
.start .choices span { font-size: 15px; line-height: 1.35; margin-top: 1px; }
@media (min-width: 600px) {
  .start .choices { gap: 16px; }
  .start .choices a { grid-template-columns: minmax(0, 1fr); padding: 14px 16px 16px; row-gap: 4px; }
  .start .choices .ill { width: 144px; height: 96px; }
}
@media (min-width: 1000px) {
  .start .choices:not(.learn), .fits-page .start .choices:not(.learn) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .start .choices .ill { width: 144px; height: 96px; }
}
/* Learn more and get help: plain rows, clearly less prominent than the cards. */
.start .choices.learn { grid-auto-rows: auto; gap: 0; }
.start .choices.learn li { display: block; }
.start .choices.learn a { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 0;
  padding: 8px 2px; background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; }
.start .choices.learn .ill { grid-row: 1 / 3; width: 40px; height: 27px; margin: 0; align-self: center; }
.start .choices.learn strong { font-size: 16px; font-weight: 700; align-self: end; }
.start .choices.learn strong::after { content: none; }
.start .choices.learn span { font-size: 14.5px; margin: 0; }
.start .choices.learn a:hover strong, .start .choices.learn a:focus-visible strong { text-decoration: underline; }
.start .choices.learn { scroll-margin-top: 56px; }
@media (min-width: 600px) { .start .choices.learn { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; } }

/* ---------- Setup answers: collapsible blocks ---------- */
details.block { border-top: 1px solid var(--rule); }
details.block:last-of-type { border-bottom: 1px solid var(--rule); }
details.block:first-child { margin-top: var(--s2); }
details.block > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 10px; padding: 10px 0; }
details.block > summary::-webkit-details-marker { display: none; }
details.block > summary::after { content: "+"; content: "+" / ""; font-family: var(--mono); font-weight: 500; font-size: 19px; line-height: 1; color: var(--muted); }
details.block[open] > summary::after { content: "\2212"; content: "\2212" / ""; }
details.block > summary h3 { display: inline; font-size: 17px; margin: 0; }
details.block > summary small { margin-left: auto; font-size: 14px; color: var(--muted); white-space: nowrap; }
details.block > summary:hover h3 { text-decoration: underline; }
details.block .picks { list-style: disc; padding: 0 0 12px 20px; margin: 0; }
details.block .picks li { padding: 0; margin: 4px 0; border: 0; }
details.block .picks li:last-child { border: 0; }
details.block .picks li.plain { font-weight: 400; }
details.block .picks li.aside { list-style: none; margin-left: -20px; font-size: 15px; color: var(--muted); }
@media print { details.block > summary::after { content: none; } }

/* ---------- Setup answers: steps, choices, watch-out marks, platform switch ---------- */
/* A step-by-step answer needs the width: its side lines follow below, as on narrower screens. */
@media (min-width: 1280px) {
  .step.steps .result-body { display: block; }
  .step.steps .result-side { margin-top: var(--s4); border-left: 2px solid var(--rule-strong); padding-left: 14px; max-width: var(--measure); }
}
a.gl { text-decoration-style: dotted; text-decoration-thickness: 1.5px; }
.result-main .pre { margin: 4px 0 6px; max-width: var(--measure); }
details.block > .pre { margin: 0 0 12px; }
details.block > .pre + .picks { margin-top: -6px; }
details.block ol.picks { list-style: decimal; padding-left: 22px; }
details.block ol.picks li { padding-left: 4px; }
.picks.mix, details.block .picks.mix { list-style: none; padding-left: 0; }
.picks.mix li, details.block .picks.mix li { position: relative; padding: 0 0 0 26px; margin: 6px 0; border: 0; }
.picks.mix li::before { content: ""; position: absolute; left: 6px; top: 0.62em; top: calc(0.5lh - 3px); width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.picks.mix li.w::before { content: "!"; content: "!" / ""; left: 0; top: 0.3em; top: calc(0.5lh - 8.5px); width: 17px; height: 17px; box-sizing: border-box; border-radius: 4px; background: none;
  border: 1.5px solid var(--caution); color: var(--caution); font: 700 12px/14px var(--sans); text-align: center; }
details.block .picks.mix li.aside { margin-left: 0; padding-left: 0; }
.picks.mix li.aside::before { content: none; }
.picks li:is(.plain, .aside) > a:first-child { font-weight: inherit; }
.picks.mix li.aside { font-size: 15px; color: var(--muted); }
.stepblock > h3.num { display: flex; align-items: baseline; gap: 10px; font-size: 19px; line-height: 1.25; margin: var(--s3) 0 6px; }
.stepblock > h3.num .n { flex: none; width: 26px; height: 26px; border-radius: 4px; background: var(--fg); color: var(--bg); font-size: 15px; line-height: 26px; text-align: center; }
.stepblock > h4.sub { font-size: 17px; margin: var(--s2) 0 2px; scroll-margin-top: var(--s3); }
.stepblock > .picks { max-width: var(--measure); }
.choose { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 10px 0 4px; padding: 0; }
@media (min-width: 560px) { .choose { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choose .opt { border: 1.5px solid var(--rule-strong); border-radius: 4px; padding: 12px 14px; background: var(--card); font-size: 15.5px; }
.choose .opt h4 { margin: 0 0 4px; font-size: 17px; }
.choose .opt p { margin: 4px 0; }
.choose .opt .picks.mix li { margin: 4px 0; }
.choose .opt .go { margin-top: 8px; }
.choose .opt .go a { font-weight: 700; }
/* Numbered steps keep their numbers; a watch-out under a step takes none. */
ol.picks.steps, details.block ol.picks.steps { list-style: decimal; padding: 0 0 12px 26px; margin: 0; max-width: var(--measure); }
ol.picks.steps > li, details.block ol.picks.steps > li { padding: 0 0 0 4px; margin: 6px 0; border: 0; }
ol.picks.steps > li::marker { font-family: var(--mono); font-weight: 700; }
ol.picks.steps .picks.mix, .picks.mix .picks.mix, details.block .picks .picks.mix { padding: 0; margin: 4px 0 0; }
.picks.mix.loose { margin: var(--s2) 0; }
.result-main > .picks.mix.loose.before { margin-bottom: var(--s1); }
.ask-q .ask-text { margin: 0 0 var(--s2); max-width: var(--measure); }
.ask-q h3.q:has(+ .ask-text) { margin-bottom: 6px; }
.q-side { margin-top: var(--s3); border-left: 2px solid var(--rule-strong); padding-left: 14px; max-width: var(--measure); }
.q-side > :first-child { margin-top: 0; }
.q-side .send { margin: var(--s2) 0 0; }
.picks li > a.gl:first-child { font-weight: inherit; }
@media (min-width: 760px) { .step.question .q-side { margin-left: calc(240px + var(--s4)); } }
.cool-tips .picks.mix.tips li { padding: 0 0 0 26px; margin: 8px 0; border: 0; }
.plats { margin: 0 0 12px; }
.plat h4 { margin: 8px 0 2px; font-size: 16px; }
.plats.is-switch .plat h4 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.plat[hidden], .seg[hidden] { display: none; }
.seg { display: inline-flex; border: 1.5px solid var(--rule-strong); border-radius: 4px; overflow: hidden; margin: 2px 0 6px; }
.seg button { font: inherit; font-size: 15px; color: var(--fg); background: none; border: 0; padding: 5px 14px; cursor: pointer; min-height: 36px; }
.seg button + button { border-left: 1.5px solid var(--rule-strong); }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); font-weight: 700; }
.seg button:focus-visible { outline: 2px solid var(--fg); outline-offset: -4px; }
.seg button[aria-pressed="true"]:focus-visible { outline-color: var(--bg); }
@media (forced-colors: active) {
  .seg button[aria-pressed="true"] { background: Highlight; color: HighlightText; }
  .picks.mix li::before { background: CanvasText; }
  .picks.mix li.w::before { border-color: CanvasText; color: CanvasText; background: none; }
}
@media print { .seg { display: none; } .plat[hidden] { display: block; } .plats.is-switch .plat h4 { position: static; width: auto; height: auto; clip: auto; } }
