/* Guides, comparisons and the glossary. Loads after site.css on pages whose meta has "css":"guides".
   Layout idea: the docs split on every page in the section. A 220px rail (contents, a cluster name or a letter)
   beside a 760px reading column; running text is held to about 68 characters, tables and code use the full column.
   Every colour is a token from tokens.css, so light and dark need no rules here. Classes are prefixed g-. */

/* ---- breadcrumb ---- */
.g-crumb { padding-block: clamp(16px, 3vw, 28px) clamp(20px, 3.4vw, 36px); }
.g-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; font: 12.5px/1.4 var(--mono); color: var(--dim); }
.g-crumb li { display: flex; align-items: center; gap: 8px; flex: none; }
.g-crumb li + li::before { content: "/"; color: var(--line2); }
.g-crumb li:last-child { display: block; flex: 0 1 auto; min-width: 0; }
.g-crumb li:last-child::before { margin-right: 8px; }
.g-crumb a { color: var(--mut); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.g-crumb a:hover { color: var(--accent-ink); }
.g-crumb li[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- guide and comparison layout: rail + reading column ---- */
.g-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); grid-template-areas: "toc head" "toc body"; column-gap: clamp(24px, 5vw, 64px); align-items: start; padding-bottom: var(--s24); }
.g-head { grid-area: head; display: flex; flex-direction: column; gap: var(--s4); padding-bottom: var(--s10); min-width: 0; }
.g-head .eyebrow { text-decoration: none; align-self: flex-start; }
a.eyebrow:hover { text-decoration: underline; }
.g-head .display { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -.025em; max-width: 24ch; }

/* Short answer: a pane with a head strip, set in the Read view size. The first thing after the H1. */
.g-answer { border: 1px solid var(--line2); border-radius: var(--r-lg); background: var(--panel); overflow: hidden; margin-top: var(--s2); scroll-margin-top: 84px; }
.g-answer > .label { display: flex; align-items: center; gap: 8px; padding: 10px var(--s4); background: var(--panel2); border-bottom: 1px solid var(--line); color: var(--mut); }
.g-answer > .label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.g-answer > p { padding: var(--s4) var(--s5) var(--s5); font-size: var(--fs-read); line-height: 1.5; color: var(--ink); }
.g-answer code { font: .86em var(--mono); background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r-xs); padding: 1px 5px; overflow-wrap: anywhere; }
/* comparison pages: two lanes, "Pick X if" and "Pick Orpheus if" */
.g-pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.g-pick > p { padding: var(--s4) var(--s5) var(--s5); font-size: 16.5px; line-height: 1.55; color: var(--mut); }
.g-pick > p + p { border-left: 1px solid var(--line); }
.g-pick > p b { display: block; font-size: var(--fs-read); line-height: 1.3; font-weight: 650; color: var(--ink); margin-bottom: 6px; }

.g-byline { display: flex; flex-wrap: wrap; gap: 0 8px; font: 12.5px/1.6 var(--mono); color: var(--dim); }
.g-byline .who { color: var(--mut); }
.g-byline a { color: var(--mut); }

/* On this page: sidebar on desktop, a collapsed row on phones. Closed in the source; build.js opens it on desktop. */
.g-toc { grid-area: toc; position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow-y: auto; font-size: 14px; }
.g-toc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s2); cursor: pointer; }
.g-toc summary::-webkit-details-marker { display: none; }
.g-toc summary svg { display: none; }
.g-toc nav { display: flex; flex-direction: column; gap: 2px; }
.g-toc a { color: var(--mut); text-decoration: none; padding: 5px 10px; border-left: 2px solid var(--line); }
.g-toc a:hover, .g-toc a[aria-current] { color: var(--ink); border-color: var(--accent); }
.g-toc a.sub { padding-left: 22px; font-size: 13.5px; }
@supports selector(::details-content) {
  @media (min-width: 860px) {
    .g-toc::details-content { content-visibility: visible; }   /* open on desktop even with scripts off */
    .g-toc summary { pointer-events: none; cursor: default; }
  }
}

/* ---- reading column ---- */
.g-body { grid-area: body; font-size: 17px; line-height: 1.65; }
.g-body > p, .g-body > ul, .g-body > ol:not(.g-steps):not(.g-sources) { max-width: 68ch; }
.g-body h2 { margin-top: var(--s12); }
.g-body h2:first-child { margin-top: 0; }
.g-body h3 { font-size: 19px; scroll-margin-top: 84px; }
.g-body a { text-decoration-thickness: 1px; }
.g-ref { font: 600 11px/1 var(--mono); vertical-align: super; }
.g-ref a { text-decoration: none; padding: 4px 3px; }
.g-ref a::before { content: "["; } .g-ref a::after { content: "]"; }
.note.warn { border-left-color: var(--warn); background: var(--warn-soft); }

/* data table: caption on top, source line under it. Scrolls inside .tablewrap on phones. */
.g-table { margin: var(--s2) 0; display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.g-table .tablewrap { container-type: inline-size; }
.g-table caption { position: sticky; left: 0; max-width: 100cqi; caption-side: top; text-align: left; padding: 12px 14px; font: 600 15px/1.4 var(--sans); color: var(--ink); border-bottom: 1px solid var(--line); }
.g-table td, .g-table th { font-variant-numeric: tabular-nums; }
.g-table .num { text-align: right; }
.g-table td.num { font-family: var(--mono); font-size: 13.5px; }
/* first column wraps (site.css keeps it on one line, which cut long cells off); two-column tables fit a phone without scrolling */
.g-body .g-table td:first-child { white-space: normal; }
.g-body .g-table table:not(.g-cmp) td:first-child { min-width: 12ch; }
@media (min-width: 700px) { .g-body .g-table td:first-child code { white-space: nowrap; } }
.g-body .g-table table:not(:has(th:nth-child(3), td:nth-child(3))) { min-width: 0; }
/* five and six column tables keep readable columns on a phone and scroll inside the box */
.g-body .g-table table:not(.g-cmp):has(th:nth-child(5), td:nth-child(5)) { min-width: 620px; }
.g-body .g-table table:not(.g-cmp):has(th:nth-child(6), td:nth-child(6)) { min-width: 720px; }
/* row headers (Total rows, labelled rows) read as body text, not as column headers */
.g-body .g-table table:not(.g-cmp) tbody th[scope="row"] { font: inherit; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); }
.g-body .tablewrap tbody tr:last-child > th { border-bottom: 0; }
/* edge shadow while a wide table has more to scroll to */
.g-table .tablewrap {
  background:
    linear-gradient(90deg, var(--panel) 40%, transparent) 0 0 / 36px 100% no-repeat local,
    linear-gradient(270deg, var(--panel) 40%, transparent) 100% 0 / 36px 100% no-repeat local,
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 14%, transparent), transparent) 0 0 / 12px 100% no-repeat scroll,
    linear-gradient(270deg, color-mix(in srgb, var(--ink) 14%, transparent), transparent) 100% 0 / 12px 100% no-repeat scroll,
    var(--panel);
}
.g-table figcaption, .g-src { font-size: 13.5px; line-height: 1.5; color: var(--dim); }
.g-table figcaption a, .g-src a { color: var(--mut); }
.g-table figcaption a:hover, .g-src a:hover { color: var(--accent-ink); }

/* numbered steps: a real sequence, so the numbers are drawn and joined by a line */
.g-body ol.g-steps { list-style: none; padding: 0; gap: 0; counter-reset: gstep; }
.g-steps > li { position: relative; counter-increment: gstep; padding: 0 0 var(--s6) 46px; display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.g-steps > li:last-child { padding-bottom: 0; }
.g-steps > li::before { content: counter(gstep); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line2); background: var(--panel); display: flex; align-items: center; justify-content: center; font: 600 13px/1 var(--mono); color: var(--accent-ink); }
.g-steps > li::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 6px; width: 1px; background: var(--line); }
.g-steps > li:last-child::after { display: none; }
.g-body .g-steps h3 { margin: 1px 0 0; font-size: 17.5px; line-height: 1.5; color: var(--ink); }
.g-steps p { max-width: 64ch; }

/* quoted source */
.g-quote { margin: var(--s2) 0; padding: 2px 0 2px var(--s5); border-left: 2px solid var(--line2); display: flex; flex-direction: column; gap: var(--s2); }
.g-quote .label { color: var(--mut); }
.g-quote blockquote { margin: 0; display: flex; flex-direction: column; gap: var(--s3); }
.g-body .g-quote blockquote p { font-size: 18.5px; line-height: 1.5; color: var(--ink); max-width: 60ch; }
.g-src svg.i { vertical-align: -2px; margin-left: 3px; }

/* sources */
.g-body ol.g-sources { list-style: none; padding: 0; gap: 0; counter-reset: gsrc; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.g-sources > li { counter-increment: gsrc; position: relative; padding: 12px 0 12px 40px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; scroll-margin-top: 84px; }
.g-sources > li::before { content: "[" counter(gsrc) "]"; position: absolute; left: 0; top: 14px; font: 12.5px/1.5 var(--mono); color: var(--dim); }
.g-sources > li:target { background: var(--accent-soft); }
.g-sources a { color: var(--ink); overflow-wrap: anywhere; flex-basis: 100%; }
.g-sources a:hover { color: var(--accent-ink); }
.g-sources .pub, .g-sources .when { font: 12.5px/1.5 var(--mono); color: var(--dim); }

/* product block: the one accent action on the page. Goes after the main answer, never before it. */
.g-product { margin-block: var(--s6) var(--s2); padding: var(--s5) var(--s6); border: 1px solid var(--accent-line); border-radius: var(--r-lg); background: var(--accent-soft); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4) var(--s8); align-items: center; }
.g-product .txt { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.g-product .k { display: flex; align-items: center; gap: 9px; font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.g-body .g-product .k { color: var(--accent-ink); }
.g-product .k .mark { width: 20px; height: 20px; }
.g-body .g-product .txt p:not(.k) { color: var(--ink); font-size: 16.5px; line-height: 1.55; max-width: 52ch; }
.g-product .act { display: flex; flex-direction: column; align-items: center; gap: var(--s2); }
.g-product .undercta { text-align: center; max-width: 25ch; align-self: center; }

/* related guides */
.g-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--s3); }
.g-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: var(--s4) 44px var(--s4) var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); color: inherit; text-decoration: none; transition: border-color var(--t) var(--ease), background var(--t) var(--ease); }
.g-cards > .g-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.g-card b { font-size: 16.5px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.g-card span { font-size: 14.5px; line-height: 1.5; color: var(--mut); }
.g-card small { margin-top: auto; padding-top: 6px; font: 12px/1.4 var(--mono); color: var(--dim); }
.g-card::after, .g-item::after { content: ""; position: absolute; right: 20px; width: 7px; height: 7px; border-top: 1.5px solid var(--dim); border-right: 1.5px solid var(--dim); transform: rotate(45deg); }
.g-card::after { top: 24px; }
.g-card:hover { border-color: var(--accent-line); background: var(--panel2); }
.g-card:hover b, .g-item:hover b { color: var(--accent-ink); }
.g-card:hover::after, .g-item:hover::after { border-color: var(--accent-ink); }

/* FAQ: plain question and answer, all of it visible */
.g-faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.g-faq > div { padding: var(--s4) 0 var(--s5); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.g-body .g-faq h3 { margin: 0; font-size: 17.5px; line-height: 1.4; }
.g-faq p { max-width: 68ch; }

/* ---- comparison ---- */
.g-body .tablewrap table.g-cmp { min-width: 0; table-layout: fixed; font-size: 15px; line-height: 1.45; }
.g-cmp thead th { vertical-align: bottom; }
.g-body .g-cmp thead th:not(:first-child) { font: 650 15.5px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.g-cmp thead th .mark { width: 18px; height: 18px; vertical-align: -3px; margin-right: 7px; }
.g-body .g-cmp tbody th[scope="row"] { width: 36%; font: 500 15px/1.45 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.g-body .g-cmp tr.grp th { background: var(--panel2); padding-block: 8px; }
.g-body .g-cmp td { white-space: normal; color: var(--mut); }
/* value text is one inline run (so inline code stays in the sentence); the mark hangs in the left padding */
.g-cmp .v { display: block; position: relative; min-width: 0; }
.g-cmp .v:has(> svg.i), .g-cmp .part .v { padding-left: 23px; }
.g-cmp .v > svg.i { position: absolute; left: 0; top: 3px; }
.g-cmp .yes .v { color: var(--ink); } .g-cmp .yes svg.i { color: var(--good); }
.g-cmp .no .v, .g-cmp .no svg.i { color: var(--dim); }
.g-cmp .part .v::before { content: ""; position: absolute; left: 2px; top: 5px; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--mut); background: linear-gradient(90deg, var(--mut) 50%, transparent 50%); }
.g-cmp small { display: block; font: 12px/1.5 var(--mono); color: var(--dim); }

/* where each one is better: two equal panels, the other product first */
.g-sides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3); margin-top: var(--s10); }
.g-side { display: flex; flex-direction: column; gap: var(--s3); min-width: 0; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.g-body .g-side h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.g-side ul { font-size: 15.5px; line-height: 1.55; gap: 10px; }

/* pricing row: one tile per product, each with the date it was checked */
.g-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); overflow: hidden; }
.g-prices > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: var(--s4) var(--s5) var(--s5); box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); }
.g-prices .label { margin-bottom: 4px; }
.g-prices .amt { font: 600 21px/1.25 var(--mono); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.g-body .g-prices p { font-size: 14.5px; line-height: 1.5; }
.g-body .g-prices .g-src { margin-top: auto; padding-top: var(--s2); font: 12px/1.5 var(--mono); }

/* ---- hub ---- */
.g-hub, .g-gloss { padding-bottom: var(--s24); }
.g-top { display: flex; flex-direction: column; gap: var(--s4); padding-bottom: var(--s10); }
.g-top .display { font-size: clamp(32px, 4.6vw, 52px); max-width: 20ch; }
.g-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s2); }
.g-jump a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line2); border-radius: var(--r-pill); color: var(--mut); font-size: 14px; text-decoration: none; }
.g-jump a:hover { color: var(--ink); border-color: var(--accent); }
.g-jump a.ref { color: var(--ink); background: var(--panel2); }
.g-cluster { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: clamp(24px, 5vw, 64px); align-items: start; padding-block: var(--s10); border-top: 1px solid var(--line); scroll-margin-top: 61px; }
.g-cluster:last-child { padding-bottom: 0; }
.g-rail { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.g-rail h2 { font-size: 20px; font-weight: 650; letter-spacing: -.01em; }
.g-rail p { font-size: 14px; line-height: 1.5; color: var(--dim); }
.g-rail .n { font: 12px/1.5 var(--mono); color: var(--dim); }
.g-list { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.g-list li + li { border-top: 1px solid var(--line); }
.g-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--s5); align-items: center; padding: 14px 48px 14px var(--s5); color: inherit; text-decoration: none; transition: background var(--t) var(--ease); }
.g-item b { grid-column: 1; font-size: 16.5px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.g-item span { grid-column: 1; font-size: 14.5px; line-height: 1.5; color: var(--mut); }
.g-item small { grid-column: 2; grid-row: 1 / span 2; font: 12px/1.4 var(--mono); color: var(--dim); white-space: nowrap; }
.g-item::after { top: calc(50% - 4px); }
.g-item:hover { background: var(--panel2); }

/* ---- glossary ---- */
.g-azbar { position: sticky; top: 61px; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.g-az { display: flex; align-items: center; gap: 2px; min-height: 48px; font: 500 13px/1 var(--mono); }
.g-az a, .g-az span { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); }
.g-az a { color: var(--ink); text-decoration: none; }
.g-az a:hover { background: var(--panel2); color: var(--accent-ink); }
.g-az span { color: var(--line2); }
.g-letter { display: grid; grid-template-columns: 220px minmax(0, 760px); column-gap: clamp(24px, 5vw, 64px); align-items: start; padding-block: var(--s8); border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.g-letter:last-child { border-bottom: 0; }
.g-letter > h2 { position: sticky; top: 134px; font: 600 28px/1 var(--mono); color: var(--dim); }
.g-terms { margin: 0; display: flex; flex-direction: column; gap: var(--s6); min-width: 0; }
.g-term { display: flex; flex-direction: column; gap: 6px; scroll-margin-top: 134px; }
.g-term dt { font-size: 19px; line-height: 1.3; font-weight: 650; letter-spacing: -.005em; }
.g-term dt a { color: var(--ink); text-decoration: none; }
.g-term dt a::after { content: "#"; margin-left: 8px; font: 400 15px var(--mono); color: var(--dim); opacity: 0; }
.g-term dt a:hover::after, .g-term dt a:focus-visible::after, .g-term:target dt a::after { opacity: 1; }
.g-term:target dt a { color: var(--accent-ink); }
.g-term dd { margin: 0; display: flex; flex-direction: column; gap: 6px; max-width: 68ch; font-size: 16.5px; line-height: 1.6; color: var(--mut); }
.g-term dd code { font: .88em var(--mono); background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r-xs); padding: 1px 5px; overflow-wrap: anywhere; }
.g-term .see { font-size: 14.5px; color: var(--dim); }

/* ---- tablet and phone ---- */
@media (max-width: 859px) {
  .g-crumb a { min-height: var(--tap); }
  .g-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "toc" "body"; padding-bottom: var(--s16); }
  .g-head { padding-bottom: var(--s5); }
  .g-toc { position: static; max-height: none; overflow: visible; margin-bottom: var(--s8); border: 1px solid var(--line2); border-radius: var(--r-md); background: var(--panel); }
  .g-toc summary { min-height: var(--tap); margin: 0; padding: 0 var(--s4); }
  .g-toc summary .label { font-size: 12px; color: var(--mut); }
  .g-toc summary svg { display: block; color: var(--dim); transition: transform var(--t) var(--ease); }
  .g-toc[open] summary { border-bottom: 1px solid var(--line); }
  .g-toc[open] summary svg { transform: rotate(180deg); }
  .g-toc nav { gap: 0; }
  .g-toc a, .g-toc a.sub { display: flex; align-items: center; min-height: var(--tap); padding: 6px var(--s4); border-left: 0; font-size: 15px; line-height: 1.35; }
  .g-toc a.sub { padding-left: var(--s8); }
  .g-toc a + a { border-top: 1px solid var(--line); }
  .g-toc a[aria-current] { box-shadow: inset 2px 0 0 var(--accent); }

  .g-hub, .g-gloss { padding-bottom: var(--s16); }
  .g-top { padding-bottom: var(--s8); }
  .g-jump a { min-height: var(--tap); }
  .g-cluster, .g-letter { grid-template-columns: minmax(0, 1fr); row-gap: var(--s4); }
  .g-cluster { padding-block: var(--s8); }
  .g-rail, .g-letter > h2 { position: static; }
  .g-az { overflow-x: auto; scrollbar-width: none; }
  .g-az::-webkit-scrollbar { display: none; }
  .g-az span { display: none; }                 /* phones list only the letters that have terms */
  .g-az { gap: 0; }
  .g-az a { flex: 1 0 36px; width: auto; max-width: 56px; height: var(--tap); font-size: 15px; }
  .g-letter { padding-block: var(--s6); }
}
@media (max-width: 699px) {
  .g-answer > p { padding: var(--s4); }
  .g-pick { grid-template-columns: minmax(0, 1fr); }
  .g-pick > p { padding: var(--s4); }
  .g-pick > p + p { border-left: 0; border-top: 1px solid var(--line); }
  .g-product { grid-template-columns: minmax(0, 1fr); padding: var(--s5); }
  .g-product .act { align-items: stretch; }
  .g-sides { grid-template-columns: minmax(0, 1fr); }
  .g-item { grid-template-columns: minmax(0, 1fr); padding-right: 44px; }
  .g-item small { grid-column: 1; grid-row: auto; margin-top: 4px; white-space: normal; }

  /* comparison table stacks: one block per criterion, one labelled line per product. No sideways scroll. */
  .g-cmp, .g-cmp tbody, .g-cmp tr, .g-cmp th, .g-cmp td, .g-cmp caption { display: block; }
  .g-cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .g-body .g-cmp tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .g-body .g-cmp tr:last-child { border-bottom: 0; }
  .g-body .g-cmp th, .g-body .g-cmp td { padding: 0; border: 0; }
  .g-body .g-cmp tbody th[scope="row"] { width: auto; padding-bottom: 8px; font-weight: 600; }
  .g-body .g-cmp tr.grp { padding: 0; }
  .g-body .g-cmp tr.grp th { padding: 8px 14px; }
  .g-body .g-cmp td { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding-block: 5px; }
  .g-cmp td::before { content: attr(data-label); padding-top: 3px; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .g-toc summary svg, .g-card, .g-item { transition: none; }
}
