/* Chapter11Ready — Resource documents
 * Shared styling for the long-form HTML resource sites (Checklist, Guides, Glossary).
 * Consumes design-system tokens from ../../styles.css. Print rules included.
 */

:root {
  --doc-content-max: 800px;
  --doc-container: 1200px;
  --doc-sidebar: 252px;
  --topbar-h: 64px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 24px); }
body { background: var(--surface-page); color: var(--text-body); }

/* ============================================================= TOP BAR */
.doc-topbar {
  position: sticky; top: 0; z-index: 60;
  height: var(--topbar-h);
  background: color-mix(in srgb, var(--ivory) 90%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.doc-topbar-inner {
  height: 100%; max-width: var(--doc-container); margin-inline: auto;
  padding-inline: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.doc-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.doc-brand svg.brand-mark { display: block; }
.doc-brand-name { font-family: var(--font-ui); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--navy); }
.doc-brand-name b { color: var(--gold-700); font-weight: 600; }
.doc-topbar-actions { display: flex; align-items: center; gap: 12px; }
.doc-breadcrumb { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--slate-500); font-family: var(--font-ui); }
.doc-breadcrumb a { color: var(--slate-600); }
.doc-breadcrumb a:hover { color: var(--navy); }

/* ============================================================= BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 500;
  border-radius: var(--radius-sm, 8px); padding: 9px 15px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background 160ms cubic-bezier(.22,.61,.36,1), color 160ms, border-color 160ms, transform 120ms, box-shadow 160ms;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 16px; height: 16px; }
.btn-accent { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-xs); }
.btn-accent:hover { background: var(--gold-600); }
.btn-accent:active { transform: translateY(.5px); box-shadow: none; }
.btn-primary { background: var(--navy); color: var(--ivory); }
.btn-primary:hover { background: var(--navy-700); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--border); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { border-color: var(--border-strong); background: var(--sand-100); }
.btn-ghost { background: transparent; color: var(--slate-600); }
.btn-ghost:hover { color: var(--navy); background: color-mix(in srgb, var(--navy) 6%, transparent); }
.btn-lg { font-size: 15px; padding: 13px 22px; }
.btn-lg svg { width: 17px; height: 17px; }

/* ============================================================= HERO */
.doc-hero { padding: 56px 0 40px; }
.doc-hero-inner { max-width: var(--doc-container); margin-inline: auto; padding-inline: 32px; }
.doc-eyebrow {
  font-family: var(--font-ui); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-700);
  display: inline-flex; align-items: center; gap: 9px;
}
.doc-hero h1 {
  font-family: var(--font-display); font-weight: 500; color: var(--navy);
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.025em;
  margin: 18px 0 0; max-width: 17ch;
}
.doc-hero-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--text-body); max-width: 60ch; margin: 18px 0 0; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 26px; }
.doc-meta-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; font-weight: 500; color: var(--slate-700);
  box-shadow: var(--shadow-xs);
}
.doc-meta-chip svg { width: 15px; height: 15px; color: var(--gold-700); }
.doc-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }

/* ============================================================= LAYOUT */
.doc-layout {
  max-width: var(--doc-container); margin-inline: auto; padding: 8px 32px 96px;
  display: grid; grid-template-columns: var(--doc-sidebar) minmax(0, 1fr); gap: 56px;
  align-items: start;
}
.doc-main { min-width: 0; max-width: var(--doc-content-max); }

/* ----------------------------------- SIDEBAR / TOC */
.doc-sidebar { position: sticky; top: calc(var(--topbar-h) + 24px); align-self: start; }
.doc-toc-label {
  font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--slate-400); margin: 0 0 12px 14px;
}
.doc-toc { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.doc-toc li { margin: 0; }
.doc-toc a {
  display: block; padding: 7px 14px; font-family: var(--font-ui); font-size: 13.5px;
  line-height: 1.4; color: var(--slate-600); border-left: 2px solid transparent; margin-left: -1px;
  transition: color 140ms, border-color 140ms;
}
.doc-toc a:hover { color: var(--navy); }
.doc-toc a.active { color: var(--navy); font-weight: 600; border-left-color: var(--gold); }
.doc-toc a.sub { padding-left: 26px; font-size: 13px; color: var(--slate-500); }

.doc-side-cta {
  margin-top: 26px; background: var(--navy); border-radius: var(--radius-lg, 12px);
  padding: 20px; color: var(--ivory);
}
.doc-side-cta h4 { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--ivory); margin: 0 0 6px; letter-spacing: -0.01em; }
.doc-side-cta p { font-size: 13px; line-height: 1.55; color: color-mix(in srgb, var(--ivory) 74%, transparent); margin: 0 0 14px; }
.doc-side-cta .btn { width: 100%; justify-content: center; }

/* ============================================================= CONTENT TYPE */
.doc-main h2 {
  font-family: var(--font-display); font-weight: 500; color: var(--navy);
  font-size: clamp(26px, 2.4vw, 32px); line-height: 1.14; letter-spacing: -0.02em;
  margin: 0;
}
.doc-main h3 { font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
.doc-main p { font-size: 16px; line-height: 1.7; color: var(--text-body); margin: 0 0 1rem; }
.doc-main p:last-child { margin-bottom: 0; }
.doc-main a.inline { color: var(--gold-700); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.doc-lead { font-size: 18px !important; line-height: 1.65 !important; color: var(--slate-700) !important; }
.doc-prose strong { color: var(--navy); font-weight: 600; }

/* Section block (a Part / a Guide) */
.doc-section { scroll-margin-top: calc(var(--topbar-h) + 24px); }
.doc-section + .doc-section { margin-top: 56px; }
.doc-section-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.doc-num {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy); color: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 500;
}
.doc-num.gold { background: var(--gold-soft); color: var(--gold-700); }
.doc-section-head .head-text { flex: 1; min-width: 0; }
.doc-section-head .head-sub { font-size: 13.5px; color: var(--slate-500); margin-top: 5px; font-family: var(--font-ui); }

.tag-req {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  background: var(--green-100); color: var(--green-700); white-space: nowrap;
}
.tag-req.cond { background: var(--mist); color: var(--navy-600); }
.tag-req svg { width: 13px; height: 13px; }

/* ============================================================= CALLOUTS */
.callout {
  border-radius: var(--radius-lg, 12px); padding: 18px 20px; margin: 22px 0;
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid transparent;
}
.callout .ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; }
.callout .ic svg { width: 18px; height: 18px; }
.callout .body { min-width: 0; }
.callout .body > *:first-child { margin-top: 0; }
.callout .body > *:last-child { margin-bottom: 0; }
.callout-title { font-family: var(--font-ui); font-weight: 600; font-size: 15px; color: var(--navy); margin: 0 0 5px; }
.callout p { font-size: 14.5px !important; line-height: 1.6 !important; margin: 0 0 .6rem; }

.callout.info { background: var(--mist); border-color: var(--border-cool); }
.callout.info .ic { background: var(--white); color: var(--navy-600); }
.callout.tip { background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 30%, transparent); }
.callout.tip .ic { background: var(--white); color: var(--gold-700); }
.callout.warn { background: var(--red-100); border-color: color-mix(in srgb, var(--red) 32%, transparent); }
.callout.warn .ic { background: var(--white); color: var(--red-700); }
.callout.warn .callout-title { color: var(--red-700); }
.callout.success { background: var(--green-100); border-color: color-mix(in srgb, var(--green) 26%, transparent); }
.callout.success .ic { background: var(--white); color: var(--green-700); }

/* ============================================================= LISTS */
.doc-list { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.doc-list li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.6; color: var(--text-body); }
.doc-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--gold); transform: rotate(45deg);
}
.doc-list.check li::before { display: none; }
.doc-list.check li { padding-left: 30px; }
.doc-list.check li > .tick {
  position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 5px;
  border: 1.5px solid var(--green); color: var(--green); display: inline-flex; align-items: center; justify-content: center;
}
.doc-list.check li > .tick svg { width: 12px; height: 12px; }
.doc-list strong { color: var(--navy); }

/* ============================================================= CARDS / PANELS */
.doc-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-sm); padding: 24px 26px;
}
.doc-card.tight { padding: 18px 20px; }

/* ============================================================= TABLES */
.doc-table-wrap { margin: 18px 0; border: 1px solid var(--border); border-radius: var(--radius-lg, 12px); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
table.doc-table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); }
table.doc-table th {
  text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--slate-500); background: var(--sand-100); padding: 11px 16px; border-bottom: 1px solid var(--border);
}
table.doc-table td { padding: 14px 16px; font-size: 14.5px; line-height: 1.5; color: var(--text-body); border-bottom: 1px solid var(--border); vertical-align: top; }
table.doc-table tr:last-child td { border-bottom: none; }
table.doc-table .num { font-variant-numeric: tabular-nums; color: var(--navy); font-weight: 600; width: 1%; white-space: nowrap; }
table.doc-table .q-line { color: var(--navy); font-weight: 500; }
table.doc-table .meta { font-size: 13px; color: var(--slate-500); margin-top: 3px; }
table.doc-table th.center, table.doc-table td.center { text-align: center; }
.col-narrow { width: 64px; }

/* Yes/No/N/A segmented control */
.qopts { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--white); }
.qopts button {
  border: 0; background: transparent; font-family: var(--font-ui); font-size: 12.5px; font-weight: 600;
  color: var(--slate-500); padding: 7px 12px; cursor: pointer; border-right: 1px solid var(--border);
  transition: background 120ms, color 120ms;
}
.qopts button:last-child { border-right: 0; }
.qopts button:hover { background: var(--sand-100); color: var(--navy); }
.qopts button[aria-pressed="true"] { background: var(--navy); color: var(--ivory); }
.q-flag { display: none; margin-top: 7px; font-size: 12.5px; font-weight: 600; color: var(--gold-700); }
.q-flag.show { display: inline-flex; align-items: center; gap: 6px; }
.q-flag svg { width: 13px; height: 13px; }

/* ============================================================= CHECKLIST ITEMS */
.progress-bar {
  position: sticky; top: calc(var(--topbar-h) + 0px); z-index: 30;
  background: color-mix(in srgb, var(--ivory) 94%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px;
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px; box-shadow: var(--shadow-xs);
}
.progress-bar .track { flex: 1; height: 7px; border-radius: 999px; background: var(--sand-100); overflow: hidden; }
.progress-bar .fill { height: 100%; background: var(--green); border-radius: 999px; width: 0%; transition: width 280ms cubic-bezier(.22,.61,.36,1); }
.progress-bar .count { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.progress-bar .reset { background: none; border: none; color: var(--slate-500); font-size: 12.5px; cursor: pointer; font-family: var(--font-ui); }
.progress-bar .reset:hover { color: var(--navy); text-decoration: underline; }

.check-item { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--border); }
.check-item:last-child { border-bottom: none; }
.check-box {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px;
  border: 1.5px solid var(--border-strong); background: var(--white); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background 140ms, border-color 140ms;
}
.check-box svg { width: 14px; height: 14px; color: var(--ivory); opacity: 0; transition: opacity 120ms; }
.check-item.done .check-box { background: var(--green); border-color: var(--green); }
.check-item.done .check-box svg { opacity: 1; }
.check-item .ci-body { flex: 1; min-width: 0; }
.check-item .ci-title { font-family: var(--font-ui); font-size: 15.5px; font-weight: 500; color: var(--navy); line-height: 1.45; }
.check-item.done .ci-title { color: var(--slate-500); }
.check-item .ci-note { font-size: 14px; line-height: 1.55; color: var(--slate-500); margin-top: 4px; }
.check-item .ci-when {
  flex-shrink: 0; font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: var(--gold-700);
  background: var(--gold-soft); border-radius: 999px; padding: 4px 11px; white-space: nowrap; margin-top: 1px;
}

/* ============================================================= GLOSSARY */
.gloss-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }
.gloss-search {
  position: relative; flex: 1; min-width: 240px;
}
.gloss-search input {
  width: 100%; font-family: var(--font-ui); font-size: 15px; color: var(--navy);
  padding: 12px 14px 12px 42px; border: 1px solid var(--border); border-radius: 10px; background: var(--white);
  box-shadow: var(--shadow-xs);
}
.gloss-search input::placeholder { color: var(--slate-400); }
.gloss-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--slate-400); }
.gloss-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chip {
  font-family: var(--font-ui); font-size: 12.5px; font-weight: 500; color: var(--slate-600);
  background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 7px 13px; cursor: pointer;
  transition: all 120ms;
}
.cat-chip:hover { border-color: var(--border-strong); }
.cat-chip[aria-pressed="true"] { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

.gloss-alpha { display: flex; flex-wrap: wrap; gap: 5px; }
.gloss-alpha a {
  width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: var(--slate-500);
  border-radius: 7px; transition: background 120ms, color 120ms;
}
.gloss-alpha a:hover { background: var(--sand-100); color: var(--navy); }

.gloss-group { scroll-margin-top: calc(var(--topbar-h) + 24px); margin-top: 40px; }
.gloss-group-letter {
  font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--gold-700);
  border-bottom: 1px solid var(--border); padding-bottom: 8px; margin: 0 0 18px;
}
.gloss-term { padding: 20px 0; border-bottom: 1px solid var(--border); }
.gloss-term:last-child { border-bottom: none; }
.gloss-term-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin-bottom: 8px; }
.gloss-term-name { font-family: var(--font-display); font-size: 21px; font-weight: 500; color: var(--navy); letter-spacing: -0.01em; }
.gloss-term-cat {
  font-family: var(--font-ui); font-size: 10.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.gloss-also { font-size: 13.5px; color: var(--slate-500); font-style: italic; margin-bottom: 8px; }
.gloss-also b { font-style: normal; font-weight: 600; color: var(--slate-600); }
.gloss-def { font-size: 15.5px; line-height: 1.65; color: var(--text-body); margin: 0; }
.gloss-eg {
  margin-top: 12px; padding: 12px 16px; background: var(--sand-100); border-radius: 9px;
  font-size: 14px; line-height: 1.6; color: var(--slate-700);
}
.gloss-eg b { color: var(--navy); font-weight: 600; }
.gloss-empty { display: none; padding: 40px; text-align: center; color: var(--slate-500); font-size: 15px; }

/* category color coding (subtle) */
.cat-core      { background: var(--gold-soft); color: var(--gold-700); }
.cat-types     { background: var(--mist); color: var(--navy-600); }
.cat-parties   { background: var(--green-100); color: var(--green-700); }
.cat-court     { background: var(--mist); color: var(--navy-600); }
.cat-legal     { background: var(--sand-100); color: var(--slate-700); }
.cat-accounting{ background: var(--gold-soft); color: var(--gold-700); }
.cat-banking   { background: var(--mist); color: var(--navy-600); }
.cat-taxes     { background: var(--red-100); color: var(--red-700); }
.cat-protections{ background: var(--green-100); color: var(--green-700); }

/* ============================================================= CTA BAND + FOOTER */
.doc-ctaband { max-width: var(--doc-container); margin: 0 auto 0; padding: 0 32px; }
.doc-ctaband-inner {
  background: var(--navy); border-radius: var(--radius-2xl, 20px); padding: clamp(36px, 4vw, 56px);
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
}
.doc-ctaband h2 { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; color: var(--ivory); margin: 0 0 10px; letter-spacing: -0.02em; line-height: 1.12; }
.doc-ctaband p { font-size: 16.5px; line-height: 1.6; color: color-mix(in srgb, var(--ivory) 76%, transparent); margin: 0; max-width: 52ch; }
.doc-ctaband .actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.doc-ctaband .actions .btn { justify-content: center; }
.doc-ctaband .micro { font-size: 13px; color: color-mix(in srgb, var(--ivory) 60%, transparent); text-align: center; }

.doc-footer { background: var(--navy); color: var(--ivory); margin-top: 64px; padding: 64px 0 36px; }
.doc-footer-inner { max-width: var(--doc-container); margin-inline: auto; padding-inline: 32px; }
.doc-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid color-mix(in srgb, var(--ivory) 16%, transparent); }
.doc-footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.doc-footer-col { display: flex; flex-direction: column; gap: 11px; }
.doc-footer-col .h { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-300); }
.doc-footer-col a { font-size: 14px; color: color-mix(in srgb, var(--ivory) 78%, transparent); }
.doc-footer-col a:hover { color: var(--ivory); }
.doc-disclaimer { font-size: 12.5px; line-height: 1.6; color: color-mix(in srgb, var(--ivory) 58%, transparent); max-width: 820px; margin: 24px 0 0; }
.doc-footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-size: 12.5px; color: color-mix(in srgb, var(--ivory) 52%, transparent); }

/* ============================================================= PRINT-ONLY HEADER/FOOTER (hidden on screen) */
.print-only { display: none; }

/* ============================================================= RESPONSIVE */
@media (max-width: 940px) {
  .doc-layout { grid-template-columns: 1fr; gap: 0; }
  .doc-sidebar { display: none; }
  .doc-ctaband-inner { grid-template-columns: 1fr; }
  .doc-breadcrumb { display: none; }
}
@media (max-width: 560px) {
  .doc-topbar-inner, .doc-hero-inner, .doc-layout, .doc-footer-inner, .doc-ctaband { padding-inline: 20px; }
  .doc-topbar-actions .label-hide { display: none; }
}

/* ============================================================= PRINT */
@media print {
  :root { --topbar-h: 0px; }
  @page { margin: 16mm 14mm 18mm; }
  html { scroll-behavior: auto; }
  body { background: #fff; color: #1c2435; font-size: 11pt; }

  .doc-topbar, .doc-sidebar, .doc-hero-actions, .doc-meta, .progress-bar,
  .gloss-controls, .gloss-alpha, .doc-side-cta, .doc-footer-links, .doc-footer-base,
  .no-print, .qopts, .check-box, .doc-hero .doc-eyebrow { display: none !important; }

  .doc-layout { display: block; max-width: 100%; padding: 0; }
  .doc-main { max-width: 100%; }
  .doc-hero { padding: 0 0 6px; }
  .doc-hero-inner, .doc-footer-inner, .doc-ctaband { padding: 0; max-width: 100%; }
  .doc-hero h1 { font-size: 23pt; line-height: 1.08; margin: 0; max-width: 100%; }
  .doc-hero-lead { font-size: 11.5pt !important; line-height: 1.5 !important; margin-top: 8px !important; max-width: 100%; }

  .print-only { display: block; }
  .print-head { border-bottom: 2px solid var(--navy); padding-bottom: 9px; margin-bottom: 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
  .print-head .pt { font-family: var(--font-display); font-size: 15pt; line-height: 1.15; color: var(--navy); font-weight: 600; max-width: 74%; }
  .print-head .pu { font-family: var(--font-ui); font-size: 9pt; color: var(--gold-700); font-weight: 600; white-space: nowrap; }

  .doc-section, .gloss-group, .gloss-term, .check-item, .callout, .doc-card, .doc-table-wrap, table.doc-table tr { break-inside: avoid; }
  .doc-section + .doc-section { margin-top: 22px; }
  .doc-section h2, .gloss-group-letter { break-after: avoid; }

  .doc-ctaband-inner { background: none; border: 1.5px solid var(--navy); border-radius: 8px; padding: 16px; color: var(--navy); }
  .doc-ctaband h2, .doc-ctaband p, .doc-ctaband .micro { color: var(--navy); }
  .doc-ctaband .btn { display: none; }
  .doc-footer { background: none; color: var(--slate-700); margin-top: 24px; padding: 12px 0 0; border-top: 1px solid var(--border); }
  .doc-disclaimer { color: var(--slate-600); }

  /* checklist: render the print checkbox square */
  .check-item .ci-print-box { display: inline-block !important; width: 12px; height: 12px; border: 1.2px solid #1c2435; margin-right: 8px; vertical-align: middle; }
  .check-item.done .ci-print-box { background: #1c2435; }
  .check-item .ci-when { background: none; color: var(--slate-600); padding: 0; }
  table.doc-table .print-box { display: inline-block; width: 11px; height: 11px; border: 1.2px solid #1c2435; }

  a { color: var(--navy) !important; text-decoration: none; }
  .gloss-eg, .callout { background: #f6f4ef !important; }
}
