:root{--nav:#0b303b;--green:#0a9274;--green-dark:#08765d;--ink:#173a46;--muted:#738c97;--line:#dce8e8;--bg:#f5f9f8;--orange:#ea7b38}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;color:var(--ink);background:#eaf2f1}
h1,h2,h3,p{margin:0}p{line-height:1.6}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}:focus-visible{outline:3px solid #4abda3;outline-offset:3px}
.scene{min-height:100vh;display:flex;justify-content:center;align-items:center;gap:35px;padding:24px;background:radial-gradient(circle at 12% 10%,#d0ece1,transparent 38%),linear-gradient(110deg,#e6f0f0,#f5f9f8)}
.scene-info{width:255px;flex:none}.scene-info>span{font-size:10px;font-weight:900;letter-spacing:1.3px;color:var(--green)}.scene-info h2{font-size:34px;line-height:1.18;letter-spacing:-1.25px;margin:15px 0}.scene-info p{font-size:14px;color:#69838c}.scene-info a{display:inline-block;margin-top:23px;color:#08765d;font-size:12px;font-weight:800;text-decoration:none}
.device{width:min(448px,100%);height:min(870px,calc(100dvh - 35px));min-height:600px;display:flex;flex-direction:column;background:var(--bg);border:8px solid #0e303b;border-radius:38px;box-shadow:0 24px 70px #123c4540;overflow:hidden;position:relative;flex:none}
.status-bar{order:0;height:26px;flex:none;padding:5px 22px 0;display:flex;justify-content:space-between;background:#fff;font-size:10px;font-weight:850}
.app-header{order:1;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;background:#fff;border-bottom:1px solid var(--line);min-height:64px;flex:none}
.app-brand{display:flex;align-items:center;gap:9px;min-width:0}.app-logo{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#f49a46,#cf5d34);color:#fff;font-size:22px;font-weight:1000;box-shadow:0 4px 12px #dc794738}.app-brand b{font-size:15px;letter-spacing:-.45px;display:block}.app-brand small{display:block;font-size:8px;color:#8b9da1;letter-spacing:.75px;font-weight:850}.switch-label{color:#6d8891;font-size:10px;font-weight:800;white-space:nowrap}.switch-label select{display:block;max-width:132px;margin-top:3px;border:1px solid #dce9e7;background:#f5fbf8;border-radius:9px;padding:7px 9px;color:#265e57;font-size:12px;font-weight:850}
.screen{order:2;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 15px 25px;scrollbar-width:thin}
.tabs{order:3;display:flex;background:#fff;height:63px;border-top:1px solid var(--line);flex:none}.tabs button{flex:1;min-width:0;border:0;background:transparent;color:#879aa2;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}.tabs button>span{font-size:18px}.tabs button small{font-size:11px;font-weight:850;white-space:nowrap}.tabs button.active{color:var(--green);box-shadow:inset 0 3px var(--green);background:#f8fdfb}
.home-line{order:4;height:18px;background:#fff;display:flex;align-items:center;justify-content:center;flex:none}.home-line span{width:100px;height:4px;border-radius:5px;background:#283d46}
.heading{margin:0 0 18px}.heading small{color:var(--green);font-weight:900;letter-spacing:1.15px;font-size:10px}.heading h1{font-size:25px;line-height:1.3;letter-spacing:-.85px;margin:6px 0}.heading p{font-size:12px;color:var(--muted)}
.field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#456b73;font-weight:850;margin:13px 0}.field select,.field input{width:100%;min-height:42px;border:1px solid #d6e5e3;border-radius:10px;background:white;color:var(--ink);padding:10px 11px;outline-color:#5cc4aa;font-size:12px}
.delivery-hint{padding:11px 13px;margin:14px 0 24px;background:#e9f6ef;color:#366e61;border:1px solid #cce6d9;border-radius:11px;font-size:11px;line-height:1.65}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:16px 2px}.section-head h2{font-size:16px}.section-head span{font-size:10px;color:#7b9198}
.food-card{display:flex;gap:13px;padding:12px;background:white;border:1px solid var(--line);border-radius:16px;margin:12px 0;box-shadow:0 3px 9px #13323b07}
.food-art{width:92px;height:103px;flex:none;border-radius:13px;background:radial-gradient(circle at 40% 35%,#fff0cf,#f9ded2 70%,#eec5af);display:grid;place-items:center;font-size:45px}.food-info{flex:1;min-width:0}.food-meta{font-size:9px;color:var(--green);font-weight:900;text-transform:uppercase;letter-spacing:.9px}.food-card h3{font-size:14px;margin:5px 0 3px}.food-card p{font-size:10px;color:#82949a;line-height:1.55}.food-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.food-foot b{font-size:12px;white-space:nowrap}
.button{border:1px solid #d0e2df;background:white;color:#356b63;border-radius:10px;padding:10px 13px;min-height:40px;font-size:11px;font-weight:850;line-height:1.3;display:inline-flex;align-items:center;justify-content:center;gap:5px;text-align:center}.button.primary{color:white;background:var(--green);border-color:var(--green)}.button.primary:hover{background:var(--green-dark)}.button.secondary{background:#f5fbf9}.button.warning{color:#8d6b24;background:#fff7e5;border-color:#efdcaf}.button.small{padding:7px 11px;min-height:32px}.button.full{width:100%;margin-top:14px;min-height:45px}
.panel{padding:16px;background:#fff;border:1px solid var(--line);border-radius:15px;margin:14px 0;box-shadow:0 3px 10px #16343f06}.panel h2{font-size:16px;margin:0 0 12px}.panel .muted{margin-top:-5px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.text-button{background:transparent;border:0;color:var(--green);font-size:11px;font-weight:900}
.basket-item{padding:12px 0;border-top:1px solid #edf1f1;display:flex;align-items:center;justify-content:space-between;gap:12px}.basket-item b{font-size:12px}.basket-item small{display:block;font-size:10px;color:#8fa1a5;margin-top:3px}.qty{display:flex;align-items:center;gap:9px;border:1px solid #dce9e6;border-radius:10px;padding:3px}.qty button{width:26px;height:28px;border:0;border-radius:6px;background:#f3faf7;color:var(--green);font-weight:900;font-size:19px}.qty span{min-width:12px;text-align:center;font-size:12px;font-weight:900}
.map-caption{display:flex;flex-direction:column;gap:3px;margin:16px 0 8px}.map-caption b{font-size:12px}.map-caption span{font-size:10px;color:#8499a1}
.demo-map{display:block;position:relative;width:100%;height:195px;overflow:hidden;border:1px solid #bdd8ce;border-radius:13px;background:linear-gradient(30deg,#e8f2e9,#f0f4e8);cursor:crosshair;isolation:isolate}.demo-map:focus-visible{outline-offset:3px}
.map-road{position:absolute;display:block;height:15px;width:150%;background:#fff;border:2px solid #d4e2db;left:-22%;top:45%;transform:rotate(-23deg);z-index:1}.road-two{top:50%;transform:rotate(41deg)}.road-three{top:55%;height:12px;transform:rotate(-70deg)}
.map-green{position:absolute;border-radius:30%;background:#c4e0ca;display:block}.green-one{width:110px;height:100px;left:-17px;top:18px}.green-two{width:90px;height:70px;right:8px;bottom:12px}
.map-label{position:absolute;z-index:2;font-size:9px;font-weight:900;color:#78928c;letter-spacing:.8px}.label-west{top:18%;left:12%}.label-cbd{top:47%;left:64%}.label-south{bottom:15%;right:10%}.label-kili{bottom:27%;left:19%}
.branch-marker{position:absolute;z-index:4;color:var(--green);font-size:23px;line-height:1;text-shadow:0 1px 0 #fff,0 0 5px #fff;transform:translate(-50%,-50%);pointer-events:none}
.customer-marker{position:absolute;z-index:6;transform:translate(-50%,-90%);font-size:29px;pointer-events:none;filter:drop-shadow(0 2px 2px #29453b55)}
.map-watermark{position:absolute;bottom:5px;left:6px;z-index:5;font-size:8px;letter-spacing:.7px;font-weight:900;background:#ffffffe0;border-radius:5px;color:#769289;padding:4px}
.map-actions{display:flex;justify-content:flex-end;margin-top:9px}
.quote{margin:13px 0 0;border-radius:10px;background:#f2f7f7;border:1px solid #dbe8e8;padding:12px;font-size:11px;color:#567b83}.quote.valid{background:#ebf9f0;border-color:#c4e9d0;color:#236e52}.quote.invalid{background:#fff1e9;border-color:#eecaac;color:#976448}.quote b{display:block;margin-bottom:3px}.quote small{line-height:1.7;display:block;font-size:10px}
.cost-line{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;margin:11px 0;color:#66838b}.cost-line b{color:var(--ink);font-weight:800}.total-line{display:flex;justify-content:space-between;align-items:center;padding:15px 0 4px;border-top:1px solid #e4eded;font-size:13px}.total-line strong{font-size:19px;color:var(--green);letter-spacing:-.4px}.safety{font-size:10px;color:#9b7337;background:#fff8e7;border-radius:8px;padding:9px;margin-top:8px;line-height:1.65}
.empty{border:1px dashed #d2e4e1;background:white;border-radius:15px;padding:30px 18px;text-align:center;margin:15px 0}.empty span{font-size:30px;display:block}.empty b{display:block;font-size:15px;margin-top:8px}.empty p{color:var(--muted);font-size:11px;margin:7px 0 17px}
.order-card{background:white;border:1px solid var(--line);border-radius:15px;padding:15px;margin:13px 0}.order-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.order-top small{font-size:10px;color:#7f969e}.order-top h3{font-size:15px;margin-top:4px}.order-card>p{font-size:11px;color:#6a848c;margin-top:10px}.status{font-size:9px;padding:6px 8px;border-radius:25px;white-space:nowrap;font-weight:900;background:#fff2df;color:#966117}.status.status-delivered{background:#e0f6e8;color:#21734f}.status.status-out-for-delivery{background:#e0edf9;color:#3f6c98}.status.status-preparing{background:#fff3df;color:#946719}.status.status-received{background:#e4f5f4;color:#167b76}
.order-facts{margin:12px 0;padding:7px 11px;background:#f7faf9;border-radius:9px}.order-facts .cost-line{margin:7px 0}.timeline{display:flex;gap:4px;margin:14px 0 9px}.timeline span{height:5px;border-radius:4px;background:#e2e8e7;flex:1}.timeline span.done{background:var(--green)}.muted{color:#879aa1;font-size:10px;line-height:1.65}
.metrics{display:grid;grid-template-columns:1fr 1fr;gap:11px}.metrics>div{border:1px solid var(--line);border-radius:12px;background:#fff;padding:15px}.metrics span{display:block;font-size:10px;color:#7d969d}.metrics strong{display:block;font-size:23px;margin-top:5px}
.availability{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0;border-top:1px solid #eaf0ef}.availability b{display:block;font-size:12px}.availability small{display:block;color:#8da0a5;font-size:10px;margin-top:5px}.availability button{min-width:83px}
.flash,.success-banner{padding:11px 13px;border:1px solid #a9daca;border-radius:10px;background:#eafaf2;color:#277359;font-size:11px;line-height:1.6;margin-bottom:14px}
.side-note{width:180px;flex:none;display:flex;flex-direction:column;gap:10px}.side-note>b{font-size:12px}.side-note p{font-size:11px;color:#748b93}.side-note a{font-size:11px;font-weight:850;color:var(--green);text-decoration:none}.side-note .button{margin-top:8px;align-self:flex-start}
@media(max-width:1100px){.scene-info,.side-note{display:none}.scene{padding:12px}.device{height:min(900px,calc(100dvh - 24px))}}
@media(max-width:560px){body{background:var(--bg)}.scene{display:block;padding:0;min-height:100dvh;background:var(--bg)}.device{width:100%;height:100dvh;min-height:0;border:0;border-radius:0;box-shadow:none}.screen{padding:16px 14px 25px}.food-art{width:85px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}
.pizza-sizes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:9px;padding:3px;border:1px solid #e1ebe8;background:#f6faf8;border-radius:9px}
.pizza-sizes button{border:0;border-radius:6px;background:transparent;color:#68847f;padding:6px 2px;font-size:10px;font-weight:850;min-height:30px}
.pizza-sizes button.selected{color:#08765d;background:#fff;box-shadow:0 1px 4px #16372f22}
.flash-toast{position:fixed;z-index:100;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(420px,calc(100vw - 24px));padding:12px 14px;border-radius:11px;background:#113b43;color:#fff;box-shadow:0 10px 35px #0a283953;font-size:12px;line-height:1.55}
.flash-toast button{flex:none;border:0;background:transparent;color:inherit;font-weight:850;font-size:20px;min-width:28px;min-height:28px}
@media(max-width:560px){.flash-toast{bottom:86px}.food-art{width:79px}}
