:root { --bg:#f4f2ee; --card:#fff; --ink:#1f2937; --muted:#6b7280; --brand:#c2410c; --bad:#b91c1c; --ok:#15803d; }
* { box-sizing: border-box; }
body { margin:0; font:16px/1.45 system-ui, sans-serif; background:var(--bg); color:var(--ink); }
.top { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; background:#1e293b; color:#fff; }
main { max-width:720px; margin:0 auto; padding:16px; }
.card { background:var(--card); border-radius:12px; padding:16px; margin-bottom:12px; box-shadow:0 1px 2px #0001; }
label { display:block; margin:8px 0; font-weight:600; }
input, textarea { width:100%; padding:10px; font:inherit; border:1px solid #cbd5e1; border-radius:8px; margin-top:4px; }
button { font:inherit; padding:10px 16px; border-radius:8px; border:1px solid #cbd5e1; background:#fff; cursor:pointer; min-height:44px; }
button.primary { background:var(--brand); border-color:var(--brand); color:#fff; font-weight:700; }
.row { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.muted { color:var(--muted); }
.err { color:var(--bad); font-weight:600; }
ul.items { list-style:none; padding:0; margin:0; }
ul.items li { display:flex; justify-content:space-between; gap:8px; padding:10px 0; border-bottom:1px solid #e5e7eb; }
#toast { position:fixed; left:50%; bottom:20px; transform:translateX(-50%); max-width:90vw; }
#toast div { background:#111827; color:#fff; padding:10px 14px; border-radius:8px; margin-top:6px; }
#toast div.error { background:var(--bad); }
