/* ==========================================================================
   CredFixx — Credit Analysis & Accuracy Review
   Print-ready report stylesheet · US Letter (8.5 × 11 in)
   Palette sourced from credfixx.com/assets/css/style.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --blue:        #006cff;
  --blue-700:    #0053c4;
  --blue-100:    #d5e6ff;
  --blue-050:    #eef5ff;
  --navy:        #18212e;
  --navy-700:    #1c2430;
  --navy-500:    #2d3849;
  --navy-400:    #3a4557;
  --yellow:      #fdd947;
  --yellow-700:  #c9a516;
  --yellow-050:  #fffae6;

  /* Neutrals */
  --ink:         #18212e;
  --muted:       #757a84;
  --muted-soft:  #9aa0aa;
  --line:        #e2e6ed;
  --gray:        #5f6673;
  --gray-bg:     #f2f3f5;
  --line-soft:   #eef0f4;
  --surface:     #f7f8fa;
  --bg:          #e9ebef;
  --white:       #ffffff;

  /* Semantic — also present in the CredFixx palette */
  --danger:      #e74c57;
  --danger-bg:   #fdeced;
  --danger-line: #f6ccd0;
  --warn:        #f59e0b;
  --warn-bg:     #fef6e7;
  --warn-line:   #f7e3b8;
  --ok:          #28a745;
  --ok-bg:       #eaf7ee;
  --ok-line:     #c3e6cd;

  /* Page metrics */
  --page-w:  8.5in;
  --page-h:  11in;
  --pad-x:   0.6in;
  --pad-t:   0.5in;
  --pad-b:   0.4in;
  --radius:  10px;
  --radius-sm: 6px;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, p, ul, ol, figure, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; width: 100%; }
img { max-width: 100%; display: block; }
b, strong { font-weight: 600; }
sup { font-size: 0.7em; vertical-align: super; }

/* --------------------------------------------------------------------------
   3. Page shell
   -------------------------------------------------------------------------- */
.page {
  position: relative;
  width: var(--page-w);
  height: var(--page-h);
  margin: 22px auto;
  padding: var(--pad-t) var(--pad-x) var(--pad-b);
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(24, 33, 46, .16);
}

/* Continuation page: no repeated title, just breathing room at the top */
.page--cont { padding-top: calc(var(--pad-t) + 0.22in); }

/* Reserve room for the fixed footer inside every interior page */
.page--inner { padding-bottom: calc(var(--pad-b) + 44px); }

/* ---- Page header --------------------------------------------------------- */
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.head-title { display: flex; align-items: flex-start; gap: 12px; }

/* Brand accent bar: blue over yellow, echoing the CredFixx logo mark */
.accent-bar {
  flex: none;
  width: 5px;
  height: 40px;
  margin-top: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg,
              var(--blue) 0%, var(--blue) 55%,
              var(--yellow) 55%, var(--yellow) 100%);
}

.eyebrow {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.4;
}

.page-title {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.15;
  color: var(--navy);
}

.badge {
  flex: none;
  margin-top: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--warn   { background: var(--warn-bg);   border-color: var(--warn-line);   color: #a86a05; }
.badge--danger { background: var(--danger-bg); border-color: var(--danger-line); color: #b7333d; }
.badge--navy   { background: var(--navy);      border-color: var(--navy);        color: var(--yellow); }

.page-sub {
  margin-bottom: 16px;
  padding-left: 17px;
  font-size: 11.5px;
  color: var(--muted);
}

/* ---- Page body ----------------------------------------------------------- */
.page-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

/* Blocks flagged .fill absorb the leftover column height, so sparse pages
   grow their cards instead of leaving a dead band above the footer. */
.fill        { flex: 1 1 auto; }
/* Tables keep their natural height — stretching short ones leaves hollow rows.
   Ceilings keep a stretched block from ballooning into an empty box. */
.stat-grid.fill { max-height: 2.15in; }
.mix.fill       { max-height: 1.15in; }
.steps.fill     { max-height: 1.70in; }
.cols-2.fill    { max-height: 2.60in; }
.fill.cols-2,
.fill.cols-3 { align-content: stretch; }

/* ---- Page footer --------------------------------------------------------- */
.page-foot {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: var(--pad-b);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 8.5px;
  color: var(--muted);
}

.page-foot b { color: var(--navy); font-weight: 600; }
.page-foot .conf {
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
/* --------------------------------------------------------------------------
   4. Cover (page 1) — white field cut by the CredFixx blue wedge
   -------------------------------------------------------------------------- */
.cover {
  padding: 0;
  background: var(--white);
  color: var(--ink);
  display: block;
}

.cover__diag {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-700) 100%);
  clip-path: polygon(88% 0, 100% 0, 100% 100%, 58% 100%);
}

/* Rings live inside the wedge so its clip-path hides them over the white half */
.cover__ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
}
.cover__ring--1 { width: 430px; height: 430px; top: -140px;  right: -120px; }
.cover__ring--2 { width: 660px; height: 660px; top: -250px;  right: -250px; }
.cover__ring--3 { width: 300px; height: 300px; bottom: 60px; right: -110px; border-color: rgba(253, 217, 71, .30); }

.cover__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 0.72in 0.68in 0.55in;
  display: flex;
  flex-direction: column;
}

/* Logo sits directly on the white field — no chip needed */
.cover__logo { align-self: flex-start; }
.cover__logo img { width: 172px; height: auto; }

.cover__tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
}

.cover__title {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -1.4px;
  color: var(--navy);
}
.cover__title em { font-style: normal; color: var(--blue); }

.cover__rule {
  width: 96px;
  height: 6px;
  margin: 20px 0 20px;
  border-radius: 3px;
  background: var(--yellow);
}

.cover__lead {
  max-width: 4.15in;
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--muted);
  font-weight: 400;
}

.cover__spacer { flex: 1; }

.cover__card {
  max-width: 3.9in;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--surface);
}
.cover__card-label {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue);
}
.cover__card-name {
  margin: 3px 0 12px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: var(--navy);
}
.cover__meta {
  display: flex;
  gap: 28px;
  font-size: 10px;
}
.cover__meta b {
  display: block;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.cover__meta span { color: var(--navy); font-weight: 500; }

/* Kept clear of the wedge so the rule never crosses onto blue */
.cover__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 4.2in;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 8.5px;
  color: var(--muted);
}
.cover__foot .pill {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* --------------------------------------------------------------------------
   4b. Table of contents (page 2)
   -------------------------------------------------------------------------- */
.toc { display: flex; flex-direction: column; gap: 0; }

.toc__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.toc__row:first-child { border-top: 1px solid var(--line); }

.toc__n {
  flex: none;
  width: 26px;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.5px;
}
.toc__t {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--navy);
  white-space: nowrap;
}
.toc__dots {
  flex: 1;
  height: 1px;
  margin: 0 4px 4px;
  border-bottom: 1px dotted var(--line);
}
.toc__p {
  flex: none;
  min-width: 34px;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.toc__span {
  flex: none;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.4px;
}

/* --------------------------------------------------------------------------
   5. Tables
   -------------------------------------------------------------------------- */
.tbl {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.tbl thead th {
  padding: 9px 11px;
  background: var(--navy);
  color: var(--white);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  vertical-align: middle;
}

.tbl tbody td {
  padding: 10px 11px;
  border-top: 1px solid var(--line-soft);
  vertical-align: top;
  line-height: 1.45;
}

.tbl tbody tr:nth-child(even) { background: var(--surface); }

.tbl .acct {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* Row-header cells stay navy: red is reserved for the reported values */
.fld-name {
  font-weight: 600;
  color: var(--navy);
}

/* Account number sits under its name, de-emphasised */
.acct-num {
  display: block;
  margin-top: 1px;
  font-weight: 400;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.2px;
}

/* Conflict rows / cells: red signals a bureau discrepancy */
.is-conflict .acct,
.is-conflict .val { color: var(--danger); }
td.val   { font-weight: 500; }
.t-ok    { color: var(--ok);     font-weight: 600; }
.t-warn  { color: var(--warn);   font-weight: 600; }
.t-bad   { color: var(--danger); font-weight: 600; }
.t-mut   { color: var(--muted); }
.t-navy  { color: var(--navy); font-weight: 600; }
.nowrap  { white-space: nowrap; }

.tbl--fixed { table-layout: fixed; }

/* Bulleted items inside a table cell */
.cell-list li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 3px;
}
.cell-list li:last-child { margin-bottom: 0; }
.cell-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--danger);
}

/* Denser rows for pages carrying two full tables */
.tbl--tight tbody td { padding: 6.5px 9px; }
.tbl--tight thead th  { padding: 7px 9px; }

/* Dense variant for long lists (inquiries can run to 40+ rows).
   Vertical rhythm only — horizontal padding is unchanged. */
.tbl--dense tbody td {
  padding: 4px 11px;
  font-size: 9px;
  line-height: 1.35;
}
.tbl--dense thead th { padding: 6px 11px; }

/* Bureau column headers get a subtle blue tint */
.tbl th.bureau { background: var(--blue); }

/* --------------------------------------------------------------------------
   6. Cards, notes and callouts
   -------------------------------------------------------------------------- */
.card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.card--soft { background: var(--surface); }

.card-title {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.note {
  padding: 11px 14px;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  background: var(--blue-050);
  font-size: 10px;
  line-height: 1.5;
  color: var(--navy-700);
}
.note b { color: var(--blue-700); }

.note--warn   { border-left-color: var(--warn);   background: var(--warn-bg); }
.note--warn b { color: #a86a05; }
.note--danger { border-left-color: var(--danger); background: var(--danger-bg); }
.note--danger b { color: #b7333d; }
.note--yellow { border-left-color: var(--yellow); background: var(--yellow-050); }
.note--yellow b { color: var(--yellow-700); }
.note--navy   { border-left-color: var(--yellow); background: var(--navy); color: rgba(255,255,255,.85); }
.note--navy b { color: var(--yellow); }

.fineprint {
  font-size: 8.5px;
  line-height: 1.5;
  color: var(--muted-soft);
}

/* --------------------------------------------------------------------------
   7. Layout helpers
   -------------------------------------------------------------------------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cols-2--auto { align-items: start; }   /* each card hugs its own content */

/* One step down in type for dense guidance cards */
.card--sm .card-title      { font-size: 11px; }
.card--sm .check-list li   { font-size: 9px; }
.card--sm p                { font-size: 9px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stack  { display: flex; flex-direction: column; gap: 12px; }
.grow   { flex: 1; }

/* Bulleted checklists */
.check-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 4px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--navy-700);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--blue);
}
.check-list--yellow li::before { background: var(--yellow); }
.check-list li:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   8. Score & statistic blocks (page 3)
   -------------------------------------------------------------------------- */
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.score {
  position: relative;
  padding: 16px 14px 14px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}
.score__bureau {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}
.score__value {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--navy);
}
.score__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue);
}
.score__meter {
  height: 5px;
  margin-top: 9px;
  border-radius: 3px;
  background: var(--line-soft);
  overflow: hidden;
}
.score__meter span {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: 3px;
  background: var(--warn);
}
.score__range { margin-top: 5px; font-size: 7.5px; color: var(--muted-soft); }

/* Derogatory factor tiles */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 10px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  text-align: center;
}
.stat__n {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: var(--navy);
}
.stat__l {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--muted);
}
.stat--hot   { background: var(--danger-bg); border-color: var(--danger-line); }
.stat--hot .stat__n { color: var(--danger); }
.stat--warm  { background: var(--warn-bg);   border-color: var(--warn-line); }
.stat--warm .stat__n { color: var(--warn); }
.stat--zero .stat__n { color: var(--muted-soft); }

/* Total banner — red so the headline count is the first thing the eye lands on */
.total-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--danger);
  color: var(--white);
}
.total-bar__n {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.4px;
  color: var(--white);
}
.total-bar__l {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--white);
}

/* Accounts mix */
.mix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mix__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.mix__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  font-size: 9.5px;
  color: var(--muted);
}
.mix__row + .mix__row { border-top: 1px dashed var(--line); }
.mix__row b { font-size: 15px; font-weight: 700; color: var(--navy); }

/* --------------------------------------------------------------------------
   9. Utilization (page 4)
   -------------------------------------------------------------------------- */
.bar {
  height: 7px;
  margin-top: 5px;
  border-radius: 4px;
  background: var(--line-soft);
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  min-width: 2px;
  border-radius: 4px;
  background: var(--blue);
}
.bar--ok    span { background: var(--ok); }
.bar--warn  span { background: var(--warn); }
.bar--bad   span { background: var(--danger); }
.bar--empty span { background: var(--muted-soft); }

.bar-note {
  font-size: 8.5px;
  font-weight: 500;
  color: var(--muted);
}

/* Combined utilization block */
.util-total {
  display: grid;
  grid-template-columns: 1.5in 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--danger);
  border-radius: var(--radius);
  background: var(--surface);
}
.util-total__n {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.8px;
  color: var(--danger);
}
.util-total__cap {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--danger);
}
.util-total__lbl {
  margin-bottom: 2px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--navy);
}

/* Five-step utilization scale */
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.scale__seg { text-align: center; }
.scale__swatch {
  height: 20px;
  border-radius: 4px;
}
.scale__seg:nth-child(1) .scale__swatch { background: #17b978; }
.scale__seg:nth-child(2) .scale__swatch { background: #6fce6a; }
.scale__seg:nth-child(3) .scale__swatch { background: var(--yellow); }
.scale__seg:nth-child(4) .scale__swatch { background: #f5872b; }
.scale__seg:nth-child(5) .scale__swatch { background: var(--danger); }
.scale__seg--on .scale__swatch { outline: 2px solid var(--navy); outline-offset: 2px; }
.scale__rng {
  margin-top: 5px;
  font-size: 8px;
  font-weight: 600;
  color: var(--navy);
}
.scale__cap { font-size: 7.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   10. Numbered priority cards (pages 6 & 10)
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 10px; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }

.step {
  position: relative;
  padding: 13px 14px 13px 14px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.step__n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}
.step--alt { border-top-color: var(--yellow); }
.step--alt .step__n { background: var(--yellow); color: var(--navy); }
.step__t {
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}
.step__d { font-size: 9.5px; line-height: 1.5; color: var(--muted); }

/* --------------------------------------------------------------------------
   11. Collection tradelines (page 8)
   -------------------------------------------------------------------------- */
.coll {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.coll__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 14px;
  background: var(--gray);
  color: var(--white);
}
.coll__name {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.coll__age {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  text-align: right;
  opacity: .92;
}
.coll__body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--surface);
}
.coll__cell {
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.coll__cell:nth-child(2n) { border-right: 0; }
.coll__k {
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.coll__v { font-size: 10px; line-height: 1.4; color: var(--navy); font-weight: 500; }

/* Full bureau-by-bureau detail table nested inside a collection card */
.coll__tbl {
  border: 0;
  border-radius: 0;
  font-size: 9.5px;
}
.coll__tbl thead th {
  padding: 5px 10px;
  background: var(--navy);
}
.coll__tbl thead th.bureau { background: var(--blue); }
.coll__tbl tbody td {
  padding: 3.5px 10px;
  border-top: 1px solid var(--line);
  line-height: 1.32;
}
.coll__tbl tbody tr:nth-child(even) { background: var(--gray-bg); }
.coll__tbl tbody tr:nth-child(odd)  { background: var(--white); }
.coll__tbl .fld {
  font-weight: 600;
  color: var(--navy);
  font-size: 9px;
}
.coll__tbl .absent {
  background: #e7e9ed;
  color: var(--muted);
  text-align: center;
  vertical-align: middle;
  font-size: 9px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. Financial impact (page 9)
   -------------------------------------------------------------------------- */
.fin-block {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.benchmark {
  display: grid;
  grid-template-columns: 2.2in 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}
.benchmark__box {
  padding: 10px 14px;
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  background: var(--blue-050);
}
.benchmark__k {
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--blue-700);
}
.benchmark__v {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--navy);
}

/* Final artwork — transparent cut-out, shown whole (never cropped) */
.fig {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;   /* hero size — the home has page 9 to itself */
  margin-bottom: 12px;
}
.fig img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Placeholder art — swap the <img> src for the final photography */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  margin-bottom: 12px;
  border: 1px dashed var(--blue-100);
  border-radius: var(--radius-sm);
  background: var(--blue-050);
  overflow: hidden;
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph__tag {
  position: absolute;
  right: 8px;
  bottom: 7px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(24, 33, 46, .72);
  color: var(--white);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

/* Two-scenario comparison */
.scen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.scen__card {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.scen__card--bad  { background: var(--danger-bg); border-color: var(--danger-line); }
.scen__card--good { background: var(--ok-bg);     border-color: var(--ok-line); }

.scen__k {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
}
.scen__card--bad  .scen__k { color: #b7333d; }
.scen__card--good .scen__k { color: #1d7b34; }

.scen__apr {
  margin-bottom: 7px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.8px;
}
.scen__card--bad  .scen__apr { color: var(--danger); }
.scen__card--good .scen__apr { color: var(--ok); }

.scen__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  font-size: 9.5px;
  color: var(--muted);
}
.scen__row + .scen__row { border-top: 1px dashed var(--line); }
.scen__row b { font-weight: 600; color: var(--navy); }

/* Delta banner */
.delta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
}
.delta__l {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.delta__v {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--yellow);
  white-space: nowrap;
}

/* ---- Comparison blocks — shared by home (page 9) and vehicles (page 10) ---- */
.veh {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.veh__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--line);
}
.veh__name {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--navy);
}
.veh__spec { font-size: 9px; color: var(--muted); white-space: nowrap; }
.veh__spec b { color: var(--navy); font-weight: 600; }

.veh__body {
  display: grid;
  grid-template-columns: 1.75in 1fr 1fr;
  gap: 12px;
  align-items: center;
}

/* Cut-out vehicle art, shown whole so no bodywork gets cropped */
.veh__fig {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.1in;
}
.veh__fig img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.veh__delta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
  font-size: 9px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  font-weight: 600;
}
.veh__delta b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.4px;
  text-transform: none;
  color: var(--yellow);
  white-space: nowrap;
}

/* Compact variant of the scenario card for the three-up vehicle grid */
.scen__card--sm { padding: 9px 11px; }
.scen__card--sm .scen__apr { font-size: 18px; margin-bottom: 4px; }
.scen__card--sm .scen__row { font-size: 8.5px; padding: 2px 0; }

/* ---- Call-to-action band (page 11) ---- */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 20px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
}
.cta__t {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--white);
}
.cta__t em { font-style: normal; color: var(--yellow); }
.cta__d {
  margin-top: 2px;
  font-size: 9.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .85);
}
/* Wrench badge — echoes the wrench in the CredFixx logo mark */
.cta__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
}
.cta__icon svg {
  width: 23px;
  height: 23px;
  display: block;
}

/* --------------------------------------------------------------------------
   13. Contact block (page 10)
   -------------------------------------------------------------------------- */
/* Split panel: the logo keeps a white field, the details keep the dark one */
.contact {
  display: grid;
  grid-template-columns: 2in 1fr;
  align-items: stretch;
  border-radius: var(--radius);
  overflow: hidden;
}
.contact__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: var(--white);
  border-right: 0;
}
.contact__logo img { width: 145px; height: auto; }

.contact__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  background: var(--navy);
  color: var(--white);
}
.contact__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; }
.contact__item { font-size: 12px; }
.contact__item b {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--yellow);
}
.contact__item span { color: rgba(255, 255, 255, .88); }

/* --------------------------------------------------------------------------
   14. Print
   -------------------------------------------------------------------------- */
@page {
  size: 8.5in 11in;
  margin: 0;
}

@media print {
  html, body {
    background: var(--white);
    width: 8.5in;
  }

  .page {
    width: 8.5in;
    height: 11in;
    margin: 0;
    box-shadow: none;
    break-after: page;
    page-break-after: always;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .page:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  /* Keep every brand fill in the exported PDF */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .no-print { display: none !important; }
}

/* Screen-only helper toolbar */
.toolbar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  gap: 8px;
}
.toolbar button {
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 108, 255, .35);
}
.toolbar button:hover { background: var(--blue-700); }
.toolbar select {
  padding: 9px 14px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
