/* Map IQ — visual style matched to the Field IQ app: charcoal background, large rounded cards with a soft light
   corner, blue pill buttons, bottom sheets with a grab handle and a round close button. */
:root {
  --bg: #232323;
  --bg-top: #283140;
  --card: #2f2f2f;
  --card-2: #383838;
  --field: #262626;
  --line: #4a4a4a;
  --text: #ffffff;
  --muted: #a7a7a7;
  --faint: #7c7c7c;
  --blue: #2584f0;
  --blue-press: #1d6fcc;
  --green: #2fbf71;
  --amber: #f2b33d;
  --red: #ef5b5b;
  --grey-door: #8a94a3;
  --radius-card: 34px;
  --radius-pill: 32px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: "Urbanist", "Eudoxus Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; }
body { overscroll-behavior: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue); }
.hidden { display: none !important; }

#app { min-height: 100%; }
.screen {
  min-height: 100vh;
  padding: calc(var(--safe-top) + 18px) 22px calc(var(--safe-bottom) + 40px);
  background: linear-gradient(180deg, var(--bg-top) 0, var(--bg) 300px);
}
.screen.flush { padding: 0; background: var(--bg); }

/* --------------------------------------------------------------------------------- headers and type */
.brand { display: flex; align-items: center; gap: 22px; margin: 34px 0 52px; }
.brand-mark { width: 40px; height: 48px; }
.brand-name { font-size: 40px; font-weight: 800; letter-spacing: -1px; background: linear-gradient(180deg, #fff, #b8b8b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 { font-size: 48px; font-weight: 600; margin: 0 0 22px; letter-spacing: -.5px; }
h2 { font-size: 26px; font-weight: 700; margin: 0 0 6px; }
h3 { font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.lead { color: #e6e6e6; font-size: 19px; margin: 0 0 34px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; margin-bottom: 18px; }
.topbar .title { flex: 1; text-align: center; font-size: 20px; font-weight: 700; }
.round-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 0; background: #4a4a4a; color: #fff;
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.round-btn svg { width: 24px; height: 24px; }
.round-btn:active { transform: scale(.96); }
.spacer { width: 50px; flex: none; }

.greeting { display: flex; align-items: center; gap: 22px; margin: 14px 0 34px; }
.greeting .hi { color: var(--muted); font-size: 19px; }
.greeting .big { font-size: 34px; font-weight: 600; line-height: 1.05; }
.greeting .menu { margin-left: auto; }

/* ---------------------------------------------------------------------------------------- avatars */
.avatar {
  position: relative; width: 56px; height: 56px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 19px; color: #fff;
  background: var(--blue); box-shadow: 0 0 0 3px #c9a46a;
}
.avatar.lg { width: 96px; height: 96px; font-size: 30px; }
.avatar .badge {
  position: absolute; right: -2px; bottom: -6px; width: 24px; height: 24px; border-radius: 50%;
  background: #f2c94c; color: #222; font-size: 12px; display: grid; place-items: center; border: 2px solid var(--bg);
}

/* ------------------------------------------------------------------------------------------ cards */
.card {
  position: relative; overflow: hidden; border-radius: var(--radius-card); padding: 30px 30px 32px;
  background: radial-gradient(120% 90% at 0% 0%, #3b3b3b 0, var(--card) 45%); margin-bottom: 26px;
}
.card.tight { padding: 22px 24px; }
.card .card-icon { width: 30px; height: 30px; color: #fff; margin-bottom: 26px; }
.card .card-arrow { position: absolute; right: 30px; top: 30px; color: #fff; width: 22px; height: 22px; }
.card .card-sub { color: var(--muted); font-size: 17px; margin: 12px 0 0; }
.card .card-art { position: absolute; right: 18px; bottom: 18px; width: 120px; height: 120px; opacity: .95; pointer-events: none; }
.card.tap { cursor: pointer; }
.card.tap:active { transform: scale(.99); }
.card .btn { margin-top: 26px; }

.dots { display: flex; justify-content: center; gap: 8px; margin: -10px 0 24px; }
.dots span { width: 12px; height: 12px; border-radius: 50%; background: #bbb; opacity: .55; }
.dots span.on { background: var(--blue); opacity: 1; }

.carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -22px 26px; padding: 0 22px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > .card { flex: 0 0 calc(100% - 8px); scroll-snap-align: center; margin: 0; }

/* the "Performance" strip of icon + number pairs */
.stat-strip { display: flex; justify-content: space-around; background: #454545; border-radius: 28px; padding: 18px 8px; margin-top: 22px; }
.stat-strip div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 20px; }
.stat-strip svg { width: 28px; height: 28px; }
.card-head { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.card-head svg { width: 28px; height: 28px; color: #fff; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------------------------------- buttons */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 62px;
  border-radius: var(--radius-pill); border: 0; background: var(--blue); color: #fff; font-size: 20px; font-weight: 500;
  cursor: pointer; padding: 0 22px; text-decoration: none;
}
.btn:active { background: var(--blue-press); }
.btn.outline { background: transparent; border: 2px solid var(--blue); }
.btn.grey { background: #4a4a4a; }
.btn.danger { background: transparent; border: 2px solid var(--red); color: var(--red); }
.btn.small { min-height: 46px; font-size: 16px; width: auto; padding: 0 20px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 22px; height: 22px; }
.btn-row { display: flex; gap: 12px; }
.btn-row .btn { flex: 1; }
.link-btn { background: none; border: 0; color: var(--blue); font-size: 17px; cursor: pointer; padding: 8px 0; }

/* ------------------------------------------------------------------------------------------ forms */
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 18px; margin: 0 0 14px; }
.input {
  width: 100%; min-height: 64px; border-radius: var(--radius-pill); border: 1.5px solid #e6e6e6; background: var(--field);
  padding: 0 26px; font-size: 18px; outline: none;
}
.input::placeholder { color: #7f7f7f; }
.input:focus { border-color: var(--blue); }
.input.bad { border-color: var(--red); }
.field-error { color: var(--red); font-size: 16px; margin-top: 12px; display: flex; gap: 8px; align-items: center; }
.field-error svg { width: 20px; height: 20px; }
select.input { appearance: none; }
textarea.input { padding: 18px 24px; min-height: 110px; border-radius: 24px; }
.search { position: relative; }
.search .input { padding-left: 54px; }
.search svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--muted); }

/* --------------------------------------------------------------------------------- lists and chips */
.list-item { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.list-item + .list-item { border-top: 1px solid #343434; }
.list-item .name { font-size: 19px; font-weight: 600; }
.list-item .meta { color: var(--muted); font-size: 14px; }
.icon-btn { background: none; border: 0; color: #fff; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.icon-btn svg { width: 26px; height: 26px; }
.icon-btn:active { background: #3a3a3a; }
.chip { border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px; background: #4a4a4a; font-size: 14px; white-space: nowrap; }
.chip.available { background: rgba(47, 191, 113, .18); color: #6fe3a3; }
.chip.soon { background: rgba(242, 179, 61, .18); color: #f7cd7a; }
.chip.cooldown { background: rgba(239, 91, 91, .18); color: #f79b9b; }
.chip.unknown { background: #404040; color: #c9c9c9; }
.chip.on { background: var(--blue); color: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.notice { border-radius: 22px; padding: 16px 18px; background: #3a3a3a; color: #e9e9e9; font-size: 15px; margin-bottom: 16px; }
.notice.warn { background: rgba(242, 179, 61, .14); color: #f7d58f; }
.notice.bad { background: rgba(239, 91, 91, .14); color: #f8a8a8; }
.notice.good { background: rgba(47, 191, 113, .14); color: #8be8b6; }

/* ------------------------------------------------------------------------------------ bottom sheet */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 50; opacity: 0; transition: opacity .2s; }
.sheet-backdrop.open { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; max-height: 92vh; overflow-y: auto;
  background: #2b2b2b; border-radius: 34px 34px 0 0; padding: 14px 22px calc(var(--safe-bottom) + 26px);
  transform: translateY(100%); transition: transform .25s ease; box-shadow: var(--shadow);
}
.sheet.open { transform: translateY(0); }
.sheet .handle { width: 46px; height: 5px; border-radius: 3px; background: #6a6a6a; margin: 0 auto 18px; }
.sheet .sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.sheet .sheet-head .title { flex: 1; text-align: center; font-size: 20px; font-weight: 700; }
.sheet .sheet-art { display: block; margin: 20px auto; width: 120px; height: 120px; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--safe-bottom) + 30px); transform: translate(-50%, 30px); z-index: 80;
  background: #f2f2f2; color: #1d1d1d; padding: 14px 22px; border-radius: 24px; font-size: 16px; max-width: calc(100% - 40px);
  opacity: 0; transition: all .2s; pointer-events: none; text-align: center; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------------------------------- maps */
.map-page { position: fixed; inset: 0; background: #1b1b1b; }
.map-page .map { position: absolute; inset: 0; }
.map-overlay-top { position: absolute; left: 0; right: 0; top: 0; z-index: 5; padding: calc(var(--safe-top) + 14px) 16px 0; display: flex; gap: 12px; align-items: center; pointer-events: none; }
.map-overlay-top > * { pointer-events: auto; }
.map-overlay-top .search { flex: 1; }
.map-overlay-top .input { min-height: 52px; border: 0; background: rgba(43, 43, 43, .94); box-shadow: var(--shadow); }
.map-tools { position: absolute; right: 14px; top: calc(var(--safe-top) + 84px); z-index: 5; display: flex; flex-direction: column; gap: 10px; }
.map-tool {
  width: 48px; height: 48px; border-radius: 16px; border: 0; background: rgba(43, 43, 43, .94); color: #fff;
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); font-size: 13px; font-weight: 700;
}
.map-tool svg { width: 24px; height: 24px; }
.map-tool.on { background: var(--blue); }
.compass svg { transition: transform .15s; }
.map-panel {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; max-height: 58vh; overflow-y: auto;
  background: #2b2b2b; border-radius: 30px 30px 0 0; padding: 12px 20px calc(var(--safe-bottom) + 18px); box-shadow: 0 -10px 30px rgba(0, 0, 0, .35);
}
.map-panel .handle { width: 46px; height: 5px; border-radius: 3px; background: #6a6a6a; margin: 0 auto 14px; position: relative; cursor: pointer; }
.map-panel .handle::after, .sheet .handle::after { content: ''; position: absolute; inset: -16px -90px; } /* a finger-sized grab area */
.sheet .handle { position: relative; }
.map-panel { transition: max-height .25s ease; }
.map-panel.collapsed { max-height: calc(var(--safe-bottom) + 92px); overflow: hidden; }
.map-panel.collapsed .handle { background: var(--blue); }
.map-fab {
  position: absolute; right: 16px; bottom: calc(var(--safe-bottom) + 112px); z-index: 7; display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 30px; background: var(--blue); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: var(--shadow);
}
.map-fab svg { width: 20px; height: 20px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

.maplibregl-ctrl-attrib { font-size: 10px; background: rgba(30, 30, 30, .7) !important; color: #aaa; }
.maplibregl-ctrl-attrib a { color: #ccc; }
.maplibregl-popup-content { background: #2b2b2b; color: #fff; border-radius: 16px; padding: 10px 14px; font-family: var(--font); }
.maplibregl-popup-tip { border-top-color: #2b2b2b !important; border-bottom-color: #2b2b2b !important; }

/* markers drawn as HTML on the map */
.marker-vertex { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); cursor: grab; }
.marker-mid { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 2px solid var(--blue); cursor: pointer; }
.marker-corner { width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: #111; display: grid; place-items: center; font-weight: 800; border: 2px solid #111; cursor: grab; }
.marker-me { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(37, 132, 240, .25); }
.marker-partner { width: 34px; height: 34px; border-radius: 50%; background: #9b6bff; border: 3px solid #fff; color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(155, 107, 255, .25); }
.marker-flag { padding: 4px 9px; border-radius: 12px; background: #fff; color: #111; font-weight: 800; font-size: 13px; border: 2px solid #111; }
.pulse { animation: pulse 1.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(155, 107, 255, .7); } 100% { box-shadow: 0 0 0 22px rgba(155, 107, 255, 0); } }

/* working a map: Streets (Field IQ's list) or Map, with the ✕ ↩ ✓ bar at the bottom */
.work { position: fixed; inset: 0; display: flex; flex-direction: column; background: #1e1e1e; }
.work-top { display: flex; align-items: center; gap: 10px; padding: calc(var(--safe-top) + 12px) 14px 10px; background: #2a2a2a; }
.work-top .round-btn { width: 46px; height: 46px; }
.mode-toggle { display: flex; background: #1e1e1e; border-radius: 22px; padding: 4px; }
.mode-toggle button { border: 0; background: none; color: var(--muted); font: 600 15px var(--font); padding: 8px 14px; border-radius: 18px; cursor: pointer; }
.mode-toggle button.on { background: #4a4a4a; color: #fff; }
.work-top .counts { margin-left: auto; display: flex; gap: 12px; background: #1e1e1e; border-radius: 20px; padding: 6px 12px; }
.work-top .counts span { display: flex; flex-direction: column; align-items: center; font-weight: 700; font-size: 15px; }
.work-top .counts svg { width: 18px; height: 18px; color: var(--muted); }
.partner-banner:empty { display: none; }
.partner-banner .notice { margin: 8px 12px 0; padding: 10px 14px; background: rgba(155, 107, 255, .16); color: #e6dcff; cursor: pointer; }
.street-view { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
.work.map .street-view, .work.streets .work-map { display: none; }
.work .work-map { position: relative; inset: auto; flex: 1; }
.work .map-tools { top: 12px; }
.street-tools { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px; font-size: 14px; }
.street-tools .link-btn { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; }
.street-tools svg, .street-head svg { width: 18px; height: 18px; }
.street-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; background: #2c2f36; color: #c9ccd3; font-size: 15px; position: sticky; top: 0; z-index: 1; }
.street-head .link-btn { padding: 0 4px; color: #c9ccd3; }
.house-row { display: flex; align-items: center; gap: 12px; padding: 0 14px; min-height: 52px; border-bottom: 1px solid #2c2c2c; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.house-row.picked { background: #3a3a3a; }
.house-row.partner-at { box-shadow: inset 4px 0 0 #9b6bff; }
.house-row .num { font-weight: 700; font-size: 17px; min-width: 32px; }
.house-row .stage { font-size: 15px; }
.house-row .stage.no { color: #f08c8c; }
.house-row .stage.callback { color: #f5c76a; }
.house-row .stage.sale { color: #6fe0a2; }
.house-row .timer { font-variant-numeric: tabular-nums; font-size: 14px; }
.house-row .icon-btn.small { width: 36px; height: 36px; }
.house-row .icon-btn.small svg { width: 20px; height: 20px; }
.st { width: 20px; height: 20px; display: grid; place-items: center; font-style: normal; flex: none; }
.st svg { width: 18px; height: 18px; stroke-width: 2.4; }
.st.none::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #8a8a8a; }
.st.no { color: var(--red); }
.st.callback { color: var(--amber); }
.st.sale { color: var(--green); }
.at-badge { font-size: 12px; font-weight: 700; color: #fff; background: #7d55e6; border-radius: 10px; padding: 3px 8px; }
.work-bottom { background: #2a2a2a; padding: 8px 8px calc(var(--safe-bottom) + 8px); }
.picked-card { display: flex; align-items: center; gap: 10px; background: #353535; border-radius: 20px; padding: 10px 14px; margin-bottom: 8px; font-size: 15px; }
.picked-card .addr { font-size: 19px; font-weight: 700; }
.work.streets #picked { display: none; }
.action-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.act { border: 0; border-radius: 14px; min-height: 62px; display: grid; place-items: center; cursor: pointer; touch-action: manipulation; -webkit-touch-callout: none; user-select: none; }
.act svg { width: 30px; height: 30px; stroke-width: 2.4; }
.act.no { background: #6b3a3a; color: #ff8a8a; }
.act.callback { background: #6e5a2a; color: #ffd36b; }
.act.sale { background: #2c6343; color: #7cf0b0; }
.act:active { filter: brightness(1.25); }
.map-add { position: absolute; left: 14px; top: 12px; z-index: 5; border: 0; border-radius: 22px; background: rgba(43, 43, 43, .94); color: #fff; font: 600 15px var(--font); padding: 10px 14px; display: flex; align-items: center; gap: 6px; box-shadow: var(--shadow); cursor: pointer; }
.map-add svg { width: 18px; height: 18px; }
.map-add.on { background: var(--blue); }
.marker-at { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #9b6bff; pointer-events: none; }

/* the ✕ and ↩ sheets */
.stage-row { display: flex; gap: 10px; align-items: stretch; }
.seg { flex: 1; display: flex; background: #1f1f1f; border-radius: 18px; padding: 4px; }
.seg button { flex: 1; border: 0; background: none; color: var(--muted); font: 600 15px var(--font); border-radius: 14px; padding: 12px 4px; cursor: pointer; }
.seg button.on { background: #fff; color: #111; }
.not-knocked { border: 0; border-radius: 18px; background: #3a2a2a; color: #f08c8c; font: 600 13px var(--font); padding: 6px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; }
.not-knocked svg { width: 22px; height: 22px; }
.not-knocked.on { background: var(--red); color: #fff; }
.center { text-align: center; }
.reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.reason-grid button { border: 0; background: none; color: var(--muted); font: 500 12px var(--font); display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.reason-grid button span { font-size: 30px; width: 64px; height: 64px; display: grid; place-items: center; background: #2c2c2c; border-radius: 20px; border: 2px solid transparent; }
.reason-grid button.on { color: #fff; }
.reason-grid button.on span { border-color: var(--blue); background: #24364d; }
.btn.amber { background: var(--amber); color: #111; }

/* ✓ */
.sale-page { position: fixed; inset: 0; z-index: 60; background: #14361f; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; opacity: 0; transition: opacity .25s; }
.sale-page.show { opacity: 1; }
.sale-page h1 { font-size: 40px; margin: 12px 0 0; }
.sale-page p { color: #b8f0cf; margin: 0 0 28px; font-size: 18px; }
.sale-page .btn { max-width: 320px; }
.sale-tick { width: 120px; height: 120px; border-radius: 50%; background: var(--green); display: grid; place-items: center; color: #fff; animation: pop .45s ease-out; }
.sale-tick svg { width: 64px; height: 64px; stroke-width: 2.6; }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* map check: streets list */
.street-list { display: flex; flex-direction: column; margin-bottom: 10px; }
.street-list div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #3a3a3a; font-size: 15px; }
.avatar-stack { display: flex; }
.avatar-stack .avatar + .avatar { margin-left: -14px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 17px; }
.switch { position: relative; width: 54px; height: 32px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 20px; background: #555; transition: .2s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(22px); }

.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kv div { background: #3a3a3a; border-radius: 18px; padding: 12px 14px; }
.kv b { display: block; font-size: 22px; }
.kv span { color: var(--muted); font-size: 13px; }

@media (min-width: 720px) {
  .screen { max-width: 560px; margin: 0 auto; }
  .sheet { max-width: 560px; margin: 0 auto; }
  .map-panel { max-width: 460px; left: 16px; bottom: 16px; border-radius: 28px; }
}
.map-page:has(.map-panel:not(.collapsed)) .map-fab { display: none; }
.alerts-ask { display: block; margin: 8px 12px 0; width: calc(100% - 24px); padding: 10px 14px; border: 0; border-radius: 16px; background: rgba(242, 179, 61, .16); color: #ffd98a; font: 600 15px var(--font); cursor: pointer; }
