/* CardSum Statement design: review-page pieces (fee strip, fee table, marks, payback slip, change log). See DESIGN.md. */

/* Round-2 extras exist only in Statement */
html:not([data-design="statement"]) :is(.lh-slip-h, .lh-rows, .lab-log, .lab-fees, .lab-legend) { display: none; }

/* ---------- Tighter sections overall ---------- */
html.cs-review[data-design="statement"] #app > section { padding: 26px 0; }
html.cs-review[data-design="statement"] #app h2 { margin-bottom: 12px; }
html.cs-review[data-design="statement"] #app > section#cashback { padding-top: 22px; }
html.cs-review[data-design="statement"] #cashback .usp { margin: 0 0 18px; }
html.cs-review[data-design="statement"] #cashback .payout { margin: 12px 0 0; }

/* ---------- Cashback: compact rows ---------- */
html.cs-review[data-design="statement"][data-cb="rows"] ol.tiers .tier { grid-template-columns: 5.2rem minmax(0, 34rem) minmax(0, 1fr); gap: 4px 18px; padding: 10px 0; }
html.cs-review[data-design="statement"][data-cb="rows"] ol.tiers .tier-top { font-size: 1.75rem; }
html.cs-review[data-design="statement"] ol.tiers .tier-note { font-size: .92rem; }
html.cs-review[data-design="statement"][data-cb="rows"] ol.tiers .tier-where { flex-wrap: nowrap; }
@media (max-width: 700px) {
  html.cs-review[data-design="statement"][data-cb="rows"] ol.tiers .tier { grid-template-columns: 4.4rem minmax(0, 1fr); }
  html.cs-review[data-design="statement"][data-cb="rows"] ol.tiers .tier-where { flex-wrap: nowrap; }
}

/* ---------- Cashback: 4 across ---------- */
html.cs-review[data-design="statement"][data-cb="grid"] ol.tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html.cs-review[data-design="statement"][data-cb="grid"] ol.tiers .tier { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px; border-bottom: 0; border-left: 1px solid var(--line); }
html.cs-review[data-design="statement"][data-cb="grid"] ol.tiers .tier:first-child { border-left: 0; padding-left: 0; }
html.cs-review[data-design="statement"][data-cb="grid"] ol.tiers .tier-top { font-size: 2.4rem; line-height: 1; }
html.cs-review[data-design="statement"][data-cb="grid"] ol.tiers .tier-note { font-size: .88rem; }
@media (max-width: 760px) {
  html.cs-review[data-design="statement"][data-cb="grid"] ol.tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.cs-review[data-design="statement"][data-cb="grid"] ol.tiers .tier { border-left: 0; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
  html.cs-review[data-design="statement"][data-cb="grid"] ol.tiers .tier:nth-child(2n) { border-left: 1px solid var(--line); padding-left: 12px; }
}

/* ---------- Fees: strip under the title ---------- */
html.cs-review[data-design="statement"] .lab-fees { margin: 14px 0 16px; }
html.cs-review[data-design="statement"][data-fee="section"] .lab-fees { display: none; }
html.cs-review[data-design="statement"] .lab-fees dl { display: flex; flex-wrap: wrap; margin: 0; border-top: 1px solid var(--text); border-bottom: 1px solid var(--line); }
html.cs-review[data-design="statement"] .lab-fees dl > div { padding: 8px 20px 8px 0; margin-right: 20px; border-right: 1px solid var(--line); }
html.cs-review[data-design="statement"] .lab-fees dl > div:last-child { border-right: 0; margin-right: 0; }
html.cs-review[data-design="statement"] .lab-fees dt { font-size: .82rem; color: var(--muted); }
html.cs-review[data-design="statement"] .lab-fees dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.15; }
html.cs-review[data-design="statement"] .lab-fees dd small { font-family: var(--font); font-weight: 500; font-size: .8rem; color: var(--muted); letter-spacing: 0; }
html.cs-review[data-design="statement"] .lab-fees p { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
html.cs-review[data-design="statement"] .lab-fees-more { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 700px) {
  html.cs-review[data-design="statement"] .lab-fees dl > div { flex: 1 1 40%; margin-right: 0; padding-right: 12px; border-right: 0; }
}

/* Fees section itself: bigger, clearer numbers in every option */
html.cs-review[data-design="statement"] #fees .fee-amt { font-size: 2.2rem; letter-spacing: -.03em; }
html.cs-review[data-design="statement"] #fees .fp-row .fp-k { font-weight: 600; font-size: 1.02rem; }

/* ---------- Yellow marks ---------- */
html.cs-review[data-design="statement"] mark.lab-m { background: none; color: inherit; }
html.cs-review[data-design="statement"][data-hl="money"] mark.lab-m { background: linear-gradient(transparent 58%, var(--hl) 58%); font-weight: 600; padding: 0 2px; border-radius: 1px; }
html.cs-review[data-design="statement"][data-hl="margin"] .know-list li { border-left: 4px solid var(--hl); padding-left: 14px; }
html.cs-review[data-design="statement"][data-hl="wavy"] .know-list strong { text-decoration: underline wavy #D9A600; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* Legend: says what yellow means, so it never looks random */
html.cs-review[data-design="statement"] .lab-legend { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; font-size: .88rem; color: var(--muted); }
html.cs-review[data-design="statement"] .lab-legend .lg-key { width: 22px; height: 10px; flex: none; background: var(--hl); border-radius: 2px; }
html.cs-review[data-design="statement"] .lab-legend .lg-catch { display: none; }
html.cs-review[data-design="statement"]:is([data-hl="marker"],[data-hl="margin"],[data-hl="wavy"]) .lab-legend .lg-money { display: none; }
html.cs-review[data-design="statement"]:is([data-hl="marker"],[data-hl="margin"],[data-hl="wavy"]) .lab-legend .lg-catch { display: inline; }
html.cs-review[data-design="statement"][data-hl="wavy"] .lab-legend .lg-key { height: 6px; background: none; border-bottom: 2px dotted #D9A600; border-radius: 0; }
html.cs-review[data-design="statement"][data-hl="margin"] .lab-legend .lg-key { width: 4px; height: 16px; }
html.cs-review[data-design="statement"][data-hl="off"] .lab-legend { display: none; }

/* ---------- Payback box: statement slip ---------- */
html.cs-review[data-design="statement"] :is(.lh-slip-h, .lh-rows) { display: none; }
html.cs-review[data-design="statement"][data-hero="slip"] .lh-figure { position: relative; background: var(--surface); color: var(--text); padding: 18px 22px 30px; border: 1px solid var(--line); border-bottom: 0;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; }
html.cs-review[data-design="statement"][data-hero="slip"] .lh-slip-h { display: block; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--text); font-family: var(--display); font-weight: 700; font-size: 1rem; }
html.cs-review[data-design="statement"][data-hero="slip"] .lh-rows { display: grid; margin: 0 0 8px; }
html.cs-review[data-design="statement"][data-hero="slip"] .lh-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
html.cs-review[data-design="statement"][data-hero="slip"] .lh-rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
html.cs-review[data-design="statement"][data-hero="slip"] .lh-num { font-size: clamp(2.8rem, 7vw, 4.6rem); text-align: right; }
html.cs-review[data-design="statement"][data-hero="slip"] .lh-num::before { content: "REAL SAVINGS"; float: left; margin-top: .9em; font-family: var(--font); font-size: .95rem; font-weight: 600; letter-spacing: .04em; color: var(--text); }
html.cs-review[data-design="statement"][data-hero="slip"] .lh-sub [data-lh="detail"] { display: none; }

/* ---------- Change log ---------- */
html.cs-review[data-design="statement"][data-log="off"] .lab-log { display: none; }
html.cs-review[data-design="statement"] .lab-log ol { list-style: none; margin: 14px 0 0; padding: 0; border-left: 2px solid var(--line); }
html.cs-review[data-design="statement"] .lab-log li { position: relative; display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 4px 16px; padding: 8px 0 8px 18px; }
html.cs-review[data-design="statement"] .lab-log li::before { content: ""; position: absolute; left: -6px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
html.cs-review[data-design="statement"] .lab-log li.bad::before { background: var(--bad); }
html.cs-review[data-design="statement"] .lab-log time { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { html.cs-review[data-design="statement"] .lab-log li { grid-template-columns: 1fr; } }

/* =================================================================
   ROUND 3
   ================================================================= */

/* ---------- Hero: no empty corner. Text starts at the top, spend split fills the column ---------- */
html.cs-review[data-design="statement"] .lab-hero { align-items: start; }
html.cs-review[data-design="statement"] .lh-split { width: 100%; max-width: 420px; margin-top: 18px; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
html.cs-review[data-design="statement"] .lh-split caption { text-align: left; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid var(--text); }
html.cs-review[data-design="statement"] .lh-split th { text-align: left; font-weight: 500; padding: 6px 8px 6px 0; }
html.cs-review[data-design="statement"] .lh-split td { text-align: right; padding: 6px 0; white-space: nowrap; }
html.cs-review[data-design="statement"] .lh-split td.r { color: var(--accent); font-weight: 600; padding-right: 14px; }
html.cs-review[data-design="statement"] .lh-split tr { border-bottom: 1px dashed var(--line); }
html:not([data-design="statement"]) .lh-split { display: none; }

/* ---------- Fees: one table ---------- */
html:not([data-design="statement"]) .lab-ft { display: none; }
html.cs-review[data-design="statement"][data-ft="cards"] .lab-ft { display: none; }
html.cs-review[data-design="statement"][data-ft="table"] #fees .fee-pairs { display: none; }
html.cs-review[data-design="statement"] .lab-ft { width: 100%; border-collapse: collapse; border-top: 1px solid var(--text); margin-bottom: 14px; table-layout: fixed; }
html.cs-review[data-design="statement"] .lab-ft thead td { width: 9.5rem; }
html.cs-review[data-design="statement"] .lab-ft thead th { text-align: left; padding: 10px 16px; font-family: var(--display); font-size: 1.05rem; font-weight: 700; border-bottom: 1px solid var(--line); }
html.cs-review[data-design="statement"] .lab-ft thead th small { font-family: var(--font); font-weight: 400; font-size: .82rem; color: var(--muted); margin-left: 6px; }
html.cs-review[data-design="statement"] .lab-ft tbody th { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; font-weight: 600; color: var(--muted); }
html.cs-review[data-design="statement"] .lab-ft td { vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
html.cs-review[data-design="statement"] .lab-ft tbody th { border-bottom: 1px solid var(--line); }
html.cs-review[data-design="statement"] .lab-ft td + td { border-left: 1px solid var(--line); }
html.cs-review[data-design="statement"] .lab-ft b { display: block; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; font-size: 1.35rem; line-height: 1.15; }
html.cs-review[data-design="statement"] .lab-ft tr.pay b { font-size: 2.2rem; color: var(--text); }
html.cs-review[data-design="statement"] .lab-ft small { display: block; margin-top: 4px; color: var(--muted); font-size: .88rem; }
html.cs-review[data-design="statement"] .lab-ft td.na { color: var(--muted); }
@media (max-width: 700px) {
  html.cs-review[data-design="statement"] .lab-ft, html.cs-review[data-design="statement"] .lab-ft :is(thead, tbody) { display: block; }
  html.cs-review[data-design="statement"] .lab-ft tr { display: grid; grid-template-columns: 1fr 1fr; }
  html.cs-review[data-design="statement"] .lab-ft thead td { display: none; }
  html.cs-review[data-design="statement"] .lab-ft thead th { padding: 10px 10px 10px 0; }
  html.cs-review[data-design="statement"] .lab-ft thead th + th { padding-left: 10px; border-left: 1px solid var(--line); }
  html.cs-review[data-design="statement"] .lab-ft thead th small { display: block; margin: 0; }
  html.cs-review[data-design="statement"] .lab-ft tbody th { grid-column: 1 / -1; padding: 10px 0 0; border: 0; }
  html.cs-review[data-design="statement"] .lab-ft td { padding: 6px 10px 12px 0; }
  html.cs-review[data-design="statement"] .lab-ft td + td { padding-left: 10px; }
  html.cs-review[data-design="statement"] .lab-ft tr.pay b { font-size: 1.8rem; }
}

/* ---------- Terms and conditions: a second mark colour to compare ---------- */
html.cs-review[data-design="statement"][data-tc="coral"] #know-before { --hl: #FFC2B0; }
html.cs-review[data-design="statement"][data-tc="mint"] #know-before { --hl: #AEE6CF; }
html.cs-review[data-design="statement"][data-tc="blue"] #know-before { --hl: #C3DAFF; }
html.cs-review[data-design="statement"][data-theme="dark"][data-tc="coral"] #know-before { --hl: rgba(255, 128, 98, .38); }
html.cs-review[data-design="statement"][data-theme="dark"][data-tc="mint"] #know-before { --hl: rgba(80, 210, 160, .32); }
html.cs-review[data-design="statement"][data-theme="dark"][data-tc="blue"] #know-before { --hl: rgba(110, 160, 255, .36); }
/* milestone result line ("At this spend you get ₹590 back"): green marker = money you gain (SAM, 2026-11-21) */
html.cs-review[data-design="statement"] .ms-live { --hl: #AEE6CF; }
html.cs-review[data-design="statement"][data-theme="dark"] .ms-live { --hl: rgba(80, 210, 160, .32); }

/* =================================================================
   ROUND 4
   ================================================================= */

/* Sticky bar morph: the title must be one line and the same font as the bar name,
   so app.js can shrink it into the bar without a jump. */
html.cs-review[data-design="statement"] .detail-head h1 { font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.08; margin-bottom: 4px; }
html.cs-review[data-design="statement"] .sticky-name strong { font-family: var(--display); font-weight: 750; letter-spacing: -.02em; }

/* Top area: card and text start together, smaller gaps */
html.cs-review[data-design="statement"] .detail-head { align-items: start; }
html.cs-review[data-design="statement"] .detail-head > :first-child { margin-top: 6px; }
html.cs-review[data-design="statement"] .detail-head .badges { margin-bottom: 6px; }
html.cs-review[data-design="statement"] .detail-head p.muted { margin: 2px 0 6px; }
html.cs-review[data-design="statement"] .detail-head .byline { margin: 6px 0 0; }
html.cs-review[data-design="statement"] .lab-fees { margin: 12px 0 12px; }
html.cs-review[data-design="statement"] .lab-fees dl { display: inline-flex; }
@media (max-width: 700px) { html.cs-review[data-design="statement"] .lab-fees dl { display: flex; } }
html.cs-review[data-design="statement"] .detail-head .cta-row { margin-top: 4px; }
html.cs-review[data-design="statement"] #app > section.lab-hero { margin-top: 12px; padding-top: 24px; }

/* Sticky bar: every moving piece follows the scroll exactly. styles.css gives .icon-btn a 0.15s
   transform transition (for hover), which made WhatsApp and Share lag behind the other pieces. */
html.cs-review[data-design="statement"] #stickyApply :is(.icon-btn, .btn, .sticky-thumb, .sticky-name strong),
html.cs-review[data-design="statement"] .detail-head :is(.icon-btn, .btn, h1) { transition: none; }

/* Change log: calm grey dots, not red; facts, not alarms */
html.cs-review[data-design="statement"] .lab-log li.bad::before { background: var(--muted); }

/* ---------- Savings calculator: last lone slider spans the row ---------- */
html.cs-review[data-design="statement"] #savings .calc > .sl:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* =================================================================
   Lower half of the review (2026-11-17). Same statement rules as the top:
   headings on a heavy rule, rows and right-aligned figures, no boxes.
   The verdict stays the one boxed section.
   ================================================================= */
html.cs-review[data-design="statement"] #app > :is(#milestones, #savings, #tips, #faq, #instead, #eligibility, .verif-block, #apply) {
  background: transparent; border: 0; border-top: 1px solid var(--text); border-radius: 0; box-shadow: none; padding: 18px 0 8px; margin: 24px 0 0;
}
html.cs-review[data-design="statement"] #app > :is(#milestones, #savings, #tips, #faq, #instead, #eligibility, .verif-block, #apply) h2 { color: var(--text); }

/* Other charges: inside the fee section, as statement rows */
html.cs-review[data-design="statement"] .fee-more { margin-top: 28px; }
html.cs-review[data-design="statement"] .fee-more h3 { margin: 0 0 4px; font-size: 1.1rem; }
html.cs-review[data-design="statement"] .fee-more .charges { display: block; border-top: 1px solid var(--text); }
html.cs-review[data-design="statement"] .fee-more .charges > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4px 24px; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 0; }
html.cs-review[data-design="statement"] .fee-more .charges dt { font-size: .95rem; color: var(--text); font-weight: 600; }
html.cs-review[data-design="statement"] .fee-more .charges dd { margin: 0; display: grid; gap: 2px; }
html.cs-review[data-design="statement"] .fee-more .charges dd b { font-size: 1.05rem; }

/* Own-numbers calculator: sliders on the left, a small statement on the right */
html.cs-review[data-design="statement"] #savings .calc-box { background: none; border: 0; border-radius: 0; padding: 0; margin-top: 12px; }
html.cs-review[data-design="statement"] #savings .calc-out { background: var(--bg); border: 0; border-top: 1px solid var(--text); border-radius: 0; padding: 10px 0 0; }
/* Phone: the result stays pinned above the apply bar while you drag, on solid page colour so sliders never show through */
@media (max-width: 760px) { html.cs-review[data-design="statement"] #savings .calc-out { padding: 8px 0; box-shadow: 0 -8px 12px -8px rgba(0,0,0,.15); } }
html.cs-review[data-design="statement"] #savings .calc-res div { border-bottom: 1px solid var(--line); padding: 6px 0; }
html.cs-review[data-design="statement"] #savings .calc-box .calc-net { border: 0; border-left: 0; padding: 8px 0 0; }
html.cs-review[data-design="statement"] #savings .calc-net dd { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -.03em; }

/* Tips: plain ruled rows (not a sequence, so no numbers or bullets) */
html.cs-review[data-design="statement"] #tips .tips { list-style: none; padding: 0; gap: 0; border-top: 1px solid var(--line); }
html.cs-review[data-design="statement"] #tips .tips li { padding: 10px 0; border-bottom: 1px solid var(--line); max-width: 78ch; }

/* Other cards: ruled rows */
html.cs-review[data-design="statement"] #instead .alts { gap: 0; }
html.cs-review[data-design="statement"] #instead .alts li { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* Apply: the closing line, after eligibility. No box, no tint. */
html.cs-review[data-design="statement"] #app > section.apply-cta { background: transparent; border: 0; border-top: 1px solid var(--text); border-radius: 0; padding: 18px 0 8px; margin: 24px 0 0; }

/* How sure are we: ink heading, quiet badge, no coloured stripe */
html.cs-review[data-design="statement"] #app > .verif-block { border-left: 0; }
html.cs-review[data-design="statement"] .verif-block h2 .badge { font-size: .8rem; vertical-align: middle; }

/* =================================================================
   Space (2026-11-17): no empty bands. Each area is filled or closed up.
   ================================================================= */
/* "All cards" sits tight under the banner, not on its own tall band */
html.cs-review[data-design="statement"] #app { padding-top: 10px; }
html.cs-review[data-design="statement"] #app > p:first-child { margin: 0 0 6px; }

/* Left column: card picture, then the CardSum rating under it (was empty space) */
html.cs-review[data-design="statement"] .head-art { display: grid; gap: 14px; align-content: start; min-width: 0; }
html.cs-review[data-design="statement"] .head-rate { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 2px 12px; padding-top: 12px; border-top: 1px solid var(--text); color: var(--text); text-decoration: none; }
html.cs-review[data-design="statement"] .head-rate .hr-k { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }
html.cs-review[data-design="statement"] .head-rate .hr-v { font-size: .95rem; color: var(--muted); }
html.cs-review[data-design="statement"] .head-rate .hr-v b { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -.03em; color: var(--text); }
html.cs-review[data-design="statement"] .head-rate .stars { justify-self: start; }
html.cs-review[data-design="statement"] .head-rate .hr-link { grid-column: 1 / -1; font-size: .9rem; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
html.cs-review[data-design="statement"] .head-rate:hover .hr-link { text-decoration-thickness: 2px; }
html.cs-review[data-design="statement"] .head-rate:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Tips: two columns on wide screens, so the right side isn't empty */
@media (min-width: 900px) {
  html.cs-review[data-design="statement"] #tips .tips { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  html.cs-review[data-design="statement"] #tips .tips li { max-width: none; border-top: 1px solid var(--line); border-bottom: 0; }
}

/* FAQ: two columns of ruled questions on wide screens; an open answer fills its column. No grey boxes. */
html.cs-review[data-design="statement"] #faq .faq-list { gap: 0; }
html.cs-review[data-design="statement"] #faq .faq { border-radius: 0; border-top: 1px solid var(--line); background: none; }
html.cs-review[data-design="statement"] #faq .faq summary { padding: 12px 0; }
html.cs-review[data-design="statement"] #faq .faq > p { padding: 0 0 14px; max-width: none; }
html.cs-review[data-design="statement"] #faq .faq[open] summary { color: var(--accent); }
@media (min-width: 900px) {
  html.cs-review[data-design="statement"] #faq .faq-list { grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
}

/* Other charges: two columns of rows on wide screens (one column left the right side empty) */
@media (min-width: 900px) {
  html.cs-review[data-design="statement"] .fee-more .charges { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  html.cs-review[data-design="statement"] .fee-more .charges > div { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border-top: 1px solid var(--line); border-bottom: 0; }
  /* the heading's dark rule already sits above the first row; a second light line there looked doubled (SAM, 2026-11-21) */
  html.cs-review[data-design="statement"] .fee-more .charges > div:nth-child(-n+2) { border-top: 0; }
  html.cs-review[data-design="statement"] .fee-more h3 { padding-bottom: 6px; border-bottom: 1px solid var(--text); }
}

/* How sure are we: ink text (was brown), sources in two columns, calm badge */
html.cs-review[data-design="statement"] #app > .verif-block { color: var(--text); }
html.cs-review[data-design="statement"] .verif-block .badge { background: var(--surface-2); color: var(--muted); }
@media (min-width: 900px) {
  html.cs-review[data-design="statement"] .verif-block .sources { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  html.cs-review[data-design="statement"] .verif-block .sources li { break-inside: avoid; }
}
/* Comments close the page: no tall empty band before the footer */
html.cs-review[data-design="statement"] #comments { margin-bottom: 24px; }
html.cs-review[data-design="statement"] #app { padding-bottom: 8px; }
/* Phone: keep the title near the top; the rating is already in the bottom bar and the verdict */
@media (max-width: 759px) { html.cs-review[data-design="statement"] .head-rate { display: none; } }

/* ---- no wasted width (2026-11-17, SAM): every wide-screen section fills its row ---- */
/* Try your own numbers: intro + sliders left, the receipt on the right from the top */
html.cs-review[data-design="statement"] #savings .calc-box { margin-top: 8px; }
html.cs-review[data-design="statement"] #savings .calc-intro { margin: 0 0 6px; }
html.cs-review[data-design="statement"] #savings .calc-hint { margin: 0 0 14px; }
@media (min-width: 900px) {
  html.cs-review[data-design="statement"] #savings .calc-box .calc-body { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); column-gap: 40px; margin-top: 0; }
  html.cs-review[data-design="statement"] #savings .calc-out { position: sticky; top: calc(var(--tb-h, 64px) + 86px); }
}
/* Ready to apply: words left, buttons right */
@media (min-width: 900px) {
  html.cs-review[data-design="statement"] #app > section.apply-cta { grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: center; }
  html.cs-review[data-design="statement"] #app > section.apply-cta .cta-row { margin: 0; flex-wrap: nowrap; }
  html.cs-review[data-design="statement"] #app > section.apply-cta > :not(div:first-child):not(.cta-row) { grid-column: 1 / -1; }
}
/* Eligibility: the four facts spread across the full row */
html.cs-review[data-design="statement"] #eligibility .keys { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
/* Cards to look at instead: side by side on wide screens */
@media (min-width: 900px) {
  html.cs-review[data-design="statement"] #instead .alts { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); column-gap: 28px; }
  html.cs-review[data-design="statement"] #instead .alts li { grid-template-columns: 1fr; align-items: start; border-bottom: 0; border-top: 1px solid var(--line); }
  html.cs-review[data-design="statement"] #instead .alts .art-img, html.cs-review[data-design="statement"] #instead .alts .art { max-width: 160px; }
}
/* How sure are we: the three checks side by side */
@media (min-width: 900px) {
  html.cs-review[data-design="statement"] .verif-block .verif { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: auto auto; column-gap: 32px; }
}

/* ---- folded sections (Other charges, How sure are we): heading row opens them ---- */
html.cs-review[data-design="statement"] details.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
html.cs-review[data-design="statement"] details.fold > summary::-webkit-details-marker { display: none; }
html.cs-review[data-design="statement"] details.fold > summary :is(h2, h3) { margin: 0; }
html.cs-review[data-design="statement"] details.fold > summary .fold-hint { margin-left: auto; font-size: .9rem; font-weight: 600; color: var(--accent); }
html.cs-review[data-design="statement"] details.fold[open] > summary .fold-hint { display: none; }
html.cs-review[data-design="statement"] details.fold[open] > summary .faq-chev { margin-left: auto; }
html.cs-review[data-design="statement"] details.fold[open] > summary { margin-bottom: 12px; }
html.cs-review[data-design="statement"] details.fold .faq-chev { transition: transform .2s; }
html.cs-review[data-design="statement"] details.fold[open] .faq-chev { transform: rotate(180deg); color: var(--accent); }
html.cs-review[data-design="statement"] .fee-more.fold > summary { padding-bottom: 6px; border-bottom: 1px solid var(--text); }
html.cs-review[data-design="statement"] .fee-more.fold > summary h3 { padding: 0; border: 0; }

/* 2026-11-18 SAM: no wasted width or height on review pages.
   Section-level intro/notes span the full column; only text inside grid cells keeps a reading width. */
html.cs-review[data-design="statement"] #app section > p,
html.cs-review[data-design="statement"] #app section > .muted { max-width: none; }
html.cs-review[data-design="statement"] #app > section.know { padding-bottom: 8px; }
html.cs-review[data-design="statement"] #app .payout { max-width: none; }
html.cs-review[data-design="statement"] #app > section.lab-hero { margin-top: 4px; padding-top: 20px; }

/* one line of brand chips, hidden by fitChips() when they do not fit */
html.cs-review[data-design="statement"] ol.tiers .tier-where.chips-row { flex-wrap: nowrap; overflow: hidden; max-height: none; min-width: 0; padding-block: 4px 12px; margin-block: -4px -12px; } /* room for the chip's hover lift and shadow so overflow does not clip it */
.brand-chip[hidden] { display: none !important; }
.brand-chip { flex: none; white-space: nowrap; }

/* Change log: every change says Upgrade, Downgrade or Change, and the hover colour says it too.
   Green = better for the holder, red = worse, grey = neither. On hover the dot swells and rings,
   the item is marked in its colour, and the text steps right. */
html.cs-review[data-design="statement"] .lab-log {
  --c-up: var(--accent); --c-down: var(--accent); --c-neutral: var(--accent);
}
html.cs-review[data-design="statement"] .lab-log .lg-items { display: grid; gap: 8px; }
html.cs-review[data-design="statement"] .lab-log .lg-item { --hv: var(--c-neutral); width: fit-content; max-width: 100%; border-radius: 3px;
  background: linear-gradient(color-mix(in srgb, var(--hv) 30%, transparent), color-mix(in srgb, var(--hv) 30%, transparent)) 0 100% / 0% 100% no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .35s ease, transform .25s ease; }
html.cs-review[data-design="statement"] .lab-log .lg-item.up { --hv: var(--c-up); }
html.cs-review[data-design="statement"] .lab-log .lg-item.down { --hv: var(--c-down); }
html.cs-review[data-design="statement"] .lab-log .lg-tag { display: inline-block; margin-right: 8px; padding: 0 7px; border-radius: 999px; font-size: .8rem; line-height: 1.55; font-weight: 700;
  color: var(--hv); border: 1px solid var(--hv); background: transparent; vertical-align: .08em; }
html.cs-review[data-design="statement"] .lab-log li { cursor: default; outline: none; --hv: var(--c-neutral); }
html.cs-review[data-design="statement"] .lab-log li.lg-up { --hv: var(--c-up); }
html.cs-review[data-design="statement"] .lab-log li.lg-down { --hv: var(--c-down); }
html.cs-review[data-design="statement"] .lab-log li:has(.lg-item.up:hover) { --hv: var(--c-up); }
html.cs-review[data-design="statement"] .lab-log li:has(.lg-item.down:hover) { --hv: var(--c-down); }
html.cs-review[data-design="statement"] .lab-log li.bad::before,
html.cs-review[data-design="statement"] .lab-log li::before { background: var(--hv); }
html.cs-review[data-design="statement"] .lab-log li::before { transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s ease, background-color .2s ease; }
html.cs-review[data-design="statement"] .lab-log li > time { justify-self: start; align-self: start; transition: transform .25s ease; }
html.cs-review[data-design="statement"] .lab-log li:hover::before,
html.cs-review[data-design="statement"] .lab-log li:focus-visible::before { transform: scale(1.55); box-shadow: 0 0 0 5px color-mix(in srgb, var(--hv) 35%, transparent); }
html.cs-review[data-design="statement"] .lab-log li:hover > time,
html.cs-review[data-design="statement"] .lab-log li:focus-visible > time { transform: translateX(6px); }
html.cs-review[data-design="statement"] .lab-log li:hover .lg-item,
html.cs-review[data-design="statement"] .lab-log li:focus-visible .lg-item { transform: translateX(6px); }
html.cs-review[data-design="statement"] .lab-log li:hover .lg-item,
html.cs-review[data-design="statement"] .lab-log li:focus-visible .lg-item { background-size: 100% 100%; }
html.cs-review[data-design="statement"] .lab-log li:not([class]) { --hv: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  html.cs-review[data-design="statement"] .lab-log :is(li, li::before, li > time, .lg-item) { transition: none; }
  html.cs-review[data-design="statement"] .lab-log li:hover :is(time, .lg-item) { transform: none; }
}

/* Change log, final colours (SAM 2026-11-20): the dot says what kind of change it is, nothing is red, and no
   text is highlighted. Green = better for the holder, amber = less good, teal = neutral, blue + bigger = today. */
html.cs-review[data-design="statement"] .lab-log { --c-up: #157347; --c-down: #d9822b; --c-neutral: var(--muted); --c-now: var(--accent); }
html.cs-review[data-design="statement"] .lab-log .lg-item { background: none; transition: transform .25s ease; }
html.cs-review[data-design="statement"] .lab-log li:hover .lg-item,
html.cs-review[data-design="statement"] .lab-log li:focus-visible .lg-item { background: none; }
html.cs-review[data-design="statement"] .lab-log li.lg-mixed { --hv: var(--c-up); }
html.cs-review[data-design="statement"] .lab-log li.lg-mixed::before { background: linear-gradient(90deg, var(--c-up) 50%, var(--c-down) 50%); }
html.cs-review[data-design="statement"] .lab-log li:not([class]) { --hv: var(--c-now); }
html.cs-review[data-design="statement"] .lab-log li:not([class])::before { width: 16px; height: 16px; left: -9px; top: 10px; background: var(--c-now);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-now) 28%, transparent); }
html.cs-review[data-design="statement"] .lab-log li:not([class]):hover::before { box-shadow: 0 0 0 7px color-mix(in srgb, var(--c-now) 35%, transparent); }

/* Change log, accessibility pass (checked against frontend-design and design-taste-frontend, 2026-11-20):
   colour is never the only cue (hollow dot = neutral, key line, screen-reader prefix), amber is darker for contrast,
   and keyboard focus gets a real outline. */
html.cs-review[data-design="statement"] .lab-log { --c-down: #c46d17; }
html.cs-review[data-design="statement"] .lab-log .lg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.cs-review[data-design="statement"] .lab-log li.lg-neutral::before { background: var(--muted); }
html.cs-review[data-design="statement"] .lab-log li:focus-visible { outline: 2px solid var(--hv); outline-offset: 4px; border-radius: 4px; }
html.cs-review[data-design="statement"] .lab-log .lg-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; }
html.cs-review[data-design="statement"] .lab-log .lg-key span { display: inline-flex; align-items: center; gap: 7px; }
html.cs-review[data-design="statement"] .lab-log .lg-key span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; box-sizing: border-box; background: var(--k); }
html.cs-review[data-design="statement"] .lab-log .k-up { --k: var(--c-up); }
html.cs-review[data-design="statement"] .lab-log .k-down { --k: var(--c-down); }
html.cs-review[data-design="statement"] .lab-log .k-now { --k: var(--c-now); }
html.cs-review[data-design="statement"] .lab-log .lg-key span.k-neutral::before { background: var(--muted); }
html.cs-review[data-design="statement"] .lab-log .lg-key span.k-now::before { background: var(--surface); border: 2px solid var(--accent); }

/* Latest-check row: a bigger white dot ringed in green (SAM 2026-11-20); neutral changes are plain grey */
html.cs-review[data-design="statement"] .lab-log li:not([class])::before { width: 18px; height: 18px; left: -10px; top: 9px; box-sizing: border-box; background: var(--surface); border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
html.cs-review[data-design="statement"] .lab-log li:not([class]):hover::before { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 30%, transparent); }

/* Latest-check dot: a soft lub-dub heartbeat, three beats when the list scrolls into view, then it rests */
@keyframes lgBeat {
  0%   { transform: scale(1);    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
  14%  { transform: scale(1.18); box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 10%, transparent); }
  28%  { transform: scale(1);    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
  42%  { transform: scale(1.12); box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 12%, transparent); }
  70%, 100% { transform: scale(1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
}
html.cs-review[data-design="statement"] .lab-log.beat li:not([class])::before { animation: lgBeat 2.6s ease-in-out 3; }
html.cs-review[data-design="statement"] .lab-log.beat li:not([class]):hover::before { animation: none; }
@media (prefers-reduced-motion: reduce) { html.cs-review[data-design="statement"] .lab-log.beat li:not([class])::before { animation: none; } }

/* A3 (2026-11-20): dark mode keeps the brighter green for the Upgrade tag */
html.cs-review[data-design="statement"][data-theme="dark"] .lab-log { --c-up: #1f9d63; }
@media (prefers-color-scheme: dark) { html.cs-review[data-design="statement"]:not([data-theme="light"]) .lab-log { --c-up: #1f9d63; } }
