/* Shared app widgets: DashboardScreen's neutral palette and compact geometry.
   Loaded after the shared footer styles so the complete page matches the app. */
.page-dashboard {
 --dashboard-surface:#151617;
 --dashboard-border:#343735;
 --dashboard-accent:#f6c315;
 --dashboard-muted:#b6b8b3;
}
.page-dashboard .native-conditions { gap:10px; }
.page-dashboard .native-card,
.web-workspace.page-dashboard .native-conditions .native-card {
 background:linear-gradient(135deg,#ffffff06,#090a0b24),var(--dashboard-surface);
 border:1px solid var(--dashboard-border);
 border-radius:2px;
 box-shadow:none;
 color:#fff;
}
.web-workspace.page-dashboard .native-hero { border-radius:2px; border-color:var(--dashboard-border); padding:18px; }
.page-dashboard .native-hero-weather h3 { font-size:23px; font-weight:900; letter-spacing:-.7px; }
.page-dashboard .native-heading-dot { color:var(--dashboard-accent); }
.page-dashboard .native-hero-temperature strong { font-size:52px; font-weight:900; letter-spacing:-1.5px; }
.page-dashboard .native-hero-weather p { font-size:14px; font-weight:500; }
.page-dashboard .native-hero-temperature svg { width:42px; height:42px; }
.page-dashboard .native-hero-scores .native-gauge { min-width:86px; }
.web-workspace.page-dashboard .native-conditions .native-metrics {
 padding:4px; background:#e6e7df; border-color:#e6e7df; color:#090a0b;
}
.page-dashboard .native-metric { padding:7px; gap:8px; min-height:56px; }
.page-dashboard .native-metric > div { min-width:0; overflow-wrap:anywhere; }
.page-dashboard .native-metric:nth-child(odd),
.page-dashboard .native-metric:nth-child(-n+2) { border-color:#090a0b20; }
.page-dashboard .native-metric strong { font-size:18px; font-weight:800; color:#090a0b; }
.page-dashboard .native-metric small { color:#55594f; }
.web-workspace.page-dashboard .native-metric .native-line-icon { color:#292c27; }
.page-dashboard .native-section-heading h3 { font-size:19px; font-weight:800; letter-spacing:-.5px; }
.web-workspace.page-dashboard .native-overview-week button {
 background:var(--dashboard-surface); border-color:var(--dashboard-border); border-radius:2px;
}
.web-workspace.page-dashboard .native-overview-week button[aria-pressed=true] {
 background:var(--dashboard-accent); border-color:var(--dashboard-accent); color:#090a0b; box-shadow:none;
}
.page-dashboard .native-overview-week span { color:var(--dashboard-muted); }
.page-dashboard .native-overview-week button[aria-pressed=true] :is(b,strong,span,small) { color:#090a0b; }
.page-dashboard .native-overview-week small { font-size:13px; font-weight:600; }
.page-dashboard .native-brief-link p,
.page-dashboard .native-activity-values small { color:var(--dashboard-muted); }
.page-dashboard .native-activity h3 svg { color:var(--dashboard-accent); }
.web-workspace.page-dashboard .dashboard-pager { background:var(--dashboard-accent); border-color:var(--dashboard-accent); border-radius:2px; }
.web-workspace.page-dashboard .dashboard-pager > button { background:transparent; color:#090a0b; }
.web-workspace.page-dashboard .dashboard-widget-label,
.page-dashboard #dashboardWidgetPosition { color:#090a0b; }
.web-workspace.page-dashboard .dashboard-pager > button:focus-visible { outline-color:#090a0b; }
.web-workspace.page-dashboard .native-conditions .native-setup {
 display:flex; grid-column:1/-1; min-height:170px; padding:14px; align-items:flex-end;
 background:#111; border-color:var(--dashboard-border); isolation:isolate;
}
.page-dashboard .native-setup::after { content:''; position:absolute; inset:0; background:#090a0b5c; z-index:-1; }
.page-dashboard .native-setup img { inset:0; width:100%; height:100%; object-fit:contain; opacity:1; z-index:-2; }
.page-dashboard .native-setup > div { flex:1; text-shadow:0 1px 6px #090a0b; }
.page-dashboard .native-setup h3 { font-size:23px; font-weight:800; letter-spacing:-.7px; }
.page-dashboard .native-setup p { color:#e6e7df; font-size:12px; line-height:17px; }
.page-dashboard .native-setup b { background:none; color:var(--dashboard-accent); padding:0; font-size:11px; }
.page-dashboard .native-setup-arrow { display:grid; place-items:center; width:38px; height:38px; border-radius:2px; background:var(--dashboard-accent); color:#090a0b; font-size:22px; font-weight:700; }

/* Keep the overview in the same reading order as the app at every viewport. */
.web-workspace.page-dashboard .native-conditions { display:flex; flex-direction:column; }
.web-workspace.page-dashboard .native-hero { min-height:286px; }
.page-dashboard .native-hero-scores { gap:20px; margin-top:12px; }
.page-dashboard .native-hero-scores .native-gauge { flex:none; min-width:90px; }
.page-dashboard .native-hero-scores .native-ring { width:86px; height:86px; margin:0 auto 6px; }
.page-dashboard .native-hero-scores .native-ring strong { width:auto; height:auto; font-size:28px; line-height:32px; align-self:end; }
.page-dashboard .native-hero-scores .native-ring::before { mask:radial-gradient(transparent 59%,#000 61%); }
.page-dashboard .native-score-scale { font-size:13px; line-height:18px; align-self:start; }
.page-dashboard .native-hero-scores .native-gauge > .native-score-title { font-size:13px; font-weight:400; text-transform:none; }
.page-dashboard .native-hero-scores .native-gauge > .native-score-title::after { content:none; }
.web-workspace.page-dashboard .native-conditions .native-metrics { min-height:152px; }
.web-workspace.page-dashboard .native-conditions .native-week { padding:12px 8px 8px; }
.page-dashboard .native-week .native-section-heading { padding:0 4px 12px; }
.web-workspace.page-dashboard .dashboard-pager { display:grid; grid-template-columns:36px minmax(0,1fr) 36px 36px auto; min-height:40px; padding:0 6px; gap:6px; }
.web-workspace.page-dashboard :is(#dashboardPrevious,#dashboardNext) { display:inline-flex; justify-content:center; align-items:center; font-size:22px; color:#090a0b; }
.web-workspace.page-dashboard .dashboard-widget-label { flex-direction:row; justify-content:center; gap:12px; font-weight:800; }
.page-dashboard #dashboardWidgetPosition { font-size:11px; white-space:nowrap; }
.web-workspace.page-dashboard .dashboard-pager > button { min-height:40px; padding:6px 10px; }
.web-workspace.page-dashboard .dashboard-pager > button:disabled { opacity:.5; }
@media(max-width:500px) {
 .web-workspace.page-dashboard .dashboard-pager { grid-template-columns:32px minmax(0,1fr) 32px; }
 .web-workspace.page-dashboard #dashboardPrevious { grid-area:1/1; }
 .web-workspace.page-dashboard .dashboard-widget-label { grid-area:1/2; font-size:13px; gap:6px; }
 .web-workspace.page-dashboard #dashboardNext { grid-area:1/3; }
 .web-workspace.page-dashboard .dashboard-pager > button[aria-label="Refresh forecast"] { grid-area:2/1; min-height:28px; }
 .web-workspace.page-dashboard .dashboard-pager #dashboardViewToggle { grid-area:2/2/3/4; min-height:28px; justify-self:end; }
}
