/* Planner palette and typography from web/src/style.css. No planner bundle is
   needed, and system appearance continues to work without JavaScript. */
:root {
  color-scheme: light dark;
  --background: light-dark(#f4f3ed, #141d20);
  --foreground: light-dark(#202721, #e2e9e0);
  --popover: light-dark(#fcfcf8, #202d2d);
  --secondary: light-dark(#e8ebe2, #2b3b35);
  --muted: light-dark(#616a60, #9eafa3);
  --border: light-dark(#d9dfd3, #354a40);
  --sage: light-dark(#527044, #b6d09b);
  --ocean: light-dark(#e8ede6, #152426);
  --land: light-dark(#f5f4ee, #23302d);
  --coast: light-dark(#b1bfab, #486155);
  --panel: light-dark(#fafbf6f7, #1c2928f7);
  --selected: light-dark(#edf1e6, #304336);
  --accent-ink: light-dark(#2e4a29, #c6dcb4);
}
:root.light { color-scheme: light; }
:root.dark { color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ocean); color: var(--foreground); font: 16px/1.75 "Avenir Next", Avenir, "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .2em; touch-action: manipulation; }
a:hover { color: var(--sage); }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--sage); outline-offset: 4px; }
header, main, footer { width: min(1000px, 100% - 76px); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 94px; }
.brand { display: flex; align-items: center; flex: none; font-size: 28px; font-weight: 750; line-height: 1; letter-spacing: -1.5px; text-decoration: none; }
.brand-mark { display: block; flex: none; width: 29px; height: 29px; margin-right: 9px; transform: translateY(2px); background: currentColor; mask: url("/icons/mark.svg?v=4") center/contain no-repeat; -webkit-mask: url("/icons/mark.svg?v=4") center/contain no-repeat; }
.brand-dot { color: var(--sage); }
nav { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; text-decoration: none; }
nav a[aria-current="page"] { color: var(--accent-ink); text-decoration: underline; }
nav a[data-planner] { min-height: 36px; padding: 6px 13px; border: 1px solid var(--border); border-radius: 50px; background: var(--panel); font-size: 11px; box-shadow: 0 3px 12px #00000004; }
nav a[data-planner]:hover { background: var(--selected); }
main { padding: 32px 36px; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 12px 45px #1632280a; }
.page-heading { padding: 0 0 24px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.eyebrow { margin: 0; font: 10px/1.6 ui-monospace, monospace; letter-spacing: .08em; color: var(--muted); }
h1 { max-width: 28ch; margin: 16px 0; font-size: clamp(32px, 4vw, 42px); line-height: 1.13; font-weight: 650; letter-spacing: -.045em; text-wrap: balance; }
.byline { margin: 0; font-size: 12px; color: var(--muted); }
article > p:first-child { max-width: 65ch; font-size: 18px; line-height: 1.65; }
p, li { overflow-wrap: anywhere; }
p { max-width: 73ch; margin: 16px 0; }
h2 { margin: 40px 0 16px; font-size: 25px; font-weight: 650; line-height: 1.3; letter-spacing: -.03em; }
h3 { margin: 28px 0 12px; font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
h4 { margin: 20px 0 12px; font-size: 16px; font-weight: 600; }
strong { font-weight: 650; }
li { max-width: 76ch; margin: 8px 0; }
.skip { position: absolute; top: -100px; left: 20px; padding: 10px 16px; border-radius: 7px; background: var(--popover); z-index: 2; }
.skip:focus { top: 10px; }
figure { margin: 28px 0; }
figure img, figure svg { display: block; width: 100%; height: auto; max-width: 800px; }
figure img, .locator-grid { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
svg { font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif; }
figcaption { max-width: 800px; margin-top: 10px; font-size: 12px; color: var(--muted); }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 13px; line-height: 1.6; font-variant-numeric: tabular-nums; }
caption { padding: 10px 12px; text-align: left; font-size: 12px; color: var(--muted); }
th, td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 600; }
thead th { background: var(--selected); }
tbody tr:last-child > * { border-bottom: 0; }
.table-scroll { overflow-x: auto; max-width: 100%; margin: 24px 0; border: 1px solid var(--border); border-radius: 8px; }
.table-scroll:focus { outline-offset: 0; }
.unavailable { padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--secondary); font-size: 14px; }
.forecast-clocks { font-size: 12px; color: var(--muted); }
.decision-summary { margin: 24px 0; padding: 22px 0; border-block: 1px solid var(--border); }
.decision-summary h2 { margin: 10px 0 12px; max-width: 32ch; }
.decision-dates { font-size: 14px; font-weight: 600; }
.decision-opportunities { list-style: none; padding: 0; counter-reset: opportunity; }
.decision-opportunities li { position: relative; max-width: none; padding: 20px 0 20px 44px; margin: 0; border-top: 1px solid var(--border); counter-increment: opportunity; }
.decision-opportunities li::before { content: counter(opportunity, decimal-leading-zero); position: absolute; left: 0; top: 23px; color: var(--sage); font: 12px/1.6 ui-monospace, monospace; }
.decision-place { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.decision-place strong { font-size: 20px; letter-spacing: -.02em; }
.decision-place span { font-size: 13px; }
.decision-opportunities p { margin: 7px 0; font-size: 14px; }
.decision-opportunities .forecast-note { font-size: 12px; }
.decision-briefing { max-width: 65ch; }
.decision-briefing-overview { font-size: 17px; }
.decision-opportunities .decision-briefing-spot { margin-block: 12px; font-size: 15px; }
.decision-briefing-note { padding-top: 10px; border-top: 1px solid var(--border); }
.decision-opportunities a { display: inline-block; padding-block: 9px; font-size: 13px; }
.decision-limitation { color: var(--accent-ink); }
.decision-coverage { padding-left: 20px; font-size: 13px; }
.page-contents { margin: 24px 0; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--selected); }
.page-contents a { font-size: 13px; text-decoration: underline; }
.forecast-list { padding-left: 20px; }
.forecast-list li { max-width: 80ch; margin: 10px 0; font-size: 15px; line-height: 1.6; }
.forecast-note, .forecast-notes { font-size: 13px; color: var(--muted); }
.forecast-notes { padding-left: 20px; }
.hourly-table { min-width: 940px; font-size: 12px; line-height: 1.45; }
.hourly-table th, .hourly-table td { padding: 6px 10px; }
.hourly-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--popover); white-space: nowrap; }
.hourly-table td[rowspan] { background: var(--selected); }
.directory, .guide-list { max-width: 800px; list-style: none; padding: 0; }
.directory li, .guide-list li { max-width: none; margin: 0; }
.directory a, .guide-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); padding: 16px 4px; text-decoration: none; font-weight: 550; }
.directory a:hover, .guide-list a:hover { background: var(--selected); }
.directory span, .guide-list span { font-size: 12px; font-weight: 400; color: var(--muted); }
.guide-list a { justify-content: initial; }
.guide-list span:first-child { font-family: ui-monospace, monospace; }
.guide-list span:last-child { margin-left: auto; }
.sources { margin-top: 44px; padding-top: 6px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.sources h2 { margin-top: 24px; font-size: 20px; color: var(--foreground); }
.sources code { overflow-wrap: anywhere; font-size: 11px; }
.sources li { padding-bottom: 6px; }
.sources summary { cursor: pointer; }
footer { padding: 28px 0 40px; font-size: 12px; color: var(--muted); }
footer .brand { font-size: 23px; color: var(--foreground); }
footer .brand-mark { width: 24px; height: 24px; margin-right: 5px; }
footer p { margin: 12px 0; }
code { font-size: .85em; }
.locator-grid { display: grid; grid-template-columns: minmax(230px, 360px) 1fr; align-items: center; max-width: 800px; background: var(--ocean); }
.locator-grid svg { fill: var(--foreground); }
.locator-legend { padding: 20px 35px; font-size: 16px; }
::selection { background: var(--secondary); color: var(--foreground); }
@media (max-width: 849px) {
  header, main, footer { width: calc(100% - 40px); }
  .masthead { align-items: flex-start; flex-direction: column; gap: 14px; padding: 24px 0 18px; }
  .brand { font-size: 24px; }
  .brand-mark { width: 24px; height: 24px; margin-right: 5px; }
  nav { gap: 4px 18px; }
  nav a { font-size: 11px; }
  main { padding: 24px; }
}
@media (max-width: 640px) {
  main { width: calc(100% - 24px); padding: 24px 20px; border-radius: 20px; }
  h1 { font-size: 32px; }
  h2 { font-size: 23px; }
  article > p:first-child { font-size: 17px; }
  .readable-table, .readable-table caption, .readable-table tbody, .readable-table tr { display: block; min-width: 0; }
  .readable-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .readable-table tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .readable-table tbody tr:last-child { border-bottom: 0; }
  .readable-table tbody th { display: block; padding: 0 0 10px; border: 0; font-size: 14px; }
  .readable-table td { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 6px 0; border: 0; overflow-wrap: anywhere; }
  /* The column header already names the cell for assistive technology. */
  .readable-table td::before { content: attr(data-label); content: attr(data-label) / ""; font-size: 11px; font-weight: 600; color: var(--muted); }
  .directory a, .guide-list a { gap: 14px; font-size: 15px; }
  .directory span { white-space: nowrap; }
  .locator-grid { grid-template-columns: 1fr; }
  .locator-legend { padding: 0 24px 20px 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
