/* Mobile operations UI: one type scale, one surface system, one primary action. */
:root {
  color-scheme: light;
  --canvas: #f5f5f2;
  --surface: #ffffff;
  --surface-muted: #e9ece7;
  --surface-hover: #eff3ee;
  --surface-selected: #eaf2ec;
  --ink: #202522;
  --secondary: #626a64;
  --placeholder: #626a64;
  --icon: #707c73;
  --line: #e0e4dd;
  --control-border: #c0c8be;
  --focus: #3e7b5c;
  --accent: #236348;
  --accent-soft: #e6efe8;
  --action: #236348;
  --action-hover: #1c543d;
  --on-action: #ffffff;
  --danger: #b33e36;
  --danger-surface: #faeeec;
  --on-danger: #ffffff;
  --status-draft: #8a681f;
  --scrim: #151d1866;
  --shadow: #17271e26;
  --shadow-soft: #2025220d;
  --toast-surface: #253c2f;
  --toast-ink: #ffffff;
  --toast-icon: #b4dbc1;
  --document-paper: #ffffff;
  --radius: 16px; --viewport-height: 100dvh; --keyboard-inset: 0px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none; -webkit-font-smoothing: antialiased;
  color: var(--ink); background: var(--canvas);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #191c1b;
  --surface: #252a27;
  --surface-muted: #303632;
  --surface-hover: #323b34;
  --surface-selected: #2b3d31;
  --ink: #eff2ed;
  --secondary: #b6c0b5;
  --placeholder: #a2ada2;
  --icon: #a8b5a8;
  --line: #3c453e;
  --control-border: #69766a;
  --focus: #a1c7ab;
  --accent: #a1c7ab;
  --accent-soft: #2c3d32;
  --action: #a1c7ab;
  --action-hover: #b6d7bc;
  --on-action: #18291f;
  --danger: #edaaa3;
  --danger-surface: #482d2b;
  --on-danger: #301412;
  --status-draft: #d6b576;
  --scrim: #080c09b3;
  --shadow: #00000066;
  --shadow-soft: #00000026;
  --toast-surface: #d7e5d8;
  --toast-ink: #1b2d21;
  --toast-icon: #315d40;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.45; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .45; }
a { color: var(--accent); text-decoration: none; }
button, input, select, textarea { outline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); }
[hidden] { display: none !important; }
h1, h2, h3, p, dl { margin: 0; }
h1 { font-size: 30px; line-height: 1.13; letter-spacing: -.9px; font-weight: 700; overflow-wrap: anywhere; }
h2 { font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.3px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.app-shell { max-width: 600px; min-height: 100dvh; padding-top: calc(60px + env(safe-area-inset-top)); margin: 0 auto; }
.topbar { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 8px; max-width: 600px; margin: 0 auto; min-height: calc(60px + env(safe-area-inset-top)); padding: calc(8px + env(safe-area-inset-top)) 20px 8px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; margin-left: -10px; padding: 0; border: 0; border-radius: 50%; color: var(--secondary); background: transparent; }
.brand:active { background: var(--surface-muted); }
.brand svg { width: 20px; height: 20px; }
.quotation-draft-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px; margin-bottom: 12px; text-align: left; }
.quotation-draft-row > span { min-width: 0; }
.quotation-draft-row strong { display: block; font-size: 16px; overflow-wrap: anywhere; }
.quotation-draft-row span span { display: block; margin-top: 5px; font-size: 12px; color: var(--secondary); overflow-wrap: anywhere; }
.merge-customer-content { display: flex; flex-direction: column; gap: 18px; padding: 0 20px 24px; overflow-y: auto; }
.merge-customer-content select { width: 100%; min-height: 48px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.topbar-actions { display: flex; align-items: center; gap: 6px; }
.appearance-trigger, .profile-trigger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--secondary); }
.appearance-trigger { margin-right: -10px; }
.profile-trigger:disabled { opacity: 1; cursor: default; }
.appearance-trigger:active { background: var(--surface-muted); }
.appearance-trigger svg, .profile-trigger svg { width: 19px; height: 19px; stroke-width: 1.5; }
.screen { padding: 0 20px 120px; }
.screen-list { padding-top: 30px; }
.screen-list > .back-button { margin-top: -15px; }
.dashboard-screen { padding-top: 34px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dashboard-heading .text-button { font-size: 14px; white-space: nowrap; }
.dashboard-screen > .subtitle { margin-bottom: 28px; }
.dashboard-greeting { color: var(--secondary); font-size: 15px; margin-top: 10px; }
.dashboard-weather-source { color: var(--secondary); font-size: 11px; margin-top: 24px; }
.dashboard-weather-source a { color: inherit; text-underline-offset: 3px; }
.dashboard-context { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-top: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.dashboard-date { font-size: 13px; color: var(--secondary); white-space: nowrap; }
.dashboard-weather { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; min-height: 44px; border: 0; padding: 6px 0; background: transparent; color: var(--secondary); font-size: 13px; text-align: left; border-radius: 6px; }
.dashboard-weather-reading { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
#dashboard-weather-icon { display: flex; color: var(--accent); }
#dashboard-weather-icon svg { width: 18px; height: 18px; }
#dashboard-weather-place { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 20ch; }
.dashboard-weather-saved { font-size: 10px; flex-shrink: 0; }
.dashboard-weather:hover { color: var(--ink); }
.weather-location-content { padding: 0 20px 24px; overflow-y: auto; }
.weather-location-content > .button { margin-top: 20px; }
.weather-location-content h3 { font-size: 14px; margin: 24px 0 12px; }
.weather-location-note { color: var(--secondary); font-size: 12px; line-height: 1.5; margin-top: 10px; }
.weather-location-status { color: var(--secondary); font-size: 14px; margin-top: 12px; }
.weather-place-options { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.weather-place-option { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 48px; border: 0; padding: 12px 16px; background: transparent; text-align: left; font-size: 15px; }
.weather-place-option + .weather-place-option { border-top: 1px solid var(--line); }
.weather-place-option svg { width: 17px; color: var(--secondary); }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.dashboard-widget { position: relative; border-radius: var(--radius); background: var(--surface); min-width: 0; }
.widget-open { display: flex; flex-direction: column; align-items: flex-start; width: 100%; min-height: 182px; padding: 18px; border: 0; border-radius: var(--radius); background: transparent; text-align: left; }
.widget-open:disabled { opacity: 1; }
.widget-open:active { background: var(--surface-hover); }
.widget-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); margin-bottom: 22px; }
.widget-icon svg { width: 22px; height: 22px; }
.widget-title { font-size: 18px; font-weight: 650; letter-spacing: -.3px; }
.widget-detail { margin-top: 6px; font-size: 13px; color: var(--secondary); }
.widget-description { margin-top: 3px; font-size: 11px; color: var(--secondary); }
.dashboard-layout-hint { margin-top: 22px; font-size: 12px; color: var(--secondary); line-height: 1.5; }
.widget-grip { position: absolute; top: 6px; right: 5px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--surface-muted); touch-action: none; cursor: grab; }
.widget-grip svg { stroke-width: 3.5; }
.dashboard-widget { -webkit-touch-callout: none; }
.dashboard-widget .widget-grip, .dashboard-widget .widget-move-actions { display: none; }
.is-editing .widget-grip, .is-editing .widget-move-actions { display: flex; }
.is-editing .dashboard-widget { touch-action: none; user-select: none; cursor: grab; }
.is-editing .dashboard-widget:not(.widget-dragging) { background: transparent; }
.is-editing .widget-open { background: var(--surface); pointer-events: none; animation: widget-jiggle 320ms ease-in-out infinite alternate; transform-origin: 50% 50%; }
.is-editing .dashboard-widget:nth-child(even) .widget-open { animation-delay: -180ms; animation-direction: alternate-reverse; }
@keyframes widget-jiggle { from { transform: rotate(-.65deg); } to { transform: rotate(.65deg); } }
.widget-move-actions { position: absolute; bottom: 2px; right: 4px; }
.widget-move-actions button { display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 44px; padding: 4px 8px; border: 0; border-radius: 12px; background: var(--surface); color: var(--accent); }
.widget-move-actions svg { width: 16px; }
.widget-dragging { background: var(--surface-muted); }
.widget-dragging > * { visibility: hidden; }
.widget-lifted { position: fixed; z-index: 90; margin: 0; pointer-events: none; box-shadow: 0 18px 45px var(--shadow); will-change: transform; transform-origin: center; }
.widget-lifted .widget-grip, .widget-lifted .widget-move-actions { display: none; }
.is-dragging { cursor: grabbing; }

@media (max-width: 350px) {
  .dashboard-grid { gap: 10px; }
  .widget-open { padding-inline: 13px; }
  .widget-title { font-size: 18px; }
}
.eyebrow { color: var(--secondary); font-size: 13px; margin-bottom: 5px; }
.subtitle { margin-top: 9px; color: var(--secondary); font-size: 15px; line-height: 1.5; }
.subtitle strong { font-weight: 500; color: var(--ink); }
.title-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.title-row > div { flex: 1; min-width: 140px; }
.title-row h1 { font-size: 28px; }
.title-row > .button { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 19px; border: 1px solid transparent; border-radius: 13px; font-size: 16px; line-height: 1.25; font-weight: 600; transition: background-color .15s, transform .15s; }
.button:active { transform: scale(.985); }
.button-primary { background: var(--action); color: var(--on-action); }
.button-secondary { background: var(--surface); color: var(--accent); border-color: var(--line); }
.button-compact { min-height: 44px; padding: 10px 14px; font-size: 15px; }
.button-full { width: 100%; }
.button svg { width: 18px; height: 18px; }
.text-button, .back-button { display: inline-flex; align-items: center; gap: 5px; padding: 0; min-height: 44px; border: 0; background: transparent; color: var(--accent); font-size: 16px; font-weight: 500; }
.back-button { margin: 5px 0 14px -5px; }
.back-button svg { width: 19px; }
.page-toolbar, .booking-summary-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; margin-bottom: 10px; }
.page-toolbar .back-button, .booking-summary-toolbar .back-button { margin-bottom: 0; }
.search-field, .location-search { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 13px; border-radius: 12px; background: var(--surface-muted); color: var(--icon); }
.search-field input, .location-search input { min-width: 0; width: 100%; min-height: 46px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.search-field:focus-within, .location-search:focus-within { box-shadow: 0 0 0 2px var(--focus); }
input::placeholder, textarea::placeholder { color: var(--placeholder); opacity: 1; }
.list-heading, .services-section-heading, .summary-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 23px 3px 10px; }
.list-heading h2 { color: var(--secondary); font-size: 13px; font-weight: 600; }
.list-heading > span, .services-section-heading > span, .summary-section-heading > span { color: var(--secondary); font-size: 13px; }
.customer-list { border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.customer-item { position: relative; overflow: hidden; }
.customer-item + .customer-item { border-top: 1px solid var(--line); }
.customer-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) 16px; align-items: center; gap: 12px; width: 100%; min-height: 83px; padding: 17px 15px; border: 0; background: var(--surface); position: relative; text-align: left; transition: transform .2s; touch-action: pan-y; }
.customer-row.is-dragging { transition: none; }
.customer-item.is-revealed .customer-row { transform: translateX(-104px); }
.delete-customer { position: absolute; top: 0; right: 0; bottom: 0; width: 104px; background: var(--danger); color: var(--on-danger); border: 0; font-size: 15px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 14px; }
.customer-copy { min-width: 0; }
.customer-name { display: block; font-weight: 600; letter-spacing: -.2px; overflow-wrap: anywhere; }
.customer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 3px; color: var(--secondary); font-size: 12px; }
.customer-meta span { overflow-wrap: anywhere; }
.customer-meta i, .trip-overview p i { width: 3px; height: 3px; border-radius: 50%; background: var(--icon); }
.row-arrow { color: var(--icon); }
.row-arrow svg { width: 16px; }
.empty-state { padding: 36px 22px; text-align: center; background: var(--surface); border-radius: var(--radius); }
.empty-state p { color: var(--secondary); font-size: 15px; margin-top: 8px; }
.empty-state .text-button { margin-top: 15px; }
.empty-icon { display: inline-flex; color: var(--secondary); margin-bottom: 15px; }
.empty-icon svg { width: 28px; height: 28px; }
.form-heading, .booking-summary-heading, .services-heading { margin: 5px 0 26px; }
.form-fields { display: flex; flex-direction: column; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-field > span, .form-field > label { color: var(--secondary); font-size: 13px; font-weight: 500; }
.form-field b { font-weight: 400; color: var(--secondary); }
.form-field input, .form-field textarea, .select-field select { min-width: 0; width: 100%; min-height: 50px; padding: 13px 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--control-border); border-radius: 12px; font-size: 16px; line-height: 1.35; }
.form-field textarea { min-height: 94px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .select-field select:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.form-field input[aria-invalid="true"] { border-color: var(--danger); }
.form-field input[readonly], .select-field select:disabled { color: var(--secondary); background: var(--surface-muted); opacity: 1; -webkit-text-fill-color: var(--secondary); }
.name-row, .address-row, .date-row, .service-price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.service-price-grid.is-transfer { grid-template-columns: minmax(0, 1fr); }
.date-row > .form-field { width: 100%; max-width: 100%; min-inline-size: 0; }
/* iOS can add date-input padding outside width:100% (WebKit bug 301648).
   Put the border and padding on a regular span, not the native date control. */
.date-input {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  min-height: 50px;
  padding: 12px 9px;
  border: 1px solid var(--control-border);
  border-radius: 12px;
  background: var(--surface);
}
.date-input:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.date-row .date-input input[type="date"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-inline-size: 0;
  min-height: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}
.date-row .date-input input[type="date"]:focus { outline: none; }
.date-input:has(input[aria-invalid="true"]) { border-color: var(--danger); }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
/* A date is a high-importance input. On phones it gets its own line: this
   prevents native iOS date controls from ever competing for horizontal space. */
@media (max-width: 600px) {
  .booking-form-screen .date-row, .accommodation-date-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
.duration-preview, .privacy-note, .price-hint, .pricing-reminder, .smart-quantity-hint { color: var(--secondary); font-size: 13px; line-height: 1.5; }
.duration-preview { margin-top: -10px; }
.privacy-note { margin-top: -12px; }
.price-hint { margin-top: 12px; }

.smart-quantity-hint {
  margin: 10px 2px 0;
}
.pricing-reminder { margin-top: 16px; }
.field-error { color: var(--danger); font-size: 13px; }
.optional-details { border-top: 1px solid var(--line); padding-top: 3px; }
.optional-details > summary { display: flex; align-items: center; gap: 8px; min-height: 52px; cursor: pointer; color: var(--accent); font-size: 15px; font-weight: 500; list-style: none; }
.optional-details > summary::-webkit-details-marker { display: none; }
.optional-details > summary::before { content: "›"; font-size: 23px; line-height: 1; transform: rotate(0); }
.optional-details[open] > summary::before { transform: rotate(90deg); }
.optional-details > summary > span { margin-left: auto; color: var(--secondary); font-size: 12px; font-weight: 400; }
.address-section { display: flex; flex-direction: column; gap: 18px; padding-bottom: 18px; }
.country-combobox, .select-field, .money-field { position: relative; }
.country-combobox input { padding-right: 37px; }
.phone-fields { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
.phone-fields > div { min-width: 0; }
.form-field .phone-part-label { display: block; color: var(--secondary); font-size: 12px; margin-bottom: 6px; }
.phone-fields input { font-variant-numeric: tabular-nums; }
.saved-quotation-edit { margin-top: 12px; margin-bottom: 8px; }
.appearance-options legend { color: var(--secondary); font-size: 13px; margin-bottom: 10px; }

.select-chevron, .select-field > svg { position: absolute; right: 13px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%) rotate(90deg); color: var(--secondary); pointer-events: none; }
.select-chevron { transform: translateY(-50%); }
.country-options { position: absolute; top: calc(100% + 6px); left: 0; right: 0; max-height: 260px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); z-index: 25; box-shadow: 0 8px 24px var(--shadow); }
.country-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; width: 100%; padding: 11px 14px; border: 0; background: var(--surface); text-align: left; font-size: 15px; }
.country-option + .country-option { border-top: 1px solid var(--line); }
.country-option.is-active { background: var(--accent-soft); }
.country-option small, .no-country { color: var(--secondary); font-size: 12px; }
.no-country { padding: 14px; }
.select-field select { appearance: none; padding-right: 36px; }
.money-field { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--control-border); border-radius: 12px; }
.form-field .money-field input { border: 0; background: transparent; }
.money-field > span { padding-right: 14px; color: var(--secondary); font-size: 13px; }
.money-field:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.money-field input:focus { outline: none; }
.route-section { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 4px; }
.section-heading p { color: var(--secondary); margin-top: 4px; font-size: 13px; }
.route-list { margin-top: 14px; border-radius: var(--radius); background: var(--surface); }
.route-stop { display: flex; align-items: center; min-height: 74px; border-bottom: 1px solid var(--line); position: relative; }
.route-stop:last-child { border-bottom: 0; }
.route-stop.is-dragging { background: var(--accent-soft); box-shadow: 0 2px 14px var(--shadow); z-index: 2; }
.route-stop-location { flex: 1; min-width: 0; padding: 13px 15px 13px 0; text-align: left; border: 0; background: transparent; }
.route-stop-location span { display: block; font-size: 12px; color: var(--secondary); margin-bottom: 2px; }
.route-stop-location strong { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.route-stop-location.is-empty strong { color: var(--accent); }
.drag-handle, .delete-stop, .route-stop-spacer, .route-stop-endpoint { flex-shrink: 0; width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--icon); }
.route-stop-spacer::after { content: ""; width: 8px; height: 8px; border: 2px solid var(--accent); border-radius: 50%; }
.route-stop-endpoint { display: none; }
.drag-handle { touch-action: none; cursor: grab; }
.add-stop { margin: 5px 0 0 4px; }
.is-reordering { user-select: none; }
.sticky-action { position: fixed; z-index: 30; bottom: var(--keyboard-inset); left: 50%; transform: translateX(-50%); width: 100%; max-width: 600px; display: flex; align-items: center; gap: 14px; padding: 13px 20px calc(13px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.profile-heading { display: flex; align-items: center; gap: 15px; margin: 18px 0 26px; }
.profile-heading h1 { font-size: 27px; letter-spacing: -.7px; }
.profile-heading p { color: var(--secondary); font-size: 14px; margin-top: 5px; }
.avatar-large { width: 58px; height: 58px; font-size: 18px; flex-shrink: 0; }
.customer-details { border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.detail-row { display: grid; grid-template-columns: 65px minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 17px; }
.detail-row + .detail-row { border-top: 1px solid var(--line); }
.detail-row dt { color: var(--secondary); font-size: 13px; }
.detail-row dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; text-align: right; }
.muted { color: var(--secondary); }
.booking-status { display: inline-flex; align-items: center; gap: 6px; color: var(--secondary); font-size: 12px; }
.booking-status > span { width: 6px; height: 6px; background: var(--status-draft); border-radius: 50%; }
.booking-summary-heading h1 { font-size: 29px; }
.summary-customer { display: flex; flex-wrap: wrap; gap: 7px; font-size: 15px; margin-top: 11px; }
.summary-customer > span { display: none; }
.summary-customer strong { font-weight: 400; color: var(--secondary); }
.trip-overview, .review-trip { background: var(--surface); border-radius: var(--radius); padding: 18px; }
.trip-overview > div > span { display: block; color: var(--secondary); font-size: 12px; margin-bottom: 6px; }
.trip-overview > div > strong { display: block; font-size: 17px; font-weight: 600; }
.trip-overview p { display: flex; align-items: center; gap: 8px; color: var(--secondary); font-size: 14px; margin-top: 7px; }
.summary-section { margin-top: 26px; }
.summary-section-heading { margin-top: 0; }
.route-summary { list-style: none; background: var(--surface); border-radius: var(--radius); margin: 0; padding: 17px 20px; }
.route-summary li { display: flex; align-items: center; gap: 16px; position: relative; min-height: 55px; }
.route-summary li:not(:last-child)::after { content: ""; position: absolute; top: 31px; bottom: -24px; left: 4px; width: 1px; background: var(--line); }
.route-summary li > span { position: relative; z-index: 1; width: 9px; height: 9px; border: 2px solid var(--accent); background: var(--surface); border-radius: 50%; }
.route-summary li small { display: block; color: var(--secondary); font-size: 12px; margin-bottom: 1px; }
.route-summary li strong { font-weight: 500; font-size: 16px; overflow-wrap: anywhere; }
.notes-summary h2 { margin-bottom: 10px; }
.notes-summary p { padding: 16px 18px; background: var(--surface); border-radius: var(--radius); font-size: 15px; color: var(--secondary); overflow-wrap: anywhere; }
.services-heading { margin-bottom: 22px; }
.segmented-control { display: flex; background: var(--surface-muted); padding: 3px; border-radius: 11px; gap: 3px; }
.segmented-control button { flex: 1; min-width: 0; min-height: 44px; border: 0; border-radius: 9px; color: var(--secondary); background: transparent; font-size: 14px; font-weight: 500; }
.segmented-control button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px var(--shadow-soft); }
.segmented-control button span { margin-left: 4px; color: var(--secondary); font-size: 12px; }
.services-section { margin-top: 18px; }
.available-services-section .search-field { margin-bottom: 18px; }
.categorized-services, .service-checklist { display: flex; flex-direction: column; gap: 12px; }
.service-category-group { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.service-category-toggle { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 13px 15px; background: var(--surface); border: 0; text-align: left; }
.service-category-toggle[aria-expanded="true"] { border-bottom: 1px solid var(--line); }
.service-category-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.service-category-identity > span:last-child { min-width: 0; }
.service-category-identity strong { display: block; font-size: 15px; font-weight: 600; }
.service-category-identity small { display: block; margin-top: 2px; color: var(--secondary); font-size: 12px; }
.service-category-icon { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; color: var(--accent); background: var(--accent-soft); border-radius: 9px; flex-shrink: 0; }
.service-category-icon svg { width: 19px; height: 19px; }
.service-category-chevron { color: var(--icon); }
.service-category-chevron svg { width: 16px; height: 16px; }
.service-category-toggle[aria-expanded="true"] .service-category-chevron { transform: rotate(90deg); }
.available-service-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 4px 12px; text-align: left; border: 0; padding: 16px; background: var(--surface); }
.available-service-row + .available-service-row, .library-service-row + .library-service-row, .booking-service-row + .booking-service-row { border-top: 1px solid var(--line); }
.available-service-row > span:first-child { grid-column: 1; min-width: 0; }
.available-service-row > span:first-child strong, .library-service-main > span:first-child strong, .booking-service-copy > strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.available-service-row > span:first-child small, .library-service-main > span:first-child small, .booking-service-copy small { display: block; color: var(--secondary); font-size: 12px; line-height: 1.5; margin-top: 3px; overflow-wrap: anywhere; }
.service-rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.service-rate strong { font-size: 14px; font-weight: 500; }
.service-rate small { color: var(--secondary); font-size: 12px; }
.available-service-row .service-rate { grid-column: 1; }
.service-selection-control { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.service-selection-control svg { width: 17px; height: 17px; }
.available-service-row.is-selected { background: var(--surface-selected); }
.available-service-row.is-selected .service-selection-control { background: var(--action); color: var(--on-action); }
.library-service-row, .booking-service-row { display: flex; align-items: center; gap: 2px; padding-right: 6px; }
.library-service-main, .booking-service-main { display: flex; flex-direction: column; gap: 0; min-width: 0; flex: 1; padding: 16px; border: 0; background: transparent; text-align: left; }
.booking-service-copy { min-width: 0; }
.booking-service-total { font-size: 15px; font-weight: 600; margin-top: 7px; font-variant-numeric: tabular-nums; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; background: transparent; border: 0; color: var(--icon); border-radius: 10px; }
.icon-button svg { width: 18px; height: 18px; }
.service-library-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 14px 0 5px; }
.service-library-controls > span { flex: 1; color: var(--secondary); font-size: 12px; }
.service-library-controls > label { color: var(--secondary); font-size: 12px; }
.compact-select { max-width: 165px; }
.compact-select select { min-height: 44px; padding: 8px 28px 8px 9px; border: 0; font-size: 13px; background: transparent; }
.compact-select > svg { right: 8px; width: 13px; }
.service-sticky-action { justify-content: space-between; gap: 12px; }
.service-sticky-action > div { min-width: 0; }
.service-sticky-action > div > span { display: block; font-size: 11px; color: var(--secondary); margin-bottom: 3px; }
.service-sticky-action > div > strong { display: block; font-size: 17px; letter-spacing: -.3px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.service-sticky-action .button { flex-shrink: 0; padding: 12px 17px; }
.no-booking-services { padding: 20px; color: var(--secondary); font-size: 14px; text-align: center; }
.sheet-open { position: fixed; width: 100%; overflow: hidden; }
.service-sheet, .location-picker-sheet { position: fixed; inset: 0; z-index: 60; }
.sheet-scrim, .location-picker-scrim { position: absolute; inset: 0; width: 100%; border: 0; background: var(--scrim); cursor: default; }
.service-sheet-panel, .location-picker-panel { position: absolute; bottom: var(--keyboard-inset); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; width: 100%; max-width: 600px; max-height: calc(var(--viewport-height) - 74px - env(safe-area-inset-top)); border-radius: 24px 24px 0 0; background: var(--canvas); box-shadow: 0 -8px 40px var(--shadow); overflow: hidden; }
.service-sheet-panel.is-accommodation { height: calc(var(--viewport-height) - 32px); }
.sheet-handle { width: 34px; height: 4px; margin: 9px auto 0; border-radius: 4px; background: var(--control-border); flex-shrink: 0; }
.sheet-heading, .location-picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px 17px; flex-shrink: 0; }
.sheet-heading > div { min-width: 0; }
.sheet-heading h2, .location-picker-heading h2 { font-size: 22px; line-height: 1.2; letter-spacing: -.5px; overflow-wrap: anywhere; }
.sheet-heading .eyebrow, .location-picker-heading p { color: var(--secondary); font-size: 12px; margin-bottom: 5px; }
.sheet-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border: 0; background: var(--surface-muted); color: var(--secondary); border-radius: 50%; font-size: 25px; font-weight: 300; }
#booking-service-form { display: flex; flex-direction: column; overflow: hidden; min-height: 0; flex: 1; }
.service-sheet-scroll { display: flex; flex: 1; flex-direction: column; gap: 19px; padding: 4px 20px 24px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-padding: 18px; }
#standard-service-fields, .accommodation-fields { display: flex; flex-direction: column; gap: 18px; }
.service-sheet-description { color: var(--secondary); font-size: 14px; }
.accommodation-internal-fields { display: flex; flex-direction: column; gap: 18px; padding-bottom: 6px; }
.accommodation-internal-fields > div:first-child { display: none; }
.internal-disclosure > summary { font-size: 14px; }
.service-calculated-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 0 12px; }
.service-calculated-total > span { color: var(--secondary); font-size: 14px; }
.service-calculated-total strong { font-size: 19px; font-variant-numeric: tabular-nums; }
.service-sheet-action { flex-shrink: 0; background: var(--surface); padding: 13px 20px calc(13px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.location-picker-cancel { min-height: 44px; padding: 0; border: 0; color: var(--accent); background: transparent; font-size: 15px; }
.location-search { margin: 0 20px 14px; flex-shrink: 0; }
.location-picker-list { min-height: 0; overflow-y: auto; padding: 0 20px calc(20px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.location-list-label, .location-empty { color: var(--secondary); font-size: 12px; margin: 4px 0 10px 5px; }
.location-option { display: flex; flex-direction: column; justify-content: center; width: 100%; min-height: 52px; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 12px 5px; text-align: left; font-size: 16px; }
.location-option-custom { color: var(--accent); }
.location-option small { font-size: 12px; color: var(--secondary); margin-top: 3px; }
.review-trip > strong { display: block; font-size: 18px; font-weight: 600; }
.review-trip p { margin-top: 8px; font-size: 15px; }
.review-trip > span { display: block; font-size: 13px; color: var(--secondary); margin-top: 4px; }
.review-services { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.review-service { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 16px; font-size: 14px; }
.review-service + .review-service { border-top: 1px solid var(--line); }
.review-service strong { font-weight: 500; overflow-wrap: anywhere; }
.review-service > span { font-variant-numeric: tabular-nums; font-size: 13px; text-align: right; }
.review-service > small { color: var(--secondary); grid-column: 1 / -1; font-size: 12px; }
.review-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; padding: 0 3px; font-size: 15px; }
.review-total strong { font-size: 20px; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.availability-note { color: var(--secondary); font-size: 13px; line-height: 1.55; margin: 26px 3px 0; }
.toast-region { position: fixed; top: calc(66px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 50; width: max-content; max-width: calc(100% - 40px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 8px; padding: 12px 17px; border-radius: 14px; background: var(--toast-surface); box-shadow: 0 5px 18px var(--shadow); color: var(--toast-ink); font-size: 13px; animation: toast-in .15s ease-out; }
.toast svg { width: 17px; height: 17px; color: var(--toast-icon); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) {
  .button-primary:hover { background: var(--action-hover); }
  .customer-row:hover, .library-service-main:hover, .booking-service-main:hover, .country-option:hover, .location-option:hover { background: var(--surface-hover); }
  .available-service-row:hover { background: var(--surface-hover); }
  .icon-button:hover { color: var(--danger); background: var(--danger-surface); }
}
@media (min-width: 650px) {
  .app-shell { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .screen { padding-left: 28px; padding-right: 28px; }
  .topbar { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 350px) {
  .screen { padding-left: 16px; padding-right: 16px; }
  .topbar { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 27px; }
  .date-row { grid-template-columns: 1fr; }
  .service-sticky-action { padding-left: 16px; padding-right: 16px; gap: 8px; }
  .service-sticky-action > div > strong { font-size: 15px; }
  .service-sticky-action .button { padding-left: 12px; padding-right: 12px; }
  .review-service { grid-template-columns: 1fr; }
  .review-service > span { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Customer-facing quotation preview. */
.review-screen { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.quotation-trip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 16px; padding: 18px; background: var(--surface); border-radius: var(--radius); }
.quotation-trip > div:first-child, .quotation-trip > div:last-child { grid-column: 1 / -1; }
.quotation-trip dt { color: var(--secondary); font-size: 12px; margin-bottom: 3px; }
.quotation-trip dd { margin: 0; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.quotation-groups { display: flex; flex-direction: column; gap: 12px; }
.quotation-service { padding: 16px; overflow-wrap: anywhere; }
.quotation-service + .quotation-service { border-top: 1px solid var(--line); }
.quotation-service h3 { font-size: 16px; font-weight: 600; letter-spacing: 0; }
.quotation-description, .quotation-pricing { margin-top: 5px; color: var(--secondary); font-size: 13px; white-space: pre-line; }
.quotation-line-total { display: block; margin-top: 8px; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.quotation-sticky-action { justify-content: space-between; gap: 12px; }
.quotation-action-total { min-width: 0; }
.quotation-action-total > span { display: block; font-size: 12px; color: var(--secondary); }
.quotation-action-total > strong { display: block; font-size: 17px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.quotation-sticky-action .button { flex-shrink: 0; }
.quotation-subtotal, .quotation-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-variant-numeric: tabular-nums; }
.quotation-subtotal { color: var(--secondary); font-size: 12px; }
.quotation-total { font-size: 14px; flex-wrap: wrap; }
.quotation-total strong { font-size: 19px; overflow-wrap: anywhere; }

.quotation-pdf-panel { height: calc(var(--viewport-height) - 24px); max-width: 600px; }
.quotation-pdf-scroll { min-height: 0; flex: 1; overflow-y: auto; padding: 12px 12px 24px; background: var(--canvas); overscroll-behavior: contain; }
.quotation-pdf-pages { display: flex; flex-direction: column; gap: 16px; }
.quotation-pdf-pages canvas { display: block; width: 100%; height: auto; box-shadow: 0 2px 12px var(--shadow-soft); background: var(--document-paper); }
.pdf-preview-status { padding: 12px; color: var(--secondary); font-size: 14px; }
.quotation-pdf-footer { flex-shrink: 0; padding: 14px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.quotation-pdf-actions { display: flex; gap: 12px; }
.quotation-pdf-actions .button { flex: 1; }
.quotation-pdf-footer { max-height: 65%; overflow-y: auto; }
.quotation-pdf-footer > .saved-quotation-meta { margin-bottom: 10px; }
.quotation-send-form { display: flex; flex-direction: column; gap: 12px; }
.quotation-send-form h3 { font-size: 18px; }
.quotation-send-result, .quotation-send-availability { font-size: 13px; line-height: 1.5; color: var(--secondary); }
.quotation-send-result { margin-top: 12px; }
.quotation-attachment { overflow-wrap: anywhere; }
.saved-quotation { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.saved-quotation + .saved-quotation { margin-top: 12px; }
.saved-quotation h3 { font-size: 16px; }
.saved-quotation-meta, .saved-quotation-status { margin-top: 5px; font-size: 12px; line-height: 1.5; color: var(--secondary); overflow-wrap: anywhere; }
.saved-quotation-total { margin-top: 9px; font-size: 15px; font-weight: 600; }
.saved-quotation-actions { display: flex; gap: 10px; margin-top: 14px; }
.saved-quotation-actions .button { flex: 1; }
.quotation-back-menu { width: 100%; padding: 10px; text-align: center; justify-content: center; }

.quotation-pricing-summary { padding: 18px; background: var(--surface); border-radius: var(--radius); }
.quotation-person-pricing { padding-top: 8px; border-top: 1px solid var(--line); }
.quotation-pricing-summary .quotation-total { margin-bottom: 16px; }
.quotation-person-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 14px; font-variant-numeric: tabular-nums; }
.quotation-person-total strong { font-size: 17px; overflow-wrap: anywhere; }

.customer-tour { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; text-align: left; }
.customer-tour strong, .customer-tour small { display: block; }
.customer-tour strong { font-size: 14px; font-weight: 500; }
.customer-tour small { margin-top: 5px; color: var(--secondary); font-size: 12px; }
.customer-tour svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; }

.appearance-options { padding: 0 20px; margin: 0; border: 0; }
.appearance-option { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 12px; padding: 14px 16px; background: var(--surface); cursor: pointer; }
.appearance-option:first-of-type { border-radius: var(--radius) var(--radius) 0 0; }
.appearance-option:last-of-type { border-radius: 0 0 var(--radius) var(--radius); }
.appearance-option + .appearance-option { border-top: 1px solid var(--line); }
.appearance-option input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0; }
.appearance-option:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; z-index: 1; }
.appearance-option strong { display: block; font-size: 16px; font-weight: 500; }
.appearance-option small { display: block; margin-top: 3px; color: var(--secondary); font-size: 13px; }
.appearance-check { visibility: hidden; color: var(--accent); }
.appearance-option:has(input:checked) .appearance-check { visibility: visible; }
.appearance-status { padding: 16px 20px calc(24px + env(safe-area-inset-bottom)); color: var(--secondary); font-size: 13px; }
@media (max-width: 350px) {
  .title-row > div { flex-basis: 100%; }
  .topbar-actions { gap: 0; }
  .quotation-trip { grid-template-columns: 1fr; }
  .quotation-trip > div { grid-column: 1 !important; }
  .quotation-action-total > strong { font-size: 15px; }
  .quotation-sticky-action { padding-inline: 16px; }
  .quotation-sticky-action .button { padding-inline: 14px; }
}
@media (forced-colors: active) {
  .appearance-option input { position: static; width: 20px; height: 20px; opacity: 1; }
  .appearance-option > span:first-of-type { flex: 1; }
  .service-selection-control, .button, .segmented-control button { border: 1px solid ButtonText; }
}

.quotation-delete { color: var(--danger); margin-top: 12px; }

.dashboard-today-events { width: 100%; margin-top: 16px; }
.widget-info-label { color: var(--secondary); font-size: 12px; }
.widget-today-event { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.widget-today-event + .widget-today-event { margin-top: 10px; }
.widget-today-event strong { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }

.quotation-draft-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.quotation-draft-item .quotation-draft-row { border: 0; border-radius: 0; margin-bottom: 0; }

.quotation-title-row { flex-direction: column; align-items: flex-start; }
.quotation-title-row > div { flex: none; }

body[data-auth-state="loading"] .topbar, body[data-auth-state="locked"] .topbar { display: none; }
.auth-screen { max-width: 420px; margin: 8vh auto 0; padding-bottom: 32px; }
.auth-brand { color: var(--secondary); font-size: 14px; font-weight: 600; margin-bottom: 30px; }
.auth-description { color: var(--secondary); font-size: 15px; line-height: 1.55; margin: 14px 0 28px; }
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-form .form-field { margin: 0; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 22px; }
.auth-back { margin-top: 20px; }
.auth-message { margin-top: 22px; padding: 14px; background: var(--surface-muted); color: var(--ink); border-radius: 12px; font-size: 14px; line-height: 1.5; }
.auth-message[role="alert"] { color: var(--danger); }
.auth-request-email, .account-email, .account-name { overflow-wrap: anywhere; margin: 22px 0; }
.account-name { font-weight: 600; margin-bottom: 0; }
.dashboard-greeting { overflow-wrap: anywhere; }
.auth-decision { display: flex; gap: 12px; }
.auth-decision .button { flex: 1; }

body.install-open { overflow: hidden; }
.install-overlay { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; padding: 16px 12px 0; }
.install-scrim { position: absolute; inset: 0; border: 0; background: rgba(10, 22, 17, .38); backdrop-filter: blur(4px); }
.install-panel { position: relative; width: 100%; max-width: 420px; max-height: calc(100dvh - 24px - env(safe-area-inset-top)); overflow-y: auto; overscroll-behavior: contain; border-radius: 26px 26px 0 0; background: var(--canvas); color: var(--ink); padding: 28px 24px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 50px var(--shadow); animation: install-arrive 260ms cubic-bezier(.2,.8,.2,1); }
.install-close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--secondary); background: transparent; font-size: 26px; }
.install-brand { display: flex; align-items: center; gap: 12px; padding-right: 30px; font-size: 16px; font-weight: 600; }
.install-brand img { border-radius: 15px; }
.install-platforms { display: flex; gap: 4px; border-radius: 11px; background: var(--surface-muted); padding: 4px; margin-top: 24px; }
.install-platforms button { flex: 1; min-height: 40px; padding: 6px; border: 0; border-radius: 8px; font-size: 13px; color: var(--secondary); background: transparent; }
.install-platforms button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px var(--shadow); }
.install-eyebrow { margin-top: 24px; color: var(--secondary); font-size: 10px; letter-spacing: 1px; }
.install-content h2 { font-size: 25px; letter-spacing: -.6px; line-height: 1.18; margin-top: 9px; }
.install-description { color: var(--secondary); font-size: 14px; line-height: 1.6; margin-top: 12px; }
.install-preview { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 120px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-top: 20px; font-size: 14px; font-weight: 600; }
.install-preview img { border-radius: 18px; }
.install-preview-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; color: var(--accent); background: var(--accent-soft); }
.install-preview-icon svg { width: 26px; height: 26px; }
.install-preview-check { position: absolute; right: 16px; top: 16px; color: var(--accent); }
.install-data-note { font-size: 12px; color: var(--secondary); line-height: 1.5; margin-top: 14px; }
.install-progress { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.install-progress button { position: relative; width: 32px; height: 32px; border: 0; background: transparent; }
.install-progress button::after { content: ''; position: absolute; top: 12px; left: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.install-progress button[aria-current="step"]::after { background: var(--accent); }
.install-actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.install-actions .button { flex: 1; }
.install-actions .text-button { min-height: 48px; padding-right: 8px; }
.install-later { display: block; min-height: 44px; margin: 8px auto 0; font-size: 13px; }
.install-settings { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 18px 20px calc(20px + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--line); text-align: left; color: var(--ink); background: transparent; }
.install-settings strong { display: block; font-size: 14px; font-weight: 500; }
.install-settings small { display: block; color: var(--secondary); font-size: 12px; margin-top: 5px; }
.install-settings svg { color: var(--secondary); }
@keyframes install-arrive { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 650px) { .install-overlay { align-items: center; padding: 24px; } .install-panel { border-radius: 26px; } }
@media (prefers-reduced-motion: reduce) { .install-panel { animation: none; } }
