@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/inter-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/inter-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--blue:#2f5eea;--dark:#3d3d3d;--muted:#909090;--line:#e3e3e3;--green:#19c993;--red:#ff625f;--bg:#f7f7f8}*{box-sizing:border-box}html,body{overflow-x:hidden}body{margin:0;font-family:Inter,Arial,sans-serif;background:#243fc7;color:#202020;font-size:14px}img{max-width:100%}.shell{margin:16px;border-radius:7px;overflow:hidden;background:var(--bg);min-height:calc(100vh - 32px);box-shadow:0 0 0 1px rgba(0,0,0,.08)}.topbar{position:relative;height:80px;background:#3d3d3d;color:#fff;display:flex;align-items:center;padding:0 28px;gap:22px}.topbar .back{font-size:36px;font-weight:300;opacity:.9}.topbar h1{font-size:22px;margin:0;flex-shrink:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-title{display:flex;flex-direction:column;justify-content:center;gap:2px;flex-shrink:1;min-width:0}.topbar-tenant{font-size:10.5px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#c9d3dd;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar .date{font-size:12px;color:#ddd;margin-left:10px;white-space:nowrap}.nav-wrap{display:flex;align-items:center;gap:6px;margin-left:auto}.nav-wrap .nav-logout button{border:0;background:none;color:#eee;padding:12px 8px;border-radius:8px;white-space:nowrap;cursor:pointer;font:inherit;font-size:14px}.nav-wrap .nav-logout button:hover{background:#505050}.nav{display:flex;gap:8px}.nav a{color:#eee;text-decoration:none;padding:12px 15px;border-radius:8px;white-space:nowrap}.nav a.active,.nav a:hover{background:#505050}.btn{border:0;border-radius:9px;padding:13px 22px;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:8px}.btn-blue{background:#2f80ed;color:#fff}.btn-green{background:#13ce91;color:white}.btn-red{background:#ff625f;color:white}.content{padding:18px}.panel{background:white;border-radius:8px;border:1px solid #ddd;overflow-x:auto}.toolbar{display:flex;align-items:center;gap:14px;padding:18px 24px;border-bottom:1px solid #eee}.search{height:46px;border:1px solid #ddd;border-radius:25px;padding:0 20px;flex:1;font-size:14px}.toggle{background:#f0f0f0;border-radius:26px;padding:8px 15px;color:#666;border:0}.table{width:100%;border-collapse:collapse}.table th{text-align:left;color:#999;font-weight:500;padding:17px 22px}.table td{padding:16px 22px;border-top:1px solid #f2f2f2}.brandmark{width:44px;height:32px;border:2px solid #aaa;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:#666;margin-right:12px}.vehicle-name{display:flex;align-items:center;font-weight:600}.muted{color:#999}.pill{background:#e8f1ff;color:#2f80ed;border-radius:8px;padding:8px 16px;display:inline-block}.order-grid{display:grid;grid-template-columns:57% 43%;min-height:735px}.order-left{padding:26px 30px;background:#fff}.order-right{padding:0 30px 30px;background:#f8f8f8;border-left:1px solid #e6e6e6}.customer{font-size:18px;font-weight:700;margin-bottom:26px}.type-row{display:flex;gap:20px;color:#777;margin-bottom:12px}.request{width:100%;padding:16px;border:1px solid #ddd;border-radius:5px;font-size:15px}.section-title{font-size:12px;color:#888;text-transform:uppercase;letter-spacing:.02em;margin:25px 0 10px}.items{border:1px solid #ddd;border-radius:4px;overflow:hidden}.item{display:grid;grid-template-columns:1fr 55px 95px 95px 110px;gap:8px;padding:17px 15px;align-items:center}.item+.item{border-top:1px solid #eee}.totals{margin-top:80px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.totalbox label{display:block;color:#888;font-size:12px;margin-bottom:7px}.totalbox strong{display:block;background:#eee;border-radius:24px;padding:13px 18px;font-size:16px}.totalbox:last-child strong{background:#e3edff;color:#2f80ed}.vehicle-card{margin-top:20px;background:white;border:1px solid #ddd;border-radius:8px;padding:18px}.vehicle-card .row{display:flex;justify-content:space-between;align-items:center}.tabs{display:flex;gap:24px;border-bottom:1px solid #ddd;margin:0 -30px;padding:0 30px}.tabs a{padding:18px 3px;color:#777;text-decoration:none}.tabs a.active{color:#222;border-bottom:2px solid #2f80ed}.fuel{margin-top:20px}.fuelbar{height:25px;border:1px solid #ddd;display:flex;width:245px;margin-top:7px}.fuelbar span{flex:1;border-right:1px solid #ddd}.fuelbar span.on{background:#16c98e}.inspect{display:flex;gap:6px;margin:14px 0}.inspect .btn{flex:1;justify-content:center;background:#888}.info-box{border:1px solid #ddd;background:white;padding:12px;border-radius:4px}.checks{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.checks label{font-size:14px}.pos-shell{display:grid;grid-template-columns:2fr 1fr;background:#fff;height:calc(100vh - 112px)}.pos-main{padding:30px;overflow-y:auto}.pos-side{border-left:1px solid #ddd;padding:24px 0;background:#fafafa;display:flex;flex-direction:column;overflow:hidden}.cart-list{flex:1;overflow-y:auto;padding:0 24px}.pos-search{height:62px;border:1px solid #ddd;border-radius:35px;padding:0 28px;font-size:16px;width:100%;margin-bottom:28px}.product-grid{display:grid;grid-template-columns:repeat(var(--pos-cols,4),1fr);gap:5px}.product{border:1px solid #ddd;background:#fff;min-height:150px;padding:10px;cursor:pointer;position:relative}.product:hover{box-shadow:0 3px 10px #ddd}.product .badge{position:absolute;right:4px;top:4px;background:#52c9a2;color:white;border-radius:16px;padding:7px 10px;font-weight:600}.product-art{height:90px;display:flex;align-items:center;justify-content:center;font-size:34px}.product-name{font-size:13px;font-weight:600}.price{color:#2f80ed;font-weight:700;margin-top:7px}.cart-item{display:grid;grid-template-columns:34px 1fr 50px 70px 30px;gap:8px;padding:10px 0;border-bottom:1px solid #eee;align-items:center}.cart-head{grid-template-columns:1fr 50px 70px 30px}.cart-thumb{width:34px;height:34px;border-radius:7px;object-fit:cover;background:#f2f4f8;font-size:16px;display:flex;align-items:center;justify-content:center}.qty{color:#222;text-align:right}.cart-price{text-align:right}.remove{color:#ff625f;font-weight:800;font-size:20px;background:none;border:0;cursor:pointer;line-height:1;padding:4px 6px;border-radius:50%;transition:transform .12s ease,background-color .12s ease,color .12s ease;display:inline-flex;align-items:center;justify-content:center}.remove:hover{transform:scale(1.45);background:#ff625f;color:#fff}.remove:active{transform:scale(1.05)}.cart-total{margin:0;padding:20px 24px 6px;background:#fafafa;border-top:1px solid #ddd;box-shadow:0 -8px 14px -10px rgba(0,0,0,.25)}.cart-total .line{display:flex;justify-content:space-between;margin:14px 0}.cart-total .grand{font-size:22px;font-weight:700}.pay{width:100%;justify-content:center;font-size:18px;padding:18px;margin-top:16px}.client-chip{border:1px dashed #2f80ed;background:#e8f1ff;color:#2f80ed;border-radius:8px;padding:7px 10px;font-weight:600;font-size:12px;cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.pay-row{display:grid;grid-template-columns:auto 1fr;gap:10px;margin-top:14px}.pay-row .pay{margin-top:0}.modal{position:fixed;inset:0;background:rgba(20,20,20,.45);z-index:60;display:flex;align-items:center;justify-content:center;padding:20px}.modal[hidden]{display:none}.modal-card{background:#fff;border-radius:12px;width:100%;max-width:520px;max-height:86vh;overflow:auto;padding:22px}.modal-head{display:flex;justify-content:space-between;align-items:center;font-size:16px;font-weight:700;margin-bottom:12px}.modal-x{border:0;background:none;font-size:24px;color:#666;cursor:pointer;line-height:1}.cliente-results{margin-top:12px}.cliente-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:11px 13px;border:1px solid #eee;border-radius:9px;margin-bottom:8px}.cliente-row strong{display:block;font-size:14px}.modal-sep{text-align:center;color:#999;margin:18px 0 12px;font-size:12px}.modal-card .field{margin-bottom:12px}.modal-card .field span{display:block;font-size:12px;color:#777;margin-bottom:6px;font-weight:600}.modal-card .field input{width:100%;height:44px;border:1px solid #ddd;border-radius:9px;padding:0 12px;font-size:14px;font-family:inherit;background:#fff}.to-top{position:fixed;left:30px;bottom:30px;z-index:40;width:46px;height:46px;border:0;border-radius:50%;background:#2f80ed;color:#fff;font-size:20px;cursor:pointer;box-shadow:0 6px 18px rgba(31,75,160,.35)}.product:active{transform:scale(.985);transition:transform .08s}.pop{animation:pop .35s ease}.cart-empty{min-height:60px}@keyframes pop{0%{background:#ffe9a8;transform:scale(.97)}100%{background:transparent;transform:scale(1)}}
#fotoZoom{position:fixed;z-index:90;pointer-events:none;visibility:hidden;opacity:0;transform:scale(.92);transform-origin:6px 6px;background:#fff;border:1px solid rgba(34,88,136,.16);border-radius:14px;padding:6px;box-shadow:0 22px 46px rgba(15,23,36,.38),0 6px 16px rgba(15,23,36,.14);transition:opacity .16s ease,transform .16s ease,visibility .16s}
#fotoZoom.show{visibility:visible;opacity:1;transform:scale(1)}
#fotoZoom img{display:block;width:250px;height:250px;object-fit:contain;border-radius:9px;background:#fff}
.flash{padding:14px 20px;border-radius:8px;margin-bottom:16px;font-weight:600}.flash-green{background:#d9f7ec;color:#0e8f63;border:1px solid #b3ecd7}.flash-red{background:#ffe0df;color:#c43a37;border:1px solid #ffc1bf}
.btn-sm{padding:8px 14px;font-size:12px;border-radius:7px}.btn-ghost{background:#eee;color:#555}
.inline{display:inline}
.panel-head{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #eee;font-size:14px}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}.stat{border-radius:10px;padding:24px;color:#fff;text-decoration:none;display:block}.stat label{font-size:12px;text-transform:uppercase;letter-spacing:.03em;opacity:.85}.stat strong{display:block;font-size:32px;margin:8px 0 4px}.stat span{font-size:13px;opacity:.9}.stat-blue{background:#2f80ed}.stat-green{background:#13ce91}.stat-dark{background:#3d3d3d}
.dash-grid{display:grid;grid-template-columns:1fr 300px;gap:16px;align-items:start}
.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px}.quick{display:block;border:1px solid #e3e3e3;border-radius:10px;padding:18px;text-decoration:none;color:#333;font-weight:600;text-align:center}.quick:hover{border-color:#2f80ed;color:#2f80ed}.quick-ico{display:block;font-size:26px;margin-bottom:8px}
.form{padding:24px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.field{display:block}.field span{display:block;font-size:12px;color:#777;margin-bottom:7px;font-weight:600}.field input{width:100%;height:46px;border:1px solid #ddd;border-radius:9px;padding:0 14px;font-size:14px;font-family:inherit}.field input:focus{outline:none;border-color:#2f80ed;box-shadow:0 0 0 3px rgba(47,128,237,.15)}.field-full{grid-column:1/-1}.form-actions{display:flex;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid #eee}
@media(max-width:1000px){.nav{display:none;position:absolute;top:100%;right:12px;background:#3d3d3d;border:1px solid #505050;border-radius:10px;flex-direction:column;align-items:stretch;padding:6px;box-shadow:0 10px 28px rgba(0,0,0,.35);z-index:60;min-width:210px}.nav.open{display:flex}.nav-burger{display:inline-flex}.order-grid,.pos-shell{grid-template-columns:1fr;height:auto}.order-right,.pos-side{border-left:0;border-top:1px solid #ddd}.pos-main{overflow:visible}.product-grid{grid-template-columns:repeat(var(--pos-cols,4),1fr)}.totals{grid-template-columns:repeat(2,1fr)}.checks{grid-template-columns:repeat(2,1fr)}.dash-grid{grid-template-columns:1fr}.panel{overflow:auto}.toolbar{flex-wrap:wrap}.topbar .pill,.topbar>div:not(.date):not(.nav-wrap):not(.topbar-title){display:none}}@media(max-width:650px){body{background:#f7f7f8}.shell{margin:0;border-radius:0;min-height:100vh}.topbar{padding:0 12px;height:64px;gap:10px;overflow:hidden}.topbar .back{font-size:22px}.topbar h1{font-size:16px}.content{padding:8px}.toolbar{padding:12px}.table{min-width:850px}.panel{overflow:auto}.product-grid{grid-template-columns:repeat(var(--pos-cols,4),1fr)}.config{height:auto;min-height:0}.config-body{max-height:calc(100vh - 190px)}.item{grid-template-columns:1fr 45px 75px}.item>:nth-child(4),.item>:nth-child(5){display:none}.order-left,.order-right,.pos-main,.pos-side{padding:14px}.pos-main{overflow:visible}.cart-total{position:sticky;bottom:0;z-index:5;margin:0;padding:14px 12px 6px}.totals{margin-top:35px}.stat-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:1fr}.pos-toolbar{flex-direction:column;align-items:stretch}div[style*="grid-template-columns"]{grid-template-columns:1fr !important}.modulos{grid-template-columns:1fr}.pos-search{margin-bottom:16px}.config-body{padding:14px}.cart-item{grid-template-columns:30px 1fr 40px 60px 24px;column-gap:6px}input,select,textarea{font-size:16px}.field input,textarea{font-size:16px}

.form-text{font-size:12px;color:#888}
.product-grid{grid-template-columns:repeat(var(--pos-cols,4),1fr)}
.product{display:flex;align-items:center;gap:10px;min-height:var(--pos-minh,94px);padding:8px 10px}
.product .badge{right:auto;left:4px;top:4px;font-size:11px;padding:5px 8px}
.product-art{width:var(--pos-art,64px);height:var(--pos-art,64px);flex:none;border-radius:8px;overflow:hidden;background:#f2f4f8;font-size:24px}
.product-art img{width:100%;height:100%;object-fit:cover;display:block;background:#f2f4f8}
.product-info{flex:1;min-width:0;display:flex;flex-direction:column}
.product-name{line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-code{font-size:11px;color:#999;margin-top:2px}
.product-info .price{margin-top:5px;margin-left:auto;align-self:flex-end;text-align:right}
@media(max-width:1000px){.product-grid{grid-template-columns:repeat(var(--pos-cols,4),1fr)}}
@media(max-width:650px){.product-grid{grid-template-columns:repeat(var(--pos-cols,4),1fr)}}
.pagination{display:flex;justify-content:center;gap:10px;padding:18px}.pagination a,.pagination span{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border-radius:8px;border:1px solid #ddd;background:#fff;color:#333;text-decoration:none;font-size:13px}.pagination a:hover{border-color:#2f80ed;color:#2f80ed}.pagination .disabled{opacity:.45;pointer-events:none}
.pill-green{background:#e2f6ee;color:#0a9d6e}.pill-red{background:#ffe4e2;color:#d63a35}

.back{text-decoration:none;color:inherit;cursor:pointer;display:inline-flex;align-items:center;transition:opacity .15s}.back:hover{opacity:.55}

.field select{width:100%;height:44px;border:1px solid #ddd;border-radius:9px;padding:0 12px;font-size:14px;font-family:inherit;background:#fff}
.field select:focus{outline:none;border-color:#2f80ed;box-shadow:0 0 0 3px rgba(47,128,237,.15)}

#posLoader{position:fixed;inset:0;background:rgba(14,20,32,.5);display:none;flex-direction:column;gap:12px;align-items:center;justify-content:center;z-index:210;color:#fff;font-weight:700;font-size:14px;letter-spacing:.3px}#posLoader .spinner{width:44px;height:44px;border:4px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:posSpin .7s linear infinite}@keyframes posSpin{to{transform:rotate(360deg)}}
.zoom-toggle{margin-left:auto;display:inline-flex;align-items:center;gap:8px;cursor:pointer;user-select:none;font-weight:700;font-size:12px;color:#234862}.zoom-toggle input{position:absolute;opacity:0;pointer-events:none}.zoom-toggle .track{position:relative;width:38px;height:21px;border-radius:999px;background:#d4dbe4;transition:background .18s}.zoom-toggle .track::after{content:"";position:absolute;top:2px;left:2px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .18s}.zoom-toggle input:checked+.track{background:#19c993}.zoom-toggle input:checked+.track::after{transform:translateX(17px)}.field input[type="checkbox"]{width:18px;height:18px;accent-color:#ff625f;margin:0}.vehicle-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.vehicle-list li{margin:0;padding:0}.vehicle-check{display:flex;align-items:center;gap:10px;cursor:pointer;padding:8px 12px;border:1px solid #eee;border-radius:8px;background:#fafafa}.vehicle-check:hover{background:#fff3f2;border-color:#ffd7d5}
.th-sort{color:#999;text-decoration:none;display:inline-flex;gap:5px;align-items:center}.th-sort.active{color:#2f80ed;font-weight:600}.th-sort:hover{color:#2f80ed}.report-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 0}.report-cards.cards-2{grid-template-columns:repeat(2,1fr)}.report-card{background:#fafbfe;border:1px solid #e6e8f0;border-radius:10px;padding:16px 18px}.report-card span{display:block;font-size:12px;color:#888;margin-bottom:6px;text-transform:uppercase;letter-spacing:.03em}.report-card strong{display:block;font-size:22px;color:#202020}.report-card.card-green strong{color:#13ce91}.report-card.card-blue strong{color:#2f80ed}.report-section{margin-top:18px}.report-section+.report-section{margin-top:28px}.report-section h2{font-size:15px;margin:0 0 2px}.report-section p{color:#999;font-size:12px;margin:0 0 12px}@media(max-width:650px){.report-cards{grid-template-columns:1fr}}.vehicle-check{gap:14px}.vehicle-label{flex:1}.vehicle-tools{display:flex;align-items:center;gap:14px}.vehicle-principal{display:flex;align-items:center;gap:5px;font-size:12px;color:#777;cursor:pointer;white-space:nowrap}.vehicle-principal input{width:15px;height:15px;accent-color:#2f80ed;margin:0}.vehicle-x{all:unset;cursor:pointer;color:#ff625f;font-size:20px;line-height:1;padding:0 5px;border-radius:6px}.vehicle-x:hover{background:#ffeceb}.vehicle-inline{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.vehicle-chip{display:flex;align-items:center;gap:10px;padding:7px 12px;border:1px solid #eee;border-radius:8px;background:#fafafa;flex-wrap:wrap}.vehicle-chip:has(input:disabled){background:#f2f6ff;border-color:#ccd8f1}.vehicle-chip input:disabled{opacity:.55;cursor:not-allowed}
.nav-burger{display:none;background:#505050;border:0;color:#fff;font-size:20px;line-height:1;border-radius:8px;padding:10px 14px;cursor:pointer}