.solar-utility { max-width: 1100px; }

.solar-utility .hero { margin-top: 1rem; margin-bottom: 1rem; }
.solar-utility .hero h1 { font-size: 2rem; margin-bottom: .25rem; }
.solar-utility .subhead { color: #334155; margin: .25rem 0 1rem; }
.solar-utility .hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn { display:inline-block; padding:.6rem 1rem; border-radius:.75rem; text-decoration:none; }
.btn-primary { background:#0ea5e9; color:white; }

.breadcrumbs { font-size:.9rem; margin:.5rem 0 1rem; color:#6b7280; }
.breadcrumbs a { color:#6b7280; text-decoration:none; }
.breadcrumbs .current { color:#111827; }

.solar-utility .toc { background:#f8fafc; border:1px solid #e5e7eb; border-radius: .75rem; padding:1rem; margin: 0 0 1rem; }
.solar-utility .toc h2 { font-size:1rem; margin:0 0 .5rem; }
.solar-utility .toc ol { margin:0; padding-left: 1rem; line-height:1.6; }

.content { display:grid; grid-template-columns: 1fr; gap: 1rem; }
.block { background:#fff; border:1px solid #e5e7eb; border-radius:.75rem; padding:1rem; }
.block h2 { font-size:1.4rem; margin:0 0 .6rem; color:#0f172a; }
.block h3 { font-size:1.1rem; margin:1rem 0 .35rem; color:#0f172a; }
.block p { line-height:1.7; color:#1f2937; margin:.5rem 0; }

.table-wrap { overflow-x:auto; margin-top:.75rem; }
.table-wrap table { width:100%; border-collapse: collapse; }
.table-wrap th, .table-wrap td { border:1px solid #e5e7eb; padding:.6rem; text-align:left; }
.table-wrap td { font-variant-numeric: tabular-nums; }
.table-wrap thead th { background:#f1f5f9; }
.table-wrap tbody th { font-weight:600; background:#f8fafc; }

.alt-links { padding-left:1.25rem; margin-top:.5rem; }
.alt-links li { margin:.5rem 0; line-height:1.6; }
.alt-links a { color:#0ea5e9; text-decoration:none; }
.alt-links a:hover { text-decoration:underline; }

.src-line { font-size:.9rem; color:#475569; margin-top:.75rem; }
.src-line a { color:#0ea5e9; text-decoration:none; }
.src-line a:hover { text-decoration:underline; }

details { border:1px solid #e5e7eb; border-radius:.5rem; padding:.6rem .8rem; margin:.5rem 0; background:#fff; }
details summary { cursor:pointer; font-weight:600; color:#0f172a; }
details p { margin:.5rem 0 0; }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ====== CHARTS ====== */
.chart-card { margin: .9rem 0 .25rem; border: 1px solid #e5e7eb; border-radius: .75rem; padding: .75rem .75rem .5rem; background: #fff; }
.chart-holder { position: relative; width: 100%; }
.chart-holder svg { width: 100%; height: auto; display: block; }
.chart-note { font-size: .85rem; color: #64748b; margin: .35rem .25rem 0; }
.chart-tip {
  position: absolute; transform: translate(-50%, -100%);
  background: #0f172a; color: #fff; padding: .35rem .55rem; border-radius: .4rem;
  font-size: .8rem; line-height: 1.2; white-space: nowrap; pointer-events: none; z-index: 5;
  box-shadow: 0 2px 8px rgba(15,23,42,.18);
}
.chart-legend { display:flex; gap:1.1rem; flex-wrap:wrap; margin:0 0 .5rem; font-size:.9rem; }
.chart-legend .lg { position:relative; padding-left:1.6rem; color:#334155; }
.chart-legend .lg::before { content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:1.2rem; height:0; border-top-width:3px; }
.chart-legend .lg-util::before { border-top-color:#0ea5e9; border-top-style:solid; }
.chart-legend .lg-ca::before { border-top-color:#94a3b8; border-top-style:dashed; }

/* ====== ZIP GRID ====== */
.zip-grid { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.75rem; }
.zip { font-size:.85rem; font-variant-numeric:tabular-nums; background:#f1f5f9; border:1px solid #e5e7eb; color:#334155; padding:.2rem .5rem; border-radius:.4rem; }

/* ====== UTILITY INDEX CARDS ====== */
.util-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:1rem; margin-top:.75rem; }
.util-card { display:flex; flex-direction:column; gap:.3rem; padding:1rem 1.1rem; border:1px solid #e5e7eb; border-radius:.75rem; background:#f8fafc; text-decoration:none; transition:border-color .15s; }
.util-card:hover { border-color:#0ea5e9; }
.util-card .util-name { font-weight:600; color:#0f172a; font-size:1.05rem; }
.util-card .util-meta { font-size:.85rem; color:#475569; }

/* ====== HERO PRO ====== */
.hero-pro {
  background: radial-gradient(1200px 500px at 10% -10%, rgba(14,165,233,.15), transparent),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e5e7eb; border-radius: 1rem; padding: 1.25rem; margin: .75rem 0 1rem;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: start; }
.eyebrow { font-size: .85rem; letter-spacing: .02em; color: #0284c7; font-weight: 600; margin: 0 0 .25rem; }
.hero-pro h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .25rem; }
.hero-pro .subhead { color: #334155; margin: .25rem 0 .75rem; }
.quick-facts { margin: 0 0 .9rem; padding-left: 1.25rem; }
.quick-facts li { margin: .25rem 0; }
.hero-cta { display:flex; gap:.6rem; flex-wrap:wrap; margin:.25rem 0 .75rem; }
.btn-outline { color:#0ea5e9; border:1px solid #bae6fd; background:#f0f9ff; }
.trust-row { display:flex; gap:.5rem; flex-wrap:wrap; }
.badge { background:#f1f5f9; border:1px solid #e5e7eb; color:#334155; padding:.35rem .6rem; border-radius:999px; font-size:.85rem; }

/* ====== STICKY TOC ====== */
.sticky-toc { margin: .75rem 0 1rem; }
.toc-mobile { display: none; }
.toc-desktop { position: sticky; top: 90px; background:#fff; border:1px solid #e5e7eb; border-radius:.75rem; padding:1rem; }
.toc-desktop h2 { font-size:1rem; margin:0 0 .5rem; color:#0f172a; }
.toc-desktop ol { margin:0; padding-left:1rem; line-height:1.6; }
.toc-desktop a { color:#0ea5e9; text-decoration:none; }
.toc-desktop a:hover { text-decoration:underline; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .toc-desktop { display:none; }
  .toc-mobile { display:block; }
  .toc-mobile summary {
    list-style:none; cursor:pointer; font-weight:700; padding:.8rem 1rem;
    border:1px solid #e5e7eb; border-radius:.75rem; background:#f8fafc; color:#0f172a;
  }
  .toc-mobile[open] summary { border-bottom-left-radius:0; border-bottom-right-radius:0; }
  .toc-mobile ol { border:1px solid #e5e7eb; border-top:0; border-radius:0 0 .75rem .75rem; padding: .6rem 1.2rem; background:#fff; }
}

/* ====== RATE HIKE / BILL PROJECTOR CALCULATOR ====== */
.calc { margin-top: .75rem; }
.calc-controls { display: grid; gap: .75rem; }
.calc-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.calc-row label, .calc-row .calc-label { font-size: .92rem; color: #334155; min-width: 180px; }
.calc-row input[type=range] { flex: 1; min-width: 160px; accent-color: #0ea5e9; }
.calc-row output { font-size: .95rem; font-weight: 600; min-width: 96px; text-align: right; color: #0f172a; }
.calc-addons { gap: 8px; }
.addon { background: #f1f5f9; border: 1px solid #e2e8f0; color: #334155; padding: .4rem .7rem; border-radius: .5rem; font-size: .85rem; cursor: pointer; }
.addon:hover { border-color: #0ea5e9; }
.addon.on { background: #0ea5e9; border-color: #0ea5e9; color: #fff; }
.calc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 1rem 0; }
.calc-tile { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: .6rem; padding: .7rem .8rem; }
.calc-tile .t-lab { display: block; font-size: .78rem; color: #64748b; margin-bottom: .25rem; }
.calc-tile .t-val { font-size: 1.5rem; font-weight: 600; color: #0f172a; font-variant-numeric: tabular-nums; }
.calc-tile.hot .t-val { color: #0284c7; }
.calc-disclaimer { font-size: .8rem; color: #64748b; margin-top: .5rem; line-height: 1.5; }
