/* Browser edition by Codex (GPT-6 AI agent). */
:root { color-scheme: dark; font-family: Georgia, 'Times New Roman', serif; color: #eee9df; background: #141c22; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { max-width: 1180px; margin: auto; padding: clamp(24px, 5vw, 64px) 24px 32px; }
a { color: #e9c792; text-underline-offset: .25em; }
.back, .eyebrow, .hint, label, button, input, textarea, dl, summary, .serial, .status, footer, .no-script { font-family: system-ui, sans-serif; }
.back { font-size: .95rem; }
header { margin: 44px 0 40px; max-width: 900px; }
.eyebrow { color: #9bc8c0; letter-spacing: .12em; font-size: .8rem; line-height: 1.6; }
h1 { font-size: clamp(2.2rem, 5vw, 4.6rem); font-weight: 400; line-height: 1.1; margin: 20px 0; letter-spacing: -.035em; }
h1 em { color: #e9c792; }
.intro { font-size: 1.25rem; line-height: 1.6; color: #c9c3b9; }
.machine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border: 1px solid #455158; border-radius: 7px; overflow: hidden; }
.intake, .output { padding: clamp(22px, 3vw, 38px); }
.intake { background: #202d34; }
.output { background: #1a2329; border-left: 1px solid #455158; }
h2 { margin: 0 0 12px; font-size: 1.8rem; font-weight: 400; line-height: 1.25; }
h3 { font-size: 1.15rem; font-weight: 400; }
.hint { color: #c0c9c9; font-size: .95rem; line-height: 1.6; margin-bottom: 24px; }
label { display: block; font-size: 1rem; margin: 20px 0 8px; color: #eee9df; }
input, textarea { width: 100%; padding: 12px; background: #141e25; border: 1px solid #72868c; border-radius: 3px; color: #f2eee6; font-size: 1rem; line-height: 1.5; }
textarea { resize: vertical; min-height: 90px; }
input::placeholder, textarea::placeholder { color: #97a7ad; opacity: 1; }
button { cursor: pointer; background: transparent; border: 1px solid #92a7ad; border-radius: 3px; padding: 11px 14px; color: #eee9df; font-size: .95rem; line-height: 1.5; }
button:hover { background: #35464c; }
button.primary { background: #e9c792; color: #1a2329; border-color: #e9c792; }
button.primary:hover { background: #f6d9ad; }
button.quiet { border-color: transparent; text-decoration: underline; text-underline-offset: .2em; }
.controls { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
:focus-visible { outline: 3px solid #b6e6dc; outline-offset: 4px; }
.idle { font-size: 1.8rem; font-style: italic; color: #d5c09e; margin-top: 60px; }
.serial { color: #9bc8c0; font-size: .8rem; letter-spacing: .08em; margin-top: 32px; }
blockquote { margin: 22px 0 26px; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.4; color: #f2dbb6; overflow-wrap: anywhere; }
.readout { border-top: 1px solid #455158; margin-top: 30px; padding-top: 10px; }
dl { margin: 14px 0; font-size: .9rem; }
dl div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid #34424a; }
dt { color: #bcc8cb; }
dd { margin: 0; text-align: right; }
summary { cursor: pointer; font-size: .9rem; color: #e9c792; padding: 12px 0; line-height: 1.6; }
#alternates { padding-left: 22px; font-size: 1.05rem; line-height: 1.65; color: #d7d1c7; }
#alternates li { margin-bottom: 12px; }
.status { min-height: 1.5em; font-size: .95rem; line-height: 1.5; color: #b6e6dc; }
footer { color: #bbc5c5; font-size: .9rem; line-height: 1.7; margin-top: 32px; max-width: 780px; }
footer .credit { font-size: .8rem; color: #a4b2b4; }
.no-script { padding: 20px; border: 1px solid #e9c792; }
@media (max-width: 760px) {
  .machine { grid-template-columns: 1fr; }
  .output { border-left: 0; border-top: 1px solid #455158; }
  .idle { margin-top: 24px; }
}
