:root { --bg:#0b0c10; --card:#121318; --ink:#e9eef6; --muted:#a9b2bf; --line:#232633; --brand:#2e7bf0; }
* { box-sizing:border-box; }
html,body { margin:0; padding:0; background:var(--bg); color:var(--ink); font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif; }
.wrap { max-width:1100px; margin:0 auto; padding:16px; }
header h1 { margin:8px 0 2px; font-weight:650; letter-spacing:.2px; }
.sub { color:var(--muted); margin:0 0 12px; }
.cta { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0 0; }
.btn { background:var(--brand); color:#fff; border:0; padding:10px 14px; border-radius:10px; cursor:pointer; text-decoration:none; font-weight:600; }
.btn.ghost { background:transparent; border:1px solid var(--line); color:var(--ink); }
.btn.small { padding:6px 10px; border-radius:8px; font-size:14px; }
.toolbar { display:grid; grid-template-columns:1fr repeat(4, minmax(160px, 200px)) auto; gap:8px; align-items:center; margin:16px 0; }
.toolbar #q { grid-column:1 / span 1; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--ink); }
.toolbar select { padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--ink); }
.toolbar .count { margin-left:auto; color:var(--muted); padding-left:8px; }
.table-wrap { background:var(--card); border:1px solid var(--line); border-radius:14px; overflow:hidden; }
table { width:100%; border-collapse:collapse; }
thead { background:#141622; color:#cfd7e6; }
th, td { padding:10px 12px; border-bottom:1px solid var(--line); text-align:left; }
th { cursor:pointer; user-select:none; font-weight:650; }
tbody tr:hover { background:#151827; }
.pager { display:flex; gap:10px; align-items:center; justify-content:flex-end; padding:10px; }
#page-info { color:var(--muted); }
.foot { color:var(--muted); }
@media (max-width: 900px) {
  .toolbar { grid-template-columns:1fr 1fr; }
  .toolbar .count { grid-column:1 / span 2; justify-self:end; }
  th:nth-child(3), td:nth-child(3), th:nth-child(7), td:nth-child(7) { display:none; } /* hide subcounty & beds on small screens */
}
td.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space:nowrap; }