/* hiw-topic.css: the five How It Works topic pages' own sheet (/how-it-works/schema, /verified, /guards,
   /models, /measurement, /your-data; design audit pass, plan 2026-11-09-2150 U22, signed spec specs/hiw-topic-template.md).
   Linked last by lib/site/templates/hiw-topic.ts, after the main page's sheets (how.css, clean.css,
   audience.css), so it reaches the five topic pages and no other page. It styles the markup that template
   prints: the host row above the first chapter, the figure column, the Record's example card and the chapters' end.
   The hero is the shared open hero (round two, Scene family), styled wholly by sections.css; this sheet
   leaves it alone (the old 46svh cap on the band scene's image went with the band). */

/* 2. the questions: the host row, above the first chapter in the right column. The host-pose cut-out at
   about 200px tall (150px on a phone), its bubble above it and the roster pill under it; beside it, the
   page's one plain paragraph at lede size. */
.ht-host { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: 0 0 clamp(28px, 3.4vw, 44px); }
.ht-host__fig { margin: 0; display: grid; justify-items: center; gap: 8px; }
.ht-host__says { justify-self: center; }
.ht-host__uwee { width: 200px; height: 200px; display: flex; align-items: flex-end; justify-content: center; }
.ht-host__uwee img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.ht-host__role { font-family: var(--ui); font-size: clamp(.9rem, .85rem + .2vw, 1rem); font-weight: 800; line-height: 1.2; text-align: center; color: var(--paper); background: var(--navy); border-radius: 999px; padding: 9px 20px; max-width: 100%; width: fit-content; }
.ht-host__text { margin: 0; max-width: 34ch; color: var(--fg); }
/* U18: the pill carries `jobCaption` (job first, then the name after a dot); on the navy pill both read in paper. */
.ht-host__role .sx-job { font-size: inherit; }
.ht-host__role .sx-job b, .ht-host__role .sx-job__name, .ht-host__role .sx-job__name::before { color: inherit; }
.ht-host__role .sx-job__name { font-weight: 600; opacity: .85; }
@media (max-width: 860px) {
  .ht-host { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .ht-host__uwee { width: 150px; height: 150px; }
  .ht-host__text { max-width: 40ch; }
}

/* the figure stands beside the copy of the chapter that names it, no wider than 360px on a desktop; how.css
   already puts it under the copy at 860px and below */
@media (min-width: 861px) { .ht-chapters .chapter .two--check { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); } }

/* the Record's example: the walk-through's step-one card (audience.css .client-record), with the record's
   own color in one swatch on the Palette line */
.ht-record { min-height: 0; margin-top: 14px; max-width: 560px; box-shadow: var(--shadow); }
.ht-record__palette { display: flex; align-items: center; gap: 12px; }
.ht-record__palette .cr-sw { flex: none; }
.ht-record__caption { margin: 10px 0 0; }

/* The chapters' end: the `Next:` topic in the ring, then the sibling row (round two spec part B, R11): a small head,
   then the other five topics as a plain wrapping list, no separator characters. The navy close that carried both
   (the strip whole, the h2, Let's Talk) went in plan 2026-11-11-2305 U9. On the paper ground: --fg and --rule. */
.ht-end { margin: clamp(32px, 4vw, 56px) 0 0; padding: 20px 0 0; border-top: 1px solid var(--rule); }
.ht-end__next { margin: 0; font-weight: 600; }
.ht-end__next a { color: var(--fg); }
.ht-end__siblings { margin: 22px 0 0; }
.ht-end__siblings h3 { margin: 0 0 10px; font-family: var(--ui); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); opacity: .8; }
.ht-end__siblings ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.ht-end__siblings a { color: var(--fg); font-weight: 600; }

/* Build three (plan 2026-11-11-2305 U18, spec round-three/specs/hiw-topics.md): the denser evidence register.
   You are here: the compact strip at the top of the questions band, the topic's station current (depth.css draws it). */
.ht-here { padding-bottom: clamp(20px, 2.6vw, 36px); }

/* The page's lead block: the Record's sheet (#sheet), a small label above it and one muted caption under it.
   scroll-margin keeps the label clear of the sticky header when a link lands on it. */
.ht-lead { padding-bottom: clamp(28px, 3.4vw, 48px); }
.ht-sheet { scroll-margin-top: 96px; } /* the sheet takes the full text width: four columns need it (lead, wave 3) */
.ht-sheet > .label { margin: 0 0 12px; line-height: inherit; text-wrap: wrap; } /* build six G3-U2: an h2 (the lead's heading, so the sheet's group h3s do not skip a level), set as the label it was */
.ht-sheet__caption { margin: 12px 0 0; }
.ht-up { margin: 16px 0 0; font-weight: 600; }

/* A chapter's part (a table, a diagram, a fact list), printed after its copy at the chapter's full width. */
.ht-part { margin-top: clamp(22px, 2.6vw, 32px); min-width: 0; }
.ht-part .dp-tablewrap { overflow-x: auto; }

/* Folded parts: kit.js closes the fold at 720 and under. Above that it is printed open with its summary hidden and the
   part's own caption showing; at phone width the summary names the part and the caption stays in the outline, unseen. */
.ht-part > .kit-fold > .kit-fold__summary { display: none; }
.ht-part > .kit-fold > .kit-fold__body { padding-top: 0; }
@media (max-width: 720px) {
  .ht-part > .kit-fold > .kit-fold__summary {
    display: flex; justify-content: space-between; gap: 12px; list-style: none; border-top: 1px solid var(--rule); padding-top: 10px;
    font-family: var(--head); font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: var(--fg);
  }
  .ht-part > .kit-fold > .kit-fold__summary::-webkit-details-marker { display: none; }
  .ht-part > .kit-fold[open] > .kit-fold__body { padding-top: 12px; }
  .ht-part > .kit-fold .dp-table > caption,
  .ht-part > .kit-fold .dp-pipe__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; }
}

/* A chapter's facts: a short list in the depth register, an amber square for each line. */
.ht-facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 62ch; }
.ht-facts li { position: relative; padding-left: 18px; font-size: .95rem; line-height: 1.5; }
.ht-facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 1px; background: var(--amber); }

/* One line the old close carried, set as a pull line inside the chapter it belongs to. */
.ht-pull { margin: clamp(20px, 2.4vw, 28px) 0 0; padding-left: 16px; border-left: 3px solid var(--amber); font-family: var(--head); font-weight: 700; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); line-height: 1.3; color: var(--fg); max-width: 34ch; }
/* FIX-6: a pull line followed straight by its facts (Guards' "Guarded by code.") gets the same breath the facts get from a
   lede, instead of sitting flush on its bullets. */
.ht-pull + .ht-facts { margin-top: 14px; }
/* FIX-6: a verdict row's own "more" link (Models' Capped row) sits on its own line under the row's sentence, so the row
   reads like its siblings (one statement) and the link is the row's footnote, not a clause mid-sentence. */
.verdicts .ht-row-more { display: table; margin-top: 4px; font-size: .9rem; }
/* The site's text-link arrow (site.css: main p a:not([class])), which the class above would otherwise drop. */
.verdicts .ht-row-more::after { content: " \2192"; content: " \2192" / ""; display: inline-block; margin-left: .25em; transition: transform .18s ease; }

/* Your Data: the basics, three cells on one screen (a fourth when the storage line is turned on). */
.ht-basics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: clamp(14px, 2vw, 22px); margin-top: 18px; }
.ht-basics__cell { min-width: 0; border: 1px solid var(--rule); border-radius: 14px; padding: 18px 18px 16px; background: var(--paper); display: flex; flex-direction: column; }
.ht-basics__cell h3 { margin: 0 0 10px; font-family: var(--ui); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); }
.ht-basics__cell ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: .92rem; line-height: 1.45; }
.ht-basics__of { font-weight: 600; }
.ht-basics__more { margin: auto 0 0; padding-top: 14px; font-size: .9rem; font-weight: 600; }

/* Your Data's keeps list (FIX-6: was bare bullets with the backing facts wedged between them): each kept thing a card in
   the family's verdict-card look (how.css .verdicts: the card ground, 12px corners, 8px apart), and the fact that backs a
   row sits inside its card under a hairline in muted text, as a pipeline step's facts do. */
.ht-kept { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; max-width: 640px; }
.ht-kept li { padding: 12px 16px; border-radius: 12px; background: var(--card); line-height: 1.5; }
.ht-kept li > .dp-fact { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule); font-size: .88rem; line-height: 1.45; color: var(--muted); }

/* Measurement: the verdicts as a row of tags, built in by the kit; "correct" alone takes the accent. */
.ht-verdicts { margin: 0; }
/* A short chapter with a tall picture (the bar): the verdict tags sit in the words' column beside the picture, not under
   an empty half (lead, wave 3). The chapter becomes the grid; the two-up's children join it. */
@media (min-width: 1100px) {
  article.chapter:has(> .ht-part > .ht-verdicts) { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto auto 1fr; column-gap: 24px; align-items: start; }
  article.chapter:has(> .ht-part > .ht-verdicts) > * { grid-column: 1 / -1; }
  article.chapter:has(> .ht-part > .ht-verdicts) > .two { display: contents; }
  article.chapter:has(> .ht-part > .ht-verdicts) > .two > div { grid-column: 1; }
  article.chapter:has(> .ht-part > .ht-verdicts) > .two > figure.shot { grid-column: 2; grid-row: 2 / span 2; }
  article.chapter:has(> .ht-part > .ht-verdicts) > .ht-part { grid-column: 1; }
}
.ht-verdicts .kit-build__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ht-tag { display: inline-block; font-family: var(--ui); font-size: .86rem; font-weight: 700; line-height: 1.2; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--rule); color: var(--fg); background: var(--paper); }
.ht-tag--accent { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.ht-verdicts__cap { margin: 12px 0 0; font-size: .92rem; color: var(--muted); max-width: 62ch; }

/* Build five (Sarah 6APnncL6ZcBp, /how-it-works/verified): Stale beside "How a draft is checked" was a 72px corner
   figure. Here it stands at its own size in the diagram's top row, the title level with its feet, so it covers none of
   the diagram's words. Under #ht-check-pipe, which only the verified page prints. */
#ht-check-pipe { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 20px; }
#ht-check-pipe > .dp-pipe__title { grid-column: 1; grid-row: 1; }
#ht-check-pipe > .dp-pipe__uwee { position: static; grid-column: 2; grid-row: 1; width: 136px; margin: 0 0 8px; }
#ht-check-pipe > .dp-pipe__build { grid-column: 1 / -1; }
@media (max-width: 720px) { #ht-check-pipe > .dp-pipe__uwee { width: 104px; } }
/* Build six part two FIX-6 (page walk: the three cards had three heights, and Stale hung in the air over the last one).
   Above 720px the cards in the row share one height (the row is the list's grid row; each card fills its step), and
   Stale stands on the last card's top edge, drawn over its border, instead of 8px above it. Under 720px the cards stack,
   each as tall as its words, and Stale still stands on the first card. Scoped here: other pipelines keep their
   top-aligned cards (depth.css). */
#ht-check-pipe > .dp-pipe__uwee { position: relative; top: auto; right: auto; z-index: 1; margin-bottom: -16px; }
@media (min-width: 721px) { #ht-check-pipe .kit-build__step { align-items: stretch; } }

/* Build six (plan 2026-11-14-1409 G1-U4, Sarah BFfFpzAFEExc). Models: the routing table drawn as a heat grid, four jobs by
   three tiers. Each cell prints its class word; its fill steps one shade deeper per class (data-class, the index in
   MODEL_CLASSES), a cool ramp from the paper's own second shade to navy, ink text on the two light steps and paper on the
   two dark ones (each pair clears 4.5:1). Adjacent cells are a true grid: 2px gaps, only the block's outer corners round.
   The grid is aria-hidden; the table it draws sits in .sr-only beside it. Under 560px each job takes its own line above
   its three cells, and each row of cells rounds as its own strip. */
.ht-heat { max-width: 760px; }
.ht-heat__title { margin: 0 0 12px; font-family: var(--head); font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: var(--fg); }
.ht-heat__head, .ht-heat__row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); column-gap: 2px; }
.ht-heat__row + .ht-heat__row { margin-top: 2px; }
.ht-heat__tier { padding: 0 6px 8px; font-family: var(--ui); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: center; color: var(--muted); }
.ht-heat__job { align-self: center; padding: 8px 16px 8px 0; font-size: .95rem; font-weight: 600; line-height: 1.35; color: var(--fg); }
.ht-heat__cell { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 6px; font-family: var(--ui); font-size: .92rem; font-weight: 700; line-height: 1.2; text-align: center; }
.ht-heat__cell[data-class="0"] { background: var(--paper-2); color: var(--ink); }
.ht-heat__cell[data-class="1"] { background: var(--on-dark-2); color: var(--ink); }
.ht-heat__cell[data-class="2"] { background: var(--harbor); color: var(--paper); }
.ht-heat__cell[data-class="3"] { background: var(--navy); color: var(--paper); }
.ht-heat__head + .ht-heat__row > .ht-heat__cell:nth-child(2) { border-top-left-radius: var(--radius-sm); }
.ht-heat__head + .ht-heat__row > .ht-heat__cell:last-child { border-top-right-radius: var(--radius-sm); }
.ht-heat__row:last-child > .ht-heat__cell:nth-child(2) { border-bottom-left-radius: var(--radius-sm); }
.ht-heat__row:last-child > .ht-heat__cell:last-child { border-bottom-right-radius: var(--radius-sm); }
.ht-heat__note { margin: 12px 0 0; max-width: 62ch; font-size: .86rem; color: var(--muted); }
/* the fold's summary names the part under 720px, as it hides the table caption there */
@media (max-width: 720px) { .ht-heat__title { display: none; } }
@media (max-width: 560px) {
  .ht-heat__head, .ht-heat__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ht-heat__corner { display: none; }
  .ht-heat__job { grid-column: 1 / -1; padding: 12px 0 6px; }
  .ht-heat__row + .ht-heat__row { margin-top: 0; }
  .ht-heat__cell { min-height: 44px; border-radius: 0; }
  .ht-heat__row > .ht-heat__cell:nth-child(2) { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
  .ht-heat__row > .ht-heat__cell:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
}

/* Your Data: the How long list, each line once with its retention bar (the kit's bar, kit.css), days to scale and no
   axis; the open-ended bar fades off its track. FIX-6: the line is the row's text and the bar's label, so the kit's label
   cell is left out; the bar (track and value) is aria-hidden. Rows are ruled like a table: a hairline between them. From
   721px the line takes the left column and the bar the right, one value column for all four, wide enough for "Until you
   ask", so every track starts and ends level and the days stay to one scale. Under that the bar runs under its line. */
.ht-keep { list-style: none; margin: 10px 0 20px; padding: 0; max-width: 760px; border-top: 1px solid var(--rule); }
.ht-keep__row { display: grid; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.ht-keep__line { line-height: 1.5; }
.ht-keep__bar { display: block; }
.ht-keep .kit-bar { grid-template-columns: minmax(72px, 1fr) 7.5rem; }
.ht-keep .kit-bar__label { display: none; }
.ht-keep .kit-bar__track { grid-column: auto; grid-row: auto; }
.ht-keep .kit-bar__fill { background: var(--harbor); }
@media (min-width: 721px) {
  .ht-keep__row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 28px; align-items: center; }
}

/* Build six part two (plan 2026-11-14-2305 R4, Guards; Sarah t2m_VH25CdcS): the host pill name first, "Pockets, Head of
   Approvals & Keeper of the Pen", in the one title treatment every Uwee title takes (relaunch.css 18), balanced so a
   wrap never leaves one word alone. */
.ht-host__role .ht-host__name b { font-weight: inherit; } /* relaunch.css 18: one weight for the whole title line */
.ht-host__role:has(> .ht-host__name) { text-wrap: balance; }

/* Build six part two R4 (Guards; Sarah 5heIqQ5JrSz0, pHqpgD1dEHRv): the spend gate and the public door, each one drawn
   gate. The frame is the Writing page's example card (feature.css .fp-frame): white, a hairline, a soft offset shadow, a
   head row with the gate's name left and how it is checked right. Inside, the steps run down a rail: a hollow ring for
   the call that arrives, a numbered navy disc for each check, a green tick for the end. A check's "If it fails" line is the
   exit, in amber (what Jinn flags is amber); on a wide spend gate it branches off to the right of its check.
   Checks number themselves from a CSS counter (no digits in the text). The door's four, in a card wide enough, run
   across it left to right, ending on the paid work. Words are never set sideways; a narrow card is one column. */
.ht-diagram { margin: 0; background: #fff; border: 1px solid rgba(21, 23, 28, .09); border-radius: 14px; box-shadow: 0 1px 0 rgba(21, 23, 28, .04), 0 22px 44px -26px rgba(17, 22, 39, .4); padding: 16px clamp(16px, 2.2vw, 28px) clamp(18px, 2.4vw, 28px); max-width: 920px; color: var(--ink); }
.ht-diagram__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; margin-bottom: clamp(16px, 2vw, 24px); border-bottom: 1px solid rgba(21, 23, 28, .09); font-family: var(--ui); }
.ht-diagram__title { font-size: .95rem; font-weight: 800; color: var(--ink); }
.ht-diagram__tag { font-size: .8rem; font-weight: 700; color: var(--ink-3); text-align: right; }

.ht-gate__steps { margin: 0; padding: 0; list-style: none; counter-reset: ht-gate; }
.ht-gate__step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding-bottom: 22px; }
.ht-gate__step:last-child { padding-bottom: 0; }
/* the rail: from under this step's node to the next step's node */
.ht-gate__step:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: rgba(21, 23, 28, .16); }
/* The marks are CSS, not SVG (app/globals.css reverts SVG attribute styles under the site root): each check numbers
   itself from a CSS counter, the end is a tick, the start a ring around a dot. */
.ht-gate__node { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--paper); font-family: var(--ui); font-size: .95rem; font-weight: 800; line-height: 1; }
.ht-gate__step--check { counter-increment: ht-gate; }
.ht-gate__step--check .ht-gate__node::after { content: counter(ht-gate); }
.ht-gate__step--start .ht-gate__node { background: #fff; box-shadow: inset 0 0 0 2px var(--ink-3); }
.ht-gate__step--start .ht-gate__node::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.ht-gate__step--end .ht-gate__node { background: var(--viridian); color: #fff; }
.ht-gate__step--end .ht-gate__node::after { content: ""; width: 7px; height: 13px; margin-top: -3px; box-sizing: border-box; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); }
.ht-gate__copy { min-width: 0; padding-top: 7px; }
.ht-gate__label { margin: 0; font-family: var(--ui); font-size: 1.02rem; font-weight: 800; line-height: 1.3; color: var(--ink); }
.ht-gate__line { margin: 4px 0 0; max-width: 54ch; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.ht-gate__line .dp-fact { color: inherit; }
.ht-gate__stop { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; padding: 8px 12px; border-radius: var(--radius-sm); background: #fdf3e1; color: var(--ink); font-size: .9rem; line-height: 1.45; width: fit-content; max-width: 100%; }
.ht-gate__stop b { font-family: var(--ui); font-weight: 800; color: var(--amber-ink); }
.ht-gate__stopmark { flex: none; position: relative; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--amber); }
.ht-gate__stopmark::after { content: ""; position: absolute; left: 4px; right: 4px; top: 7px; height: 2px; border-radius: 1px; background: #fff; }

/* The spend chapter is short beside a tall picture: from 1100px the gate stands in the words' column beside it, as the
   verdict tags do on Measurement, instead of under an empty half. */
@media (min-width: 1100px) {
  article.chapter:has(> .ht-part > .ht-gate--spend) { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto auto 1fr; column-gap: 32px; align-items: start; }
  article.chapter:has(> .ht-part > .ht-gate--spend) > * { grid-column: 1 / -1; }
  article.chapter:has(> .ht-part > .ht-gate--spend) > .two { display: contents; }
  article.chapter:has(> .ht-part > .ht-gate--spend) > .two > div { grid-column: 1; }
  article.chapter:has(> .ht-part > .ht-gate--spend) > .two > figure.shot { grid-column: 2; grid-row: 2 / span 2; }
  article.chapter:has(> .ht-part > .ht-gate--spend) > .ht-part { grid-column: 1; }
}

/* The diagram reads its own width, not the window's: where the card is wide enough, the spend gate's exits branch
   right of their checks on a short dashed line, and the door's checks run across. */
.ht-diagram { container-type: inline-size; }
/* FIX-3: a phone's card is too narrow for the name and its tag on one line ("How a claim is judged" and "The method,
   not a result" each broke in two at 360 wide and touched at 390), so there the tag sits under the name, left-aligned. */
@container (max-width: 420px) {
  .ht-diagram__head { flex-direction: column; align-items: flex-start; gap: 2px; }
  .ht-diagram__tag { text-align: left; }
}
@container (min-width: 700px) {
  .ht-gate--spend .ht-gate__step--check .ht-gate__copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 250px); column-gap: 44px; align-items: start; }
  .ht-gate--spend .ht-gate__step--check .ht-gate__stop { grid-column: 2; grid-row: 1 / span 2; margin: 0; position: relative; width: auto; }
  .ht-gate--spend .ht-gate__step--check .ht-gate__stop::before { content: ""; position: absolute; right: 100%; top: 50%; width: 32px; margin-right: 6px; border-top: 2px dashed rgba(135, 91, 0, .45); }
}

/* the public door: in a wide card the checks run across, the rail between their nodes */
.ht-gate__stop--all { margin-top: clamp(16px, 2vw, 22px); }
@container (min-width: 760px) {
  .ht-gate--door .ht-gate__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 18px; }
  .ht-gate--door .ht-gate__step { grid-template-columns: minmax(0, 1fr); row-gap: 12px; padding-bottom: 0; align-content: start; }
  .ht-gate--door .ht-gate__step:not(:last-child)::before { left: 48px; right: -18px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .ht-gate--door .ht-gate__copy { padding-top: 0; }
  .ht-gate--door .ht-gate__label { font-size: .98rem; }
  .ht-gate--door .ht-gate__line { font-size: .9rem; }
}

/* Build six part two R4 (Measurement; Sarah tdWRRF4frKZS), FIX-1: how a claim is judged, drawn in the Guards diagrams'
   frame. The three rules a claim is held to are a list, not a rail: each wears a small navy mark and no number, since the
   product runs them in no single order. Beside them, in a wide card, the lane where the grader itself is checked, set
   apart by a dashed edge. Under both, past a hairline, the two rules about what gets published: the bar as the figure
   draws it (a post, one amber line and a blank card resting below it; aria-hidden, the line beside it says what it
   means) and enough engines, a rule about publishing a run. */
.ht-judge__body { display: grid; gap: 22px; }
.ht-judge__rules { margin: 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.ht-judge__rule { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 14px; }
.ht-judge__dot { width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px rgba(21, 23, 28, .07); justify-self: center; }
.ht-judge__lane { border: 1.5px dashed rgba(21, 23, 28, .2); border-radius: 12px; padding: 16px 18px 18px; background: var(--paper); }
.ht-judge__lane-title { margin: 0 0 12px; font-family: var(--ui); font-size: .92rem; font-weight: 800; line-height: 1.3; color: var(--ink); }
.ht-judge__lane ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.ht-judge__lane li { font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.ht-judge__lane li b { display: block; margin-bottom: 2px; font-family: var(--ui); font-weight: 800; color: var(--ink); }
.ht-judge__lane .dp-fact, .ht-judge .ht-gate__line .dp-fact { color: inherit; }
.ht-judge__foot { display: grid; gap: 18px; padding-top: 18px; border-top: 1px solid rgba(21, 23, 28, .09); }
.ht-judge__bar { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; align-items: center; }
.ht-judge__bar .ht-gate__line, .ht-judge__floor .ht-gate__line { margin-top: 4px; }
.ht-judge__floor { padding-top: 18px; border-top: 1px solid rgba(21, 23, 28, .09); }
.ht-judge__art { position: relative; display: block; width: 88px; height: 76px; }
.ht-judge__art::before { content: ""; position: absolute; left: calc(50% - 1px); top: 0; bottom: 0; width: 2px; border-radius: 1px; background: var(--ink-3); }
.ht-judge__mark { position: absolute; left: 8px; right: 8px; top: 24px; height: 3px; border-radius: 2px; background: var(--amber); }
.ht-judge__card { position: absolute; left: 50%; top: 36px; width: 36px; height: 26px; transform: translateX(-50%); box-sizing: border-box; border: 1.5px dashed var(--ink-3); border-radius: 4px; background: #fff; }
/* Stacked but roomy (a tablet's card): enough engines lines up with the bar's words, past the drawing's column. */
@container (min-width: 520px) { .ht-judge__floor { padding-left: 104px; } }
@container (min-width: 760px) {
  .ht-judge__body { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); column-gap: 40px; align-items: center; }
  .ht-judge__foot { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); column-gap: 40px; align-items: center; }
  .ht-judge__floor { padding: 0 0 0 20px; margin-left: -20px; border-top: 0; border-left: 1px solid rgba(21, 23, 28, .09); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
}

/* Build six part two HW. Every rule below starts from a hook only Models or Verified prints (#ht-check-pipe, #anatomy,
   .ht-door), so Guards, Measurement and Schema do not move. */
/* Verified (Sarah Apwmfq4kaiVh): the draft step's line reads like the other two steps' facts, a hairline then muted text. */
#ht-check-pipe .dp-pipe__line { margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--rule); }
/* Verified (Sarah rT20oWYWkBWI, 9LF0S3Vtg9P3, 87-tTR2FRokO, 3XFLynvgReCK, pQuigpkbjuY3, B9xgv3DQtc3g): what a fact
   carries, each name set like "A draft" in the check above it (the pipeline label: .92rem, 700), was .78rem at 400. */
#anatomy .verdicts .v { font-size: .92rem; font-weight: 700; line-height: 1.35; }
/* Models (Sarah 2EnTpCKsOaw_): the one button to Guards, under the gateway's facts. */
.ht-door { margin: 24px 0 0; }
/* how.css (pinned) bolds an index link on hover. Under a finger the bolder link can wrap between press and release, so
   the tap lands on the list and nothing happens (390, Schema: "#trace"). With no hover the link keeps its weight; a
   mouse keeps the approved bold hover. Same rule as pages/how-it-works.css (build seven FIX1). */
@media (hover: none) {
  .hiw .index a:hover:not(.is-current) { font-weight: inherit; }
}

/* Build nine (Sarah idv150KXB7Nf, 3LPJkjP33AT9, iaRfwEtagRqO, FjWzUwvj8yLU, IEzrHd3cC8ul): Your Data's five section titles
   take How Jinn Learns' section titles, the site's h2 (site.css: Zodiak 400, clamp(2rem, 3.6vw, 3.2rem)), in place of the
   chapter size (how.css .chapter h2). These ids print only on Your Data among the topic pages.
   Fix pass 2026-11-17 (Dan: "Same size as the five she pinned"): the sixth, #policy ("The full policy."), joins them. */
.ht-chapters article.chapter:is(#security, #reads, #keeps, #connect, #limits, #policy) > h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
