/* ============================================================
 * workbooks.css: classroom workbooks and answer keys, every credit union. Brand comes from brand.css.
 *
 * The workbooks are standalone printable documents: they carry no
 * site chrome, so they cannot use core.css, and before the migration
 * they linked ../css/styles.css — the pre-migration stylesheet, which
 * the build does not ship. They deployed unstyled.
 *
 * This is the subset of that stylesheet the workbooks actually use,
 * tokenized to role variables so it reads its colour from brand.css
 * like every other page. Generated during the migration; edit here.
 * ============================================================ */

.hero-badge .dot { width: 8px; height: 8px; background: var(--accent-light-on-dark); border-radius: 50%; }
.wb-cover-title .emoji { font-size: 34px; display: block; margin-bottom: 8px; }
.wb-btn { flex: 1; text-align: center; padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background 0.2s, color 0.2s; }
.wb-btn.primary { background: var(--accent); color: white; }
.wb-btn.primary:hover { filter: brightness(0.92); color: white; }
.wb-btn.ghost { border: 1px solid var(--border); color: var(--brand-dark); }
.wb-btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
/* ===== WORKBOOK PREVIEW DOCUMENTS (workbooks/*.html) ===== */ .wb-doc-bar { position: sticky; top: 0; z-index: 50; background: var(--brand-dark); color: white; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; }
.wb-doc-bar a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px; font-weight: 600; }
.wb-doc-bar a:hover { color: var(--brand-accent-deep); }
.wb-doc-bar .spacer { flex: 1; }
.wb-doc-bar button { background: var(--brand-accent); color: var(--on-accent); border: none; border-radius: 7px; padding: 9px 18px; font-family: var(--sans); font-weight: 800; font-size: 14px; cursor: pointer; }
/* The download link is the primary action: it is a real file, so it works on
 * phones and inside in-app browsers, where window.print() is a no-op. The
 * print button stays for desktop but is now secondary. */
.wb-doc-bar .wb-dl { background: var(--brand-accent); color: var(--on-accent); border-radius: 7px; padding: 9px 18px; font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; }
.wb-doc-bar .wb-dl:hover { color: var(--on-accent); filter: brightness(0.94); }
.wb-doc-bar .wb-print { background: transparent; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.35); font-weight: 700; }
.wb-doc-bar .wb-print:hover { border-color: var(--brand-accent); color: var(--brand-accent); }
.wb-doc-note { max-width: 820px; margin: 20px auto 0; padding: 0 24px; font-size: 13px; color: var(--text-light); font-style: italic; text-align: center; }
.wb-doc { max-width: 820px; margin: 20px auto 60px; padding: 0 24px; }
.wb-page { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 48px 52px; margin-bottom: 26px; box-shadow: 0 2px 16px rgba(20,48,22,0.06); }
.wb-page-num { font-size: 12px; color: var(--text-light); text-align: right; margin-top: 24px; letter-spacing: 0.04em; }
/* cover page */ .wb-page.cover { --accent: var(--brand-primary); background: linear-gradient(155deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 62%, #000 15%) 100%); color: white; border: none; text-align: center; padding: 70px 52px; position: relative; overflow: hidden; }
.wb-page.cover::after { content: '★'; position: absolute; right: -40px; bottom: -60px; font-size: 320px; color: rgba(255,255,255,0.09); }
.wb-page.cover .band { display: inline-block; background: var(--brand-accent); color: var(--on-accent); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 16px; border-radius: 22px; margin-bottom: 22px; }
.wb-page.cover .emoji { font-size: 76px; display: block; margin-bottom: 12px; position: relative; z-index: 1; }
.wb-page.cover h1 { font-family: var(--display); font-size: 40px; font-weight: 800; color: white; line-height: 1.1; margin-bottom: 10px; position: relative; z-index: 1; }
.wb-page.cover .subtitle { font-size: 17px; color: rgba(255,255,255,0.9); position: relative; z-index: 1; }
.wb-page.cover .cu-mark { margin-top: 40px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.85); position: relative; z-index: 1; }
.wb-page h2 { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--brand-dark); margin-bottom: 6px; }
.wb-page .lesson-tag { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent, var(--brand-primary)); margin-bottom: 18px; }
.wb-page p { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 14px; }
.wb-page .intro { font-size: 16px; color: var(--text-light); }
.wb-activity { border: 2px dashed var(--border); border-radius: 12px; padding: 22px 24px; margin: 20px 0; background: var(--surface); }
.wb-activity .a-label { display: inline-block; background: var(--surface-tint); color: var(--brand-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 5px; margin-bottom: 12px; }
.wb-activity h3 { font-size: 17px; color: var(--brand-dark); margin-bottom: 10px; }
.wb-activity ol, .wb-activity ul { margin: 10px 0 6px 20px; }
.wb-activity li { font-size: 14.5px; color: var(--text); margin-bottom: 8px; line-height: 1.6; }
.write-line { border-bottom: 2px solid var(--border); height: 30px; margin: 10px 0; }
.write-box { border: 2px solid var(--border); border-radius: 8px; min-height: 90px; margin: 10px 0; }
.write-lines { display: flex; flex-direction: column; gap: 20px; margin: 14px 0; }
.write-lines .write-line { margin: 0; }
.wb-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.wb-table th { background: var(--accent, var(--brand-primary)); color: white; text-align: left; padding: 10px 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.wb-table td { border: 1px solid var(--border); padding: 12px; height: 24px; }
.wb-table td.fill { background: var(--surface); }
.coin-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0; justify-content: center; }
.coin { width: 74px; height: 74px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--on-accent); background: radial-gradient(circle at 35% 30%, #ffe08a, var(--brand-accent)); border: 3px solid #d99e12; font-size: 14px; text-align: center; }
.matchbox { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; margin: 14px 0; }
.matchbox .mb-item { display: flex; align-items: center; gap: 12px; font-size: 15px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; background: white; }
.matchbox .mb-item .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--accent, var(--brand-primary)); flex: 0 0 auto; }
.callout-tip { background: var(--surface-alt); border-left: 4px solid var(--brand-accent); border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 18px 0; font-size: 14.5px; color: var(--text); line-height: 1.6; }
.callout-tip strong { color: var(--brand-dark); }

/* ===== Components added 2026-09-15 for the full 16-page workbooks ===== */
.wb-page.intro-page { background: var(--surface); }
.wb-toc { list-style: none; margin: 16px 0 0; padding: 0; }
.wb-toc li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px dotted var(--border); font-size: 15px; }
.wb-toc li .n { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--accent, var(--brand-primary)); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.wb-toc li .t { flex: 1; color: var(--text); font-weight: 600; }
.wb-toc li .pg { color: var(--text-light); font-size: 13px; }

.wb-wordbank { border: 2px solid var(--accent, var(--brand-primary)); border-radius: 10px; padding: 16px 20px; margin: 16px 0; background: #fff; }
.wb-wordbank .wb-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent, var(--brand-primary)); margin-bottom: 10px; display: block; }
.wb-wordbank .terms { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.wb-wordbank .terms span { background: var(--surface-tint); border-radius: 20px; padding: 5px 14px; font-size: 14px; font-weight: 600; color: var(--brand-dark); }

.wb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 14px 0; }

.wb-checklist { list-style: none; margin: 12px 0; padding: 0; }
.wb-checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.wb-checklist li::before { content: ''; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; border: 2px solid var(--accent, var(--brand-primary)); border-radius: 4px; }

.wb-scenario { border-left: 4px solid var(--accent, var(--brand-primary)); background: var(--surface); border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 14px 0; font-size: 14.5px; line-height: 1.6; }
.wb-scenario .who { display: block; font-weight: 800; color: var(--brand-dark); margin-bottom: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }

.blank { display: inline-block; border-bottom: 2px solid var(--border); min-width: 90px; }
.blank.sm { min-width: 52px; }
.blank.lg { min-width: 180px; }

.wb-numbered { counter-reset: wbq; list-style: none; margin: 12px 0 0; padding: 0; }
.wb-numbered > li { counter-increment: wbq; position: relative; padding-left: 34px; margin-bottom: 16px; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.wb-numbered > li::before { content: counter(wbq) '.'; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--accent, var(--brand-primary)); }

.wb-flag { display: flex; gap: 12px; align-items: flex-start; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff; margin-bottom: 10px; font-size: 14px; line-height: 1.55; }
.wb-flag .mark { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--surface-tint); color: var(--brand-dark); font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; }

.wb-backcover { background: var(--brand-dark); color: #fff; border: none; text-align: center; }
.wb-backcover h2, .wb-backcover h3 { color: #fff; }
.wb-backcover p { color: rgba(255,255,255,0.86); }
.wb-backcover .rule { width: 46px; height: 3px; background: var(--brand-accent); margin: 18px auto; border-radius: 2px; }
.wb-backcover .branches { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,0.8); }
.wb-backcover .legal { margin-top: 26px; font-size: 11px; color: rgba(255,255,255,0.78); line-height: 1.7; }

/* Restored 2026-09-15: the mobile and print blocks lost their @media
 * wrappers during the migration, so every rule below applied at all
 * widths. That hid .wb-doc-bar (and with it the Print PDF button) on
 * screen, flattened the page cards, and forced .matchbox to one column. */
@media (max-width: 640px) {
  /* On a phone the meta label is the least useful thing in the bar; dropping it
     keeps the download link and print button at full tap size. */
  .wb-doc-bar { padding: 10px 14px; gap: 10px; }
  .wb-doc-bar .wb-bar-meta { display: none; }
  .wb-doc-bar .wb-dl, .wb-doc-bar .wb-print { padding: 10px 14px; font-size: 13px; }
  .wb-page { padding: 30px 24px; }
  .wb-page.cover h1 { font-size: 30px; }
  .matchbox { grid-template-columns: 1fr; }
  .wb-grid-2 { grid-template-columns: 1fr; }
}

/* Print: one .wb-page == exactly one sheet.
 *
 * The previous block set only `page-break-after: always`, which fired
 * correctly but left each page slightly taller than the printable area. Every
 * workbook page spilled a few pixels onto a second sheet, so a 16-page book
 * printed as 25 sheets, half of them blank, and the cover filled only the top
 * third. Sizing the page to the sheet and zeroing the @page margin fixes both:
 * the cover gradient now bleeds to the paper edge.
 *
 * min-height is 10.9in rather than 11in deliberately. At exactly 11in,
 * sub-pixel rounding tips the box onto a second sheet and the blank pages come
 * straight back. */
@page { size: letter; margin: 0; }

@media print {
  html, body { margin: 0; padding: 0; background: #fff !important; }
  .wb-doc-bar, .wb-doc-note { display: none !important; }
  .wb-doc { margin: 0; padding: 0; max-width: none; }

  .wb-page {
    box-sizing: border-box;
    width: 8.5in;
    min-height: 10.9in;
    padding: 0.4in 0.55in;   /* 0.4in top/bottom buys ~19px of content room,
                                which is what the two densest adult pages needed. */
    margin: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    break-after: page;
    page-break-after: always;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .wb-page:last-child { break-after: auto; page-break-after: auto; }

  /* Cover and back cover centre their content on the sheet. */
  .wb-page.cover, .wb-page.wb-backcover {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Keep an activity box from splitting across sheets where it can be helped. */
  .wb-activity, .wb-scenario, .callout-tip, .wb-flag { break-inside: avoid; }

  /* Screen spacing is generous on purpose; on paper it pushed eight of the
   * sixteen pages onto a second sheet, so a "16-page workbook" printed as 24.
   * These are print-only reductions. Nothing here changes the screen layout. */
  .wb-page h2 { font-size: 23px; margin-bottom: 4px; }
  .wb-page .lesson-tag { margin-bottom: 12px; }
  .wb-page p { font-size: 14px; line-height: 1.5; margin-bottom: 9px; }
  .wb-page .intro { font-size: 14.5px; }
  .wb-activity { padding: 13px 15px; margin: 11px 0; }
  .wb-activity h3 { font-size: 15.5px; margin-bottom: 7px; }
  .wb-activity .a-label { margin-bottom: 8px; }
  .wb-activity li { font-size: 13.5px; margin-bottom: 6px; line-height: 1.5; }
  .wb-table { margin: 10px 0; font-size: 13px; }
  .wb-table th { padding: 7px 10px; }
  .wb-table td { padding: 8px 10px; height: auto; }
  .write-line { height: 22px; margin: 7px 0; }
  .write-lines { gap: 13px; margin: 9px 0; }
  .write-box { min-height: 70px; margin: 8px 0; }
  .callout-tip { padding: 12px 16px; margin: 13px 0; font-size: 13.5px; }
  .matchbox { gap: 9px 28px; margin: 10px 0; }
  .matchbox .mb-item { padding: 8px 12px; font-size: 13.5px; }
  .wb-numbered > li { margin-bottom: 11px; font-size: 13.5px; }
  .wb-checklist li { padding: 6px 0; font-size: 13.5px; }
  .wb-flag { padding: 9px 12px; margin-bottom: 8px; font-size: 13px; }
  .wb-scenario { padding: 11px 14px; margin: 11px 0; font-size: 13.5px; }
  .wb-toc li { padding: 7px 0; font-size: 14px; }
  .wb-wordbank { padding: 13px 16px; margin: 12px 0; }
  .coin { width: 64px; height: 64px; font-size: 13px; }
  .wb-page-num { margin-top: 14px; }
}

/* ---- Shared shell (was inline per book) ---- */
.wb-bar-meta { font-size: 13px; color: rgba(255,255,255,0.7); }
.wb-doc-note.concept-notice { background: #FFF8E1; border: 1px solid #E8A33D; border-radius: 6px; padding: 10px 14px; margin: 0 0 14px; font-size: 13px; line-height: 1.5; }
.wb-doc-note a { color: var(--brand-primary); font-weight: 600; }

/* ---- Teacher answer keys ---- */
.wb-key { width: 100%; border-collapse: collapse; font-size: 12.5px; line-height: 1.45; margin: 4px 0 14px; }
.wb-key th, .wb-key td { text-align: left; vertical-align: top; padding: 7px 9px; border-bottom: 1px solid var(--border); }
.wb-key th { width: 40%; color: var(--accent); font-weight: 700; }
.wb-key tr:nth-child(even) td, .wb-key tr:nth-child(even) th { background: var(--surface-alt); }
.legal-key { font-size: 12px; color: var(--text-light); margin-top: 10px; }

/* Cover band and back-cover button sat in a column flex container with the
   default align-items: stretch, so in print the band ran the full page width
   and the button grew into a block half a page tall. Shipped that way on
   the pilot's live PDFs until 2026-10-02. */
.wb-page.cover .band { align-self: center; }
.wb-backcover .wb-btn { flex: 0 0 auto; align-self: center; }

/* ---- Real coins and coin activities (Penny & Pals) ---- */
.real-coins { display: flex; justify-content: center; align-items: flex-end; gap: 30px; margin: 12px 0 4px; }
.real-coins > div { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 13px; }
.real-coins img { border-radius: 50%; }
.real-coins span { font-weight: 800; color: var(--accent); }
.color-coins { display: flex; justify-content: center; align-items: center; gap: 34px; margin: 10px 0 4px; }
.color-coins .cc { border-radius: 50%; border: 2.5px solid #555; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #555; background: #fff; }
.value-row { display: flex; justify-content: center; gap: 46px; margin-top: 26px; }
.value-row span { border: 2px dashed var(--border); border-radius: 8px; padding: 5px 12px; font-weight: 800; font-size: 16px; }
.mini-coins { display: inline-flex; gap: 4px; margin-top: 5px; align-items: center; }
.mini-coin { border-radius: 50%; }
.mini-dime { width: 24px; } .mini-penny { width: 26px; } .mini-nickel { width: 28px; } .mini-quarter { width: 33px; }
@media print { .mini-coins { margin-top: 3px; } }

/* Need / want: two boxes per item, one to check */
.nw-list { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.nw-row { display: flex; align-items: center; gap: 16px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 14px; font-size: 15px; }
.nw-row .nw-item { flex: 1; }
.nw-box { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; }
.nw-box .sq { width: 20px; height: 20px; border: 2px solid var(--accent); border-radius: 3px; }

/* Interview: questions with real writing room */
.interview .q { font-weight: 700; margin: 14px 0 0; }
.interview .write-line { height: 34px; }

/* Deposit slip: a wide, tall space to write in */
.wb-table.slip td:first-child { width: 34%; }
.wb-table.slip td.fill { height: 40px; font-size: 16px; }

/* ---- Branding: logo on every page, and on both covers ---- */
.wb-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.wb-foot .wb-page-num { margin-top: 0; }
.wb-foot-logo { height: 28px; width: auto; opacity: 0.9; }
.logo-chip { display: inline-block; align-self: center; background: #fff; border-radius: 12px; padding: 10px 16px; margin-bottom: 26px; position: relative; z-index: 1; }
.logo-chip img { height: 56px; width: auto; display: block; }
.wb-backcover .logo-chip { margin: 6px auto 10px; }
.wb-page.cover { background: linear-gradient(155deg, var(--brand-primary) 0%, var(--brand-dark) 100%); }

@media print {
  .wb-page { position: relative; }
  .wb-foot { position: absolute; left: 0.55in; right: 0.55in; bottom: 0.14in; margin: 0; }
  .wb-table.slip td.fill { height: 34px; }
  .interview .write-line { height: 33px; }
}
.wb-foot .wb-page-num { margin-left: auto; }

/* ---- Cover drawing and running header (which book is this page from?) ---- */
.wb-page.cover .cover-art { width: 270px; height: 270px; color: #fff; display: block; margin: 0 auto 14px; position: relative; z-index: 1; align-self: center; }
.wb-page.cover::after { content: none; }
.wb-run { display: flex; width: fit-content; margin-left: auto; align-items: center; gap: 8px; padding: 5px 12px 5px 8px; border: 1.5px solid var(--brand-primary); border-radius: 20px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-primary); margin-top: -18px; margin-bottom: 8px; }
.wb-run .run-art { color: var(--brand-primary); flex: 0 0 auto; }
@media print {
  .wb-run { position: absolute; top: 0.16in; right: 0.55in; margin: 0; }
}

/* Cover: a white box to write a name in (ink does not read on the brand colour) */
.cover-name { align-self: center; display: flex; align-items: flex-end; gap: 12px; width: 380px; max-width: 90%; margin: 34px auto 0; background: #fff; border-radius: 10px; padding: 14px 18px 12px; position: relative; z-index: 1; }
.cover-name span { color: var(--brand-dark); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.cover-name i { flex: 1; border-bottom: 2px solid var(--brand-dark); height: 26px; }

/* Draw-a-line matching: plain text, dots on the inside edges, a wide gutter
   to draw across. The boxed .matchbox looked tidy but left no room for a line. */
.matchlines { display: grid; grid-template-columns: 1fr 1fr; column-gap: 130px; row-gap: 22px; margin: 16px 6px; }
.matchlines .mb-item { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.matchlines .mb-item:nth-child(odd) { flex-direction: row-reverse; justify-content: flex-start; text-align: right; }
.matchlines .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent, var(--brand-primary)); flex: 0 0 auto; }
@media print { .matchlines { row-gap: 15px; column-gap: 120px; } .matchlines .mb-item { font-size: 14px; } }

/* Line-art jars (K-2 Save, Spend, Share). Same stroke style as the cover art. */
.three-jars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 14px 0 18px; text-align: center; }
.three-jars svg { width: 128px; height: auto; color: var(--brand-primary); display: block; margin: 0 auto 6px; }
.three-jars span { font-size: 13px; color: var(--text-light); }
.jar-row { display: flex; justify-content: center; gap: 18px; margin: 12px 0 4px; flex-wrap: wrap; }
.jar-row > div { text-align: center; font-size: 12px; font-weight: 700; color: var(--text-light); }
.jar-row svg { width: 72px; height: auto; color: var(--brand-primary); display: block; margin: 0 auto 4px; }
.jar-cell { white-space: nowrap; }
.jar-ico { vertical-align: -5px; color: var(--brand-primary); }
@media print { .three-jars svg { width: 120px; } .jar-row svg { width: 66px; } }
.nowrap { white-space: nowrap; }

/* Tables where the reader writes dollar amounts: give the write-in column room. */
.wb-table.wide-fill td.fill { width: 42%; }
/* Any two-column "label | write it in" table gets the same roomy write-in column. */
.wb-table td.fill:nth-child(2):last-child { width: 42%; }

/* Market history charts (investing lessons). */
.wb-chart { display: block; width: 100%; height: auto; margin: 6px 0 0; font-family: inherit; }
/* Column labels over a draw-a-line matching exercise. */
.matchlines .mb-item.match-head { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-light); }

/* ---- Review fixes 2026-10-20 ---- */
/* Covers: the page box is 10.9in (see the print block), which left a 0.1in
   white strip at the foot of every cover. The gradient now reaches the dark
   end before the bottom edge, and a flat shadow in that colour fills the
   strip without changing the page's size. */
.wb-page.cover { background: linear-gradient(155deg, var(--brand-primary) 0%, var(--brand-dark) 72%); }
@media print {
  .wb-page.cover, .wb-page.wb-backcover { box-shadow: 0 0.2in 0 0 var(--brand-dark); }
}
/* Checklist rows were flex, so a bold word inside one became its own flex
   item with gaps around it ("a need from a want ."). Block plus an
   absolutely placed box keeps the sentence one run of text. */
.wb-checklist li { display: block; position: relative; padding-left: 30px; }
.wb-checklist li::before { position: absolute; left: 0; top: 9px; margin-top: 2px; }
@media print { .wb-checklist li::before { top: 6px; } }
/* Labels in definition chips stay on one line ("Gross pay:", "Credit union:"). */
.mb-item strong { white-space: nowrap; }
/* The grade pill on the cover: a white ring so it stands off the gradient
   when the accent is close to the primary colour. */
.wb-page.cover .band { box-shadow: 0 0 0 2px rgba(255,255,255,0.9); }
