@font-face {
  font-family: Manrope;
  src: url("/assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-cyr.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --atlas: #090e17;
  --dark: #19212a;
  --ink: #100e0d;
  --paper: #f4ede0;
  --field: #fffaef;
  --muted: #51483d;
  --rule: #cbbb9e;
  --amber: #ffbe54;
  --warm: #916019;
  --danger: #a12923;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --page-gutter: clamp(19px, 5.5vw, 38px);
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--atlas);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
body { min-width: 280px; margin: 0; }
[hidden] { display: none !important; }
p { margin: 0; }
h1, h2 { margin: 0; letter-spacing: -.04em; text-wrap: balance; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: .22em; }
:is(button, a, input, textarea, select):focus-visible { outline: 2px solid #986013; outline-offset: 4px; }
::selection { background: var(--amber); color: var(--ink); }
button:disabled { cursor: default; opacity: .4; }

svg:not(.icon-library) { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.app { display: flex; flex-direction: column; min-height: 100svh; }
.map-panel {
  --map-controls-top: max(22px, env(safe-area-inset-top));
  position: relative;
  flex: none;
  isolation: isolate;
  height: clamp(228px, min(56svh, calc(100svh - 390px)), 670px);
  overflow: hidden;
  color: #fff2dd;
  background: var(--atlas);
  color-scheme: dark;
}
.map { position: absolute; inset: 0; }
.live-map { opacity: 0; pointer-events: none; }
.live-map.is-ready { opacity: 1; pointer-events: auto; }
.map-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(158deg, #080b1380 0, transparent 27%), linear-gradient(to top, #070c1466, transparent 17%); }
.app-header {
  position: absolute;
  top: var(--map-controls-top);
  left: 25px;
  right: 25px;
  pointer-events: none;
}
.app-header > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 24px; line-height: 1; font-weight: 800; letter-spacing: -.043em; text-decoration: none; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.icon-button, .map-button { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; text-decoration: none; }
.map-panel :is(button, a):focus-visible { outline-color: var(--amber); }
.map-controls { position: absolute; top: var(--map-controls-top); right: var(--page-gutter); z-index: 2; display: grid; grid-template-columns: 44px; justify-items: center; gap: 8px; }
.map-button { border: 1px solid #fff4df3d; border-radius: 50%; color: #ffdfab; background: #101721f0; }
.map-button:is(:hover, [aria-expanded="true"]) { background: #293340; border-color: #ffdfab6b; }
.map-button svg { display: block; width: 20px; height: 20px; stroke-width: 1.8; }
.map-zoom { display: none; }
@media (any-hover: hover) and (any-pointer: fine) {
  .map-zoom { display: grid; gap: 7px; padding-top: 4px; }
}
:root[data-map-theme="day"] .map-panel { color: #172338; background: #e9e5d7; color-scheme: light; }
:root[data-map-theme="day"] .map-shade { background: linear-gradient(150deg, #fffcf3bc 0, transparent 27%); }
:root[data-map-theme="day"] .map-button { color: #2f3540; border-color: #47473844; background: #fffaefef; }
:root[data-map-theme="day"] .map-button:is(:hover, [aria-expanded="true"]) { background: #f7e1b8; border-color: #a46b3592; }
:root[data-map-theme="day"] .map-meta { background: #fffaef; color: #343b48; }
:root[data-map-theme="day"] .map-panel :is(button, a):focus-visible { outline-color: #986013; }
.pickup-map-tip {
  position: absolute;
  z-index: 2;
  top: calc(var(--map-controls-top) + 51px);
  left: var(--page-gutter);
  max-width: min(310px, calc(100% - 2 * var(--page-gutter) - 59px));
  padding: 7px 11px;
  border: 1px solid #f9e0b645;
  border-radius: 9px;
  background: #172131f2;
  color: #fff2db;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  pointer-events: none;
}
.map-menu { position: absolute; z-index: 1; top: 0; right: calc(100% + 10px); min-width: 170px; padding: 5px; border: 1px solid #ffdfab42; border-radius: 12px; background: #151e2b; box-shadow: 0 7px 18px #05080e66; }
.map-menu button { display: flex; width: 100%; min-height: 43px; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 7px; background: transparent; color: #fff1d9; font-size: 13px; font-weight: 750; text-align: left; }
.map-menu button:hover { background: #293340; }
.map-menu svg { width: 17px; height: 17px; color: #ffc263; }
.map-menu-docs { display: grid; margin-top: 5px; padding-top: 4px; border-top: 1px solid #fff1d92b; }
.map-menu-docs a { display: flex; min-height: 39px; align-items: center; padding: 6px 10px; border-radius: 7px; color: #fff1d9; font-size: 12px; line-height: 1.3; text-decoration: none; }
.map-menu-docs a:hover { background: #293340; }
.map-meta { position: absolute; z-index: 1; right: 12px; bottom: 8px; max-width: calc(100% - 24px); border: 1px solid #b8a78c4d; border-radius: 12px; background: #101721ef; color: #fff0d6; font-size: 12px; line-height: 16px; }
.map-source-button { display: grid; width: 42px; height: 42px; place-items: center; margin-inline-start: auto; border-radius: inherit; list-style: none; cursor: pointer; }
.map-source-button::-webkit-details-marker { display: none; }
.map-source-button svg { width: 17px; height: 17px; }
.map-source-button:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
.map-meta[open] .map-source-button { position: absolute; inset: auto 0 0 auto; }
.map-source-credit { display: grid; align-content: center; min-height: 42px; padding: 4px 46px 4px 12px; }
.map-panel:has(.live-map.is-ready) .atlas-credit, .map-panel:not(:has(.live-map.is-ready)) .live-credit { display: none; }
.map-connection { position: absolute; z-index: 1; bottom: 8px; left: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; max-width: calc(100% - 82px); padding: 4px 9px; border-radius: 8px; background: #101721ed; color: #fff0d6; font-size: 12px; line-height: 18px; }
.map-connection[data-vpn] { border: 1px solid #ffce8670; }
.map-connection button { min-height: 34px; padding-inline: 4px; border: 0; background: none; color: #ffce86; font-weight: 800; }
.map-license { padding: 0 var(--page-gutter) max(14px, env(safe-area-inset-bottom)); color: var(--muted); font-size: 12px; line-height: 18px; }

.booking {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  overflow-anchor: none;
  background: var(--paper);
}
.booking-body { width: min(100%, 680px); margin-inline: auto; padding: clamp(22px, 5.5vw, 39px) var(--page-gutter) max(25px, env(safe-area-inset-bottom)); }
.booking-toggle { display: none; }
.service-kind { margin-bottom: 10px; color: #704918; font-size: 14px; line-height: 1.35; font-weight: 780; }
h1 { font-size: clamp(48px, 13.4vw, 84px); line-height: .93; font-weight: 800; letter-spacing: -.04em; }
h1 span { display: block; }
h2 { font-size: 28px; line-height: 1.12; font-weight: 760; }
.route-fields { position: relative; margin-top: clamp(19px, 4vw, 27px); border: 1px solid #d8c9af; border-radius: 15px; background: #fcf6eb; }
.route-fields::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 22px;
  top: 50%;
  height: 50%;
  transform: translateY(-50%);
  width: 1px;
  background: #ad8854;
  pointer-events: none;
}
.address-trigger {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 65px;
  gap: 15px;
  align-items: center;
  padding: 9px 53px 9px 16px;
  text-align: left;
  border: 0;
  background: transparent;
}
.address-trigger:first-of-type { border-radius: 14px 14px 0 0; }
.address-trigger:nth-of-type(2) { border-radius: 0 0 14px 14px; }
.address-trigger:hover { background: #f2e7d4; }
.address-trigger + .address-trigger::before { content: ""; position: absolute; left: 44px; right: 45px; top: 0; border-top: 1px solid #d8c9af; }
.route-dot { z-index: 1; flex: none; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #8a5e25; background: #8a5e25; }
.route-dot.destination { width: 11px; height: 11px; margin-inline: 1px; border-radius: 2px; background: #fcf6eb; transform: rotate(45deg); }
.address-copy { display: grid; grid-template-rows: auto 1.25em; gap: 3px; min-width: 0; font-size: clamp(17px, 5.25vw, 23px); }
.address-copy > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 13px; line-height: 16px; font-weight: 700; }
.address-copy strong { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; line-height: 1.25; font-weight: 790; letter-spacing: -.027em; }
.address-trigger.has-city .address-copy strong { color: var(--ink); }
.address-trigger[aria-invalid="true"] .address-copy strong { color: var(--danger); }
.example-value, .example-label { display: none; }
.route-fields[data-demo] .address-copy:has(.example-value:not(:empty)) .point-value { display: none; }
.route-fields[data-demo] .example-value:not(:empty) { display: block; color: #68471f; }
.route-fields[data-demo] .example-label { position: absolute; top: 11px; right: 12px; display: block; color: #745827; font-size: 12px; line-height: 17px; font-weight: 720; pointer-events: none; }
.route-fields[data-typing] .example-value:not(:empty)::after { display: inline-block; width: 2px; height: .85em; margin-left: 3px; background: #a16b28; vertical-align: -.02em; content: ""; }
.swap-route { position: absolute; z-index: 2; top: calc(50% - 22px); right: 7px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #d0bc98; border-radius: 50%; background: #fcf6eb; color: #704918; }
.swap-route:not(:disabled):hover { background: #f1dfbc; }
.swap-route svg { width: 19px; height: 19px; }
.inline-error { margin-top: 8px; color: var(--danger); font-size: 14px; line-height: 20px; font-weight: 700; }

.trip-estimate { display: grid; grid-template-rows: minmax(0, 1fr) auto; align-items: center; block-size: clamp(106px, 22vw, 120px); gap: 8px; margin-top: 18px; padding: 12px 16px; border-block: 1px solid #d8c9af; color: var(--muted); font-size: 13px; line-height: 1.35; }
.estimate-status { font-weight: 750; }
.estimate-metrics { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 12px; }
.estimate-metrics:has(> [hidden]) { grid-template-columns: minmax(0, 1fr); }
.estimate-metrics > div { display: grid; min-width: 0; gap: 4px; }
.estimate-metrics > div:not([hidden]) + div:not([hidden]) { padding-inline-start: 16px; border-inline-start: 1px solid #d8c9af; }
.estimate-metrics strong { color: var(--ink); font-size: clamp(19px, 5.8vw, 30px); font-weight: 800; letter-spacing: -.04em; line-height: 1.12; font-variant-numeric: tabular-nums; }
.request-contact { display: grid; gap: 16px; margin-top: 20px; }
.request-contact > .field { display: grid; gap: 8px; padding-inline: 2px; font-size: 14px; }
.request-contact .field input { min-height: 54px; margin: 0; padding-inline: 14px; border-color: #cab998; border-radius: 12px; }
.request-contact .field input:focus-visible { outline-offset: 2px; }
.request-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  column-gap: 9px;
  padding-inline: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.request-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #815112; cursor: pointer; }
.request-consent label { display: inline-block; min-height: 23px; color: var(--ink); font-weight: 740; cursor: pointer; }
#request-documents { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 12px; }
#request-documents a { text-underline-offset: .19em; }
.trip-options-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 61px;
  margin: 0;
  padding: 9px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  font-size: 12px;
  color: #625745;
}
.trip-options-trigger span { display: grid; flex: 1; gap: 3px; }
.trip-options-trigger:hover { background: #f1e4cb; }
.trip-options-trigger .options-icon { display: grid; flex: none; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: #edddbd; color: #755220; }
.options-icon svg { width: 19px; height: 19px; }
.trip-options-trigger strong { color: var(--ink); font-size: 15px; font-weight: 800; }
.edit-chevron { color: var(--warm); }

.checkout { margin-top: 19px; }
.primary-button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 9px; padding: 10px 17px; border: 0; border-radius: 12px; background: var(--dark); color: #fff6e3; font-size: 15px; line-height: 20px; font-weight: 800; text-decoration: none; text-align: center; }
.primary-button:hover { background: #273b4f; }
.primary-button.full { width: 100%; }
.primary-button.next-step { width: 100%; min-height: 59px; gap: 11px; padding: 10px 14px; border: 1px solid #df9c3f; border-radius: 12px; background: var(--amber); color: var(--ink); font-size: clamp(21px, 5.5vw, 25px); line-height: 1.07; letter-spacing: -.036em; }
.primary-button.next-step:hover { background: #ffcb77; }
.next-step svg { width: 24px; height: 24px; stroke-width: 2; }

dialog {
  width: min(calc(100% - 30px), 480px);
  max-height: calc(100dvh - 30px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 50px #050d225d;
  overscroll-behavior-y: contain;
}
dialog::backdrop { background: #06101c80; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet-handle { display: none; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 21px 8px; }
.dialog-heading .close { flex: none; border: 1px solid #c9bfac; border-radius: 50%; background: var(--field); }
.dialog-heading .close:hover { background: #f4e4c7; }
.dialog-body { display: grid; gap: 12px; padding: 12px 21px 20px; font-size: 15px; line-height: 22px; }
.field { display: block; min-width: 0; font-size: 13px; line-height: 19px; font-weight: 800; }
.field :is(input, select, textarea) { display: block; width: 100%; min-width: 0; min-height: 46px; margin-top: 4px; padding: 8px 10px; border: 1px solid #cec5b4; border-radius: 9px; background: var(--field); color: var(--ink); font-size: 16px; font-weight: 650; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #646b66; }
.field-hint { color: var(--muted); font-size: 12px; line-height: 17px; font-weight: 650; }
.pickup-on-map {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 5px 9px;
  border: 0;
  border-radius: 8px;
  background: #eee2c9;
  color: #634411;
  font-size: 13px;
  font-weight: 800;
}
.pickup-on-map:hover { background: #f3d9a5; }
.pickup-on-map svg { width: 17px; height: 17px; }
.intercity-offer {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 13px;
  border-radius: 12px;
  background: #f4dfb7;
  color: #2a2118;
}
.intercity-offer h3 { margin: 0; font-size: 17px; line-height: 1.2; letter-spacing: -.025em; }
.intercity-offer p { font-size: 13px; line-height: 1.45; }
.intercity-offer .primary-button { min-height: 41px; padding: 7px 11px; font-size: 13px; }
.intercity-edit { min-height: 38px; padding: 0 6px; border: 0; background: transparent; color: #53380e; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; font-weight: 800; }
.city-suggestions { display: flex; flex-wrap: wrap; gap: 6px; }
.city-suggestions:empty { display: none; }
.city-suggestions button, .subtle-button { min-height: 41px; padding: 7px 10px; border: 1px solid #d8c9ac; border-radius: 9px; background: #efe4cd; color: #4b3616; font-size: 13px; font-weight: 800; }
.city-suggestions button:hover, .subtle-button:hover { background: #f6d9a1; }

fieldset { margin: 0; padding: 0; min-width: 0; border: 0; }
legend { margin-bottom: 8px; padding: 0; font-size: 14px; line-height: 20px; font-weight: 800; }
.segmented { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--rule); border-radius: 12px; background: #e9e2d5; }
.segmented label { position: relative; flex: 1; min-width: 0; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 5px; border-radius: 8px; color: #4f5657; font-size: 12px; line-height: 16px; font-weight: 800; text-align: center; }
.segmented input:focus-visible + span { outline: 2px solid #986013; outline-offset: 1px; }
.segmented input:checked + span { background: var(--dark); color: #fff6e3; }
.segmented svg { width: 17px; height: 17px; }
.scheduled-fields { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 6px 10px; margin-top: 10px; }
.scheduled-fields .field-hint { grid-column: 1 / -1; }
.soon-note { padding: 9px 0; }
.tariffs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tariff {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-content: start;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 82px;
  padding: 9px 10px;
  border: 1px solid #d6c6ab;
  border-radius: 10px;
  background: var(--field);
  text-align: left;
}
.tariff:hover { background: #f3e8d4; }
.tariff[aria-pressed="true"] { border-color: #aa762c; background: #f3dfb7; }
.tariff .tariff-check { visibility: hidden; width: 18px; height: 18px; color: #815112; }
.tariff[aria-pressed="true"] .tariff-check { visibility: visible; }
.tariff-detail { display: grid; grid-column: 1 / -1; gap: 1px; }
.tariff-detail strong { font-size: 14px; line-height: 18px; font-weight: 800; }
.tariff-detail span { color: var(--muted); font-size: 12px; line-height: 15px; font-weight: 700; overflow-wrap: anywhere; }
.tariff-examples {
  display: grid;
  gap: 2px;
  margin-top: 9px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #ede3d1;
  color: #624b2e;
  font-size: 13px;
  line-height: 18px;
}
.tariff-examples strong { color: var(--ink); font-weight: 800; }
@media (max-width: 360px) {
  .tariff { position: relative; grid-template-columns: 18px minmax(0, 1fr); align-content: center; align-items: start; min-height: 64px; padding: 7px 8px; }
  .tariff > svg:first-child { width: 18px; height: 18px; }
  .tariff .tariff-check { position: absolute; top: 7px; right: 7px; width: 14px; height: 14px; }
  .tariff-detail { grid-column: 2; }
  .tariff-detail strong { padding-inline-end: 13px; }
}

.history-list { display: grid; gap: 5px; }
.history-list p { color: var(--muted); font-size: 13px; line-height: 18px; }
.history-list article { display: grid; gap: 4px; padding-block: 9px; border-bottom: 1px solid var(--rule); }
.app-notice { position: fixed; z-index: 3; bottom: calc(78px + env(safe-area-inset-bottom)); left: 10px; right: 10px; display: flex; align-items: center; gap: 8px; padding: 9px; border-radius: 10px; background: var(--dark); color: var(--paper); font-size: 12px; }
.app-notice span { flex: 1; }
.app-notice button { padding: 6px; border: 0; border-radius: 6px; background: var(--amber); font-weight: 800; }
.app-notice button svg { display: block; width: 16px; height: 16px; }
.noscript { padding: 16px; color: var(--paper); }
.connection-screen[open] {
  position: fixed;
  inset: 0;
  display: grid;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: max(20px, env(safe-area-inset-top)) var(--page-gutter) max(20px, env(safe-area-inset-bottom));
  place-items: center;
  border-radius: 0;
  background: #090e17;
  color: var(--paper);
  color-scheme: dark;
  box-shadow: none;
  animation: none;
}
.connection-screen::backdrop { background: #090e17; }
body:has(.connection-screen[open]) { overflow: hidden; }
.connection-content { display: grid; justify-items: center; gap: 16px; width: min(100%, 360px); text-align: center; }
.connection-brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.connection-brand img { display: block; width: 44px; height: 44px; object-fit: contain; }
.connection-content h1 { color: #fff3df; font-size: clamp(32px, 7.5vw, 46px); line-height: 1.08; }
.connection-content p { color: #ded1bb; font-size: 15px; line-height: 1.55; }
.connection-retry { min-height: 46px; margin-top: 4px; padding: 9px 18px; border: 1px solid #ffce866e; border-radius: 10px; background: #1b2431; color: #ffe7be; font-size: 14px; font-weight: 800; }
.connection-retry:hover { background: #273b4f; }
.connection-retry:focus-visible { outline-color: var(--amber); }
.connection-content .connection-result { font-size: 13px; }
.dispatch-route { font-weight: 800; }
.callback-window { display: grid; gap: 3px; padding: 13px 0; border-block: 1px solid var(--rule); }
.callback-window span { color: var(--muted); font-size: 13px; }
.callback-window output { font-size: 45px; font-weight: 800; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.dispatch-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; }
.dispatch-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 13px; font-weight: 750; }
.dispatch-links a:hover { color: var(--ink); }
.dispatch-install { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 7px 8px; padding: 9px 10px; border-radius: 9px; background: #ebe0cd; color: #32281d; }
.dispatch-install img { display: block; width: 32px; height: 32px; object-fit: contain; }
.dispatch-install strong { display: block; font-size: 13px; line-height: 1.3; }
.dispatch-install p { font-size: 12px; line-height: 1.4; }
.dispatch-install button { min-height: 44px; padding: 6px 8px; border: 1px solid #bda17a; border-radius: 7px; background: #fff7e9; color: #593a15; font-size: 12px; font-weight: 800; }
.dispatch-install button:hover { background: #ffdea3; }
.dispatch-install .dispatch-install-hint { grid-column: 1 / -1; padding: 5px 0 0; border-top: 1px solid #cbb594; font-size: 12px; }
#address-dialog[open] { position: fixed; z-index: 5; }

@media (max-width: 799px) {
  .app {
    --booking-overlap: 24px;
    --booking-peek: calc(54px + env(safe-area-inset-bottom));
    --booking-body-room: clamp(390px, 320px + 20vw, 430px);
    --booking-map-preview: clamp(228px, min(56svh, calc(100svh - var(--booking-body-room))), 670px);
    --booking-map-full: max(var(--booking-map-preview), calc(100dvh - var(--booking-peek) + var(--booking-overlap)));
    --booking-map-covered: var(--booking-overlap);
  }
  .app .map-panel { height: var(--booking-map-preview); }
  .app :is(.map-meta, .map-connection) { bottom: calc(var(--booking-map-covered) + 8px); }
  .booking { z-index: 1; margin-block-start: calc(0px - var(--booking-overlap)); border-radius: var(--booking-overlap) var(--booking-overlap) 0 0; }
  .booking-toggle {
    align-self: center;
    display: grid;
    flex: none;
    width: min(220px, calc(100% - 36px));
    min-height: 44px;
    padding: 0 12px;
    place-content: center;
    justify-items: center;
    gap: 5px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: grab;
    touch-action: none;
    user-select: none;
  }
  .booking-toggle:focus-visible { outline-offset: -4px; }
  .booking-toggle:active { cursor: grabbing; }
  .booking-grip { width: 38px; height: 4px; border-radius: 4px; background: #9e8769; }
  .booking-toggle-label { display: none; font-size: 14px; line-height: 20px; font-weight: 800; }
  .booking:has(.booking-toggle:not([hidden])) .booking-body { padding-block-start: 3px; }
  .app:is([data-booking-collapsed], [data-booking-map-full]) .map-panel { height: var(--booking-map-full); }
  .app[data-booking-map-full]:not([data-booking-collapsed]) .booking {
    margin-block-start: calc(var(--booking-map-preview) - var(--booking-map-full) - var(--booking-overlap));
  }
  .app[data-booking-collapsed] { overflow: clip; }
  .app[data-booking-collapsed] .booking { min-height: var(--booking-peek); }
  .app[data-booking-collapsed] .booking-toggle { min-height: 54px; }
  .app[data-booking-collapsed] .booking-toggle-label { display: block; }
  .app[data-booking-collapsed] .booking-body { position: absolute; inset: 100% 0 auto; background: var(--paper); }
  .app[data-booking-collapsed] .map-license { display: none; }
  dialog { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: 93dvh; margin: 0; border-radius: 24px 24px 0 0; }
  dialog[open] { translate: 0 var(--sheet-drag, 0px); }
  .sheet-handle { display: grid; height: 24px; place-items: center; touch-action: none; user-select: none; cursor: grab; }
  .sheet-handle::before { content: ""; width: 38px; height: 4px; border-radius: 4px; background: #9e8769; }
  .sheet-handle:active { cursor: grabbing; }
  .dialog-heading { padding-top: 2px; }
  .dialog-body { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .app[data-address-open] { --booking-map-covered: calc(var(--booking-address-height, 0px) + var(--address-keyboard, 0px)); }
  .app[data-address-open]::before { content: ""; display: block; flex: none; height: var(--booking-map-preview); }
  .app[data-address-open][data-booking-collapsed]::before { height: var(--booking-map-full); }
  .app[data-address-open] .map-panel { position: fixed; z-index: 4; inset: 0; height: 100dvh; }
  #address-dialog[open] { bottom: var(--address-keyboard, 0px); max-height: min(53dvh, 490px, calc(var(--address-visible-height, 100dvh) - 38px)); }
  body:has(#address-dialog[open]) { overflow: hidden; }
}
@media (max-width: 360px) {
  .app-header { left: 16px; right: 16px; }
  .map-controls { right: 14px; }
  .booking-body { padding-top: 18px; }
  .address-trigger { min-height: 56px; }
  .estimate-metrics > div:not([hidden]) + div:not([hidden]) { padding-inline-start: 12px; }
  .primary-button.next-step { min-height: 52px; font-size: 21px; gap: 7px; }
  .dialog-heading, .dialog-body { padding-inline: 16px; }
}
@media (max-width: 389px) {
  .map-menu { top: calc(100% + 8px); right: 0; }
}
@media (min-width: 800px) {
  .app { display: grid; grid-template-columns: clamp(367px, 33.5vw, 508px) minmax(0, 1fr); grid-template-areas: "book map"; min-height: 100dvh; }
  .map-panel { --map-controls-top: 29px; position: sticky; top: 0; grid-area: map; height: 100dvh; }
  .app-header { left: 30px; right: 28px; }
  .brand { font-size: 29px; }
  .map-controls { right: 25px; }
  .map-meta { right: 22px; bottom: 22px; }
  .map-connection { left: 22px; bottom: 22px; }
  .booking { grid-area: book; }
  .booking-body { padding: 26px 30px 24px; }
  h1 { font-size: clamp(57px, 6vw, 87px); }
  .route-fields { margin-top: 22px; }
  .address-trigger { min-height: 71px; }
  .checkout { margin-top: 19px; }
  .app-notice { max-width: 380px; }
  #address-dialog[open] { inset: auto auto 26px 20px; width: min(418px, calc(34vw - 36px)); margin: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  dialog[open] { animation: open-sheet 270ms var(--ease) both; }
  dialog[open]::backdrop { animation: sheet-backdrop 220ms ease-out both; }
  #address-dialog[open] { animation: open-address 300ms var(--ease) both; }
  dialog[data-sheet-settling] { transition: translate 200ms var(--ease); }
  .live-map { transition: opacity 240ms var(--ease); }
  .request-contact:not([hidden]) { animation: open-sheet 260ms var(--ease) both; }
  .dispatch-install:not([hidden]) { animation: open-sheet 220ms var(--ease) both; }
  .map-menu:not([hidden]) { animation: open-menu 180ms var(--ease) both; }
  :is(.primary-button, .address-trigger, .tariff, .map-button, .map-menu button, .swap-route, .trip-options-trigger, .close, .city-suggestions button, .dispatch-install button) { transition: background-color 170ms var(--ease), border-color 170ms var(--ease), transform 130ms var(--ease); }
  :is(.primary-button, .map-button, .trip-options-trigger, .close, .tariff, .city-suggestions button, .dispatch-install button):active { transform: translateY(1px) scale(.988); }
  .address-trigger:active .address-copy { transform: translateX(2px); }
  .address-copy { transition: transform 130ms var(--ease); }
  .next-step svg, .edit-chevron { transition: transform 210ms var(--ease); }
  #continue { position: relative; isolation: isolate; overflow: hidden; }
  #continue::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 0;
    width: 55%;
    pointer-events: none;
    background: linear-gradient(100deg, transparent, #fff3b993, transparent);
    opacity: 0;
  }
  #continue[data-show-glint]:enabled::before { animation: order-glint 1.25s var(--ease) .55s both; }
  @media (hover: hover) {
    .next-step:hover svg, .trip-options-trigger:hover .edit-chevron { transform: translateX(4px); }
  }
  @keyframes open-sheet { from { transform: translateY(13px); opacity: .65; } to { transform: translateY(0); opacity: 1; } }
  @keyframes open-address { from { transform: translateY(52px); opacity: .78; } to { transform: translateY(0); opacity: 1; } }
  @keyframes sheet-backdrop { from { opacity: 0; } to { opacity: 1; } }
  @keyframes open-menu { from { transform: translateX(5px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes order-glint {
    from { transform: translateX(-125%) skewX(-18deg); opacity: 0; }
    24% { opacity: 1; }
    to { transform: translateX(220%) skewX(-18deg); opacity: 0; }
  }
}
