/* ProtectionMap – calm, plain, readable on a phone in a hurry. Own colours and type (not shared with other sites). */
:root {
  --ink: #1d2a33; --ink-2: #4a5964; --line: #d9dfe3; --bg: #f7f6f2; --card: #ffffff;
  --brand: #1f3a4d; --accent: #2f7d6d; --accent-2: #e8f2ef; --warn: #8a5a00; --warn-bg: #fff6e0;
  --radius: 10px; --w: 760px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, li:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 18px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--card); padding: 8px; z-index: 10; }

.top { background: var(--brand); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: .01em; }
.top nav { display: flex; gap: 14px; flex-wrap: wrap; }
.top nav a { color: #dbe7ee; text-decoration: none; font-size: .95rem; }
.top nav a[aria-current="page"], .top nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.notice { margin: 0 auto; padding-bottom: 10px; font-size: .82rem; color: #c8d6df; }

h1 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); line-height: 1.2; margin: 28px 0 10px; }
h2 { font-size: 1.25rem; margin: 30px 0 8px; }
.lead { font-size: 1.08rem; color: var(--ink-2); }
.prose p { max-width: 68ch; }
.fine, .small { font-size: .86rem; color: var(--ink-2); }
.warn { color: var(--warn); background: var(--warn-bg); padding: 8px 12px; border-radius: 6px; }

.lookup { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 18px 0; position: relative; }
.lookup label { font-weight: 600; display: block; margin-bottom: 6px; }
.field { display: flex; gap: 8px; }
.field input { flex: 1; font-size: 1.1rem; padding: 12px 14px; border: 1px solid #b9c3ca; border-radius: 8px; min-width: 0; }
button, .btn-link { font: inherit; font-weight: 600; background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 12px 16px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-link { background: var(--accent-2); color: var(--accent); }
.help { margin: 8px 0 0; font-size: .9rem; color: var(--ink-2); }
.suggest { list-style: none; margin: 4px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--card); max-height: 320px; overflow: auto; }
.suggest li { padding: 10px 12px; cursor: pointer; border-bottom: 1px solid var(--line); }
.suggest li:last-child { border-bottom: 0; }
.suggest li:hover, .suggest li:focus { background: var(--accent-2); }

.result { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px 16px; margin: 0 0 16px; }
.result h2 { margin-top: 14px; }
.result-adr { color: var(--ink-2); margin-top: 0; }
.rooms { padding-left: 1.4em; }
.rooms li { margin: 0 0 12px; }
.rooms strong { display: block; }
.rooms .meta { color: var(--ink-2); font-size: .93rem; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.map { height: 0; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.map.on { height: 360px; border: 1px solid var(--line); }
.pin { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #fff; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.pin.home { background: var(--brand); width: 18px; height: 18px; }
.pin.room { background: var(--accent); }
.pin.room.public { background: #3c5fa8; }

.household fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); display: flex; gap: 16px; flex-wrap: wrap; padding: 12px 16px; }
.household label { display: flex; align-items: center; gap: 8px; }
.household input[type=number] { width: 4.5em; font-size: 1rem; padding: 6px 8px; border: 1px solid #b9c3ca; border-radius: 6px; }
.total { font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; }
.checklist li { background: var(--card); border: 1px solid var(--line); border-radius: 8px; margin: 0 0 8px; }
.checklist label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; cursor: pointer; }
.checklist input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.progress { font-weight: 600; }

.foot { margin-top: 48px; padding: 20px 0 36px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; }
@media (max-width: 520px) { .field { flex-direction: column; } .map.on { height: 300px; } }

/* Root page: list of countries */
.countries { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.countries li { padding: .7rem .9rem; border: 1px solid #d6dde2; border-radius: 10px; background: #fff; }
