* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: system-ui, sans-serif; color: #eee9f4; background: #18151d; }
body { margin: 0; padding: 24px 16px 48px; }
main { width: min(100%, 740px); margin: 0 auto; }
.waiting main { width: min(100%, 520px); margin-top: 12vh; }
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); margin: 0 0 12px; }
p { line-height: 1.55; }
details, .message { background: #25212d; border: 1px solid #403747; border-radius: 8px; padding: 12px; margin-block: 12px; }
summary { color: #ece0ff; cursor: pointer; }
label { display: block; margin: 12px 0 6px; }
input, textarea, select, button { font: inherit; border: 1px solid #5b4d64; border-radius: 6px; color: inherit; padding: 9px 11px; }
input, textarea, select { background: #1e1925; }
input, textarea { width: 100%; }
textarea { resize: vertical; margin-bottom: 8px; }
button { background: #d3b6f3; color: #22142e; font-weight: 650; cursor: pointer; white-space: nowrap; }
button:disabled { opacity: .5; cursor: wait; }
button.secondary { background: #30273a; color: #eee9f4; }
:focus-visible { outline: 2px solid #e3c7ff; outline-offset: 3px; }
.row { display: flex; align-items: center; gap: 10px; }
.row label { margin: 0; }
.spread { justify-content: space-between; }
.message.user { border-color: #77588d; }
.message p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.muted, #status { color: #cbbfd4; }
#code { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
figure { margin: 16px 0 0; }
figure img { display: block; width: min(100%, 32rem); height: auto; }
a { color: #e3c7ff; }
[hidden] { display: none !important; }
