/* Static city / state weather pages (backend/scripts/build_city_pages.py) and nothing else. */
:root {
  --bg: #ffffff;
  --fg: #1b2330;
  --muted: #5d6878;
  --line: #dde3ea;
  --link: #1660c4;
  --button: #0c2f6e;
  --button-fg: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11161d;
    --fg: #e6ebf1;
    --muted: #9aa6b4;
    --line: #2a333e;
    --link: #7fb4ff;
    --button: #2b6fd0;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
header, main, footer { max-width: 50rem; margin: 0 auto; padding: 0 16px; }
header { padding-top: 12px; padding-bottom: 4px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--fg); text-decoration: none; }
a { color: var(--link); }
h1 { font-size: 1.7rem; line-height: 1.25; margin: 0.4rem 0 0.6rem; }
h2 { font-size: 1.2rem; margin-top: 1.8rem; }
.native { font-weight: 500; color: var(--muted); }
.crumbs { font-size: 0.9rem; margin-top: 0.6rem; }
.small { font-size: 0.85rem; color: var(--muted); }
.button { display: inline-block; padding: 10px 16px; border-radius: 8px; background: var(--button); color: var(--button-fg); text-decoration: none; font-weight: 600; }
.cols { columns: 3 12rem; padding-left: 1.2rem; }
.cols li { break-inside: avoid; }
/* room for the daily table before it loads, so the text below does not jump (CLS) */
#forecast { min-height: 23rem; }
.table-wrap { overflow-x: auto; }
table.fc { border-collapse: collapse; width: 100%; }
.fc th, .fc td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.fc th { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
@media (max-width: 480px) {
  .fc th, .fc td { padding: 6px 3px; font-size: 0.82rem; }
}
footer { margin-top: 3rem; padding-bottom: 2rem; border-top: 1px solid var(--line); }
