:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#14263b;background:#f3f6fa;--navy:#102840;--blue:#087cf4;--green:#087d59;--green-light:#e2f6ed;--amber:#d99918;--orange-light:#fff3d6;--border:#e0e7f0;--ink:#14263b;--muted:#77859a;--white:#fff;--height:72px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#f3f6fa}button,input,select,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7bcaff;outline-offset:2px}h1,h2,h3,h4,p{margin:0}h1{font-size:27px;letter-spacing:-.8px}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:16px}small,.small{font-size:12px}.muted{color:var(--muted)}.small-muted{color:#8490a2;font-size:12px;line-height:1.5}.flex{display:flex;align-items:center;gap:10px}.between{display:flex;align-items:center;justify-content:space-between;gap:12px}.grow{flex:1;min-width:0}.wrap{flex-wrap:wrap}.hide{display:none!important}.label{display:block;color:#5d6b7d;font-weight:700;font-size:12px;margin:0 0 7px}.input,.select,.textarea{background:white;border:1px solid #d6dfeb;color:#1b3047;border-radius:11px;min-height:43px;padding:10px 12px;min-width:0;width:100%}.textarea{resize:vertical;min-height:78px}.btn{border:1px solid var(--border);background:white;color:#20334d;min-height:40px;padding:9px 14px;border-radius:11px;font-weight:730;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;text-decoration:none}.btn:hover{border-color:#a1b5ca;background:#f8fbff}.btn.primary{background:var(--blue);border-color:var(--blue);color:white}.btn.green{background:#078a5b;border-color:#078a5b;color:white}.btn.warn{background:#fff2da;border-color:#f8d596;color:#995600}.btn.danger{background:#fff1f0;border-color:#ffd6d1;color:#bf322f}.btn.dark{background:var(--navy);border-color:var(--navy);color:white}.btn.small-btn{font-size:12px;min-height:33px;padding:5px 9px}.btn.block{width:100%}.btn:active,.table-card:active,.map-table:active,.product-card:active{transform:scale(.99)}.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:30px;font-size:11px;font-weight:800;background:#eef4fa;color:#4b6074}.pill.online{color:#087d59;background:var(--green-light)}.pill.attention{background:#fff0cc;color:#9c6500}.pill.grey{background:#edf0f3;color:#727c88}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#1bba76}.card{background:white;border:1px solid var(--border);border-radius:16px;padding:18px;box-shadow:0 4px 22px rgba(37,57,84,.035)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.section-heading p{margin-top:6px;color:var(--muted);font-size:13px}.overline{color:#00886c;font-size:11px;letter-spacing:1.4px;text-transform:uppercase;font-weight:850;margin-bottom:6px}.topbar{height:var(--height);position:sticky;top:0;z-index:25;background:#102840;color:white;display:flex;align-items:stretch;padding:0 19px;gap:18px;box-shadow:0 2px 14px rgba(0,0,0,.08)}.top-brand{font-weight:950;font-size:24px;letter-spacing:-1.1px;display:flex;align-items:center;white-space:nowrap;gap:5px;min-width:154px}.top-brand span{color:#49a1ff}.top-nav{display:flex;align-items:stretch;gap:3px;flex:1;overflow:auto hidden;scrollbar-width:none}.top-nav::-webkit-scrollbar{display:none}.nav-link{color:#d6e4f5;background:transparent;border:0;padding:8px 13px;min-width:68px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;font-size:11px;font-weight:750;border-radius:9px;margin:6px 0}.nav-link .nav-icon{font-size:20px}.nav-link.active{background:#087cf4;color:white}.top-right{display:flex;gap:10px;align-items:center}.top-right .btn{background:rgba(255,255,255,.09);border-color:#476178;color:#fff}.top-search{background:#223e59;border:1px solid #3d5a76;border-radius:11px;padding:10px 12px;color:white;width:min(270px,18vw);min-width:150px}.top-search::placeholder{color:#adc0d2}.app-layout{display:grid;grid-template-columns:256px minmax(0,1fr) 325px;min-height:calc(100dvh - var(--height));max-width:2100px;margin:0 auto}.side{background:#fff;border-right:1px solid var(--border);padding:19px 13px;min-height:calc(100dvh - var(--height));max-height:calc(100dvh - var(--height));overflow-y:auto;position:sticky;top:var(--height)}.side::-webkit-scrollbar,.details::-webkit-scrollbar{width:5px}.side::-webkit-scrollbar-thumb,.details::-webkit-scrollbar-thumb{background:#d5dee9;border-radius:20px}.side-tabs{display:flex;gap:5px;margin:12px 0}.side-tabs .btn{font-size:11px;flex:1;min-width:0;padding:7px 4px;min-height:34px}.side-tabs .active{background:#eaf4ff;color:#056dd2;border-color:#bcd9ff}.side-list{display:grid;gap:8px;margin-top:12px}.side-table{width:100%;min-height:67px;border-radius:11px;border:1px solid var(--border);padding:10px;display:flex;align-items:center;gap:10px;background:white;text-align:left}.side-table b{display:grid;place-items:center;min-width:40px;height:42px;border-radius:10px;background:#e7f8ef;color:#087d59;font-size:19px}.side-table.free b{color:#46586b;background:#e9edf2}.side-table.warning b{color:#a46800;background:#fff0ce}.side-table.selected{outline:2px solid var(--blue)}.side-table small{display:block;color:var(--muted);margin-top:3px}.main{padding:24px;min-width:0}.details{background:#fff;border-left:1px solid var(--border);padding:18px;position:sticky;top:var(--height);height:calc(100dvh - var(--height));overflow:auto;display:flex;flex-direction:column}.right-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:17px 0}.right-actions .btn{white-space:normal;min-height:48px;font-size:12px}.right-list{margin:10px 0 20px;max-height:50vh;overflow:auto}.right-item{padding:12px 0;border-bottom:1px solid var(--border)}.right-item strong{font-size:13px}.right-item small{color:var(--muted);display:block;line-height:1.6;margin-top:4px}.right-bottom{margin-top:auto;border-top:1px solid var(--border);padding-top:14px}.summary-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:13px}.summary-row.total{font-size:22px;font-weight:900;margin-top:8px;border-top:1px solid var(--border);padding-top:14px}.head-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.two-toggle{display:flex;gap:6px;background:#e9eff7;padding:4px;border-radius:12px}.two-toggle button{min-height:40px;padding:8px 19px;border:0;border-radius:10px;background:none;font-weight:750;color:#49627d}.two-toggle button.active{background:white;box-shadow:0 2px 6px #0012;color:#056dd2}.filters{display:flex;gap:7px;margin:16px 0;flex-wrap:wrap}.chip-btn{border:1px solid #e0e7ed;border-radius:999px;padding:9px 12px;background:white;color:#506278;font-weight:750;font-size:12px;min-height:37px}.chip-btn.active{background:#087cf4;border-color:#087cf4;color:white}.table-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(126px,1fr));gap:12px}.table-card{border:1px solid var(--border);border-radius:15px;min-height:120px;background:#fff;text-align:left;padding:15px;display:flex;flex-direction:column;justify-content:space-between;color:#304154}.table-card .num{font-size:30px;font-weight:950}.table-card .tag{font-size:12px;font-weight:700}.table-card.occupied{background:#e2f5eb;border-color:#b7e7cf;color:#08714b}.table-card.free{background:#f0f3f6}.table-card.warning{background:#fff0ca;border-color:#f6dd96;color:#916000}.table-card.selected{box-shadow:0 0 0 2px #087cf4}.map-container{overflow:auto;max-width:100%;border-radius:18px;border:1px solid #dbe2eb;background:#f3f5f2}.map-canvas{height:min(75vh,710px);min-height:550px;min-width:440px;position:relative;background:linear-gradient(135deg,#f9f9f7,#eaede9);isolation:isolate;overflow:hidden}.map-deck{position:absolute;inset:0 0 76% 42%;background:repeating-linear-gradient(0deg,#af8958,#af8958 5px,#b79363 6px,#c49c6b 11px);border-bottom:8px solid #3b434b;border-left:9px solid #3b434b}.map-deck-label{position:absolute;left:67%;top:17%;color:#452e1b;font-weight:950;letter-spacing:2px;font-size:12px}.map-aisle{position:absolute;left:21%;top:25%;width:19%;height:75%;border-right:3px dashed #bbc4c3;border-left:3px dashed #bbc4c3;opacity:.65}.map-wall{position:absolute;background:#3c4950}.map-wall.top{height:9px;left:0;top:24%;width:43%}.map-wall.right{left:97%;top:24%;height:75%;width:9px}.map-counter{position:absolute;left:0;bottom:0;background:linear-gradient(140deg,#d0c7b5,#bbb4a7);border:6px solid #555e64;border-radius:8px;width:28%;height:16%;display:grid;place-items:center;font-weight:950;font-size:18px;color:#344357;letter-spacing:2px}.map-entrance{position:absolute;left:18%;top:19%;background:#34434e;color:white;border-radius:8px;padding:7px 11px;font-size:11px;font-weight:900;z-index:1}.map-pillar{position:absolute;width:44px;height:44px;border:6px solid #657077;color:white;background:#26343b;display:grid;place-items:center;border-radius:50%;z-index:2;font-size:17px;font-weight:900}.map-pillar.p1{left:44%;top:44%}.map-pillar.p2{left:45%;top:83%}.map-table{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:clamp(39px,5vw,66px);height:clamp(42px,5vw,64px);border:3px solid #e4e6e7;border-radius:9px;background:#b8c0c8;color:#293849;box-shadow:0 3px 0 #687681,0 7px 12px #0002;font-size:21px;font-weight:950;z-index:3}.map-table.occupied{background:#118a54;color:white;border-color:#71ca9c}.map-table.warning{background:#f5b92f;color:#342714;border-color:#ffdb83}.map-table.selected{outline:3px solid #087cf4;outline-offset:3px}.map-table.dragging{z-index:9;opacity:.8}.map-edit-note{font-size:12px;color:#647287;margin-top:11px}.product-search{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #dae4ef;padding:4px 12px;border-radius:12px;margin-top:15px}.product-search input{border:none;outline:none;background:transparent;min-height:43px;min-width:0;flex:1;width:100%;font-size:15px}.cat-row{display:flex;gap:7px;overflow:auto;padding:14px 0 18px;scrollbar-width:none}.cat-row .chip-btn{white-space:nowrap}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:13px}.product-card{border:1px solid var(--border);border-radius:15px;background:#fff;overflow:hidden;min-height:184px;display:flex;flex-direction:column;text-align:left;padding:0}.product-icon{height:86px;background:linear-gradient(145deg,#e5f5ee,#f4f7fa);display:grid;place-items:center;font-size:42px}.product-card-info{padding:13px;flex:1;display:flex;flex-direction:column;gap:5px}.product-card-name{font-size:14px;font-weight:860;color:#1b2b3f}.product-card-cat{font-size:11px;color:var(--muted)}.product-card-price{font-size:15px;font-weight:900;color:#087d59;margin-top:auto}.dashboard-cards{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:13px;margin-bottom:18px}.metric{padding:20px}.metric strong{font-size:28px;display:block;margin-top:7px}.metric span{color:var(--muted);font-size:12px;font-weight:700}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-card{min-height:110px;text-align:left;padding:19px;border-radius:14px;background:white;border:1px solid var(--border);display:flex;flex-direction:column;justify-content:space-between;font-weight:850}.quick-card .big-icon{font-size:25px}.route-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;align-items:start}.route-control{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--border)}.route-control:last-child{border-bottom:0}.route-control .select{margin-top:7px;max-width:240px}.switch{width:47px;height:28px;border:0;border-radius:50px;background:#b9c2cf;position:relative;flex:none}.switch::before{content:'';background:white;position:absolute;width:20px;height:20px;top:4px;left:4px;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}.switch.on{background:#0a9a67}.switch.on::before{transform:translateX(19px)}.ticket-queue{display:grid;gap:10px}.queue-row{display:flex;gap:9px;align-items:center;justify-content:space-between;border:1px solid var(--border);border-radius:10px;padding:10px}.queue-row small{color:var(--muted);display:block;margin-top:3px}.kds-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:14px}.kds-column{min-width:0}.kds-column header{border-radius:14px;padding:15px;color:#fff;background:#087cf4;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}.kds-column.drinks header{background:#8149c5}.kds-column.lanches header{background:#057d5e}.kds-column.porcoes header{background:#dc8b13}.kds-ticket{background:white;border:1px solid var(--border);border-left:4px solid #0d8cde;border-radius:11px;padding:13px;margin-bottom:11px}.kds-ticket .ticket-item{font-size:13px;line-height:1.5;border-bottom:1px solid #edf1f5;padding:7px 0}.kds-ticket .ticket-item:last-child{border:0}.kds-ticket .ticket-note{font-weight:900;color:#a04c0c;font-size:12px}.kds-ticket .btn{flex:1;font-size:12px;margin-top:7px}.ticket-preview{width:min(100%,370px);background:white;padding:16px;border:1px dashed #888;margin:12px auto;font-family:Arial,sans-serif;color:black}.ticket-preview h3{text-align:center;font-size:14px;margin:0 0 10px}.ticket-preview .ticket-title{text-align:center;background:#141414;color:white;padding:8px;font-weight:900}.ticket-preview .ticket-meta{display:flex;justify-content:space-between;text-align:center;border-block:1px dashed #666;padding:12px 0;margin:12px 0}.ticket-preview .ticket-meta b{font-size:38px}.ticket-preview .ticket-meta span{font-size:10px;font-weight:900;display:block}.ticket-preview .ticket-item{padding:9px 0;border-bottom:1px solid #aaa;font-weight:900}.ticket-preview .ticket-note{display:block;font-weight:900;padding-left:18px;margin:3px 0;font-size:13px}.table-wrap{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:13px}.data-table th,.data-table td{text-align:left;padding:12px;border-bottom:1px solid var(--border)}.data-table th{font-size:11px;color:var(--muted);text-transform:uppercase}.backdrop{position:fixed;inset:0;background:#0c18268c;z-index:70;display:flex;justify-content:flex-end}.backdrop[hidden]{display:none}.drawer{width:min(100%,520px);height:100dvh;overflow:hidden;background:white;box-shadow:-10px 0 45px #07132144;display:flex;flex-direction:column}.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding:18px 20px}.drawer-head h2{margin-top:4px}.drawer-scroll{overflow:auto;padding:18px 20px;flex:1;overscroll-behavior:contain}.drawer-foot{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:14px 20px;border-top:1px solid var(--border);background:white}.drawer-foot .btn{min-height:48px}.form-section{margin-bottom:23px}.form-section h3{margin-bottom:12px}.choice-list{display:grid;gap:8px}.choice{display:flex;justify-content:space-between;align-items:center;text-align:left;border:1px solid var(--border);border-radius:11px;padding:13px;background:white;color:#2e455d;min-height:52px}.choice.active{background:#e8f8ef;border-color:#0d9964;color:#006845}.stepper{display:flex;align-items:center;gap:9px}.stepper button{width:36px;height:36px;border-radius:10px;border:1px solid #cfdbe8;background:#f5f8fb;font-size:20px;font-weight:900;color:#26394a}.stepper span{font-weight:850;min-width:18px;text-align:center}.extra-line{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #edf0f5;padding:11px 0}.extra-line b{display:block;font-size:13px}.extra-line small{color:var(--muted)}.muted-card{padding:15px;background:#f4f7fb;border-radius:12px;border:1px solid #e4eaf0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#162c42;color:white;border-radius:10px;padding:13px 20px;z-index:150;box-shadow:0 9px 28px #0004;display:none;font-size:13px;max-width:90%;text-align:center}.toast.show{display:block}.auth-layout{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(circle at 70% 15%,#184b6c,#0c273d 55%,#091623);padding:20px}.auth-box{width:min(100%,420px);border-radius:24px;background:white;padding:30px;box-shadow:0 25px 80px #0017}.auth-brand{font-weight:950;letter-spacing:-2px;font-size:39px;color:#132840}.auth-brand span{color:#05835e}.auth-brand small{background:#e4f6ee;color:#098661;border-radius:7px;font-size:11px;letter-spacing:0;padding:5px;margin-left:7px;vertical-align:middle}.auth-box>p{margin:8px 0 23px}.auth-box .small-muted{margin-top:20px}.mobile-bottom,.mobile-only{display:none}.no-table{padding:26px 10px;text-align:center;color:#8995a3;font-size:13px;line-height:1.6}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.print-break{display:none}
@media(max-width:1400px){.app-layout{grid-template-columns:210px minmax(0,1fr) 290px}.topbar{gap:9px;padding:0 10px}.top-brand{min-width:125px;font-size:21px}.nav-link{padding:6px 8px;min-width:62px}.main{padding:18px}.details{padding:12px}.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.top-search{min-width:130px}}
@media(max-width:1000px){.app-layout{grid-template-columns:minmax(0,1fr)}.side,.details{display:none}.top-right .top-search{display:none}.topbar{gap:3px}.main{padding:18px}.route-grid{grid-template-columns:1fr}.dashboard-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:680px){:root{--height:62px}body{padding-bottom:70px}.topbar{height:var(--height);padding:0 13px;align-items:center}.top-brand{min-width:0;font-size:23px;flex:1}.top-nav{display:none}.top-right .btn{padding:6px 9px;font-size:12px;min-height:34px}.top-right .user-label{display:none}.main{padding:14px 12px 34px}.section-heading{align-items:flex-start}.section-heading h1{font-size:23px}.section-heading p{font-size:12px}.table-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.table-card{min-height:99px;padding:11px;border-radius:13px}.table-card .num{font-size:26px}.table-card .tag{font-size:11px}.map-container{border-radius:12px}.map-canvas{min-width:0;height:calc(100dvh - 255px);min-height:470px}.map-table{height:43px;width:42px;font-size:18px;border-width:2px}.map-counter{font-size:10px;letter-spacing:0}.map-pillar{width:27px;height:27px;border-width:3px;font-size:11px}.map-entrance{font-size:9px;padding:4px 5px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-card{min-height:160px}.product-icon{height:75px;font-size:36px}.product-card-info{padding:10px}.product-card-name{font-size:12px}.product-card-price{font-size:13px}.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{padding:14px}.metric strong{font-size:25px}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.quick-card{min-height:98px}.mobile-bottom{display:flex;align-items:stretch;justify-content:space-around;position:fixed;left:0;right:0;bottom:0;height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:white;border-top:1px solid var(--border);z-index:30;box-shadow:0 -4px 20px #1a2c4414}.mobile-bottom button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:none;border:0;color:#8190a0;font-size:10px;font-weight:800}.mobile-bottom button span{font-size:22px}.mobile-bottom button.active{color:#087d59}.mobile-only{display:inline-flex}.mobile-fixed-action{position:fixed;bottom:calc(70px + env(safe-area-inset-bottom));left:11px;right:11px;z-index:15;display:flex;gap:8px;padding:8px;border-radius:14px;background:#fff;box-shadow:0 4px 22px #0002}.mobile-fixed-action .btn{flex:1}.head-actions{gap:8px}.head-actions .btn{font-size:12px;padding:7px 10px;min-height:38px}.two-toggle{width:100%}.two-toggle button{flex:1}.drawer{width:100%;border-radius:0}.drawer-head{padding:15px 16px}.drawer-scroll{padding:15px 17px;padding-bottom:80px}.drawer-foot{padding:12px 15px calc(12px + env(safe-area-inset-bottom))}.form-grid{grid-template-columns:1fr}.route-control{grid-template-columns:1fr auto}.route-control .select{max-width:100%}.kds-grid{grid-template-columns:1fr}.card{padding:13px}.two-col{grid-template-columns:1fr}.desktop-only{display:none}}
@media print{body{padding:0!important;background:white!important}body>*:not(#backdrop){display:none!important}#backdrop{position:static!important;background:white!important;display:block!important}#drawer{box-shadow:none!important;width:100%!important;height:auto!important;display:block!important}.drawer-head,.drawer-foot,.print-hide{display:none!important}.drawer-scroll{padding:0!important;overflow:visible!important}.ticket-preview{border:0!important;margin:0!important;width:100%!important;break-after:page}.ticket-preview .ticket-meta b{font-size:46px}}
[hidden]{display:none!important}
/* TITO WEB 2.1 · melhoria de fluxo de comanda, fotos e impressão. */
:root{--green:#067c58}
.topbar{background:linear-gradient(110deg,#0b332d,#123b45)!important}
.top-brand span{color:#40c39f!important}
.product-workspace-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:5px 0 8px;font-size:13px;color:#60758c}
.person-tabs{display:flex;gap:7px;align-items:center;overflow-x:auto;max-width:100%;padding:9px 0 12px;scrollbar-width:thin;border-bottom:1px solid #e5ecf2;margin:0 0 10px}
.person-tab{flex:0 0 auto;min-height:45px;border:1px solid #d5e3ea;color:#2d5664;border-radius:11px;padding:8px 13px;background:#f6f9fa;font-size:12px;font-weight:900;letter-spacing:.1px;display:flex;align-items:center;gap:6px;white-space:nowrap}
.person-tab.active{background:#087451;color:white;border-color:#087451;box-shadow:0 2px 10px #025c361c}
.person-tab .tab-count{background:#dae7e7;color:#43616b;border-radius:30px;min-width:20px;padding:4px 6px;font-size:10px}
.person-tab.active .tab-count{background:#ffffff32;color:#fff}
.person-tab.person-add{background:#eef6ff;color:#0870d3;border:1px dashed #8bbee8}
.details .person-tabs{padding:6px 0 9px}
.details .person-tab{min-height:36px;padding:6px 9px;font-size:11px}
.account-group{margin:20px 0 9px;border-top:1px solid #d6e4e9;padding-top:15px}
.account-group h3{font-size:14px}
.product-icon{height:134px;overflow:hidden;background:linear-gradient(140deg,#ddece5,#f3f4f7)}
.product-icon img{width:100%;height:100%;display:block;object-fit:cover}
.product-card{min-height:224px;transition:transform .12s ease,box-shadow .12s ease}
.product-card:active{transform:scale(.985)}
.product-card-info{padding:12px 13px}
.product-card-name{font-size:14px}
.product-card-cat{font-size:11px;line-height:1.3}
.product-card-price{font-size:16px}
.product-modal-image{width:79px;height:65px;object-fit:cover;border-radius:10px}
.receipt-line{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px dashed #bbb;color:#111;font-family:Arial,sans-serif;font-size:13px}
.receipt-line>div{flex:1}.receipt-line b{font-weight:900}.receipt-line strong{white-space:nowrap}.receipt-line small{display:block;font-size:11px;font-weight:400;margin-top:4px;line-height:1.4;color:#444}
.receipt-totals{padding-top:12px;color:#111}.receipt-totals>div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;font-size:13px}.receipt-totals>div.big{border-top:2px solid black;margin-top:9px;font-size:15px;font-weight:900}.receipt-disclaimer{margin-top:22px;font:11px/1.6 Arial,sans-serif;text-align:center;color:#111}.ticket-preview.customer-receipt{max-width:400px;padding:17px 20px}.ticket-preview .ticket-meta b.smaller{font-size:16px}
.right-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.right-actions .btn{min-height:46px}
.right-list{max-height:none}
@media (min-width:1150px){.app-layout{grid-template-columns:235px minmax(0,1fr) 350px}.main{padding:18px 22px}.topbar .top-nav .nav-link{padding:6px 7px;min-width:61px}.top-right{gap:5px}.top-right .btn{white-space:nowrap}}
@media (max-width:850px){.product-icon{height:104px}.product-card{min-height:200px}.product-card-info{padding:10px}.product-card-name{font-size:12px}.product-card-price{font-size:14px}.person-tab{min-height:45px}.details{display:none}.main{padding:13px 12px 120px}.section-heading{margin-bottom:10px}.section-heading h1{font-size:23px}.product-search{position:sticky;top:0;z-index:8;box-shadow:0 3px 8px #00000008}.cat-row{position:sticky;top:57px;z-index:7;background:#f5f7fa}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-card-price{margin-top:7px}.product-workspace-header{margin-top:0}.product-card-cat{line-height:1.1}.mobile-fixed-action{bottom:calc(71px + env(safe-area-inset-bottom))}}
@media print{.ticket-preview{box-shadow:none!important}.ticket-preview.customer-receipt{max-width:100%;width:100%!important}.receipt-disclaimer{page-break-inside:avoid}}
@media(max-width:850px){
 .section-heading{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-bottom:8px}
 .section-heading>div:first-child{width:100%;display:block}
 .section-heading .overline,.section-heading>div:first-child>p:last-child{display:none}
 .section-heading h1{font-size:21px;line-height:1.25;margin:0;white-space:normal}
 .section-heading>.flex{display:flex!important;flex-wrap:nowrap!important;gap:6px;overflow-x:auto;scrollbar-width:none;max-width:100%;padding-bottom:2px}
 .section-heading>.flex .btn{flex-shrink:0;min-height:36px;white-space:nowrap;font-size:12px;padding:7px 10px}
 .person-tab{font-size:11px;padding:8px 10px}
 .product-workspace-header{margin:0 0 4px}
}

/* ═════════════ TITO PDV 2.2 · tema escuro operacional ═════════════ */
:root{--height:76px;--gold:#ffbc2d;--gold2:#f2a90b}
html{color-scheme:light}
html[data-theme=dark]{color-scheme:dark;--border:#333639;--muted:#a4a9af;--blue:#ffbc2d;--green-light:#133b29;--navy:#101113;--green:#158d4d;color:#f4f4f5;background:#0c0d0e}
html[data-theme=dark] body{background:#0c0d0e;color:#f4f4f5}
html[data-theme=dark] .topbar{background:#0a0b0d!important;border-bottom:1px solid #343638;box-shadow:0 8px 28px #0009}
.top-brand{gap:11px;min-width:140px}.top-brand .brand-main{font-weight:1000;font-style:italic;font-size:32px;letter-spacing:-2px;color:#fafafa!important}
.top-brand .brand-side{font-size:15px;color:#fafafa!important;font-weight:850;line-height:1.2;border-left:1px solid #555;padding-left:9px;display:block;letter-spacing:0}
.top-brand .brand-side small{display:block;font-size:9px;font-weight:600;letter-spacing:.8px;color:#b3b3b3}
.top-nav{gap:5px;justify-content:center}.nav-link{color:#dbdbdb;background:#202123;border:1px solid #454547;border-radius:11px;margin:7px 0;min-width:61px;padding:7px 7px;font-size:10px;gap:5px}
.nav-link .nav-icon{font-size:21px}.nav-link.active{background:linear-gradient(#ffd260,#ffb21c);border-color:#ffb72d;color:#17120a;box-shadow:inset 0 -2px 4px #7e4c001c;font-weight:950}.nav-link:hover:not(.active){background:#303033}
.top-right{gap:5px;flex-shrink:0}.top-right .btn{background:#222426;border:1px solid #444;font-size:11px;padding:8px;min-height:40px;color:#f3f3f3;white-space:nowrap}
.top-right .top-action{border-color:#5b4a29;color:#ffce6d}.top-right .top-action:hover{background:#48381a}.top-right .user-label{font-size:11px;margin-left:5px}.logout-btn{font-size:16px!important}
html[data-theme=dark] .side,html[data-theme=dark] .details{background:linear-gradient(160deg,#151617,#101112);border-color:#393a3c}
.side{padding:12px 9px}.side-head{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:13px;padding:2px 2px 9px}.side-head .pill{font-size:10px;padding:5px 7px}
.side-view-toggle{display:flex;padding:4px;background:#222328;border:1px solid #424348;border-radius:10px;gap:4px}.side-view-toggle button{background:none;color:#d2d2d2;border:0;padding:8px 3px;border-radius:7px;flex:1;font-weight:750;font-size:11px}.side-view-toggle button.active{background:var(--gold);color:#141414}
.side-tabs{margin:8px 0}.side-tabs .btn{min-height:29px;padding:4px 5px}
.side-table-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.side-table{height:71px;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:1px;border-radius:8px;text-align:center;padding:5px 2px}
.side-table b{font-size:20px!important;min-width:0;width:100%;height:auto;background:none!important;line-height:1.4;color:inherit!important}.side-table span{font-size:9px;font-weight:750;line-height:1.2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}
.side-table.occupied{background:linear-gradient(160deg,#167e3d,#075027);color:#fff;border-color:#127943}.side-table.warning{background:linear-gradient(160deg,#ffd35a,#eaa912);color:#171008;border-color:#f9bd31}.side-table.free{background:#3b3d3f;color:#c6c7ca;border-color:#565759}.side-table.selected{outline:2px solid #fff0a9;outline-offset:1px}
.side-shortcuts{border-top:1px solid #4c4c4c;margin-top:10px;padding-top:10px;display:grid;gap:7px}
.main{padding:14px 15px;min-width:0}html[data-theme=dark] .card,html[data-theme=dark] .quick-card{background:#1d1f21;border-color:#404042;box-shadow:none}
html[data-theme=dark] .btn:not(.accent):not(.green):not(.primary):not(.warn):not(.danger),html[data-theme=dark] .chip-btn,html[data-theme=dark] .two-toggle,html[data-theme=dark] .two-toggle button,html[data-theme=dark] .person-tab,html[data-theme=dark] .pill:not(.online):not(.attention){background:#292a2b;color:#ededed;border-color:#4b4b4d}
html[data-theme=dark] .btn:hover:not(.accent):not(.green):not(.primary){background:#373839;border-color:#777}
html[data-theme=dark] .btn.primary,html[data-theme=dark] .chip-btn.active,html[data-theme=dark] .person-tab.active,html[data-theme=dark] .two-toggle button.active{background:#ffbd2e;border-color:#ffbd2e;color:#18150d}
.btn.accent{background:linear-gradient(#ffcf58,#ffb322);border:1px solid #f2a919;color:#201608;font-weight:900}
html[data-theme=dark] .btn.green{background:linear-gradient(#12963a,#05792a);border-color:#229b4a}
html[data-theme=dark] .input,html[data-theme=dark] .select,html[data-theme=dark] .textarea{background:#232527;border-color:#4e5255;color:#f6f6f6}
html[data-theme=dark] .label{color:#d5d8dc}html[data-theme=dark] .small-muted{color:#abb0b8}
html[data-theme=dark] .muted-card{background:#292b2e;color:#e5e5e5;border-color:#555}
html[data-theme=dark] .data-table td,html[data-theme=dark] .data-table th{border-color:#393a3e;color:#eee}
html[data-theme=dark] .top-search,html[data-theme=dark] .product-search{background:#1a1c1e;border-color:#424345;color:#eee}
html[data-theme=dark] .product-search input{color:#f6f6f6}html[data-theme=dark] .product-search input::placeholder{color:#94979d}
html[data-theme=dark] .overline{color:#ffbd30}html[data-theme=dark] .section-heading p{color:#b0b0b0}
.section-heading{margin-bottom:11px}.section-heading h1{font-size:22px}
.fast-toolbar{display:flex;gap:6px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;align-items:center;padding:1px 0 11px;margin-bottom:8px;border-bottom:1px solid #454548}
.fast-toolbar .btn{min-height:37px;font-size:11px;white-space:nowrap;padding:8px 11px;flex:none}
.product-workspace-header{color:inherit;margin:4px 0 7px}.mobile-tabs{display:none}
.cat-row{padding:10px 0;gap:7px;position:sticky;top:var(--height);z-index:12;background:#111314}
.cat-row .chip-btn{border-radius:10px;padding:11px 13px;min-height:45px}.cat-row .chip-btn.active{font-weight:900}
.catalog-section{margin-bottom:19px}.catalog-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 12px;border-bottom:1px solid #3d3d40;padding-bottom:7px}.catalog-section-title h2{color:#ffbe34;font-size:18px}.catalog-section-title span{color:#aaa;font-size:11px}
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.product-card{background:#1b1c1e;border:1px solid #61502e;border-radius:13px;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.product-card-open{border:0;background:none;color:inherit;display:flex;flex-direction:column;align-items:stretch;text-align:left;cursor:pointer;padding:0;width:100%;flex:1}
.product-icon{height:140px;background:radial-gradient(#65411c,#151312);overflow:hidden}.product-icon img{width:100%;height:100%;object-fit:cover}.product-card-info{display:flex;gap:4px;flex-direction:column;padding:10px 10px 6px}
.product-card-name{color:#fff;font-size:14px}.product-card-cat{color:#b0ada5;font-size:10px;line-height:1.45;max-height:34px;overflow:hidden}
.product-variant-actions{display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:6px;padding:6px 8px 9px}.product-variant-actions button{border:0;border-radius:7px;min-width:0;background:linear-gradient(#ffc948,#ffb420);color:#15130d;padding:5px 2px;line-height:1.1;display:flex;flex-direction:column;align-items:center;gap:2px}
.product-variant-actions small{font-size:9px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.product-variant-actions strong{font-size:12px;white-space:nowrap}
html[data-theme=dark] .details .right-list{border-top:1px solid #393a3c;margin-top:12px}.details .person-tab{background:#2c2d2f;color:#e5e5e5}.details .person-tab.active{background:#ffc040;color:#1c130a;border-color:#e9a60d}.details .person-tab.person-add{border-style:dashed;color:#ffce72}
html[data-theme=dark] .right-item{border-color:#3e3e3e}.right-actions{margin:12px 0;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.right-actions .btn{min-height:50px;padding:7px 5px;font-size:10px}
html[data-theme=dark] .right-bottom{border-color:#4a4b4e}.right-bottom .total strong{color:#ffbd31}.details .person-tabs{margin-top:9px}
html[data-theme=dark] .ticket-queue .queue-row,html[data-theme=dark] .kds-ticket{background:#202123;color:#eee;border-color:#454546}
html[data-theme=dark] .kds-column{background:#151719;border-color:#343639}.ticket-preview,.customer-receipt,.ticket-preview *{color:#111!important}html[data-theme=dark] .ticket-preview{background:#fff;color:#111;border-color:#ddd}html[data-theme=dark] .ticket-preview .ticket-title{background:#111;color:#fff!important}
html[data-theme=dark] .drawer{background:#1c1d20;color:#f0f0f0}html[data-theme=dark] .drawer-head,html[data-theme=dark] .drawer-foot{background:#222326;border-color:#404145}
html[data-theme=dark] .backdrop{background:#000b}html[data-theme=dark] .auth-box{background:#202124;color:#fff}html[data-theme=dark] .auth-brand{color:#fff}html[data-theme=dark] .auth-brand span{color:#ffbb2c}html[data-theme=dark] .auth-layout{background:radial-gradient(circle at 70% 15%,#30270c,#101113 55%,#08090a)}
html[data-theme=dark] .mobile-bottom{background:#191a1c;border-color:#444;color:#eee}html[data-theme=dark] .mobile-bottom button{color:#b9bac0}html[data-theme=dark] .mobile-bottom button.active{color:#ffbf30}
html[data-theme=dark] .table-card{background:#242627;color:#e9e9e9;border-color:#48494b}html[data-theme=dark] .table-card.occupied{background:#0e6631;color:white}html[data-theme=dark] .table-card.warning{background:#ebb331;color:#211c0f}
html[data-theme=dark] .two-toggle{background:#2c2c2d}html[data-theme=dark] .map-edit-note{color:#aaa}
/* Tema claro opcional recebe o mesmo layout. */
html[data-theme=light] .top-brand .brand-main{color:white!important}html[data-theme=light] .top-brand .brand-side{color:white!important}
html[data-theme=light] .side-table-grid .side-table.free{background:#d3d9df;color:#34404b}html[data-theme=light] .side-table-grid .side-table.occupied{background:#1f9555;color:#fff}html[data-theme=light] .side-table-grid .side-table.warning{background:#ffc748;color:#1b1b1b}
html[data-theme=light] .side-view-toggle{background:#e8edf2;border-color:#cbd4dd}html[data-theme=light] .side-view-toggle button{color:#3a4857}html[data-theme=light] .side-view-toggle button.active{background:#ffcb50;color:#211900}
html[data-theme=light] .fast-toolbar{border-color:#dbe1e7}html[data-theme=light] .cat-row{background:#f3f6fa}html[data-theme=light] .product-card{background:white;border-color:#e3bf67}html[data-theme=light] .product-card-name{color:#243549}html[data-theme=light] .product-card-cat{color:#65758a}
@media(min-width:1280px){.app-layout{grid-template-columns:255px minmax(0,1fr) 355px;max-width:none}.main{padding:12px 14px}.side{padding:10px}.details{padding:14px}.product-icon{height:142px}}
@media(max-width:1280px) and (min-width:1001px){.app-layout{grid-template-columns:210px minmax(0,1fr) 320px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top-brand{min-width:115px}.top-brand .brand-main{font-size:26px}.top-right .top-action span{display:none}.top-nav .nav-link{min-width:53px;font-size:9px}.top-right .user-label{display:none}}
@media(max-width:1000px){.topbar{height:64px}.top-brand{min-width:110px}.top-brand .brand-main{font-size:28px}.top-nav{display:flex;max-width:calc(100vw - 350px)}.top-right .top-action span{display:none}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-tabs{display:block}.cat-row{top:64px}}
@media(max-width:680px){:root{--height:62px}.topbar{padding:0 8px;gap:3px}.top-brand .brand-main{font-size:25px}.top-brand .brand-side{display:none}.top-nav{display:none}.top-right{margin-left:auto}.top-right .top-action{display:none}.top-right .btn{padding:8px 11px}.top-right .user-label{display:none}.main{padding:10px 10px 105px}.fast-toolbar{margin:0 0 6px;padding-bottom:7px}.fast-toolbar .btn{min-height:39px}.cat-row{top:62px;padding:7px 0 8px}.cat-row .chip-btn{min-height:39px;padding:9px 11px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-icon{height:108px}.product-card-name{font-size:12px}.product-card-info{padding:8px 8px 5px}.product-card-cat{font-size:10px;max-height:30px}.product-variant-actions strong{font-size:11px}.product-variant-actions{gap:3px;padding:5px}.catalog-section-title h2{font-size:16px}.product-workspace-header{padding-top:3px}.mobile-tabs .person-tabs{margin:0 0 4px;padding:7px 0}.mobile-fixed-action{background:#222324!important;border:1px solid #434449;padding:7px}.mobile-fixed-action .btn{padding:9px 8px;white-space:nowrap}.mobile-bottom{height:calc(65px + env(safe-area-inset-bottom))}.nav-link{display:none}}
@media print{html,html[data-theme=dark],html[data-theme=light]{color-scheme:light!important}html[data-theme=dark] body{background:#fff!important;color:#111!important}.ticket-preview,.customer-receipt{background:#fff!important;color:#111!important}.ticket-preview *{color:#111!important}.ticket-preview .ticket-title{background:#111!important;color:#fff!important;print-color-adjust:exact}#backdrop{background:#fff!important}html[data-theme=dark] .drawer{background:#fff!important;color:#111!important}}
.route-buttons{display:flex;align-items:center;gap:9px;justify-content:end}.route-buttons .btn{white-space:nowrap}
html[data-theme=dark] .route-buttons .btn{border-color:#735a2b;color:#ffcb60}
@media(max-width:680px){.route-control{grid-template-columns:minmax(0,1fr) auto}.route-buttons{gap:5px}.route-buttons .btn{padding:5px 7px}}
.tito-icon{width:19px;height:19px;display:inline-block;flex:none;vertical-align:middle}.nav-icon .tito-icon{width:23px;height:23px}.nav-icon{display:flex;justify-content:center;align-items:center}
.fast-toolbar .btn,.top-action{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.fast-toolbar .tito-icon,.top-action .tito-icon{width:15px;height:15px}
.mobile-bottom button .tito-icon{width:23px;height:23px}
