/* algoverse — editorial black & white docs site */

:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --fg-soft: #333333;
  --muted: #737373;
  --faint: #ededed;
  --line: #dcdcdc;
  --codebg: #fafafa;
  --codeline: #e4e4e4;
  --accent: #0a0a0a;

  --sidebar-w: 280px;
  --content-max: 820px;
  --topbar-h: 64px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace;

  --radius: 6px;
  --radius-lg: 10px;
}

@font-face {
  font-family: "Inter";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: local("Inter"), local("Inter-Regular");
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "kern", "liga", "calt", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.15s ease, color 0.15s ease;
}
a:hover { border-bottom-color: var(--fg); }

::selection { background: #111; color: #fff; }

/* ======================= TOP BAR ======================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--fg);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--fg);
  border-radius: 2px;
  transform: rotate(45deg);
}

.topnav {
  display: flex;
  gap: 28px;
  flex: 1;
}
.topnav a {
  border: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 6px 0;
  position: relative;
}
.topnav a:hover { color: var(--fg); }
.topnav a.active { color: var(--fg); }
.topnav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--fg);
}

/* ---------- Search ---------- */
.searchbox {
  position: relative;
  width: 300px;
}
.searchbox::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='m21 21-4.3-4.3'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}
.searchbox input {
  width: 100%;
  padding: 9px 42px 9px 34px;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--fg);
  background: var(--codebg);
  border: 1px solid var(--codeline);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.searchbox input:focus {
  border-color: var(--fg);
  background: #fff;
}
.searchbox input::placeholder { color: var(--muted); }
.searchbox .kbd {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--codeline);
  border-radius: 4px;
  padding: 1px 6px;
  pointer-events: none;
}
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 60vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.04);
}
.search-results[hidden] { display: none; }
.search-results .result {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--faint);
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  transition: background 0.1s;
}
.search-results .result:last-child { border-bottom: none; }
.search-results .result:hover,
.search-results .result.active {
  background: var(--codebg);
}
.search-results .result-section {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.search-results .result-title {
  font-size: 14px;
  color: var(--fg);
  margin-top: 4px;
  font-weight: 500;
}
.search-results .empty {
  padding: 20px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ======================= LAYOUT ======================= */
.layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  max-width: 1360px;
  margin: 0 auto;
  min-height: calc(100vh - var(--topbar-h));
}

.sidebar {
  position: sticky;
  top: var(--topbar-h);
  align-self: start;
  height: calc(100vh - var(--topbar-h));
  overflow-y: auto;
  padding: 36px 28px 40px 40px;
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }

.sidebar-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--faint);
}

.page-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-toc > ul > li { margin-top: 4px; }
.page-toc ul ul {
  padding-left: 14px;
  margin-top: 2px;
  border-left: 1px solid var(--faint);
  margin-left: 2px;
}
.page-toc li {
  font-size: 13px;
  line-height: 1.5;
}
.page-toc a {
  border: none;
  color: var(--muted);
  display: block;
  padding: 4px 10px 4px 12px;
  border-left: 2px solid transparent;
  margin-left: -12px;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
  border-radius: 0 4px 4px 0;
}
.page-toc a:hover {
  color: var(--fg);
  background: var(--codebg);
}
.page-toc a.active {
  color: var(--fg);
  font-weight: 600;
  border-left-color: var(--fg);
  background: var(--codebg);
}

/* ======================= CONTENT ======================= */
.content {
  padding: 56px 64px 96px;
  max-width: calc(var(--content-max) + 128px);
  overflow-x: hidden;
}
.content > * { max-width: var(--content-max); }

/* headings */
.content h1 {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  padding: 0;
  border: none;
}
.content > h1 + p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.content h2 {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.018em;
  margin: 72px 0 14px;
  padding-top: 16px;
  position: relative;
  scroll-margin-top: calc(var(--topbar-h) + 24px);
}
.content h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--fg);
}

.content h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 36px 0 10px;
  scroll-margin-top: calc(var(--topbar-h) + 24px);
}

.content h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 22px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
}

.content p {
  margin: 14px 0;
  color: var(--fg-soft);
}
.content p strong { color: var(--fg); }

.content ul, .content ol {
  margin: 14px 0;
  padding-left: 24px;
  color: var(--fg-soft);
}
.content li { margin: 6px 0; }
.content ul li::marker { color: var(--muted); }

.content blockquote {
  margin: 20px 0;
  padding: 14px 22px;
  border-left: 3px solid var(--fg);
  background: var(--codebg);
  color: var(--fg-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.content blockquote p:first-child { margin-top: 0; }
.content blockquote p:last-child { margin-bottom: 0; }

.content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

/* ===== Code ===== */
code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--codebg);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--codeline);
  color: var(--fg);
  font-feature-settings: "liga" 0;
}
pre {
  background: var(--codebg);
  border: 1px solid var(--codeline);
  border-radius: var(--radius);
  padding: 18px 22px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.62;
  margin: 20px 0;
  position: relative;
}
pre::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--fg);
  border-radius: var(--radius) 0 0 var(--radius);
}
pre code {
  background: transparent;
  border: none;
  padding: 0;
  font-size: inherit;
  color: var(--fg);
}
/* Monochrome highlighting */
pre code span { color: var(--fg) !important; }
pre code .co, pre code .co1, pre code .co2,
pre code .cm { color: var(--muted) !important; font-style: italic; }
pre code .kw, pre code .cf, pre code .dt, pre code .bu,
pre code .op, pre code .fu { font-weight: 600; }
pre code .st, pre code .ch, pre code .sc { color: #444 !important; }
pre code .dv, pre code .bn, pre code .fl { color: #222 !important; }

/* ===== Tables ===== */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
th, td {
  border-bottom: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
th {
  background: var(--codebg);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
}

/* ======================= HOME ======================= */
.home-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px;
}
.hero {
  padding: 96px 0 48px;
  max-width: 760px;
}
.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--display);
  font-size: 88px;
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}
.hero-sub {
  font-size: 21px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 620px;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 56px 0 80px;
  max-width: 1100px;
}
.card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 32px 36px;
  color: var(--fg);
  background: #fff;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}
.card::after {
  content: "→";
  position: absolute;
  top: 28px;
  right: 32px;
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}
.card:hover {
  border-color: var(--fg);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.card:hover::after {
  transform: translateX(4px);
  color: var(--fg);
}
.card-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}
.card-title {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 10px 0 10px;
  line-height: 1.15;
}
.card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.card-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--faint);
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
}

.home-section {
  border-top: 1px solid var(--line);
  padding: 64px 0;
  max-width: 1100px;
}
.home-section h2 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.home-section p {
  font-size: 16px;
  color: var(--muted);
  max-width: 640px;
  margin: 0;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 36px;
}
.feature {
  padding-top: 20px;
  border-top: 2px solid var(--fg);
}
.feature h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.feature p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ======================= FOOTER ======================= */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 40px;
  color: var(--muted);
  font-size: 12px;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer .footer-brand {
  font-family: var(--display);
  font-weight: 700;
  color: var(--fg);
}
.footer .footer-meta {
  font-family: var(--mono);
  font-size: 11px;
}

/* ======================= MOBILE ======================= */
@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 20px 28px;
  }
  .content { padding: 40px 28px 64px; }
  .content h1 { font-size: 34px; }
  .content h2 { font-size: 24px; margin-top: 52px; }
}
@media (max-width: 720px) {
  .topbar {
    flex-wrap: wrap;
    height: auto;
    padding: 14px 20px;
    gap: 12px;
  }
  .topnav { gap: 18px; width: 100%; order: 3; }
  .searchbox { order: 4; width: 100%; }
  .topnav a.active::after { display: none; }
  .hero { padding: 56px 0 32px; }
  .hero h1 { font-size: 56px; }
  .hero-sub { font-size: 17px; }
  .home-wrap { padding: 0 24px; }
}

/* =========================
   Progress tracker page
   ========================= */
.prog-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 96px;
}
.prog-hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 56px;
}
.prog-hero h1 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 88px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 12px 0 20px;
  color: #0a0a0a;
}
.prog-hero .hero-sub {
  font-size: 19px;
  color: #444;
  max-width: 640px;
  margin: 0 0 36px;
  line-height: 1.55;
}
.prog-overall {
  background: #fafafa;
  border: 1px solid #e6e6e6;
  padding: 28px 32px;
  margin-top: 12px;
}
.prog-overall-nums {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 800;
  color: #0a0a0a;
}
.prog-overall-nums #prog-overall-done {
  font-size: 54px;
  letter-spacing: -0.03em;
}
.prog-overall-sep {
  font-size: 36px;
  color: #bbb;
  font-weight: 300;
}
.prog-overall-nums #prog-overall-total {
  font-size: 36px;
  color: #666;
  font-weight: 600;
}
.prog-overall-label {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 10px;
}
.prog-overall-bar {
  height: 6px;
  background: #eaeaea;
  margin: 20px 0 0;
  overflow: hidden;
}
.prog-overall-bar > span {
  display: block;
  height: 100%;
  background: #0a0a0a;
  width: 0%;
  transition: width 220ms ease;
}
.prog-toolbar {
  display: flex;
  gap: 10px;
  margin: 24px 0 14px;
  flex-wrap: wrap;
}
.prog-toolbar button {
  font: 500 13px 'Inter', -apple-system, sans-serif;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid #ccc;
  color: #0a0a0a;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}
.prog-toolbar button:hover {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}
.prog-toolbar button.danger:hover {
  background: #b00020;
  border-color: #b00020;
}
.prog-caveat {
  font-size: 12.5px;
  color: #777;
  margin: 10px 0 0;
  line-height: 1.5;
}
.prog-caveat strong {
  color: #0a0a0a;
}

.prog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.prog-section {
  border-top: 2px solid #0a0a0a;
  padding-top: 24px;
}
.prog-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  gap: 24px;
}
.prog-head h2 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0;
  letter-spacing: -0.01em;
}
.prog-meter {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
}
.prog-bar {
  flex: 1;
  display: block;
  height: 4px;
  background: #eaeaea;
  overflow: hidden;
}
.prog-fill {
  display: block;
  height: 100%;
  background: #0a0a0a;
  width: 0%;
  transition: width 220ms ease;
}
.prog-count {
  font: 500 12px 'Inter', -apple-system, sans-serif;
  color: #666;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.prog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
  row-gap: 2px;
}
.prog-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 2px 9px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 12px;
}
.prog-item label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}
.prog-item input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: #0a0a0a;
  cursor: pointer;
  flex-shrink: 0;
}
.prog-item .prog-title {
  font-size: 14px;
  color: #222;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prog-item input:checked + .prog-title {
  color: #999;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.prog-item .prog-jump {
  font-size: 14px;
  color: #bbb;
  text-decoration: none;
  padding: 2px 6px;
  transition: color 120ms ease;
  flex-shrink: 0;
}
.prog-item:hover .prog-jump { color: #0a0a0a; }

@media (max-width: 860px) {
  .prog-hero h1 { font-size: 60px; }
  .prog-hero .hero-sub { font-size: 16px; }
  .prog-overall-nums #prog-overall-done { font-size: 42px; }
  .prog-list { grid-template-columns: 1fr; }
  .prog-head { flex-direction: column; align-items: stretch; gap: 10px; }
  .prog-meter { min-width: 0; }
  .prog-wrap { padding: 0 20px 72px; }
}

/* --------------------------------------------------------------
   Progress v2: 1000-point weighting + countdown timer
   -------------------------------------------------------------- */

.prog-countdown {
  margin: 32px 0 40px;
  padding: 22px 26px 20px;
  border: 1px solid #000;
  background: #fff;
  position: relative;
}
.prog-countdown.urgent { background: #000; color: #fff; }
.prog-countdown.urgent .prog-countdown-label,
.prog-countdown.urgent .prog-countdown-sub,
.prog-countdown.urgent .prog-cd-unit { color: #fff; }
.prog-countdown.expired { background: #f5f5f5; color: #888; }

.prog-countdown-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 14px;
}
.prog-countdown-grid {
  display: flex;
  gap: 36px;
  align-items: baseline;
  flex-wrap: wrap;
}
.prog-cd-cell {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.prog-cd-num {
  font-family: ui-serif, Georgia, serif;
  font-size: 54px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.prog-cd-unit {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}
.prog-countdown-sub {
  margin-top: 12px;
  font-size: 12px;
  color: #666;
  letter-spacing: 0.04em;
}

/* Points display in overall block */
.prog-overall-pct {
  margin-left: 14px;
  font-family: ui-serif, Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: #000;
  border: 1px solid #000;
  padding: 2px 10px;
  line-height: 1.4;
}
.prog-overall-sub {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
  letter-spacing: 0.04em;
}

/* Section header: weight + topic count subline */
.prog-section-sub {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
}
.prog-section-weight {
  font-weight: 600;
  color: #000;
}
.prog-section-dot { opacity: 0.5; }

/* Per-item points chip */
.prog-pts {
  margin-left: auto;
  padding: 1px 8px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.prog-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.prog-item input[type=checkbox]:checked ~ .prog-pts,
.prog-item label:has(input:checked) .prog-pts {
  border-color: #000;
  color: #000;
}

@media (max-width: 680px) {
  .prog-cd-num { font-size: 40px; }
  .prog-countdown-grid { gap: 20px; }
  .prog-overall-pct { font-size: 18px; }
}
