﻿:root {
  color-scheme: light;
  --font-laundry: "Nunito Sans", Nunito, "Aptos Rounded", Aptos, "Segoe UI Variable Text",
    "Segoe UI", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-laundry-display: "Nunito Sans", Nunito, "Aptos Rounded", Aptos,
    "Arial Rounded MT Bold", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --sky-50: oklch(0.975 0.018 220);
  --sky-100: oklch(0.938 0.048 220);
  --sky-200: oklch(0.875 0.07 219);
  --sky-500: oklch(0.57 0.14 226);
  --sky-700: oklch(0.43 0.13 229);
  --sky-950: oklch(0.23 0.065 233);
  --grass-50: oklch(0.96 0.04 140);
  --grass-100: oklch(0.91 0.074 140);
  --grass-500: oklch(0.57 0.145 142);
  --grass-700: oklch(0.42 0.13 145);
  --amber-50: oklch(0.97 0.045 83);
  --amber-400: oklch(0.78 0.16 78);
  --rose-50: oklch(0.965 0.032 20);
  --rose-500: oklch(0.62 0.2 25);
  --slate-50: oklch(0.985 0.005 240);
  --slate-100: oklch(0.94 0.012 240);
  --slate-500: oklch(0.51 0.035 240);
  --ink: oklch(0.21 0.045 235);
  --white: oklch(1 0 0);
  --line: oklch(0.87 0.042 220);
  --shadow: 0 14px 28px oklch(0.43 0.13 229 / 0.12);
  font-family: var(--font-laundry);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--sky-50);
  color: var(--ink);
  font-family: var(--font-laundry);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings:
    "kern" 1,
    "liga" 1,
    "calt" 1;
  text-rendering: geometricPrecision;
  transition: background 220ms ease;
}

body.verdict-good-bg {
  background: oklch(0.965 0.04 142);
}

body.verdict-wait-bg {
  background: oklch(0.975 0.043 84);
}

body.verdict-stop-bg {
  background: oklch(0.965 0.032 20);
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
.brand-word,
.small-label,
.result-pill,
.score-pill,
.window-badge {
  font-family: var(--font-laundry-display);
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto;
  padding: 12px 0 46px;
}

.home-screen[hidden],
.results-shell[hidden] {
  display: none;
}

.hero-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--sky-200);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.results-shell {
  overflow: hidden;
  border: 1px solid var(--sky-200);
  border-radius: 26px;
  background: oklch(1 0 0 / 0.62);
  box-shadow: var(--shadow);
}

.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(14rem, 18rem);
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--sky-100);
  background: oklch(1 0 0 / 0.92);
  padding: 12px 18px;
}

.brand-link {
  display: inline-grid;
  grid-template-columns: 56px minmax(0, 13rem);
  gap: 11px;
  align-items: center;
  min-height: 56px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--sky-950);
  text-align: left;
}

.brand-link:hover {
  background: transparent;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
}

.brand-link span:last-child {
  font-size: 1.32rem;
  font-weight: 950;
  line-height: 0.98;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.site-header a {
  color: var(--sky-950);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}

.site-header a:hover {
  color: var(--sky-500);
}

.mini-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.mini-search input,
.mini-search button {
  min-height: 40px;
  border-radius: 11px;
  font-size: 0.9rem;
}

.mini-search button {
  padding: 0 13px;
}

.save-place-button {
  width: max-content;
  min-height: 40px;
  margin-top: 12px;
  border: 1px solid oklch(0.84 0.07 225);
  border-radius: 12px;
  padding: 0 16px;
  background: oklch(1 0 0 / 0.86);
  color: var(--sky-700);
  font-size: 0.9rem;
  box-shadow: 0 2px 7px oklch(0.43 0.13 229 / 0.08);
  backdrop-filter: blur(4px);
}

.save-place-button:hover {
  background: white;
  border-color: var(--sky-300);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("/mowing-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, oklch(0.98 0.025 220 / 0.94) 0 38%, oklch(0.98 0.025 220 / 0.72) 48%, transparent 78%),
    linear-gradient(0deg, oklch(0.2 0.06 140 / 0.16), transparent 45%);
}

.hero-content {
  position: relative;
  width: min(620px, 100%);
  padding: 42px;
}

.brand-chip,
.small-label {
  margin: 0 0 10px;
  color: var(--sky-700);
  font-size: 0.82rem;
  font-weight: 950;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 16px;
  color: var(--sky-950);
  font-size: 3.65rem;
  line-height: 0.98;
  text-wrap: balance;
}

h2 {
  margin-bottom: 8px;
  color: var(--sky-950);
  font-size: 1.25rem;
  line-height: 1.15;
  text-wrap: balance;
}

.hero-lede {
  max-width: 36rem;
  margin-bottom: 24px;
  color: var(--sky-950);
  font-size: 1.12rem;
  font-weight: 800;
}

.location-card,
.controls-panel,
.verdict-panel,
.panel,
.advice-card {
  border: 1px solid oklch(1 0 0 / 0.72);
  border-radius: 22px;
  background: oklch(1 0 0 / 0.9);
}

.location-card {
  max-width: 520px;
  padding: 16px;
  box-shadow: 0 10px 18px oklch(0.43 0.13 229 / 0.1);
}

.location-card label {
  display: block;
  margin-bottom: 8px;
  color: var(--sky-950);
  font-size: 0.86rem;
  font-weight: 950;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 750;
  outline: none;
}

input::placeholder {
  color: oklch(0.44 0.035 240);
}

input:focus {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 3px oklch(0.57 0.14 226 / 0.18);
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  background: var(--sky-500);
  color: white;
  font-weight: 950;
}

button:hover {
  background: var(--sky-700);
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--amber-400);
  outline-offset: 3px;
}

.quiet-button {
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--sky-200);
  background: white;
  color: var(--sky-700);
}

.quiet-button:hover {
  background: var(--sky-100);
}

.form-note {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--slate-500);
  font-size: 0.82rem;
  font-weight: 750;
}

.home-guide-link {
  margin: 10px 0 0;
  text-align: center;
}

.home-guide-link a {
  color: var(--sky-700);
  font-size: 0.84rem;
  font-weight: 950;
  text-decoration: none;
}

.home-guide-link a:hover {
  color: var(--sky-500);
}

.forecast-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  margin-top: 18px;
  padding: 0 18px;
}

.forecast-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 36rem) minmax(20rem, 1fr);
  gap: 16px 36px;
  align-items: start;
  min-height: 30rem;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 36px 48px;
  background: var(--sky-100);
}

.forecast-hero-image {
  position: absolute;
  inset: 0;
  background-image: url("/images/hero.png");
  background-position: center;
  background-size: cover;
}

.forecast-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, oklch(0.96 0.045 220 / 0.78), oklch(0.96 0.04 140 / 0.38), transparent),
    linear-gradient(0deg, oklch(0.18 0.05 145 / 0.14), transparent 55%);
}

.forecast-hero > *:not(.forecast-hero-image):not(.forecast-hero-overlay) {
  position: relative;
  z-index: 1;
}

.forecast-left {
  grid-column: 1;
  grid-row: 3;
  min-width: 0;
}

.forecast-title-copy {
  grid-column: 1 / -1;
  grid-row: 1;
  max-width: none;
}

.forecast-title-copy h2 {
  max-width: none;
  margin-bottom: 10px;
  color: var(--sky-950);
  font-size: clamp(1.65rem, 3.6vw, 3rem);
  font-weight: 950;
  line-height: 1.06;
}

.forecast-title-copy p:not(.brand-chip) {
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
  color: var(--sky-950);
  font-weight: 850;
}

.forecast-title-copy > span {
  display: none;
}

.hero-support {
  font-size: 1.08rem;
}

#place-subtitle {
  display: inline;
  margin-left: 0.35rem;
  color: var(--sky-950);
  font-weight: 950;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.hero-actions span,
.hero-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid oklch(1 0 0 / 0.72);
  border-radius: 12px;
  padding: 0 12px;
  background: oklch(1 0 0 / 0.82);
  color: var(--sky-700);
  font-size: 0.86rem;
  font-weight: 950;
  box-shadow: 0 2px 7px oklch(0.43 0.13 229 / 0.08);
}

.hero-actions > span {
  font-size: 0;
}

.hero-actions > span::before {
  content: "★ Saved as home";
  font-size: 0.86rem;
}

.hero-actions button:hover {
  border-color: var(--sky-300);
  background: white;
}

.hero-actions .save-place-button {
  margin-top: 0;
}

.lawn-mode-panel {
  border-color: oklch(1 0 0 / 0.72);
  background: oklch(1 0 0 / 0.88);
  box-shadow: 0 10px 18px oklch(0.43 0.13 229 / 0.1);
  backdrop-filter: blur(4px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--sky-100);
  border-bottom: 1px solid var(--sky-100);
  padding: 14px 0;
}

.hero-metrics div,
.metric-tile {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 0;
  border-right: 1px solid var(--sky-100);
  padding: 4px 8px;
  text-align: center;
}

.metric-tile {
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  cursor: pointer;
}

.metric-tile:disabled {
  cursor: default;
}

.metric-tile:not(:disabled):hover {
  background: var(--sky-50);
}

.hero-metrics div:last-child,
.hero-metrics button:last-child {
  border-right: 0;
}

.hero-metrics span,
.metric-tile span {
  color: var(--slate-500);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
}

.hero-metrics strong,
.metric-tile strong {
  color: var(--sky-950);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.1;
}

.pollen-metric.low strong {
  color: var(--grass-700);
}

.pollen-metric.low {
  background: var(--grass-50);
}

.pollen-metric.moderate strong {
  color: oklch(0.39 0.09 78);
}

.pollen-metric.moderate {
  background: var(--amber-50);
}

.pollen-metric.high strong {
  color: var(--rose-500);
}

.pollen-metric.high {
  background: var(--rose-50);
}

.verdict-panel {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-color: var(--sky-200);
  box-shadow: var(--shadow);
  align-self: stretch;
  background: oklch(1 0 0 / 0.94);
  backdrop-filter: blur(4px);
  border-radius: 24px;
}

.verdict-panel.good {
  border-color: oklch(0.78 0.13 145);
  background: linear-gradient(135deg, var(--grass-50), white 56%);
}

.verdict-panel.wait {
  border-color: oklch(0.82 0.13 78);
  background: linear-gradient(135deg, var(--amber-50), white 58%);
}

.verdict-panel.stop {
  border-color: oklch(0.82 0.09 25);
  background: linear-gradient(135deg, var(--rose-50), white 58%);
}

.verdict-media {
  min-height: 240px;
  background: var(--sky-100);
}

.verdict-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.verdict-copy {
  display: grid;
  align-content: center;
  padding: 24px;
}

.verdict-copy h2 {
  max-width: 13ch;
  color: var(--grass-700);
  font-size: 2.45rem;
  line-height: 1.05;
  text-align: left;
}

.verdict-copy p:not(.small-label) {
  max-width: 34rem;
  color: var(--slate-500);
  font-weight: 750;
  text-align: left;
}

.verdict-main-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.verdict-main-row > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.verdict-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 108px;
  height: 108px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.75);
  box-shadow: 0 10px 18px oklch(0.78 0.16 78 / 0.22);
}

.verdict-icon img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.verdict-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  justify-content: flex-start;
}

.result-pill,
.score-pill,
.science-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 11px;
  background: var(--sky-100);
  color: var(--sky-950);
  font-size: 0.8rem;
  font-weight: 950;
}

.result-pill {
  border: 1px solid oklch(1 0 0 / 0.55);
  box-shadow: inset 0 0 0 1px oklch(0.21 0.045 235 / 0.05);
}

.score-pill {
  gap: 5px;
  border: 1px solid oklch(0.21 0.045 235 / 0.1);
  background: oklch(1 0 0 / 0.82);
  box-shadow: 0 4px 8px oklch(0.21 0.045 235 / 0.08);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.score-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 12px oklch(0.21 0.045 235 / 0.12);
}

.score-pill:focus-visible {
  outline: 3px solid oklch(0.78 0.16 78 / 0.55);
  outline-offset: 2px;
}

.score-pill span,
.score-pill em {
  color: var(--slate-500);
  font-style: normal;
  font-size: 0.74rem;
}

.score-pill strong {
  color: var(--sky-950);
  font-size: 0.96rem;
  line-height: 1;
}

.verdict-panel.good .score-pill {
  border-color: oklch(0.74 0.13 145 / 0.6);
  background: oklch(0.96 0.05 145 / 0.88);
}

.verdict-panel.wait .score-pill {
  border-color: oklch(0.83 0.13 80 / 0.72);
  background: oklch(0.98 0.05 83 / 0.88);
}

.verdict-panel.stop .score-pill {
  border-color: oklch(0.85 0.06 25 / 0.78);
  background: oklch(0.98 0.035 25 / 0.88);
}

.verdict-panel.good .result-pill {
  background: var(--grass-100);
  color: var(--grass-700);
}

.verdict-panel.wait .result-pill {
  background: var(--amber-50);
  color: oklch(0.39 0.09 78);
}

.verdict-panel.stop .result-pill {
  background: var(--rose-50);
  color: var(--rose-500);
}

.controls-panel {
  padding: 20px;
  border-color: var(--sky-200);
}

.lawn-mode-panel {
  max-width: 36rem;
  margin-top: 26px;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0;
}

.mode-grid label {
  position: relative;
  display: grid;
  gap: 8px;
  justify-items: center;
  align-items: center;
  min-height: 98px;
  border: 1px solid var(--sky-200);
  border-radius: 18px;
  padding: 12px 10px;
  background: linear-gradient(180deg, white, var(--sky-50));
  color: var(--sky-950);
  font-weight: 950;
  text-align: center;
  box-shadow: 0 4px 10px oklch(0.43 0.13 229 / 0.05);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.mode-grid label:hover {
  transform: translateY(-1px);
  border-color: var(--sky-300);
  box-shadow: 0 8px 16px oklch(0.43 0.13 229 / 0.09);
}

.mode-grid label:has(input:checked) {
  border-color: var(--sky-950);
  box-shadow: inset 0 0 0 3px oklch(1 0 0 / 0.9), 0 9px 17px oklch(0.43 0.13 229 / 0.1);
}

body.verdict-good-bg .mode-grid label:has(input:checked) {
  border-color: var(--grass-700);
  background: var(--grass-50);
}

body.verdict-wait-bg .mode-grid label:has(input:checked) {
  border-color: oklch(0.52 0.12 78);
  background: var(--amber-50);
}

body.verdict-stop-bg .mode-grid label:has(input:checked) {
  border-color: var(--rose-500);
  background: var(--rose-50);
}

.mode-grid label:has(input:checked)::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--sky-950);
}

.mode-grid small {
  display: block;
  margin-top: 1px;
  color: var(--slate-500);
  font-size: 0.73rem;
  font-weight: 750;
}

.mode-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#mode-note {
  margin-bottom: 0;
  color: var(--slate-500);
  font-size: 0.88rem;
  font-weight: 750;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  margin-top: 18px;
  padding-right: 18px;
  padding-left: 18px;
}

.score-row {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  margin-top: 18px;
  padding-right: 18px;
  padding-left: 18px;
}

.score-row .score-panel {
  max-width: none;
}

.score-reasons-panel {
  align-content: center;
}

.pollen-content-grid {
  grid-template-columns: minmax(0, 1fr);
}

.panel,
.advice-card,
.article-row-panel,
.week-panel,
.score-works-panel {
  padding: 20px;
  border: 1px solid var(--sky-200);
  border-radius: 22px;
  background: oklch(1 0 0 / 0.9);
  border-color: var(--sky-200);
  box-shadow: 0 5px 12px oklch(0.43 0.13 229 / 0.06);
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-title-row span {
  color: var(--slate-500);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.window-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-color: var(--sky-300) transparent;
}

.hourly-panel {
  margin-top: 18px;
  margin-right: 18px;
  margin-left: 18px;
}

.panel-kicker {
  max-width: 50rem;
  margin: -4px 0 14px;
  color: var(--slate-500);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.4;
}

.window-card,
.empty-state,
.reason-list li,
.pollen-summary,
.pollen-types div {
  border-radius: 16px;
  background: var(--sky-50);
}

.window-card {
  position: relative;
  flex: 0 0 164px;
  min-height: 168px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--sky-100);
  text-align: left;
  box-shadow: 0 4px 8px oklch(0.43 0.13 229 / 0.07);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

button.window-card {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.window-card:hover,
.window-card.is-selected,
.week-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 8px oklch(0.43 0.13 229 / 0.09);
}

.window-card.is-selected {
  outline: 3px solid oklch(0.78 0.16 78 / 0.58);
  outline-offset: 2px;
}

.window-card.best {
  border-color: oklch(0.74 0.13 145);
  background: linear-gradient(180deg, white, var(--grass-50));
}

.window-card.ok {
  border-color: oklch(0.83 0.13 80);
  background: linear-gradient(180deg, white, var(--amber-50));
}

.window-card.no {
  border-color: oklch(0.85 0.06 25);
  background: linear-gradient(180deg, white, var(--rose-50));
}

.window-card-top,
.week-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.window-card strong,
.week-card strong {
  color: var(--sky-950);
  font-size: 1rem;
  line-height: 1;
}

.window-badge,
.week-card-top span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 9px;
  background: white;
  color: var(--sky-950);
  font-size: 0.72rem;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px oklch(0.87 0.042 220 / 0.8);
}

.window-card.best .window-badge,
.week-card.good .week-card-top span {
  background: var(--grass-100);
  color: var(--grass-700);
}

.window-card.ok .window-badge,
.week-card.ok .week-card-top span {
  background: var(--amber-50);
  color: oklch(0.39 0.09 78);
}

.window-card.no .window-badge,
.week-card.bad .week-card-top span {
  background: var(--rose-50);
  color: var(--rose-500);
}

.weather-icon-wrap {
  display: grid;
  place-items: center;
  min-height: 58px;
  margin: 12px 0 10px;
  border-radius: 14px;
  background: oklch(1 0 0 / 0.74);
  box-shadow: inset 0 0 0 1px oklch(0.87 0.042 220 / 0.62);
}

.weather-icon-wrap img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 4px 4px oklch(0.43 0.13 229 / 0.1));
}

.window-note,
.week-label {
  display: block;
  color: var(--sky-950);
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.1;
}

.forecast-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.forecast-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 8px;
  background: oklch(1 0 0 / 0.78);
  color: var(--sky-950);
  font-size: 0.73rem;
  font-weight: 900;
}

.score-track {
  height: 7px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: oklch(0.87 0.042 220 / 0.62);
}

.score-track span {
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: var(--grass-500);
}

.window-card.ok .score-track span,
.week-card.ok .score-track span {
  background: var(--amber-400);
}

.window-card.no .score-track span,
.week-card.bad .score-track span {
  background: var(--rose-500);
}

.empty-state {
  flex: 1 1 auto;
  margin: 0;
  padding: 24px;
  color: var(--slate-500);
  font-weight: 800;
  text-align: center;
}

.score-panel {
  text-align: center;
}

.gauge {
  position: relative;
  display: grid;
  place-items: center;
  width: 186px;
  height: 186px;
  margin: 10px auto;
}

.gauge svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.gauge circle {
  fill: none;
  stroke: var(--sky-100);
  stroke-width: 12;
}

#stripe-ring {
  stroke: var(--grass-500);
  stroke-dasharray: 302;
  stroke-dashoffset: 302;
  stroke-linecap: round;
  transition: stroke-dashoffset 240ms ease;
}

.gauge strong {
  display: block;
  color: var(--sky-950);
  font-size: 3rem;
  line-height: 1;
}

.gauge span,
#stripe-advice {
  color: var(--slate-500);
  font-weight: 800;
}

.reason-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reason-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 750;
}

.reason-list li > span,
.factor-sign {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--sky-100);
  color: var(--sky-950);
  font-weight: 950;
}

.reason-list li p {
  margin: 0;
}

.reason-list li.positive > span,
.factor-item.positive .factor-sign {
  background: var(--grass-100);
  color: var(--grass-700);
}

.reason-list li.negative > span,
.factor-item.negative .factor-sign {
  background: var(--rose-50);
  color: var(--rose-500);
}

.reason-list li.neutral > span,
.factor-item.neutral .factor-sign {
  background: var(--amber-50);
  color: oklch(0.39 0.09 78);
}

.pollen-summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.pollen-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grass-100);
  color: var(--grass-700);
  font-weight: 950;
}

.pollen-summary strong {
  color: var(--sky-950);
  font-size: 1rem;
}

.pollen-summary p {
  margin: 2px 0 0;
  color: var(--slate-500);
  font-size: 0.86rem;
  font-weight: 750;
}

.pollen-types {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.pollen-types div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: var(--sky-950);
  font-size: 0.86rem;
  font-weight: 850;
}

.pollen-dialog[hidden] {
  display: none;
}

.place-dialog[hidden] {
  display: none;
}

.place-dialog {
  position: fixed;
  inset: 0;
  z-index: 51;
  display: grid;
  align-items: start;
  overflow-y: auto;
  padding: min(8vh, 64px) 16px 24px;
  background: oklch(0.21 0.045 235 / 0.42);
}

.place-dialog-card {
  width: min(100%, 34rem);
  margin: 0 auto;
  border: 1px solid var(--sky-200);
  border-radius: 22px;
  padding: 20px;
  background: oklch(1 0 0 / 0.97);
  box-shadow: 0 18px 28px oklch(0.21 0.045 235 / 0.18);
}

.place-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.place-dialog-head h2,
.place-primary h3 {
  margin: 0;
  color: var(--sky-950);
  line-height: 1.12;
}

.place-dialog-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-height: 0;
  border: 1px solid var(--sky-200);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.88);
  color: var(--slate-500);
  font-size: 1.2rem;
  font-weight: 950;
}

.place-dialog-body {
  margin-top: 16px;
}

.place-primary {
  border-radius: 16px;
  padding: 16px;
  background: var(--sky-50);
}

.place-primary p {
  margin: 0;
  color: var(--slate-500);
  font-size: 0.86rem;
  font-weight: 800;
}

.place-primary h3 {
  margin: 6px 0;
  font-size: 1.32rem;
}

.place-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.place-dialog-actions button,
.place-options button {
  border: 1px solid var(--sky-200);
  border-radius: 13px;
  background: white;
  color: var(--sky-950);
  font-weight: 950;
}

.place-dialog-actions button {
  min-height: 42px;
  padding: 0 14px;
}

.place-dialog-actions button:first-child {
  border-color: var(--grass-500);
  background: var(--grass-50);
  color: var(--grass-700);
}

.place-dialog-actions button:disabled {
  opacity: 0.5;
  cursor: default;
}

.place-options {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.place-options button {
  display: grid;
  gap: 3px;
  justify-items: start;
  min-height: 58px;
  padding: 10px 12px;
  text-align: left;
}

.place-options button:hover {
  border-color: var(--sky-500);
  background: var(--sky-50);
}

.place-options span {
  color: var(--slate-500);
  font-size: 0.78rem;
  font-weight: 800;
}

.hour-drawer[hidden] {
  display: none;
}

.hour-drawer {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: grid;
  align-items: start;
  overflow-y: auto;
  padding: min(7vh, 58px) 18px 18px;
  background: oklch(0.21 0.045 235 / 0.38);
}

.hour-drawer-card {
  width: min(100%, 48rem);
  max-height: calc(100vh - min(14vh, 116px));
  margin: 0 auto;
  overflow-y: auto;
  border: 1px solid var(--sky-200);
  border-radius: 22px;
  padding: 20px;
  background: oklch(1 0 0 / 0.97);
  box-shadow: 0 18px 28px oklch(0.21 0.045 235 / 0.18);
}

.hour-drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.hour-drawer-head h2 {
  margin: 2px 0 0;
  color: var(--sky-950);
  font-size: 1.35rem;
  line-height: 1.1;
}

.hour-drawer-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-height: 0;
  border: 1px solid var(--sky-200);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.88);
  color: var(--slate-500);
  font-size: 1.2rem;
  font-weight: 950;
}

.hour-drawer-body {
  margin-top: 14px;
}

.hour-drawer-summary {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid var(--sky-100);
  border-radius: 16px;
  padding: 14px;
  background: var(--sky-50);
}

.hour-drawer-summary.best {
  border-color: oklch(0.74 0.13 145);
  background: var(--grass-50);
}

.hour-drawer-summary.ok {
  border-color: oklch(0.83 0.13 80);
  background: var(--amber-50);
}

.hour-drawer-summary.no {
  border-color: oklch(0.85 0.06 25);
  background: var(--rose-50);
}

.hour-drawer-summary.score.good {
  border-color: oklch(0.74 0.13 145);
  background: var(--grass-50);
}

.hour-drawer-summary.score.wait {
  border-color: oklch(0.83 0.13 80);
  background: var(--amber-50);
}

.hour-drawer-summary.score.stop {
  border-color: oklch(0.85 0.06 25);
  background: var(--rose-50);
}

.hour-drawer-summary div {
  display: grid;
  justify-items: center;
  gap: 2px;
  border-radius: 14px;
  padding: 12px;
  background: oklch(1 0 0 / 0.75);
}

.hour-drawer-summary span {
  color: var(--slate-500);
  font-size: 0.78rem;
  font-weight: 900;
}

.hour-drawer-summary strong {
  color: var(--sky-950);
  font-size: 1.55rem;
  line-height: 1;
}

.hour-drawer-summary p {
  margin: 0;
  color: var(--sky-950);
  font-weight: 800;
  line-height: 1.38;
}

.hour-drawer-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.hour-drawer-split > div {
  border: 1px solid var(--sky-100);
  border-radius: 14px;
  padding: 12px;
  background: oklch(1 0 0 / 0.78);
}

.hour-drawer-split strong {
  color: var(--sky-950);
  font-size: 0.88rem;
}

.hour-drawer-split p {
  margin: 4px 0 0;
  color: var(--slate-500);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.hour-factor-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.factor-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-radius: 14px;
  padding: 12px;
  background: var(--sky-50);
}

.factor-item strong {
  color: var(--sky-950);
  font-size: 0.92rem;
}

.factor-item p {
  margin: 2px 0 0;
  color: var(--slate-500);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.pollen-dialog {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-items: start;
  overflow-y: auto;
  padding: 24px 16px;
  background: oklch(0.21 0.045 235 / 0.42);
}

.pollen-dialog-card {
  width: min(100%, 34rem);
  margin: 0 auto;
  border: 1px solid var(--grass-100);
  border-radius: 22px;
  padding: 20px;
  background: oklch(0.96 0.04 140 / 0.97);
  box-shadow: 0 18px 28px oklch(0.21 0.045 235 / 0.18);
}

.pollen-dialog.high .pollen-dialog-card {
  border-color: oklch(0.85 0.06 25);
  background: oklch(0.965 0.032 20 / 0.98);
}

.pollen-dialog.moderate .pollen-dialog-card {
  border-color: oklch(0.83 0.13 80);
  background: oklch(0.97 0.045 83 / 0.98);
}

.pollen-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.pollen-dialog-head > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.pollen-dialog-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: white;
  color: var(--grass-700);
  font-weight: 950;
}

.pollen-dialog-head h2 {
  margin: 0;
  color: var(--sky-950);
  font-size: 1.12rem;
  line-height: 1.12;
}

.pollen-dialog-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-height: 0;
  border: 1px solid var(--sky-200);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.82);
  color: var(--slate-500);
  font-size: 1.2rem;
  font-weight: 950;
}

.pollen-dialog-body {
  margin-top: 16px;
  border: 1px solid oklch(1 0 0 / 0.74);
  border-radius: 16px;
  padding: 16px;
  background: oklch(1 0 0 / 0.74);
}

.pollen-dialog-lead {
  margin: 0;
  color: var(--sky-950);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.45;
}

.pollen-dialog-types {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.pollen-dialog-types div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--sky-100);
  border-radius: 13px;
  padding: 10px 12px;
  background: white;
}

.pollen-dialog-types span {
  color: var(--sky-950);
  font-size: 0.9rem;
  font-weight: 900;
}

.pollen-dialog-types strong {
  color: var(--slate-500);
  font-size: 0.82rem;
  font-weight: 900;
}

.pollen-dialog-types em {
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--sky-50);
  color: var(--sky-950);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 950;
}

.pollen-dialog-foot {
  margin: 14px 0 0;
  color: var(--slate-500);
  font-size: 0.74rem;
  font-weight: 750;
}

.advice-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  margin-right: 18px;
  margin-bottom: 18px;
  margin-left: 18px;
  background: linear-gradient(135deg, white, var(--grass-50));
}

.article-row-panel,
.week-panel,
.score-works-panel {
  margin: 18px 18px 0;
}

.article-title-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.article-title-row a {
  min-height: 72px;
  border: 1px solid var(--sky-100);
  border-radius: 16px;
  padding: 12px;
  background: var(--sky-50);
  color: var(--sky-950);
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.12;
  text-decoration: none;
}

.article-title-row a:hover {
  border-color: var(--sky-500);
  background: white;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.week-card {
  min-width: 0;
  min-height: 182px;
  overflow: hidden;
  border: 1px solid var(--sky-100);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(180deg, white, var(--sky-50));
  box-shadow: 0 4px 8px oklch(0.43 0.13 229 / 0.06);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.week-card.good {
  background: linear-gradient(180deg, white, var(--grass-50));
  border-color: oklch(0.74 0.13 145);
}

.week-card.ok {
  background: linear-gradient(180deg, white, var(--amber-50));
  border-color: oklch(0.83 0.13 80);
}

.week-card.bad {
  background: linear-gradient(180deg, white, var(--rose-50));
  border-color: oklch(0.85 0.06 25);
}

.score-works-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, white, var(--sky-50));
}

.score-works-copy p {
  margin: 0;
  color: var(--slate-500);
  font-weight: 750;
}

.score-factor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.score-factor-grid div {
  min-height: 96px;
  border-radius: 14px;
  padding: 12px;
  background: var(--sky-50);
  text-align: center;
}

.score-factor-grid span {
  display: block;
  color: var(--sky-700);
  font-size: 0.76rem;
  font-weight: 950;
}

.score-factor-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--sky-950);
  font-size: 0.82rem;
  line-height: 1.15;
}

.site-footer {
  margin: 4px 18px 20px;
  padding: 20px 8px 4px;
  color: oklch(0.58 0.03 240);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  font-size: 0.78rem;
  font-weight: 750;
}

.footer-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer p {
  margin: 12px 0 0;
  font-size: 0.72rem;
  font-weight: 750;
}

.advice-card p {
  max-width: 68ch;
  margin-bottom: 0;
  color: var(--slate-500);
  font-weight: 750;
}

.science-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.is-loading button {
  opacity: 0.68;
  pointer-events: none;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 20px, 680px);
    padding-top: 10px;
  }

  .hero-card {
    min-height: 680px;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .site-header nav {
    display: none;
  }

  .hero-image {
    background-position: 62% center;
  }

  .hero-wash {
    background: linear-gradient(180deg, oklch(0.98 0.025 220 / 0.96) 0 54%, oklch(0.98 0.025 220 / 0.48), transparent);
  }

  .hero-content {
    padding: 24px;
  }

  h1 {
    max-width: 11ch;
    font-size: 3rem;
  }

  .search-row,
  .mini-search,
  .forecast-hero,
  .forecast-layout,
  .verdict-panel,
  .content-grid,
  .score-row,
  .advice-card,
  .score-works-panel {
    grid-template-columns: 1fr;
  }

  .forecast-hero {
    margin: 0;
    padding: 22px;
    min-height: 0;
  }

  .forecast-title-copy h2 {
    font-size: 2.35rem;
  }

  .lawn-mode-panel {
    max-width: none;
    margin-top: 20px;
  }

  .mode-grid {
    grid-template-columns: 1fr;
  }

  .verdict-main-row {
    display: grid;
    justify-items: center;
  }

  .verdict-copy h2 {
    max-width: 16ch;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .verdict-media {
    min-height: 200px;
  }

  .advice-card {
    display: grid;
  }

  .article-title-row,
  .score-factor-grid {
    grid-template-columns: 1fr;
  }

  .week-grid {
    display: flex;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-color: var(--sky-300) transparent;
  }

  .week-card {
    flex: 0 0 164px;
  }

  .science-notes {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

.guide-page {
  min-height: 100vh;
  background: var(--sky-50);
}

.guide-shell {
  width: min(1060px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 46px;
}

.guide-frame {
  overflow: hidden;
  border: 1px solid var(--sky-200);
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow);
}

.guide-frame > .site-header {
  grid-template-columns: auto minmax(0, 1fr);
}

.guide-frame > .site-header nav {
  justify-content: flex-end;
}

.guide-hero {
  padding: 42px;
  background:
    linear-gradient(90deg, oklch(0.97 0.04 220 / 0.94), oklch(0.96 0.04 140 / 0.7), transparent),
    url("/mowing-hero.png");
  background-position: center;
  background-size: cover;
}

.guide-hero h1,
.article-hero h1 {
  max-width: 14ch;
  margin-bottom: 12px;
  font-size: 3rem;
}

.guide-hero p,
.article-hero p {
  max-width: 64ch;
  margin-bottom: 0;
  color: var(--sky-950);
  font-size: 1.05rem;
  font-weight: 800;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  padding: 22px;
}

.guide-card {
  display: grid;
  align-content: start;
  min-height: 188px;
  border: 1px solid var(--sky-200);
  border-radius: 18px;
  padding: 18px;
  background: var(--sky-50);
  color: var(--ink);
  text-decoration: none;
}

.guide-card:hover {
  border-color: var(--sky-500);
  background: white;
}

.guide-card span {
  color: var(--sky-700);
  font-size: 0.78rem;
  font-weight: 950;
}

.guide-card h2 {
  margin: 8px 0;
  font-size: 1.18rem;
}

.guide-card p {
  margin: 0;
  color: var(--slate-500);
  font-weight: 750;
}

.article-hero {
  padding: 42px;
  background: linear-gradient(135deg, var(--sky-100), var(--grass-50));
}

.article-body {
  max-width: 760px;
  padding: 10px 42px 42px;
}

.article-body h2 {
  margin-top: 30px;
  font-size: 1.45rem;
}

.article-body p,
.article-body li {
  color: oklch(0.33 0.04 235);
  font-size: 1.02rem;
  font-weight: 650;
}

.article-body ul {
  padding-left: 1.2rem;
}

.article-callout {
  margin: 26px 0;
  border: 1px solid var(--sky-200);
  border-radius: 18px;
  padding: 18px;
  background: var(--grass-50);
}

.article-callout p {
  margin: 0;
  color: var(--sky-950);
  font-weight: 850;
}

.about-content {
  display: grid;
  gap: 28px;
  padding: 22px 42px 42px;
}

.about-card {
  border: 1px solid var(--sky-100);
  border-radius: 24px;
  padding: 28px;
  background: oklch(1 0 0 / 0.68);
  box-shadow: 0 5px 12px oklch(0.43 0.13 229 / 0.06);
}

.about-card h2 {
  font-size: 1.55rem;
}

.about-card p {
  color: oklch(0.36 0.035 235);
  font-size: 0.98rem;
  font-weight: 650;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.warning-card {
  border-color: oklch(0.86 0.11 80);
  background: var(--amber-50);
}

.freddie-panel {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}

.freddie-panel img {
  width: 250px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 760px) {
  .guide-shell {
    width: min(100% - 20px, 680px);
    padding-top: 10px;
  }

  .guide-hero,
  .article-hero,
  .article-body,
  .about-content {
    padding-right: 22px;
    padding-left: 22px;
  }

  .guide-hero h1,
  .article-hero h1 {
    font-size: 2.35rem;
  }
}
