/* Madinah Real Estate — палитра снята с эмблемы: кремовый фон, изумруд купола, золото ключа */
:root {
  --paper: #F4EEE2;
  --paper-2: #EBE2D0;
  --card: #FFFDF8;
  --ink: #17251F;
  --muted: #6B6A5E;
  --green: #0F3D2E;
  --green-2: #1F5A44;
  --gold: #B8893B;
  --gold-2: #D9B56C;
  --line: rgba(15, 61, 46, .12);
  --shadow: 0 10px 30px rgba(23, 37, 31, .10);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --safe-b: env(safe-area-inset-bottom);
  /* стрельчатая арка Масджид ан-Набави — форма всех кадров */
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V30C0 14 22 5 50 0c28 5 50 14 50 30v70z'/%3E%3C/svg%3E");
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cg fill='none' stroke='%230F3D2E' stroke-opacity='.09' stroke-width='2'%3E%3Cpath d='M0 0L28 28M28 0L0 28'/%3E%3C/g%3E%3Cg fill='%23B8893B' fill-opacity='.22'%3E%3Ccircle cx='14' cy='14' r='2.6'/%3E%3Ccircle cx='0' cy='0' r='2.6'/%3E%3Ccircle cx='28' cy='0' r='2.6'/%3E%3Ccircle cx='0' cy='28' r='2.6'/%3E%3Ccircle cx='28' cy='28' r='2.6'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
svg { display: block; }

/* ---------- Заставка ---------- */
.intro__seam { position: absolute; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--gold-2), var(--gold), var(--gold-2)); opacity: .55; }
.intro__leaf--l .intro__seam { right: 0; }
.intro__leaf--r .intro__seam { left: 0; }
.intro__center { pointer-events: none; }
.intro__ring { position: absolute; width: min(70vw, 282px); aspect-ratio: 1; top: 50%; left: 50%;
  transform: translate(-50%, calc(-50% - 34px)) rotate(-90deg); }
.intro__ring circle { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 918; stroke-dashoffset: 918; }
.intro__key { width: 132px; color: var(--gold); opacity: 0; transform: translateX(60vw); }
.intro__line { margin: 0; font: 600 21px/1.2 var(--serif); color: var(--green); letter-spacing: .02em; opacity: 0; }

.intro.is-playing .intro__ring circle { animation: ringDraw 1.1s .15s cubic-bezier(.6,0,.2,1) forwards; }
.intro.is-playing .intro__medal { animation: medalIn .9s .1s cubic-bezier(.2,.8,.2,1) forwards; }
.intro.is-playing .intro__key { animation: keyIn .7s 1s cubic-bezier(.2,.8,.2,1) forwards, keyTurn .45s 1.95s cubic-bezier(.5,0,.3,1.4) forwards; }
.intro.is-playing .intro__line { animation: fadeUp .6s 1.25s ease forwards; }
.intro.is-opening .intro__center { animation: centerOut .6s ease forwards; }
.intro.is-opening .intro__leaf--l { animation: leafL 1s cubic-bezier(.7,0,.3,1) forwards; }
.intro.is-opening .intro__leaf--r { animation: leafR 1s cubic-bezier(.7,0,.3,1) forwards; }
.intro.is-opening { pointer-events: none; }
.intro.is-poster .intro__ring circle { stroke-dashoffset: 0; }
.intro.is-poster .intro__key, .intro.is-poster .intro__line { opacity: 1; transform: none; }

@keyframes ringDraw { to { stroke-dashoffset: 0; } }
@keyframes medalIn { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
@keyframes keyIn { to { opacity: 1; transform: translateX(0); } }
@keyframes keyTurn { 0% { transform: perspective(300px) rotateX(0); } 100% { transform: perspective(300px) rotateX(80deg) scaleY(1.1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes centerOut { to { opacity: 0; transform: scale(1.08); } }
@keyframes leafL { to { transform: perspective(1200px) rotateY(75deg); opacity: .0; } }
@keyframes leafR { to { transform: perspective(1200px) rotateY(-75deg); opacity: .0; } }

/* ---------- Шапка ---------- */
.app { min-height: 100vh; }
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: rgba(244, 238, 226, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__logo { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--gold); }
.brand__text { display: block; line-height: 1.05; }
.brand__text b { display: block; font: 700 22px/1 var(--serif); color: var(--green); letter-spacing: .06em; text-transform: uppercase; }
.brand__text small { display: block; font-size: 11px; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; font-weight: 600; }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; }
.iconbtn svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Герой ---------- */
.hero { position: relative; padding: 22px 16px 8px; overflow: hidden; }
.hero__kicker { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hero__title { margin: 6px 0 6px; font: 700 44px/.95 var(--serif); color: var(--green); }
.hero__sub { margin: 0; color: var(--muted); font-size: 14px; }
.hero__dome { position: absolute; right: 10px; top: 30px; width: 104px; fill: none; stroke: var(--gold); stroke-width: 1.6; opacity: .55; }

/* ---------- Фильтры ---------- */
.filters { position: sticky; top: 61px; z-index: 15; padding: 10px 0 8px; background: var(--paper); display: grid; gap: 8px; }
.seg { margin: 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper-2); border-radius: 14px; padding: 4px; }
.seg button { border: 0; background: none; padding: 9px 4px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); transition: .2s; }
.seg button.is-on { background: var(--card); color: var(--green); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button {
  flex: none; border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 7px 13px;
  font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--ink); transition: background .2s, color .2s, transform .15s;
}
.chips button:active { transform: scale(.96); }
.chips button.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.chips button .n { opacity: .55; margin-left: 4px; font-weight: 400; }
.chips--soft button { background: transparent; }
.chips--soft button.is-on { background: var(--gold); border-color: var(--gold); }

/* ---------- Карточки ---------- */
.list { padding: 8px 16px 8px; display: grid; gap: 22px; }
@media (min-width: 720px) { .list { grid-template-columns: 1fr 1fr; } }
.card { position: relative; animation: cardIn .5s both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.card__open { display: block; width: 100%; text-align: left; border: 0; padding: 0; background: none; }
.card__media {
  position: relative; aspect-ratio: 4 / 4.2; background: var(--paper-2) center/cover no-repeat;
  -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(10, 30, 22, .55)); }
.card__frame { position: absolute; inset: 0; pointer-events: none; }
.card__frame path { fill: none; stroke: var(--gold-2); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.card__tags { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; background: rgba(255,253,248,.92); color: var(--green); }
.tag--gold { background: var(--gold); color: #fff; }
.tag--video { display: inline-flex; align-items: center; gap: 4px; background: rgba(15,61,46,.85); color: #fff; }
.tag--video::before { content: ''; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.card__fav {
  position: absolute; z-index: 3; right: 12px; top: 26%; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255,253,248,.92); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.card__fav svg, .dt__fav svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 2; transition: transform .25s; }
.is-fav svg { fill: #C0453A; stroke: #C0453A; }
.is-fav svg { animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.3); } }
.card__body { padding: 12px 2px 0; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card__price { font: 700 28px/1 var(--serif); color: var(--green); white-space: nowrap; }
.card__price small { font: 600 13px var(--sans); color: var(--muted); margin-left: 3px; }
.card__dist { font-size: 12.5px; color: var(--muted); text-align: right; }
.card__title { margin: 6px 0 4px; font-size: 16px; font-weight: 800; line-height: 1.3; }
.card__meta { margin: 0; font-size: 13.5px; color: var(--muted); }
.card__meta b { color: var(--gold); font-weight: 600; }

.empty { text-align: center; color: var(--muted); padding: 30px 16px; }
.empty button { border: 0; background: none; color: var(--green); font-weight: 700; text-decoration: underline; }

/* ---------- Как забронировать / риелтор ---------- */
.how { margin: 26px 16px 0; padding: 20px 18px; border-radius: 22px; background: var(--green) var(--lattice); color: #F4EEE2; }
.how h2 { margin: 0 0 10px; font: 700 26px/1.1 var(--serif); color: var(--gold-2); }
.how ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.how li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 14px; }
.how li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--gold-2); display: grid; place-items: center; font: 700 15px var(--serif); color: var(--gold-2); }
.agent { margin: 16px 16px 0; padding: 18px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.agent__logo { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--gold); }
.agent__name { margin: 0; font-weight: 800; }
.agent__role { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.agent__btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.agent__phone { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.foot { text-align: center; font-size: 12px; color: var(--muted); padding: 18px 16px calc(96px + var(--safe-b)); margin: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 12px 14px; font-weight: 800; font-size: 14px; text-decoration: none; transition: transform .15s, filter .2s; }
.btn:active { transform: scale(.97); }
.btn--tg { background: #2AABEE; color: #fff; }
.btn--wa { background: #25D366; color: #fff; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--green { background: var(--green); color: #fff; }
.btn--ghost { background: transparent; border: 1.5px solid var(--line); color: var(--green); }
.btn--big { padding: 15px 14px; font-size: 15px; }

/* ---------- Переключатель Список/Карта ---------- */
.viewtoggle {
  position: fixed; z-index: 30; left: 50%; bottom: calc(18px + var(--safe-b)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; border: 0; border-radius: 99px; padding: 13px 22px;
  background: var(--green); color: #fff; font-weight: 800; box-shadow: 0 10px 30px rgba(15,61,46,.35);
}
.viewtoggle svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.viewtoggle .vt-list { display: none; }
body.is-map .viewtoggle .vt-list { display: block; }
body.is-map .viewtoggle .vt-map { display: none; }
body.is-locked .viewtoggle, body.is-detail .viewtoggle { display: none; }

/* ---------- Карта ---------- */
.mapview { position: fixed; inset: 61px 0 0 0; z-index: 10; background: var(--paper-2); }
.map { position: absolute; inset: 0; }
.map__badge { position: absolute; z-index: 500; left: 12px; right: 12px; top: 142px; margin: 0; text-align: center; font-size: 12px; font-weight: 600;
  background: rgba(255,253,248,.95); border-radius: 12px; padding: 7px 10px; color: var(--muted); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.pin { background: none; border: 0; }
.pin b {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); white-space: nowrap;
  background: var(--card); color: var(--green); font: 800 12.5px/1 var(--sans); padding: 7px 9px; border-radius: 99px;
  box-shadow: 0 4px 12px rgba(0,0,0,.18); border: 1.5px solid var(--green); transition: transform .15s;
}
.pin b::after { content: ''; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--green); }
.pin.is-active b { background: var(--green); color: #fff; transform: translateX(-50%) scale(1.12); }
.pin--group b { background: var(--green); color: #fff; border-color: var(--gold-2); padding: 8px 11px; font-size: 13px; }
.pin--group b::after { border-top-color: var(--gold-2); }
.pin--group em { font-style: normal; font-weight: 600; color: var(--gold-2); margin-left: 6px; }
.pin--haram svg { width: 44px; height: 44px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.mapcard {
  position: absolute; z-index: 600; left: 12px; right: 12px; bottom: calc(80px + var(--safe-b));
  background: var(--card); border-radius: 20px; box-shadow: 0 14px 40px rgba(0,0,0,.2); padding: 10px;
  display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; animation: fadeUp .25s;
}
.mapcard img { width: 96px; height: 96px; object-fit: cover; border-radius: 48px 48px 12px 12px; }
.mapcard__price { font: 700 22px/1 var(--serif); color: var(--green); }
.mapcard__title { margin: 4px 0 2px; font-weight: 800; font-size: 14px; line-height: 1.25; }
.mapcard__meta { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); }
.mapcard .btn { padding: 8px 12px; font-size: 13px; }

/* ---------- Страница квартиры ---------- */
.detail { position: fixed; inset: 0; z-index: 50; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; animation: slideIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes slideIn { from { transform: translateY(30px); opacity: 0; } }
body.is-detail { overflow: hidden; }
.dt__bar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; padding: 10px 12px; pointer-events: none; }
.dt__bar button { pointer-events: auto; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,253,248,.94); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.dt__bar svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dt__gallery { margin-top: -62px; position: relative; }
.dt__strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #10201A; }
.dt__strip::-webkit-scrollbar { display: none; }
.dt__slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; height: min(72vh, 560px); display: grid; place-items: center; overflow: hidden; }
.dt__slide .bg { position: absolute; inset: -20px; background: center/cover; filter: blur(22px) brightness(.6); transform: scale(1.1); }
.dt__slide img, .dt__slide video { position: relative; width: 100%; height: 100%; object-fit: contain; }
.dt__play { position: absolute; z-index: 2; width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--gold-2); background: rgba(15,61,46,.75); display: grid; place-items: center; }
.dt__play::before { content: ''; margin-left: 6px; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.dt__post { position: absolute; z-index: 2; bottom: 24px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.dt__dots { position: absolute; bottom: 30px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.dt__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.45); transition: .2s; }
.dt__dots i.is-on { background: #fff; width: 20px; border-radius: 4px; }
.dt__sheet { position: relative; margin-top: -22px; background: var(--paper); border-radius: 26px 26px 0 0; padding: 22px 16px calc(110px + var(--safe-b)); }
.dt__district { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.dt__district span[lang] { letter-spacing: 0; font-weight: 600; margin-left: 6px; }
.dt__title { margin: 6px 0 12px; font: 700 30px/1.05 var(--serif); color: var(--green); }
.dt__price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dt__price > div { background: var(--card); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow); }
.dt__price small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.dt__price b { display: block; font: 700 26px/1.1 var(--serif); color: var(--green); margin-top: 3px; }
.dt__price em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.dt__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; }
.dt__facts div { border: 1px solid var(--line); border-radius: 16px; padding: 10px 6px; text-align: center; }
.dt__facts b { display: block; font: 700 24px/1 var(--serif); color: var(--green); }
.dt__facts span { font-size: 11.5px; color: var(--muted); }
.dt__note { margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid var(--gold); background: rgba(184,137,59,.08); border-radius: 0 12px 12px 0; font-size: 14px; }
.dt h4 { margin: 22px 0 10px; font: 700 21px/1 var(--serif); color: var(--green); }
.dt__features { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.dt__features li { position: relative; padding-left: 20px; font-size: 14px; }
.dt__features li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.dt__way { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; background: var(--card); border-radius: 18px; padding: 12px; box-shadow: var(--shadow); }
.dt__way svg { width: 38px; height: 38px; fill: none; stroke: var(--green); stroke-width: 1.6; }
.dt__way p { margin: 0; font-size: 14px; }
.dt__way small { color: var(--muted); }
.dt__map { height: 200px; border-radius: 20px; overflow: hidden; margin-top: 10px; background: var(--paper-2); }
.dt__links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.dt__links .btn { padding: 9px 12px; font-size: 13px; }
.dt__cta {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px;
  padding: 12px 16px calc(12px + var(--safe-b)); background: rgba(244,238,226,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.dt__cta .btn--gold { font-size: 16px; padding: 15px; }
.dt__ask { width: 54px; padding: 0 !important; }
.dt__ask svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Шторка брони ---------- */
.sheet { position: fixed; inset: 0; z-index: 80; }
.sheet__shade { position: absolute; inset: 0; background: rgba(10, 25, 19, .45); animation: shadeIn .25s; }
@keyframes shadeIn { from { opacity: 0; } }
.sheet__body {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; background: var(--paper);
  border-radius: 26px 26px 0 0; padding: 10px 16px calc(16px + var(--safe-b)); animation: sheetUp .35s cubic-bezier(.2,.8,.2,1);
}
@media (min-width: 640px) { .sheet__body { left: 50%; width: 560px; margin-left: -280px; } }
@keyframes sheetUp { from { transform: translateY(100%); } }
.sheet__grip { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 10px; }
.sheet h3 { margin: 0; font: 700 28px/1.1 var(--serif); color: var(--green); }
.sheet__what { margin: 4px 0 12px; color: var(--muted); font-size: 13.5px; }
.field { display: block; margin: 0 0 14px; }
.field > span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line); background: var(--card); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field .chips { padding: 0; flex-wrap: wrap; }
.field--row { display: flex; align-items: center; justify-content: space-between; }
.field--row > span { margin: 0; }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 4px; }
.stepper button { width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--paper-2); font-size: 20px; font-weight: 700; color: var(--green); }
.stepper output { min-width: 34px; text-align: center; font-weight: 800; font-size: 17px; }
.sheet__note { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.sheet__btns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }

.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(90px + var(--safe-b)); transform: translateX(-50%); background: var(--green); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); animation: fadeUp .25s; max-width: calc(100% - 32px); text-align: center; }

.leaflet-container { font-family: var(--sans); background: var(--paper-2); }
