/* Hydranten Erfassung – © 2026 Simone Loosen, Feuerwehr Kleve. Alle Rechte vorbehalten. Siehe LICENSE. */
:root { --brand:#0F5C6E; --brand-dark:#0A4250; --bg:#F2F5F6; --ok:#2E7D46; --warn:#B26A00; --err:#C22E2E; --muted:#6b7280; }
* { box-sizing: border-box; }
html, body { margin:0; padding:0; background:var(--bg); color:#1b1f27; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; }
.hidden { display:none !important; }
.top { background:var(--brand); color:#fff; display:flex; align-items:center; gap:12px; padding:calc(10px + env(safe-area-inset-top,0)) 16px 10px; position:sticky; top:0; z-index:10; }
.top-logo { width:40px; height:40px; border-radius:10px; }
.top-title { font-weight:700; font-size:18px; }
.top-sub { font-size:12px; opacity:.85; }
main { padding:16px; max-width:720px; margin:0 auto; padding-bottom:40px; }
.foot { text-align:center; font-size:11px; color:#9CA3AF; padding:8px 16px calc(16px + env(safe-area-inset-bottom,0)); }
h2 { margin:0 0 6px; font-size:20px; }
h3 { margin:0 0 8px; font-size:15px; }
.sub { font-size:13px; color:var(--muted); margin:0 0 12px; }
.card { background:#fff; border-radius:14px; padding:14px; margin-bottom:12px; box-shadow:0 1px 3px rgba(0,0,0,.08); }
.stats { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:12px; }
.stat { background:#fff; border-radius:12px; padding:10px 6px; text-align:center; box-shadow:0 1px 3px rgba(0,0,0,.08); }
.stat b { display:block; font-size:20px; color:var(--brand); }
.stat span { font-size:11px; color:var(--muted); }
.btn { display:block; width:100%; border:1px solid var(--brand); background:#fff; color:var(--brand); border-radius:12px; padding:12px 14px; font-size:15px; font-weight:600; cursor:pointer; margin-top:8px; }
.btn-primary { background:var(--brand); color:#fff; }
.btn-danger { border-color:var(--err); color:var(--err); }
.btn-ghost { border-color:#d1d5db; color:#374151; }
.btn:disabled { opacity:.45; cursor:default; }
.row { display:flex; gap:8px; }
.row .btn { margin-top:8px; }
input[type=text], input[type=search], select { width:100%; border:1px solid #d1d5db; border-radius:10px; padding:11px 12px; font-size:16px; background:#fff; }
label.lbl { display:block; font-size:12px; color:var(--muted); margin:10px 0 4px; }
.chips { display:flex; gap:8px; margin:10px 0; flex-wrap:wrap; }
.chip { border:1px solid #d1d5db; background:#fff; border-radius:999px; padding:7px 14px; font-size:14px; cursor:pointer; }
.chip[data-active="true"] { background:var(--brand); color:#fff; border-color:var(--brand); }
.item { background:#fff; border-radius:12px; padding:12px 14px; margin-bottom:8px; box-shadow:0 1px 3px rgba(0,0,0,.08); cursor:pointer; }
.item-name { font-weight:700; }
.item-sub { font-size:13px; color:var(--muted); margin-top:2px; }
.tags { display:flex; gap:6px; flex-wrap:wrap; margin-top:6px; }
.tag { font-size:12px; border-radius:999px; padding:3px 9px; background:#eef0f2; color:#374151; }
.tag.ok { background:#EAF6EE; color:var(--ok); }
.tag.miss { background:#FFF4E0; color:var(--warn); }
.tag.done { background:#E1F0F3; color:var(--brand); }
.back { border:none; background:none; color:var(--brand); font-size:15px; padding:0; margin-bottom:8px; cursor:pointer; }
.coord { font-family:ui-monospace,Menlo,Consolas,monospace; font-size:14px; }
.geo-live { background:#F2F5F6; border-radius:10px; padding:10px 12px; font-size:14px; margin-top:8px; }
.note { font-size:12.5px; color:var(--muted); line-height:1.5; }
.warn { background:#FFF4E0; color:#7a4a00; border-radius:10px; padding:10px 12px; font-size:13px; margin:8px 0; }
.nw { display:flex; align-items:center; border:1px solid #d1d5db; border-radius:10px; background:#fff; overflow:hidden; }
.nw span { padding:0 12px; font-weight:700; color:var(--brand); background:#eef3f4; align-self:stretch; display:flex; align-items:center; }
.nw input { border:none; border-radius:0; }
.toast { position:fixed; left:50%; bottom:calc(60px + env(safe-area-inset-bottom,0)); transform:translateX(-50%); background:#1b1f27; color:#fff; padding:10px 16px; border-radius:999px; font-size:14px; z-index:50; max-width:90%; text-align:center; }
