:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; color: #191c22; background: #f5f6f8; }
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: #2559b8; text-underline-offset: 4px; }
a:hover { color: #191c22; }
:focus-visible { outline: 2px solid #2559b8; outline-offset: 4px; }
.shell { max-width: 860px; padding: 0 24px; margin: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; }
.brand { color: #191c22; font-size: 24px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.languages { display: flex; gap: 8px; font-size: 13px; font-weight: 600; }
.languages a { padding: 8px 10px; border-radius: 20px; text-decoration: none; }
.languages [aria-current] { color: white; background: #191c22; }
main { background: white; border: 1px solid #e7e9ee; border-radius: 28px; padding: 40px 48px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.eyebrow { color: #677082; font-size: 13px; margin: 0 0 8px; }
h1 { font-size: clamp(27px, 5vw, 36px); line-height: 1.3; letter-spacing: -.035em; margin: 0 0 28px; }
h2 { font-size: 20px; line-height: 1.4; margin: 36px 0 12px; letter-spacing: -.025em; }
p, li { color: #4a505c; font-size: 15px; }
p { margin: 12px 0; }
li + li { margin-top: 10px; }
ol, ul { padding-left: 24px; }
.lead { font-size: 18px; color: #191c22; line-height: 1.75; }
.formula { background: #f5f6f8; padding: 20px; border-radius: 16px; font-weight: 600; color: #191c22; }
.updated { margin-top: 36px; font-size: 12px; color: #677082; border-top: 1px solid #e7e9ee; padding-top: 20px; }
footer { padding: 32px 0 40px; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 20px; }
.footer-nav a { color: #677082; font-size: 12px; text-decoration: none; }
.footer-nav a:hover { color: #191c22; text-decoration: underline; }
@media (max-width: 600px) { .shell { padding: 0 16px; } .site-header { padding: 22px 4px; } main { padding: 28px 22px; border-radius: 24px; } }
/* daily reports and topic pages (ops/site_reports.py) */
.report h2 + p { margin-top: 4px; }
.muted, .report .meta { color: #677082; }
.note { background: #fdf2dc; color: #8a5a00; padding: 12px 16px; border-radius: 14px; font-size: 14px; }
.day-top, .baton, .meters, .links { list-style: none; padding: 0; margin: 16px 0; }
.day-top li { display: grid; grid-template-columns: 28px 1fr 96px; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid #e7e9ee; }
.day-top li + li { margin-top: 0; }
.day-top .rank { font-weight: 800; font-size: 18px; color: #191c22; text-align: center; }
.day-top .topic { font-weight: 700; font-size: 17px; color: #191c22; text-decoration: none; }
.day-top .topic:hover { text-decoration: underline; }
.day-top .meta, .day-top .headline { margin: 2px 0 0; font-size: 13px; line-height: 1.6; }
.day-top .headline a { color: #4a505c; }
.bars { display: block; width: 100%; height: auto; }
.bars .fill { fill: #6250d6; }
.bars text, .rank-chart text { fill: #677082; font-size: 11px; font-family: inherit; }
.baton li { display: flex; gap: 12px; align-items: baseline; padding: 6px 0; margin: 0; border-top: 1px solid #f0f1f4; }
.baton time { flex: none; min-width: 108px; color: #677082; font-variant-numeric: tabular-nums; font-size: 14px; }
.meters li { display: grid; grid-template-columns: 140px 1fr 48px; gap: 12px; align-items: center; margin: 8px 0; font-size: 14px; }
.meter-track { height: 10px; background: #eef0f3; border-radius: 6px; overflow: hidden; }
.meter-track span { display: block; height: 100%; background: #6250d6; border-radius: 6px; }
.meter-value { text-align: right; color: #191c22; font-variant-numeric: tabular-nums; }
.links li { padding: 8px 0; border-top: 1px solid #f0f1f4; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.facts div { background: #f5f6f8; border-radius: 16px; padding: 14px 16px; }
.facts dt { font-size: 12px; color: #677082; }
.facts dd { margin: 4px 0 0; font-size: 20px; font-weight: 800; color: #191c22; }
.rank-chart { display: block; width: 100%; height: auto; margin: 12px 0 20px; }
.rank-chart .grid line { stroke: #e7e9ee; }
.rank-chart .line polyline { fill: none; stroke: #c0392b; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.rank-chart .line circle { fill: #c0392b; }
.pager { margin-top: 20px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
@media (max-width: 600px) {
  .day-top li { grid-template-columns: 24px 1fr 64px; gap: 10px; }
  .meters li { grid-template-columns: 96px 1fr 44px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .baton time { min-width: 92px; font-size: 13px; }
}
@media (max-width: 600px) { .rank-chart text, .bars text { font-size: 20px; } }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: 8px 6px; border-top: 1px solid #e7e9ee; text-align: right; white-space: nowrap; }
.data-table th:first-child { text-align: left; font-weight: 600; color: #191c22; }
.data-table thead th { color: #677082; font-weight: 600; font-size: 12px; border-top: 0; }
