:root {
  --bg: #fbf8f3; --panel: #ffffff; --ink: #1c2230; --muted: #5b6475; --line: #e6dfd3;
  --accent: #b4431b; --accent-ink: #ffffff; --soft: #f6ede2; --teal: #0f6e66;
  --radius: 14px; --shadow: 0 1px 2px rgba(28,34,48,.06), 0 6px 24px rgba(28,34,48,.06);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #12151c; --panel: #1a1f29; --ink: #ece8e1; --muted: #a3aab8; --line: #2b3240; --accent: #f08a4b; --accent-ink: #1a1208; --soft: #232a36; --teal: #5cc8bc; --shadow: none; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--accent); text-underline-offset: 2px; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--panel); padding: 8px 12px; z-index: 9; }
.top { border-bottom: 1px solid var(--line); background: var(--panel); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
main { padding-top: 8px; padding-bottom: 48px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.crumbs a { color: var(--muted); }
h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; letter-spacing: -.02em; margin: 22px 0 10px; }
h2 { font-size: 23px; letter-spacing: -.01em; margin: 40px 0 12px; }
.lede { font-size: 19px; color: var(--muted); margin-top: 0; }
.small { font-size: 14px; color: var(--muted); }
.cd { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin: 18px 0 24px; }
.cd-big { background: linear-gradient(135deg, var(--accent), #8f2f12); color: #fff; border: 0; }
@media (prefers-color-scheme: dark) { .cd-big { background: linear-gradient(135deg, #7a2d10, #3d1a0c); } }
.cd-status { margin: 0 0 14px; font-size: 18px; font-weight: 600; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cd-grid > div { background: rgba(255,255,255,.12); border-radius: 12px; padding: 14px 6px; text-align: center; }
.num { display: block; font-size: clamp(34px, 8vw, 64px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.lab { display: block; margin-top: 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.today-banner { background: var(--soft); border-left: 4px solid var(--teal); padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0; }
.facts div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.facts dt { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 2px 0 0; font-weight: 650; }
.list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.item a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); height: 100%; }
.item a:hover { border-color: var(--accent); }
.item-name { font-weight: 650; }
.item-days { grid-row: span 2; align-self: center; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item-date { font-size: 14px; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--soft); }
tbody tr:last-child > * { border-bottom: 0; }
.closures th { width: 42%; font-weight: 600; }
.matrix td, .matrix th { font-size: 14px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin: 8px 0 2px; }
.years a { display: inline-block; margin: 0 10px 6px 0; }
.tool { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.tool label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tool input { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-height: 44px; }
.result { font-size: 19px; font-weight: 650; }
.foot { border-top: 1px solid var(--line); background: var(--panel); padding: 22px 0 30px; font-size: 15px; color: var(--muted); }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cd { padding: 16px; }
  .cd-grid { gap: 6px; }
  .cd-grid > div { padding: 10px 2px; }
  .lab { font-size: 11px; letter-spacing: .04em; }
  .nav { gap: 12px; }
}
@media print { .top, .foot, .cd-grid { display: none; } }
