:root {
  color-scheme: light;
  --ink: #21262b;
  --muted: #50575c;
  --line: #d8d1c4;
  --accent: #252321;
  font: 16px/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: #f5f2eb;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; padding: 1.65rem 1rem; }
header { display: flex; justify-content: center; margin-bottom: 1.5rem; }
header a { background: white; border-radius: 12px; padding: .5rem 1rem; }
header img { width: min(220px, 60vw); height: auto; display: block; }
main { width: min(100%, 680px); margin-inline: auto; padding: clamp(1.3rem, 5vw, 2.6rem); background: white; border-radius: 20px; box-shadow: 0 16px 48px #19313b17; border-top: 5px solid #e8a600; }
h1 { margin: 0; font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.12; letter-spacing: -.035em; }
p { color: var(--muted); margin: .8rem 0 1.5rem; }
label { display: block; font-weight: 650; margin-bottom: .35rem; }
label span, small, footer { color: var(--muted); }
textarea, input, select, button { font: inherit; }
textarea, input, select { background: #fcfaf6; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: .65rem .8rem; }
textarea, input { width: 100%; }
textarea { resize: vertical; min-height: 7rem; margin-bottom: 1rem; }
small { display: block; margin-top: .35rem; }
.actions { display: flex; justify-content: space-between; align-items: end; gap: .85rem; flex-wrap: wrap; margin-top: 1.35rem; }
button { border: 0; border-radius: 8px; background: #efad19; color: #252321; padding: .72rem 1.2rem; font-weight: 700; cursor: pointer; }
button:hover { background: #e6a10a; }
button:disabled { opacity: .6; cursor: wait; }
a { color: var(--accent); font-weight: 600; }
:focus-visible { outline: 3px solid #8b5a03; outline-offset: 3px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 1rem; background: #f3f6f7; border-radius: 8px; }
li { overflow-wrap: anywhere; margin: .35rem 0; }
#status { background: #fff1cc; border-radius: 8px; padding: .7rem .85rem; margin: 1rem 0 0; }
footer { margin: 1.35rem auto 0; text-align: center; font-size: .9rem; }
