/* =====================================================================
   Energy bills article (page-templates/energy-bills.php) and the
   homepage news band (template-parts/energy-bills-band.php).
   Scoped under main.eb and .eb-band.
   ===================================================================== */

.eb, .eb-band {
  --eb-ink: #0f1a14;
  --eb-text: #2b3530;
  --eb-muted: #5b6660;
  --eb-line: #e2eadc;
  --eb-tint: #f4f8f1;
  --eb-green: #6ab544;
  --eb-green-700: #3e7a24;
  --eb-green-800: #2f5f1b;
  --eb-soft: #e8f4df;
  --eb-amber: #b4530a;
  --eb-amber-soft: #fff4e6;
  --eb-shadow: 0 1px 2px rgba(15, 26, 20, .04), 0 14px 32px -20px rgba(15, 26, 20, .22);
  --eb-shadow-lg: 0 2px 6px rgba(15, 26, 20, .04), 0 40px 80px -42px rgba(15, 26, 20, .38);
  color: var(--eb-text);
}
.eb { background: #ffffff; }
.eb *, .eb *::before, .eb *::after, .eb-band *, .eb-band *::before, .eb-band *::after { box-sizing: border-box; }

.eb-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; font-family: var(--sp-serif); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--eb-green-700); }
.eb-eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--eb-green); }
.eb-h2 { margin: 0 0 18px; font-family: var(--sp-serif); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.18 !important; letter-spacing: -.02em; color: var(--eb-ink); text-wrap: balance; }
.eb-section { padding: 88px 0; }
.eb-section--tint { background: var(--eb-tint); }
.eb-narrow { max-width: 860px; }
.eb-narrow > p { font-size: 17.5px; line-height: 1.75; color: var(--eb-text); }
.eb-head { max-width: 760px; margin-bottom: 36px; }
.eb-intro { margin: 0; font-size: 17.5px; line-height: 1.7; color: var(--eb-muted); }
.eb-btn { box-shadow: 0 14px 28px -14px rgba(62, 122, 36, .7); }
.eb-btn--ghost { background: #ffffff; }
.eb-btn--block { width: 100%; justify-content: center; }
.eb .sp-btn, .eb-band .sp-btn { white-space: normal; text-align: center; }
.eb-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--eb-green-700); text-decoration: none; }

/* ---------- Hero ---------- */
.eb-hero { position: relative; padding: 32px 0 64px; overflow: hidden; }
.eb-hero__bg { position: absolute; inset: 0; background: radial-gradient(800px 480px at 90% 0%, rgba(106, 181, 68, .14), transparent 62%), linear-gradient(180deg, #f6faf3 0%, #ffffff 80%); }
.eb-hero .container-xxl { position: relative; }
.eb-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.eb-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--eb-amber-soft); border: 1px solid #f6d7ad; font-size: 13.5px; font-weight: 600; color: var(--eb-amber); }
.eb-badge--conf { background: var(--eb-soft); border-color: #cfe6bf; color: var(--eb-green-800); }
.eb-badge__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(180, 83, 10, .14); }
.eb-hero__title { margin: 18px 0 0; font-family: var(--sp-serif); font-size: clamp(32px, 3.7vw, 54px); line-height: 1.08 !important; letter-spacing: -.03em; color: var(--eb-ink); text-wrap: balance; }
.eb-hero__lede { margin: 20px 0 0; max-width: 640px; font-size: 18.5px; line-height: 1.65; color: var(--eb-muted); }
.eb-byline { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; font-size: 13.5px; color: var(--eb-muted); }
.eb-byline span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.eb-byline i { color: var(--eb-green-800); font-size: 14px; }
.eb-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eb-cap { padding: 28px; border-radius: 26px; background: #ffffff; border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow-lg); }
.eb-cap__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--eb-green-700); }
.eb-cap__rows { display: grid; gap: 16px; margin-top: 20px; }
.eb-cap__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; font-size: 14px; color: var(--eb-muted); }
.eb-cap__row strong { font-family: var(--sp-serif); font-size: 26px; color: var(--eb-ink); font-variant-numeric: tabular-nums; }
.eb-cap__bar { grid-column: 1 / -1; height: 12px; border-radius: 99px; background: #edf2e9; overflow: hidden; }
.eb-cap__bar span { display: block; height: 100%; border-radius: 99px; background: #9fb3a6; }
.eb-cap__row--new .eb-cap__bar span { background: linear-gradient(90deg, #f0a24a, var(--eb-amber)); }
.eb-cap__rise { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--eb-line); }
.eb-cap__rise strong { font-family: var(--sp-serif); font-size: 44px; line-height: 1; letter-spacing: -.03em; color: var(--eb-amber); }
.eb-cap__rise span { font-size: 15px; font-weight: 600; color: var(--eb-text); }
.eb-cap__src { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--eb-muted); }

/* ---------- At a glance ---------- */
.eb-glance { padding: 0 0 24px; }
.eb-glance__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.eb-glance__grid li { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 18px; background: #ffffff; border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow); }
.eb-glance__icon { width: 42px; height: 42px; margin-bottom: 6px; border-radius: 12px; display: grid; place-items: center; background: var(--eb-soft); color: var(--eb-green-700); font-size: 19px; }
.eb-glance__grid strong { font-family: var(--sp-serif); font-size: 21px; color: var(--eb-ink); }
.eb-glance__grid span:last-child { font-size: 13.5px; line-height: 1.45; color: var(--eb-muted); }

/* ---------- Why / table ---------- */
.eb-chips { list-style: none; margin: 22px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.eb-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--eb-tint); border: 1px solid var(--eb-line); font-size: 14.5px; font-weight: 600; color: var(--eb-ink); }
.eb-chips i { color: var(--eb-amber); }
.eb-callout { display: flex; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--eb-soft); font-size: 15.5px !important; line-height: 1.6 !important; }
.eb-callout i { color: var(--eb-green-700); margin-top: 3px; }
.eb-table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--eb-line); background: #ffffff; box-shadow: var(--eb-shadow); }
.eb-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
.eb-table th, .eb-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--eb-line); font-variant-numeric: tabular-nums; }
.eb-table thead th { font-size: 13px; font-weight: 700; color: var(--eb-ink); background: var(--eb-tint); }
.eb-table thead small { display: block; font-weight: 500; color: var(--eb-muted); }
.eb-table tbody th { font-weight: 600; color: var(--eb-ink); }
.eb-table .eb-up { font-weight: 700; color: var(--eb-amber); }
.eb-table__total th, .eb-table__total td { border-bottom: 0; background: #fbfdf9; font-weight: 700; color: var(--eb-ink); }
.eb .eb-src { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: var(--eb-muted); }

/* ---------- Calculator ---------- */
.eb-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.eb-calc__in { display: grid; gap: 24px; padding: 30px; border-radius: 26px; background: #ffffff; border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow); }
.eb-range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.eb-range__top label { font-size: 14px; font-weight: 600; color: var(--eb-ink); }
.eb-range__top output { font-family: var(--sp-serif); font-size: 22px; font-weight: 600; color: var(--eb-green-800); font-variant-numeric: tabular-nums; white-space: nowrap; }
.eb-range input[type=range] { --p: 28%; width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.eb-range input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--eb-green) 0 var(--p), #e3ecdc var(--p) 100%); }
.eb-range input[type=range]::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--eb-green) 0 var(--p), #e3ecdc var(--p) 100%); }
.eb-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #ffffff; border: 3px solid var(--eb-green-700); box-shadow: 0 4px 10px rgba(15, 26, 20, .2); }
.eb-range input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #ffffff; border: 3px solid var(--eb-green-700); }
.eb-range input[type=range]:focus-visible { outline: 2px solid var(--eb-green); outline-offset: 4px; border-radius: 8px; }
.eb-range__scale { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12px; color: #8a978f; }
.eb-hint { margin: 8px 0 0; font-size: 13px; color: var(--eb-muted); }
.eb-toggle { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.eb-toggle legend { width: 100%; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--eb-ink); }
.eb-toggle label { position: relative; flex: 1 1 160px; cursor: pointer; }
.eb-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.eb-toggle span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid #dde8d5; font-size: 14.5px; font-weight: 600; color: var(--eb-ink); }
.eb-toggle span i { color: var(--eb-green-700); }
.eb-toggle input:checked + span { border-color: var(--eb-green-700); background: var(--eb-soft); }
.eb-toggle input:focus-visible + span { outline: 2px solid var(--eb-green); outline-offset: 2px; }
.eb-field { display: flex; flex-direction: column; gap: 6px; }
.eb-field label { font-size: 13.5px; font-weight: 600; color: var(--eb-ink); }
.eb-field label em { font-style: normal; font-weight: 400; color: var(--eb-muted); }
.eb-field input { height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid #d5e2cc; font: inherit; font-size: 15px; color: var(--eb-ink); }
.eb-field input:focus { outline: none; border-color: var(--eb-green-700); box-shadow: 0 0 0 3px rgba(106, 181, 68, .18); }
.eb-calc__out { display: grid; gap: 14px; padding: 30px; border-radius: 26px; background: linear-gradient(170deg, #f1f8ec 0%, #ffffff 60%); border: 1px solid #d6e8c9; box-shadow: var(--eb-shadow-lg); }
.eb-out__block { padding: 18px 20px; border-radius: 18px; background: #ffffff; border: 1px solid var(--eb-line); }
.eb-out__block--green { background: var(--eb-soft); border-color: #cfe6bf; }
.eb-out__label { display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--eb-green-700); }
.eb-out__pair { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.eb-out__pair em { display: block; font-style: normal; font-size: 13px; color: var(--eb-muted); }
.eb-out__pair strong { font-family: var(--sp-serif); font-size: 28px; color: var(--eb-ink); font-variant-numeric: tabular-nums; }
.eb-out__pair i { color: var(--eb-amber); }
.eb-out__rise { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--eb-amber); }
.eb-out__big { display: block; font-family: var(--sp-serif); font-size: 34px; line-height: 1.1; color: var(--eb-green-800); }
.eb-out__block--green span:last-child { display: block; margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--eb-text); }
.eb-bars { display: grid; gap: 10px; }
.eb-bars__row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 70px; align-items: center; gap: 10px; font-size: 13px; color: var(--eb-muted); }
.eb-bars__row strong { text-align: right; color: var(--eb-ink); font-variant-numeric: tabular-nums; }
.eb-bars__track { height: 12px; border-radius: 99px; background: #e8efe3; overflow: hidden; }
.eb-bars__fill { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #6ab544, #3e7a24); transition: width .45s var(--sp-ease-out); }
.eb-bars__fill--grey { background: linear-gradient(90deg, #f0a24a, var(--eb-amber)); }
.eb-note { margin: 0; font-size: 12px; line-height: 1.6; color: #7a877f; }

/* ---------- How it helps ---------- */
.eb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: ebstep; }
.eb-step { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 22px; background: #ffffff; border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow); counter-increment: ebstep; }
.eb-step::after { content: "0" counter(ebstep); position: absolute; top: 22px; right: 24px; font-family: var(--sp-serif); font-size: 13px; font-weight: 600; color: #a7b5ad; }
.eb-step__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(150deg, #eef7e8, #dcefcf); color: var(--eb-green-700); font-size: 25px; }
.eb-step h3 { margin: 10px 0 0; font-family: var(--sp-serif); font-size: 20px; color: var(--eb-ink); }
.eb-step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--eb-muted); }
.eb-step a, .eb-prod a { margin-top: auto; padding-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--eb-green-700); text-decoration: none; }

/* ---------- Products + case study ---------- */
.eb-prods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.eb-prod { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 22px; border-radius: 22px; background: #ffffff; border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow); }
.eb-prod__img { display: block; aspect-ratio: 16 / 10; margin-bottom: 10px; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #f4faef, #e3efd9); }
.eb-prod__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eb-prod--cutout .eb-prod__img img { object-fit: contain; padding: 14px; }
.eb-prod h3, .eb-prod p, .eb-prod a { padding: 0 6px; }
.eb-prod h3 { margin: 0; font-family: var(--sp-serif); font-size: 19px; color: var(--eb-ink); }
.eb-prod p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--eb-muted); }
.eb-case { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 0; margin-top: 20px; border-radius: 22px; overflow: hidden; background: #ffffff; border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow); text-decoration: none; }
.eb-case__img img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; display: block; }
.eb-case__body { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 24px 28px; }
.eb-case__body strong { font-family: var(--sp-serif); font-size: 21px; color: var(--eb-ink); }
.eb-case__body > span:not(.eb-eyebrow) { font-size: 15px; line-height: 1.6; color: var(--eb-muted); }
.eb-case__body em { font-style: normal; font-weight: 600; color: var(--eb-green-700); }

/* ---------- Warm Homes band ---------- */
.eb-wh { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: center; padding: 36px; border-radius: 26px; background: #ffffff; border: 1px solid #d6e8c9; box-shadow: var(--eb-shadow-lg); }
.eb-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.eb-ticks li { display: flex; gap: 10px; font-size: 16px; color: var(--eb-text); }
.eb-ticks i { color: var(--eb-green); margin-top: 3px; }
.eb-wh__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.eb-wh__cta span { font-size: 13px; color: var(--eb-muted); }

/* ---------- FAQ ---------- */
.eb-faq { display: grid; gap: 12px; }
.eb-faq__item { border-radius: 18px; background: #ffffff; border: 1px solid var(--eb-line); overflow: hidden; }
.eb-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-family: var(--sp-serif); font-size: 17px; font-weight: 600; color: var(--eb-ink); }
.eb-faq__item summary::-webkit-details-marker { display: none; }
.eb-faq__item summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--eb-tint); color: var(--eb-green-700); transition: transform .3s; }
.eb-faq__item[open] summary i { transform: rotate(45deg); background: var(--eb-green-700); color: #ffffff; }
.eb-faq__item p { margin: 0; padding: 0 24px 22px; font-size: 15.5px; line-height: 1.7; color: var(--eb-muted); }

/* ---------- Closing CTA + sources ---------- */
.eb-end { padding: 0 0 72px; }
.eb-end__panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 44px; border-radius: 28px; background: linear-gradient(120deg, #337420, #6ab544); color: #ffffff; box-shadow: var(--eb-shadow-lg); }
.eb-end__title { margin: 0 0 6px; font-family: var(--sp-serif); font-size: clamp(24px, 2.4vw, 34px); color: #ffffff; }
.eb-end__panel p { margin: 0; font-size: 16.5px; color: rgba(255, 255, 255, .9); }
.eb-end__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.eb-end__btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 999px; background: #ffffff; color: var(--eb-green-800); font-weight: 700; text-decoration: none; }
.eb-end__btn:hover { background: #f1f8ec; color: var(--eb-green-800); }
.eb-end__call { display: inline-flex; align-items: center; gap: 8px; color: #ffffff; font-weight: 700; text-decoration: none; font-size: 17px; }
.eb-sources { margin-top: 26px; font-size: 13px; line-height: 1.6; color: var(--eb-muted); }
.eb-sources p { margin: 0 0 6px; }
.eb-sources a { color: var(--eb-green-700); }

/* ---------- Homepage news band ---------- */
.eb-band { position: relative; z-index: 2; padding: 34px 0; background: linear-gradient(180deg, #fffaf3 0%, #ffffff 100%); border-bottom: 1px solid #f3e6d4; }
.eb-band__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: center; }
.eb-band__tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 11px; border-radius: 999px; background: var(--eb-amber-soft); border: 1px solid #f6d7ad; font-size: 13px; font-weight: 600; color: var(--eb-amber); }
.eb-band__title { margin: 14px 0 8px; font-family: var(--sp-serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.18 !important; letter-spacing: -.02em; color: var(--eb-ink); }
.eb-band__text { margin: 0; max-width: 600px; font-size: 16.5px; line-height: 1.6; color: var(--eb-muted); }
.eb-band__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }
.eb-band__calc { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--eb-green-700); text-decoration: none; }
.eb-band__card { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px 16px; padding: 24px 26px; border-radius: 22px; background: #ffffff; border: 1px solid #f1e2cf; box-shadow: var(--eb-shadow-lg); text-decoration: none; transition: transform .25s; }
.eb-band__card:hover { transform: translateY(-3px); }
.eb-band__row em { display: block; font-style: normal; font-size: 13px; color: var(--eb-muted); }
.eb-band__row strong { font-family: var(--sp-serif); font-size: 28px; color: var(--eb-ink); font-variant-numeric: tabular-nums; }
.eb-band__row--new strong { color: var(--eb-amber); }
.eb-band__arrow { color: var(--eb-amber); font-size: 20px; }
.eb-band__rise { grid-column: 1 / -1; padding-top: 12px; border-top: 1px dashed #f1e2cf; font-family: var(--sp-serif); font-size: 22px; font-weight: 700; color: var(--eb-amber); }
.eb-band__rise small { font-family: var(--sp-font, inherit); font-size: 13px; font-weight: 500; color: var(--eb-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .eb-glance__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  /* The inputs stay in view while the taller results column scrolls. */
  .eb-calc__in { position: sticky; top: 140px; }
}
@media (max-width: 991.98px) {
  .eb-section { padding: 68px 0; }
  .eb-hero__grid, .eb-calc, .eb-wh, .eb-band__inner { grid-template-columns: minmax(0, 1fr); }
  .eb-steps, .eb-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-case { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  .eb-section { padding: 54px 0; }
  .eb-hero { padding-bottom: 44px; }
  .eb-hero__lede { font-size: 16.5px; }
  .eb-hero__ctas .sp-btn { width: 100%; justify-content: center; }
  .eb-steps, .eb-prods { grid-template-columns: minmax(0, 1fr); }
  .eb-glance__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .eb-glance__grid li { padding: 14px; }
  .eb-glance__grid strong { font-size: 16.5px; }
  .eb-glance__grid span:last-child { font-size: 12.5px; }
  .eb-cap, .eb-calc__in, .eb-calc__out, .eb-wh { padding: 22px; border-radius: 22px; }
  .eb-cap__rise strong { font-size: 36px; }
  .eb-bars__row { grid-template-columns: 110px minmax(0, 1fr) 60px; }
  .eb-case { grid-template-columns: minmax(0, 1fr); }
  .eb-case__img img { min-height: 160px; max-height: 200px; }
  .eb-end__panel { padding: 28px 24px; }
  .eb-band { padding: 26px 0; }
  .eb-band__card { padding: 18px; }
  .eb-band__row strong { font-size: 23px; }
  /* Bill table: each row becomes a card so the January and change columns stay visible. */
  .eb-table { min-width: 0; font-size: 14.5px; }
  .eb-table thead { display: none; }
  .eb-table, .eb-table tbody { display: block; }
  .eb-table tr { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 16px; padding: 14px 16px; border-bottom: 1px solid var(--eb-line); }
  .eb-table th, .eb-table td { padding: 0; border: 0; }
  .eb-table tbody th { grid-column: 1 / -1; padding-right: 78px; font-size: 14.5px; }
  .eb-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--eb-muted); }
  .eb-table td.eb-up { position: absolute; top: 12px; right: 16px; padding: 2px 10px; border-radius: 999px; background: #fdf1e4; font-size: 13px; }
  .eb-table td.eb-up::before { content: none; }
  .eb-table__total { background: #fbfdf9; border-bottom: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .eb *, .eb-band * { transition: none !important; }
}
