/* Mandadito: interfaz clara para uso diario. Naranja original, superficies claras.
   Radios: superficies 20px; controles 12px; avatares y filtros compactos 999px. */
:root{--brand:#c84708;--brand-hover:#ae3c05;--soft:#fff0e7;--ink:#252820;--muted:#65695f;--line:#e8ebe4;--bg:#f8f9f6;--surface:#fff;--green:#286445;--green-soft:#eaf4ec;--red:#b32624;--font:'DM Sans',sans-serif;--display:'Plus Jakarta Sans',sans-serif;--shadow:0 10px 35px rgba(44,53,31,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--bg);font:15px/1.5 var(--font);min-height:100dvh}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none}button:disabled{opacity:.45;cursor:not-allowed}button:not(:disabled):active{transform:scale(.98)}button,a{touch-action:manipulation}input,textarea{caret-color:var(--brand)}::selection{background:#ffddc6;color:#762805}:focus-visible{outline:3px solid var(--brand);outline-offset:4px}a{color:var(--brand);text-underline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--display);line-height:1.25;letter-spacing:-.035em}h1{font-size:30px;font-weight:800}h2{font-size:22px;font-weight:800}h3{font-size:16px;font-weight:700}small{font-size:12px}.muted{color:var(--muted)}.small{font-size:13px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.grow{flex:1;min-width:0}.stack{display:grid;gap:16px}.icon{width:21px;height:21px;flex-shrink:0;stroke-width:1.8}.hidden{display:none!important}.loading{padding:80px;text-align:center}.btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;background:var(--brand);color:#fff;padding:13px 20px;border-radius:12px;font-weight:700;white-space:nowrap;transition:background .15s}.btn:hover{background:var(--brand-hover)}.btn.secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn.secondary:hover{border-color:#bbbfb4;background:var(--bg)}.btn.green{background:var(--green)}.btn.danger{background:#fff0ef;color:var(--red)}.btn.sm{padding:9px 13px;font-size:13px}.btn.block{width:100%}.icon-btn{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:#fff}.icon-btn:hover{background:var(--soft);color:var(--brand)}.text-btn{color:var(--brand);font-weight:700;font-size:13px}.pill{padding:5px 10px;border-radius:999px;font-size:12px;font-weight:600;background:var(--green-soft);color:var(--green);white-space:nowrap}.pill.orange{background:var(--soft);color:var(--brand)}.pill.gray{background:#f0f1ee;color:var(--muted)}.pill.red{background:#fff0ef;color:var(--red)}
.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:#fff;border-right:1px solid var(--line);padding:28px 22px;z-index:20;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font:800 25px var(--display);letter-spacing:-1.2px}.brand img{width:39px;height:39px}.brand span{color:var(--brand)}.side-caption{font-size:12px;color:var(--muted);margin:8px 0 38px 49px}.side-nav{display:grid;gap:7px}.side-nav button{display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:12px;text-align:left;color:var(--muted);font-weight:500}.side-nav button.active{background:var(--soft);color:var(--brand);font-weight:700}.side-nav button:hover{background:var(--bg)}.side-nav button.active:hover{background:var(--soft)}.side-nav .count{margin-left:auto;font-size:11px;background:var(--brand);color:#fff;border-radius:6px;min-width:21px;text-align:center}.sidebar-bottom{margin-top:auto}.region{padding:18px 0;margin-top:35px;border-top:1px solid var(--line)}.region .icon{color:var(--brand)}.profile{display:flex;gap:10px;padding-top:18px;border-top:1px solid var(--line)}.avatar{width:39px;height:39px;border-radius:50%;background:#eff1e9;display:grid;place-items:center;font-size:13px;font-weight:700;flex-shrink:0}.profile b{font-size:13px}.profile small{display:block;color:var(--muted)}
.workspace{margin-left:226px}.topbar{display:flex;align-items:center;gap:24px;padding:19px 34px;background:#fff;border-bottom:1px solid var(--line);height:88px}.location{display:flex;gap:10px;align-items:center;text-align:left;min-width:190px}.location>.icon{color:var(--brand)}.location small{display:block;color:var(--muted);font-size:11px}.location b{font-size:13px}.location .chevron{width:14px}.search-box{display:flex;gap:10px;align-items:center;background:#f5f6f2;border:1px solid var(--line);border-radius:12px;max-width:560px;flex:1;padding:11px 14px;color:var(--muted)}.search-box input{border:0;outline:0;background:transparent;width:100%;font-size:13px}.search-box input::placeholder{color:var(--muted)}.search-box:focus-within{border-color:var(--brand)}.topbar .search-box .icon{width:18px}.top-actions{display:flex;align-items:center;gap:12px;margin-left:auto}.mobile-brand{display:none}.demo-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 34px;background:#fff6ed;border-bottom:1px solid #f3e3d5}.demo-note{display:flex;align-items:center;gap:8px;color:#905028;font-size:12px}.demo-note .icon{width:16px;height:16px}.roles{display:flex;gap:3px;padding:3px;background:#ffebdc;border-radius:10px}.roles button{padding:6px 12px;border-radius:7px;font-size:11px;font-weight:600;color:#824929}.roles button.active{background:#fff;color:var(--brand);box-shadow:0 2px 5px #8a420d12}.content{padding:30px 34px 48px;max-width:1600px;margin:auto}.page-heading{margin-bottom:24px}.page-heading p{margin-top:7px;color:var(--muted);font-size:14px}.hero{display:grid;grid-template-columns:1.1fr 1fr;border-radius:22px;overflow:hidden;background:#ffebdc;min-height:232px;margin:0 0 28px}.hero-copy{padding:28px 36px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.hero h2{font-size:clamp(27px,2.7vw,38px);font-weight:800;color:#76331a;line-height:1.15;max-width:400px;letter-spacing:-1.5px}.hero p{color:#7e4a30;font-size:13px;max-width:310px;margin:12px 0 19px}.hero .btn{font-size:12px;padding:11px 15px}.hero-photo{position:relative;min-height:232px;overflow:hidden}.hero-photo img{width:100%;height:100%;position:absolute;object-fit:cover;object-position:center 54%}.hero-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#ffebdc 0%,transparent 35%)}.categories{display:flex;gap:12px;margin-bottom:29px;overflow:auto;scrollbar-width:none;padding:4px 0}.category{padding:13px 20px;background:#fff;border:1px solid var(--line);border-radius:14px;display:flex;align-items:center;gap:11px;font-size:13px;font-weight:600;white-space:nowrap;transition:border-color .15s,background .15s}.category .icon{width:22px;height:22px}.category:hover{border-color:#d5a07c}.category.active{background:var(--soft);color:var(--brand);border-color:#efc0a1}.browse-layout{display:grid;grid-template-columns:minmax(0,1fr) 282px;gap:26px;align-items:start}.section-head{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:18px}.section-head h2{font-size:20px}.section-head p{font-size:12px;color:var(--muted);margin-top:5px}.sort{padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:12px;max-width:158px}.business-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.business-card{border:1px solid var(--line);border-radius:17px;overflow:hidden;background:#fff;position:relative;transition:box-shadow .18s,transform .18s}.business-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}.business-link{padding:0;display:block;width:100%;text-align:left}.business-photo{height:151px;overflow:hidden;background:#f0eee9}.business-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}.business-card:hover .business-photo img{transform:scale(1.04)}.favorite{position:absolute;top:12px;right:12px;width:32px;height:32px;background:#fff;border-radius:50%;display:grid;place-items:center;box-shadow:0 2px 8px #00000012}.favorite .icon{width:17px;height:17px}.favorite.on{color:var(--brand)}.favorite.on .icon{fill:var(--soft)}.business-body{padding:16px}.business-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.business-title h3{font-size:14px;letter-spacing:-.025em}.rating{font-size:12px;font-weight:600;white-space:nowrap;display:flex;align-items:center;gap:4px}.rating .icon{width:12px;height:12px;fill:#cd9600;color:#cd9600;stroke-width:0}.business-category{font-size:11px;color:var(--muted);margin:5px 0 12px}.business-meta{display:flex;align-items:center;gap:13px;font-size:11px;border-top:1px solid #f0f1ec;padding-top:11px;color:var(--muted)}.business-meta span{display:flex;align-items:center;gap:5px}.business-meta .icon{width:14px;height:14px}.business-meta .fee{color:var(--green)}.closed-label{font-size:11px;color:var(--red)}.cart-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;position:sticky;top:20px}.cart-title{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding-bottom:18px}.cart-title .icon{color:var(--brand)}.cart-title h2{font-size:17px}.cart-empty{text-align:center;padding:28px 8px 26px}.cart-illustration{width:69px;height:69px;display:grid;place-items:center;background:var(--bg);border-radius:50%;margin:0 auto 16px;color:#959c8b}.cart-illustration .icon{width:31px;height:31px}.cart-empty h3{font-size:14px;margin-bottom:7px}.cart-empty p{font-size:12px;color:var(--muted)}.delivery-note{display:flex;align-items:flex-start;gap:10px;font-size:11px;color:var(--muted);padding-top:16px;border-top:1px solid var(--line)}.delivery-note .icon{width:17px;height:17px;color:var(--green)}.cart-biz{font-weight:600;font-size:12px;margin-top:15px}.cart-line{display:flex;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid var(--line)}.cart-line h3{font-size:12px;letter-spacing:0}.cart-line p{font-size:12px;color:var(--muted);margin:4px 0 8px}.stepper{display:inline-flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:8px}.stepper button{width:27px;height:26px;display:grid;place-items:center}.stepper .icon{width:12px;height:12px}.stepper span{min-width:13px;text-align:center;font-size:12px;font-weight:700}.amount{font-variant-numeric:tabular-nums;white-space:nowrap}.totals{margin:18px 0}.totals div{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);padding:4px 0}.totals .total{font-size:16px;color:var(--ink);font-weight:700;border-top:1px dashed var(--line);padding-top:13px;margin-top:8px}.cart-panel .btn{font-size:12px}.mobile-cart{display:none}.empty{padding:50px 24px;text-align:center;border:1px dashed #dce0d4;border-radius:18px;background:#fff}.empty>.icon{width:38px;height:38px;color:#8b9481;margin-bottom:14px}.empty p{margin:10px auto 20px;color:var(--muted);max-width:340px;font-size:13px}.photo-disclaimer{margin-top:18px;color:var(--muted);font-size:11px}
.overlay{position:fixed;inset:0;z-index:100;background:rgba(24,30,18,.42);display:flex;justify-content:center;align-items:center;padding:20px}.dialog{width:min(700px,100%);max-height:90dvh;overflow:auto;background:#fff;border-radius:22px;box-shadow:0 30px 70px #1b2d1530;animation:dialog-in .22s ease-out}.dialog-head{position:sticky;top:0;z-index:3;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid var(--line);gap:12px}.dialog-head h2{font-size:19px}.dialog-body{padding:24px}.menu-hero{height:180px;position:relative;overflow:hidden}.menu-hero img{height:100%;width:100%;object-fit:cover}.menu-description{color:var(--muted);font-size:13px;margin-top:8px}.menu-meta{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 22px}.menu-meta span{font-size:12px;background:var(--bg);border-radius:8px;padding:7px 10px}.product{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}.product:last-child{border:0}.product h3{font-size:14px;letter-spacing:-.02em}.product p{font-size:12px;color:var(--muted);margin:6px 0 8px}.product strong{font-size:13px}.product .add{background:var(--soft);color:var(--brand);border-radius:12px;width:39px;height:39px;display:grid;place-items:center}.product .add:hover{background:#ffdfc8}.dialog-footer{position:sticky;bottom:0;background:#fff;padding:16px 24px;border-top:1px solid var(--line)}.field{display:grid;gap:7px}.field label{font-size:13px;font-weight:700}.input{width:100%;padding:12px 14px;border:1px solid #dce1d5;border-radius:11px;background:#fff;outline:0}.input:focus{border-color:var(--brand);box-shadow:0 0 0 3px #c8470812}.input::placeholder{color:var(--muted)}textarea.input{resize:vertical;min-height:85px}.field small{color:var(--muted)}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-error{font-size:13px;color:var(--red);border-radius:10px;background:#fff0ef;padding:10px 12px}.payment-choice{background:var(--green-soft);border:1px solid #d1e5d6;border-radius:12px;padding:14px;display:flex;align-items:center;gap:13px;color:var(--green)}.payment-choice .icon{width:25px;height:25px}.payment-choice b{display:block;font-size:13px}.payment-choice small{font-size:11px}.checkout-summary{background:var(--bg);border-radius:14px;padding:18px}.checkout-summary h3{font-size:14px;margin-bottom:12px}.checkout-summary .totals{margin-bottom:0}.modal-help{font-size:12px;color:var(--muted);line-height:1.7}.info-box{padding:16px;background:var(--soft);border-radius:14px;color:#8d431e;font-size:13px}.info-box .icon{width:18px;height:18px}.loading-action{opacity:.65}.modal-help p+p{margin-top:12px}
.order-list{display:grid;gap:16px}.order-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:21px 24px}.order-card-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.order-id{font-size:11px;color:var(--muted);margin-bottom:7px}.order-card h3{font-size:16px}.order-details{display:flex;flex-wrap:wrap;gap:18px;color:var(--muted);font-size:12px;margin-top:12px}.order-details span{display:flex;gap:6px;align-items:center}.order-details .icon{width:15px;height:15px}.order-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:17px;padding-top:17px;border-top:1px solid var(--line)}.order-actions .total{margin-right:auto;font-weight:700}.tracking-heading{text-align:center;padding:8px 0 21px}.tracking-heading .icon{width:38px;height:38px;color:var(--brand);margin-bottom:10px}.tracking-heading h2{font-size:24px}.tracking-heading p{color:var(--muted);font-size:12px;margin-top:8px}.tracker{display:grid;grid-template-columns:repeat(6,1fr);margin:18px 0 26px}.track-step{position:relative;text-align:center;font-size:10px;color:var(--muted)}.track-step::before{content:'';position:absolute;height:2px;background:var(--line);top:15px;left:0;right:0}.track-step:first-child::before{left:50%}.track-step:last-child::before{right:50%}.track-circle{position:relative;z-index:1;width:31px;height:31px;border:2px solid var(--line);background:#fff;border-radius:50%;display:grid;place-items:center;margin:0 auto 10px}.track-circle .icon{width:13px;height:13px}.track-step.done::before{background:var(--brand)}.track-step.done .track-circle{background:var(--brand);color:#fff;border-color:var(--brand)}.route-schematic{border:1px solid var(--line);border-radius:16px;background:#f5f7f0;overflow:hidden}.route-schematic svg{display:block;width:100%;height:165px}.route-caption{padding:8px 12px;font-size:10px;color:var(--muted);border-top:1px solid var(--line);background:#fff}.driver-box{display:flex;align-items:center;gap:12px;background:var(--bg);border-radius:14px;padding:17px;margin:18px 0}.driver-box .avatar{background:#dcebdc;color:var(--green)}.driver-box h3{font-size:13px;letter-spacing:0}.driver-box p{font-size:11px;color:var(--muted);margin-top:4px}.simulation-controls{border:1px solid #efd6c3;border-radius:14px;padding:16px;background:#fff9f4}.simulation-controls p{font-size:12px;color:#905028;margin-bottom:12px}.simulation-controls .row{flex-wrap:wrap}.order-summary-rows{display:grid;gap:6px;margin-top:15px;font-size:12px;color:var(--muted)}.order-summary-rows>div{display:flex;justify-content:space-between;gap:10px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);background:#fff;border-radius:17px;overflow:hidden;margin:24px 0}.stat{padding:23px;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat small{display:block;color:var(--muted);font-size:12px}.stat b{display:block;font:700 26px var(--display);margin-top:9px;letter-spacing:-.04em}.operation-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.operation-heading p{color:var(--muted);font-size:13px;margin-top:8px}.operation-heading .row{flex-wrap:wrap}.dashboard-sub{display:flex;justify-content:space-between;align-items:center;margin:26px 0 16px}.filters{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.filter{padding:8px 14px;border:1px solid var(--line);background:#fff;border-radius:999px;color:var(--muted);font-size:12px}.filter.active{background:var(--ink);color:#fff;border-color:var(--ink)}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:17px}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{color:var(--muted);font-size:11px;font-weight:500;background:var(--bg)}td,th{padding:16px 19px;border-bottom:1px solid var(--line);white-space:nowrap}tr:last-child td{border:0}.stock-row{display:flex;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid var(--line)}.stock-row:last-child{border:0}.toggle{display:flex;align-items:center;gap:8px;color:var(--green);font-size:12px}.toggle[aria-pressed=false]{color:var(--muted)}.toggle .icon{width:30px;height:30px}.account-panel{max-width:650px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px}.account-panel .profile{border:0;padding:0;margin-bottom:25px}.account-panel .avatar{width:60px;height:60px;font-size:19px}.account-panel h3{font-size:18px}.account-row{padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.account-row:last-child{border:0}.account-row small{display:block;color:var(--muted);margin-bottom:4px}.scenario{display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--soft);border:1px solid #f2d9c7;border-radius:14px;padding:18px;margin-bottom:22px}.scenario p{font-size:12px;color:#8b4b28;margin-top:5px}.scenario h3{font-size:14px}.bottom-nav{display:none}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);z-index:200;background:#2d3526;color:#fff;border-radius:12px;padding:13px 20px;font-size:13px;box-shadow:var(--shadow);opacity:0;pointer-events:none;max-width:calc(100% - 32px);transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:var(--red)}
@keyframes dialog-in{from{opacity:.6;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(min-width:1600px){.business-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-photo{max-height:254px}.hero{min-height:254px}}
@media(max-width:1200px){.sidebar{width:200px;padding:24px 16px}.workspace{margin-left:200px}.brand{font-size:23px}.content{padding:25px}.topbar{padding:19px 25px;gap:16px}.demo-strip{padding:10px 25px}.browse-layout{gap:20px;grid-template-columns:minmax(0,1fr) 253px}.business-body{padding:13px}.business-title{align-items:flex-start}.business-title h3{font-size:13px}.business-meta{gap:7px}.business-meta span{font-size:10px}.business-photo{height:135px}.hero-copy{padding:26px}.category{padding:12px 16px}.cart-panel{padding:18px}.stat{padding:19px}}
@media(max-width:1000px){.sidebar{width:175px;padding:22px 12px}.brand{font-size:20px}.brand img{width:34px;height:34px}.workspace{margin-left:175px}.side-nav button{padding:12px 10px;font-size:13px}.side-caption{margin-left:0}.browse-layout{grid-template-columns:minmax(0,1fr)}.cart-panel{position:static}.cart-panel.empty-panel{display:none}.cart-panel:not(.empty-panel){margin-top:5px}.cart-panel:not(.empty-panel) .cart-lines{display:grid;grid-template-columns:1fr 1fr;gap:15px}.cart-panel:not(.empty-panel) .totals{max-width:320px;margin-left:auto}.cart-panel:not(.empty-panel) .checkout-btn{max-width:320px;margin-left:auto;display:flex}.hero h2{font-size:30px}.hero p{font-size:12px}.demo-strip{flex-wrap:wrap}.demo-note{font-size:11px}.topbar .location{min-width:165px}.topbar .top-actions .help-label{display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:760px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:auto;min-height:75px;padding:16px 18px;flex-wrap:wrap;gap:12px}.mobile-brand{display:flex}.mobile-brand .brand{font-size:19px}.mobile-brand .brand img{width:30px;height:30px}.topbar>.location{margin-left:auto;min-width:0}.topbar .location small{font-size:10px}.topbar .location b{font-size:11px}.topbar .location>.icon{width:18px}.topbar .top-actions{display:none}.search-box{flex-basis:100%;max-width:none;order:3;padding:11px 12px}.demo-strip{padding:9px 18px;gap:8px}.demo-note{font-size:10px}.roles{width:100%;justify-content:space-between}.roles button{flex:1;padding:7px 6px;font-size:11px}.content{padding:23px 18px 150px}.page-heading{margin-bottom:20px}.page-heading h1{font-size:25px}.page-heading p{font-size:12px}.hero{grid-template-columns:1.15fr 1fr;min-height:195px;margin-bottom:22px;border-radius:17px}.hero-copy{padding:22px 19px}.hero h2{font-size:25px;letter-spacing:-1px}.hero p{font-size:11px;margin:10px 0 14px}.hero .btn{font-size:10px;padding:9px 11px}.hero .btn .icon{width:14px}.hero-photo{min-height:195px}.hero-photo::after{background:linear-gradient(90deg,#ffebdc,transparent 45%)}.categories{gap:9px;margin-bottom:22px}.category{padding:11px 13px;font-size:11px;gap:8px;border-radius:11px}.category .icon{width:19px;height:19px}.section-head h2{font-size:18px}.section-head p{font-size:11px}.sort{max-width:120px;font-size:10px;padding:8px}.business-grid{gap:14px}.business-photo{height:135px}.business-body{padding:13px}.business-title{gap:6px}.business-title h3{font-size:13px}.rating{font-size:10px}.business-category{font-size:10px}.business-meta{flex-wrap:wrap;gap:5px 10px}.business-meta span{font-size:10px}.favorite{width:29px;height:29px;top:10px;right:10px}.cart-panel{display:none}.photo-disclaimer{font-size:10px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);z-index:30;justify-content:space-around;padding:9px 10px calc(9px + env(safe-area-inset-bottom))}.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px;color:var(--muted);min-width:65px}.bottom-nav button.active{color:var(--brand);font-weight:700}.bottom-nav .icon{width:21px;height:21px}.mobile-cart{display:flex;align-items:center;justify-content:space-between;gap:12px;position:fixed;left:18px;right:18px;bottom:calc(80px + env(safe-area-inset-bottom));z-index:35;background:var(--brand);color:#fff;padding:13px 17px;border-radius:12px;font-size:13px;font-weight:700;box-shadow:0 8px 20px #c8470825}.overlay{padding:0;align-items:flex-end}.dialog{width:100%;max-height:94dvh;border-radius:22px 22px 0 0;padding-bottom:env(safe-area-inset-bottom)}.dialog-head{padding:17px 20px}.dialog-head h2{font-size:17px}.dialog-body{padding:20px}.menu-hero{height:155px}.dialog-footer{padding:15px 20px}.field-row{grid-template-columns:1fr}.tracker{margin-top:10px}.track-step{font-size:9px}.order-card{padding:18px}.order-card-top{flex-wrap:wrap}.order-card h3{font-size:14px}.operation-heading h1{font-size:25px}.operation-heading p{font-size:12px}.scenario{align-items:flex-start;flex-direction:column;padding:16px}.scenario .btn{font-size:12px}.stats{margin:20px 0}.stat b{font-size:23px}.stat small{font-size:11px}.dashboard-sub h2{font-size:18px}.account-panel{padding:22px}.simulation-controls .btn{font-size:11px}.order-actions .total{width:100%;margin-bottom:6px}.order-actions .btn{font-size:11px}.route-schematic svg{height:145px}#toast{bottom:calc(150px + env(safe-area-inset-bottom));font-size:12px}.profile small{font-size:11px}}
@media(max-width:380px){.hero h2{font-size:22px}.hero-copy{padding:20px 15px}.business-grid{grid-template-columns:1fr}.business-photo{height:170px}.hero-photo{min-height:210px}.mobile-brand .brand{font-size:17px}.topbar .location b{max-width:120px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stats{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.business-card:hover{transform:none}}

/* ───────── Mandadito v2: añadidos para la versión conectada al servidor ───────── */
.auth{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr;background:var(--bg)}
.auth-art{position:relative;overflow:hidden;background:#ffebdc;display:flex;flex-direction:column;justify-content:space-between;padding:44px}
.auth-art img.photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.92}
.auth-art::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#ffebdcf2 0%,#ffebdcd9 38%,#ffebdc00 75%)}
.auth-art>*{position:relative;z-index:1}
.auth-art h1{font-size:clamp(30px,3.4vw,46px);color:#76331a;max-width:13ch;line-height:1.08;letter-spacing:-1.8px}
.auth-art p{color:#7e4a30;max-width:36ch;margin-top:14px}
.auth-form{display:flex;align-items:center;justify-content:center;padding:40px 24px}
.auth-box{width:100%;max-width:420px}
.auth-box h2{font-size:26px}
.tabs{display:flex;background:#f0f1ec;padding:4px;border-radius:12px;margin:20px 0}
.tabs button{flex:1;padding:10px;border-radius:9px;font-weight:600;color:var(--muted);font-size:14px}
.tabs button.active{background:#fff;color:var(--ink);box-shadow:0 2px 6px #2c351f14}
.demo-accounts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.demo-accounts .btn{font-size:12px}
.map{height:260px;border-radius:16px;overflow:hidden;border:1px solid var(--line);background:#eef0ea;z-index:0}
.map.tall{height:330px}
.map-fallback{height:100%;display:grid;place-items:center;text-align:center;padding:20px;color:var(--muted);font-size:13px}
.leaflet-div-icon{background:transparent;border:0}
.pin{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#fff;border:3px solid #fff;box-shadow:0 4px 12px #0003}
.pin svg{width:17px;height:17px}
.pin.home{background:var(--brand)}.pin.biz{background:#fff;color:var(--brand);border-color:var(--brand)}.pin.driver{background:var(--green)}
.load-more{display:flex;justify-content:center;margin:22px 0 4px}
.skeleton{background:linear-gradient(90deg,#eef0ea 25%,#f6f7f3 50%,#eef0ea 75%);background-size:200% 100%;animation:shimmer 1.2s infinite;border-radius:17px;min-height:250px}
@keyframes shimmer{to{background-position:-200% 0}}
.net-banner{position:fixed;top:0;left:0;right:0;z-index:300;background:#2d3526;color:#fff;text-align:center;font-size:13px;padding:8px}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}
.kpi{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}
.kpi small{color:var(--muted);font-size:12px;display:block}
.kpi b{display:block;font:700 25px var(--display);letter-spacing:-.04em;margin-top:8px}
.delta{font-size:11px;font-weight:700;margin-top:6px;display:inline-flex;gap:4px;align-items:center}
.delta.up{color:var(--green)}.delta.down{color:var(--red)}.delta.flat{color:var(--muted)}
.chart-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:16px}
.panel{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px;min-width:0}
.panel h3{font-size:15px}.panel .sub{font-size:12px;color:var(--muted);margin-top:4px}
.bars{display:flex;align-items:flex-end;gap:3px;height:170px;margin-top:18px;border-bottom:1px solid var(--line);position:relative}
.bar{flex:1;min-width:3px;background:var(--brand);border-radius:4px 4px 0 0;position:relative;transition:opacity .15s}
.bar.zero{background:transparent}
.bars:hover .bar{opacity:.55}.bars .bar:hover{opacity:1}
.bar[data-tip]:hover::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:#2d3526;color:#fff;font-size:11px;padding:6px 9px;border-radius:8px;white-space:nowrap;z-index:5;pointer-events:none}
.bar-axis{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:6px}
.hbar{display:grid;grid-template-columns:150px 1fr 60px;gap:10px;align-items:center;font-size:12px;margin:9px 0}
.hbar .track{height:10px;background:#f0f1ec;border-radius:6px;overflow:hidden}
.hbar .fill{height:100%;background:var(--brand);border-radius:6px}
.hbar b{text-align:right;font-variant-numeric:tabular-nums}
.range{display:flex;gap:4px;background:#f0f1ec;border-radius:10px;padding:3px}
.range button{padding:7px 12px;border-radius:8px;font-size:12px;font-weight:600;color:var(--muted)}
.range button.active{background:#fff;color:var(--ink);box-shadow:0 2px 5px #2c351f14}
.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0}
.toolbar .input{max-width:280px;padding:9px 12px;font-size:13px}
.timeline{list-style:none;padding:0;margin:14px 0 0;font-size:12px;color:var(--muted)}
.timeline li{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px dashed var(--line)}
.stars{display:flex;gap:6px}
.stars button{color:#d5d8cf}.stars button.on{color:#cd9600}
.stars .icon{width:30px;height:30px}
.stars button.on .icon{fill:#cd9600}
.err-row td{white-space:normal;max-width:420px;font-size:12px}
.err-row code{font-size:11px;color:var(--muted);display:block;max-height:60px;overflow:hidden}
.install-card{display:flex;gap:14px;align-items:center;background:var(--green-soft);border-radius:14px;padding:16px;margin-top:18px}
.install-card .icon{color:var(--green);width:26px;height:26px}
.hidden-sm{display:inline}
@media(max-width:1000px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-grid{grid-template-columns:1fr}}
@media(max-width:760px){.auth{grid-template-columns:1fr}.auth-art{min-height:230px;padding:26px 22px}.auth-art h1{font-size:30px}.auth-art img.photo{opacity:.7}
.map{height:210px}.hbar{grid-template-columns:100px 1fr 46px}.kpi b{font-size:21px}.hidden-sm{display:none}.toolbar .input{max-width:none;flex:1}}
.totals .discount{color:var(--green);font-weight:600}
.popular-row{display:flex;gap:12px;overflow-x:auto;padding:2px 0 14px;margin-bottom:14px;scrollbar-width:thin;scroll-snap-type:x mandatory}
.popular-card{flex:0 0 220px;scroll-snap-align:start;display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;text-align:left}
.popular-card:hover{border-color:#d5a07c}
.popular-card img{width:58px;height:58px;border-radius:10px;object-fit:cover;flex-shrink:0}
.popular-card b{display:block;font-size:13px;line-height:1.3}
.popular-card small{display:flex;align-items:center;gap:4px;color:var(--muted);margin-top:4px}
.popular-card small .icon{width:12px;height:12px;fill:#cd9600;color:#cd9600;stroke-width:0}
.hero .pill .icon{width:14px;height:14px;vertical-align:-2px}
