/* Weekly reports (/reports/, worker/reports.js), month guides (/guides/) and comparisons (/compare/).
   Loaded after veabird.css and resort/resort.css; colors come from their tokens, so dark mode follows. */
.rpt { max-width: 980px; }
.rpt h1 { font: 700 clamp(26px, 4.4vw, 38px)/1.15 var(--vb-display); letter-spacing: -.02em; margin: 8px 0 4px; }
.rpt h2 { font-size: 18px; margin: 0 0 6px; }
.rp-ed { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.rp-headline { font: 700 clamp(19px, 2.6vw, 23px)/1.3 var(--vb-display); margin: 4px 0 6px; }
.rp-dek { font-size: 17px; line-height: 1.5; color: var(--ink); margin: 0 0 14px; max-width: 760px; }
.rp-body p { font-size: 16px; line-height: 1.6; margin: 0 0 10px; max-width: 760px; }
.rp-body .note { margin-top: 4px; }

.rp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0 0 14px; }
.rp-stat { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rp-stat span { font-size: 12px; color: var(--muted); }
.rp-stat b { font: 700 22px/1.2 var(--vb-display); }
.rp-stat small { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }

/* Tables scroll inside their card on phones; the page itself never scrolls sideways. */
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 6px 0 2px; }
.rp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rp-table th, .rp-table td { padding: 6px 10px 6px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rp-table th { font-size: 12px; white-space: nowrap; }
.rp-table td:first-child { font-weight: 600; min-width: 150px; }
.rp-table th[data-sort] { cursor: pointer; user-select: none; }
.rp-table th[data-sort]::after { content: " ↕"; opacity: .4; font-weight: 400; }
.rp-table th[aria-sort="ascending"]::after { content: " ↑"; opacity: 1; }
.rp-table th[aria-sort="descending"]::after { content: " ↓"; opacity: 1; }
.rp-table .sp { color: var(--accent); }
.rp-table .spark { display: block; }
.rp-filter { margin: 4px 0 6px; width: min(100%, 280px); }
.rp-sec .rp-table tr.hidden { display: none; }

/* "Right now" card on this week's report. */
.rp-live { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.rp-live-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.rp-live-h h2 { margin: 0; }
.rp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 25%, transparent); }
@media (prefers-reduced-motion: no-preference) { .rp-dot { animation: rp-pulse 2.4s ease-in-out infinite; } }
@keyframes rp-pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--good) 0%, transparent); } }
.rp-now { list-style: none; margin: 6px 0; padding: 0; }
.rp-now li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rp-now li > a { font-weight: 600; }
.rp-now li p { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); }
.rp-now .v-days { display: inline-flex; gap: 6px; }
.rp-now .v-day { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; font-size: 11px; color: var(--muted); }
.rp-now .v-day b { font-weight: 600; }
.rp-now .v-na, .rp-now .v-badge { font-size: 12px; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--muted); }
.rp-now .v-badge { color: var(--ink); font-weight: 600; }
.rp-storm { background: color-mix(in srgb, var(--bad) 10%, var(--card)); border-radius: 8px; padding: 6px 10px; font-size: 14px; margin: 6px 0; }

.rp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; margin: 0 0 14px; }
.rp-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); margin: 0; }
.rp-card:hover { border-color: var(--accent); }
.rp-card b { font: 700 17px/1.3 var(--vb-display); }
.rp-card span { font-size: 14px; color: var(--muted); }
.rp-card .rp-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.rp-links { margin: 0; padding-left: 18px; } .rp-links li { margin: 3px 0; }
.rp-eds { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; margin-top: 6px; }
.rp-eds details ul { margin: 6px 0 0; padding-left: 18px; columns: 2 220px; }

/* Month guides and comparisons. */
.gd-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 110px), 1fr)); gap: 6px; margin: 8px 0; padding: 0; list-style: none; }
.gd-months a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 6px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); background: var(--card); }
.gd-months a:hover, .gd-months a[aria-current] { border-color: var(--accent); }
.gd-months small { font-size: 11px; color: var(--muted); }
.gd-answer { font-size: 17px; line-height: 1.55; max-width: 760px; }
.gd-faq dt { font-weight: 600; margin-top: 10px; } .gd-faq dd { margin: 2px 0 0; }
.gd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 8px 16px; padding: 0; list-style: none; }
.gd-grid li { padding: 4px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.cmp-win { font-weight: 700; }
.hub .v-days, .gd-live .v-days { display: inline-flex; gap: 6px; margin-left: auto; }
.gd-live .v-day { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; font-size: 11px; color: var(--muted); }
.gd-live .v-na, .gd-live .v-badge { font-size: 11px; border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; color: var(--muted); }
@media (max-width: 600px) { .rp-dek { font-size: 16px; } .rp-table { font-size: 13px; } .rp-table td:first-child { min-width: 120px; } }
