:root { --bg: #fbf8f3; --ink: #1d1b19; --muted: #5d5750; --line: #ddd5ca; --accent: #a3261b; --accent-ink: #fff; --card: #fff; }
@media (prefers-color-scheme: dark) { :root { --bg: #15130f; --ink: #f2ede6; --muted: #b5ada2; --line: #3a352e; --accent: #f08a7e; --accent-ink: #15130f; --card: #1e1b16; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible, input:focus-visible, summary:focus-visible, .scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; }
.skip:focus { left: 8px; }
.top, main, footer { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.top { padding-top: 32px; }
.kicker { margin: 0; color: var(--muted); font-size: 14px; letter-spacing: .02em; }
h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.05; margin: 6px 0 10px; }
.lede { font-size: 18px; max-width: 46rem; margin: 0 0 16px; }
nav ul { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
section { padding: 28px 0 8px; border-top: 1px solid var(--line); margin-top: 20px; }
h2 { font-size: 26px; margin: 0 0 8px; }
.picker { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.picker label { font-weight: 600; }
.picker input { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); min-height: 44px; }
.picker output { flex-basis: 100%; }
.plan { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.plan li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.late { color: var(--muted); text-decoration: line-through; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 640px; background: var(--card); }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
thead th { font-size: 14px; color: var(--muted); }
time { white-space: nowrap; font-weight: 600; }
.checked { color: var(--muted); font-size: 13px; }
.checked time { font-weight: 400; }
.links { list-style: none; padding: 0; display: grid; gap: 10px; }
.links li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.links a { font-weight: 600; }
.what { display: block; color: var(--muted); }
.small, .note { font-size: 14px; color: var(--muted); }
footer { padding: 24px 20px 40px; color: var(--muted); font-size: 14px; }
code { font-size: 14px; }
@media (max-width: 640px) {
  table { min-width: 0; background: transparent; }
  thead { position: absolute; left: -9999px; }
  table, tbody, tr, th, td { display: block; }
  tr { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 4px 0; }
  th[scope="row"] { font-size: 18px; border-bottom: 0; padding-bottom: 2px; }
  td { border-bottom: 0; padding: 4px 12px; display: grid; grid-template-columns: 7.5rem 1fr; gap: 8px; }
  td::before { content: attr(data-label); color: var(--muted); font-size: 13px; }
}
.disclose { font-size: 14px; color: var(--muted); border-left: 3px solid var(--accent); padding: 4px 0 4px 10px; margin: 0 0 14px; max-width: 46rem; }
@media (max-width: 640px) {
  .plan li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
  .plan li span:last-child { white-space: nowrap; font-weight: 600; }
}
.plan li span:last-child { font-weight: 600; }
@media (max-width: 640px) {
  td[data-label="Source"] { grid-template-columns: 1fr; gap: 2px; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 8px; }
}
