
/* Referencia visual: App Soleno Sites v2, commit 77918ddb6afe7bd08325af0c1b602b511bd41976. */
:root {
  color-scheme: light dark;
  --navy: #123b5d; --accent: #2e7bc4; --link: #123b5d;
  --canvas: #eef2f4; --surface: #fff; --soft: #f4f7fa;
  --ink: #18242d; --muted: #536571; --line: #d7e1e8; --gold: #efc76c;
  --gap: clamp(6px, 1dvh, 10px); --pad: clamp(10px, 1.6dvh, 16px);
  --content: 480px;
  font: 16px Aptos, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; color: var(--ink); background: var(--canvas); line-height: 1.4; overflow-wrap: anywhere; -webkit-tap-highlight-color: transparent; }
h1, h2, p, dl, dd { margin: 0; }
h1 { font-size: 1.625rem; line-height: 1.15; font-weight: 600; letter-spacing: -.04em; }
h2 { font-size: .9375rem; line-height: 1.3; font-weight: 600; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1:focus { outline: none; }
[hidden] { display: none !important; }
.app-shell {
  width: 100%; max-width: var(--content); margin: auto;
  height: 100svh; height: 100dvh;
  display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto;
  background: var(--canvas);
}
.app-header {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding: max(4px, env(safe-area-inset-top)) 16px 4px;
  background: var(--navy); color: white;
}
.brand { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.035em; text-decoration: none; }
.brand-mark { width: 11px; height: 11px; flex: none; border: 2px solid #a9d9f2; border-radius: 50%; box-shadow: 0 0 0 3px #a9d9f21a; }
.header-caption { font-size: .75rem; color: #d6e5ef; }
.preview-label { display: flex; justify-content: center; gap: 6px; padding: 3px 12px; font-size: .75rem; line-height: 16px; color: var(--muted); background: var(--surface); border-bottom: 1px solid var(--line); }
main { min-height: 0; min-width: 0; padding: var(--gap) 14px; }
.page { display: grid; height: 100%; min-height: 0; gap: var(--gap); }
.page-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; }
.subtitle { font-size: .75rem; color: var(--muted); text-align: right; }
.card { min-width: 0; min-height: 0; padding: var(--pad); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-heading h2 { display: flex; align-items: center; gap: 7px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.muted { font-size: .75rem; color: var(--muted); }
.energy-card { background: var(--navy); border-color: var(--navy); color: white; }
.tag { font-size: .75rem; line-height: 1.3; padding: 2px 6px; border: 1px solid #98b4ca66; border-radius: 5px; color: #d6e5ef; }
.small-label { font-size: .75rem; color: #d6e5ef; }
.price-reading { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: clamp(2rem, 4.8dvh, 2.6rem); line-height: 1.1; letter-spacing: -.045em; font-weight: 500; font-variant-numeric: tabular-nums; }
.unit { font-size: .875rem; font-weight: 400; letter-spacing: 0; color: #d6e5ef; }
.home-price { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.home-price .small-label { text-align: right; }
.card-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--link); }
.card-action > span { font-size: 1.25rem; line-height: 1; }
.energy-card .card-action { border-color: #ffffff26; color: white; }
.energy-card a:focus-visible { outline-color: #a9d9f2; }
.energy-insight { display: flex; justify-content: space-between; gap: 8px; font-size: .75rem; color: #d6e5ef; }
.energy-insight strong { color: var(--gold); font-weight: 600; }
#inicio { grid-template-rows: auto minmax(0, 1.2fr) minmax(0, 1fr); }
#inicio .energy-card { display: grid; grid-template-rows: auto auto minmax(20px, 1fr) auto 44px; gap: 3px; }
.mini-chart { min-height: 0; display: flex; align-items: center; }
.chart { display: block; width: 100%; height: auto; }
.mini-chart .chart { width: 100%; height: 100%; max-height: 60px; }
.chart-bar { fill: var(--accent); }
.chart-bar.best { fill: #9a6807; }
.energy-card .chart-bar { fill: #93c4e7; }
.energy-card .chart-bar.best { fill: var(--gold); }
.chart-label { font: 15px Aptos, "Segoe UI", Arial, sans-serif; fill: var(--muted); }
.chart-baseline { stroke: var(--line); stroke-width: 1; }
.energy-card .chart-baseline { stroke: #476982; }
.weather-card { display: grid; grid-template-rows: auto minmax(0, 1fr) auto 44px; gap: 3px; }
.weather-reading-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 0; }
.weather-reading-row > div { display: flex; align-items: center; gap: 12px; }
.temperature { font-size: clamp(2.5rem, 5.8dvh, 3.25rem); line-height: 1; letter-spacing: -.055em; font-weight: 500; color: var(--link); font-variant-numeric: tabular-nums; }
.temperature > span { font-size: .8em; color: var(--muted); }
.condition { font-size: .875rem; max-width: 8rem; }
.weather-symbol { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; flex: none; }
.sun { color: #a46a0c; }
.weather-bounds { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; color: var(--muted); font-size: .75rem; }
.weather-bounds > span { margin: 0 4px; }
.weather-bounds strong { color: var(--ink); font-weight: 600; }
.bottom-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px 10px calc(4px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 48px; border-radius: 10px; font-size: .875rem; line-height: 1.3; font-weight: 500; text-decoration: none; color: var(--muted); }
.bottom-nav a[aria-current=page] { color: var(--link); background: #e8f1f8; font-weight: 600; }
.bottom-nav a:hover { background: var(--soft); }
.data-note { color: var(--muted); font-size: .75rem; line-height: 1.4; }
#luz { grid-template-rows: auto 44px minmax(0, 1fr) auto; }
.day-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 2px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; }
.day-tabs button { min-height: 38px; padding: 0 6px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-size: .875rem; font-weight: 600; }
.day-tabs button span { margin-left: 4px; font-size: .75rem; font-weight: 400; }
.day-tabs button[aria-pressed=true] { background: var(--soft); color: var(--link); }
#prices-today { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--gap); min-height: 0; }
.detail-reading { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; align-items: center; padding: 10px; }
.detail-reading .price-reading { margin-top: 3px; font-size: 1.625rem; gap: 4px; }
.detail-reading .unit { font-size: .75rem; }
.energy-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.energy-stats span, .energy-stats strong { display: block; font-variant-numeric: tabular-nums; }
.energy-stats span { font-size: .75rem; color: #d6e5ef; }
.energy-stats strong { margin-top: 3px; font-size: .875rem; font-weight: 500; }
.prices-card { display: grid; grid-template-rows: 44px minmax(0, 1fr) auto; gap: 4px; padding: 8px; }
.price-mode { display: flex; align-items: stretch; gap: 4px; }
.price-mode button { min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: .875rem; font-weight: 600; }
.price-mode button[aria-pressed=true] { color: var(--link); background: var(--soft); }
.price-mode > span { align-self: center; margin-left: auto; padding-right: 3px; font-size: .75rem; color: var(--muted); }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(22px, 1fr)); gap: 4px; min-height: 0; font-variant-numeric: tabular-nums; }
.price-cell { display: flex; align-items: center; justify-content: space-between; gap: 2px; padding: 2px 3px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); }
.price-cell dt { font-size: .75rem; color: var(--muted); line-height: 1.2; }
.price-cell dd { font-size: .875rem; font-weight: 500; line-height: 1.2; }
.price-cell.best-cell { border-color: #9a6807; background: #fff3d5; color: #694809; }
.price-cell.best-cell dt { color: #694809; }
.price-cell.current-cell { border-color: var(--accent); }
.best-hour-note { font-size: .75rem; line-height: 1.4; color: var(--muted); }
.best-hour-note strong { color: var(--link); font-weight: 600; }
.price-chart-panel { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 0; }
.price-chart-panel > [data-chart] { min-height: 0; }
.price-chart-panel .chart { max-height: 100%; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: .75rem; color: var(--muted); }
.chart-legend span { display: flex; align-items: center; gap: 5px; }
.chart-legend i { width: 8px; height: 8px; border-radius: 2px; }
.legend-blue { background: var(--accent); }
.legend-gold { background: #9a6807; }
#prices-tomorrow { min-height: 0; }
.empty-state { display: flex; height: 100%; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; }
.empty-state h2 { font-size: 1.125rem; }
.empty-state p { max-width: 30ch; color: var(--muted); }
.empty-icon { width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; }
.primary-action { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 9px; background: var(--navy); color: white; }
#tiempo { grid-template-rows: auto minmax(0, .85fr) minmax(0, 1.15fr) auto auto; }
.weather-detail { grid-template-rows: auto minmax(0, 1fr) auto; }
.weather-detail .temperature { font-size: clamp(2.75rem, 7dvh, 4rem); }
.forecast-card { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 6px; }
.weather-hours { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); list-style: none; gap: 4px; padding: 0; margin: 0; min-height: 0; }
.weather-hours li { display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto auto; align-content: center; align-items: center; gap: 1px 4px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); min-width: 0; }
.weather-hours time { grid-column: 1 / -1; font-size: .75rem; color: var(--muted); }
.weather-hours .icon { width: 22px; height: 22px; }
.weather-hours strong { font-size: 1.25rem; line-height: 1.1; font-weight: 500; color: var(--link); }
.hour-condition { grid-column: 1 / -1; font-size: .75rem; line-height: 1.2; color: var(--muted); }
.location-note { display: flex; align-items: center; gap: 8px; }
.location-note > div { flex: 1; min-width: 0; }
.location-note strong, .location-note span { display: block; font-size: .75rem; }
.location-note span { color: var(--muted); }
.location-note a { display: flex; align-items: center; min-height: 44px; font-size: .875rem; color: var(--link); }
#cuenta { grid-template-rows: auto auto minmax(0, 1fr) minmax(0, 1fr) auto; }
.account-intro { display: flex; align-items: center; gap: 10px; padding: 10px; }
.account-avatar { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--soft); color: var(--link); }
#cuenta > .card:not(.account-intro) { display: flex; flex-direction: column; justify-content: space-between; }
.setting-row { display: flex; align-items: center; gap: 8px; }
.setting-row strong, .setting-row span { display: block; font-size: .875rem; }
.setting-row span { font-size: .75rem; color: var(--muted); }
.module-row { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.module-row:last-child { border: 0; }
.module-row > span:nth-child(2) { flex: 1; }
.module-row strong, .module-row small { display: block; }
.module-row strong { font-size: .875rem; font-weight: 600; }
.module-row small { font-size: .75rem; color: var(--muted); }
.module-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: none; background: var(--soft); color: var(--link); border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 30; top: 10px; left: 10px; padding: 12px; border-radius: 8px; background: var(--surface); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.no-script { position: fixed; bottom: 90px; left: 10px; right: 10px; max-width: 460px; margin: auto; padding: 16px; z-index: 20; background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 600px) {
  body { background: #dce5ec; }
  .app-shell { box-shadow: 0 0 0 1px #123b5d10, 0 20px 90px #123b5d16; }
}
@media (max-height: 620px) {
  :root { --gap: 4px; --pad: 8px; }
  .app-header { padding-top: env(safe-area-inset-top); padding-bottom: 0; }
  .preview-label { padding-top: 2px; padding-bottom: 2px; }
  .bottom-nav a { min-height: 44px; }
  main { padding-top: 6px; padding-bottom: 6px; }
  h1 { font-size: 1.5rem; }
  .detail-reading { padding: 8px; }
  .detail-reading .price-reading { font-size: 1.375rem; }
  .account-intro { padding: 8px; }
  .account-avatar { width: 30px; height: 30px; }
  .module-row { min-height: 44px; }
}
@media (max-width: 359px) {
  main { padding-left: 10px; padding-right: 10px; }
  .app-header { padding-left: 12px; padding-right: 12px; }
  .brand { font-size: 1.125rem; }
  .header-caption { font-size: .75rem; max-width: 70px; text-align: right; }
  .home-price { gap: 4px; }
  .home-price .price-reading { font-size: 1.875rem; }
  .home-price .small-label { font-size: .75rem; }
  .weather-symbol { width: 34px; height: 34px; }
  .weather-reading-row > div { gap: 8px; }
  .weather-hours li { padding-left: 4px; padding-right: 4px; }
  .price-cell { padding-left: 2px; padding-right: 2px; }
}
@media (prefers-color-scheme: dark) {
  :root { --canvas: #0c1722; --surface: #152536; --soft: #1d3144; --ink: #edf3f8; --muted: #aec0ce; --line: #2d4457; --accent: #86c7f4; --link: #b3d9f4; }
  body { background: #08111a; }
  .energy-card { border-color: #426889; }
  .bottom-nav a[aria-current=page] { background: #1d3a52; }
  .sun { color: var(--gold); }
  .chart-bar.best { fill: var(--gold); }
  .legend-gold { background: var(--gold); }
  .price-cell.best-cell { color: #ffe2a4; border-color: var(--gold); background: #453719; }
  .price-cell.best-cell dt { color: #ffe2a4; }
}
/* Reflow for very short or heavily magnified viewports; never conceal controls. */
@media (max-height: 460px), (max-height: 32rem) {
  .app-shell { height: auto; min-height: 100dvh; }
  main { min-height: 0; }
  .page { height: auto; grid-template-rows: auto; }
  #prices-today { grid-template-rows: auto; }
  .prices-card { min-height: 260px; }
  .weather-card { min-height: 145px; }
  .forecast-card { min-height: 190px; }
  #inicio .energy-card { min-height: 195px; }
  #cuenta > .card:not(.account-intro) { min-height: 145px; }
  .bottom-nav { position: sticky; bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
/* Adaptación SSR: las rutas reales sustituyen las pantallas hash del prototipo. */
.app-shell { grid-template-rows: auto minmax(0, 1fr) auto; }
main { grid-row:2; grid-column:1; overflow:auto; }
.site-header { grid-row:1; grid-column:1; }
.site-nav { grid-row:3; grid-column:1; }
.nav-link { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; min-width:0; min-height:48px; border-radius:10px; font-size:.75rem; font-weight:500; text-decoration:none; color:var(--muted); }
.nav-link[aria-current="page"] { color:var(--link); background:#e8f1f8; font-weight:600; }
.nav-icon { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.home-panel, .energy-page, .weather-page, .account-panel { display:grid; align-content:start; gap:var(--gap); }
.page-heading { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:baseline; justify-content:initial; margin:0; }
.page-heading .lede { grid-column:1 / -1; }
.page-heading h1 { justify-self:end; }
.home-panel { height:100%; grid-template-rows:auto minmax(0,1fr); align-content:stretch; }
.day-strip { display:grid; min-height:0; grid-template-rows:auto minmax(0,1fr); gap:4px; }
.daily-summaries { min-height:0; grid-template-rows:repeat(2,minmax(0,1fr)); }
.energy-summary, .weather-summary, .energy-now, .weather-now, .energy-day, .weather-strip, .account-section, .message-panel, .auth-panel, .empty-state { min-width:0; padding:var(--pad); border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.energy-summary { display:grid; gap:4px; background:var(--navy); color:#fff; border-color:var(--navy); }
.energy-summary a, .energy-summary .energy-reading { color:#fff; }
.energy-summary .module-freshness, .energy-summary .module-reading-empty { color:#d6e5ef; }
.weather-summary { display:grid; gap:5px; }
.daily-summaries { display:grid; gap:var(--gap); }
.module-reading { font-size:clamp(2rem,4.8dvh,2.6rem); line-height:1.1; letter-spacing:-.045em; font-weight:500; font-variant-numeric:tabular-nums; }
.module-freshness, .module-reading-empty, .module-state { font-size:.75rem; }
.summary-action { display:flex; align-items:center; justify-content:space-between; min-height:44px; border-top:1px solid var(--line); font-size:.875rem; font-weight:600; text-decoration:none; }
.energy-summary .summary-action { border-color:#ffffff26; }
.summary-chart .energy-chart-frame { margin:2px 0; border:0; background:transparent; }
.summary-chart .energy-chart { max-height:60px; }
.summary-chart .price-bar, .summary-chart .zero-marker { fill:#93c4e7; }
.summary-chart .zero-rule { stroke:#476982; }
.summary-chart .chart-label, .summary-chart .zero-label { fill:#d6e5ef; }
.energy-chart-frame { overflow:hidden; margin:6px 0; background:var(--soft); border:1px solid var(--line); border-radius:8px; }
.energy-chart { display:block; width:100%; min-width:0; height:auto; max-height:150px; }
.price-bar, .zero-marker { fill:var(--accent); }
.price-negative { fill:var(--gold); }
.zero-rule { stroke:var(--muted); }
.zero-label, .chart-label { fill:var(--muted); font-family:ui-monospace,"SFMono-Regular",Consolas,monospace; }
.chart-label-middle { text-anchor:middle; } .chart-label-end { text-anchor:end; }
.energy-page { height:100%; grid-template-rows:auto auto auto minmax(0,1fr); align-content:stretch; }
.day-tabs { display:grid; grid-template-columns:1fr 1fr; gap:3px; padding:2px; border:1px solid var(--line); background:var(--surface); border-radius:12px; }
.day-tabs a { display:flex; min-height:40px; align-items:center; justify-content:center; border-radius:9px; color:var(--link); font-size:.875rem; font-weight:600; text-decoration:none; }
.day-tabs a:hover { background:var(--soft); }
.energy-day { display:grid; min-height:0; grid-template-rows:auto minmax(0,1fr) auto; gap:4px; overflow:hidden; }
.energy-day > h2 { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.energy-day [data-price-panel] { min-height:0; }
.energy-day [data-price-panel="hours"] { height:100%; }
.price-grid { height:100%; grid-template-rows:none; grid-auto-rows:minmax(22px,1fr); margin-top:0; }
.price-cell time { font-size:.75rem; color:var(--muted); }
.price-cell dd { margin:0; white-space:nowrap; }
.price-table-details { margin-top:8px; }
.price-table-details summary { min-height:44px; display:flex; align-items:center; color:var(--link); cursor:pointer; }
.energy-table { width:100%; border-collapse:collapse; font-size:.8rem; font-variant-numeric:tabular-nums; }
.energy-table th,.energy-table td { padding:8px 2px; border-bottom:1px solid var(--line); text-align:left; }
.energy-table td { text-align:right; }
.energy-stats { margin:8px 0; }
.weather-hours { grid-template-rows:none; grid-auto-rows:minmax(0,1fr); }
.weather-hour { display:grid; min-width:0; padding:6px; border:1px solid var(--line); border-radius:10px; background:var(--soft); }
.weather-hours .weather-hour { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto; }
.weather-hours .weather-hour > * { grid-column:1; }
.weather-temperature { font-size:1.25rem; line-height:1.1; font-weight:500; color:var(--link); white-space:nowrap; }
.auth-panel { max-width:480px; margin:auto; }
.auth-form,.city-form,.account-section form { display:grid; gap:8px; }
input,select { width:100%; min-height:44px; padding:8px; border:1px solid var(--line); border-radius:8px; background:var(--soft); color:var(--ink); }
button,.primary-action,.secondary-action { min-height:44px; padding:8px 14px; border:1px solid var(--navy); border-radius:9px; background:var(--navy); color:#fff; }
.secondary-action { background:var(--surface); color:var(--link); }
.account-section { margin:0; }
.location-controls { margin-top:8px; }
.location-controls summary { display:flex; align-items:center; min-height:44px; color:var(--link); font-weight:600; cursor:pointer; }
.location-controls[open] { display:grid; gap:10px; }
.has-location-refresh .app-shell { grid-template-rows:auto minmax(0,1fr) auto auto; }
.has-location-refresh .site-nav { grid-row:4; }
.location-refresh { grid-row:3; grid-column:1; justify-self:center; display:flex; align-items:center; justify-content:space-between; gap:8px; width:calc(100% - 28px); margin:0 14px 6px; padding:6px 8px; border:1px solid var(--line); border-radius:12px; background:var(--surface); box-shadow:0 4px 18px #08111a33; }
.location-refresh > p { font-size:.75rem; color:var(--muted); }
.location-refresh form { display:flex; align-items:center; gap:6px; }
.location-refresh [data-location-status]:empty { display:none; }
@media (prefers-color-scheme:dark){ .nav-link[aria-current="page"]{background:#1d3a52;} }
@media (max-height:460px),(max-height:32rem){ main{overflow:visible}.app-shell{height:auto;min-height:100dvh}.site-nav{position:sticky;bottom:0} }
.daily-summaries-single { grid-template-columns:minmax(0,1fr); }
.daily-summaries-single .weather-summary { border-left:0; padding-left:var(--pad); }
@media (max-height:620px) {
  .page-heading .eyebrow, .page-heading .lede, .day-strip-label { display:none; }
  .page-heading { display:block; }
  .page-heading h1 { justify-self:initial; font-size:1.4rem; }
  .energy-now { display:grid; grid-template-columns:auto minmax(0,1fr); gap:2px 8px; padding:6px 8px; }
  .energy-now .module-reading { justify-self:end; font-size:1.5rem; }
  .energy-now .energy-stats, .energy-now .module-freshness { grid-column:1 / -1; }
  .energy-now .energy-stats { margin:0; }
  .energy-stat dt, .energy-stat dd { font-size:.7rem; }
  .price-table-details { margin-top:0; }
  .price-table-details summary { min-height:30px; }
}
