/* Dim Your Bill design system
   Night #111A21 with a warm "lit window" glow #FFB23F; paper #FAFAF7; ink #1D2A33; print blue #2B5C8A.
   The breaker-panel directory stays as the site-wide index in the footer.
   Status: ground green #2E7A4B, pending amber #9A5F0E, stalled gray #66737D, warning red #B23A2E */

@font-face { font-family: "Barlow SC"; src: url(/fonts/barlow-semi-condensed-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url(/fonts/barlow-semi-condensed-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url(/fonts/barlow-semi-condensed-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url(/fonts/barlow-semi-condensed-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(/fonts/source-serif-4.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(/fonts/source-serif-4-italic.woff2) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --paper: #FAFAF7;
  --card: #FFFFFF;
  --plate: #F4F5F2;
  --steel: #DCE1E4;
  --steel-2: #C3CBD0;
  --steel-3: #8E9AA3;
  --line: #E2E6E9;
  --ink: #1D2A33;
  --ink-2: #4B5B67;
  --night: #111A21;
  --night-2: #1A2630;
  --night-3: #2A3843;
  --mist: #C5CED4;
  --glow: #FFB23F;
  --glow-2: #FFCB73;
  --glow-soft: #FFF3DC;
  --glow-ink: #6E4300;
  --blue: #2B5C8A;
  --rule: #C9D7E4;
  --green: #2E7A4B;
  --amber: #9A5F0E;
  --gray: #66737D;
  --red: #B23A2E;
  --ui: "Barlow SC", "Arial Narrow", system-ui, sans-serif;
  --text: "Source Serif", Georgia, "Times New Roman", serif;
  --measure: 42rem;
  --radius: 6px;
  --r-card: 14px;
  --shadow: 0 1px 2px rgba(17, 26, 33, .06), 0 6px 18px -8px rgba(17, 26, 33, .18);
  --shadow-lift: 0 2px 4px rgba(17, 26, 33, .08), 0 18px 36px -14px rgba(17, 26, 33, .32);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.125rem/1.65 var(--text); font-optical-sizing: auto; overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1em; height: 1em; flex: none; vertical-align: -0.12em; }

.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- masthead ---------- */
.masthead { background: var(--night); color: #fff; border-bottom: 1px solid var(--night-3); position: relative; z-index: 30; }
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; min-height: 4rem; flex-wrap: wrap; padding-top: .55rem; padding-bottom: .55rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.logo-mark { width: 1.3rem; height: 1.95rem; color: var(--night); --logo-plate: #F4F5F2; --logo-slot: #C3CBD0; }
.logo-knob { fill: var(--glow); }
.brand .logo-mark { filter: drop-shadow(0 0 8px rgba(255, 178, 63, .45)); }
.brand-name { font: 700 1.6rem/1 var(--ui); letter-spacing: -0.01em; }
.topnav { display: flex; gap: .25rem 1.4rem; flex-wrap: wrap; font: 600 1.05rem/1 var(--ui); }
.topnav a { color: var(--mist); text-decoration: none; padding: .45rem 0; border-bottom: 2px solid transparent; }
.topnav a:hover { color: #fff; border-bottom-color: var(--glow); }

/* ---------- home hero with the dimmer ---------- */
.hero { position: relative; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; }
.hero-media, .band-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .band-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media img { filter: brightness(calc(.95 * var(--dim, 1))) saturate(calc(.5 + .55 * var(--dim, 1))); transition: filter .6s ease; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(10, 14, 18, .88) 0%, rgba(10, 14, 18, .68) 42%, rgba(10, 14, 18, .35) 75%, rgba(10, 14, 18, .5) 100%), linear-gradient(0deg, rgba(10, 14, 18, .75) 0%, transparent 30%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; padding-top: 4.5rem; padding-bottom: 4.5rem; min-height: min(46rem, 88vh); }
.kicker { font: 600 .98rem/1.3 var(--ui); color: var(--glow-2); margin: 0 0 1rem; letter-spacing: .01em; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; margin: 0 0 1.1rem; max-width: 15ch; }
.glow { color: var(--glow-2); text-shadow: 0 0 32px rgba(255, 178, 63, .5); }
.hero-lede { font-size: 1.3rem; line-height: 1.5; color: #E3E8EB; max-width: 34rem; margin: 0 0 1.25rem; }
.hero .state-picker { margin: 1.25rem 0 .75rem; }
.hero .field > span { color: #E3E8EB; }
.hero-note { font: 500 1rem/1.4 var(--ui); color: var(--mist); margin: .5rem 0 0; max-width: 34rem; }

.dimmer { background: rgba(17, 26, 33, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 1.4rem 1.5rem 1.25rem; font-family: var(--ui); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.dimmer-kicker { font-weight: 600; font-size: 1rem; color: var(--glow-2); margin: 0 0 .35rem; }
.dimmer-bill { display: flex; align-items: baseline; gap: .6rem; margin: 0; }
.dimmer-amt { font-weight: 700; font-size: clamp(3.2rem, 6vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 28px rgba(255, 178, 63, .35); }
.dimmer-unit { font-weight: 500; font-size: 1.15rem; color: var(--mist); }
.dimmer-saved { font-weight: 500; font-size: 1rem; color: var(--glow-2); margin: .35rem 0 1rem; min-height: 1.4em; }
.dimmer-switch { display: block; margin: 0 0 1rem; }
.dimmer-switch input { -webkit-appearance: none; appearance: none; width: 100%; height: 2.75rem; min-height: 0; padding: 0; background: transparent; border: 0; cursor: pointer; --fill: 0%; }
.dimmer-switch input::-webkit-slider-runnable-track { height: .9rem; border-radius: 999px; background: linear-gradient(90deg, var(--glow) var(--fill), rgba(255, 255, 255, .16) var(--fill)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.dimmer-switch input::-moz-range-track { height: .9rem; border-radius: 999px; background: linear-gradient(90deg, var(--glow) var(--fill), rgba(255, 255, 255, .16) var(--fill)); }
.dimmer-switch input::-webkit-slider-thumb { -webkit-appearance: none; width: 1.75rem; height: 2.6rem; margin-top: -.85rem; border-radius: 6px; background: linear-gradient(180deg, #FFFFFF, #DCE1E4); border: 2px solid var(--night); box-shadow: 0 4px 10px rgba(0, 0, 0, .45), inset 0 -6px 0 rgba(17, 26, 33, .12); }
.dimmer-switch input::-moz-range-thumb { width: 1.75rem; height: 2.6rem; border-radius: 6px; background: linear-gradient(180deg, #FFFFFF, #DCE1E4); border: 2px solid var(--night); box-shadow: 0 4px 10px rgba(0, 0, 0, .45); }
.dimmer-switch input:focus-visible { outline: 3px solid var(--glow); outline-offset: 4px; border-radius: 8px; }
.dimmer:not(.is-live) .dimmer-switch, .dimmer:not(.is-live) .dimmer-kicker { display: none; }
.dimmer-steps { list-style: none; margin: 0 0 .9rem; padding: 0; counter-reset: step; }
.dimmer-steps li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; gap: .6rem; align-items: center; padding: .45rem 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, .1); color: var(--mist); font-size: 1.05rem; line-height: 1.25; cursor: pointer; transition: color .25s; }
.dimmer-steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); font-weight: 700; font-size: .85rem; color: var(--mist); transition: all .25s; }
.dimmer-steps a { color: inherit; text-decoration-color: rgba(255, 255, 255, .3); }
.dimmer-steps a:hover { color: #fff; text-decoration-color: var(--glow); }
.dimmer-save { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--mist); }
.dimmer-steps li.on { color: #fff; }
.dimmer-steps li.on::before { content: "✓"; background: var(--glow); border-color: var(--glow); color: var(--night); box-shadow: 0 0 14px rgba(255, 178, 63, .6); }
.dimmer-steps li.on .dimmer-save { color: var(--glow-2); }
.dimmer:not(.is-live) .dimmer-steps li { color: #fff; cursor: default; }
.dimmer-fine { font-size: .9rem; line-height: 1.4; color: var(--mist); margin: 0; }
.dimmer-fine a { color: var(--glow-2); }

/* ---------- page bands (every page except home) ---------- */
.band { position: relative; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; }
.band-plain { background: radial-gradient(60rem 22rem at 88% -30%, rgba(255, 178, 63, .28), transparent 60%), radial-gradient(40rem 18rem at 0% 120%, rgba(43, 92, 138, .35), transparent 60%), var(--night); }
.band-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(10, 14, 18, .9) 0%, rgba(10, 14, 18, .72) 45%, rgba(10, 14, 18, .3) 100%), linear-gradient(0deg, rgba(10, 14, 18, .6), transparent 45%); }
.band-in { padding-top: 1.4rem; padding-bottom: 2.4rem; }
.band-hub .band-in { padding-top: 1.75rem; padding-bottom: 3.6rem; min-height: 22rem; display: flex; flex-direction: column; justify-content: flex-end; }
.band .crumbs ol { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .35rem; font: 500 .95rem/1.3 var(--ui); color: var(--mist); }
.band .crumbs li:not(:last-child)::after { content: "›"; margin-left: .35rem; color: var(--steel-3); }
.band .crumbs li:last-child a { color: #fff; text-decoration: none; pointer-events: none; }
.band .crumbs a { color: var(--mist); }
.band-label { display: inline-flex; margin: 0 0 .8rem; font: 600 1rem/1 var(--ui); }
.band-label, .band-label a { align-items: center; gap: .55rem; color: #fff; text-decoration: none; }
.band-label a { display: inline-flex; }
.band-label a, .band-hub .band-label { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: .3rem .85rem .3rem .3rem; }
.band-hub .band-label { align-self: flex-start; }
.band-hub .band-label a { background: none; border: 0; padding: 0; }
.band-label a:hover { background: rgba(255, 255, 255, .18); }
.band-num { display: inline-grid; place-items: center; min-width: 1.75rem; height: 1.75rem; padding: 0 .3rem; border-radius: 999px; background: var(--glow); color: var(--night); font: 700 .9rem/1 var(--ui); font-variant-numeric: tabular-nums; }
.band h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.04; letter-spacing: -0.018em; margin: 0 0 .8rem; max-width: 24ch; text-wrap: balance; }
.band-hub h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.band-lede { font-size: 1.28rem; line-height: 1.5; color: #E3E8EB; max-width: 44rem; margin: 0 0 .7rem; }
.band-updated { font: 500 .95rem/1.3 var(--ui); color: var(--mist); margin: 0; }
.band-updated::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: #5BD08A; margin-right: .45rem; box-shadow: 0 0 8px rgba(91, 208, 138, .8); vertical-align: .05em; }

/* subsection tabs: sticky, so the section's pages are always one click away */
.tabs { position: sticky; top: 0; z-index: 20; background: rgba(17, 26, 33, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--night-3); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .5); }
.tabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2rem), transparent); }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs li { margin: 0; flex: none; }
.tabs li:last-child { padding-right: 2rem; }
.tabs a { display: inline-flex; align-items: center; gap: .4rem; padding: .9rem .85rem .8rem; color: var(--mist); text-decoration: none; font: 600 1.02rem/1 var(--ui); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs li:first-child a { padding-left: 0; }
.tabs a:hover { color: #fff; border-bottom-color: var(--night-3); }
.tabs a[aria-current] { color: #fff; border-bottom-color: var(--glow); }
.tabs .ico { color: var(--glow-2); }

/* ---------- page grid ---------- */
main.wrap { padding-top: 2.25rem; }
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 3.5rem; align-items: start; }
.no-side { display: block; }
.content { max-width: var(--measure); min-width: 0; padding-bottom: 3rem; }
.content-wide { max-width: none; }
@media (max-width: 960px) { .with-side { grid-template-columns: 1fr; gap: 0; } }

/* headings */
h1, h2, h3, h4 { font-family: var(--ui); color: var(--ink); line-height: 1.12; }
h1 { font-weight: 700; font-size: clamp(2.1rem, 4.2vw, 3rem); letter-spacing: -0.015em; margin: .25rem 0 .75rem; }
h2 { font-weight: 700; font-size: 1.8rem; margin: 2.75rem 0 .8rem; letter-spacing: -0.008em; }
.content > h2:first-child, .content > .hub:first-child h2 { margin-top: 0; }
.content > h2::before { content: ""; display: block; width: 2.25rem; height: .3rem; border-radius: 2px; background: var(--glow); margin-bottom: .7rem; }
h3 { font-weight: 600; font-size: 1.3rem; margin: 1.75rem 0 .5rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: .35rem; }
strong { font-weight: 650; }
.lede { font-size: 1.3rem; line-height: 1.5; color: var(--ink-2); margin-bottom: .75rem; }
.fine { font-size: .95rem; color: var(--ink-2); }
.intro { font-size: 1.2rem; line-height: 1.55; max-width: 46rem; color: var(--ink-2); }
blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 4px solid var(--glow); color: var(--ink-2); }
hr { border: 0; border-top: 1px solid var(--steel-2); margin: 2.5rem 0; }

/* on this page */
.side { position: sticky; top: 4.75rem; font-family: var(--ui); }
.otp { border-left: 2px solid var(--line); padding-left: 1rem; }
.otp-title { font-weight: 700; font-size: .95rem; color: var(--ink-2); margin: 0 0 .5rem; }
.otp ol { list-style: none; margin: 0; padding: 0; }
.otp li { margin: 0; }
.otp a { display: block; padding: .3rem 0; color: var(--ink-2); text-decoration: none; font-size: 1rem; line-height: 1.3; }
.otp a:hover, .otp a.is-here { color: var(--ink); }
.otp a.is-here { font-weight: 600; box-shadow: -1.1rem 0 0 -.95rem var(--glow); }
@media (max-width: 960px) { .side { display: none; } }

/* ---------- "In this section" cards ---------- */
.hub { margin: 0 0 2.5rem; }
.hub h2::before { display: none; }
.hub h2 { font-size: 1.15rem; color: var(--ink-2); margin: 0 0 .8rem; }
.hub-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: .85rem; }
.hub-grid li { margin: 0; }
.hub-grid a { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: .95rem 1rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-family: var(--ui); transition: transform .15s, box-shadow .15s, border-color .15s; }
.hub-grid a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: var(--steel-2); }
.hub-grid strong { font-size: 1.2rem; line-height: 1.2; font-weight: 700; }
.hub-grid a > span:last-child { font-size: .98rem; line-height: 1.35; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kind { display: inline-flex; align-items: center; gap: .3rem; align-self: flex-start; font: 700 .8rem/1 var(--ui); letter-spacing: .04em; text-transform: uppercase; padding: .3rem .5rem; border-radius: 999px; background: var(--plate); color: var(--ink-2); }
.kind-calculator { background: var(--glow-soft); color: var(--glow-ink); }
.kind-rules { background: #E8F0F8; color: var(--blue); }

/* ---------- home and topics: photo tiles ---------- */
.home main.wrap { padding-top: 3rem; }
.section-kicker { font: 700 .9rem/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 1.25rem; }
.tile-group { margin: 0 0 2.75rem; }
.group-title { display: flex; align-items: center; gap: .75rem; font-size: 1.6rem; margin: 0 0 1rem; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 1.25rem; }
.tile { margin: 0; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.tile:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.tile-photo { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel); }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tile:hover .tile-photo img { transform: scale(1.05); }
.tile-num { position: absolute; top: .7rem; left: .7rem; background: rgba(17, 26, 33, .85); color: var(--glow-2); font: 700 .9rem/1 var(--ui); padding: .35rem .5rem; border-radius: 6px; font-variant-numeric: tabular-nums; }
.tile-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; font-family: var(--ui); }
.tile-body h3 { margin: 0 0 .3rem; font-size: 1.35rem; font-weight: 700; }
.tile-body h3 a { color: var(--ink); text-decoration: none; }
.tile-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--glow); text-decoration-thickness: 3px; }
.tile-body > p { font-size: 1rem; line-height: 1.35; color: var(--ink-2); margin: 0 0 .8rem; }
.tile-links { list-style: none; margin: auto 0 0; padding: .65rem 0 0; border-top: 1px solid var(--line); }
.tile-links li { margin: 0; }
.tile-links a { display: flex; align-items: center; gap: .4rem; padding: .22rem 0; font-weight: 500; font-size: 1.02rem; line-height: 1.25; color: var(--blue); text-decoration: none; }
.tile-links a::before { content: "›"; color: var(--steel-3); font-weight: 700; width: .6rem; }
.tile-links .is-calc a::before { display: none; }
.tile-links .is-calc .ico { color: var(--glow-ink); width: .95rem; }
.tile-links a:hover { text-decoration: underline; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; margin: 1rem 0 2rem; }
.home-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.4rem 1.5rem .6rem; box-shadow: var(--shadow); }
.home-box h2 { margin-top: 0; font-size: 1.6rem; }
.home-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.home-split h2 { font-size: 1.5rem; margin-top: 1rem; }
.more { font: 600 1.05rem/1 var(--ui); }
.more::after { content: " →"; }
@media (max-width: 860px) { .home-grid, .home-split { grid-template-columns: 1fr; gap: 1rem; } }

/* the circuit directory (footer and 404) */
.panel { background: var(--steel); border: 2px solid var(--ink); border-radius: 8px; padding: .9rem; margin: 1.5rem 0 2.5rem; }
.panel-card { background: var(--paper); border: 1px solid var(--steel-3); border-radius: 3px; padding: .9rem 1rem 1rem; }
.panel-title { font: 600 1rem/1 var(--ui); color: var(--ink-2); margin: 0 0 .75rem; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); }
.breakers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; position: relative; }
.breakers::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: .5rem; transform: translateX(-50%); background: linear-gradient(90deg, var(--steel-2), var(--steel), var(--steel-2)); border-left: 1px solid var(--steel-3); border-right: 1px solid var(--steel-3); }
.breakers li { margin: 0; border-bottom: 1px solid var(--rule); }
.breakers a { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: .75rem; padding: .7rem .1rem; color: var(--ink); text-decoration: none; min-height: 3.6rem; }
.breakers li:nth-child(even) a { grid-template-columns: 1fr auto auto; text-align: right; }
.breakers li:nth-child(even) .label { order: -1; }
.breakers li:nth-child(even) .num { order: 1; }
.breakers .num { display: inline-grid; place-items: center; min-width: 1.75rem; height: 1.75rem; border: 1.5px solid var(--ink); border-radius: 2px; font: 600 .95rem/1 var(--ui); font-variant-numeric: tabular-nums; background: var(--paper); color: var(--ink); }
.handle { width: 2.4rem; height: 1rem; border-radius: 2px; border: 1.5px solid var(--ink); background: linear-gradient(90deg, var(--ink) 0 46%, var(--steel) 46%); }
.breakers li:nth-child(even) .handle { background: linear-gradient(90deg, var(--steel) 54%, var(--ink) 54%); }
.label strong { display: block; font: 600 1.15rem/1.2 var(--ui); }
.label span { display: block; font-size: .98rem; line-height: 1.35; color: var(--ink-2); margin-top: .1rem; }
.breakers a:hover strong { text-decoration: underline; text-underline-offset: .15em; }
.breakers a:hover .handle { border-color: var(--blue); background: linear-gradient(90deg, var(--glow) 0 46%, var(--steel) 46%); }
.breakers li:nth-child(even) a:hover .handle { background: linear-gradient(90deg, var(--steel) 54%, var(--glow) 54%); }
@media (max-width: 720px) {
  .breakers { grid-template-columns: 1fr; }
  .breakers::before { display: none; }
  .breakers li:nth-child(even) a { grid-template-columns: auto auto 1fr; text-align: left; }
  .breakers li:nth-child(even) .label, .breakers li:nth-child(even) .num { order: 0; }
  .breakers li:nth-child(even) .handle { background: linear-gradient(90deg, var(--ink) 0 46%, var(--steel) 46%); }
  .panel { padding: .45rem; } .panel-card { padding: .7rem .7rem .8rem; }
}
.panel-compact { margin: 0 0 2rem; padding: .6rem; }
.panel-compact .panel-card { padding: .6rem .75rem .75rem; }
.panel-compact .breakers a { min-height: 0; padding: .4rem .1rem; gap: .55rem; }
.panel-compact .label strong { font-size: 1rem; }
.panel-compact .num { min-width: 1.5rem; height: 1.5rem; font-size: .85rem; }
.panel-compact .handle { width: 1.9rem; height: .8rem; }

/* ---------- forms ---------- */
.state-picker { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; margin: 1.5rem 0 .5rem; }
.state-picker .field { margin: 0; min-width: 15rem; }
.field { display: flex; flex-direction: column; gap: .3rem; margin: 0 0 .9rem; font-family: var(--ui); }
.field > span { font-weight: 500; font-size: 1rem; }
.field small { color: var(--ink-2); font-size: .9rem; line-height: 1.3; }
input, select { font: 500 1.05rem/1.2 var(--ui); color: var(--ink); background: #fff; border: 1.5px solid var(--steel-3); border-radius: var(--radius); padding: .55rem .65rem; min-height: 2.9rem; width: 100%; }
input[type="checkbox"] { width: 1.25rem; height: 1.25rem; min-height: 0; accent-color: var(--ink); }
input:focus, select:focus { border-color: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.9rem; padding: .6rem 1.2rem; border: 2px solid #E39A22; border-radius: 999px; background: var(--glow); color: #241600; font: 700 1.05rem/1 var(--ui); text-decoration: none; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(227, 154, 34, .9); transition: background .15s, transform .15s; }
.btn:hover { background: var(--glow-2); transform: translateY(-1px); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-quiet:hover { background: var(--plate); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.25rem; }
table.data { border-collapse: collapse; width: 100%; font: 400 1.02rem/1.35 var(--ui); font-variant-numeric: tabular-nums; }
table.data thead th { font-weight: 700; text-align: left; border-bottom: 2px solid var(--ink); padding: .5rem .6rem .5rem 0; vertical-align: bottom; white-space: nowrap; }
table.data td, table.data tbody th { padding: .55rem .6rem .55rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data tbody th { font-weight: 600; }
table.data tbody tr:hover { background: #F3F5F6; }
.nowrap { white-space: nowrap; }
.rules-table tbody th { width: 11rem; color: var(--ink-2); font-weight: 500; }
.sortable thead th[data-sort] { cursor: pointer; }
.sortable thead th[data-sort] button { all: unset; cursor: pointer; }
.sortable thead th[aria-sort="ascending"]::after { content: " ▲"; font-size: .7em; }
.sortable thead th[aria-sort="descending"]::after { content: " ▼"; font-size: .7em; }

/* status chips (text always present; color is a second cue) */
.chip { display: inline-flex; align-items: center; gap: .4rem; font: 600 .92rem/1 var(--ui); padding: .3rem .6rem; border-radius: 999px; border: 1.5px solid currentColor; white-space: nowrap; vertical-align: .1em; }
.chip::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
.chip-legal { color: var(--green); background: #EEF6F0; }
.chip-soon { color: var(--amber); background: #FBF4EA; }
.chip-moving { color: var(--blue); background: #EEF3F8; }
.chip-stalled, .chip-none { color: var(--gray); background: #F1F3F4; }
.chip-none::before { background: transparent; border: 1.5px solid currentColor; }

/* readouts: meter windows */
.readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-radius: var(--r-card); background: var(--night); color: #fff; margin: 0 0 2rem; box-shadow: var(--shadow); overflow: hidden; }
.readout > div { padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .2rem; font-family: var(--ui); }
.readout > div + div { border-left: 1px solid var(--night-3); }
.readout-n { font-weight: 700; font-size: 2.3rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--glow-2); }
.readout-l { font-weight: 500; font-size: 1rem; }
.readout-s { font-size: .92rem; color: var(--mist); }
@media (max-width: 640px) { .readout { grid-template-columns: 1fr; } .readout > div + div { border-left: 0; border-top: 1px solid var(--night-3); } }

.answer { border: 1px solid var(--line); border-left: 5px solid var(--glow); border-radius: var(--r-card); padding: 1.1rem 1.25rem; background: var(--card); box-shadow: var(--shadow); margin-bottom: 1.75rem; }
.answer-q { font: 700 1.25rem/1.2 var(--ui); margin: 0 0 .5rem; }
.answer-a { margin: 0; }

/* ---------- picks ---------- */
.picks { margin: 1.25rem 0 2rem; }
.paid-note { font: 400 .98rem/1.4 var(--ui); color: var(--ink-2); }
.pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: .5rem 2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 1.25rem 1.4rem 1.3rem; margin: 0 0 1.1rem; position: relative; }
.pick::before { content: ""; position: absolute; left: 0; top: 1.3rem; bottom: 1.3rem; width: 4px; border-radius: 0 3px 3px 0; background: var(--glow); }
.pick-head h3 { margin: 0 0 .45rem; font-size: 1.4rem; font-weight: 700; }
.pick-best { font: 500 1rem/1.35 var(--ui); color: var(--ink-2); margin: 0 0 .6rem; }
.pick-best::before { content: "Best for"; display: inline-block; margin-right: .45rem; font: 700 .78rem/1 var(--ui); letter-spacing: .05em; text-transform: uppercase; color: var(--glow-ink); background: var(--glow-soft); padding: .28rem .45rem; border-radius: 999px; vertical-align: .1em; }
.pick-specs { grid-column: 1; list-style: none; padding: 0; margin: 0; font: 400 1rem/1.35 var(--ui); }
.pick-specs li { padding: .35rem 0 .35rem 1.1rem; border-top: 1px solid var(--line); margin: 0; position: relative; }
.pick-specs li::before { content: ""; position: absolute; left: .1rem; top: .85rem; width: .4rem; height: .4rem; border-radius: 50%; background: var(--steel-3); }
.pick-body { grid-column: 2; grid-row: 1 / span 2; }
.pick-body p { font-size: 1.05rem; }
.pick-watch { color: var(--ink-2); }
.pick-link { grid-column: 2; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.link-kind { font: 500 .9rem/1 var(--ui); color: var(--ink-2); }
@media (max-width: 720px) { .pick { grid-template-columns: 1fr; padding: 1.1rem 1.1rem 1.2rem; } .pick-specs, .pick-body, .pick-link { grid-column: 1; grid-row: auto; } }

/* ---------- calculators ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: 1.5rem; align-items: start; margin: 1.5rem 0 2rem; }
.content-wide .calc { grid-template-columns: minmax(0, 32rem) minmax(0, 20rem); }
.calc-out { position: sticky; top: 4.5rem; background: var(--night); color: #fff; border-radius: var(--r-card); padding: 1.2rem 1.3rem; font-family: var(--ui); box-shadow: var(--shadow-lift); }
.calc-big { margin: 0 0 1rem; display: flex; flex-direction: column; }
.calc-big span { font-weight: 700; font-size: 2.7rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--glow-2); text-shadow: 0 0 22px rgba(255, 178, 63, .3); }
.calc-big small { font-size: 1.05rem; font-weight: 500; margin-top: .3rem; color: #E3E8EB; }
.calc-dl { display: grid; grid-template-columns: auto auto; gap: .35rem 1rem; margin: 0 0 .75rem; font-variant-numeric: tabular-nums; }
.calc-dl dt { color: var(--mist); }
.calc-dl dd { margin: 0; font-weight: 600; text-align: right; }
.calc-dl-wide { grid-template-columns: 1fr auto; font-size: 1.1rem; }
.calc-out .fine { font-family: var(--ui); font-size: .9rem; margin: 0; color: var(--mist); }
.calc-out a { color: var(--glow-2); }
.calc fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .9rem .25rem; margin: 0 0 1rem; background: var(--card); }
.calc legend { font: 600 1rem/1 var(--ui); padding: 0 .3rem; }
.exact .btn { margin-bottom: .5rem; }
.exact small { display: block; font: 400 .92rem/1.3 var(--ui); color: var(--ink-2); margin-bottom: .5rem; }
table.appl { width: 100%; border-collapse: collapse; font: 400 1rem/1.3 var(--ui); }
table.appl th { text-align: left; font-weight: 600; font-size: .92rem; color: var(--ink-2); padding: 0 .4rem .4rem 0; }
table.appl td { padding: .3rem .4rem .3rem 0; border-top: 1px solid var(--line); vertical-align: middle; }
table.appl td:first-child { width: 2rem; }
table.appl td:last-child { width: 7rem; }
table.appl input[type="number"] { min-height: 2.25rem; padding: .3rem .45rem; }
@media (max-width: 760px) { .calc, .content-wide .calc { grid-template-columns: 1fr; } .calc-out { position: static; } }

.calc-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.calc-cards li { margin: 0; }
.calc-cards a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-family: var(--ui); transition: transform .15s, box-shadow .15s; }
.calc-cards a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.calc-card-img { display: block; aspect-ratio: 16 / 7; overflow: hidden; background: var(--steel); }
.calc-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.calc-card-body { display: flex; flex-direction: column; gap: .35rem; padding: .85rem 1rem 1rem; }
.calc-card-body .kind { background: var(--glow-soft); color: var(--glow-ink); }
.calc-card-body strong { font-size: 1.22rem; line-height: 1.2; }
.calc-card-body > span:last-child { color: var(--ink-2); font-size: .98rem; line-height: 1.35; }

/* ---------- lists and misc ---------- */
.timeline { list-style: none; padding: 0; margin: 1rem 0 1.5rem; border-left: 2px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .55rem 0 .55rem 1rem; margin: 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 1rem; width: 12px; height: 12px; background: var(--glow); border: 2px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 1.5px var(--glow); }
.timeline time { font: 700 1rem/1.5 var(--ui); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 0; } }
.state-grid { list-style: none; padding: 0; columns: 4 10rem; column-gap: 1.5rem; font-family: var(--ui); font-size: 1.05rem; }
.state-grid li { break-inside: avoid; margin: 0 0 .35rem; }
.inline-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-family: var(--ui); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; gap: 0; } }
.calc-index { list-style: none; padding: 0; }
.calc-index li { display: grid; grid-template-columns: minmax(0, 14rem) 1fr; gap: 1.25rem; padding: .7rem 0; border-top: 1px solid var(--line); margin: 0; }
.calc-index a { font: 600 1.1rem/1.3 var(--ui); }
.calc-index span { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 640px) { .calc-index li { grid-template-columns: 1fr; gap: .2rem; } }
.finder .field { max-width: 20rem; }
.lawn-state h3 { margin-top: 1.5rem; }
.lawn-state[hidden] { display: none; }
.rules { list-style: none; padding: 0; }
.rules li { padding: .5rem 0; border-top: 1px solid var(--line); margin: 0; font-family: var(--ui); font-size: 1.05rem; }
.rule-type { display: inline-block; font-weight: 500; color: var(--ink-2); margin-left: .35rem; }
.rule-date { display: inline-block; font-weight: 600; margin-left: .35rem; }
.rule-note { display: block; color: var(--ink-2); font-size: .98rem; }
.sources { margin-top: 3rem; padding: 1.1rem 1.25rem .5rem; background: var(--plate); border-radius: var(--r-card); font-size: .98rem; }
.sources h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
.sources h2::before { display: none; }
.sources ul { padding-left: 1.1rem; }
.sources li { margin-bottom: .3rem; overflow-wrap: anywhere; }
.callout { border-left: 4px solid var(--amber); background: #FBF4EA; padding: .8rem 1rem; margin: 1.25rem 0; border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin-bottom: 0; }
.credits { list-style: none; padding: 0; display: grid; gap: .75rem; }
.credits li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; align-items: center; margin: 0; font-family: var(--ui); font-size: 1.02rem; }
.credit-img { display: block; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--steel); }
.credit-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--mist); padding: 2.5rem 0 3rem; margin-top: 3rem; font-size: 1rem; }
.foot .panel { background: var(--steel-2); border-color: #000; }
.foot .panel a { color: var(--ink); }
.foot-meta { max-width: 52rem; }
.foot-meta p { margin-bottom: .6rem; }
.foot-brand { display: flex; align-items: center; gap: .55rem; font: 700 1.35rem/1 var(--ui); color: #fff; margin-bottom: .9rem !important; }
.foot-brand .logo-mark { width: 1.1rem; height: 1.65rem; }
.disclosure { font-weight: 600; color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-family: var(--ui); font-size: 1.05rem; }
.foot a { color: #fff; }
.foot-links a { color: var(--glow-2); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 3rem; min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(10, 14, 18, .82) 0%, rgba(10, 14, 18, .7) 50%, rgba(10, 14, 18, .9) 100%); }
  .band-photo::before { background: linear-gradient(180deg, rgba(10, 14, 18, .7), rgba(10, 14, 18, .88)); }
  .band-hub .band-in { min-height: 17rem; padding-bottom: 2.4rem; }
}
@media (max-width: 560px) {
  .topnav { gap: .2rem 1rem; font-size: 1rem; }
  .hero h1 { font-size: 2.45rem; }
  .hero-lede, .band-lede { font-size: 1.15rem; }
  .dimmer { padding: 1.1rem 1.1rem 1rem; }
  .tile-grid { grid-template-columns: 1fr; }
  .credits li { grid-template-columns: 5.5rem 1fr; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .masthead, .foot, .side, .tabs, .pick-link, .band-media { display: none; } .band { background: #fff; color: var(--ink); } .band h1, .band-lede { color: var(--ink); } body { background: #fff; } }
