:root {
  color-scheme: light;
  --brand: #2E6BE6;
  --brand-hover: #2458C4;
  --brand-soft: #EAF0FB;
  --text: #1B2A41;
  --muted: #5E6B80;
  --bg: #F4F6FA;
  --card: #FFFFFF;
  --line: #E5EAF2;
  --warning: #865017;
  --warning-bg: #FFF6E9;
  --success: #1F6B4A;
  --success-bg: #E8F6F0;
  --partial: #2F5AA8;
  --partial-bg: #EDF3FF;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.7; }
a { color: var(--brand-hover); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { color: var(--brand); }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; border-radius: 4px; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.25; letter-spacing: -.035em; margin-bottom: 16px; }
h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.4; margin-bottom: 12px; }
h3 { font-size: 18px; line-height: 1.5; margin-bottom: 10px; }
p { margin-bottom: 14px; }
ul, ol { padding-left: 24px; }
li + li { margin-top: 8px; }
code { font-family: Consolas, "Courier New", monospace; font-size: 14px; background: var(--brand-soft); border-radius: 5px; padding: 2px 5px; overflow-wrap: anywhere; }
small, .small, .meta, .eyebrow, .badge { font-size: 14px; }
.wrap { width: min(1440px, 100%); margin: 0 auto; padding: 28px 28px 64px; }
.skip-link { position: absolute; left: 16px; top: -120px; z-index: 20; padding: 12px 18px; background: var(--card); }
.skip-link:focus { top: 12px; }
.topbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.brand { color: var(--brand); font-size: 20px; font-weight: 800; text-decoration: none; }
.top-links, .actions, .chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.top-links { font-size: 14px; }
.hero { background: linear-gradient(155deg, #2E6BE6 0%, #2458C4 100%); color: white; border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 14px 36px rgba(46,107,230,.14); }
.hero p { max-width: 1000px; }
.hero .eyebrow { font-weight: 700; margin-bottom: 16px; letter-spacing: .06em; }
.hero a { color: white; }
.hero .button { background: white; color: var(--brand-hover); border-color: white; }
.hero .button.secondary { background: transparent; color: white; }
.hero .badge { background: rgba(255,255,255,.13); color: white; border-color: rgba(255,255,255,.5); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-size: 16px; font-weight: 700; background: var(--card); color: var(--brand-hover); }
.section-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 32px; }
.section-nav a { display: inline-flex; align-items: center; min-height: 44px; background: white; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-size: 14px; }
section { margin-top: 36px; scroll-margin-top: 24px; }
.section-head { margin-bottom: 20px; }
.section-head p, .meta, .muted { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); gap: 18px; }
.grid > *, .flow > *, .stats > * { min-width: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 8px 24px rgba(46,107,230,.04); overflow-wrap: anywhere; }
.card > :last-child { margin-bottom: 0; }
.card-link { display: flex; flex-direction: column; gap: 10px; color: var(--text); text-decoration: none; }
.card-link:hover { border-color: var(--brand); color: var(--text); }
.card-link .go { margin-top: auto; color: var(--brand-hover); font-weight: 700; }
.card-link h3, .card-link p { margin-bottom: 0; }
.card.optional { border-style: dashed; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-hover); border: 1px solid #D7E4FF; font-weight: 600; }
.badge.optional, .badge.todo { color: var(--warning); background: var(--warning-bg); border-color: #EDD9B9; }
.badge.done { color: var(--success); background: var(--success-bg); border-color: #C4E3D5; }
.badge.partial { color: var(--partial); background: var(--partial-bg); border-color: #D7E4FF; }
.badge.evidence { color: var(--muted); background: #F1F4F8; border-color: var(--line); font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); gap: 14px; margin-top: 20px; }
.stat { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.stat strong { font-size: 30px; line-height: 1.3; color: var(--brand); display: block; }
.stat span { font-size: 14px; color: var(--muted); }
.callout { margin: 20px 0; background: #EEF4FF; border: 1px solid #D7E4FF; border-left: 4px solid var(--brand); border-radius: 14px; padding: 18px 22px; }
.callout.warning { background: var(--warning-bg); border-color: #EDD9B9; border-left-color: var(--warning); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; counter-reset: flow; }
.flow > li { margin: 0; counter-increment: flow; }
.flow > li::before { content: counter(flow, decimal-leading-zero); display: block; color: var(--brand); font: 700 24px/1.4 Consolas, monospace; margin-bottom: 12px; }
.feature-list { padding: 0; list-style: none; margin: 14px 0 0; }
.feature-list li { border-top: 1px solid var(--line); padding-top: 12px; }
.feature-list a { font-weight: 700; }
.feature-list .meta { display: block; margin-top: 4px; }
.table-scroll { max-width: 100%; overflow: auto; background: white; border: 1px solid var(--line); border-radius: 16px; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 14px; line-height: 1.65; }
caption { text-align: left; font-size: 16px; font-weight: 700; padding: 16px 18px; }
th, td { vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
thead th { background: var(--brand-soft); color: var(--brand-hover); font-weight: 700; }
tbody tr:last-child > * { border-bottom: none; }
tbody tr:hover > * { background: #F8FAFF; }
th[scope="row"] { font-weight: 700; }
.table-scroll table { min-width: 900px; }
.table-scroll .feature-table { min-width: 1100px; }
.table-scroll .feature-table td:nth-child(2) { min-width: 260px; }
.table-scroll .feature-table td:last-child { min-width: 280px; }
.table-scroll .feature-table td .evidence { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.table-scroll .feature-table td .evidence strong { color: var(--text); font-weight: 600; }
.table-scroll .schedule-table td:nth-child(3) { min-width: 240px; }
.table-scroll .schedule-table td:last-child { min-width: 260px; }
.table-scroll .compact-table { min-width: 640px; }
.table-note { font-size: 14px; color: var(--muted); margin-top: 10px; }
.row-title { display: block; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.link-list { display: flex; flex-wrap: wrap; gap: 4px 10px; }
footer { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 640px) {
  .wrap { padding: 16px 16px 40px; }
  .hero { border-radius: 20px; padding: 24px 20px; }
  .card { padding: 20px; }
  .topbar { align-items: flex-start; }
  .section-nav { gap: 8px; }
  .section-nav a { padding: 8px 12px; }
  .actions .button { width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 14px; }
  .callout { padding: 16px; }
  section { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  body { background: white; }
  .wrap { padding: 0; max-width: none; }
  .topbar, .section-nav, .skip-link { display: none; }
  .hero { color: var(--text); background: white; border: 1px solid var(--line); box-shadow: none; }
  .hero a, .hero .badge { color: var(--text); }
  .table-scroll { overflow: visible; }
  .table-scroll table, .table-scroll .feature-table, .table-scroll .compact-table { min-width: 0; }
  .table-scroll .feature-table td, .table-scroll .schedule-table td { min-width: 0; }
  .grid, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, tr { break-inside: avoid; }
  a { color: inherit; }
}
