:root { color-scheme: light; font-family: system-ui,-apple-system,"Segoe UI",sans-serif; background:#f6f2e8; color:#18332d; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; }
header,main { width:min(760px,calc(100% - 28px)); margin:auto; }
header { display:flex; align-items:center; justify-content:space-between; padding:28px 0 14px; }
h1,h2,p { margin-top:0; }
h1 { margin-bottom:0; font-size:clamp(1.9rem,7vw,2.7rem); }
h2 { font-size:1.1rem; }
.eyebrow { margin-bottom:4px; color:#57726c; font-size:.82rem; }
.badge { border-radius:999px; background:#d9e9e2; padding:7px 11px; font-size:.8rem; }
.panel { background:#fffdf8; border:1px solid #ded8c9; border-radius:18px; box-shadow:0 8px 28px #294b4012; padding:18px; margin-bottom:14px; }
label { display:block; font-weight:650; }
textarea { width:100%; margin-top:8px; padding:13px; border:1px solid #b7c4be; border-radius:12px; resize:vertical; font:inherit; line-height:1.55; background:white; }
textarea:focus { outline:3px solid #b9ddd1; border-color:#225b4f; }
button { border:0; border-radius:11px; padding:11px 15px; background:#225b4f; color:white; font:inherit; font-weight:700; }
button:disabled { opacity:.55; }
button.secondary { background:#e2ebe7; color:#173b32; }
.row,.form-footer,.section-title { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; }
.section-title h2 { margin:0; }
.confirm { font-weight:500; line-height:1.5; }
.privacy { color:#5c6d68; margin:12px 0 0; font-size:.88rem; }
.error { color:#a12c2c; min-height:1.3em; }
#scanner { width:100%; margin-top:12px; border-radius:12px; background:#111; }
.queue-item { border-top:1px solid #e4dfd4; padding:13px 0 5px; }
.queue-item:first-child { border-top:0; }
.queue-item p { white-space:pre-wrap; overflow-wrap:anywhere; margin-bottom:7px; }
.queue-meta { color:#60716b; font-size:.82rem; display:flex; gap:9px; flex-wrap:wrap; }
.warning { color:#9a4f00; font-weight:700; }
#toast { position:fixed; left:50%; bottom:22px; transform:translateX(-50%); width:min(90%,520px); padding:12px 15px; border-radius:12px; background:#18332d; color:white; text-align:center; }
@media (max-width:620px) { header { padding-top:max(20px,env(safe-area-inset-top)); } .row { align-items:stretch; flex-direction:column; } .row button { width:100%; } }
