:root {
  color-scheme: light;
  --cream: #eee9dc;
  --paper: #f8f5ed;
  --ink: #15231b;
  --forest: #244a35;
  --sage: #9bb88b;
  --line: #526357;
  --muted: #66736b;
  --orange: #e5682f;
  --amber: #d8a722;
  --red: #c33f35;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
}
* { box-sizing: border-box; }html { scroll-behavior: smooth; }body { min-width: 320px; margin: 0; background: var(--cream); }button,input,select,textarea { font: inherit; }button,select { cursor: pointer; }a { color: inherit; }:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 30; padding: .8rem 1rem; background: var(--orange); color: white; font-weight: 800; }.skip-link:focus { top: 1rem; }
.topbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem clamp(1rem,4vw,4rem); border-bottom: 1px solid var(--ink); background: rgba(238,233,220,.93); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 10; }.brand { display: flex; gap: .75rem; align-items: center; text-decoration: none; }.brand > span:first-child { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; font: 850 .72rem ui-monospace,monospace; }.brand > span:last-child { display: grid; }.brand small { color: var(--muted); margin-top: .1rem; }.topbar nav { display: flex; gap: .6rem; align-items: center; }.plain-button,.solid-button { border: 0; padding: .7rem .85rem; font-weight: 800; background: transparent; color: var(--ink); }.plain-button:hover { text-decoration: underline; text-underline-offset: .25rem; }.plain-button.bordered { border: 1px solid var(--ink); }.solid-button { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }.solid-button:hover { background: var(--orange); border-color: var(--orange); }.solid-button.full { width: 100%; }
main { width: min(1500px,calc(100% - 2rem)); margin: 0 auto; padding: clamp(2.5rem,6vw,6rem) 0 5rem; }.hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem,6vw,7rem); align-items: end; }.overline { color: var(--forest); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 850; }.hero h1 { margin: .7rem 0 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.2rem,7.2vw,7.5rem); line-height: .88; letter-spacing: -.055em; max-width: 12ch; font-weight: 500; }.hero-note { display: grid; grid-template-columns: auto 1fr; gap: .7rem; border-top: 1px solid var(--ink); padding-top: 1rem; }.hero-note > span { color: var(--orange); font-size: 1.6rem; }.hero-note p { margin: 0; line-height: 1.6; font-size: 1.05rem; }.hero-note small { grid-column: 2; color: var(--muted); }
.metric-strip { margin: 3rem 0 1.5rem; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }.metric-strip article { min-height: 120px; padding: 1.1rem; display: flex; flex-direction: column; justify-content: space-between; }.metric-strip article + article { border-left: 1px solid var(--ink); }.metric-strip span,.metric-strip small { color: var(--muted); }.metric-strip strong { font: 500 2.3rem Georgia,serif; }.metric-strip .attention { background: var(--orange); color: white; }.metric-strip .attention span,.metric-strip .attention small { color: #fff0e9; }
.schedule-section,.risk-section { border: 1px solid var(--ink); background: var(--paper); }.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 1.2rem 1.3rem; border-bottom: 1px solid var(--ink); }.section-heading.inset { border: 0; }.section-heading h2 { margin: .25rem 0 0; font: 500 1.6rem Georgia,serif; }.section-heading p { margin: 0; color: var(--muted); }.schedule-key { display: flex; gap: 1rem; color: var(--muted); font-size: .72rem; flex-wrap: wrap; }.schedule-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }.schedule-key .low { background: var(--sage); }.schedule-key .high { background: var(--amber); }.schedule-key .critical { background: var(--red); }.schedule-wrap { overflow-x: auto; }.schedule-board { min-width: 980px; display: grid; grid-template-columns: repeat(7,1fr); min-height: 250px; }.day-column { padding: .8rem; border-right: 1px solid #b9b5a9; }.day-column:last-child { border-right: 0; }.day-column header { display: flex; justify-content: space-between; gap: .5rem; padding-bottom: .7rem; border-bottom: 1px solid #b9b5a9; }.day-column header span { text-transform: uppercase; font-size: .66rem; color: var(--muted); }.day-column header strong { font-size: .75rem; }.day-empty { color: #98998f; font-size: .72rem; margin-top: 1rem; }.change-block { width: 100%; display: grid; gap: .35rem; margin-top: .7rem; padding: .72rem; text-align: left; color: var(--ink); background: #dce7d7; border: 1px solid var(--line); border-left: 5px solid var(--sage); }.change-block.high { background: #f7e6b7; border-left-color: var(--amber); }.change-block.critical { background: #f3d1cc; border-left-color: var(--red); }.change-block.selected { box-shadow: 0 0 0 3px var(--ink); }.change-block time,.change-block span { font: .65rem ui-monospace,monospace; color: var(--muted); }.change-block strong { font-size: .78rem; line-height: 1.3; }
.analysis-grid { display: grid; grid-template-columns: minmax(300px,.75fr) minmax(0,1.45fr); gap: 1.5rem; align-items: start; margin: 1.5rem 0; }.issue-panel,.detail-panel { border: 1px solid var(--ink); background: var(--paper); }.count { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--ink); border-radius: 50%; font: .75rem ui-monospace,monospace; }.issue-list { border-top: 1px solid var(--ink); }.issue-card { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: .4rem .7rem; padding: 1rem 1.2rem; border: 0; border-bottom: 1px solid #b9b5a9; background: transparent; color: var(--ink); text-align: left; }.issue-card:hover { background: #e8e2d5; }.issue-card strong { align-self: center; }.issue-card p,.issue-card small { grid-column: 2; margin: 0; }.issue-card p { color: var(--muted); font-size: .82rem; line-height: 1.45; }.issue-card small { color: var(--forest); font: .65rem ui-monospace,monospace; }.issue-severity { color: white; padding: .2rem .4rem; text-transform: uppercase; font: 800 .58rem ui-monospace,monospace; }.issue-severity.blocker { background: var(--red); }.issue-severity.high { background: var(--orange); }.issue-severity.medium { background: #866a13; }.empty-state,.detail-empty { padding: 3rem 1.3rem; color: var(--muted); text-align: center; }
#detailContent { padding: 1.4rem; }.detail-header { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--ink); padding-bottom: 1.2rem; }.detail-header h2 { font: 500 clamp(1.8rem,3vw,2.8rem) Georgia,serif; margin: .3rem 0; }.detail-header p { margin: 0; color: var(--muted); }.risk-stamp { min-width: 84px; min-height: 84px; border: 1px solid var(--ink); display: grid; place-items: center; align-content: center; }.risk-stamp span,.risk-stamp small { color: var(--muted); font-size: .62rem; text-transform: uppercase; }.risk-stamp strong { font: 500 2rem Georgia,serif; }.change-facts { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; border-bottom: 1px solid var(--ink); }.change-facts div { padding: 1rem .8rem; }.change-facts div + div { border-left: 1px solid #b9b5a9; }.change-facts dt,.procedure-grid span,.notes-field span { color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 750; }.change-facts dd { margin: .35rem 0 0; font-size: .82rem; line-height: 1.4; }.procedure-grid { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--ink); }.procedure-grid article { padding: 1.1rem .8rem; }.procedure-grid article + article { border-left: 1px solid #b9b5a9; }.procedure-grid p { line-height: 1.5; margin: .4rem 0 0; font-size: .86rem; }.preflight { margin-top: 1.2rem; padding: 1.1rem; background: var(--forest); color: white; }.preflight > div:first-child { display: flex; justify-content: space-between; gap: 1rem; }.preflight h3 { margin: 0; font: 500 1.25rem Georgia,serif; }.preflight > div:first-child span { color: #dbe8dd; font-size: .76rem; }.preflight > div:first-child span[data-ready="true"] { color: #d3f26a; }.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: 1rem 0; }.checklist label { padding: .65rem; border: 1px solid #789080; font-size: .82rem; }.notes-field { display: grid; gap: .4rem; }.notes-field span { color: #c1d0c5; }.notes-field textarea { background: #183123; color: white; border: 1px solid #789080; padding: .7rem; resize: vertical; }.detail-actions { display: flex; justify-content: flex-end; gap: .7rem; margin-top: 1rem; }
.risk-section { margin-top: 1.5rem; }.risk-layout { display: grid; grid-template-columns: auto minmax(450px,850px); grid-template-rows: auto auto; justify-content: center; padding: 1.5rem; overflow-x: auto; }.risk-matrix { width: min(70vw,850px); min-width: 450px; aspect-ratio: 1.8; display: grid; grid-template-columns: repeat(5,1fr); grid-template-rows: repeat(5,1fr); border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }.risk-cell { min-height: 58px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); background: #dce7d7; display: grid; place-items: center; position: relative; color: #738073; }.risk-cell.medium { background: #e7dfb6; }.risk-cell.high { background: #efc988; }.risk-cell.critical { background: #e9947f; }.risk-cell strong { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; }.risk-cell > span { position: absolute; left: .35rem; top: .25rem; font-size: .6rem; }.axis { color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }.y-axis { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding-right: .7rem; }.y-axis span:nth-child(2) { writing-mode: vertical-rl; transform: rotate(180deg); }.x-axis { grid-column: 2; display: flex; justify-content: space-between; padding-top: .7rem; }
dialog { width: min(760px,calc(100% - 2rem)); max-height: calc(100vh - 2rem); border: 1px solid var(--ink); padding: 0; background: var(--paper); color: var(--ink); box-shadow: 12px 12px 0 var(--orange); }dialog::backdrop { background: rgba(21,35,27,.78); }.dialog-content { padding: 1.4rem; }.dialog-header { display: flex; justify-content: space-between; }.dialog-header h2 { margin: .3rem 0 0; font: 500 2rem Georgia,serif; }.dialog-header button { width: 40px; height: 40px; border: 1px solid var(--ink); background: transparent; font-size: 1.5rem; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.2rem 0; }.form-grid label { display: grid; gap: .35rem; }.form-grid label span { color: var(--muted); font-size: .7rem; font-weight: 750; }.form-grid input,.form-grid select,.form-grid textarea { width: 100%; border: 1px solid var(--ink); background: white; color: var(--ink); padding: .68rem; }.form-grid .wide { grid-column: 1 / -1; }
footer { padding: 1.5rem clamp(1rem,4vw,4rem); border-top: 1px solid var(--ink); display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .8rem; }footer p { margin: 0; max-width: 90ch; }
@media (max-width: 980px) { .hero,.analysis-grid { grid-template-columns: 1fr; }.metric-strip { grid-template-columns: 1fr 1fr; }.metric-strip article:nth-child(3) { border-left: 0; }.metric-strip article:nth-child(n+3) { border-top: 1px solid var(--ink); }.change-facts { grid-template-columns: 1fr 1fr; }.change-facts div:nth-child(3) { border-left: 0; border-top: 1px solid #b9b5a9; }.change-facts div:nth-child(4) { border-top: 1px solid #b9b5a9; } }
@media (max-width: 650px) { .topbar { align-items: flex-start; }.brand small,.topbar nav .plain-button { display: none; }.hero h1 { font-size: clamp(3.4rem,17vw,5.2rem); }.schedule-key { display: none; }.metric-strip article { min-height: 105px; padding: .9rem; }.procedure-grid,.checklist,.form-grid { grid-template-columns: 1fr; }.procedure-grid article + article { border-left: 0; border-top: 1px solid #b9b5a9; }.form-grid .wide { grid-column: auto; }.detail-header { align-items: flex-start; }.risk-layout { justify-content: start; }.detail-actions,footer { flex-direction: column; }.detail-actions button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; } }
.source-link { font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; text-decoration-thickness: 1px; text-underline-offset: .25rem; }
.project-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: .45rem; margin: .15rem 0 0; padding: 0; list-style: none; }
.project-meta li { border: 1px solid #b9b5a9; border-radius: 999px; padding: .35rem .55rem; color: var(--forest); font-size: .65rem; font-weight: 800; letter-spacing: .035em; }
.demo-cue { grid-column: 2; width: fit-content; margin: 0; border: 0; background: none; padding: 0; color: var(--forest); font-size: .72rem; font-weight: 850; letter-spacing: .025em; text-decoration: underline; text-underline-offset: .22rem; }.demo-cue span { color: var(--orange); }
@media (max-width: 780px) { .source-link { display: none; } }
