/* THE THIRD-TIER PAGES, IN THE NEW LOOK (promo tier 3, 2026-11-05). Hand-written source, not generated.
   The calculators and their guides (tools/), the "Call for price" guide (guides/), What's next (whats-next/) and the
   help library, first edition (help/). It sits after frame.css and tier1.css and edits neither: it uses their tokens,
   .pf-wrap, .pf-h2, .t-sec, .t-still, .t-table, .t-tag and .t-done, and adds only what a form, a worked answer and a
   help article need.

   THE LOOK (Mason, 2026-11-04, binding; AGENTS §7 Q4): the buyer-calm direction. Black and white; the brand green for
   buttons, labels and focus; the one orange line (the cord) drawn by frame.js, never coloured here. COLOURS: only the
   frame's tokens; no hex, no rgb() in this file.

   THE CALCULATOR BOX is a cord gap (data-pf-cord-gap, in and out at the lane): the line runs down the lane to the
   box's top edge and picks up again at its bottom, so it never crosses a field someone is typing into.

   TOUCH: every control is at least 48px tall and 18px type (a phone does not zoom a 16px-or-larger field). At 400px
   nothing is wider than the screen: the grids fall to one column and the working lines wrap. */

/* ---- the calculator and its guide, side by side at desktop width ---- */
.c-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1040px) { .c-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }
.c-calc { background: var(--pf-surface); border: 1px solid var(--pf-rule); border-radius: var(--pf-radius); padding: 24px; }
@media (max-width: 480px) { .c-calc { padding: 18px 16px; } }
.c-calc > h2 { font: 700 clamp(24px, 3vw, 32px)/1.15 var(--pf-display); margin: 0 0 6px; }
.c-calc > p { color: var(--pf-muted); margin: 0 0 18px; }
.c-guide { color: var(--pf-muted); }
.c-guide h2 { font: 700 clamp(24px, 3vw, 32px)/1.15 var(--pf-display); color: var(--pf-ink); margin: 0 0 12px; }
.c-guide h3 { font: 700 19px/1.3 var(--pf-body); color: var(--pf-ink); margin: 28px 0 6px; }
.c-guide p, .c-guide li { max-width: 62ch; }
.c-guide b, .c-guide strong { color: var(--pf-ink); }
.c-guide ul, .c-guide ol { padding-left: 22px; display: grid; gap: 6px; }

/* ---- fields ---- */
.c-form { display: grid; gap: 18px; }
.c-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.c-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.c-field > label, .c-field > .c-lab, .c-set > legend { font: 700 16px/1.35 var(--pf-body); color: var(--pf-ink); padding: 0; }
.c-unit { font-weight: 500; color: var(--pf-muted); }
.c-hint { font-size: 14px; line-height: 1.45; color: var(--pf-muted); margin: 0; }
.c-calc input[type="number"], .c-calc input[type="text"], .c-calc select {
  width: 100%; min-width: 0; min-height: 52px; padding: 10px 14px; font: 500 18px/1.3 var(--pf-body);
  color: var(--pf-ink); background: var(--pf-ground); border: 1px solid var(--pf-edge); border-radius: var(--pf-radius-sm); }
.c-calc select { appearance: auto; }
.c-calc :is(input, select, button):focus-visible { outline: 3px solid var(--pf-brand); outline-offset: 2px; }
/* a choice of two or three, as large chips */
.c-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.c-set legend { margin-bottom: 8px; }
.c-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.c-chip { position: relative; display: inline-flex; }
.c-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.c-chip span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border: 1px solid var(--pf-edge);
  border-radius: 999px; font-weight: 600; color: var(--pf-ink); background: var(--pf-ground); }
.c-chip input:checked + span { background: var(--pf-accent); border-color: var(--pf-accent); color: var(--pf-accent-ink); }
.c-chip input:focus-visible + span { outline: 3px solid var(--pf-brand); outline-offset: 2px; }
.c-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--pf-edge); background: var(--pf-ground); color: var(--pf-ink); font: 600 16px/1.2 var(--pf-body); cursor: pointer; }
.c-btn:hover { border-color: var(--pf-brand); color: var(--pf-brand); }

/* ---- the answer and its working ---- */
.c-out { margin-top: 22px; padding-top: 20px; border-top: 2px solid var(--pf-rule); }
.c-out[hidden] { display: none; }
.c-ans { font: 700 clamp(22px, 2.8vw, 30px)/1.25 var(--pf-display); color: var(--pf-ink); margin: 0 0 6px; overflow-wrap: anywhere; }
.c-sub { color: var(--pf-muted); margin: 0 0 14px; }
.c-work { margin: 0; padding: 14px 16px; list-style: none; background: var(--pf-band); border-radius: var(--pf-radius-sm);
  font: 500 15px/1.6 var(--pf-mono); color: var(--pf-ink); display: grid; gap: 4px; overflow-wrap: anywhere; }
.c-work li { min-width: 0; }
.c-work .c-why { font-family: var(--pf-body); color: var(--pf-muted); font-size: 14px; }
.c-wait { margin-top: 22px; padding: 14px 16px; border: 1px dashed var(--pf-edge); border-radius: var(--pf-radius-sm); color: var(--pf-muted); }
.c-wait[hidden] { display: none; }
.c-refuse { margin-top: 22px; padding: 14px 16px; border-left: 3px solid var(--pf-brand); background: var(--pf-band); color: var(--pf-ink); }
.c-refuse[hidden] { display: none; }

/* ---- the formula, written out (it is the page with or without JavaScript) ---- */
.c-formula { margin-top: 24px; }
.c-formula h3 { font: 700 17px/1.3 var(--pf-body); margin: 0 0 8px; color: var(--pf-ink); }
.c-formula ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--pf-muted); }
.c-formula code, .c-guide code, .h-art code { font: 500 14px/1.5 var(--pf-mono); color: var(--pf-ink); background: var(--pf-band);
  padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.c-noscript { margin-top: 18px; padding: 12px 14px; border: 1px solid var(--pf-rule); border-radius: var(--pf-radius-sm); color: var(--pf-muted); }

/* ---- the Saturday's list of loads ---- */
.c-loads { display: grid; gap: 14px; }
.c-load { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--pf-rule); border-radius: var(--pf-radius-sm); background: var(--pf-ground); }
.c-load-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.c-load-head b { font: 500 13px/1 var(--pf-mono); color: var(--pf-brand); letter-spacing: .06em; }
.c-load .c-row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }

/* ---- the sources table under a calculator ---- */
.c-src { margin-top: 18px; font-size: 15px; }
.c-src td, .c-src th { font-size: 15px; }
.c-foot { font-size: 14px; color: var(--pf-muted); margin-top: 14px; }

/* ---- the "back to the calculator / read the guide" links ---- */
.c-jumps { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; padding: 0; list-style: none; }

/* ---- What's next: the groups, each item tagged planned or in progress ---- */
.n-groups { display: grid; gap: 40px; }
.n-group h2 { font: 700 clamp(22px, 2.6vw, 28px)/1.2 var(--pf-display); margin: 0 0 12px; }
.n-list { list-style: none; margin: 0; padding: 0; display: grid; }
.n-list li { display: grid; gap: 8px; padding: 16px 0; border-top: 1px solid var(--pf-rule); color: var(--pf-ink); }
@media (min-width: 720px) { .n-list li { grid-template-columns: 1fr auto; align-items: start; gap: 24px; } }
.n-list li p { margin: 0; color: var(--pf-muted); }
.n-list .t-tag { justify-self: start; }

/* ---- the help library ---- */
.h-index { display: grid; gap: 36px; }
.h-index h2 { font: 700 clamp(22px, 2.6vw, 28px)/1.2 var(--pf-display); margin: 0 0 10px; }
.h-list { list-style: none; margin: 0; padding: 0; display: grid; }
.h-list li { padding: 14px 0; border-top: 1px solid var(--pf-rule); }
.h-list a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; color: var(--pf-link);
  text-decoration: underline; text-decoration-color: var(--pf-brand); text-underline-offset: 3px; }
.h-list a:hover { color: var(--pf-brand); }
.h-list p { margin: 2px 0 0; color: var(--pf-muted); }
.h-ed { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--pf-brand);
  color: var(--pf-brand); font: 600 13px/1.3 var(--pf-body); }
.h-art { max-width: 760px; }
.h-art > p, .h-art li { color: var(--pf-muted); }
.h-art b, .h-art strong { color: var(--pf-ink); }
.h-art h2 { font: 700 clamp(22px, 2.6vw, 28px)/1.2 var(--pf-display); margin: 44px 0 12px; }
.h-art h3 { font: 700 18px/1.3 var(--pf-body); margin: 28px 0 6px; color: var(--pf-ink); }
.h-art ol, .h-art ul { padding-left: 24px; display: grid; gap: 10px; }
.h-art ol > li::marker { font: 500 15px var(--pf-mono); color: var(--pf-brand); }
.h-art ul ul, .h-art ol ul { margin-top: 8px; gap: 6px; }
.h-art kbd { font: 500 14px/1.4 var(--pf-mono); padding: 1px 6px; border: 1px solid var(--pf-edge); border-radius: 4px; color: var(--pf-ink); }
.h-crumb { font-size: 15px; margin: 0 0 18px; }
.h-crumb a { color: var(--pf-link); text-decoration-color: var(--pf-brand); display: inline-flex; align-items: center; min-height: 44px; }
.h-off { margin-top: 28px; padding: 12px 14px; border-left: 3px solid var(--pf-edge); background: var(--pf-band); color: var(--pf-muted); }
.h-art .t-table { margin: 8px 0 4px; }
.h-next { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--pf-rule); display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---- a page heading in ordinary page (these pages open on words, then one still band) ---- */
.c-hero { padding-block: 56px 32px; }
.c-hero h1 { font: 700 clamp(34px, 5vw, 56px)/1.05 var(--pf-display); letter-spacing: -.02em; margin: 0 0 14px; text-wrap: balance; max-width: 22ch; }
.c-hero p { font-size: 19px; color: var(--pf-muted); max-width: 62ch; margin: 0; }
.c-hero .t-kicker { margin-bottom: 10px; }
