:root {
  --ink: #0f1b3d;
  --ink-soft: #5a6485;
  --line: #e7ebf5;
  --bg: #f3f5fb;
  --card: #ffffff;
  --brand: #2f5bff;
  --brand-2: #6a8bff;
  --brand-deep: #0f1b3d;
  --ok: #16a34a;
  --ok-bg: #e7f7ec;
  --warn: #d97706;
  --warn-bg: #fdf0dd;
  --bad: #dc2626;
  --bad-bg: #fdeaea;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 27, 61, 0.08);
  --shadow-sm: 0 3px 12px rgba(15, 27, 61, 0.06);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.brand-mark {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 6px 16px rgba(47,91,255,0.35);
}
.brand-mark::before {
  content: "";
  width: 70%; height: 70%;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><rect x='7' y='15' width='34' height='18' rx='3.6' fill='%23fff'/><rect x='10.8' y='18.4' width='10.4' height='11.2' rx='2.2' fill='%232f5bff'/><rect x='24.5' y='19.2' width='12.5' height='2.2' rx='1.1' fill='%232f5bff'/><rect x='24.5' y='22.9' width='13.5' height='2.2' rx='1.1' fill='%232f5bff'/><rect x='24.5' y='26.6' width='10' height='2.2' rx='1.1' fill='%232f5bff'/></svg>") center / contain no-repeat;
}
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: -0.2px; }
.brand-name b { font-weight: 800; color: var(--brand-2); }

/* ---------- Login ---------- */
body.login {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(1000px 500px at 50% -200px, #dbe4ff 0, rgba(219,228,255,0) 70%), var(--bg);
}
.login-card { width: 100%; max-width: 400px; background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 34px 30px; }
.login-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.login-brand .brand-name { color: var(--ink); }
.login-brand .brand-name b { color: var(--brand); }
.login-title { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.login-sub { font-size: 14px; color: var(--ink-soft); margin: 0 0 22px; }
.login-error { background: var(--bad-bg); color: #b91c1c; font-size: 13px; font-weight: 600; padding: 10px 13px; border-radius: 10px; margin-bottom: 16px; }
.ok-banner { background: var(--ok-bg); color: #15803d; font-size: 13px; font-weight: 600; padding: 10px 13px; border-radius: 10px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.login-form { display: grid; gap: 14px; }

.field { display: grid; gap: 6px; }
.field-label { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.field input, .field select {
  width: 100%; border: 1px solid var(--line); background: #fbfcff; border-radius: 11px;
  padding: 11px 13px; font-size: 14px; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47,91,255,0.15); }
.field input[type="file"] { padding: 8px; background: #fff; font-size: 13px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 700; padding: 10px 16px; border-radius: 11px; cursor: pointer;
  transition: transform .05s, box-shadow .15s, background .15s;
}
.btn:hover { box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(47,91,255,0.30); }
.btn-primary:hover { background: #1f48ed; }
.btn-danger { background: #fff; border-color: #f3c6c6; color: var(--bad); }
.btn-danger:hover { background: var(--bad-bg); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--brand); }
.btn-ghost:hover { background: rgba(47,91,255,0.07); border-color: var(--brand-2); }
.btn-ghost svg { stroke: currentColor; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Admin layout ---------- */
body.admin { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }

.sidebar {
  background: linear-gradient(180deg, var(--brand-deep) 0%, #14224d 100%);
  color: #cdd6f5; padding: 22px 16px; display: flex; flex-direction: column; gap: 26px;
  position: sticky; top: 0; height: 100vh;
}
.sb-brand { display: flex; align-items: center; gap: 9px; padding: 4px 8px; }
.sb-brand .brand-name { color: #fff; }
.sb-brand .brand-name b { color: var(--brand-2); }
.sb-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sb-link {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 11px;
  font-size: 14px; font-weight: 600; color: #aab6e0; transition: background .15s, color .15s;
}
.sb-link svg { width: 20px; height: 20px; }
.sb-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.sb-link.is-active { background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(47,91,255,0.35); }
.sb-back { color: #8ea0d6; font-weight: 600; }
.sb-back:hover { background: rgba(255,255,255,0.06); color: #fff; }
.sb-viewing {
  display: flex; flex-direction: column; gap: 2px;
  margin: 2px 4px 8px; padding: 10px 12px; border-radius: 11px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
}
.sb-viewing-label { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #7e8fc4; }
.sb-viewing-name { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sb-logout button {
  width: 100%; display: flex; align-items: center; gap: 10px; justify-content: center;
  background: rgba(255,255,255,0.06); color: #cdd6f5; border: 0; border-radius: 11px;
  padding: 11px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.sb-logout button svg { width: 18px; height: 18px; }
.sb-logout button:hover { background: rgba(255,255,255,0.12); color: #fff; }

.content { padding: 26px 30px 40px; min-width: 0; }
.content-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.page-title { font-size: 24px; font-weight: 800; margin: 0; letter-spacing: -0.3px; }
.who { display: flex; align-items: center; gap: 11px; }
.who-info { text-align: right; }
.who-name { font-size: 14px; font-weight: 700; }
.who-role { font-size: 12px; color: var(--ink-soft); }
.who-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.stat-k { font-size: 12px; color: var(--ink-soft); font-weight: 600; margin-bottom: 8px; }
.stat-v { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }
.stat-v--ok { color: var(--ok); }
.stat-v--warn { color: var(--warn); }

/* ---------- Panels ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.panel--narrow { max-width: 720px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.panel-title { font-size: 17px; font-weight: 800; margin: 0; }
.count { display: inline-block; min-width: 22px; text-align: center; font-size: 12px; font-weight: 700; color: var(--brand); background: #eef2ff; border-radius: 999px; padding: 2px 8px; margin-left: 6px; }
.muted { color: var(--ink-soft); font-size: 14px; }
.muted a { color: var(--brand); font-weight: 600; }
.back { display: inline-block; color: var(--ink-soft); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.back:hover { color: var(--brand); }

/* ---------- People list ---------- */
.people { display: grid; gap: 8px; }
.person { display: flex; align-items: center; gap: 13px; padding: 11px; border-radius: 13px; border: 1px solid transparent; transition: background .12s, border-color .12s; }
.person:hover { background: #f7f9ff; border-color: var(--line); }
.person-av { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, var(--brand), #8aa2ff); color: #fff; font-weight: 800; font-size: 15px; }
.person-av--sm { width: 34px; height: 34px; font-size: 13px; border-radius: 10px; }
.person-av--lg { width: 64px; height: 64px; font-size: 22px; border-radius: 18px; }
.person-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.person-name { font-weight: 700; font-size: 15px; }
.person-sub { font-size: 13px; color: var(--ink-soft); }

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--active { color: var(--ok); background: var(--ok-bg); }
.chip--inactive { color: var(--ink-soft); background: #eef1f8; }
.chip--suspended { color: var(--warn); background: var(--warn-bg); }

/* ---------- Table ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--ink-soft); font-weight: 700; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.table tbody tr { cursor: pointer; transition: background .12s; }
.table tbody tr:hover { background: #f7f9ff; }
.cell-person { display: flex; align-items: center; gap: 11px; }
.cell-name { font-weight: 700; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field--full { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.add-doc { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line); }
.add-doc-title { font-size: 14px; font-weight: 800; }

/* ---------- Detail ---------- */
.detail-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.detail-name { font-size: 22px; font-weight: 800; margin: 0 0 3px; }
.detail-pos { font-size: 14px; color: var(--ink-soft); margin-bottom: 9px; }
.detail-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.fact { display: flex; flex-direction: column; gap: 3px; }
.fact-k { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--ink-soft); font-weight: 600; }
.fact-v { font-size: 15px; font-weight: 600; }

/* card panel */
.card-row { display: flex; gap: 20px; align-items: center; }
.card-qr { width: 110px; height: 110px; border: 1px solid var(--line); border-radius: 14px; padding: 6px; background: #fff; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* documents */
.doclist { display: grid; gap: 10px; margin-bottom: 4px; }
.doc { display: flex; align-items: center; gap: 13px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; }
.doc-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 13px; color: var(--brand); background: #eef2ff; }
.doc-ic svg { width: 24px; height: 24px; }
.doc-ic--permit { color: var(--ok); background: var(--ok-bg); }
.doc-ic--registration { color: var(--warn); background: var(--warn-bg); }
.doc-body { flex: 1; min-width: 0; }
.doc-label { font-weight: 700; font-size: 15px; }
.doc-number { font-size: 13px; color: var(--ink-soft); letter-spacing: .3px; margin-top: 1px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; align-items: center; }
.exp { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; }
.exp--valid { color: var(--ok); background: var(--ok-bg); }
.exp--soon { color: var(--warn); background: var(--warn-bg); }
.exp--expired { color: var(--bad); background: var(--bad-bg); }
.exp--none { display: none; }
.doc-issuer { font-size: 11px; color: var(--ink-soft); }

/* ---------- Map (кто где) ---------- */
.panel--flush { padding: 0; overflow: hidden; }
.panel-head--pad { padding: 16px 20px; margin-bottom: 0; border-bottom: 1px solid var(--line); }
.geo-hint { font-size: 13px; }

.geo { display: grid; grid-template-columns: 320px 1fr; height: 620px; }

/* left list */
.geo-list { border-right: 1px solid var(--line); overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 3px; }
.geo-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 10px; border-radius: 13px; border: 1px solid transparent; background: transparent;
  cursor: pointer; font: inherit; color: inherit; transition: background .12s, border-color .12s;
}
.geo-item:hover { background: #f7f9ff; }
.geo-item.is-active { background: #eef2ff; border-color: #d9e2ff; }
.geo-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.geo-item-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.geo-item-sub { font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.geo-pass { font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.geo-item-ago { font-size: 11px; color: #9aa3c0; margin-top: 2px; }
.chip--bare { background: transparent; padding: 0; align-self: flex-start; margin-top: 4px; }
.chip--bare::before { width: 9px; height: 9px; }

/* circular avatar with status ring */
.geo-av, .gd-av {
  flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  color: #fff; font-weight: 800; background: linear-gradient(140deg, var(--brand), #8aa2ff);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ring, var(--brand));
}
.geo-av { width: 44px; height: 44px; font-size: 15px; }
.gd-av { width: 60px; height: 60px; font-size: 21px; }
.geo-av img, .gd-av img { width: 100%; height: 100%; object-fit: cover; }
.geo-av--active, .gd-av--active { --ring: var(--ok); }
.geo-av--suspended, .gd-av--suspended { --ring: var(--warn); }
.geo-av--inactive, .gd-av--inactive { --ring: #c2cadf; }

/* map */
.geo-map-wrap { position: relative; min-width: 0; }
.geo-map { height: 620px; width: 100%; }

/* photo pins */
.leaflet-marker-icon.pin-wrap { background: transparent; border: 0; }
.pin { position: relative; width: 50px; height: 50px; }
.pin::after {
  content: ""; position: absolute; bottom: -5px; left: 50%; width: 10px; height: 10px;
  background: #fff; border-radius: 0 0 2px 0; transform: translateX(-50%) rotate(45deg);
  box-shadow: 3px 3px 7px rgba(15, 27, 61, .18); z-index: -1;
}
.pin-av {
  width: 44px; height: 44px; margin: 3px auto 0; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px;
  background: linear-gradient(140deg, var(--brand), #8aa2ff); border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(15, 27, 61, .35); position: relative;
  transition: transform .18s, box-shadow .18s;
}
.pin-av img { width: 100%; height: 100%; object-fit: cover; }
.pin-av::after {
  content: ""; position: absolute; right: -2px; bottom: -2px; width: 14px; height: 14px;
  border-radius: 50%; border: 2.5px solid #fff; background: var(--dot, var(--ok));
}
.pin--active .pin-av::after { background: var(--ok); }
.pin--suspended .pin-av::after { background: var(--warn); }
.pin--inactive .pin-av::after { background: #9aa3c0; }
.pin-wrap--active .pin-av { transform: scale(1.14); box-shadow: 0 8px 22px rgba(47, 91, 255, .5); }
.pin-wrap--active { z-index: 1000 !important; }

/* detail drawer */
.geo-detail {
  position: absolute; top: 0; right: 0; height: 100%; width: 340px; max-width: 88%;
  background: #fff; border-left: 1px solid var(--line); box-shadow: -16px 0 40px rgba(15, 27, 61, .12);
  transform: translateX(106%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  z-index: 1100; display: flex; flex-direction: column;
}
.geo-detail.is-open { transform: none; }
.geo-detail-close {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; display: grid; place-items: center;
  cursor: pointer; color: var(--ink-soft); z-index: 2;
}
.geo-detail-close:hover { background: #f3f5fb; color: var(--ink); }
.geo-detail-close svg { width: 18px; height: 18px; }
.geo-detail-body { padding: 22px 20px; overflow-y: auto; }
.gd-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; padding-right: 30px; }
.gd-name { font-size: 18px; font-weight: 800; line-height: 1.2; }
.gd-pos { font-size: 13px; color: var(--ink-soft); margin: 2px 0 8px; }
.gd-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gd-fact-k { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--ink-soft); font-weight: 600; margin-bottom: 2px; }
.gd-fact-v { font-size: 14px; font-weight: 600; word-break: break-word; }
.gd-section-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--ink-soft); margin: 18px 0 10px; }
.gd-docs { display: grid; gap: 8px; }
.gd-doc { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; }
.gd-doc-label { font-weight: 700; font-size: 13px; }
.gd-doc-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.gd-doc-exp { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: #eef1f8; }
.gd-doc-exp--valid { color: var(--ok); background: var(--ok-bg); }
.gd-doc-exp--soon { color: var(--warn); background: var(--warn-bg); }
.gd-doc-exp--expired { color: var(--bad); background: var(--bad-bg); }
.gd-seen { display: flex; gap: 11px; align-items: center; margin: 18px 0; padding: 13px 14px; background: #f7f9ff; border-radius: 13px; }
.gd-seen svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.gd-seen-main { font-weight: 700; font-size: 14px; }
.gd-seen-sub { font-size: 12px; color: var(--ink-soft); margin-top: 1px; }
.gd-actions { display: grid; gap: 10px; }

/* empty */
.geo-empty { padding: 64px 24px; text-align: center; }
.geo-empty svg { width: 54px; height: 54px; color: #c2cadf; margin-bottom: 14px; }

/* empty-state overlay shown on top of the live map until first ping arrives */
.geo-overlay {
  position: absolute;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px 28px;
  text-align: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(2px);
  pointer-events: none;
}
.geo-overlay[hidden] { display: none; }
.geo-overlay svg { width: 54px; height: 54px; color: #c2cadf; }
.geo-overlay p { max-width: 360px; }

/* ---------- Registration / org moderation ---------- */
.login-card--wide { max-width: 560px; }
.login-foot { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--ink-soft); }
.login-foot a { color: var(--brand); font-weight: 600; text-decoration: none; }
.form-sep {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px;
}
.reg-success { text-align: center; display: grid; gap: 8px; justify-items: center; }
.reg-success__icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ok); background: var(--ok-bg); margin-bottom: 6px;
}
.reg-success__icon svg { width: 30px; height: 30px; }
.reg-success .btn { margin-top: 14px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Modal (native <dialog>) ---------- */
.modal {
  border: none; border-radius: 18px; padding: 0; width: min(420px, calc(100vw - 32px));
  box-shadow: 0 24px 60px rgba(16, 32, 78, 0.28); color: var(--ink);
}
.modal::backdrop { background: rgba(16, 24, 54, 0.45); backdrop-filter: blur(2px); }
.modal-card { display: grid; gap: 12px; padding: 24px; }
.modal-title { margin: 0; font-size: 18px; font-weight: 800; }
.modal-sub { margin: -4px 0 4px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.row-actions form { margin: 0; }
.muted.sm, .sm { font-size: 12px; }
.chip--pending { color: var(--warn); background: var(--warn-bg); }
.chip--approved { color: var(--ok); background: var(--ok-bg); }
.chip--rejected { color: var(--bad); background: var(--bad-bg); }

@media (max-width: 900px) {
  body.admin { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .sb-nav { flex-direction: row; }
  .sb-logout { margin-left: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-grid, .detail-facts { grid-template-columns: 1fr; }
  .geo { grid-template-columns: 1fr; height: auto; }
  .geo-list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .geo-item { flex: 0 0 auto; width: 220px; }
  .geo-map, .geo-map-wrap { height: 460px; }
  .geo-detail { width: 100%; max-width: 100%; }
}
