:root {
  --bg: #f4f6f7; --surface: #fff; --surface-soft: #f8fafb; --ink: #20262b;
  --muted: #66737d; --line: #d9e1e6; --teal: #13736f; --teal-soft: #e4f3f1;
  --red: #a13f42; --red-soft: #fae8e8; --amber: #98610f; --amber-soft: #fff0d7;
  --blue: #2f67a0; --blue-soft: #e7f0fb; --green: #3f7646; --green-soft: #e7f3e8;
  --shadow: 0 14px 34px rgba(36, 48, 56, .1);
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; }
.project-shell { width: min(1320px, calc(100% - 32px)); margin: 0 auto; padding: 20px 0 48px; }
.roadmap-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.roadmap-nav a, .roadmap-nav button { min-height: 38px; padding: 9px 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }
.roadmap-nav button:disabled { cursor: wait; opacity: .6; }
.dashboard, .center-section, .status-column, .unavailable, .loading-state { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dashboard { display: grid; gap: 18px; padding: 24px; }
.dashboard-title { display: grid; gap: 9px; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dashboard h1 { margin: 0; font-size: clamp(42px, 7vw, 72px); line-height: .95; }
.principle { margin: 0; color: #44515a; font-size: 14px; font-weight: 700; }
.eyebrow, .meta-label { display: block; margin: 0; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.summary-card { min-width: 0; padding: 14px; background: var(--surface-soft); border: 1px solid var(--line); }
.summary-card.wide { grid-column: span 2; }
.summary-card.full { grid-column: 1 / -1; }
.summary-card.current { background: var(--teal-soft); border-color: rgba(19, 115, 111, .25); }
.summary-card.blocked { background: var(--red-soft); border-color: rgba(161, 63, 66, .24); }
.summary-card strong { display: block; margin-top: 7px; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.provenance-line, .snapshot-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: 12px; }
code { padding: 3px 6px; background: #edf3f6; border: 1px solid var(--line); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; overflow-wrap: anywhere; }
.status-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 14px 0; align-items: start; }
.status-column { min-width: 0; box-shadow: none; overflow: hidden; }
.status-heading { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.status-heading h2 { margin: 0; font-size: 16px; }
.status-heading span { min-width: 24px; padding: 3px 6px; background: rgba(255,255,255,.68); border: 1px solid var(--line); font-size: 11px; font-weight: 900; text-align: center; }
.status-now .status-heading { background: var(--teal-soft); } .status-next .status-heading { background: var(--blue-soft); }
.status-done .status-heading { background: var(--green-soft); } .status-blocked .status-heading { background: var(--red-soft); } .status-later .status-heading { background: #edf1f3; }
.status-items { display: grid; gap: 8px; padding: 9px; }
.status-items article { min-width: 0; padding: 11px; background: var(--surface-soft); border: 1px solid var(--line); }
.status-items h3, .workstream-card h3 { margin: 0; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.status-items p, .workstream-card p, .month-grid p, .foundation-grid p { margin: 9px 0; color: #4f5a62; font-size: 13px; line-height: 1.5; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.status-pill { flex: 0 0 auto; padding: 5px 7px; border: 1px solid var(--line); background: #edf3f6; color: var(--muted); font-size: 10px; font-weight: 900; line-height: 1; }
.pill-in_progress { color: var(--teal); background: var(--teal-soft); } .pill-next { color: var(--blue); background: var(--blue-soft); }
.pill-done { color: var(--green); background: var(--green-soft); } .pill-blocked { color: var(--red); background: var(--red-soft); } .pill-later { color: #56636c; }
.evidence { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.evidence span { width: 100%; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .04em; }
.center-section { margin-top: 14px; padding: 20px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-heading h2 { margin: 3px 0 0; font-size: 25px; } .section-heading > span { color: var(--muted); font-size: 12px; font-weight: 900; }
.workstream-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.workstream-card { min-width: 0; padding: 14px; background: var(--surface-soft); border: 1px solid var(--line); }
.workstream-card dl, .unavailable dl { display: grid; gap: 7px; margin: 12px 0 0; }
.workstream-card dl div, .unavailable dl div { padding: 8px 9px; background: var(--surface); border: 1px solid var(--line); }
dt { color: var(--muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
dd { margin: 4px 0 0; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.foundation-grid, .month-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.foundation-grid article, .month-grid article, .chuseok-card { padding: 13px; background: var(--surface-soft); border: 1px solid var(--line); }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; } .chip { padding: 7px 9px; background: #edf3f6; border: 1px solid var(--line); font-size: 12px; font-weight: 900; }
.month-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.planning-notice { margin: -4px 0 14px; padding: 10px 12px; background: var(--amber-soft); border: 1px solid rgba(152,97,15,.25); color: #704a10; font-size: 13px; }
.chuseok-card { display: grid; grid-template-columns: minmax(180px,.6fr) minmax(240px,1fr) minmax(240px,1fr); gap: 18px; margin-top: 10px; }
.chuseok-card h3 { margin: 5px 0 0; } .chuseok-card ol { margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.65; } .chuseok-card p { margin: 0; color: #4f5a62; font-size: 13px; line-height: 1.5; }
.snapshot-footer { justify-content: center; padding: 16px 4px 0; }
.unavailable, .loading-state { padding: 28px; } .unavailable { border-left: 5px solid var(--red); } .unavailable h1 { margin: 6px 0 10px; }
.unavailable p { max-width: 720px; color: #4f5a62; line-height: 1.55; } .empty { color: var(--muted); font-size: 12px; }
@media (max-width: 1120px) { .status-board { grid-template-columns: repeat(2,minmax(0,1fr)); } .status-later { grid-column: span 2; } .month-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) { .project-shell { width: min(100% - 20px,1320px); padding-top: 10px; } .dashboard,.center-section { padding: 16px; } .title-row { align-items: flex-start; flex-direction: column; } .dashboard-grid,.status-board,.workstream-grid,.foundation-grid,.month-grid,.chuseok-card { grid-template-columns: 1fr; } .summary-card.wide,.summary-card.full,.status-later { grid-column: auto; } }
