:root {
  --bg: #f3f6fa;
  --card: #ffffff;
  --ink: #0d1b2a;
  --muted: #5b6b7f;
  --line: #e1e7ef;
  --brand: #0b5cad;
  --brand-ink: #ffffff;
  --brand-soft: #e6f0fb;
  --accent: #0f9d8a;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4a00;
  --shadow: 0 1px 2px rgba(13, 27, 42, .06), 0 4px 16px rgba(13, 27, 42, .06);
  --radius: 16px;
  --sat: var(--safe-area-inset-top, env(safe-area-inset-top, 0px));
  --sab: var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
  --tabs-h: 64px;
  --head-h: 64px;
  --hit: rgba(15, 157, 138, .28);
  --sel: rgba(11, 92, 173, .22);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1420;
    --card: #132132;
    --ink: #e8eef6;
    --muted: #9aaabd;
    --line: #22344a;
    --brand: #4d9cf0;
    --brand-ink: #06121f;
    --brand-soft: #16304d;
    --accent: #3cc7b2;
    --warn-bg: #3a2f10;
    --warn-ink: #f3d68a;
    --hit: rgba(60, 199, 178, .3);
    --sel: rgba(77, 156, 240, .3);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.45 var(--font);
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

[hidden] { display: none !important; }

.view, .results, .home, .list, .hero, .about, .form, .form__field, .screen__body, .sheet, .sheet__co, .sheet__note, .note, .picker, .foot, .promo, .cards, .card__body, .doc__main { grid-template-columns: minmax(0, 1fr); }
.note__chip, .note__chipMain { min-width: 0; }

.sprite { position: absolute; }

.ic {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button, input, textarea, select { font: inherit; color: inherit; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(10px + var(--sat)) 16px 10px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.top__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.top__logo { flex: none; width: 36px; height: 36px; border-radius: 10px; }
.top__text { display: grid; min-width: 0; }
.top__name { font-weight: 700; font-size: 17px; line-height: 1.2; }
.top__tag { overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }

.lang { flex: none; display: flex; padding: 3px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.lang__btn { min-width: 44px; min-height: 38px; padding: 0 8px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; }
.lang__btn.is-on { background: var(--brand); color: var(--brand-ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.net { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--warn-bg); color: var(--warn-ink); font-size: 14px; }
.net .ic { width: 18px; height: 18px; }

.main {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 16px calc(var(--tabs-h) + var(--sab) + 24px);
}

.view { display: grid; gap: 16px; }

.field { display: grid; gap: 8px; }
.field__label { font-size: 22px; font-weight: 700; line-height: 1.25; }
.field__box { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); color: var(--muted); box-shadow: var(--shadow); }
.field__box:focus-within { border-color: var(--brand); color: var(--brand); }
.field__input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px; }
.field__input::placeholder { color: var(--muted); }

.empty { display: grid; justify-items: center; gap: 6px; padding: 28px 20px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--card); text-align: center; }
.empty__ic { width: 44px; height: 44px; margin-bottom: 6px; padding: 10px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.empty__title { margin: 0; font-size: 17px; line-height: 1.3; }
.empty__text { max-width: 420px; margin: 0; color: var(--muted); font-size: 15px; }

.event { display: grid; gap: 8px; padding: 18px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.event__title { margin: 0 0 4px; font-size: 18px; }
.event__row { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.event__row .ic { margin-top: 2px; color: var(--accent); }
.event__link { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: 44px; color: var(--brand); font-weight: 600; text-decoration: none; }
.event__link .ic { width: 16px; height: 16px; }

.field__clear { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }

.results { display: grid; gap: 10px; }
.results:empty { display: none; }
.home { display: grid; gap: 14px; }

.sec { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.sec__count { padding: 1px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; letter-spacing: 0; }

.list { display: grid; overflow: hidden; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.row:last-child { border-bottom: 0; }
.row:active { background: var(--brand-soft); }
.row__ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.row__body { display: grid; flex: 1; min-width: 0; }
.row__title { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.row__sub { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.row__go { color: var(--muted); }
.row__codes { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: 40%; }
.row mark { border-radius: 3px; background: rgba(255, 196, 0, .45); color: inherit; }

.code { display: inline-block; padding: 3px 8px; border-radius: 8px; background: var(--brand); color: var(--brand-ink); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.code--lg { padding: 4px 12px; font-size: 18px; }

.more { min-height: 48px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--brand); font-weight: 600; cursor: pointer; }
.about .more { justify-self: start; padding: 0; border-top: 0; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { display: grid; align-content: start; gap: 6px; min-height: 112px; padding: 14px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); color: inherit; text-decoration: none; }
.tile__ic { width: 26px; height: 26px; color: var(--brand); }
.tile__title { font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.tile__sub { color: var(--muted); font-size: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 14px; line-height: 1.25; text-decoration: none; }
.chip--booth { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.chip--plain { background: transparent; color: var(--muted); }
.ic--sm { width: 16px; height: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn--primary { background: var(--brand); color: var(--brand-ink); }

.hero { display: grid; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.hero__title { margin: 0; font-size: 22px; line-height: 1.25; overflow-wrap: anywhere; }
.hero__sub { margin: -6px 0 0; color: var(--muted); }
.lead, .muted { margin: 0; color: var(--muted); }

.zh { display: grid; gap: 4px; padding: 12px 16px; border: 1px dashed var(--line); border-radius: var(--radius); }
.zh__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.zh__label { color: var(--muted); font-size: 13px; }
.zh__globe { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -8px -10px -8px 0; border: 0; border-radius: 12px; background: transparent; color: var(--brand); cursor: pointer; }
.zh__globe.is-on { background: var(--brand-soft); }
.zh__tr { margin: 4px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); font-weight: 600; }
.zh__text { font-size: 18px; overflow-wrap: anywhere; }

.about { display: grid; gap: 8px; padding: 16px 18px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.about__text p { margin: 0 0 10px; }
.about__text.is-cut { max-height: 13.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }

.screen { position: fixed; inset: 0 0 calc(var(--tabs-h) + var(--sab)); z-index: 25; display: flex; flex-direction: column; background: var(--bg); }
.screen__bar { display: flex; align-items: center; gap: 4px; padding: calc(6px + var(--sat)) 12px 6px 4px; border-bottom: 1px solid var(--line); background: var(--card); }
.screen__back { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.screen__back .ic { width: 24px; height: 24px; }
.screen__title { overflow: hidden; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.screen__body { display: grid; flex: 1; align-content: start; grid-auto-rows: max-content; gap: 14px; overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px 32px; }
.has-screen { overflow: hidden; }

.view--map { position: fixed; top: var(--head-h); left: 0; right: 0; bottom: calc(var(--tabs-h) + var(--sab)); display: block; }
.is-map .main { padding: 0; }
.mapv { position: absolute; inset: 0; overflow: hidden; background: #fff; cursor: grab; touch-action: none; user-select: none; }
.mapv__stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.mapv__img, .mapv__layer { position: absolute; left: 0; top: 0; display: block; max-width: none; }
.mapv__booth { fill: transparent; stroke: transparent; vector-effect: non-scaling-stroke; }
.mapv__booth.is-hit { fill: var(--hit); stroke: var(--accent); stroke-width: 2; }
.mapv__booth.is-on { fill: var(--sel); stroke: var(--brand); stroke-width: 3; animation: booth-pulse 1.4s ease-in-out 2; }
@keyframes booth-pulse { 50% { fill: rgba(11, 92, 173, .45); } }

.mapbar { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 3; }
.field__box--map { min-height: 48px; }
.field__box--map .field__input { height: 46px; font-size: 16px; }
.mapbar__list { max-height: 52vh; margin-top: 6px; overflow-y: auto; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.mapbar__none { padding: 14px; }

.mapctl { position: absolute; right: 12px; bottom: 16px; z-index: 2; display: grid; gap: 8px; }
.mapctl__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; }

.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: grid; gap: 10px; max-height: 58%; overflow-y: auto; padding: 14px 16px 16px; border-radius: 20px 20px 0 0; background: var(--card); box-shadow: 0 -6px 24px rgba(13, 27, 42, .16); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sheet__title { display: flex; align-items: center; gap: 10px; }
.sheet__hall { color: var(--muted); font-weight: 600; }
.sheet__x { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.sheet__co { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; }
.sheet__name { font-weight: 700; overflow-wrap: anywhere; }
.sheet__cats { color: var(--muted); font-size: 14px; }
.sheet.is-tall { top: 0; max-height: none; border-radius: 0; }
.sheet { overflow-x: hidden; }
.sheet .note__tools { position: sticky; bottom: -16px; z-index: 1; margin: 0 -14px -14px; padding: 8px 14px 14px; background: var(--card); }
.screen__body .note__tools { position: sticky; bottom: -32px; z-index: 1; margin: 0 -14px -14px; padding: 8px 14px 14px; border-radius: 0 0 var(--radius) var(--radius); background: var(--card); }
.is-typing .tabs { display: none; }
.is-typing .view--map { bottom: 0; }
.is-typing .screen { bottom: 0; }
.sheet__note { display: grid; gap: 8px; }
.sheet__add { width: 100%; }
.more--link { display: grid; place-items: center; text-decoration: none; }
.sheet__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--brand); font-size: 14px; font-weight: 600; }
.view--map:has(.sheet:not([hidden])) .mapctl { display: none; }

.row__thumb { width: 100%; height: 100%; border-radius: 11px; object-fit: cover; }
.row__ic:has(.row__thumb) { overflow: hidden; background: var(--line); }
.row--btn { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.list__none { padding: 16px; }


.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; }
.gallery__item { overflow: hidden; border-radius: var(--radius); background: var(--line); scroll-snap-align: start; aspect-ratio: 4 / 3; }
.gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery__item.is-off img { visibility: hidden; }

.form { display: grid; gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.form__field { display: grid; gap: 6px; }
.form__label { font-size: 14px; font-weight: 600; }
.form__hint { color: var(--muted); font-size: 13px; }
.form__input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font-size: 16px; }
.form__input:focus { border-color: var(--brand); outline: 0; }
.form__input--area { min-height: 120px; resize: vertical; line-height: 1.45; }
.form__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form__logout { margin-top: 8px; }

.btn:disabled { opacity: .55; cursor: default; }
.btn.is-busy { cursor: progress; }
.btn--ghost { border: 1.5px solid var(--line); background: var(--card); color: var(--ink); }
.btn--danger { border: 1.5px solid #e5484d; background: transparent; color: #e5484d; }

.pager { display: flex; align-items: center; justify-content: center; gap: 12px; }
.pager__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); cursor: pointer; }
.pager__btn:disabled { opacity: .4; cursor: default; }
.pager__info { color: var(--muted); font-size: 14px; }

.picker { display: grid; gap: 8px; }
.picker__list { max-height: 320px; overflow-y: auto; }
.row__codes--lead { flex: none; justify-content: flex-start; min-width: 58px; max-width: none; }
.chip--on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); cursor: pointer; font: inherit; font-size: 14px; }

.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.photos__cell { position: relative; overflow: hidden; border-radius: 12px; background: var(--line); aspect-ratio: 1; }
.photos__cell img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photos__x { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(13, 27, 42, .65); color: #fff; cursor: pointer; }

.note { display: grid; gap: 10px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.note:focus-within { border-color: var(--brand); }
.note__text { width: 100%; min-height: 96px; padding: 4px 2px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 17px/1.45 var(--font); resize: none; }
.note__text::placeholder { color: var(--muted); }
.note__shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.note__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.note__chip { display: inline-flex; align-items: center; max-width: 100%; border: 1px dashed var(--line); border-radius: 999px; }
.note__chip.is-set { border-style: solid; border-color: var(--brand); background: var(--brand-soft); }
.note__chipMain { display: inline-flex; align-items: center; gap: 6px; min-width: 0; min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.note__chipLabel { color: var(--muted); }
.note__chipValue { overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.note__chip.is-set .note__chipValue { color: var(--brand); }
.note__chipX { display: grid; place-items: center; width: 40px; height: 44px; margin-left: -6px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.note__pick:empty { display: none; }
.note__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.note__tool { display: grid; justify-items: center; gap: 2px; min-width: 56px; min-height: 52px; padding: 4px 6px; border: 0; border-radius: 12px; background: transparent; color: var(--brand); font: inherit; font-size: 11px; cursor: pointer; }
.note__tool .ic { width: 24px; height: 24px; }
.note__tool:active { background: var(--brand-soft); }
.note__tool.is-live { background: #e5484d; color: #fff; animation: mic-pulse 1s ease-in-out infinite; }
@keyframes mic-pulse { 50% { opacity: .65; } }
.note__toolText { color: var(--muted); }
.note__tool.is-live .note__toolText { color: #fff; }
.note__save { margin-left: auto; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.card { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: inherit; text-decoration: none; }
.card__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.card__body { display: grid; gap: 4px; padding: 10px 12px 12px; }
.card__title { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.card__text { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 14px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; white-space: pre-line; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.card__tag { padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; }

.adminfoot { display: grid; gap: 8px; margin-top: 8px; }

.find { display: grid; gap: 10px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); }
.find--compact { padding: 0; border: 0; background: transparent; }
.find__star { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1.5px solid var(--brand); border-radius: 14px; background: transparent; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; }
.find__star.is-on { background: #f5b301; border-color: #f5b301; color: #1d1600; }
.find__star.is-on .ic { fill: currentColor; }
.find__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.find__price { display: grid; grid-template-columns: auto minmax(0, 1fr) 96px; align-items: center; gap: 8px; }
.find__cur { padding-right: 4px; }
.find__state { margin-left: auto; color: var(--muted); font-size: 12px; text-align: right; }
.card__price { color: var(--accent); font-weight: 800; }
.finds { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }

.install { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--brand); border-radius: var(--radius); background: var(--brand-soft); }
.install__icon { width: 48px; height: 48px; border-radius: 12px; }
.install__text { display: grid; gap: 2px; font-size: 14px; }
.install__text strong { font-size: 16px; }
.install__btn { grid-column: 1 / -1; }

.foot { display: grid; gap: 14px; margin-top: 8px; }
.foot__by { display: block; margin-top: 6px; padding: 14px 0 6px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; text-decoration: none; }
.foot__by b { color: var(--brand); font-weight: 600; }
.promo { position: relative; display: grid; gap: 8px; overflow: hidden; padding: 20px 18px 18px; border-radius: 20px; background: radial-gradient(120% 90% at 100% 0%, rgba(34, 197, 94, .28), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(37, 99, 235, .35), transparent 60%), #071a2e; color: #e8f1fb; text-decoration: none; box-shadow: 0 10px 30px rgba(7, 26, 46, .35); }
.promo__logo { width: min(100%, 300px); height: auto; margin-bottom: 4px; }
.promo__title { font-size: 19px; font-weight: 800; line-height: 1.25; }
.promo__text { color: #b9cbe0; font-size: 14px; line-height: 1.5; }
.promo__cta { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: 44px; margin-top: 4px; padding: 0 16px; border-radius: 12px; background: linear-gradient(90deg, #16a34a, #2563eb); color: #fff; font-size: 14px; font-weight: 700; }

.doc__main { display: grid; gap: 16px; width: 100%; max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
.doc__card { padding: 20px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.doc__card h1 { margin: 0 0 6px; font-size: 24px; line-height: 1.25; }
.doc__card h2 { margin: 20px 0 6px; font-size: 17px; }
.doc__card p { margin: 0 0 10px; }
.doc__card a { color: var(--brand); }

.tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: var(--sab);
  background: var(--card);
  border-top: 1px solid var(--line);
}

.tabs__item { display: grid; justify-items: center; align-content: center; gap: 3px; min-height: var(--tabs-h); color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; }
.tabs__item .ic { width: 24px; height: 24px; }
.tabs__item.is-on { color: var(--brand); }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabs-h) + var(--sab) + 16px); z-index: 30; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 14px; transform: translateX(-50%); }

@media (min-width: 640px) {
  .main { padding-top: 24px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .field__label { font-size: 26px; }
}

@media (min-width: 1024px) {
  :root { --rail: 220px; }
  .top { padding-left: calc(var(--rail) + 24px); }
  .tabs { top: 0; right: auto; width: var(--rail); grid-template-columns: none; align-content: start; gap: 4px; padding: 84px 12px 12px; border-top: 0; border-right: 1px solid var(--line); }
  .tabs__item { grid-auto-flow: column; justify-content: start; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 12px; font-size: 15px; }
  .tabs__item.is-on { background: var(--brand-soft); }
  .main { max-width: 860px; margin-left: calc(var(--rail) + max(24px, (100% - var(--rail) - 860px) / 2)); padding-bottom: 32px; }
  .toast { bottom: 24px; left: calc(50% + var(--rail) / 2); }
  .screen { left: var(--rail); bottom: 0; }
  .screen__body { width: 100%; max-width: 860px; margin: 0 auto; }
  .view--map { left: var(--rail); bottom: 0; }
  .mapbar { right: auto; width: 420px; }
  .sheet { left: auto; right: 16px; bottom: 16px; width: 400px; max-height: calc(100% - 92px); border-radius: 20px; }
}
