:root { color-scheme: light dark; --paper: #f0efdf; --surface: #faf9ed; --ink: #1d2420; --muted: #465347; --line: #a8af9d; --accent: #c4ed89; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
header, main, footer { width: min(100% - 2rem, 64rem); margin-inline: auto; }
header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
a { color: inherit; text-underline-offset: .2em; }
main { padding-block: 3rem; }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.12; letter-spacing: -.04em; margin: .5rem 0 1rem; overflow-wrap: anywhere; }
h2 { margin-top: 0; }
.eyebrow { font-family: ui-monospace, monospace; color: var(--muted); }
.intro { max-width: 48rem; font-size: 1.12rem; }
section { padding: clamp(1rem, 3vw, 2rem); margin-block: 2rem; background: var(--surface); border: 1px solid var(--line); }
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label { display: block; font-weight: 650; margin-bottom: .4rem; }
textarea { display: block; width: 100%; padding: .8rem; resize: vertical; border: 1px solid var(--line); border-radius: .25rem; background: var(--paper); color: var(--ink); font: .95rem/1.5 ui-monospace, monospace; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
button { padding: .65rem 1rem; min-height: 44px; border: 1px solid var(--line); border-radius: .25rem; background: var(--accent); color: #17201c; font: 650 .9rem/1.5 system-ui, sans-serif; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
#status { min-height: 1.6em; color: var(--muted); }
aside { border-left: 3px solid var(--line); padding-left: 1rem; }
footer { border-top: 1px solid var(--line); padding-block: 1.5rem; }
:focus-visible { outline: 3px solid #ca6c1b; outline-offset: 4px; }
.skip { position: absolute; top: -10rem; left: 1rem; padding: .5rem; background: var(--surface); }
.skip:focus { top: .5rem; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.row { display: flex; gap: .7rem; flex-wrap: wrap; }
.row input { flex: 1 1 16rem; min-height: 44px; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: .25rem; background: var(--paper); color: var(--ink); font: .95rem/1.5 ui-monospace, monospace; }
label.inline { display: inline-flex; gap: .5rem; align-items: center; font-weight: 400; }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
td:first-child { overflow-wrap: anywhere; }
button.link { background: none; border: 0; padding: 0; min-height: 0; color: inherit; text-decoration: underline; text-underline-offset: .2em; font: 650 .95rem/1.5 ui-monospace, monospace; text-align: left; overflow-wrap: anywhere; }
.badge { display: inline-block; padding: .05rem .5rem; border-radius: 1rem; font: 650 .78rem/1.6 system-ui, sans-serif; white-space: nowrap; border: 1px solid transparent; }
.badge.bad { background: #f4c7bd; color: #5a1607; }
.badge.mid { background: #f2e2a6; color: #4a3b00; }
.badge.good { background: var(--accent); color: #17201c; }
.facts { display: grid; grid-template-columns: minmax(9rem, max-content) 1fr; gap: .35rem 1rem; margin: 1rem 0; }
.facts dt { font-weight: 650; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.detail { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.detail h3 { font-family: ui-monospace, monospace; overflow-wrap: anywhere; }
.timeline { padding-left: 1.2rem; }
.timeline li { margin-bottom: .35rem; }
.timeline time { font-family: ui-monospace, monospace; font-size: .9rem; }
@media (max-width: 40rem) { .panels, .facts { grid-template-columns: 1fr; } .facts dd { margin-bottom: .5rem; } main { padding-block: 1.5rem; } }
@media (prefers-color-scheme: dark) { :root { --paper: #17201c; --surface: #222d26; --ink: #f0efdf; --muted: #c3cfbc; --line: #64755d; } }
