:root {
  --blue: #236eb7;
  --blue2: #2f86e5;
  --blue3: #0c4f93;
  --bg: #edf4f8;
  --text: #1d2733;
  --muted: #7b8ca0;
  --border: #dce7f1;
  --sheet: rgba(255,255,255,.98);
  --shadow: 0 24px 50px rgba(35, 73, 114, .16);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: Inter, system-ui, sans-serif; background: #dce7ef; color: var(--text); }
body { min-height: 100vh; }
.hidden { display: none !important; }
.app-shell { position: relative; width: 100%; max-width: 430px; min-height: 100vh; margin: 0 auto; background: linear-gradient(180deg, #d8efe2 0%, #edf4f8 42%); overflow: hidden; }
.map-stage { position: absolute; inset: 0; height: 62vh; background: linear-gradient(180deg, #d8efe2 0%, #eef5fa 100%); }
.map-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(237,244,248,0) 45%, rgba(237,244,248,.45) 62%, rgba(237,244,248,.92) 100%); pointer-events: none; }
.floating-route-card { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 16px); left: 16px; right: 16px; z-index: 12; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 16px 30px rgba(31,64,101,.14); border: 1px solid rgba(217,230,239,.85); }
.route-top { font-size: 12px; color: #6c849d; font-weight: 800; }
.route-main { margin-top: 5px; font-size: 14px; font-weight: 700; color: #2b3d53; line-height: 1.35; }
.route-meta { display: flex; gap: 10px; margin-top: 8px; color: #366ba5; font-size: 13px; font-weight: 700; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 15; min-height: 44vh; padding: 14px 18px 28px; border-radius: 30px 30px 0 0; background: var(--sheet); box-shadow: var(--shadow); transform: translateY(110%); transition: transform .35s ease; }
.step-active { transform: translateY(0); }
.sheet-handle { width: 84px; height: 6px; border-radius: 999px; background: #cdd8e5; margin: 0 auto 6px; }
.sheet-pull { text-align: center; font-size: 13px; color: #7d8ba0; margin-bottom: 12px; }
.sheet-mini-title, .photo-header { font-size: 24px; font-weight: 800; color: #22364d; margin: 8px 0 14px; }
.address-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 22px; border: 1.5px solid var(--border); background: #fff; margin-bottom: 12px; box-shadow: 0 6px 18px rgba(43,79,118,.04); }
.pickup-card { align-items: flex-start; }
.address-icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: #f3f8fc; color: var(--blue); font-size: 18px; }
.address-content { min-width: 0; flex: 1; }
.address-label { font-size: 12px; color: #6f8298; font-weight: 800; margin-bottom: 4px; }
.address-card input { width: 100%; border: 0; outline: none; background: transparent; font-size: 18px; color: var(--text); padding: 0; }
.pill-location-btn { border: 0; background: linear-gradient(135deg, var(--blue2), var(--blue)); color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 10px 12px; white-space: nowrap; margin-top: 1px; box-shadow: 0 10px 18px rgba(43,111,188,.22); }
.quick-head, .section-label { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; color: #1f2f42; margin: 16px 2px 12px; }
.chips-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.chip { border: 0; border-radius: 999px; padding: 14px 18px; background: linear-gradient(135deg, #3b8ee0, #2b67b2); color: #fff; font-weight: 800; white-space: nowrap; box-shadow: 0 12px 22px rgba(47,123,203,.24); }
.loading-chip { opacity: .7; }
.primary-btn, .secondary-btn, .camera-btn { width: 100%; border: 0; border-radius: 14px; font-weight: 800; }
.primary-btn { margin-top: 18px; padding: 15px 16px; background: linear-gradient(135deg, var(--blue2), var(--blue3)); color: #fff; box-shadow: 0 16px 26px rgba(36,102,171,.26); }
.secondary-btn { padding: 14px 12px; background: #eef5fc; color: #215f9e; }
.text-btn { width: 100%; border: 0; background: transparent; color: #6d839d; font-weight: 700; padding: 14px 10px 0; }
.summary-panel { padding: 14px 14px 16px; border-radius: 20px; background: linear-gradient(180deg, #f7fbff, #eef5fb); border: 1px solid #dbe8f3; }
.summary-from, .summary-to { font-weight: 700; color: #33465c; font-size: 14px; line-height: 1.35; }
.summary-line { width: 2px; height: 16px; margin: 8px 0 8px 6px; background: linear-gradient(180deg, #6da6df, #d6e4f2); border-radius: 99px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg-btn { border: 1.5px solid var(--border); background: #fff; border-radius: 14px; padding: 14px 10px; color: #435972; font-weight: 800; }
.seg-btn.active { background: linear-gradient(180deg, #ecf6ff, #fff); color: var(--blue3); border-color: #60a8f2; box-shadow: 0 10px 18px rgba(69,134,204,.1); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.service-card { border: 1.5px solid var(--border); background: #fff; border-radius: 18px; padding: 14px 10px; min-height: 100px; text-align: center; }
.service-card.active { background: linear-gradient(180deg, #edf7ff, #fff); border-color: #60a8f2; box-shadow: 0 12px 22px rgba(47,123,203,.11); }
.service-title { display: block; font-size: 14px; line-height: 1.25; font-weight: 800; color: #2e4359; }
.service-price { display: block; margin-top: 10px; color: var(--blue3); font-size: 13px; font-weight: 800; }
.price-card { margin-top: 14px; border-radius: 22px; background: linear-gradient(180deg, #f7fbff, #eef6ff); border: 1px solid #d8e8fb; padding: 16px; }
.price-card-top { color: #7591b0; font-size: 12px; font-weight: 800; }
.price-main { margin-top: 4px; font-size: 34px; font-weight: 800; color: #243c57; }
.price-sub { margin-top: 6px; color: #2d79c7; font-size: 14px; font-weight: 700; }
.app-link { color: #2069b3; font-weight: 800; }
.price-meta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.price-meta-box { background: rgba(255,255,255,.75); border: 1px solid #dbe8f4; border-radius: 16px; padding: 12px; }
.price-meta-box span { display: block; font-size: 12px; color: #7a90a7; font-weight: 700; }
.price-meta-box strong { display: block; margin-top: 4px; font-size: 16px; color: #29415c; }
.photo-desc { margin: 0 0 14px; color: #6f8298; line-height: 1.45; }
.photo-preview-wrap { border-radius: 22px; background: #f5f8fc; border: 1.5px solid #dde7f1; overflow: hidden; min-height: 260px; display: flex; align-items: center; justify-content: center; }
.empty-camera-box { text-align: center; padding: 28px 20px; }
.camera-big { font-size: 44px; }
.empty-camera-title { font-size: 16px; font-weight: 700; color: #43566b; line-height: 1.4; margin: 10px auto 16px; max-width: 260px; }
.camera-btn { display: inline-block; width: auto; padding: 14px 24px; background: linear-gradient(135deg, var(--blue2), var(--blue3)); color: #fff; cursor: pointer; }
.preview-box { position: relative; width: 100%; }
.preview-box img { width: 100%; max-height: 320px; object-fit: cover; display: block; }
.change-photo-btn { position: absolute; right: 12px; top: 12px; border: 0; border-radius: 10px; padding: 9px 12px; background: rgba(18,27,38,.72); color: #fff; font-size: 13px; font-weight: 800; }
.note-textarea { width: 100%; resize: vertical; min-height: 110px; margin-top: 14px; border-radius: 16px; border: 1.5px solid #d8e5f1; padding: 14px; outline: none; font: inherit; }
.contact-card { display: grid; gap: 12px; }
.input-group { display: grid; gap: 7px; }
.input-group span { font-size: 13px; color: #73879f; font-weight: 800; }
.input-group input, .otp-row input { width: 100%; border-radius: 14px; border: 1.5px solid #d8e5f1; background: #fff; padding: 14px 14px; font: inherit; outline: none; }
.otp-row { display: grid; grid-template-columns: 1fr 132px; gap: 10px; margin-top: 14px; }
.otp-hint { font-size: 13px; color: #70859d; margin-top: 8px; }
.waiting-icon-wrap { display: grid; place-items: center; margin-top: 18px; }
.waiting-icon { width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(60,128,206,.18), rgba(60,128,206,.06)); color: #2d78c4; font-size: 52px; }
.spinner { width: 52px; height: 52px; border: 4px solid #deebf6; border-top-color: #2d78c4; border-radius: 50%; margin: 14px auto 10px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.waiting-title { text-align: center; color: #22364d; font-size: 28px; margin: 8px 0 8px; font-weight: 800; }
.waiting-text { text-align: center; color: #6f8298; margin: 0 auto 14px; max-width: 300px; line-height: 1.5; }
.warn-box { background: #fff7ea; border: 1px solid #f3ddb9; color: #98733f; border-radius: 14px; padding: 12px 14px; font-size: 13px; }
.support-row { display: grid; grid-template-columns: 1fr 58px; gap: 10px; margin-top: 16px; }
.support-btn, .support-call-btn { display: grid; place-items: center; border-radius: 14px; text-decoration: none; border: 0; }
.support-btn { background: #f4f7fb; color: #29415d; font-weight: 800; }
.support-call-btn { background: linear-gradient(135deg, #24a05a, #1b7f45); color: #fff; font-size: 22px; }
@media (min-width: 700px) {
  body { padding: 20px 0; }
  .app-shell { min-height: 92vh; border-radius: 34px; box-shadow: 0 30px 60px rgba(25,53,84,.18); }
  .sheet { min-height: 39vh; }
}
