/* ============================================================
   LGFL "The short version" (quick read) — owner-approved look, Version A (2026-10-23)
   Production stylesheet. Tokens only (tokens.css); no hex. Pairs with /figures.css for the figure.
   Markup is generated by _workspace/tooling/quickread/build_quickread.py — do not hand-edit pages.
   Every selector is scoped under section.qr so article-level p/h4/ol/li rules never win.
   Readability floors: body >= 16px, secondary >= 14px, labels >= 12px, text contrast >= 4.5:1.
   ============================================================ */
section.qr {
  background: var(--surface); border: 1px solid var(--bd-strong); border-left: 3px solid var(--gold);
  padding: var(--space-6) var(--space-4); margin: var(--space-4) 0;
}

/* head: eyebrow · reading-time chip · skip link */
section.qr .qr-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  flex-wrap: wrap; margin-bottom: var(--space-4);
}
section.qr .qr-eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: var(--fw-bold);
  letter-spacing: var(--eyebrow-track); text-transform: uppercase; color: var(--gold-lt);
}
section.qr .qr-chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream); border: 1px solid var(--bd); padding: 4px 10px;
}
section.qr .qr-skip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-lt); border-bottom: 1px solid var(--bd-strong);
  text-decoration: underline; text-underline-offset: 3px; /* as approved: the guide's link underline shows with the rule */
}
section.qr .qr-skip:hover { color: var(--gold); }

/* the plain answer */
section.qr p.qr-answer {
  font-family: var(--font-serif); font-size: 22px; line-height: 1.55; color: var(--cream);
  margin: 0 0 var(--space-4);
}
section.qr p.qr-answer strong { color: var(--gold-lt); font-weight: var(--fw-bold); }

/* section labels with a hairline rule */
section.qr .sec {
  display: flex; align-items: center; gap: var(--space-2); margin: var(--space-8) 0 var(--space-2);
  font-family: var(--font-mono); font-size: 12px; font-weight: var(--fw-bold);
  letter-spacing: var(--eyebrow-track); text-transform: uppercase; color: var(--gold-lt); line-height: 1.6;
}
section.qr .sec::after { content: ""; flex: 1; height: 1px; background: var(--bd-soft); }

/* long compound words (DA, DE) wrap inside their box: grids use minmax(0, 1fr), text may hyphenate or break instead of widening a column */
section.qr h3, section.qr p, section.qr li, section.qr .when3 > div, aside.qr-cta h3, aside.qr-cta p, aside.qr-cta label { min-width: 0; overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
section.qr .qr-ref { hyphens: none; }

/* reference link (§n) */
section.qr .qr-ref { font-family: var(--font-mono); font-size: 13px; color: var(--muted); white-space: nowrap; }

/* what you need to know: numbered rows, all text visible */
section.qr ol.kp { list-style: none; margin: 0; padding: 0; }
section.qr ol.kp > li {
  display: grid; grid-template-columns: 28px 172px minmax(0, 1fr); column-gap: 20px; align-items: start;
  padding: 20px 0; border-top: 1px solid var(--bd-subtle); margin: 0;
}
section.qr ol.kp > li:first-child { border-top: 0; }
section.qr ol.kp .n {
  width: 28px; height: 28px; border: 1px solid var(--gold-lt); color: var(--gold-lt);
  font-family: var(--font-mono); font-size: 13px; display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
section.qr ol.kp h3 {
  font-family: var(--font-sans); font-size: 18px; line-height: 1.35; font-weight: var(--fw-bold);
  color: var(--gold-lt); margin: 0;
}
section.qr ol.kp p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--cream); }
section.qr ol.kp .qr-ref { display: inline-block; margin-left: 8px; }
section.qr ol.kp .qr-ref a { color: var(--gold-lt); text-decoration: none; border: 1px solid var(--bd); padding: 1px 7px; }
section.qr ol.kp .qr-ref a:hover { border-color: var(--gold); color: var(--gold-lt); }

/* what to do now: three tick-box cards */
section.qr ul.todo {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2);
}
section.qr ul.todo > li { background: var(--surface-deep); border: 1px solid var(--bd-subtle); padding: var(--space-3); margin: 0; }
section.qr ul.todo .box { display: block; width: 18px; height: 18px; border: 1.5px solid var(--gold-lt); margin-bottom: var(--space-2); }
section.qr ul.todo h3 {
  font-family: var(--font-sans); font-size: 17px; line-height: 1.35; font-weight: var(--fw-bold);
  color: var(--cream); margin: 0 0 8px;
}
section.qr ul.todo p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--cream); }
section.qr ul.todo .qr-ref a { color: var(--gold-lt); text-decoration: none; border-bottom: 1px dotted var(--bd-strong); }

/* when does this apply: three columns, "today" marked in gold */
section.qr .when3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
section.qr .when3 > div { border-top: 2px solid var(--bd-strong); padding-top: var(--space-2); }
section.qr .when3 > div.now { border-top-color: var(--gold); }
section.qr .when3 p.k {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-lt); margin: 0 0 6px;
}
section.qr .when3 p.v { font-family: var(--font-serif); font-size: 23px; line-height: 1.25; color: var(--cream); margin: 0 0 8px; }
section.qr .when3 p.d { font-size: 15px; line-height: 1.6; color: var(--cream); margin: 0; }

/* status / disclaimer line */
section.qr p.qr-status {
  font-family: var(--font-sans); font-size: 14px; line-height: 1.65; color: var(--cream-2);
  margin: var(--space-6) 0 0; padding-top: var(--space-2); border-top: 1px solid var(--bd-subtle);
}

/* phones: rows stack, cards and timeline go to one column */
@media (max-width: 760px) {
  section.qr { padding: var(--space-4) var(--space-2); }
  section.qr p.qr-answer { font-size: 19px; }
  section.qr .sec { margin-top: var(--space-6); }
  section.qr ol.kp > li { grid-template-columns: 34px 1fr; row-gap: 6px; }
  section.qr ol.kp > li > .n { grid-row: 1; }
  section.qr ol.kp > li > h3 { grid-column: 2; grid-row: 1; align-self: center; }
  section.qr ol.kp > li > p { grid-column: 1 / -1; grid-row: 2; padding-left: 54px; }
  section.qr ul.todo, section.qr .when3 { grid-template-columns: 1fr; }
  section.qr .when3 { gap: var(--space-3); }
}

/* ===== contact box under the short version ("Talk to us": dark card; the guilloche comes from nav-styles.css; form = Netlify form `contact-request` like the contact page) ===== */
aside.qr-cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-4); background: var(--surface-deep); border: 1px solid var(--bd-strong); padding: var(--space-4); margin: var(--space-4) 0; }
aside.qr-cta .qr-cta-eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: var(--fw-bold); letter-spacing: var(--eyebrow-track); text-transform: uppercase; color: var(--gold-lt); margin: 0 0 var(--space-2); }
aside.qr-cta h3 { font-family: var(--font-serif); font-size: 26px; line-height: 1.3; font-weight: var(--fw-reg); color: var(--cream); margin: 0 0 var(--space-2); }
aside.qr-cta p { font-size: 16px; line-height: 1.65; color: var(--cream-2); margin: 0 0 var(--space-2); }
aside.qr-cta p.contact-line { font-family: var(--font-mono); font-size: 15px; line-height: 1.9; margin-top: var(--space-2); }
aside.qr-cta .contact-line a { color: var(--gold-lt); text-decoration: none; }
aside.qr-cta .qr-form label { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-2); margin: 0 0 6px; }
aside.qr-cta .qr-form input[type=text], aside.qr-cta .qr-form input[type=email], aside.qr-cta .qr-form textarea { width: 100%; box-sizing: border-box; background: var(--bg); border: 1px solid var(--bd-strong); border-radius: 0; color: var(--cream); font-family: var(--font-sans); font-size: 16px; padding: 11px 12px; margin: 0 0 var(--space-2); }
aside.qr-cta .qr-form textarea { min-height: 92px; resize: vertical; }
aside.qr-cta .qr-form input:focus, aside.qr-cta .qr-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
aside.qr-cta .qr-form label.consent { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-sans); font-size: 14px; line-height: 1.5; text-transform: none; letter-spacing: 0; color: var(--cream-2); margin-bottom: var(--space-2); }
aside.qr-cta .qr-form label.consent input { margin-top: 3px; accent-color: var(--gold); }
aside.qr-cta .qr-form label.consent a { color: var(--gold-lt); }
aside.qr-cta .qr-form button { background: var(--gold-lt); color: var(--surface-deep); border: 0; border-radius: 0; font-family: var(--font-mono); font-size: 13px; font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; padding: 13px 22px; cursor: pointer; }
aside.qr-cta .qr-form button:hover { background: var(--cream); }
aside.qr-cta .qr-form button[disabled] { opacity: .6; cursor: default; }
aside.qr-cta .qr-form p.qr-form-msg { font-size: 14px; color: var(--cream); margin: 0 0 var(--space-1); }
aside.qr-cta .qr-form p.qr-form-msg:empty { display: none; }
aside.qr-cta .qr-form p.qr-form-msg.is-error { border-left: 3px solid var(--red); padding-left: var(--space-1); }
aside.qr-cta p.qr-cta-ok { grid-column: 1 / -1; margin: 0; padding: var(--space-2) var(--space-3); border-left: 3px solid var(--gold-lt); background: var(--bg); color: var(--cream); font-size: 16px; }
@media (max-width: 760px) { aside.qr-cta { grid-template-columns: 1fr; padding: var(--space-3) var(--space-2); } aside.qr-cta h3 { font-size: 22px; } }

/* ===== divider between the short version (+ contact box) and the full guide ===== */
div.qr-divider { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-8) 0 var(--space-3); scroll-margin-top: var(--space-12); }
div.qr-divider::before, div.qr-divider::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: .6; }
div.qr-divider span { font-family: var(--font-mono); font-size: 12px; font-weight: var(--fw-bold); letter-spacing: var(--eyebrow-track); text-transform: uppercase; color: var(--gold-lt); text-align: center; }
article p.qr-divider-sub { text-align: center; font-size: 14px; line-height: 1.6; color: var(--cream-2); margin: 0 0 var(--space-6); }
article p.qr-divider-sub a { color: var(--gold-lt); }
@media (max-width: 560px) { div.qr-divider span { max-width: 80%; } }

/* ===== phones + small tablets (job mobile-guides, 2026-10-24): tap areas and breathing room; desktop untouched ===== */
@media (max-width: 768px) {
  section.qr .qr-skip { display: inline-block; padding: 4px 0; line-height: 18px; }
  section.qr ol.kp .qr-ref a { display: inline-block; padding: 3px 9px; line-height: 18px; min-width: 32px; text-align: center; }
  section.qr ol.kp .qr-ref { margin-left: 4px; }
  section.qr ul.todo .qr-ref a { display: inline-block; padding: 3px 6px; line-height: 18px; min-width: 32px; text-align: center; }
  section.qr ul.todo > li { padding: var(--space-3) 20px; }
  aside.qr-cta { padding: var(--space-3) 20px; }
  aside.qr-cta .qr-form label.consent { min-height: 44px; align-items: center; }
  aside.qr-cta .qr-form label.consent input { width: 26px; height: 26px; flex: 0 0 26px; margin-top: 0; }
  aside.qr-cta .qr-form button { min-height: 48px; width: 100%; }
  aside.qr-cta .contact-line a { display: inline-block; padding: 3px 0; }
}
