:root{--brand: #c2410c;--brand-mid: #d4562a;--brand-light: #e0683a;--accent: #f08550;--brand-soft: rgba(224, 104, 58, .18);--ok: #4ade80;--violet: #7c3aed;--violet-text: #b79cff;--amber: #f5b14c;--red: #f87171;--text: #f5efea;--text-2: #cfc4bb;--muted: #9a8e85;--line: #3a322d;--soft: #322b26;--surface: #26201c;--head: #1f1a17;--bg: #161210;--shadow: 0 8px 24px rgba(0, 0, 0, .35);color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;color:var(--text);background:var(--bg);font-family:DM Sans,system-ui,-apple-system,Segoe UI,sans-serif;font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}h1,h2,p{margin:0}.grow{flex:1;min-width:0}.muted{color:var(--muted)}.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:0 16px;border:1px solid var(--line);border-radius:14px;background:var(--soft);color:var(--text);font:inherit;font-weight:700;text-decoration:none;cursor:pointer}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn-primary:hover:not(:disabled){background:#9a3412}.btn-ghost{background:transparent;border-color:transparent;min-height:38px;color:var(--text-2)}.btn-block{width:100%}.field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;color:var(--text-2)}.field input{font:inherit;color:var(--text);border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:var(--soft)}.field input:focus{outline:none;border-color:var(--brand-light);box-shadow:0 0 0 3px var(--brand-soft)}.alert{background:#f871711f;color:var(--red);border-radius:10px;padding:10px 12px;font-size:14px}.tag{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.tag-amber{color:var(--amber)}.tag-green{color:var(--ok)}.tag-violet{color:var(--violet-text)}.login{min-height:100%;display:flex;flex-direction:column;align-items:center}.login-head{width:100%;padding:calc(env(safe-area-inset-top) + 36px) 24px 64px;color:var(--text);text-align:center;background:radial-gradient(120% 120% at 50% 0,#2c231e 0,var(--head) 65%);border-bottom:1px solid var(--line);border-radius:0 0 28px 28px}.login-head h1{margin:0 auto 10px;line-height:0}.login-logo{display:block;width:auto;height:104px;margin:0 auto}.login-head p{color:var(--text-2)}.login-card{width:min(420px,calc(100% - 32px));margin-top:-36px;padding:20px;display:flex;flex-direction:column;gap:14px}.app{min-height:100%;display:flex;flex-direction:column}.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:12px;padding:calc(env(safe-area-inset-top) + 12px) 16px 12px;color:var(--text);background:var(--head);border-bottom:1px solid var(--line)}.top strong{display:block;font-size:16px;line-height:1.2}.top small,.top .btn-ghost{color:var(--text-2)}.avatar{width:40px;height:40px;border-radius:12px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:800}.content{flex:1;width:100%;max-width:640px;margin:0 auto;padding:14px 14px 110px}.content-map{max-width:none;padding:0;display:flex}.section-title{font-size:17px;font-weight:800;margin:10px 4px 12px;display:flex;align-items:center;gap:8px}.count{min-width:24px;height:24px;padding:0 7px;border-radius:12px;background:var(--brand);color:#fff;font-size:12.5px;display:inline-grid;place-items:center}.empty{text-align:center;padding:28px 16px;color:var(--muted);display:flex;flex-direction:column;gap:8px;align-items:center}.delivery{padding:16px;margin-bottom:14px;display:flex;flex-direction:column;gap:12px}.delivery-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px}.delivery-earning{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.delivery-earning strong{font-size:24px;font-weight:800;color:var(--text)}.delivery-earning .muted{font-size:13.5px}.stops{list-style:none;margin:0;padding:0 0 0 4px;display:flex;flex-direction:column;gap:12px;border-left:2px dashed var(--line)}.stop{position:relative;padding-left:18px;display:flex;flex-direction:column;font-size:14px}.stop:before{content:"";position:absolute;left:-9px;top:4px;width:14px;height:14px;border-radius:50%;border:3px solid var(--surface)}.stop-pickup:before{background:var(--brand-light);box-shadow:0 0 0 1px var(--brand-light)}.stop-dropoff:before{background:var(--violet);box-shadow:0 0 0 1px var(--violet)}.stop b{font-weight:800}.stop span{color:var(--text-2)}.stop em{color:var(--amber);font-style:normal;font-size:13px}.pay{font-size:13.5px;color:var(--text-2);background:var(--soft);border-radius:10px;padding:8px 10px}.delivery-actions{display:flex;gap:10px;align-items:center}.wait{font-size:13.5px;color:var(--amber);font-weight:600;text-align:center}.tabbar{position:fixed;z-index:30;left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom) + 12px);max-width:420px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);padding:8px;background:#1f1a17f7;border:1px solid var(--line);border-radius:22px;box-shadow:0 10px 30px #00000073}.tabbar button{border:none;background:none;font:inherit;font-size:13px;font-weight:700;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px;cursor:pointer}.tabbar button.active{color:var(--accent)}.tab-icon{position:relative;display:inline-flex}.badge{position:absolute;top:-8px;right:-14px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#f15a24;color:#fff;font-size:11.5px;display:grid;place-items:center;border:2px solid var(--head)}.notice{position:fixed;z-index:40;left:50%;transform:translate(-50%);bottom:calc(env(safe-area-inset-bottom) + 96px);width:min(420px,calc(100% - 32px));padding:12px 14px;border-radius:12px;background:#3a312b;color:var(--text);font-size:14px;box-shadow:0 10px 30px #00000073;border-left:4px solid var(--ok)}.notice-error{border-left-color:var(--red)}.map-page{position:relative;flex:1;min-height:calc(100vh - 64px)}.map{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--soft)}.map.leaflet-container{background:var(--soft)}.legend{position:absolute;z-index:500;top:12px;left:12px;margin:0;padding:8px 10px;list-style:none;background:#1f1a17f0;color:var(--text);border-radius:12px;box-shadow:var(--shadow);font-size:12.5px;font-weight:600;display:flex;flex-direction:column;gap:6px}.legend li{display:flex;align-items:center;gap:8px}.legend .pin{width:20px;height:20px;font-size:10px;border-width:2px}.pin{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:13px;font-weight:800;border:3px solid #fff;box-shadow:0 2px 8px #00000040}.pin-pickup{background:var(--brand)}.pin-dropoff{background:var(--violet)}.pin-open{background:#fff;color:var(--brand);border-color:var(--brand)}.pin-me{background:#2563eb;width:18px;height:18px;box-shadow:0 0 0 6px #2563eb33}.map-sheet{position:absolute;z-index:600;left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom) + 92px);max-width:520px;margin:0 auto}.map-sheet .delivery{margin:0}.sheet-close{position:absolute;z-index:1;top:10px;right:10px;width:32px;height:32px;border-radius:10px;border:1px solid var(--line);background:var(--soft);font-size:20px;line-height:1;cursor:pointer;color:var(--text-2)}.map-sheet .delivery-head{padding-right:40px}.map-empty{position:absolute;z-index:500;top:50%;left:50%;transform:translate(-50%,-50%);background:var(--surface);color:var(--text);padding:12px 16px;border-radius:12px;box-shadow:var(--shadow);font-weight:600}.sk{height:14px;border-radius:6px;background:#3a322d;margin:6px 0;animation:pulse 1.2s ease-in-out infinite}.sk-title{width:200px;height:20px;margin:10px 4px 14px}.sk-card{padding:16px;margin-bottom:14px}.sk-btn{height:46px;border-radius:14px;margin-top:12px}.sk-map{margin:0;border-radius:0;height:auto}@keyframes pulse{50%{opacity:.55}}@media (prefers-reduced-motion: reduce){.sk{animation:none}}.gate{min-height:100%;display:grid;place-items:center;padding:20px}.gate-card{width:min(440px,100%);padding:24px;display:flex;flex-direction:column;gap:14px;text-align:center}.gate-card h1{font-size:22px;font-weight:800}.gate-card p{color:var(--text-2)}.gate-icon{width:64px;height:64px;margin:0 auto;border-radius:20px;display:grid;place-items:center;background:var(--brand-soft);color:var(--accent)}.gate-card .alert{text-align:left}.sharing{display:flex;align-items:center;gap:6px}.live{width:8px;height:8px;border-radius:50%;background:#ffffff59;flex-shrink:0}.live.on{background:#4ade80;box-shadow:0 0 0 3px #4ade804d}.map-panel{position:absolute;z-index:500;top:12px;left:12px;right:64px;max-width:460px;padding:10px 12px;background:#1f1a17f2;color:var(--text);border-radius:14px;box-shadow:var(--shadow);font-size:13.5px;display:flex;flex-direction:column;gap:4px}.map-panel strong{font-size:14.5px}.route-leg{display:flex;gap:8px;align-items:baseline}.route-leg .dot{width:10px;height:10px;border-radius:3px;flex-shrink:0;transform:translateY(1px)}.route-leg.now .dot{background:var(--brand-light)}.route-leg.next .dot{background:var(--violet)}.route-leg small{color:var(--muted)}.route-error{color:var(--red)}.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}.customer-rating,.stop .customer-rating{font-size:13px;font-weight:700;color:var(--amber)}.customer-rating.new,.stop .customer-rating.new{color:var(--muted);font-weight:600}.delivered-main{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.delivered-main strong{font-size:20px;font-weight:800}.delivered-address{font-size:14px;color:var(--text-2);margin-bottom:-6px}.given{display:flex;align-items:center;gap:10px;background:var(--soft);border-radius:12px;padding:8px 10px}.given-stars{color:#fbbf24;letter-spacing:2px;font-size:16px}.given-comment{font-size:13.5px;color:var(--text-2)}.rate-form{display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--line);padding-top:12px}.rate-form textarea{font:inherit;color:var(--text);border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--soft);resize:vertical;min-height:72px}.rate-form textarea:focus{outline:none;border-color:var(--brand-light);box-shadow:0 0 0 3px var(--brand-soft)}.counter{align-self:flex-end;color:var(--muted);font-weight:500;font-size:12px}.stars-picker{border:none;margin:0;padding:0;min-width:0}.stars-picker legend{font-size:14px;font-weight:700;color:var(--text-2);padding:0;margin-bottom:4px}.stars-row{display:flex;gap:4px}.star{position:relative;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;font-size:30px;line-height:1;color:#5a4f48;cursor:pointer}.star.on{color:#fbbf24}.star:has(input:focus-visible){outline:3px solid var(--brand-light);outline-offset:1px}.stars-picker:disabled .star{cursor:not-allowed;opacity:.6}.my-rating-chip{border:1px solid var(--line);background:var(--soft);color:#fbbf24;font:inherit;font-weight:800;font-size:14px;border-radius:12px;min-height:38px;padding:0 10px;cursor:pointer}.my-rating{padding:16px;margin-bottom:14px;display:flex;flex-direction:column;gap:10px}.my-rating-title{font-size:17px;font-weight:800}.my-rating-sub{font-size:14.5px;font-weight:800;margin:6px 0 0}.my-rating-head{display:flex;align-items:center;gap:12px}.my-rating-head>div{display:flex;flex-direction:column}.my-rating-avg{font-size:36px;font-weight:800;line-height:1}.dist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.dist li{display:grid;grid-template-columns:30px 1fr 32px;align-items:center;gap:8px;font-size:13px}.dist-label{color:var(--text-2);font-weight:700}.dist-count{color:var(--muted);text-align:right}.dist-bar{width:100%;height:8px;border:none;border-radius:4px;background:var(--soft);-webkit-appearance:none;-moz-appearance:none;appearance:none}.dist-bar::-webkit-meter-bar{background:var(--soft);border:none;border-radius:4px;height:8px}.dist-bar::-webkit-meter-optimum-value{background:#fbbf24;border-radius:4px}.dist-bar::-moz-meter-bar{background:#fbbf24;border-radius:4px}.reviews{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.review{padding:10px 0;border-top:1px solid var(--line);font-size:14px}.review-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.review-head .given-stars{font-size:13px}.review-head small{margin-left:auto}.review p{color:var(--text-2);margin-top:2px}.sk-w40{width:40%}.sk-w80{width:80%}.sk-big{width:30%;height:36px}
