:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #059669;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-shell { max-width: 1380px; margin: 0 auto; padding: 0 24px 40px; }
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line); margin-bottom: 20px;
}
.brand a { color: var(--text); font-weight: 700; font-size: 1.1rem; }
.top-nav a { color: var(--muted); }
.page-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.sidebar { position: sticky; top: 18px; }
.sidebar-card, .hero, .regulation-body, .reg-card, .index-hero {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 10px 30px rgba(23, 37, 84, 0.04);
}
.sidebar-card { padding: 20px; }
.eyebrow { color: var(--accent); font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.sidebar-card h2, .hero h2.subtitle { margin: 8px 0 0; font-size: 1rem; color: var(--text); }
.toc-list { padding-left: 18px; margin: 14px 0 0; }
.toc-list li { margin: 8px 0; }
.toc-list a { color: var(--muted); font-size: .95rem; }
.content { min-width: 0; }
.breadcrumbs { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pager-link {
  display: inline-flex; flex-direction: column; gap: 4px; min-width: 180px; padding: 12px 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: var(--text);
}
.pager-link span { color: var(--muted); font-size: .88rem; }
.hero { padding: 26px 28px; margin-bottom: 18px; }
.hero h1 { margin: 8px 0 6px; font-size: 2rem; line-height: 1.15; }
.hero .subtitle { font-size: 1.15rem; color: var(--muted); font-weight: 600; }
.lede { color: var(--muted); margin-top: 14px; max-width: 860px; }
.meta-row, .hero-notes {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px;
}
.meta-row span, .hero-notes span {
  display: inline-flex; padding: 8px 11px; border-radius: 999px; border: 1px solid var(--line);
  background: #fdfdfe; color: var(--muted); font-size: .9rem;
}
.regulation-body { padding: 28px; }
.regulation-body p { margin: 0 0 14px; }
.regulation-body h2, .regulation-body h3, .regulation-body h4, .regulation-body h5 {
  margin: 26px 0 10px; line-height: 1.25;
}
.regulation-body h2 { font-size: 1.35rem; }
.regulation-body h3 { font-size: 1.12rem; }
.regulation-body h4 { font-size: 1rem; }
.regulation-body .subhead {
  font-size: 1rem; font-weight: 700; color: var(--text);
  padding-top: 2px; border-top: 1px dashed var(--line);
}
.marker { color: var(--accent); font-weight: 700; }
.source-note { color: var(--muted); font-size: .92rem; }
.page-footer { padding: 16px 4px 0; color: var(--muted); font-size: .94rem; }
.index-main { padding-top: 8px; }
.index-hero { padding: 30px; margin-bottom: 20px; }
.index-hero h1 { margin: 8px 0 10px; font-size: 2.2rem; line-height: 1.1; max-width: 980px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.reg-card { display: block; padding: 20px; color: var(--text); }
.reg-card:hover { transform: translateY(-1px); text-decoration: none; }
.reg-num { color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.reg-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.reg-card p { margin: 0; color: var(--muted); }
@media (max-width: 980px) {
  .page-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
