:root {
  --bg: #f3f6f2;
  --bg-accent: radial-gradient(circle at top left, rgba(84, 130, 112, 0.24), transparent 38%),
    radial-gradient(circle at top right, rgba(191, 134, 55, 0.2), transparent 30%),
    linear-gradient(180deg, #fcf8f1 0%, #edf3ef 100%);
  --panel: rgba(255, 255, 255, 0.74);
  --border: rgba(29, 58, 50, 0.12);
  --text: #173129;
  --muted: #5a6f69;
  --accent: #1f7a67;
  --shadow: 0 18px 48px rgba(24, 49, 41, 0.1);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Aptos", sans-serif;
  color: var(--text);
  background: var(--bg-accent);
}
button, input { font: inherit; }
.page-shell { max-width: 1200px; margin: 0 auto; padding: 32px 20px 48px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr); gap: 20px; align-items: stretch; }
.eyebrow { margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; color: var(--accent); }
h1 { margin: 0; font-size: clamp(2.2rem, 4vw, 4.4rem); line-height: 0.96; }
.lede { max-width: 58ch; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.hero-panel, .toolbar, .station-card { background: var(--panel); backdrop-filter: blur(18px); border: 1px solid var(--border); box-shadow: var(--shadow); }
.hero-panel { border-radius: 24px; padding: 20px; display: grid; gap: 18px; }
.metric { display: grid; gap: 6px; }
.metric-label, .reading-label, .station-source, .station-area, .toolbar-copy span, .station-note { color: var(--muted); }
.toolbar { margin-top: 22px; padding: 16px; border-radius: 20px; display: flex; gap: 14px; align-items: end; justify-content: space-between; }
.toolbar-copy { display: grid; gap: 8px; flex: 1; }
button { border: 0; border-radius: 14px; padding: 14px 18px; background: linear-gradient(135deg, #1f7a67, #24558a); color: white; cursor: pointer; }
.station-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.station-card { border-radius: 24px; padding: 18px; display: grid; gap: 14px; transform: translateY(12px); opacity: 0; animation: card-in 420ms ease forwards; }
.station-head { display: flex; gap: 12px; justify-content: space-between; align-items: start; }
.station-source { margin: 0 0 6px; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; }
.station-name { margin: 0; font-size: 1.35rem; }
.station-area { margin: -6px 0 0; }
.station-kind { display: inline-flex; align-items: center; border-radius: 999px; padding: 8px 10px; font-size: 0.82rem; font-weight: 600; }
.kind-observation { background: #dff3ea; color: #12634f; }
.kind-prognos { background: #fff0d8; color: #8a5a16; }
.kind-otillganglig-just-nu { background: #f3dcdc; color: #8f2f2f; }
.reading-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.reading-grid strong { display: block; margin-top: 4px; font-size: 1.12rem; }
.station-link { justify-self: start; color: var(--accent); text-decoration: none; }
.station-note { margin: 0; font-size: 0.92rem; line-height: 1.5; }
.empty-state { grid-column: 1 / -1; padding: 28px; border-radius: 24px; background: rgba(255, 255, 255, 0.82); border: 1px dashed var(--border); color: var(--muted); }
@keyframes card-in { to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } .toolbar { flex-direction: column; align-items: stretch; } }
