
*{box-sizing:border-box}body{margin:0;background:#f3f6fb;color:#182c45;font:16px/1.5 system-ui,sans-serif}header{background:#10243a;color:#fff;padding:22px max(20px,calc((100vw - 1120px)/2))}.top{display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{font-weight:800;font-size:29px;letter-spacing:-1px;color:#fff;text-decoration:none}.brand span{display:block;font-size:10px;letter-spacing:2px;font-weight:500}nav{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}main{max-width:1160px;margin:auto;padding:24px 20px}.hero{background:#e5edf8;border-radius:22px;padding:30px;margin-bottom:20px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2px}h1{font-size:clamp(30px,5vw,46px);letter-spacing:-1px;line-height:1.1;margin:13px 0}h2{font-size:25px;margin:20px 0 12px}h3{font-size:19px;margin:8px 0}p{margin:8px 0}button,input,select{font:inherit;padding:11px 14px;border:1px solid #b8c6d8;border-radius:9px}button{background:#183e67;color:#fff;font-weight:650;cursor:pointer;min-height:44px}button:disabled{opacity:.5;cursor:wait}button.secondary{background:transparent;color:inherit}header button.secondary{border-color:#8da7c6}nav button.active{background:#ffb454;color:#10243a}input,select{width:100%;background:white;color:#182c45}label{display:grid;gap:5px;margin:12px 0;font-size:14px;font-weight:600}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:18px}.card,form.panel,.panel{background:white;border:1px solid #dce4ee;border-radius:16px;padding:20px;margin:12px 0}.card p{font-size:14px}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.price{font-size:23px;font-weight:800}.muted,small{color:#536781;font-size:13px}small{display:block}#account{font-size:13px}#alerts{border:1px solid #bccce0;border-radius:14px;padding:18px;background:white;margin:16px 0}#alerts.pending{border:2px solid #b45d0d;background:#fff5e8}.bell{display:inline-block;font-size:26px}#alerts.pending .bell{animation:shake 1s infinite}@keyframes shake{50%{transform:rotate(15deg)}}#status{padding:8px 0;color:#214f3b}#status.error{color:#a32924}.visual{height:235px;border-radius:12px;background:#edf1f7;display:grid;place-items:center;overflow:hidden;position:relative}.visual>img{width:100%;height:100%;object-fit:contain}.mannequin svg{height:220px}.mannequin img{position:absolute;top:57px;left:calc(50% - 57px);width:114px;height:155px;object-fit:contain}.mannequin[data-kind=camisa] img{height:90px}.empty{padding:32px;text-align:center;border:1px dashed #b2c2d8;border-radius:14px}.map{height:235px;width:100%;border:0;border-radius:10px;margin-top:10px}.pill{background:#e6edf8;border-radius:20px;font-size:12px;padding:5px 10px;display:inline-block}.auth-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:22px}#auth{margin-bottom:24px}footer{max-width:1120px;margin:40px auto;padding:20px;border-top:1px solid #dce4ee;font-size:13px;color:#536781}.image-preview{max-height:200px;max-width:100%;object-fit:contain}.shop-header{display:flex;justify-content:space-between;gap:10px;align-items:center}a{color:#164d85}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #bd842f;outline-offset:3px}#install{margin-top:12px}details{margin:12px 0}summary{cursor:pointer;font-weight:700}form{max-width:800px}#workspace .panel form{margin:0}
@media(max-width:640px){.auth-grid{grid-template-columns:1fr}.top{align-items:flex-start}header{padding:18px}.hero{padding:24px}.grid{grid-template-columns:1fr 1fr;gap:10px}.card{padding:12px}.visual{height:190px}.orders.grid{grid-template-columns:1fr}.actions button{width:100%}.brand{font-size:24px}#account{max-width:150px;text-align:right}}
@media(prefers-reduced-motion:reduce){.bell{animation:none!important}}

.delivery-card{border:1px solid #c5d4e7;padding:24px}
.delivery-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}
.order-reference{font-size:12px;color:#536781}
.delivery-earning{display:flex;align-items:center;justify-content:space-between;background:#fff1df;border:1px solid #f5cc98;border-radius:12px;padding:16px;margin-bottom:20px;gap:12px}
.delivery-earning strong{display:block;font-size:30px;color:#713b09;line-height:1.2;margin-top:5px}
.delivery-earning small{color:#713b09;font-size:11px;font-weight:800;letter-spacing:1px}
.delivery-earning>span{font-size:12px;color:#713b09}
.delivery-route{border:1px solid #dce4ee;border-radius:14px;overflow:hidden;background:#f8faff}
.route-stop{display:flex;gap:14px;padding:18px}
.route-stop+.route-stop{border-top:1px dashed #bdccde}
.stop-number{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;font-weight:800;background:#173d67;color:white}
.stop-number.destination{background:#b45d0d}
.route-stop small{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#536781}
.route-stop h3{margin:3px 0 5px;font-size:19px}
.route-stop p.address{font-size:16px;font-weight:600;margin:5px 0 9px}
.route-stop a{font-size:13px;text-underline-offset:3px}
.order-item{color:#536781;padding-top:8px}
.full-route{padding:8px 0}
.delivery-card .actions button[data-action=accept]{background:#a84e06;border-color:#a84e06;width:100%;font-size:17px}
#alerts.pending .bell{filter:none}
@media(max-width:640px){.delivery-card{padding:16px}.route-stop{padding:15px}.delivery-card-top{align-items:flex-start}.delivery-earning strong{font-size:27px}}

#alerts.pending{border-color:#11854e;background:#effbf3}
.bell{color:#11854e;vertical-align:middle}
.stop-heading{display:flex;align-items:center;gap:7px}
.location-bell{display:inline-flex;color:#087f42;animation:green-ring 1s ease-in-out infinite}
.location-bell svg{width:20px;height:20px}
.call-map{height:265px;max-width:100%;margin-top:16px;border-radius:12px;border:1px solid #c5d4e7;z-index:0}
.map-green-bell{display:grid;place-items:center;background:#0b854c;color:#fff;border:3px solid #fff;border-radius:50%;box-shadow:0 2px 8px #112b4355;animation:map-bell-pulse 1.1s ease-in-out infinite}
.gps-needed{background:#edf3fb;padding:12px;border-radius:10px;margin-top:12px}
@keyframes green-ring{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(10deg) scale(1.08)}}
@media(prefers-reduced-motion:reduce){.location-bell,.map-green-bell{animation:none}}

@keyframes map-bell-pulse{50%{box-shadow:0 0 0 9px #0b854c33}}

.invoice{background:#f6f9fd;border:1px solid #d5e0ef;border-radius:12px;padding:16px;margin:16px 0}
.invoice h3{font-size:17px;margin:0 0 12px}
.invoice>div{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;font-size:14px;padding:8px 0}
.invoice>div strong{white-space:nowrap}
.invoice-total{border-top:1px solid #c7d5e7;margin-top:8px;font-size:19px!important;font-weight:750}
.distance-note{font-size:12px!important;color:#536781}
.delivery-quote .invoice{padding:12px}
.delivery-quote .invoice>div{flex-wrap:wrap;gap:5px}
.delivery-quote .invoice-total{font-size:17px!important}

.card:has(.purchase-form){grid-column:1 / -1}
.purchase-form{max-width:680px;margin:20px auto 0}
.purchase-form .invoice>div{flex-wrap:nowrap}
@media(max-width:640px){.purchase-form .invoice>div{flex-wrap:wrap}.card:has(.purchase-form){padding:18px}}

.cart-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(310px,.85fr);gap:24px;align-items:start}
.cart-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.cart-title h2 span{font-size:14px;font-weight:500;color:#536781}
.cart-line{display:flex;gap:18px;align-items:flex-start;background:#fff;border:1px solid #dce4ee;border-radius:15px;padding:18px;margin-bottom:14px}
.cart-line>img{width:95px;height:125px;object-fit:contain;border-radius:10px;background:#edf1f7}
.cart-line-content{flex:1;min-width:0}.cart-line-content h3{font-size:18px}
.cart-line-total{display:grid;gap:18px;justify-items:end;white-space:nowrap}
.quantity-control{display:flex;gap:0;align-items:center;margin-top:12px}
.quantity-control button{min-width:38px;padding:5px 10px;border-radius:6px}
.quantity-label{margin:0;width:55px}.quantity-label input{padding:8px 0;text-align:center;border-radius:0;border-left:0;border-right:0}
.cart-summary{margin-top:0}.cart-summary form{margin-top:18px}.cart-summary form>button{width:100%;margin:7px 0}
.bill-line{display:flex;justify-content:space-between;gap:15px;margin:10px 0;font-size:14px}
.bill-line strong{white-space:nowrap}
.invoice-shop{border-bottom:1px solid #d6e0ee;padding-bottom:12px;margin-bottom:14px}.invoice-shop h4{margin:12px 0 7px}
.invoice.cart-invoice .invoice-total{font-size:21px!important;display:flex;flex-wrap:wrap}
.cart-empty>span{font-size:42px}.cart-empty{padding:55px 20px}.cart-empty button{margin-top:20px}
.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}
.error{color:#a32924}
@media(max-width:850px){.cart-layout{grid-template-columns:1fr}.cart-summary{width:100%;max-width:none}.cart-line>img{width:75px;height:100px}.cart-line{gap:12px;padding:14px}.cart-title{align-items:flex-start}.cart-title h2{margin-top:4px}}
@media(max-width:440px){.cart-line{flex-wrap:wrap}.cart-line-content{flex:1;min-width:160px}.cart-line-total{width:100%;display:flex;justify-content:space-between;align-items:center}.cart-title{flex-wrap:wrap}.cart-summary .invoice{padding:12px}}

.driver-console{background:#10243a;color:white;border-radius:18px;padding:24px;margin:12px 0 24px}
.driver-console small{color:#c6d5e8}.driver-console h2{margin:6px 0}.driver-console p{font-size:14px;color:#d5e1f1}
.driver-console-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.service-status{font-size:12px;font-weight:700;border-radius:20px;padding:7px 12px;background:#314961;white-space:nowrap}
.service-status.on{background:#c9f5dc;color:#125632}
.driver-stats{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:12px;margin:22px 0}
.driver-stats>div{border:1px solid #38516c;border-radius:12px;padding:14px}
.driver-stats strong{display:block;font-size:25px}.driver-stats span{display:block;font-size:12px;color:#c6d5e8}
.driver-console .actions button{background:#fff;color:#183e67;border-color:#fff}
.driver-console .driver-gps-status{margin-top:17px;font-size:13px}
.driver-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.driver-tabs button.active{background:#183e67;color:white}
.pickup-distance{background:#e8f5ed;border-radius:8px;padding:10px;color:#16643c;font-weight:650}
.delivery-next{width:100%;background:#fff4e7;border:1px solid #f1cf9f;border-radius:12px;padding:18px}
.delivery-next>small{font-size:10px;letter-spacing:1px;font-weight:750;color:#80440b}
.delivery-next>button{width:100%;margin-top:12px}
.delivery-code-form button{width:100%}.delivery-code-form input{font-size:24px;letter-spacing:7px;text-align:center}
.delivery-timeline{list-style:none;margin:20px 0;padding:0}
.delivery-timeline li{display:flex;gap:10px;align-items:center;padding:8px 0;color:#6a7c91;font-size:13px}
.delivery-timeline li.complete{color:#145c38}
.timeline-dot{height:23px;width:23px;flex:0 0 23px;display:grid;place-items:center;border:1px solid #c0cddd;border-radius:50%}
.complete .timeline-dot{background:#d9f4e4;border-color:#91cfaa}
.delivery-timeline time{margin-left:auto;font-size:12px}
.receipt-panel{background:#effaf4;border:1px solid #abd6ba;border-radius:12px;padding:18px;margin-top:18px}
.receipt-code{font-size:32px!important;font-weight:800;letter-spacing:7px;color:#165734;background:#fff;border:1px dashed #85b998;padding:12px;text-align:center;border-radius:10px}
.checkbox{display:flex;align-items:flex-start;gap:10px}.checkbox input{width:20px;margin-top:3px;flex:0 0 20px}
@media(max-width:640px){.driver-console{padding:18px}.driver-console-top{flex-direction:column;gap:10px}.driver-stats{grid-template-columns:1fr 1fr}.driver-stats>div:last-child{grid-column:1 / -1}.driver-tabs{gap:7px}.driver-tabs button{font-size:13px;padding:10px}.driver-console .actions button{width:100%}.receipt-code{font-size:29px!important;letter-spacing:5px}}

.connection{font-size:12px;margin:8px 0;color:#536781}.connection.online{color:#167144}.connection.warning{color:#844500;background:#fff0d8;padding:12px;border-radius:8px}

.role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}.role-grid button{padding:25px;text-align:left;background:#e9f3ee;color:#143e2a}.role-grid strong,.role-grid span{display:block}.role-grid strong{font-size:22px;margin-bottom:8px}.role-grid span{font-weight:400;line-height:1.5}.settlement{padding:16px;background:#f0f7f2;border:1px solid #b9d7c4;border-radius:12px;margin-top:16px}.settlement>strong{font-size:24px;color:#14643e}video{display:block;width:100%;max-height:320px;margin:12px 0;border-radius:10px;background:#10243a}.welcome{margin:24px 0}[hidden]{display:none!important}@media(max-width:640px){.role-grid{grid-template-columns:1fr}.role-grid button{padding:18px}.role-grid strong{font-size:19px}}
.cart-help{font-size:13px;line-height:1.6;color:#365b47;background:#eef5ef;padding:12px;border-radius:8px}#cart-status.error{font-size:13px;line-height:1.6;color:#902b20;background:#fff0ec;padding:12px;border-radius:8px}
.seller-request{margin-top:18px;padding:20px;background:#fff;border:2px solid #76b58c;border-radius:14px;color:#173d29;text-align:left}
.seller-request>small{font-weight:750;letter-spacing:.06em}.seller-request>h3{margin:10px 0 16px}
.seller-items{display:grid;gap:12px;margin:16px 0}.seller-item{display:flex;align-items:center;gap:18px;padding:12px;border:1px solid #d4e4da;border-radius:12px;background:#f6faf7}
.seller-item>img,.seller-image-missing{width:120px;height:150px;flex:0 0 120px;object-fit:contain;background:white;border-radius:8px}
.seller-image-missing{display:grid;place-items:center;color:#536781;font-size:13px;text-align:center}.seller-item h3{margin:0 0 8px}.seller-item p{margin:5px 0;font-size:14px}.seller-item>div{min-width:0;overflow-wrap:anywhere}
.seller-choice-help{font-size:14px;line-height:1.6}.seller-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%}.seller-choices button{white-space:normal;min-height:48px}.seller-choices button.secondary{color:#9b3327;border:1px solid #bc766c;background:#fff4f1}
@media(max-width:540px){.seller-request{padding:14px}.seller-item{gap:12px}.seller-item>img,.seller-image-missing{width:90px;height:120px;flex-basis:90px}.seller-choices{grid-template-columns:1fr}}

.admin-entry{display:inline-block;margin-top:14px;color:#fff;font-size:14px;text-underline-offset:4px}
