/*
  v18-terminal-docs.css · the Stobox Terminal guide index of site V18 (v18-terminal-docs.html).

  What it is: the few rules this page needs on top of the approved Knowledge base (v18-learn.css: the white
  head .h-kb and the topic lists .kb-set / .kb-q) and the standard pages (v18-std.css). The guide is the
  Knowledge base's sibling in Learn, so it wears the same sheet; what is its own is the company path in the
  head (nine steps, each with the state the live guide gives it) and the band that says what changed in this
  build of the guide. Only classes that start with td- live here.
  Where it sits: linked after v18.css, v18-std.css and v18-learn.css by build_v18_terminal_docs.py.
  Check: http://localhost:8250/v18-terminal-docs.html at 1440 and in a 375 frame.
  Undo: delete this file and its link in the builder.
*/

/* Head: the two calls to action under the lede. */
.td-acts{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px;margin:clamp(26px,2.8vw,40px) 0 0}
.td-acts .more{color:var(--navy);font-size:18px;text-decoration:underline;text-underline-offset:5px;text-decoration-color:rgba(10,43,109,.35)}
.td-acts .more:after{content:"\00a0→";color:var(--blue)}
@media (hover:hover){.td-acts .more:hover{text-decoration-color:currentColor}}

/* Head, right: the company path as a ruled column of nine steps (number, name, state). The state is a word
   first; the dot before it only repeats the word in colour, so nothing depends on colour alone. */
.td-path{align-self:start}
.td-path h2{margin:0 0 14px;font:500 13px/1.3 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:#566683}
.td-path ol{list-style:none;margin:0;padding:0;border-top:2px solid var(--navy)}
.td-path li{border-bottom:1px solid #dfe4ee}
/* Only the step links of the list (li a) are grid rows. The product links in p.td-prod sit in the same
   nav and must stay inline in their sentence at every width (final QA 22.11.2026: a bare ".td-path a"
   turned them into grid boxes). */
.td-path li a{display:grid;grid-template-columns:2.4em minmax(0,1fr) auto;align-items:baseline;gap:12px;padding:12px 2px;text-decoration:none;color:var(--navy);transition:color .2s,padding .25s cubic-bezier(.23,1,.32,1)}
.td-path .n{font:500 13px/1 var(--mono);color:var(--blue)}
.td-path b{font-size:clamp(18px,1.4vw,21px);font-weight:600;letter-spacing:-.01em}
.td-path .st{display:inline-flex;align-items:center;gap:8px;font:500 13px/1.3 var(--mono);color:#3b4a68;white-space:nowrap}
.td-path .st:before{content:"";width:8px;height:8px;border-radius:50%;background:#1f63d6}
.td-path .lock .st:before{background:none;box-shadow:inset 0 0 0 1.5px #1f63d6}
.td-path .req .st:before{background:#0a2b6d}
.td-path .soon .st{color:#6b7489}.td-path .soon .st:before{background:#b9c2d3}
@media (hover:hover){.td-path li a:hover{color:var(--blue);padding-left:10px}}
.td-path li a:focus-visible,.td-prod a:focus-visible,.td-acts a:focus-visible,.td-chg a:focus-visible{outline:2px solid var(--blue);outline-offset:2px}

/* Band under the head: what changed in this build of the guide. Blue, full width, like the Knowledge
   base's search bar, so the two Learn sheets share one rhythm. */
.td-chg{background:var(--blue);color:#fff;padding:clamp(26px,3vw,40px) max(var(--g),calc((100vw - var(--w))/2 + var(--g)))}
.td-chg .in{display:grid;grid-template-columns:minmax(200px,340px) minmax(0,1fr) auto;gap:10px clamp(28px,5vw,96px);align-items:baseline}
.td-chg h2{margin:0;font:500 13px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:#e9f0ff}
.td-chg p{margin:0;font-size:clamp(19px,1.6vw,23px);line-height:1.4;font-weight:600;letter-spacing:-.01em;max-width:none}
.td-chg a{color:#fff;font:500 14px/1.3 var(--mono);white-space:nowrap;text-decoration:underline;text-underline-offset:5px;text-decoration-color:rgba(255,255,255,.5)}
.td-chg a:after{content:"\00a0→"}
.td-chg small{display:block;margin-top:6px;font:500 13px/1.4 var(--mono);color:#e9f0ff}

/* Contents: the chapter number sits before the title in the Knowledge base row. */
.td-no{display:inline-block;min-width:2.1em;font:500 14px/1 var(--mono);color:var(--blue);vertical-align:.25em}

@media (max-width:900px){.td-chg .in{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.td-path li a{grid-template-columns:2em minmax(0,1fr)}.td-path .st{grid-column:2}}
@media (prefers-reduced-motion:reduce){.td-path li a{transition:none}}

/* ---- Learn final pass (21.11.2026) ---- */
/* A one-line gloss under Intelligence, Raisable and Compass in the path (founder reader). */
.td-path b em{display:block;margin-top:3px;font-style:normal;font-weight:400;font-size:15px;line-height:1.35;color:#566683;letter-spacing:0}
.td-prod{margin:14px 0 0;font-size:16px;line-height:1.5;color:#2c3a58}
.td-prod a{display:inline}
.td-prod a,.kb-upd a{color:var(--blue);text-decoration:underline;text-underline-offset:4px}
/* Touch: the head links and the band's link get a 44px tap area (mobile review). */
@media (pointer:coarse){.td-acts a.more,.td-chg .in a{display:inline-flex;align-items:center;min-height:44px}}
/* The product links inside the running sentence stay inline (final QA item 53, 22.11.2026: as inline-flex
   boxes they broke the sentence into ragged lines). The tap area grows with the line height and an
   inline padding that does not move the text. */
@media (pointer:coarse){.td-prod{line-height:2.2}.td-prod a{padding-block:10px}}
/* Phone: the path repeats the chapter list right under it, so only the list is shown (founder reader). */
@media (max-width:760px){.td-path{display:none}}
/* Doc pages carry one section-heading size, the prose h2's (38.88px at 1440; final QA item 55, 22.11.2026).
   The Learn index keeps its own larger group titles; this file is linked only by the doc pages. */
.kb-set h2{font-size:clamp(28px,2.7vw,40px)}
/* Contrast (final QA items 20 and 64, 22.11.2026): grey #8a93a8 text is #5d6673 on light grounds, and the
   pale labels on blue or navy are #e9f0ff, so every label reaches 4.5:1. */

/* Arrows after link text are written content:"\00a0→" (a no-break space), not " →": inside a flex or
   inline-flex link (the 44px touch boxes) a leading plain space in ::after is dropped, so "See the
   Terminal→" lost its gap; the no-break space also keeps the arrow from wrapping alone onto a new line.
   Final QA 22.11.2026, round 3, item 8. */
