/* Dashboard layout only: existing forecast data, IDs and handlers are retained. */
body.forecast-dashboard :is(#morePanel,#savedPanel)[aria-hidden="true"]{visibility:hidden;pointer-events:none}
body.forecast-dashboard #toast:not(.show){visibility:hidden}
html.theme-night body.forecast-dashboard #forecastOverview{background:var(--site-surface,#173d46);color:var(--site-ink,#e0eee7)}
html.theme-night body.forecast-dashboard #forecastOverview .forecast-readings>div{background:var(--site-bg,#102e38);color:var(--site-ink,#e0eee7)}
body.forecast-dashboard .site-shell-home-tools>a.dashboard-support{display:inline-flex!important}
body.forecast-dashboard #forecast .conditions-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:0}
body.forecast-dashboard #forecast .dashboard-at-glance{margin-bottom:14px}
body.forecast-dashboard #forecast .section-heading h2{font-size:24px}
body.forecast-dashboard #forecast .hour-detail{padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:0}
body.forecast-dashboard #forecast .hour-detail .detail-lead{grid-column:1/-1}
body.forecast-dashboard #forecast .dashboard-periods>summary{font-size:13px;padding:10px 0;min-height:44px;cursor:pointer}
body.forecast-dashboard #forecast .forecast-curve{padding:10px;margin:10px 0}
body.forecast-dashboard #forecast .forecast-curve svg{max-height:120px}
@media(max-width:600px){body.forecast-dashboard #forecast .conditions-card{grid-template-columns:1fr}body.forecast-dashboard #forecast .conditions-card .condition{border:0}}
body.forecast-dashboard #forecast .reveal-ready{opacity:1;transform:none;transition:none}
body.forecast-dashboard #forecast .score-card .score-ring{width:100px;height:100px}
body.forecast-dashboard #forecast .score-card .score-ring>div{width:86px}
body.forecast-dashboard #forecast .score-card .score-ring strong{font-size:32px}
body.forecast-dashboard #forecast .score-card #scoreUpdated{position:static;max-width:none;font-size:11px}
body.forecast-dashboard{--dash-surface:var(--site-surface,#fffdf6);--dash-line:var(--site-border,#bed3cc);--dash-ink:var(--site-ink,#173e47)}
.forecast-dashboard main{max-width:1240px;margin:auto;padding:0 24px 36px}
.forecast-dashboard .hero{display:block;min-height:0;padding:28px 0 16px;margin:0;background:none;border:0;overflow:visible}
.forecast-dashboard .hero-copy{max-width:none;padding:0;width:100%}
.forecast-dashboard .hero h1{font-size:clamp(26px,3vw,36px);letter-spacing:-1px;line-height:1.15;margin:8px 0;color:var(--dash-ink)}
.forecast-dashboard .hero .subhead{font-size:15px;max-width:none;margin:8px 0 20px;color:var(--site-muted,#577577)}
.forecast-dashboard .hero .eyebrow{font-size:11px;color:var(--site-muted,#577577)}
.forecast-dashboard :is(.hero-art,.home-coffee,.home-maker-note,.hero-paths,.daily-brief,.home-arcade-rail,.explore-prompt,.home-location-links,.forecast-journey,.mascot-cue,.fish-guide-entry,.next-change){display:none!important}
.forecast-dashboard .home-location-picker{max-width:none;width:100%;margin:0;border-radius:16px;background:var(--dash-surface);border:1px solid var(--dash-line)}
.forecast-dashboard .home-location-picker>summary{padding:12px 16px;min-height:48px}
.forecast-dashboard #locationForm{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(320px,1.7fr) auto;gap:12px;align-items:end;padding:16px;border:0;margin:0;max-width:none;width:100%;box-sizing:border-box}
.forecast-dashboard .home-location-picker:not([open]) #locationForm{display:none!important}
.forecast-dashboard .location-primary{display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;border:0;padding:0;min-width:0}
.forecast-dashboard :is(.country-field,.spot-field,.forecast-search-field){min-width:0;padding:0;border:0}
.forecast-dashboard #locationForm label{font-size:11px;letter-spacing:.06em;margin-bottom:6px}
.forecast-dashboard #locationForm :is(input,select){width:100%;min-width:0;font-size:14px;min-height:44px;box-sizing:border-box}
.forecast-dashboard .country-select,.forecast-dashboard .location-row{min-width:0;min-height:44px;padding:0 8px;border:1px solid var(--dash-line);border-radius:10px;gap:6px}
.forecast-dashboard .location-meta{grid-column:1/-1;grid-row:2;display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0;padding:0;border:0}
.forecast-dashboard .expansion-note{max-width:380px;font-size:11px;margin:0}
.forecast-dashboard .forecast-submit{display:block;margin:0;padding:0}.forecast-dashboard .selection-status{display:none}
.forecast-dashboard #showForecastBtn{min-height:44px;white-space:nowrap;padding:10px 16px}
.forecast-dashboard #forecast{padding:0;margin:0;width:100%;max-width:none}
.forecast-dashboard .forecast-tabs{position:static;margin:0 0 16px;padding:4px;gap:4px;width:fit-content;background:var(--dash-surface);border:1px solid var(--dash-line);border-radius:12px}
.forecast-dashboard #forecast .section-heading{margin:0 0 12px;gap:16px;align-items:center}
.forecast-dashboard #forecast .section-heading h2{font-size:22px;margin:4px 0}.forecast-dashboard #forecastMeta{font-size:13px;margin:4px 0}
.forecast-dashboard #forecast .safety-banner{margin:12px 0;padding:12px 14px;min-height:0;border-radius:14px;font-size:13px}
.forecast-dashboard .safety-banner p{font-size:12px;margin:4px 0}.forecast-dashboard .safety-reminder{display:none}
.forecast-dashboard #forecastOverview{margin:12px 0;padding:12px}
.forecast-dashboard .dashboard-at-glance{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0;align-items:start}
.forecast-dashboard .dashboard-at-glance>article{margin:0;min-height:0;padding:18px;border-radius:16px;box-shadow:none;border:1px solid var(--dash-line)}
.forecast-dashboard .score-card{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;align-items:center}
.forecast-dashboard .score-ring{width:100px;height:100px;min-width:0;margin:0}.forecast-dashboard .score-ring strong{font-size:32px}
.forecast-dashboard .score-copy h3{font-size:20px;margin:6px 0}.forecast-dashboard .score-copy p{font-size:13px;line-height:1.5}
.forecast-dashboard .score-card :is(.updated-line,.score-explanation){grid-column:1/-1;margin:0;font-size:12px}
.forecast-dashboard .window-card h3{font-size:28px;margin:10px 0}.forecast-dashboard .window-card p{font-size:13px;line-height:1.5}.forecast-dashboard .window-card .card-top p{font-size:13px}
.forecast-dashboard .conditions-card{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.forecast-dashboard .conditions-card .condition{padding:0 12px 0 0;border:0;border-right:1px solid var(--dash-line);gap:8px;align-items:start;min-width:0}
.forecast-dashboard .condition:last-child{border:0}.forecast-dashboard .condition strong{font-size:18px}.forecast-dashboard .condition p{font-size:12px;line-height:1.45}.forecast-dashboard .condition>b{display:none}
.forecast-dashboard .dashboard-charts{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.forecast-dashboard .dashboard-charts>section{min-width:0;padding:18px;margin:0;border-radius:16px;border:1px solid var(--dash-line);background:var(--dash-surface)}
.forecast-dashboard #forecast :is(.hourly-head,.tide-head) h3{font-size:18px;margin:5px 0}.forecast-dashboard :is(.hourly-head,.tide-head){gap:8px;align-items:start;flex-wrap:wrap}
.forecast-dashboard .hourly-chart{height:150px;min-height:0}.forecast-dashboard .hourly-scroll,.forecast-dashboard .tide-scroll{max-width:100%;overflow-x:auto}
.forecast-dashboard .tide-chart{min-height:0;height:180px}.forecast-dashboard .tide-water-motion{height:28px;margin:8px 0}.forecast-dashboard .tide-summary{margin:10px 0;gap:10px}.forecast-dashboard .tide-summary strong{font-size:19px}
.forecast-dashboard .chart-expand{font:600 12px system-ui;min-height:36px;padding:6px 10px;border:1px solid var(--dash-line);border-radius:8px;color:var(--dash-ink);background:var(--dash-surface);cursor:pointer}
.forecast-dashboard .chart-expanded{grid-column:1/-1}.forecast-dashboard .chart-expanded .hourly-chart{height:220px}.forecast-dashboard .chart-expanded .tide-chart{height:230px}
.forecast-dashboard #forecastStatusGrid{margin:14px 0;align-items:start;gap:14px}.forecast-dashboard #forecastStatusGrid>*{height:auto;min-height:0;padding:16px}
.forecast-dashboard .dashboard-moon-details{margin:14px 0;border:1px solid var(--dash-line);background:var(--dash-surface);border-radius:14px;padding:0 16px}
.forecast-dashboard .dashboard-moon-details>summary{min-height:48px;padding:14px 0;font-size:14px;font-weight:650;cursor:pointer}
.forecast-dashboard .dashboard-moon-details #moon{margin:0;padding:12px 0;border:0;box-shadow:none;min-height:0}.forecast-dashboard .moon-visual{width:80px;height:80px}
.forecast-dashboard .dashboard-explore{margin:20px 0;border:1px solid var(--dash-line);border-radius:16px;background:var(--dash-surface);overflow:hidden}
.dashboard-game{display:flex;align-items:center;gap:18px;padding:20px;color:var(--dash-ink);text-decoration:none}.dashboard-game>span:nth-child(2){display:grid;gap:6px;flex:1}.dashboard-game small{font-size:10px;letter-spacing:.1em;color:var(--site-muted,#577577)}.dashboard-game strong{font-size:20px}.dashboard-game span span{font-size:14px}
.dashboard-game-art{display:flex;align-items:center;justify-content:center;width:120px;height:72px;border-radius:12px;background:#dceee6;color:#17777d;font-size:28px}.dashboard-game-art span{font-size:40px!important}
.dashboard-explore-links{display:flex;gap:20px;flex-wrap:wrap;padding:12px 20px;border-top:1px solid var(--dash-line)}.dashboard-explore-links a{font-size:13px;color:var(--dash-ink);padding:8px 0}
.dashboard-support{display:inline-flex;gap:6px;align-items:center;min-height:44px;color:var(--site-ink,#173e47);font-size:13px;text-decoration:none;padding:8px}
@media(max-width:900px){.forecast-dashboard #locationForm{grid-template-columns:1fr auto}.forecast-dashboard .forecast-search-field{grid-column:1/-1}.forecast-dashboard .location-meta{grid-row:3}.forecast-dashboard .dashboard-charts{grid-template-columns:1fr}.forecast-dashboard .conditions-card{grid-template-columns:1fr 1fr}.forecast-dashboard .condition:nth-child(2){border:0}}
@media(max-width:600px){.forecast-dashboard main{padding:0 12px 32px}.forecast-dashboard .hero{padding-top:20px}.forecast-dashboard #locationForm{grid-template-columns:1fr;padding:12px}.forecast-dashboard .location-primary{grid-template-columns:110px minmax(0,1fr)}.forecast-dashboard .forecast-submit{grid-row:4}.forecast-dashboard .location-meta{flex-direction:column;align-items:start}.forecast-dashboard #showForecastBtn{width:100%}.forecast-dashboard .dashboard-at-glance{grid-template-columns:1fr}.forecast-dashboard .conditions-card{grid-template-columns:1fr 1fr}.forecast-dashboard #forecast .section-heading{align-items:start;flex-direction:column}.forecast-dashboard .section-actions{width:100%}.forecast-dashboard .section-actions button{flex:1}.forecast-dashboard .dashboard-at-glance>article,.forecast-dashboard .dashboard-charts>section{padding:14px}.dashboard-game{padding:14px;gap:12px}.dashboard-game-art{width:64px;flex:none}.dashboard-game strong{font-size:17px}.dashboard-game span span{font-size:13px}.dashboard-explore-links{gap:12px}.forecast-dashboard .site-shell-home-tools .dashboard-support{font-size:11px;padding:4px}.forecast-dashboard .site-shell-home-tools .sg-clock{display:none}}
