body.five-page { padding-top: 0; }
    .five-wrap { max-width: 680px; }
    .five-intro { color: var(--dim); font-size: 12px; margin: 18px 0 12px; }
    .five-choice { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
    .five-choice label { font-size: 12px; color: var(--dim); flex-shrink: 0; }
    .five-choice select { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); color: var(--text); font: 13px var(--sans); }
    .five-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px 14px; }
    .five-label { color: var(--dim); font: 11px var(--mono); }
    .five-metrics { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
    .five-main { font: 700 34px/1.2 var(--mono); font-variant-numeric: tabular-nums; margin-top: 8px; }
    .five-main small { font-size: 16px; }
    .five-last { text-align: right; }
    .five-last strong { display: block; font: 600 16px var(--mono); font-variant-numeric: tabular-nums; margin-top: 8px; }
    .five-window { color: var(--dim); font: 10.5px/1.7 var(--mono); margin: 0 0 12px; }
    .five-chart { width: 100%; height: 170px; display: block; margin: 16px 0 4px; }
    .five-chart .grid-line { stroke: var(--line); stroke-width: 1; }
    .five-chart .baseline { stroke: var(--line-strong); stroke-dasharray: 3 4; }
    .five-chart .line { stroke: var(--accent); stroke-width: 1.8; fill: none; }
    .five-chart .cursor { stroke: var(--accent); stroke-opacity: .45; stroke-dasharray: 3 4; }
    .five-chart .dot { fill: var(--bg); stroke: var(--accent); stroke-width: 2; }
    .five-chart text { fill: var(--dim); font: 9px var(--mono); }
    .five-dates { display: grid; grid-template-columns: repeat(5, 1fr); }
    .five-dates button { min-height: 44px; background: transparent; border: 0; color: var(--dim); font: 10px var(--mono); border-radius: 6px; cursor: pointer; }
    .five-dates button[aria-pressed="true"] { color: var(--accent); background: rgba(70,200,232,.08); }
    .five-readout { display: flex; justify-content: space-between; min-height: 48px; align-items: center; gap: 8px; font: 12px var(--mono); font-variant-numeric: tabular-nums; border-block: 1px solid var(--line); margin: 8px 0; }
    .five-method { color: var(--dim); font-size: 11px; line-height: 1.7; }
    .five-daily { margin-top: 18px; }
    .five-daily h2 { font: 600 13px var(--mono); letter-spacing: 2px; margin-bottom: 10px; }
    .five-daily table { width: 100%; border-collapse: collapse; font: 12px var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
    .five-daily th { color: var(--dim); font-size: 10px; font-weight: 400; padding: 8px 0; }
    .five-daily td { padding: 12px 0; border-top: 1px solid var(--line); }
    .five-daily td:first-child, .five-daily th:first-child { text-align: left; }
    .five-state { padding: 24px 0; color: var(--dim); font-size: 13px; }
    .five-retry { min-height: 44px; padding: 8px 14px; background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--accent); cursor: pointer; }
    .five-choice select:focus-visible, .five-dates button:focus-visible, .five-retry:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
    .five-footer { font-size: 11px; color: var(--dim); margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }

:root {
  color-scheme: dark;
  --line: #203144;
  --line-strong: #31465c;
  --art-glow: rgba(70, 200, 232, .07);
  --art-selection: rgba(70, 200, 232, .11);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f3ef;
  --panel: #fcfbf8;
  --panel-2: #eeeee8;
  --line: #d9dbd7;
  --line-strong: #b5bcb9;
  --text: #11222d;
  --dim: #59666d;
  --up: #b8323b;
  --down: #137a50;
  --flat: #59666d;
  --accent: #147c8f;
  --art-glow: rgba(20, 124, 143, .025);
  --art-selection: #dfedf0;
}

html { scrollbar-gutter: auto; }

body.five-art {
  background-image: radial-gradient(650px 400px at 85% -5%, var(--art-glow), transparent 70%);
  background-attachment: scroll;
}

.five-art .five-wrap { padding: 28px 18px 50px; }
.five-art .topbar { align-items: flex-start; flex-wrap: nowrap; gap: 12px; padding-bottom: 22px; margin-bottom: 0; }
.five-art .title-block { min-width: 0; }
.five-art .kicker { font-size: 9.5px; letter-spacing: 1.5px; margin-bottom: 10px; }
.five-art .title { font-size: clamp(34px, 9.5vw, 40px); line-height: 1.2; letter-spacing: 1.5px; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 7px;
  min-width: 76px;
  min-height: 44px;
  padding: 8px 12px;
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font: 12px var(--sans);
  cursor: pointer;
}
.theme-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.theme-toggle .theme-moon { display: none; }
[data-theme="light"] .theme-toggle .theme-sun { display: none; }
[data-theme="light"] .theme-toggle .theme-moon { display: block; }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.theme-toggle:active { background: var(--art-selection); }
@media (hover: hover) {
  .theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
}

.five-art .site-nav { gap: 30px; margin: 12px 0 20px; }
.five-art .site-nav a { min-width: 44px; min-height: 46px; justify-content: center; font-size: 13px; }
.five-art .site-nav a[aria-current="page"] { font-weight: 600; border-bottom-width: 3px; }
.five-art .five-intro { font-size: 12.5px; line-height: 1.8; margin: 20px 0 16px; }
.five-art .five-choice { gap: 16px; margin-bottom: 20px; }
.five-art .five-choice select { min-height: 48px; font-size: 14px; border-radius: 10px; padding-inline: 14px; }
.five-art .five-choice select:disabled { opacity: .65; }

.five-art .five-panel { padding: 20px 18px; border-radius: 12px; animation: art-enter 200ms ease-out both; }
.five-art .five-metrics { flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.five-art .five-metrics > div:first-child { flex: 1 1 168px; min-width: 0; }
.five-art .five-label { font-size: 11px; line-height: 1.65; letter-spacing: .15px; }
.five-art .five-main { font-size: clamp(34px, 11vw, 44px); line-height: 1.12; letter-spacing: -1.5px; margin-top: 10px; }
.five-art .five-main small { font-size: 20px; letter-spacing: 0; margin-left: 3px; }
.five-art .five-last { flex: 0 0 auto; }
.five-art .five-last strong { font-size: 18px; line-height: 1.4; }
.five-art .five-window { font-size: 10.5px; line-height: 1.8; margin-bottom: 16px; }

.five-art .five-chart { height: 180px; margin: 18px 0 8px; }
.five-art .five-chart .line { stroke-width: 2; }
.five-art .five-chart .cursor { stroke-opacity: .65; }
.five-art .five-chart stop { stop-color: var(--accent); }
.five-art .five-dates { gap: 4px; }
.five-art .five-dates button { min-height: 44px; font-size: 11px; border-radius: 8px; }
.five-art .five-dates button[aria-pressed="true"] { background: var(--art-selection); font-weight: 600; }
.five-art .five-dates button:active { background: var(--art-selection); }
.five-art .five-readout { min-height: 52px; font-size: 12.5px; margin: 10px 0 14px; }
.five-art .five-method { font-size: 11.5px; line-height: 1.85; }
.five-art .five-daily { margin-top: 24px; }
.five-art .five-daily h2 { font: 700 18px/1.4 var(--serif); letter-spacing: 2px; margin-bottom: 10px; }
.five-art .five-daily table { font-size: 12.5px; }
.five-art .five-daily th { font-size: 10.5px; padding: 10px 0; }
.five-art .five-daily td { padding: 14px 0; }
.five-art .five-footer { font-size: 11.5px; line-height: 1.85; margin-top: 24px; padding-top: 18px; }

body.five-art,
.five-art .five-panel,
.five-art .five-choice select,
.theme-toggle,
.five-art .site-nav a,
.five-art .five-readout,
.five-art .five-footer,
.five-art .five-daily td {
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}
.five-art .five-dates button { transition: background-color 120ms ease, color 120ms ease; }
.five-art .five-chart .line, .five-art .five-chart .dot { transition: stroke 220ms ease, fill 220ms ease; }
.five-art .five-chart stop { transition: stop-color 220ms ease; }
@keyframes art-enter { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 360px) {
  .five-art .five-panel { padding-inline: 16px; }
  .five-art .five-dates { gap: 2px; }
  .five-art .five-last { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 8px; text-align: left; }
  .five-art .five-last strong { margin-top: 0; }
  .five-art .five-readout, .five-art .five-daily table { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  body.five-art, .five-art * { animation: none !important; transition: none !important; }
}
