/* Shared journey controls and account surfaces. */
.entry-loading .entry-emblem{width:136px;height:136px;display:grid;place-items:center;border-radius:38px;background:#fff;box-shadow:0 16px 60px #6f0d4314;border:1px solid #eadde4}
.entry-loading .entry-emblem img{width:96px;height:96px;object-fit:contain}
#entry-progress{appearance:none;width:160px;height:5px;border:0;border-radius:10px;overflow:hidden;background:#e8dbe2;color:#751247}
#entry-progress::-webkit-progress-bar{background:#e8dbe2}#entry-progress::-webkit-progress-value{background:linear-gradient(90deg,#bd7a9a,#6f0d43);transition:width .3s}#entry-progress::-moz-progress-bar{background:#6f0d43}
.topbar .home-nav,.topbar .avatar{width:44px;height:44px;border-radius:16px;background:#f4eaf0;color:#6f0d43;border:1px solid #eadde4;display:grid;place-items:center}.topbar .home-nav{grid-column:1;grid-row:1}.topbar .brand{grid-column:2;grid-row:1}.topbar .avatar{grid-column:3;grid-row:1}
.home-view>.cip-card{margin-top:12px}
.account-back,.home-back,#flow-back,#contact-back,#destination-info-back,#details-back,#review-back,#map-back{border:1px solid #e5d7df!important;border-radius:14px!important;background:#fff!important;color:#6f0d43!important;padding:12px 16px!important;min-height:44px;box-shadow:0 3px 10px #42112605;font-weight:600}
#booking .home-back{margin:10px 16px 0}#booking.selecting-point .home-back{display:none}#booking.selecting-point .stepper{padding-top:12px}
#map-stage .map-wrap{border-radius:26px;border:2px solid #fff;box-shadow:0 10px 30px #42112616;height:clamp(240px,42svh,390px)}
#map-stage .map-caption{background:#ffffffed;border:1px solid #eadde4;box-shadow:0 4px 14px #42112612}
#map-stage .center-pin b{padding:8px 14px;border-radius:99px;color:#fff;background:#6f0d43;border:3px solid white;box-shadow:0 5px 18px #42112630}
#map-stage .center-pin.destination b{background:#16825e}#map-stage .locate{border:1px solid #eadde4;border-radius:16px;box-shadow:0 4px 16px #42112615}
#map-stage #confirm-point{border-radius:16px;box-shadow:0 6px 16px #42112620}
.journey-dock{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);background:#fff;border:1px solid #eadde4;border-bottom:0;border-radius:24px 24px 0 0;z-index:90;box-shadow:0 -8px 35px #42112614;padding:14px 20px calc(14px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:10px}
.journey-dock.hidden{display:none}.journey-total small{display:block;color:#88717d;font-size:10px;margin-bottom:5px}.journey-total strong{font-size:17px;color:#6f0d43}.journey-controls{display:flex;align-items:center;gap:6px}.journey-controls button{font-size:12px;min-height:44px;border-radius:12px;padding:10px}.journey-controls #journey-cancel{color:#966174}
.has-journey .bottom-nav{display:none}.has-journey .customer-app{padding-bottom:125px}.has-journey #customer-install{display:none}
.invite-card{padding:30px 22px;background:linear-gradient(145deg,#f4e7ee,#fff6e1);border:1px solid #e9d8e2;border-radius:25px;text-align:center}.invite-card>span svg{width:60px;height:60px;color:#6f0d43}.invite-card h2{margin:14px 0 25px}.about-symbol{width:72px;height:72px;object-fit:contain;display:block;margin:0 auto 24px}#account-about p{line-height:2;font-size:13px}
#profile .account-menu .menu-icon{border-radius:15px;background:#f6edf2}#profile .account-menu:active{background:#f7eef3}.less-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.large-text .account-menu b,.large-text p,.large-text label{font-size:16px!important}
@media(max-width:360px){.journey-dock{padding-inline:12px}.journey-total strong{font-size:14px}.journey-controls button{padding:8px;font-size:11px}}
@media(prefers-reduced-motion:reduce){#entry-progress::-webkit-progress-value{transition:none}}

.keyboard-active .journey-dock{display:none}

/* Large, stationary map with actions anchored above the phone safe area. */
.journey-top{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;gap:12px}.journey-top button{min-height:42px;padding:10px 16px;border-radius:14px}.journey-top small{color:#88717d}
.journey-dock{display:grid;grid-template-columns:1fr auto;gap:10px 16px;padding:14px 20px calc(12px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0}
.journey-total{grid-column:1;grid-row:1}.journey-total strong{font-size:20px}.journey-controls{display:contents}#journey-cancel{grid-column:2;grid-row:1}#journey-confirm{grid-column:1/-1;grid-row:2;min-height:56px;font-size:16px;border-radius:16px;width:100%}
.has-journey .customer-app{padding-bottom:180px}
#booking #contact-back,#booking #destination-info-back,#booking #details-back,#booking #review-back,#booking #map-back{display:none}
#map-stage #confirm-point{display:none}
.choosing-map{overflow:hidden;height:100dvh}.choosing-map .customer-app{height:100dvh;min-height:0;margin:0 auto;padding:0 0 calc(145px + env(safe-area-inset-bottom));display:flex;flex-direction:column;border-radius:0;overflow:hidden}
.choosing-map .topbar{height:64px;flex:none;padding-block:8px}.choosing-map #booking.active{display:flex;flex-direction:column;flex:1;min-height:0}
.choosing-map #booking .stepper{padding:0 16px 7px;flex:none}.choosing-map .journey-top{padding-block:4px}.choosing-map #map-stage{display:flex;flex:1;min-height:0;flex-direction:column}
.choosing-map #map-stage .map-wrap{flex:1;height:auto;min-height:120px;margin:0 8px;border-radius:22px}
.choosing-map #map-stage .booking-sheet{flex:none;margin:6px 8px 0;padding:8px 12px;border-radius:16px}.choosing-map #map-stage .booking-sheet .section-head{margin:0 0 3px}.choosing-map #point-status{display:none}.choosing-map #map-stage .address-input{margin:0}.choosing-map #map-stage .address-input input{padding-block:8px;min-height:42px}.choosing-map #search-results{max-height:110px;overflow:auto}.choosing-map #map-stage .locate{bottom:22px}.choosing-map #map-stage .leaflet-bottom.leaflet-right{bottom:16px}.choosing-map #map-stage .map-error{bottom:75px}
.discount-top{display:flex;align-items:stretch;gap:10px;padding-top:16px}.discount-top>button{flex:1;min-width:0;margin:0;min-height:48px;font-size:12px;border-radius:14px;padding:10px!important}
@media(max-height:680px){.choosing-map .topbar{height:52px}.choosing-map .topbar .brand img{height:38px}.choosing-map #map-stage .booking-sheet .section-head{display:none}.choosing-map .journey-top small{display:none}.choosing-map .journey-top button{min-height:36px;padding:6px 12px}}
@media(max-height:500px) and (orientation:landscape){.choosing-map .topbar{height:44px}.choosing-map #booking .stepper{display:none}.choosing-map .customer-app{padding-bottom:104px}.choosing-map .journey-dock{grid-template-columns:1fr 1fr;padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:4px 12px}.choosing-map #journey-confirm{grid-column:2;grid-row:1/3;min-height:56px}.choosing-map #journey-cancel{grid-column:1;grid-row:2;min-height:28px;padding:4px}.choosing-map .journey-total strong{font-size:16px}}

/* The dock is the single visible forward action in every booking stage. */
.has-journey #contact-form>button[type=submit],.has-journey #destination-info-form>button[type=submit],.has-journey #details-form button[type=submit],.has-journey #submit-order{display:none}
.has-journey #service-flow form button.primary,.has-journey #service-flow #send-service,.has-journey #service-flow #pack-next{display:none}
#booking .route-area{display:none}#booking .route-area:has(#retry-service-area:not(.hidden)){display:block}
/* While the keyboard covers the dock, keep a form action reachable. */
.keyboard-active .has-journey #contact-form>button[type=submit],.keyboard-active .has-journey #destination-info-form>button[type=submit],.keyboard-active .has-journey #details-form button[type=submit],.keyboard-active .has-journey #service-flow form button.primary{display:block}

/* Map-first selection: floating controls and a compact bottom sheet. */
#map-stage-label{display:none}.choosing-map .customer-app{position:relative;padding-bottom:calc(136px + env(safe-area-inset-bottom));background:#f8f5f7}
.choosing-map .topbar{position:absolute;inset:12px 14px auto;height:52px;z-index:600;background:transparent;border:0;padding:0;pointer-events:none}
.choosing-map .topbar .brand{display:none}.choosing-map .topbar>button{pointer-events:auto;width:48px;height:48px;border-radius:50%;background:#fff;color:#64213f;border:1px solid #efe7eb;box-shadow:0 5px 18px #4421361a}
.choosing-map #map-stage-label{display:block;grid-column:2;grid-row:1;justify-self:center;align-self:center;padding:11px 20px;border-radius:30px;background:#ffffffee;box-shadow:0 4px 18px #44213612;color:#632342;font-size:13px;font-weight:600}
.choosing-map .topbar .home-nav{grid-column:1;grid-row:1}.choosing-map .topbar .avatar{grid-column:3;grid-row:1}
#booking .stepper,.journey-top small,.flow-nav small,#service-flow .flow-summary{display:none!important}
.choosing-map .journey-top{position:absolute;top:78px;right:16px;z-index:600;padding:0;pointer-events:none}.choosing-map .journey-top button{pointer-events:auto;min-height:38px;background:#fffffff0;box-shadow:0 3px 15px #44213612;border:1px solid #eee4e9;border-radius:24px;padding:8px 13px;font-size:12px}
.choosing-map #map-stage .map-wrap{margin:0;border-radius:0;min-height:120px}.choosing-map .map-caption{display:none}.choosing-map .leaflet-top{top:125px}.choosing-map #map-stage .locate{width:52px;height:52px;bottom:30px;right:18px;border-radius:50%;box-shadow:0 4px 18px #44213622;background:#fff}
.choosing-map #map-stage .booking-sheet{position:relative;margin:0;padding:11px 18px 12px;border-radius:26px 26px 0 0;background:#fff;box-shadow:0 -6px 22px #4421360c;z-index:500}.choosing-map .sheet-grip{width:32px;height:4px;margin:0 auto 10px;background:#e5dce1;border-radius:10px}.choosing-map #address-title{display:none}.choosing-map #saved-open{font-size:11px;min-height:30px;padding:3px 5px}.choosing-map .booking-sheet .section-head{justify-content:flex-end;margin:0}.choosing-map #map-stage .address-input{background:#f7f4f6;border:1px solid #f0e8ed;border-radius:16px;min-height:50px}.choosing-map #map-stage .address-input input{min-height:48px;font-size:13px;background:transparent}
.choosing-map .journey-dock{border-radius:0;box-shadow:none;background:#fff;padding:9px 18px calc(12px + env(safe-area-inset-bottom));gap:6px 12px;border-top:1px solid #f3edf0}.choosing-map .journey-total strong{font-size:16px}.choosing-map #journey-confirm{min-height:54px;background:linear-gradient(110deg,#7b174c,#521633);box-shadow:0 6px 16px #681b3c1c}.choosing-map #journey-cancel{font-size:12px}
@media(max-height:600px){.choosing-map .customer-app{padding-bottom:110px}.choosing-map .topbar{top:8px;height:44px}.choosing-map .topbar>button{width:42px;height:42px}.choosing-map .journey-top{top:62px}.choosing-map #saved-open{display:none}.choosing-map #map-stage .booking-sheet{padding:8px 12px}.choosing-map .sheet-grip{margin-bottom:5px}.choosing-map .journey-dock{padding-top:5px;gap:3px}.choosing-map #journey-confirm{min-height:46px}.choosing-map .leaflet-top{top:108px}}
@media(max-height:500px) and (orientation:landscape){.choosing-map .customer-app{padding-bottom:104px}.choosing-map .journey-dock{grid-template-columns:1fr 1fr}.choosing-map #journey-confirm{grid-column:2;grid-row:1/3}.choosing-map .journey-top{top:58px}.choosing-map #map-stage .booking-sheet{padding-block:4px}.choosing-map .sheet-grip{display:none}}
