[hidden] { display: none !important; }
:root { --brand: #2563eb; --ink: #0f172a; --muted: #64748b; --line: #e2e8f0; --bg: #f8fafc; --ok: #16a34a; --warn: #b45309; --bad: #dc2626; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand); }
button, input, select, textarea { font: inherit; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: 9px 16px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.danger { background: #fee2e2; color: #991b1b; }
.btn.small { padding: 5px 10px; font-size: 13px; border-radius: 8px; }
.btn.big { font-size: 20px; padding: 16px 28px; border-radius: 14px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.muted { color: var(--muted); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.center { max-width: 520px; margin: 12vh auto; text-align: center; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=url], input[type=search], input[type=date], input:not([type]), select, textarea {
  width: 100%; padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; }
textarea { min-height: 120px; resize: vertical; }
label.f { display: block; font-size: 13px; font-weight: 600; margin: 10px 0 4px; color: #334155; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; background: #f8fafc; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #e2e8f0; color: #334155; }
.pill.on { background: #dcfce7; color: #166534; }
.pill.warn { background: #fef3c7; color: #92400e; }
/* evacuation page */
.evac { max-width: 1000px; margin: 24px auto; padding: 0 20px; }
.evac h2 small { font-weight: 400; color: var(--muted); font-size: 15px; margin-left: 8px; }
.evac td.chk { font-size: 22px; width: 50px; }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
@media print { .noprint { display: none !important; } body { background: #fff; } .evac { margin: 0; max-width: none; } th { background: #eee !important; } }

.langs { display: flex; gap: 8px; align-items: center; margin: 0 0 14px; }
.langs button { border: 0; background: transparent; color: #475569; font: inherit; font-size: 13px; cursor: pointer; padding: 0; line-height: 1; }
.langs button.on { color: #0f172a; font-weight: 700; }
.topright .langs { margin: 0 10px 0 0; }
