/* ===================================================================
   workbench-theme.css — global skin pass
   Keeps existing page content, but unifies the rest of the site with the
   Modular Workbench Hub: dark blue-black surfaces, warm serif headings,
   muted cyan text, gold action accents, and compact app-panel cards.
   Loaded last on pages so it can normalize older inline page styles.
   =================================================================== */

:root {
  --wb-bg: #020813;
  --wb-bg-2: #051326;
  --wb-rail: #030b18;
  --wb-panel: rgba(4, 17, 34, 0.78);
  --wb-panel-strong: rgba(5, 22, 45, 0.92);
  --wb-panel-soft: rgba(10, 30, 58, 0.74);
  --wb-border: rgba(62, 121, 222, 0.34);
  --wb-border-strong: rgba(64, 164, 255, 0.66);
  --wb-text: #eef6f8;
  --wb-title: #f4ecdf;
  --wb-muted: #b7c7d9;
  --wb-muted-2: #7899bd;
  --wb-gold: #2f91ff;
  --wb-leaf: #8df14f;
  --wb-blue: #29c9ff;
  --wb-pink: #8c63ff;
  --wb-shadow: 0 18px 48px rgba(0,0,0,0.34);
  --wb-shadow-lg: 0 32px 90px rgba(0,0,0,0.48);
}

html { background: var(--wb-bg) !important; }
body {
  color: var(--wb-text) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(22,98,214,0.2), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(0,205,255,0.16), transparent 32%),
    linear-gradient(180deg, var(--wb-bg), var(--wb-bg-2) 64%, var(--wb-bg)) !important;
}
body::before {
  background:
    radial-gradient(ellipse at 15% 10%, rgba(20,105,255,0.16), transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(41,201,255,0.1), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(94,70,255,0.08), transparent 55%) !important;
}

header#site-nav,
body > header:not(.home-hidden-nav) {
  background: rgba(6, 17, 24, 0.88) !important;
  border-bottom: 1px solid var(--wb-border) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,0.22) !important;
  backdrop-filter: blur(14px) saturate(1.1) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.1) !important;
}
header#site-nav > nav,
body > header > nav { max-width: 1440px !important; }
.brand-mark .brand-text,
.brand,
h1, h2, h3,
.title,
.hero .title,
.garden-hero h1,
.section-title,
.entry-title,
.news-section-heading {
  font-family: var(--font-serif, 'Fraunces', Georgia, serif) !important;
  color: var(--wb-title) !important;
  letter-spacing: -0.02em;
}
header#site-nav .links a,
.links a {
  color: #c9d8dd !important;
  background: rgba(255,255,255,0.055) !important;
  border: 1px solid rgba(64,164,255,0.28) !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 8px 18px rgba(0,0,0,0.16) !important;
  font-weight: 650;
}
header#site-nav .links a:hover,
header#site-nav .links a[aria-current="page"],
.links a:hover,
.links a[aria-current="page"] {
  background: rgba(47,145,255,0.24) !important;
  border-color: var(--wb-border-strong) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}
.theme-toggle,
button,
.control,
.btn,
.month-nav button {
  background: rgba(255,255,255,0.05) !important;
  color: var(--wb-text) !important;
  border: 1px solid var(--wb-border) !important;
  border-radius: 8px !important;
}
.theme-toggle:hover,
button:hover,
.control:hover,
.btn:hover,
.month-nav button:hover {
  background: rgba(94,153,181,0.18) !important;
  border-color: var(--wb-border-strong) !important;
}
a { color: var(--wb-gold) !important; }
a:hover { color: #ffe0a3 !important; }

main.container,
.container { max-width: 1240px; }

/* App-panel surfaces */
.hero,
.garden-hero,
.panel,
.card,
.tile,
.feature,
.entry-card,
.timeline-entry,
.news-card,
.item,
.archive,
.surface,
.season-bar,
.day-cell,
.day-tooltip,
.photo-card,
.game-card,
.project-card,
.tool-card,
.ops-card,
section[class*="panel"],
article[class*="panel"] {
  color: var(--wb-text) !important;
  background:
    linear-gradient(145deg, rgba(15,35,48,0.82), rgba(8,21,31,0.9)) !important;
  border: 1px solid var(--wb-border) !important;
  box-shadow: var(--wb-shadow), inset 0 1px 0 rgba(255,255,255,0.045) !important;
}
.hero,
.garden-hero {
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 18% 12%, rgba(89,167,180,0.18), transparent 36%),
    radial-gradient(circle at 88% 20%, rgba(241,209,142,0.10), transparent 35%),
    linear-gradient(145deg, rgba(13,36,50,0.96), rgba(7,17,25,0.98)) !important;
}
.card,
.tile,
.feature,
.entry-card,
.timeline-entry,
.news-card,
.panel,
.day-cell,
.archive {
  border-radius: 12px !important;
}
.tile:hover,
.feature:hover,
.card:hover,
.news-card:hover,
.archive:hover,
.day-cell:not(.empty):hover,
.entry-card:hover {
  border-color: var(--wb-border-strong) !important;
  box-shadow: var(--wb-shadow-lg), inset 0 1px 0 rgba(255,255,255,0.06) !important;
}

p,
.muted,
.kicker,
.note,
.entry-date,
.meta-pill,
.bullet-list,
.section-sub,
.news-meta,
.news-card p,
.tile p,
.feature p,
.garden-hero p,
.hero p,
.item .muted,
.day-num,
.day-tooltip .dt-empty,
.day-tooltip .dt-note {
  color: var(--wb-muted) !important;
}
.kicker,
.eyebrow,
.module-kicker,
.entry-date,
.news-section-heading,
.season-progress-label,
.day-header {
  color: var(--wb-gold) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
}
.meta-pill,
.badge,
.tag,
.day-tags .tag {
  background: rgba(255,255,255,0.055) !important;
  border: 1px solid rgba(160,198,216,0.18) !important;
  color: #d7e5ea !important;
}
.badge.live,
.tag-water,
.tag-fert,
.day-cell.today .day-num { color: var(--wb-blue) !important; }
.quote {
  border-left-color: var(--wb-gold) !important;
  color: var(--wb-title) !important;
}

/* Image treatment */
img,
.hero-photo,
.entry-photo,
.photo,
.news-card-img,
.feature-media,
.card-media {
  border-color: rgba(160,198,216,0.18) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,0.28) !important;
}

/* Calendar-specific normalization */
.calendar-grid { gap: 6px !important; }
.day-cell.empty {
  background: rgba(255,255,255,0.018) !important;
  border-color: rgba(160,198,216,0.06) !important;
  box-shadow: none !important;
}
.day-cell.has-event { border-color: rgba(134,185,111,0.42) !important; }
.day-tooltip { background: rgba(8,21,31,0.98) !important; }
.season-progress-track { background: rgba(255,255,255,0.08) !important; }
.season-progress-fill {
  background: linear-gradient(90deg, var(--wb-leaf), var(--wb-blue), var(--wb-gold)) !important;
}

/* Lists generated from site.json */
.item-card,
.item {
  background: rgba(255,255,255,0.045) !important;
}
.item-title { color: var(--wb-title) !important; }

/* Light theme is intentionally muted to keep the workbench identity. */
:root[data-theme="light"] body {
  color: var(--wb-text) !important;
  background:
    radial-gradient(circle at 22% 0%, rgba(89,167,180,0.16), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(74,140,255,0.10), transparent 32%),
    linear-gradient(180deg, var(--wb-bg), var(--wb-bg-2) 64%, var(--wb-bg)) !important;
}
:root[data-theme="light"] .tile,
:root[data-theme="light"] .feature,
:root[data-theme="light"] .surface,
:root[data-theme="light"] .panel,
:root[data-theme="light"] .entry-card,
:root[data-theme="light"] .hero,
:root[data-theme="light"] .garden-hero,
:root[data-theme="light"] .news-card,
:root[data-theme="light"] .card,
:root[data-theme="light"] .day-cell {
  color: var(--wb-text) !important;
  background: linear-gradient(145deg, rgba(15,35,48,0.82), rgba(8,21,31,0.9)) !important;
  border-color: var(--wb-border) !important;
}

@media (max-width: 760px) {
  main.container,
  .container { padding-inline: 14px !important; }
  .hero,
  .garden-hero,
  .panel,
  .entry-card,
  .timeline-entry { border-radius: 14px !important; }
}

/* Second pass: remove older garden-only atmosphere and catch custom cards. */
.petals,
.petal { display: none !important; }
body:has(.page-shell)::before { opacity: 0.55 !important; }
.section-card,
.lead-panel,
.mini-card,
.roadmap-card,
.timeline-card,
.feature-card,
.strip-item,
.log-card,
.wx-strip,
.legend,
.month-nav,
.news-controls,
.gallery-card,
.photo-tile,
.game,
.project,
.tool,
.ops-panel {
  color: var(--wb-text) !important;
  background: linear-gradient(145deg, rgba(15,35,48,0.78), rgba(8,21,31,0.88)) !important;
  border: 1px solid var(--wb-border) !important;
  box-shadow: var(--wb-shadow), inset 0 1px 0 rgba(255,255,255,0.045) !important;
}
.section-card,
.lead-panel,
.mini-card,
.roadmap-card,
.timeline-card,
.feature-card,
.strip-item,
.log-card,
.wx-strip { border-radius: 12px !important; }
.section-card::before,
.feature-card::after { opacity: 0.12 !important; }
.page-shell .hero {
  background:
    linear-gradient(115deg, rgba(7,17,25,0.16), rgba(7,17,25,0.48)),
    linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.38)),
    url('../photos/garden/images/2026/04/rising-sun-redbud-2026-04-12.jpg') center/cover no-repeat !important;
}
.page-shell .hero::after { background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(7,17,25,0.54)) !important; }
.btn-earth,
.pill {
  background: rgba(255,255,255,0.055) !important;
  border: 1px solid var(--wb-border) !important;
  color: var(--wb-text) !important;
}
.btn-earth.alt,
.strip-item.active {
  background: linear-gradient(145deg, rgba(36,73,62,0.74), rgba(8,21,31,0.88)) !important;
  border-color: rgba(134,185,111,0.48) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,0.32), 0 0 0 1px rgba(134,185,111,0.16) !important;
}
.wx-strip,
.log-card {
  color: var(--wb-muted) !important;
}
.wx-strip span,
.log-card .log-text { color: var(--wb-text) !important; }
.log-card .log-date { color: var(--wb-gold) !important; }

/* Readability lift after visual pass. */
p,
.muted,
.note,
.bullet-list,
.section-sub,
.news-card p,
.tile p,
.feature p,
.hero p,
.garden-hero p,
.feature-copy p,
.lead-panel p,
.mini-card p,
.roadmap-card p,
.timeline-card p,
.strip-item p,
.entry-copy,
.item .muted {
  color: #c3d3da !important;
}
.hero .section-copy { color: #edf6f7 !important; }
.section-card,
.lead-panel,
.mini-card,
.roadmap-card,
.timeline-card,
.feature-card,
.strip-item,
.panel,
.entry-card,
.timeline-entry,
.news-card,
.card,
.tile,
.day-cell {
  background: linear-gradient(145deg, rgba(18,42,56,0.86), rgba(9,24,35,0.92)) !important;
}
.page-shell .hero::after { background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(7,17,25,0.42)) !important; }
* { scrollbar-color: rgba(160,198,216,0.42) rgba(6,17,24,0.92); }

/* Philly Weather Dashboard */
.weather-dashboard {
  display: block !important;
  grid-template-columns: none !important;
  width: 100%;
  margin-top: 26px;
}
.weather-dashboard #philly-weather-widget {
  width: 100%;
}
.weather-dashboard-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: clamp(18px, 2.6vw, 30px);
  color: var(--wb-text, #eef6f8);
  background:
    radial-gradient(circle at 12% 12%, rgba(114,202,240,0.22), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(241,209,142,0.17), transparent 34%),
    linear-gradient(145deg, rgba(12,29,40,0.95), rgba(6,17,24,0.98));
  border: 1px solid rgba(165,221,235,0.28);
  box-shadow: 0 28px 80px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.06);
}
.weather-dashboard-card.weather-condition-sunny {
  background:
    radial-gradient(circle at 15% 8%, rgba(255,214,128,0.34), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(255,146,91,0.20), transparent 32%),
    linear-gradient(145deg, rgba(35,28,16,0.96), rgba(8,18,22,0.98));
  border-color: rgba(241,209,142,0.38);
}
.weather-dashboard-card.weather-condition-cloudy,
.weather-dashboard-card.weather-condition-foggy {
  background:
    radial-gradient(circle at 18% 12%, rgba(168,189,198,0.26), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(114,202,240,0.12), transparent 34%),
    linear-gradient(145deg, rgba(21,31,38,0.97), rgba(6,17,24,0.98));
}
.weather-dashboard-card.weather-condition-rainy {
  background:
    radial-gradient(circle at 12% 10%, rgba(64,180,255,0.24), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(72,255,214,0.13), transparent 30%),
    linear-gradient(145deg, rgba(7,28,42,0.97), rgba(4,13,21,0.99));
  border-color: rgba(114,202,240,0.42);
}
.weather-dashboard-card.weather-condition-stormy {
  background:
    radial-gradient(circle at 14% 12%, rgba(97,137,173,0.28), transparent 34%),
    radial-gradient(circle at 86% 15%, rgba(230,142,168,0.16), transparent 30%),
    linear-gradient(145deg, rgba(16,24,34,0.98), rgba(3,9,16,0.99));
  border-color: rgba(168,189,198,0.42);
}
.weather-dashboard-card.weather-condition-snowy {
  background:
    radial-gradient(circle at 14% 10%, rgba(220,245,255,0.28), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(114,202,240,0.18), transparent 34%),
    linear-gradient(145deg, rgba(18,35,44,0.97), rgba(5,14,22,0.99));
}
.weather-dashboard-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% -10%;
  height: 68%;
  background: linear-gradient(90deg, rgba(134,185,111,0.12), rgba(114,202,240,0.12), rgba(241,209,142,0.10));
  filter: blur(26px);
  pointer-events: none;
}
.weather-dashboard-card::before {
  content: none;
  pointer-events: none;
}
.weather-dashboard-card > * { position: relative; z-index: 1; }
.weather-dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.weather-dashboard-top h2 {
  margin: 5px 0 6px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}
.weather-dashboard-top p,
.weather-updated,
.weather-nws-summary,
.weather-day-summary {
  color: var(--wb-muted, #a8bdc6);
}
.weather-day-summary {
  max-width: 820px;
  margin: 10px 0 0;
  line-height: 1.55;
}
.weather-day-summary strong {
  color: var(--wb-title, #f4ecdf);
}
.weather-location-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}
.weather-location-form label {
  color: var(--wb-muted, #a8bdc6);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.weather-location-form input {
  width: 86px;
  padding: 8px 10px;
  color: var(--wb-text, #eef6f8);
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(160,198,216,0.25);
  border-radius: 10px;
}
.weather-location-form button {
  padding: 8px 12px;
  color: #061118;
  font-weight: 800;
  background: var(--wb-gold, #f1d18e);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.weather-location-form button[type="button"] {
  color: var(--wb-text, #eef6f8);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
}
.weather-now-badge {
  min-width: 124px;
  text-align: right;
  padding: 13px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.12);
}
.weather-now-badge::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin: 10px 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, #72caf0, #72ffe0, #f1d18e, #72caf0);
  box-shadow: 0 0 14px rgba(114,202,240,0.45);
}
.weather-now-badge strong {
  display: block;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 0.95;
  color: #fff7e8;
}
.weather-now-badge span,
.weather-metric span,
.weather-metric em,
.weather-hourly-strip span,
.weather-hourly-strip em,
.weather-day small,
.weather-day em {
  color: var(--wb-muted, #a8bdc6);
}
.weather-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.weather-metric {
  display: block;
  min-height: 118px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(160,198,216,0.18);
  text-decoration: none;
}
.weather-metric.uv strong { color: #f6d88e; }
.weather-radar-link {
  margin: -2px 0 18px;
  text-align: center;
}
.weather-radar-link a {
  color: var(--wb-title, #f4ecdf);
  font-family: var(--font-serif, 'Fraunces', Georgia, serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(244,236,223,0.42);
}
.weather-radar-link a:hover,
.weather-radar-link a:focus-visible {
  color: var(--wb-gold, #f1d18e);
  border-bottom-color: currentColor;
}
.weather-metric span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.weather-metric strong {
  display: block;
  font-size: clamp(22px, 3vw, 34px);
  color: #fff7e8;
}
.weather-metric em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 13px;
}
.weather-temp-track,
.weather-bar,
.weather-aqi-scale,
.weather-uv-scale {
  position: relative;
  height: 8px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}
.weather-temp-track {
  overflow: visible;
  background: linear-gradient(90deg, #72caf0, #86b96f, #f1d18e, #e68ea8);
}
.weather-temp-track i {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff7e8;
  box-shadow: 0 0 0 5px rgba(255,255,255,0.16);
  transform: translate(-50%, -50%);
}
.weather-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #72caf0, #4f8cff, #72ffe0, #72caf0);
}
.weather-aqi-scale,
.weather-uv-scale {
  overflow: visible;
  background: linear-gradient(90deg, #4dd37b 0 33%, #f1d18e 33% 66%, #e68ea8 66% 100%);
}
.weather-aqi-scale i,
.weather-uv-scale i {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.14);
}
.weather-metric.good strong { color: #9cf2bd; }
.weather-metric.moderate strong { color: #f6d88e; }
.weather-metric.sensitive strong,
.weather-metric.unhealthy strong { color: #f0a0b5; }
.weather-stale-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(241,209,142,0.12);
  border: 1px solid rgba(241,209,142,0.34);
}
.weather-stale-banner strong {
  color: #fff7e8;
}
.weather-stale-banner span {
  color: var(--wb-muted, #a8bdc6);
  font-size: 13px;
}
.weather-alerts {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.weather-alert {
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(241,209,142,0.10);
  border: 1px solid rgba(241,209,142,0.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.weather-alert.danger {
  background: rgba(230,142,168,0.13);
  border-color: rgba(230,142,168,0.42);
}
.weather-alert.info {
  background: rgba(114,202,240,0.10);
  border-color: rgba(114,202,240,0.30);
}
.weather-alert span,
.weather-alert strong,
.weather-alert em {
  display: block;
}
.weather-alert span {
  color: var(--wb-gold, #f1d18e);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.weather-alert strong {
  margin-top: 5px;
  color: #fff7e8;
  line-height: 1.35;
}
.weather-alert em {
  margin-top: 4px;
  color: var(--wb-muted, #a8bdc6);
  font-size: 12px;
  font-style: normal;
}
.weather-nws-summary {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--wb-gold, #f1d18e);
  background: rgba(0,0,0,0.15);
  border-radius: 12px;
  line-height: 1.55;
}
.weather-timeline-head,
.weather-five-day-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  margin-top: 20px;
}
.weather-timeline-head h3,
.weather-five-day-head h3 {
  margin: 4px 0 0;
  font-size: clamp(22px, 3vw, 32px);
}
.weather-timeline-head p {
  max-width: 390px;
  margin: 0;
  color: var(--wb-muted, #a8bdc6);
  font-size: 13px;
  text-align: right;
}
.weather-air-detail {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(160,198,216,0.16);
}
.weather-air-detail span,
.weather-air-detail strong,
.weather-air-detail b,
.weather-air-detail em {
  display: block;
}
.weather-air-detail span {
  color: var(--wb-muted, #a8bdc6);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.weather-air-detail strong {
  margin-top: 5px;
  color: #fff7e8;
}
.weather-air-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.weather-air-grid div {
  min-width: 0;
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(0,0,0,0.16);
  border: 1px solid rgba(160,198,216,0.12);
}
.weather-air-detail b {
  color: var(--wb-title, #f4ecdf);
  font-size: 12px;
  line-height: 1.35;
}
.weather-air-detail em {
  margin-top: 4px;
  color: var(--wb-muted, #a8bdc6);
  font-size: 12px;
  font-style: normal;
}
.weather-hourly-strip,
.weather-five-day {
  display: grid;
  gap: 10px;
}
.weather-hourly-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 12px;
  overflow-x: visible;
  padding-bottom: 6px;
}
.weather-hourly-strip div,
.weather-day {
  padding: 12px;
  border-radius: 14px;
  background: rgba(6,17,24,0.56);
  border: 1px solid rgba(160,198,216,0.16);
}
.fishing-timeline div {
  display: flex;
  flex-direction: column;
  min-height: 156px;
}
.fishing-timeline div.rainy {
  border-color: rgba(114,202,240,0.42);
  background: linear-gradient(180deg, rgba(55,122,174,0.28), rgba(6,17,24,0.62));
}
.fishing-timeline div.windy {
  border-color: rgba(241,209,142,0.35);
}
.fishing-timeline div.cloudy {
  border-color: rgba(168,189,198,0.32);
}
.weather-hourly-strip span,
.weather-hourly-strip strong,
.weather-hourly-strip em,
.weather-hourly-strip small,
.weather-day span,
.weather-day strong,
.weather-day em,
.weather-day small {
  display: block;
}
.weather-hourly-strip strong {
  margin: 7px 0 4px;
  color: var(--wb-title, #f4ecdf);
}
.weather-hourly-strip em,
.weather-hourly-strip small,
.weather-day small,
.weather-day em {
  color: var(--wb-muted, #a8bdc6);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}
.weather-hourly-strip .weather-fishing-score {
  display: block;
  margin-top: auto;
  padding-top: 8px;
  color: var(--wb-gold, #f1d18e);
  font-weight: 800;
}
.weather-five-day {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 12px;
}
.weather-day strong {
  margin: 8px 0;
  font-size: 28px;
}
.weather-day span {
  color: var(--wb-gold, #f1d18e);
  font-weight: 700;
}
.weather-updated {
  margin: 14px 0 0;
  font-size: 12px;
}
.weather-loading { color: var(--wb-muted, #a8bdc6); }
@media (max-width: 950px) {
  .weather-dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .weather-hourly-strip { grid-template-columns: repeat(12, 126px); overflow-x: auto; }
}
@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }
  .workbench-home {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  .desktop-hub {
    width: 100% !important;
    max-width: 100% !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: auto;
  }
  .hub-main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 10px 28px !important;
  }
  .weather-page-intro {
    margin-bottom: 10px !important;
  }
  .weather-page-intro h1 {
    font-size: 30px !important;
  }
  .weather-page-intro p {
    font-size: 13px;
    line-height: 1.4;
  }
  .topbar-actions {
    display: none;
  }
  .weather-dashboard { margin-top: 16px; }
  .weather-dashboard,
  #philly-weather-widget,
  .weather-dashboard-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    overflow-x: hidden !important;
  }
  .weather-dashboard-card * {
    box-sizing: border-box;
    max-width: 100%;
  }
  .weather-dashboard-card {
    padding: 12px;
    border-radius: 14px;
    box-shadow: none;
  }
  .weather-dashboard-top,
  .weather-timeline-head,
  .weather-five-day-head { flex-direction: column; align-items: flex-start; }
  .weather-dashboard-top { gap: 12px; margin-bottom: 14px; }
  .weather-dashboard-top h2 { font-size: 30px; }
  .weather-dashboard-top p,
  .weather-day-summary,
  .weather-nws-summary { font-size: 13px; line-height: 1.45; }
  .weather-day-summary { margin-top: 8px; }
  .weather-location-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 7px;
  }
  .weather-location-form label { grid-column: 1 / -1; }
  .weather-location-form input { width: 100%; min-width: 0; }
  .weather-location-form button { padding: 8px 10px; }
  .weather-timeline-head p { text-align: left; }
  .weather-now-badge {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  .weather-now-badge::after { display: none; }
  .weather-now-badge strong { font-size: 38px; }
  .weather-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .weather-metric {
    min-height: 88px;
    padding: 10px;
    border-radius: 12px;
  }
  .weather-metric span { font-size: 10px; letter-spacing: 0.08em; }
  .weather-metric strong { font-size: 22px; line-height: 1.05; }
  .weather-metric em { font-size: 12px; }
  .weather-temp-track,
  .weather-bar,
  .weather-aqi-scale,
  .weather-uv-scale { margin-top: 12px; }
  .weather-radar-link { margin: 4px 0 14px; }
  .weather-radar-link a {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 22px;
  }
  .weather-nws-summary,
  .weather-air-detail,
  .weather-alert,
  .weather-stale-banner {
    padding: 12px;
    border-radius: 12px;
  }
  .weather-air-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .weather-air-grid div {
    padding: 9px 10px;
  }
  .weather-hourly-strip {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px;
    margin-inline: -2px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto !important;
  }
  .weather-hourly-strip div {
    scroll-snap-align: start;
    flex: 0 0 72%;
    max-width: 72%;
    padding: 11px;
  }
  .fishing-timeline div { min-height: 142px; }
  .weather-five-day {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto !important;
  }
  .weather-day {
    flex: 0 0 72%;
    max-width: 72%;
    scroll-snap-align: start;
    padding: 11px;
  }
  .weather-five-day-head h3,
  .weather-timeline-head h3 {
    font-size: 28px;
  }
  .weather-updated { font-size: 11px; line-height: 1.4; }
}

@media (hover: none) and (pointer: coarse) {
  html,
  body {
    overflow-x: hidden;
  }
  .workbench-home {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }
  .desktop-hub,
  .hub-main,
  .weather-dashboard,
  #philly-weather-widget,
  .weather-dashboard-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }
  .desktop-hub {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .hub-main {
    padding: 14px 10px 30px !important;
  }
  .weather-dashboard-card {
    overflow: hidden;
    padding: 12px !important;
    border-radius: 12px !important;
  }
  .weather-dashboard-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .weather-air-detail *,
  .weather-nws-summary,
  .weather-day-summary,
  .weather-alert *,
  .weather-hourly-strip *,
  .weather-five-day * {
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .weather-hourly-strip,
  .weather-five-day {
    display: flex !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    gap: 10px !important;
    padding: 2px 2px 10px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .weather-hourly-strip > div,
  .weather-five-day > div {
    flex: 0 0 72% !important;
    max-width: 72% !important;
    scroll-snap-align: start;
  }
  .weather-hourly-strip > div {
    min-height: 150px !important;
  }
  .weather-five-day > div {
    min-height: 132px;
  }
}

@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  html.home-root,
  html.home-root body.home-page {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: clip !important;
    overflow-y: auto !important;
    overscroll-behavior-x: none;
    -webkit-overflow-scrolling: touch;
  }

  body.home-page,
  body.home-page .workbench-home,
  body.home-page .desktop-hub,
  body.home-page .hub-main {
    overflow-x: clip !important;
    overflow-y: visible !important;
    touch-action: pan-y;
  }

  body.home-page {
    overflow-y: auto !important;
  }

  body.home-page *,
  body.home-page *::before,
  body.home-page *::after {
    touch-action: pan-y;
  }
}

body.garden-backdrop {
  background:
    linear-gradient(180deg, rgba(7,25,16,.76) 0%, rgba(19,62,31,.7) 38%, rgba(7,18,10,.9) 100%),
    linear-gradient(90deg, rgba(5,16,10,.54) 0%, rgba(25,76,35,.2) 46%, rgba(4,15,9,.56) 100%),
    url("garden/garden-page-bg-20260531.webp") center top / cover no-repeat scroll !important;
  color: var(--earth-text, var(--wb-text)) !important;
}

body.garden-backdrop::before {
  background: none !important;
}

body.garden-backdrop header#site-nav,
body.garden-backdrop > header:not(.home-hidden-nav) {
  background: rgba(27,38,24,.78) !important;
  border-bottom-color: rgba(202,225,173,.22) !important;
}

@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  body.garden-backdrop {
    background-attachment: scroll !important;
  }
}
