:root { color-scheme: light; --paper: #f6f3ec; --ink: #292b2d; --muted: #62686d; --blue: #315c78; --rule: #d2cec4; --error: #8a2e2e; --notice: #e7edf1; --green: #28643d; --amber: #815800; --red: #812828; --horizon: #595f64; }
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.6; }
.site-shell, .admin-shell { width: min(760px, calc(100% - 2rem)); margin: 0 auto; }
.site-header { padding: 3.5rem 0 1.4rem; border-bottom: 1px solid var(--rule); }
.eyebrow { margin: 0 0 .35rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.18; font-weight: 500; }
h1 { margin: 0; font-size: clamp(2rem, 8vw, 3.2rem); }
h2 { margin-top: 0; font-size: 1.75rem; }
h3 { margin-bottom: .35rem; font-size: 1.18rem; }
main { min-width: 0; padding: 2.25rem 0 3rem; overflow-wrap: anywhere; }
section + section { margin-top: 2.8rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; }
a { color: var(--blue); text-underline-offset: .18em; }
nav a { display: inline-flex; min-height: 40px; align-items: center; }
form { margin: 1.25rem 0; }
label { display: block; margin: 1.1rem 0 .35rem; font-weight: 650; }
input, textarea, button { font: inherit; }
input[type="text"], input[type="email"], input[type="file"], input[type="number"], select, textarea { width: 100%; padding: .72rem; color: var(--ink); background: #fffefa; border: 1px solid #96999b; border-radius: 2px; }
textarea { resize: vertical; }
button, .button-link { display: inline-block; min-height: 40px; max-width: 100%; padding: .68rem 1rem; overflow-wrap: anywhere; color: white; background: var(--blue); border: 1px solid var(--blue); border-radius: 2px; cursor: pointer; text-decoration: none; white-space: normal; }
button:hover, .button-link:hover { background: #24475e; }
:focus-visible { outline: 3px solid #d18d2f; outline-offset: 3px; }
.link-button { padding: 0; color: var(--blue); background: transparent; border: 0; text-decoration: underline; }
.session-actions { display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: center; }
.session-actions form { margin: .5rem 0; }
.status-banner { padding: .85rem 1rem; background: var(--notice); border-left: 4px solid var(--blue); }
.status-error, .mock-label { color: #671e1e; background: #f4e3df; border-color: var(--error); }
.muted, .disclosure { color: var(--muted); font-size: .93rem; }
.score { font-size: 1.3rem; }
.verdict-score { margin: .45rem 0 1.35rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 5vw, 2.2rem); line-height: 1.25; }
.verdict-score strong { font-size: 1.12em; }
dl { display: grid; grid-template-columns: minmax(8rem, 1fr) 2fr; gap: .35rem 1rem; }
dt { font-weight: 650; } dd { margin: 0; }
details { padding: .55rem 0; border-top: 1px solid var(--rule); }
summary { min-height: 40px; padding: .35rem 0; cursor: pointer; font-weight: 650; }
.history-list, .dispatch-list, .findings, .download-list { min-width: 0; margin: 1.25rem 0 0; padding-left: 1.4rem; overflow-wrap: anywhere; }
.history-list > li, .dispatch-list > li, .findings > li { margin-bottom: 1.8rem; padding-left: .2rem; }
.history-list > li:last-child, .dispatch-list > li:last-child, .findings > li:last-child { margin-bottom: 0; }
.history-list h3, .dispatch-list h3, .findings h3 { margin: 0 0 .45rem; font-size: 1.3rem; }
.dispatch-list h3 a { display: inline-flex; min-height: 40px; align-items: center; }
.dispatch-formula { max-width: 70ch; margin: 1rem 0 .75rem; padding: .65rem .85rem; color: var(--muted); background: #eeece6; border-left: 3px solid var(--rule); font-size: .88rem; line-height: 1.55; }
.dispatch-formula strong { color: var(--ink); font-weight: 650; }
.dispatch-sentence { max-width: 70ch; margin: 0 0 .2rem; font-size: 1.04rem; line-height: 1.7; }
.provenance-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: .45rem 0 .7rem; }
.provenance-chip { display: inline-block; max-width: 100%; padding: .32rem .55rem; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; font-size: .84rem; font-weight: 600; line-height: 1.45; }
a.provenance-chip { color: var(--blue); text-decoration-thickness: 1px; }
.dispatch-reasoning { padding-top: .65rem; }
.dispatch-reasoning summary.provenance-chip { min-height: 0; padding: .32rem .55rem; font-family: inherit; cursor: pointer; }
.dispatch-provenance-footer { margin-top: 2rem; padding-top: .8rem; border-top: 1px solid var(--rule); }
.queue-lane { margin-top: 2.8rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.queue-date-group { margin-top: 2rem; padding-top: 0; border: 0; }
.queue-date-group > h3 { margin: 0 0 .8rem; color: var(--muted); font-family: inherit; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.queue-cards { margin: 0; padding: 0; list-style: none; }
.queue-cards + .queue-cards, .queue-band-note + .queue-cards { margin-top: .55rem; }
.queue-card { margin: 0 0 1rem; padding: 1.15rem; background: #fbf9f4; border: 1px solid var(--rule); }
.queue-card__header { display: flex; justify-content: space-between; gap: .8rem; align-items: start; }
.queue-card__header h4 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; font-weight: 500; line-height: 1.25; }
.queue-state { flex: 0 0 auto; margin: .12rem 0 0; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.queue-change, .queue-evidence, .queue-band-note { display: inline-block; margin: .65rem 0 0; padding: .2rem .45rem; color: var(--ink); background: #eeece6; border: 1px solid var(--rule); font-size: .82rem; font-weight: 650; }
.queue-band-note { margin: .4rem 0 .55rem; font-weight: 600; }
.queue-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; margin-top: .9rem; }
.queue-fields > div { padding: .65rem 0; border-top: 1px solid var(--rule); }
.queue-fields p { margin: .15rem 0; }
.queue-field-label { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.queue-operator-hours { margin-top: .1rem; }
.queue-chip-details { padding: 0; border: 0; }
.queue-chip-details summary.provenance-chip { min-height: 0; padding: .32rem .55rem; }
.readiness-block { margin: 1rem 0 .3rem; padding: .8rem .9rem; background: #eeece6; border: 1px solid var(--rule); }
.readiness-badge { margin: 0; }
.readiness-badge--quiet { color: var(--muted); }
.readiness-details { margin-top: .45rem; padding-bottom: 0; }
.readiness-details p { margin: .55rem 0; }
.readiness-details ol { margin: .55rem 0 .25rem; padding-left: 1.4rem; }
.readiness-disclaimer { margin: .55rem 0 0; }
.queue-edit-hours { margin-top: .3rem; padding: .15rem 0 0; border: 0; }
.queue-edit-hours summary { color: var(--blue); font-size: .9rem; font-weight: 500; text-decoration: underline; text-underline-offset: .18em; }
.queue-edit-hours form { margin: .6rem 0 .2rem; padding: .7rem; background: var(--paper); border: 1px solid var(--rule); }
.queue-hour-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.queue-hour-inputs label { margin-top: 0; }
.queue-checkbox { display: flex; gap: .5rem; align-items: center; font-weight: 500; }
.queue-checkbox input { width: auto; }
.queue-suggestion { display: flex; flex-wrap: wrap; gap: .45rem .8rem; align-items: center; margin: .7rem 0; padding: .5rem .65rem; background: #eeece6; border: 1px solid var(--rule); font-size: .88rem; font-weight: 600; }
.queue-suggestion form { margin: 0; }
.queue-dismiss, .queue-quiet-button { min-height: 36px; padding: .35rem .6rem; color: var(--blue); background: transparent; border-color: var(--rule); text-decoration: underline; }
.queue-dismiss:hover, .queue-quiet-button:hover { color: var(--ink); background: var(--paper); }
.queue-rank-reason { margin-top: .65rem; }
.queue-rank-reason p { margin: .45rem 0; }
.queue-decisions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--rule); }
.queue-inline-form, .queue-reviews form, .queue-artifacts form { margin: 0; }
.queue-reviews { margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--rule); }
.queue-reviews h5 { margin: 0 0 .55rem; font-size: .9rem; }
.queue-reviews > ul { margin: 0; padding-left: 1.2rem; }
.queue-reviews p { margin: .25rem 0; }
.queue-artifacts { margin: .4rem 0 .8rem; padding-left: 1.2rem; }
.queue-archive { margin-top: 2.8rem; padding: 1rem 0 0; }
.queue-archive > summary { font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 500; }
.queue-archive .queue-lane { margin-top: .8rem; padding-top: 1rem; }
.urgency { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .65rem; margin: .55rem 0; font-size: .92rem; font-weight: 700; }
.urgency-meter { flex: 0 1 8rem; width: 8rem; max-width: 100%; height: .55rem; overflow: hidden; background: #ddd9d0; border-radius: 999px; }
.urgency-meter__fill { height: 100%; border-radius: inherit; }
.urgency--comfortable { color: var(--green); }
.urgency--comfortable .urgency-meter__fill { background: #3c8655; }
.urgency--tight { color: var(--amber); }
.urgency--tight .urgency-meter__fill { background: #c48712; }
.urgency--start_now { color: var(--red); }
.urgency--start_now .urgency-meter__fill { background: #b74040; }
.urgency--horizon { color: var(--horizon); font-weight: 600; }
.urgency--horizon .urgency-meter__fill { background: #7b8084; }
.urgency-meter__fill--0 { width: 0; }
.urgency-meter__fill--1 { width: 10%; }
.urgency-meter__fill--2 { width: 20%; }
.urgency-meter__fill--3 { width: 30%; }
.urgency-meter__fill--4 { width: 40%; }
.urgency-meter__fill--5 { width: 50%; }
.urgency-meter__fill--6 { width: 60%; }
.urgency-meter__fill--7 { width: 70%; }
.urgency-meter__fill--8 { width: 80%; }
.urgency-meter__fill--9 { width: 90%; }
.urgency-meter__fill--10 { width: 100%; }
.history-meta { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.history-timestamp { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 600; }
.history-action { margin: .85rem 0 0; }
.mock-label { display: inline-block; margin: 0 0 .75rem; padding: .25rem .45rem; font-size: .78rem; }
.score-pair { margin: 0; padding: 1rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.findings p { margin: .55rem 0; }
.download-list > li { margin-bottom: .8rem; }
.download-list form { margin: 0; }
footer { padding: 1.5rem 0 3rem; color: var(--muted); border-top: 1px solid var(--rule); font-size: .9rem; }
table { width: 100%; border-collapse: collapse; } th, td { padding: .55rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.log-lines { overflow-wrap: anywhere; }
@media (max-width: 560px) { .queue-fields { grid-template-columns: 1fr; } .queue-card { padding: .9rem; } .queue-card__header { display: block; } .queue-state { margin-top: .4rem; } }
@media (max-width: 420px) { .site-shell, .admin-shell { width: min(760px, calc(100% - 1.2rem)); } .site-header { padding-top: 2rem; } main { padding-top: 1.5rem; } section + section { margin-top: 2.2rem; padding-top: 1.6rem; } nav { gap: .25rem .75rem; } dl { grid-template-columns: 1fr; } dd { margin-bottom: .7rem; } .history-list, .dispatch-list, .findings, .download-list { padding-left: 1.2rem; } .urgency-meter { flex-basis: 7rem; } button { width: 100%; } .link-button, .queue-dismiss, .queue-quiet-button { width: auto; } .queue-hour-inputs { grid-template-columns: 1fr; } }
