:root{--bg:#f5f6f8;--panel:#fff;--ink:#132344;--muted:#65708a;--line:#dfe4ec;--accent:#075bfa;--soft:#edf3ff;--red:#ed2336;--shadow:0 15px 45px #1435670c;color-scheme:light}
:root[data-theme=dark]{--bg:#111214;--panel:#1c1e22;--ink:#f3f4f6;--muted:#a6adba;--line:#343840;--accent:#538aff;--soft:#202b40;--red:#ff6b78;--shadow:0 15px 40px #0003;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:12px;padding:11px 17px;font-weight:650}button:disabled{opacity:.55;cursor:wait}button:hover{border-color:var(--accent)}button.primary,.primary{background:var(--accent);color:white;border-color:var(--accent)}button.danger{color:var(--red)}input,select,textarea{background:var(--panel);border:1px solid var(--line);border-radius:11px;color:var(--ink);padding:12px;width:100%;min-width:0}label{display:block;font-size:13px;color:var(--muted);margin:12px 0 5px}header{display:flex;gap:25px;align-items:center;justify-content:space-between;padding:20px max(24px,calc((100vw - 1200px)/2));background:var(--panel);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:14px;min-width:230px}.brand img{width:110px;height:50px;object-fit:contain}.divider{height:28px;width:1px;background:var(--line)}nav{display:flex;gap:8px}nav button{border:0;background:transparent}nav button.active{color:var(--accent);background:var(--soft)}.tools{display:flex;gap:10px;align-items:center}.tools select{width:120px;padding:9px;font-size:12px}main{max-width:1200px;padding:28px 24px 70px;margin:auto}h1{font-size:clamp(36px,5vw,62px);line-height:1.03;letter-spacing:-2px;margin:10px 0 22px;font-weight:850}h2{font-size:24px;letter-spacing:-.7px;margin:0 0 15px}h3{margin:0 0 8px;font-size:18px}.eyebrow{color:var(--accent);font-weight:750;letter-spacing:2px;font-size:12px}.muted{color:var(--muted)}.hero{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:start;padding:35px 0}.intro p{max-width:470px;font-size:17px;color:var(--muted)}.card{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:var(--shadow)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.grid.two{grid-template-columns:repeat(2,1fr)}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.actions button{flex:1}.badge{display:inline-flex;border-radius:8px;padding:5px 9px;font-size:12px;font-weight:800;background:var(--soft);color:var(--accent)}.badge.exception,.badge.cancelled{background:#e9364f20;color:var(--red)}.badge.completed{background:#29a87820;color:#299568}.badge.preparing{background:#ffb72a25;color:#b07812}.price{font-size:28px;font-weight:850}.numbers{font-size:12px;color:var(--muted);margin-bottom:8px}.summary{margin:25px 0}.summary .card{padding:18px}.summary strong{font-size:24px}.service-tabs{display:flex;gap:8px;margin:20px 0}.service-tabs button{flex:1}.menu-item img{width:100%;height:160px;object-fit:cover;border-radius:12px}.menu-item{margin-bottom:12px}.map{position:relative;overflow:hidden;min-height:190px;background:repeating-linear-gradient(30deg,transparent,transparent 35px,var(--line) 36px,var(--line) 38px),var(--soft);border-radius:14px;border:1px solid var(--line);padding:25px;margin:15px 0;display:flex;flex-direction:column;justify-content:space-between}.map:before{content:'';position:absolute;right:0;top:0;bottom:0;width:27%;background:#53bbdc25}.map .pin{z-index:1;border-radius:10px;background:var(--panel);box-shadow:var(--shadow);padding:8px 12px;align-self:flex-start;font-weight:750}.map .pin:last-child{align-self:flex-end}.route{position:absolute;inset:45px 25%;border-left:4px dashed var(--accent);transform:rotate(30deg)}.map small{z-index:1;color:var(--muted)}.job{margin-bottom:15px}.job p{margin:6px 0}.job .progress{display:flex;gap:6px;margin:15px 0}.progress span{height:5px;flex:1;background:var(--line);border-radius:5px}.progress span.on{background:var(--accent)}.status-title{font-size:17px;font-weight:850;margin:12px 0}.empty{padding:45px;text-align:center;color:var(--muted)}.auth-card{max-width:450px;margin:30px auto}.auth-card h1{font-size:36px}.switcher{display:flex;gap:8px;margin-bottom:22px;flex-wrap:wrap}.switcher button.active{background:var(--accent);color:#fff}.section-title{margin:35px 0 18px}.account-chip{border:1px solid var(--line);padding:8px 12px;border-radius:10px;font-size:13px}.full{width:100%;margin-top:18px}.settings{max-width:550px}#notice:empty{display:none}#notice{background:var(--soft);border:1px solid var(--line);padding:14px;border-radius:13px;margin-bottom:20px}footer{display:flex;gap:20px;align-items:center;justify-content:space-between;max-width:1200px;padding:22px 24px;margin:auto;color:var(--muted);border-top:1px solid var(--line);font-size:13px}dialog{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:20px;max-width:500px;width:90%;padding:25px}dialog::backdrop{background:#0009}#dialogError{color:var(--red)}.mobile-nav{display:none}.account-panel{margin-bottom:20px}.scroll{overflow:auto}.inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cart{background:var(--soft);padding:15px;border-radius:12px;margin:15px 0}.food-art{height:150px;background:linear-gradient(145deg,var(--soft),var(--panel));display:grid;place-items:center;font-size:70px;border-radius:12px}.vendor-card .food-art{font-size:48px;height:100px}.caption{font-size:12px;color:var(--muted)}[hidden]{display:none!important}
@media(max-width:800px){header{padding:12px 16px;flex-wrap:wrap;gap:9px}.brand{min-width:0;gap:7px}.brand img{width:85px;height:37px}.tools{margin-left:auto;gap:6px}.tools select{width:95px;font-size:11px}.tools button{font-size:12px;padding:8px}header nav{width:100%;justify-content:space-around}header nav button{flex:1}main{padding:16px 16px 40px}.hero{grid-template-columns:1fr;gap:15px;padding:18px 0}.intro p{font-size:15px}.intro h1{font-size:40px;margin:8px 0 14px}.grid,.grid.two{grid-template-columns:1fr}.card{padding:18px;border-radius:17px}.summary{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.summary .card{padding:14px}.summary strong{font-size:20px}footer{font-size:11px;flex-wrap:wrap}.section-title{margin-top:25px}.job .actions button{font-size:13px}.row{align-items:flex-start}.food-grid{grid-template-columns:1fr 1fr}.food-grid .card{padding:12px}.food-grid h3{font-size:15px}.food-grid .price{font-size:20px}.food-grid .menu-item img{height:120px}.food-art{height:100px;font-size:46px}}

:root[data-theme=dark] .brand img{filter:invert(1)}.price{white-space:nowrap}.switcher button{text-transform:capitalize}.inline-fields .field{min-width:0}@media(max-width:800px){.price{font-size:23px}.numbers{max-width:45%;overflow-wrap:anywhere}}

.live-map{height:320px;border-radius:18px;border:1px solid var(--line);overflow:hidden;z-index:0}summary{font-size:12px;color:var(--muted);cursor:pointer;margin-top:15px}:root[data-theme=dark] .leaflet-tile-pane{filter:invert(.9) hue-rotate(180deg)}@media(max-width:800px){.live-map{height:230px}}

.profile-photo,.vendor-logo{width:76px;height:76px;object-fit:cover;border-radius:18px;display:block;margin-bottom:12px}.item-photo{width:100%;height:190px;object-fit:cover;border-radius:14px}.address-results{display:grid;gap:4px}.address-results button{text-align:left;font-size:13px;white-space:normal}input[type=file]{width:100%;padding:10px}input[type=checkbox]{width:auto!important}#dialogFields small{display:block;color:var(--muted);margin-top:6px}
