*{box-sizing:border-box}body{margin:0;background:#e7edf1;color:#183b51;font-family:"Segoe UI",Arial,sans-serif;display:flex;justify-content:center;gap:90px;align-items:flex-start;padding:44px 30px;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #387db1;outline-offset:3px}button{color:inherit}button:disabled{opacity:.5;cursor:default}[hidden]{display:none!important}.review{width:350px;position:sticky;top:60px;margin-top:45px}.review-logo{font-size:22px;font-weight:750}.review h1{font-size:39px;line-height:1.15;letter-spacing:-1.2px;margin:60px 0 22px}.review p{font-size:14px;line-height:1.85;color:#5e7786}.review-note{border-left:3px solid #eeb841;padding-left:20px;margin:40px 0}.review-note span{font-size:10px;letter-spacing:1.5px;font-weight:700}.review-note p{font-size:13px}.review small{font-size:11px;line-height:1.7;color:#718896}.phone{width:414px;min-height:850px;background:#f4f6f8;border:8px solid #fff;border-radius:35px;box-shadow:0 22px 70px #193b5118;position:relative;overflow:hidden;padding-bottom:80px}.demo-banner{background:#edf2f5;color:#718592;text-align:center;font-size:9px;letter-spacing:1px;padding:9px;font-weight:650}.header{padding:21px 19px 19px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid #e7edf1}.brand{display:flex;align-items:center;gap:9px;font-size:22px;font-weight:750;letter-spacing:-.7px}.brand>span{background:#f4bf50;border-radius:12px;width:37px;height:37px;display:grid;place-items:center;font-size:28px;font-weight:400}.brand small{display:block;font-size:9px;font-weight:400;letter-spacing:.1px;color:#6d8391;margin-top:3px}.avatar{border:1px solid #dce5eb;background:#f3f7fa;border-radius:50%;width:36px;height:36px;font-size:13px;font-weight:650}.page{padding:22px 18px}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.page-title h1{font-size:25px;letter-spacing:-.8px;margin:0}.count{color:#8596a0;font-weight:400;font-size:17px;margin-left:6px}.create{border:0;background:#f4bf50;padding:11px 14px;border-radius:11px;font-size:12px;font-weight:700;min-height:42px}.segmented{display:flex;background:#e5ebef;padding:4px;border-radius:11px;margin-bottom:16px}.segmented button{flex:1;border:0;background:transparent;color:#7b8d99;font-size:12px;padding:10px 5px;border-radius:8px;font-weight:650;min-height:39px}.segmented button.active{background:white;box-shadow:0 2px 5px #183b5108;color:#183b51}.filters{display:flex;gap:7px;margin:0 0 18px}.filters button{border:1px solid #dfe7ed;background:white;border-radius:30px;padding:8px 14px;min-height:35px;font-size:11px}.filters .active{background:#183b51;color:white;border-color:#183b51}.order{display:block;width:100%;text-align:left;padding:18px;border:1px solid #e0e7ed;background:white;border-radius:16px;margin-bottom:12px;box-shadow:0 2px 6px #183b5102}.order:active{background:#f9fbfc}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:7px}.price{font-size:23px;font-weight:750;letter-spacing:-.6px}.price.small-price{font-size:17px}.time{font-size:10px;color:#527386;background:#edf4f8;padding:6px 8px;border-radius:6px;white-space:nowrap}.route{display:grid;grid-template-columns:20px 1fr;gap:11px 8px;position:relative;font-size:14px;font-weight:600;margin-bottom:17px}.route:before{content:"";position:absolute;left:7px;top:16px;height:19px;border-left:1px dashed #bbcbd5}.route i{font-size:9px;font-style:normal;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#183b51;color:white;z-index:1;margin-top:2px}.route i.b{background:#f4bf50;color:#183b51}.card-car{display:flex;gap:7px;font-size:11px;color:#718593;align-items:center;border-top:1px solid #edf1f4;padding-top:13px}.card-car strong{color:#38576a;font-weight:650}.tags{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}.tag{font-size:10px;background:#fff4da;color:#88601b;border-radius:5px;padding:5px 7px}.tag.gray{background:#f0f3f5;color:#68808d}.card-bottom{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8a9da8;margin-top:13px}.card-bottom b{font-size:16px;color:#7593a4;font-weight:400}.bottom-nav{position:absolute;bottom:0;left:0;right:0;height:76px;background:#fff;display:flex;border-top:1px solid #e4eaef;padding:6px 10px 12px;z-index:5}.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;flex:1;border:0;background:none;color:#92a1ab;font-size:10px;min-height:50px}.bottom-nav button>span{display:grid;place-items:center;font-size:23px;width:48px;height:31px;border-radius:9px;line-height:1}.bottom-nav button[aria-current=page]{color:#183b51;font-weight:650}.bottom-nav button[aria-current=page]>span{background:#fff2d5}.map{height:480px;position:relative;overflow:hidden;background:#e7ece6;border-radius:14px;border:1px solid #dbe3e8}.map svg{width:100%;height:100%;position:absolute;inset:0}.map-label{position:absolute;top:15px;left:15px;background:white;padding:8px 10px;border-radius:6px;font-size:10px;color:#6e858f}.map-marker{position:absolute;transform:translate(-50%,-50%);border:2px solid #fff;background:#183b51;color:white;font-size:12px;font-weight:700;padding:10px 14px;border-radius:10px;box-shadow:0 3px 10px #17394f35}.map-marker:after{content:"";position:absolute;bottom:-7px;left:calc(50% - 5px);border-left:5px solid transparent;border-right:5px solid transparent;border-top:7px solid #183b51}.map-you{position:absolute;top:62%;left:42%;font-size:10px;color:#2c72a6;background:white;border-radius:15px;padding:7px 10px;box-shadow:0 3px 12px #17394f12}.map-you:before{content:"";display:inline-block;width:8px;height:8px;background:#3c94cf;border-radius:50%;margin-right:5px}.map-city{position:absolute;top:46%;left:20%;font-size:14px;font-weight:600;color:#8b9d9b}.map-footer{position:absolute;bottom:10px;left:10px;font-size:9px;color:#6c838c;background:#ffffffcc;padding:6px;border-radius:5px}.month{font-size:13px;font-weight:650;margin:20px 0 15px;display:flex;justify-content:space-between}.days{display:flex;gap:5px;margin-bottom:23px}.day{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1;border:0;border-radius:11px;background:white;padding:12px 0;font-size:10px;color:#82959f}.day strong{font-size:17px;color:#39586a}.day.active{background:#183b51;color:#ccd9e1}.day.active strong{color:white}.section-label{font-size:10px;letter-spacing:1px;color:#82949f;font-weight:650;margin:20px 0 13px}.schedule{display:grid;grid-template-columns:44px 1fr;gap:10px}.schedule>time{font-size:13px;font-weight:650;margin-top:18px}.schedule-card{background:white;padding:17px;border:1px solid #e0e7ed;border-radius:13px;margin-bottom:14px}.schedule-card strong{display:block;font-size:14px;margin:8px 0}.schedule-card p{margin:7px 0;font-size:11px;line-height:1.6;color:#718792}.schedule-card .tag{display:inline-block}.hint{font-size:11px;color:#80949f;line-height:1.7}.profile-card{border:1px solid #e0e7ed;border-radius:15px;padding:18px;background:white;margin-bottom:14px}.profile-card h2{font-size:15px;margin:0 0 16px}.field-row{display:flex;justify-content:space-between;gap:15px;font-size:12px;padding:12px 0;border-bottom:1px solid #edf1f4}.field-row:last-child{border-bottom:0;padding-bottom:0}.field-row span{color:#8597a2}.field-row strong{text-align:right;font-size:12px;font-weight:550}.profile-name{font-size:23px;font-weight:700;margin:0 0 5px}.profile-subtitle{font-size:11px;color:#82949f;margin-bottom:23px}.profile-card textarea{width:100%;resize:vertical;min-height:165px;padding:13px;border:1px solid #dce5eb;border-radius:10px;background:#fafbfd;color:#466276;font-size:12px;line-height:1.7}.primary{display:flex;align-items:center;justify-content:center;gap:10px;background:#f4bf50;border:0;border-radius:11px;padding:15px;font-size:14px;font-weight:700;width:100%;min-height:49px}.secondary{border:1px solid #dae4eb;border-radius:9px;background:white;padding:12px;font-size:12px;min-height:43px}.wide{width:100%}.profile-card .primary{margin-top:12px;font-size:12px}.text-action{border:0;background:none;padding:12px 2px;color:#64879c;font-size:12px}.links{display:flex;gap:7px;flex-wrap:wrap}.links>button{flex:1}.detail-route{display:flex;flex-direction:column;gap:16px}.detail-point{display:flex;gap:12px}.badge{width:25px;height:25px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700;background:#183b51;color:white}.badge.yellow{background:#f4bf50;color:#183b51}.detail-point small{font-size:10px;color:#8194a0;display:block;margin-bottom:5px}.detail-point strong{font-size:13px;line-height:1.5;display:block}.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:19px}.detail-price{display:flex;justify-content:space-between;align-items:center;gap:10px}.detail-price .price{font-size:30px}.sheet-header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:17px 20px;background:#fff;border-bottom:1px solid #e8edf1;z-index:2}.sheet-header strong{font-size:15px}.close{width:33px;height:33px;background:#f0f4f6;border:0;border-radius:50%;font-size:22px;line-height:1}.sheet-body{padding:20px;background:#f4f6f8}.sheet-body>.hint{margin-top:0}.sheet-bottom{padding:15px 20px;background:white;position:sticky;bottom:0;border-top:1px solid #e5ebef}.sheet-bottom p{font-size:10px;color:#91a1aa;text-align:center;margin:9px 0 0}dialog{padding:0;border:0;border-radius:24px;width:414px;max-width:100%;max-height:90dvh;color:#183b51;box-shadow:0 20px 70px #122f4540}dialog::backdrop{background:#112f4566;backdrop-filter:blur(3px)}.form-field{display:block;font-size:11px;color:#6f8795;margin-bottom:14px}.form-field input,.form-field textarea,.form-field select{display:block;width:100%;border:1px solid #dbe5ec;background:white;color:#183b51;border-radius:10px;padding:13px;margin-top:7px;font-size:13px}.choice{width:100%;display:flex;align-items:center;gap:14px;border:1px solid #e0e7ed;background:white;padding:21px;border-radius:14px;text-align:left;margin-bottom:12px}.choice>b{font-size:25px}.choice strong{display:block;font-size:14px}.choice small{display:block;color:#8196a1;font-size:11px;line-height:1.5;margin-top:5px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90vw;background:#183b51;color:white;border-radius:12px;padding:15px 20px;font-size:12px;z-index:20;box-shadow:0 8px 25px #183b5125}.divider{border:0;border-top:1px solid #e5ebef;margin:20px 0}.empty{padding:45px 15px;background:white;text-align:center;border:1px dashed #cddae3;border-radius:13px}.empty strong{font-size:14px}.empty p{font-size:12px;color:#80949f;line-height:1.6}
@media(max-width:850px){body{padding:20px}.review{display:none}.phone{min-height:850px}}@media(max-width:480px){body{display:block;background:#f4f6f8;padding:0}.phone{border:0;border-radius:0;width:100%;min-height:100dvh;padding-bottom:90px;box-shadow:none}.bottom-nav{position:fixed;height:calc(72px + env(safe-area-inset-bottom));padding-bottom:calc(10px + env(safe-area-inset-bottom))}.demo-banner{padding-top:calc(8px + env(safe-area-inset-top))}.page{padding:21px 18px}.header{padding:18px}.review{display:none}dialog{width:100%;max-height:94dvh;margin: auto 0 0;border-radius:22px 22px 0 0}.sheet-bottom{padding-bottom:calc(15px + env(safe-area-inset-bottom))}#toast{bottom:95px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s}}

body{display:block;padding:0;background:#e7edf1}.phone{max-width:560px;width:100%;margin:0 auto;border:0;border-radius:0;min-height:100dvh;padding-bottom:100px}.bottom-nav{position:fixed;max-width:560px;left:50%;right:auto;transform:translateX(-50%);width:100%;height:calc(76px + env(safe-area-inset-bottom));padding-bottom:calc(12px + env(safe-area-inset-bottom))}.demo-banner{padding-top:calc(9px + env(safe-area-inset-top))}dialog{width:500px}.route-preview-link{display:block;color:#183b51;text-decoration:none;text-align:center}.phone .page{max-width:560px}

.close{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;height:auto;width:auto;padding:8px 13px;border:1px solid #dfe6ec;border-radius:11px;background:white;font-size:12px;font-weight:600;white-space:nowrap}.close span{font-size:24px;line-height:1;font-weight:400}

/* Only the body scrolls, inside the rounded dialog shell. */
body:has(#sheet[open]){overflow:hidden}
#sheet{overflow:hidden;max-height:90dvh}
#sheet-content{display:flex;flex-direction:column;max-height:90dvh;overflow:hidden}
.sheet-header,.sheet-bottom{position:static;flex-shrink:0}
.sheet-body{overflow-y:auto;overflow-x:hidden;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a9bac5 #f4f6f8;scrollbar-gutter:stable}
.sheet-body::-webkit-scrollbar{width:6px}
.sheet-body::-webkit-scrollbar-thumb{background:#a9bac5;border-radius:6px}
.sheet-body::-webkit-scrollbar-track{background:#f4f6f8}
@media(max-width:480px){#sheet,#sheet-content{max-height:94dvh}}
.shift-card{display:flex;align-items:center;justify-content:space-between;gap:12px;background:white;border:1px solid #dce6eb;border-radius:13px;padding:13px;margin-bottom:18px}
.shift-card small{display:block;color:#738b99;margin-top:4px;font-size:11px}.shift-card strong{font-size:13px}.shift-card button{white-space:nowrap}
.shift-active{background:#eef8f1;border-color:#c5dfce}.shift-active strong{color:#32794b}
.optional-fields summary{cursor:pointer;padding:10px 0;font-size:14px;font-weight:600}.optional-fields[open] summary{margin-bottom:14px}
.order-map{height:384px;border:1px solid #dbe3e8;border-radius:14px;isolation:isolate;z-index:0}
.order-map .leaflet-control-zoom a{width:42px;height:42px;line-height:42px;font-size:24px}
.order-map .locate-control{width:44px;height:44px;background:white;border:0;border-radius:4px;font-size:24px}
.map-pin{background:#183b51;color:white;border:2px solid white;border-radius:10px;padding:8px 10px;font-weight:600;white-space:nowrap;width:max-content!important;height:auto!important;box-shadow:0 2px 8px #17394f40}
.order-map .leaflet-container{font-family:inherit}.order-map .leaflet-attribution-flag{display:none}
.order-map .leaflet-control-attribution{font-size:9px}
.field-row strong,.detail-point strong,.route span{overflow-wrap:anywhere}.time{white-space:normal;text-align:right}
.form-error{color:#ad3333;font-size:12px;line-height:1.6}.sheet-bottom .secondary+.secondary,.sheet-bottom .primary+.secondary{margin-top:8px}
.sync-note{font-size:11px;color:#738b99;min-height:18px;margin:8px 0}

.map-preview strong{font-size:14px;line-height:1.4;display:block}.map-preview p{font-size:12px;margin:7px 0}.map-preview button{margin-top:6px}

.filters button,.secondary,.close{min-height:44px;border:1px solid #dfe6ec;border-radius:11px;font-size:12px;font-weight:600;padding:10px 14px;background:white}.filters .active{background:#183b51;color:white;border-color:#183b51}.filters{gap:8px}.filters button{flex:1}.close{padding:8px 13px}

/* Filters use the same segmented treatment as Map / List. */
.filters{display:flex;gap:0;background:#e5ebef;padding:4px;border-radius:11px;margin-bottom:16px}
.filters button{flex:1;border:0;background:transparent;color:#7b8d99;font-size:12px;padding:10px 5px;border-radius:8px;font-weight:650;min-height:39px}
.filters button.active{background:white;box-shadow:0 2px 5px #183b5108;color:#183b51;border:0}
.close{border:0;background:#e5ebef;color:#183b51;border-radius:8px;font-weight:650}
@media(max-width:850px),(pointer:coarse){html,body,.sheet-body,#sheet,#sheet-content{scrollbar-width:none}.sheet-body{scrollbar-gutter:auto}html::-webkit-scrollbar,body::-webkit-scrollbar,.sheet-body::-webkit-scrollbar,#sheet::-webkit-scrollbar,#sheet-content::-webkit-scrollbar{display:none;width:0;height:0}}

.location-lines{display:flex;flex-direction:column;gap:4px;min-width:0;line-height:1.4}.location-lines>strong{font-size:14px;font-weight:700}.location-address{font-size:12px;font-weight:400;color:#466276}.location-coordinates,.detail-point .location-coordinates{font-size:10px;font-weight:400;color:#8194a0;margin:0;overflow-wrap:anywhere}.route:before{bottom:14px;height:auto}.order-map .locate-control{width:auto;min-width:85px;padding:0 12px;font-size:13px;font-weight:650;height:44px}.compact-preview strong{font-size:13px}.compact-preview p{font-size:11px;line-height:1.35;margin:5px 0}.compact-preview small{font-size:10px;color:#8194a0}.compact-preview .secondary{min-height:38px;font-size:11px;padding:8px;margin-top:5px}.order-map .leaflet-popup-content{margin:10px 12px}.detail-point>div{min-width:0}

.map-legend{display:flex;flex-wrap:wrap;gap:7px 12px;font-size:10px;color:#587487;margin:10px 0}.map-legend span{display:flex;align-items:center;gap:5px}.map-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.legend-driver{background:#268dd0}.legend-arrival{background:#36b887}.legend-order{background:#183b51}.legend-selected{background:#f09136}.arrival-select{margin:10px 0}.arrival-control{height:44px;border:0;background:white;border-radius:4px;color:#166348;font-size:12px;padding:0 10px;font-weight:650;box-shadow:0 1px 5px #0004}

.map-location-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px;line-height:1.5}.map-location-status button{min-height:40px}.map-location-status button[hidden]{display:none}
