
:root {
  --bg: #f2f4ef;
  --panel: #ffffff;
  --panel-2: #f5f7f3;
  --line: #e3e8e0;
  --ink: #17211b;
  --ink-2: #4e5b53;
  --ink-3: #8a968e;
  --oak: #3f6b35;
  --oak-deep: #2d5025;
  --oak-lite: #62904d;
  --oak-ink: #ffffff;
  --oak-soft: #e5eedf;
  --ember: #e5672b;
  --ember-soft: #fce9dd;
  --honey: #e3a332;
  --honey-soft: #fbf0d8;
  --wood: #8b5a2b;
  --seal-ink: #6b4300;
  --gold: #f1c75b; --silver: #dfe3e6; --bronze: #ebc3a0;
  --t-public: #3f6b35; --t-spa: #3a78b5; --t-private: #a4673a; --t-unknown: #a3aca6;
  --shadow-s: 0 1px 2px rgba(23, 40, 27, .06), 0 2px 8px -2px rgba(23, 40, 27, .08);
  --shadow: 0 1px 2px rgba(23, 40, 27, .05), 0 18px 40px -16px rgba(23, 40, 27, .28);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f1311; --panel: #171c19; --panel-2: #1e2420; --line: #29312c;
    --ink: #edf1ec; --ink-2: #aeb9b1; --ink-3: #75817a;
    --oak: #93c47a; --oak-deep: #6f9f5b; --oak-lite: #b9dca3; --oak-ink: #0e170f; --oak-soft: #213020;
    --ember: #ff8a4f; --ember-soft: #3b2418; --honey: #f2c160; --honey-soft: #362b16; --wood: #c8925e; --seal-ink: #3a2400;
    --gold: #b88a2a; --silver: #5b6368; --bronze: #8a5a3a;
    --t-public: #93c47a; --t-spa: #7fb0e0; --t-private: #d29a6a; --t-unknown: #6c7870;
    --shadow-s: 0 1px 2px rgba(0, 0, 0, .3); --shadow: 0 18px 40px -14px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1311; --panel: #171c19; --panel-2: #1e2420; --line: #29312c;
  --ink: #edf1ec; --ink-2: #aeb9b1; --ink-3: #75817a;
  --oak: #93c47a; --oak-deep: #6f9f5b; --oak-lite: #b9dca3; --oak-ink: #0e170f; --oak-soft: #213020;
  --ember: #ff8a4f; --ember-soft: #3b2418; --honey: #f2c160; --honey-soft: #362b16; --wood: #c8925e; --seal-ink: #3a2400;
  --gold: #b88a2a; --silver: #5b6368; --bronze: #8a5a3a;
  --t-public: #93c47a; --t-spa: #7fb0e0; --t-private: #d29a6a; --t-unknown: #6c7870;
  --shadow-s: 0 1px 2px rgba(0, 0, 0, .3); --shadow: 0 18px 40px -14px rgba(0, 0, 0, .7);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.5 var(--body); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
  display: grid; grid-template-rows: auto 1fr;
  grid-template-columns: minmax(0, 1fr);   
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 2px; border-radius: 6px; }
a { color: var(--oak); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow b { color: var(--ember); font-weight: 700; }
.hint { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.center { text-align: center; }
.dot { width: 16px; height: 16px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; vertical-align: -3px; background: var(--t-unknown); color: var(--panel); }
.dot svg { width: 11px; height: 11px; fill: currentColor; }
.dot.t-public { background: var(--t-public); } .dot.t-spa { background: var(--t-spa); } .dot.t-private { background: var(--t-private); }
.top {
  position: relative; z-index: 1100; display: flex; align-items: center; gap: 16px;
  padding: 10px 20px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.mark { width: 44px; height: 44px; flex: none; overflow: visible; }
.mark .venik, .lost-mark .venik { transform-box: view-box; transform-origin: 24px 40px; }
@media (prefers-reduced-motion: no-preference) {
  .brand:hover .mark .venik, .brand:focus-visible .mark .venik { animation: swing .9s var(--ease); }
  @keyframes swing { 0% { transform: rotate(0); } 30% { transform: rotate(-12deg); } 60% { transform: rotate(7deg); } 80% { transform: rotate(-3deg); } 100% { transform: rotate(0); } }
}
.brand .word { font: 800 22px/1 var(--display); letter-spacing: .01em; }
.brand .claim { font: 600 10px/1.3 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); padding-left: 10px; border-left: 1.5px solid var(--line); }
.nav { display: flex; gap: 4px; margin-inline: auto; padding: 4px; background: var(--panel); border-radius: 999px; box-shadow: var(--shadow-s); }
.nav a {
  position: relative; display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  padding: 8px 16px; border-radius: 999px; color: var(--ink-2); font-weight: 600; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a .ic { width: 18px; height: 18px; }
.nav a:hover { color: var(--ink); background: var(--panel-2); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--panel); }
.top-spacer { width: 44px; flex: none; }   
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; white-space: nowrap; text-decoration: none;
  background: var(--oak); color: var(--oak-ink); font-weight: 700; padding: 11px 18px; border-radius: 999px;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--oak) 70%, transparent);
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.cta:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--oak) 80%, transparent); }
.cta:active { transform: translateY(0) scale(.98); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; text-decoration: none;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink); padding: 9px 15px; border-radius: 999px; font-weight: 600;
  transition: border-color .2s, background .2s;
}
.btn:hover { border-color: var(--ink-3); }
.btn .ic, .cta .ic { width: 17px; height: 17px; }
main { min-height: 0; position: relative; }
.view { height: 100%; }
.searchbox {
  display: flex; align-items: center; gap: 9px; padding: 0 14px; height: 44px; border-radius: var(--r);
  background: var(--panel-2); border: 1.5px solid transparent; color: var(--ink-3); transition: border-color .2s, background .2s;
}
.searchbox:focus-within { border-color: var(--oak); background: var(--panel); }
.searchbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); height: 100%; }
.view-map { position: relative; }
#map { position: absolute; inset: 0; background: var(--bg); }
.leaflet-container { font-family: var(--body); }
.leaflet-container:focus-visible { outline-offset: -2px; }
.tiles-soft { filter: grayscale(.8) sepia(.08) brightness(1.04) contrast(.92); }
.tiles-dark { filter: invert(1) hue-rotate(180deg) grayscale(.6) brightness(.8) contrast(.92); }
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--shadow-s) !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-control-zoom a { background: var(--panel) !important; color: var(--ink) !important; border-color: var(--line) !important; width: 36px !important; height: 36px !important; line-height: 36px !important; }
.leaflet-control-attribution { background: color-mix(in srgb, var(--panel) 80%, transparent) !important; color: var(--ink-3) !important; border-radius: 8px 0 0 0; font-size: 11px; }
.leaflet-control-attribution a { color: var(--ink-2) !important; }
#map .leaflet-top.leaflet-left { left: 392px; top: 4px; }   
.view-bath #map .leaflet-top.leaflet-left { left: 442px; }
.pin {
  position: relative; border-radius: 50%; background: var(--c); border: 2px solid var(--panel); color: var(--panel);
  display: grid; place-items: center; box-shadow: 0 2px 6px rgba(20, 30, 20, .35); transition: transform .2s var(--ease);
}
.pin svg { width: 64%; height: 64%; fill: currentColor; }
.pin:hover, .pin.hot { transform: scale(1.25); }
.pin.dim { opacity: .55; }
.pin.owned { box-shadow: 0 0 0 3px var(--honey), 0 2px 6px rgba(20, 30, 20, .35); }
.pin-drop { position: relative; width: 40px; height: 52px; filter: drop-shadow(0 3px 3px rgba(20, 30, 20, .3)); }
.pin-drop-bg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pin-drop-bg path { fill: var(--c); stroke: var(--panel); stroke-width: 2.2; stroke-linejoin: round; }
.pin-drop > svg:not(.pin-drop-bg) { position: absolute; left: 9.5px; top: 9px; width: 21px; height: 21px; fill: var(--panel); }
.pin-drop::after { content: ""; position: absolute; left: 14px; bottom: 0; width: 12px; height: 5px; border-radius: 50%; background: rgba(20, 30, 20, .28); z-index: -1; }
@media (prefers-reduced-motion: no-preference) {
  .pin-drop { animation: pin-drop .3s var(--ease); transform-origin: 50% 100%; }
  @keyframes pin-drop { from { transform: translateY(-10px) scale(.8); opacity: 0; } }
}
.marker-cluster { border-radius: 50%; background: color-mix(in srgb, var(--oak) 22%, transparent); }
.marker-cluster:hover div { background: var(--oak-deep); }
.marker-cluster div { width: 32px; height: 32px; margin: 4px; border-radius: 50%; background: var(--oak); color: var(--oak-ink); text-align: center; font: 700 12px/32px var(--display); box-shadow: 0 2px 6px rgba(20, 30, 20, .3); }
.here { width: 18px; height: 18px; border-radius: 50%; background: #2b7de9; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(43, 125, 233, .25); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--panel); color: var(--ink); box-shadow: var(--shadow); }
.leaflet-popup-content-wrapper { border-radius: var(--r); }
.leaflet-popup-content { margin: 12px 16px; font-size: 14px; line-height: 1.4; }
.leaflet-popup-content a.pp-name { display: block; font-weight: 700; color: var(--ink); text-decoration: none; }
.leaflet-popup-content a.pp-name:hover { color: var(--oak); text-decoration: underline; }
.leaflet-popup-content .pp-meta { display: block; color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--ink-3); }
.panel {
  position: absolute; z-index: 700; top: 8px; left: 16px; bottom: 16px; width: 360px;
  display: flex; flex-direction: column; background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden;
}
.panel-head {
  padding: 18px 18px 12px;
  background: radial-gradient(120% 140% at 0% 0%, var(--honey-soft), transparent 55%), radial-gradient(120% 140% at 100% 0%, var(--oak-soft), transparent 60%);
}
.panel-head h1 { font: 700 22px/1.15 var(--display); letter-spacing: -.02em; margin: 6px 0 0; text-wrap: balance; }
.panel-head .eyebrow a { color: inherit; text-decoration: none; }
.panel-head .eyebrow a:hover { color: var(--ink); text-decoration: underline; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.kpis div { display: grid; gap: 2px; }
.kpis b { font: 700 24px/1 var(--display); letter-spacing: -.02em; }
.kpis span { font-size: 12px; color: var(--ink-2); }
.cities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cities a {
  display: inline-flex; align-items: baseline; gap: 5px; border: 1.5px solid var(--line); background: var(--panel); text-decoration: none;
  border-radius: 999px; padding: 4px 11px; font-size: 13px; font-weight: 600; color: var(--ink-2); transition: border-color .15s var(--ease);
}
.cities a:hover { border-color: var(--ink-3); color: var(--ink); }
.cities a small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.filters { padding: 4px 16px 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.countrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-right: 12px; }
.count { flex: 1; min-width: 0; padding: 8px 18px; font-size: 12px; color: var(--ink-3); }
.near-btn { flex: none; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-weight: 600; font-size: 12px; white-space: nowrap; }
.near-btn[aria-pressed="true"] { background: var(--oak); border-color: var(--oak); color: var(--panel); }
.near-btn:disabled { opacity: .6; }
.list { overflow: auto; flex: 1; margin: 0; padding: 0 8px 8px; list-style: none; overscroll-behavior: contain; }
.item {
  display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  color: inherit; text-decoration: none; padding: 10px 10px; border-radius: 12px; transition: background .15s;
}
@media (hover: hover) { .item:hover { background: var(--panel-2); } }
.item.active { background: var(--oak-soft); }
.it-name { display: block; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.it-meta { display: block; font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.it-km { font-size: 12px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.empty { padding: 18px 10px; font-size: 13px; color: var(--ink-3); text-align: center; }
.panel-foot { padding: 10px 18px 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.panel-foot a { color: var(--ink-2); }
.card {
  position: absolute; z-index: 800; top: 8px; left: 16px; bottom: 16px; width: 410px;
  background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden;
}
.d-body { flex: 1; min-height: 0; overflow: auto; padding: 0 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; grid-auto-rows: max-content; overscroll-behavior: contain; }
.d-hero { margin: 0 -22px; padding: 20px 22px 2px; background: linear-gradient(180deg, var(--tint), transparent 92%); }
.d-hero.t-public { --tint: var(--oak-soft); } .d-hero.t-spa { --tint: color-mix(in srgb, var(--t-spa) 14%, var(--panel)); }
.d-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 28px; font-size: 13px; color: var(--ink-2); }
.d-meta .t { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.d-meta a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.d-meta a:hover { color: var(--ink); text-decoration: underline; }
.d-hero h1 { font: 700 25px/1.15 var(--display); letter-spacing: -.02em; margin: 6px 0 8px; text-wrap: balance; }
.d-hero h1.long { font: 750 22px/1.25 var(--body); letter-spacing: -.01em; }   
.where { display: flex; align-items: flex-start; gap: 6px; margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.where .ic { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--ink-3); }
.d-foot { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; padding: 12px 22px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--panel); }
.d-foot .cta, .d-foot .btn { justify-content: center; }
h2.h3, h3 { font: 600 12px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0 0 10px; }
.facts { display: grid; margin: 0; }
.facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--ink-3); }
.facts dd { margin: 0; font-size: 15px; }
.note-soft { margin: 0; font-size: 13px; background: var(--honey-soft); color: color-mix(in srgb, var(--honey) 40%, var(--ink)); padding: 10px 12px; border-radius: 12px; }
.links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; align-items: baseline; }
.links a { color: var(--oak); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.links a:hover { text-decoration: underline; }
.near { margin: 0 -10px; padding: 0; list-style: none; }
.page { overflow: auto; padding-inline: 20px; padding-block: 12px 72px;
  background: radial-gradient(900px 360px at 12% -8%, var(--honey-soft), transparent 70%), radial-gradient(900px 360px at 92% -10%, var(--oak-soft), transparent 70%), var(--bg); }
.wrap { max-width: 1080px; margin-inline: auto; }
.wrap.narrow { max-width: 720px; }
.page-head { margin: 20px 0 24px; }
.page h1 { font: 800 clamp(30px, 5vw, 46px)/1.02 var(--display); letter-spacing: -.02em; margin: 8px 0 0; text-wrap: balance; }
.lead { color: var(--ink-2); margin: 14px 0 0; max-width: 62ch; font-size: 16px; }
.h2 { font: 700 22px/1.2 var(--display); margin: 36px 0 14px; }
.fine { display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); }
.fine p { margin: 0; }
.fine b { color: var(--ink); }
.towns { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.towns li { border-bottom: 1px solid var(--line); }
.towns a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.towns a:hover { color: var(--oak); }
.towns small { flex: none; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.region { margin: 18px 0 6px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 1180px) { .brand .claim { display: none; } }
@media (max-width: 760px) {
  .top { padding: 8px 16px; gap: 10px; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .mark { width: 38px; height: 38px; }
  .top-spacer { display: none; }
  :root { --nav-h: 70px; }
  .nav {
    position: fixed; z-index: 1500; left: 0; right: 0; bottom: 0; margin: 0; border-radius: 0; padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
    justify-content: space-around; box-shadow: 0 -1px 0 var(--line); background: color-mix(in srgb, var(--panel) 94%, transparent); backdrop-filter: blur(12px);
  }
  .nav a { flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 3px; padding: 8px 2px; font-size: 11px; border-radius: 12px; }
  .nav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .nav a .ic { width: 22px; height: 22px; }
  .nav a[aria-current="page"] { background: none; color: var(--oak); }
  main { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px)); }
  .view-map { display: block; overflow-y: auto; overscroll-behavior: contain; }
  #map { position: relative; inset: auto; height: 46vh; height: 44svh; min-height: 250px; }
  .view-bath #map { height: 34vh; height: 32svh; min-height: 200px; }
  .leaflet-control-zoom { display: none; }
  .panel, .card { position: relative; inset: auto; width: auto; margin-top: -18px; overflow: clip; border-radius: 22px 22px 0 0; box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .2); }
  .list { flex: none; overflow: visible; padding-bottom: 16px; }
  .d-body { overflow: visible; }
  .d-foot { position: sticky; bottom: 0; z-index: 2; gap: 6px; padding: 10px 16px; }
  .d-foot .cta, .d-foot .btn { padding-inline: 12px; }
  .panel-head { padding: 16px 16px 10px; }
  .kpis b { font-size: 20px; }
  .page { padding-inline: 16px; }
  .facts div { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (max-width: 420px) { .brand .word { font-size: 20px; } }
.facts dd small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.acct { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink);
  font-weight: 600; padding: 8px 16px; border-radius: 999px; white-space: nowrap; text-decoration: none; max-width: 180px; }
.acct span { overflow: hidden; text-overflow: ellipsis; }
.acct:hover { border-color: var(--ink-3); }
.acct[hidden] + .top-spacer { display: inline-block; }
.acct:not([hidden]) + .top-spacer { display: none; }
.modal { position: fixed; inset: 0; z-index: 2000; background: color-mix(in srgb, #0c120e 45%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 16px; }
.sheet { background: var(--panel); border-radius: 26px; width: min(500px, 100%); max-height: calc(100% - 32px); overflow: auto; box-shadow: var(--shadow); position: relative;
  padding: 28px; display: grid; gap: 14px; }
.sheet h2 { font: 800 26px/1.1 var(--display); margin: 0 40px 0 0; letter-spacing: -.02em; }
.sheet p { margin: 0; color: var(--ink-2); }
.sheet .cta, .sheet .btn { justify-self: start; }
.x { position: absolute; top: 14px; right: 14px; z-index: 5; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--panel-2); color: var(--ink); font-size: 18px; line-height: 1; }
.x:hover { background: var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .modal .sheet { animation: pop .28s var(--ease); }
  @keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
}
.field { display: grid; gap: 7px; align-content: start; }
.field > span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.inp { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--panel); color: var(--ink); }
.inp:focus { outline: 0; border-color: var(--oak); }
textarea.inp { height: auto; min-height: 76px; padding: 10px 12px; resize: vertical; }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--oak); }
.err:empty { display: none; }
.err, .sheet .err { color: var(--ember); font-weight: 600; font-size: 13px; }
.tg-btn { background: #2aabee; box-shadow: 0 8px 20px -8px rgba(42, 171, 238, .6); color: #fff; }
.tg-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.wait { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.wait i { width: 8px; height: 8px; border-radius: 50%; background: #2aabee; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .wait i { animation: tg-wait 1.6s ease-out infinite; }
  @keyframes tg-wait { 0% { box-shadow: 0 0 0 0 rgba(42, 171, 238, .55); } 100% { box-shadow: 0 0 0 7px transparent; } }
}
.pickmap { height: 220px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 3000; background: var(--ink); color: var(--panel); padding: 12px 20px;
  border-radius: 999px; font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; }
@media (prefers-reduced-motion: no-preference) { .toast { animation: toast .35s var(--ease); } @keyframes toast { from { transform: translate(-50%, 16px); opacity: 0; } } }
.addbtn { border: 0; background: none; padding: 4px 0; font: 600 14px/1.2 var(--body); color: var(--oak); cursor: pointer; }
.addbtn:hover { text-decoration: underline; }
.owner { display: grid; gap: 6px; }
.owner .who { font-size: 15px; }
.owner .who b { font-weight: 700; }
.owner small, .vlist small { color: var(--ink-3); font-size: 12px; }
.vlist { list-style: none; margin: 0; padding: 0; display: grid; }
.vlist li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.vlist li:last-child { border-bottom: 1px solid var(--line); }
.vlist .st { flex: none; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); color: var(--ink-2); }
.vlist .st.ok { background: var(--oak-soft); color: var(--oak); }
.vlist .st.rejected { background: var(--ember-soft); color: var(--ember); }
.qcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 8px; }
.qlist { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.qacts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qacts .inp { flex: 1 1 200px; height: 38px; }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn.solid { background: var(--oak); border-color: var(--oak); color: var(--oak-ink); }
@media (max-width: 760px) {
  .acct { padding: 7px 12px; margin-left: auto; }
  .modal { padding: 0; place-items: end stretch; }
  .sheet { width: 100%; max-height: 94%; border-radius: 24px 24px 0 0; padding: 24px 18px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
.ava { --s: 32px; width: var(--s); height: var(--s); border-radius: 50%; flex: none; object-fit: cover;
  display: inline-grid; place-items: center; font: 700 calc(var(--s) * .42)/1 var(--display);
  background: hsl(var(--h, 120) 42% 88%); color: hsl(var(--h, 120) 45% 28%); vertical-align: middle; }
.ava.sm { --s: 24px; } .ava.xl { --s: 88px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) span.ava { background: hsl(var(--h) 25% 24%); color: hsl(var(--h) 60% 80%); } }
:root[data-theme="dark"] span.ava { background: hsl(var(--h) 25% 24%); color: hsl(var(--h) 60% 80%); }
.acct .ava { margin: -4px 0 -4px -8px; }
.person { display: inline-flex; align-items: center; gap: 6px; }
.owner .who .person + .person { margin-left: 6px; }
.prof-head { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: flex-start; }
.prof-ava { display: grid; justify-items: center; gap: 6px; }
.prof-ava label { cursor: pointer; font-size: 13px; }
.prof-head .field { flex: 1 1 260px; max-width: 420px; }
.field .row { display: flex; gap: 8px; }
.prof-kpis { max-width: 520px; margin: 24px 0 0; }
.prof-foot { display: flex; gap: 16px; align-items: center; margin-top: 36px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--ink-3); text-decoration: underline; font-size: 13px; cursor: pointer; }
.btn.danger { color: var(--ember); }
.panel-head .sub { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); text-wrap: pretty; }
.near-cta { width: 100%; margin-top: 14px; }
.near-cta[aria-pressed="true"] { background: var(--panel); color: var(--oak); box-shadow: inset 0 0 0 1.5px var(--oak); }
.near-cta:disabled { opacity: .7; }
.hello { margin: 0 12px 10px; padding: 12px 14px; border-radius: var(--r); background: var(--honey-soft); display: grid; gap: 8px; font-size: 13px; }
.hello > b { font: 700 13px/1 var(--display); letter-spacing: .02em; }
.hello ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.hello li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; color: var(--ink-2); line-height: 1.35; }
.hello .ic { width: 18px; height: 18px; color: var(--seal-ink); }
.hello-acts { display: flex; align-items: center; gap: 14px; }
.hello-acts a { font-size: 13px; color: var(--ink-2); }
.view-map > .hello { position: absolute; z-index: 750; left: 392px; bottom: 28px; width: 320px; margin: 0; box-shadow: var(--shadow); }
.hello.bye { opacity: 0; transform: translateY(-6px); transition: all .25s var(--ease); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hello .ic { color: var(--honey); } }
.share { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 4px 2px; color: var(--ink-3); font: 600 13px var(--body); }
.share .ic { width: 15px; height: 15px; }
.share:hover { color: var(--ink); }
.with-help { display: flex; align-items: center; gap: 8px; }
.help { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--ink-3); font: 700 11px/1 var(--body); padding: 0; }
.help:hover { color: var(--ink); border-color: var(--ink-3); }
.owner .who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; }
.owner .who small { color: var(--ink-3); font-size: 13px; }
.ic.hat { width: 22px; height: 22px; color: var(--honey); fill: color-mix(in srgb, var(--honey) 35%, transparent); }
.owner.free .ic.hat { color: var(--ink-3); fill: none; }
.path { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.path.mine { color: var(--seal-ink); font-weight: 600; background: var(--honey-soft); padding: 8px 10px; border-radius: 10px; }
.path.mine .ic.hat { width: 18px; height: 18px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .path.mine { color: var(--honey); } }
.sheet .seg { grid-auto-columns: 1fr; }
.sheet .seg button { padding: 9px 6px; font-size: 14px; }
.sheet .field .cta { margin-top: 4px; }
.puff { position: fixed; z-index: 3100; width: 44px; height: 44px; margin: -40px 0 0 -22px; color: var(--oak); pointer-events: none;
  animation: puff 1.3s var(--ease) forwards; }
.puff svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@keyframes puff { 0% { transform: translateY(8px) scale(.6); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-46px) scale(1.25); opacity: 0; } }
.login-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.login-steps li { counter-increment: step; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 15px; }
.login-steps li::before { content: counter(step); width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2);
  display: inline-grid; place-items: center; font: 600 12px/1 var(--body); color: var(--ink-2); transform: translateY(-1px); }
.sheet .hint { margin: 0; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.steps li { background: var(--panel); border-radius: var(--r); box-shadow: var(--shadow-s); padding: 16px; display: grid; gap: 6px; align-content: start; }
.steps .ic { width: 26px; height: 26px; color: var(--oak); }
.steps b { font: 700 16px/1.2 var(--display); }
.steps span { font-size: 14px; color: var(--ink-2); }
.faq p { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.faq p:last-child { border-bottom: 0; }
.lost { text-align: left; }
.lost-mark { width: 72px; height: 72px; margin-bottom: 8px; }
@media (prefers-reduced-motion: no-preference) { .lost-mark .venik { animation: swing 2.2s var(--ease) infinite; } }
.lost-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .share span { display: none; }
}
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; gap: 3px; background: var(--panel-2); border-radius: 12px; }
.seg button { border: 0; background: none; padding: 7px 6px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: var(--shadow-s); }
.path.wait { color: var(--ink-3); }
.path.wait::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--honey); flex: none; }
.umap { height: 340px; margin: 16px 0 6px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel-2); z-index: 0; }
.pin-n { display: grid; place-items: center; border-radius: 50%; background: var(--oak); color: var(--oak-ink); border: 2px solid var(--panel);
  font: 700 12px/1 var(--display); box-shadow: 0 2px 6px rgba(20, 30, 20, .35); }
.pin-n.owned { box-shadow: 0 0 0 3px var(--honey), 0 2px 6px rgba(20, 30, 20, .35); }
.ulist .ic.hat { width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; }
.ulist a { color: var(--ink); text-decoration: none; font-weight: 600; }
.ulist a:hover { color: var(--oak); text-decoration: underline; }
.h2.with-act { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.umap-empty { display: grid; gap: 12px; justify-items: start; padding: 18px; border: 1px dashed var(--line); border-radius: var(--r); margin-top: 12px; }
.person.big { gap: 14px; }
.ava.lg { --s: 56px; }
@media (max-width: 760px) { .umap { height: 280px; } .page h1 .person.big { gap: 10px; } .page h1 .ava.lg { --s: 44px; } }
.login-scan { display: grid; grid-template-columns: 156px minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px; background: var(--panel-2); border-radius: var(--r); }
.login-qr { width: 156px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--shadow-s); }
.login-qr svg { display: block; width: 100%; height: 100%; }
#way { display: grid; gap: 12px; }
#way .tg-btn { justify-self: stretch; }
.d-body, .list, .panel, .view-map, .page, .sheet { overscroll-behavior: none; }
.modal.bye { animation: fade-out .2s var(--ease) forwards; }
.modal.bye .sheet { animation: sheet-out .2s var(--ease) forwards; }
.toast.bye { animation: toast-out .25s var(--ease) forwards; }
@keyframes fade-out { to { opacity: 0; } }
@keyframes sheet-out { to { transform: translateY(14px) scale(.98); opacity: 0; } }
@keyframes toast-out { to { transform: translate(-50%, 12px); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .top { view-transition-name: top; }
  .panel, .card { view-transition-name: side; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
  ::view-transition-group(side) { animation-duration: .28s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
}
@media (max-width: 760px) { .panel, .card { view-transition-name: none; } }   
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 16px 0 0; font-size: 13px; font-weight: 600; }
.crumbs a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 2px; }
.crumbs a:hover { color: var(--oak); }
.crumbs .back { color: var(--oak); }
.crumbs .ic { width: 16px; height: 16px; margin-left: -4px; }
.panel-head .crumbs { margin: 0 0 10px; }
.card .crumbs { margin: -4px 0 8px; }
