.tables-layout{background:#f1f4fa}.tables-layout .workspace>header,.tables-layout .demo-banner,.tables-layout footer:not(.mesa-drawer-foot){display:none}.tables-layout #main{padding:0;max-width:none}.mesa-top{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;gap:15px;border:1px solid #e1e5f2;border-radius:0 0 20px 20px;background:#fafbff;box-shadow:0 3px 5px #475d8a04}.mesa-top h1{margin:0;font-size:15px;font-weight:650;color:#58657d;letter-spacing:-.2px}.mesa-top>div{display:flex;align-items:center;gap:9px}.mesa-top button{min-height:39px;padding:10px 13px;font-size:12px;background:#f9fbff;border:1px solid #e1e6f2;border-radius:12px;color:#7a859e}.mesa-search-action{display:flex;align-items:center;gap:10px;color:#9aa2b5!important}.mesa-search-action kbd{font-size:10px;background:white;border:1px solid #e6e9f3;border-radius:4px;padding:2px 4px;white-space:nowrap}.mesa-top .mesa-header-icon{position:relative;font-size:21px;width:40px;padding:4px}.mesa-header-icon i{position:absolute;top:8px;right:8px;width:5px;height:5px;border-radius:50%;background:#ee6b80}.mesa-top .mesa-avatar{background:#6b5ff7;color:white;font-size:15px;border-color:#6b5ff7;min-width:40px;font-weight:650}.mesa-content{padding:24px 20px 35px}.mesa-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.mesa-stat{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:127px;padding:25px 20px;background:#fafdff;border:1px solid #dfe6f1;border-radius:20px;box-shadow:0 2px 2px #2c45670c}.mesa-stat>span{font-size:12px;color:#65738c;padding-right:24px;line-height:1.5}.mesa-stat strong{font-size:28px;font-weight:750;letter-spacing:-.8px;color:#101c30;line-height:1.2;margin-top:14px;overflow-wrap:anywhere}.mesa-stat>i{position:absolute;top:19px;right:18px;font-style:normal;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;font-size:18px}.mesa-stat .orange{background:#fff1d7;color:#f1ad38}.mesa-stat .purple{background:#eeeaff;color:#8c7aff}.mesa-stat .blue{background:#e5efff;color:#7299ed}.mesa-stat .green{background:#e2f7f0;color:#3cc09a}.mesa-toolbar{background:#fafdff;border:1px solid #dfe6f1;border-radius:20px;padding:14px;box-shadow:0 2px 2px #2c45670b}.mesa-toolbar-main{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mesa-find{margin:0;display:flex;align-items:center;gap:11px;flex:1;min-width:240px;background:#fafcff;border:1px solid #dce2ef;border-radius:12px;padding:0 11px;box-shadow:0 2px 4px #32507908}.mesa-find>span{font-size:20px;color:#9ba8bf}.mesa-find input{border:0;outline:none;background:transparent;margin:0;padding:11px 0;font-size:13px;min-width:0;color:#626f89}.mesa-find:focus-within{border-color:#a798f5;box-shadow:0 0 0 3px #ebe6ff}.mesa-filters{display:flex;align-items:center;gap:3px;border:1px solid #dee4f1;border-radius:13px;background:#f7faff;padding:3px;flex:none}.mesa-filters button{font-size:11px;min-height:32px;padding:8px 10px;border-radius:9px;color:#99a3b9;background:transparent;white-space:nowrap}.mesa-filters .active{color:white;background:#7063f3}.mesa-toolbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.mesa-toolbar-actions a,.mesa-toolbar-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:9px 13px;border:1px solid #dce2ef;border-radius:12px;background:#fafcff;font-size:12px;color:#3c4960;box-shadow:0 2px 4px #32507908}.mesa-legend{display:flex;align-items:center;gap:13px;flex-wrap:wrap;font-size:11px;color:#98a4b9;padding:13px 0}.mesa-legend span,.mesa-legend a{display:flex;align-items:center;gap:5px;color:inherit}.mesa-legend i{width:10px;height:10px;display:inline-block;border-radius:3px;background:#9dabc2}.mesa-legend .free{background:#17b98a}.mesa-legend .occupied{background:#f4a819}.mesa-legend .bill{background:#f45768}.mesa-legend .cash{background:#5389ef}.mesa-legend .closed{background:#a3aaba}.mesa-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(156px,1fr));gap:13px}.mesa-card{position:relative;display:flex;flex-direction:column;align-items:stretch;background:#fafdff;border:1px solid #dfe6f1;border-radius:21px;box-shadow:0 3px 3px #3250790b;min-height:205px;padding:14px 13px 12px;color:#1a263a;text-align:left;overflow:hidden}.mesa-card:before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:#19ba91}.mesa-state{align-self:end;font-size:10px;padding:3px 7px;border-radius:9px;color:#49bd9b;background:#e5f7f2;font-weight:600;min-height:18px}.mesa-card.occupied:before{background:#f6af37}.mesa-card.occupied .mesa-state{color:#c99842;background:#fff1d9}.mesa-card.bill:before{background:#f85568}.mesa-card.bill{background:linear-gradient(145deg,#ffeaed55,#fafdff 70%);box-shadow:0 0 0 5px #f1595a0a,0 3px 3px #3250790b}.mesa-card.bill .mesa-state{color:#ee6b7b;background:#ffe3e9}.mesa-table-shape{position:relative;display:grid;place-items:center;align-self:center;width:100px;height:95px;margin:3px 0 5px}.mesa-table-shape>strong{display:grid;place-items:center;width:58px;height:58px;border:2px solid #dfe5f0;border-radius:18px;background:#fcfdff;font-size:28px;font-weight:750;color:#111e33;box-shadow:0 3px 0 #e4e9f3}.mesa-table-shape .chair{position:absolute;background:#dce4f1;border-radius:9px;width:20px;height:10px}.mesa-table-shape .top{top:3px}.mesa-table-shape .bottom{bottom:2px}.mesa-table-shape .left{left:3px;top:43px;width:10px;height:20px}.mesa-table-shape .right{right:3px;top:43px;width:10px;height:20px}.occupied .mesa-table-shape>strong{border-color:#f0cb89;background:#fff8e8;box-shadow:0 3px 0 #f2e4c8}.bill .mesa-table-shape>strong{border-color:#ff9aaa;background:#ffe2e8;box-shadow:0 3px 0 #f5cad5;color:#a72741}.mesa-open-label{display:block;align-self:center;margin-top:auto;padding:6px 13px;background:#e2f7f1;border-radius:20px;color:#1eb88d;font-size:12px;font-weight:650}.mesa-card-total{font-size:22px;font-weight:750;letter-spacing:-.5px;color:#162238;margin:1px 0 5px}.mesa-card-meta{display:flex;gap:10px;color:#9ba5ba;font-size:10px}.mesa-card-person{display:flex;align-items:center;gap:6px;margin-top:9px;min-width:0;color:#9ba5b9;font-size:10px;font-weight:400}.mesa-card-person>b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;color:white;background:#7567f8;flex:none;font-size:9px}.mesa-card-person>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mesa-card .mesa-loose-label{color:#8b77bd;margin-top:8px;font-size:11px}.mesa-empty{grid-column:1/-1;color:#a1a9ba;text-align:center;padding:22px 15px;font-size:13px;line-height:1.7}.mesa-loose-head{display:flex;align-items:center;justify-content:space-between;margin:29px 0 14px}.mesa-loose-head h2{font-size:15px;color:#66748c;margin:0}.mesa-loose-head small{background:#e9e6ff;color:#8871d1;border-radius:20px;padding:3px 7px;font-size:10px;margin-left:5px}.mesa-loose-head button{color:#8675c1;background:#eeeaff;border:1px solid #e1dafb;min-height:37px;font-size:12px}.mesa-pending{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:15px;border-radius:13px;background:#fff4d9;color:#9c783b;margin-bottom:20px;font-size:13px;line-height:1.7}.mesa-loading{display:grid;place-items:center;min-height:300px;color:#95a1b4}.mesa-primary{background:#6f5ef4!important;color:white!important;border:1px solid #6f5ef4!important;box-shadow:0 4px 8px #6755d615}.mesa-danger{color:#c6747f!important;background:#fff2f3!important;border-color:#f6dce1!important}.mesa-warning{background:#fff0dd!important;border-color:#f7d9a8!important;color:#bf9453!important}
dialog.mesa-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:490px;max-width:100%;height:100dvh;max-height:100dvh;padding:0;border-radius:22px 0 0 22px;overflow:hidden;border:1px solid #dfe4f0;background:#fbfcff;box-shadow:-15px 0 80px #27385922}.mesa-dialog>#close-modal{display:none}.mesa-dialog #modal-body{height:100%}.mesa-drawer{display:flex;flex-direction:column;height:100%;min-height:0}.mesa-drawer-head{display:flex;align-items:center;gap:12px;padding:22px 19px 17px;border-bottom:1px solid #e2e7f1;background:#f9fbff;flex:none}.mesa-drawer-head>div{min-width:0;flex:1}.mesa-drawer-head h2{font-size:19px;margin:0 0 6px;letter-spacing:-.5px;color:#26344c}.mesa-drawer-head p{font-size:10px;line-height:1.7;margin:0;color:#a1abc0}.mesa-drawer-number{display:grid;place-items:center;width:43px;height:46px;flex:none;border-radius:13px;background:#eee9ff;color:#8370cc;font-size:23px}.mesa-drawer-close{padding:4px 6px;background:transparent;color:#9da6b9;font-size:26px;min-height:35px;min-width:30px}.mesa-drawer-body{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:17px 20px 22px;scrollbar-width:thin}.mesa-drawer-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.mesa-drawer-tools button{font-size:11px;padding:8px 10px;min-height:34px;color:#8d80ba;border:1px solid #dfd9f2;background:#f4f0ff}.mesa-lines{border-bottom:1px solid #e5e9f2}.mesa-line{display:flex;align-items:start;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:16px 0;border-top:1px solid #edf0f6}.mesa-line>label{display:flex;align-items:start;gap:11px;flex:1;min-width:0;margin:0}.mesa-line input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:none;margin:2px 0 0;accent-color:#7867f8}.mesa-line strong{font-size:13px;color:#37465e;font-weight:600;line-height:1.6}.mesa-line small{display:block;margin:5px 0;color:#a5aec0;font-size:11px;line-height:1.6}.mesa-line em{display:block;color:#5db493;font-size:10px;font-style:normal;margin-top:6px}.mesa-line>div{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:13px;color:#4f607f}.mesa-remove{background:none;color:#be9ea8;min-width:28px;min-height:30px;font-size:22px;padding:2px 5px}.mesa-line .mesa-item-qty{width:100%;flex:none;align-items:center;color:#a1aabd;font-size:10px;justify-content:end}.mesa-item-qty input{width:65px;margin:0;font-size:13px;padding:7px;min-height:34px}.mesa-paid-tag{font-size:9px;color:#52b292;background:#e3f5ef;padding:5px 6px;border-radius:7px}.mesa-empty-tab{text-align:center;padding:37px 15px;color:#a1aabd}.mesa-empty-tab>span{font-size:36px;color:#bcc4d6}.mesa-empty-tab h3{font-size:15px;color:#7889a4;font-weight:600}.mesa-empty-tab p{font-size:12px;line-height:1.8}.mesa-bill-totals{padding:20px 0 14px}.mesa-bill-totals>div{display:flex;align-items:center;justify-content:space-between;font-size:13px;gap:10px;color:#8e9ab1;margin:12px 0}.mesa-bill-totals strong{color:#536888;font-weight:650}.mesa-service-row label{display:flex;align-items:center;gap:9px;margin:0;color:#7b8ba5;font-size:12px;line-height:1.6}.mesa-service-row input{width:17px;height:17px;min-height:17px;accent-color:#8b72ee;margin:0}.mesa-fee-recipient{font-size:10px;color:#9da8bd;margin:0 0 17px 26px}.mesa-fee-recipient button,.mesa-discount-row button{background:none;color:#9074d0;font-size:10px;padding:4px 5px}.mesa-discount-row button{margin-left:auto}.mesa-bill-totals .mesa-grand{border-top:1px solid #e3e8f2;margin-top:16px;padding-top:17px;font-size:18px}.mesa-grand strong{color:#263b5d;font-size:21px;letter-spacing:-.5px}.mesa-bill-totals .mesa-received{font-size:12px;color:#62b08f}.mesa-received strong{color:#49af89}.mesa-remaining strong{color:#5d66ba}.mesa-per-person{font-size:11px;text-align:center;color:#9ca7bb;border-radius:10px;background:#f4f6fd;padding:10px 12px;line-height:1.7;margin:16px 0 4px}.mesa-per-person b{font-weight:500;color:#7d89a6}.mesa-hint{font-size:11px;line-height:1.8;color:#9ba5bb}.mesa-payment{padding:18px 0 8px;border-top:1px solid #e3e8f3}.mesa-payment>h3{font-size:15px;color:#4f6282;margin:0 0 15px}.mesa-payment-modes{display:flex;gap:6px;margin-bottom:15px}.mesa-payment-modes button{flex:1;color:#8f9bb2;background:#f6f8ff;border:1px solid #e0e5f2;border-radius:10px;min-height:37px;font-size:12px}.mesa-payment-modes .active{color:#8970df;background:#ede7ff;border-color:#d0c3f7}.mesa-amount{display:block;text-align:center;font-size:28px;font-weight:700;letter-spacing:-.8px;margin:15px 0 19px;color:#4d6388}.mesa-payment-methods{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.mesa-payment-methods button{font-size:11px;min-height:38px;padding:8px 5px;color:#8998b5;border:1px solid #dfe6f4;border-radius:11px;background:#fafdff}.mesa-payment-methods .active{color:#8b72df;border-color:#bfa9f4;background:#f0eaff}.mesa-payment-methods button:last-child{grid-column:1/-1;font-size:10px;min-height:29px;background:transparent}.mesa-cash-tender{display:flex;align-items:end;gap:20px;margin:15px 0}.mesa-cash-tender>label{flex:1;margin:0;font-size:11px;color:#98a6be}.mesa-cash-tender>span{padding-bottom:12px;color:#6eae96;font-size:12px;white-space:nowrap}.mesa-cash-tender input{font-size:14px}.mesa-payment>label{color:#93a2bd;font-size:12px}.mesa-print-option{display:flex;align-items:center;gap:9px;margin:20px 0!important;font-size:11px!important}.mesa-print-option input{width:16px;height:16px;min-height:16px;accent-color:#9176e0;margin:0}.mesa-pay-submit{width:100%;min-height:47px;font-size:13px;border-radius:12px;line-height:1.5}.mesa-split{margin:14px 0;display:flex;flex-direction:column;gap:8px}.mesa-split>div{display:grid;grid-template-columns:1fr 100px 30px;align-items:center;gap:7px}.mesa-split input,.mesa-split select{font-size:13px;padding:10px}.mesa-split button{background:#f1edff;color:#9681cd;font-size:11px;padding:7px}.mesa-split>div button{padding:3px;background:none;font-size:20px}.mesa-split>small{color:#9fa8bb;font-size:11px}.mesa-drawer-foot{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:14px 16px;border-top:1px solid #e0e6f2;background:#f8faff;flex:none}.mesa-drawer-foot button{min-height:38px;padding:9px 11px;border-radius:11px;border:1px solid #e0e6f3;background:#fafcff;color:#9d97b0;font-size:11px;font-weight:550}.mesa-receipts{border:1px solid #e4e9f5;border-radius:12px;padding:12px;color:#98a5ba;font-size:11px;margin:8px 0 15px;line-height:1.7}.mesa-receipts summary{cursor:pointer}.mesa-receipts>div{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e7ecf5;padding:10px 0;margin-top:7px}.mesa-receipts strong{color:#6aaa95;white-space:nowrap}.mesa-zero{padding:15px;color:#94a2ba;font-size:12px;text-align:center;line-height:2}.mesa-zero button{display:block;width:100%;margin-top:12px}.mesa-settled{text-align:center;color:#8ca29d;padding:27px 0 10px}.mesa-settled>span{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;margin:auto;background:#dff5ed;color:#43b893;font-size:26px}.mesa-settled h3{color:#5b8b79;font-size:17px}.mesa-settled p{font-size:11px}.mesa-history{display:flex;flex-direction:column;gap:10px;max-height:65dvh;overflow:auto;padding:8px 0}.mesa-history button{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #e0e5f2;border-radius:12px;background:#f8faff;color:#8291ad;padding:16px;font-size:12px}.mesa-history strong{color:#62789c}.mesa-move-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.mesa-move-grid button{display:flex;align-items:center;flex-direction:column;gap:7px;padding:16px;border-radius:14px;color:#66ac95;border:1px solid #ccebdc;background:#f2fcf7}.mesa-move-grid button.occupied{border-color:#ead8b5;background:#fff9ed;color:#b39c70}.mesa-move-grid strong{font-size:22px}.mesa-move-grid span{font-size:11px}.mesa-route-results{display:block!important;max-height:55dvh;overflow:auto}.mesa-route-results .nav-group a{display:flex!important}.mesa-route-results .nav-group a b{display:block}.mesa-route-results a[hidden]{display:none!important}
html[data-theme=dark] .tables-layout{background:#171e2e}html[data-theme=dark] .mesa-top,html[data-theme=dark] .mesa-stat,html[data-theme=dark] .mesa-toolbar,html[data-theme=dark] .mesa-card,html[data-theme=dark] .mesa-drawer-head,html[data-theme=dark] .mesa-drawer-foot,html[data-theme=dark] dialog.mesa-dialog{background:#202b40;border-color:#35435d;color:#d0daee}html[data-theme=dark] .mesa-stat strong,html[data-theme=dark] .mesa-card-total,html[data-theme=dark] .mesa-drawer-head h2,html[data-theme=dark] .mesa-grand strong,html[data-theme=dark] .mesa-line strong{color:#d8e3f7}html[data-theme=dark] .mesa-top button:not(.mesa-avatar),html[data-theme=dark] .mesa-find,html[data-theme=dark] .mesa-filters,html[data-theme=dark] .mesa-toolbar-actions button,html[data-theme=dark] .mesa-toolbar-actions a,html[data-theme=dark] .mesa-table-shape>strong,html[data-theme=dark] .mesa-payment-methods button,html[data-theme=dark] .mesa-payment-modes button,html[data-theme=dark] .mesa-per-person,html[data-theme=dark] .mesa-drawer-tools button{background:#29364e;border-color:#3c4b66;color:#b6c3df}html[data-theme=dark] .mesa-filters .active,html[data-theme=dark] .mesa-payment-methods .active,html[data-theme=dark] .mesa-payment-modes .active{background:#4b3c78;color:#d6c9f9}html[data-theme=dark] .mesa-card.bill{background:#352b3f}html[data-theme=dark] .mesa-line,html[data-theme=dark] .mesa-lines,html[data-theme=dark] .mesa-payment,html[data-theme=dark] .mesa-bill-totals .mesa-grand{border-color:#35435d}
@media(max-width:1250px){.mesa-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mesa-toolbar-main{gap:9px}.mesa-find{min-width:235px}.mesa-filters button{font-size:11px;padding:8px 10px}.mesa-search-action span{display:none}.mesa-search-action kbd{display:none}.mesa-top h1{font-size:14px}}
@media(max-width:900px){.tables-layout aside{display:none}.tables-layout .workspace,.tables-layout.menu-collapsed .workspace{margin:0}.tables-layout main{padding:0}.mesa-content{padding:20px 17px 30px}.mesa-top{position:sticky;top:0;z-index:25;padding:13px 17px;min-height:68px;border-radius:0 0 18px 18px}.mesa-top h1{font-size:17px}.mesa-top>div{gap:6px}.mesa-top button{min-height:40px}.mesa-top .mesa-header-icon{width:38px}.mesa-top .mesa-avatar{min-width:38px}.mesa-search-action{padding:8px 12px!important;font-size:18px!important}.mesa-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px}.mesa-find input{min-height:44px;font-size:16px}.mesa-card{min-height:207px}.mesa-filters button{min-height:39px}.mesa-toolbar-actions a,.mesa-toolbar-actions button{min-height:44px}.mesa-drawer-foot{padding-bottom:max(13px,env(safe-area-inset-bottom))}.mesa-drawer-foot button{min-height:44px}.mesa-payment-methods button,.mesa-payment-modes button{min-height:44px}.mesa-pay-submit{min-height:49px}.mesa-line input[type=checkbox]{width:22px;height:22px;min-height:22px}.mesa-item-qty input{min-height:44px;font-size:16px}.mesa-drawer-tools button{min-height:41px}.mesa-payment input,.mesa-payment select{font-size:16px;min-height:44px}.mesa-service-row input,.mesa-print-option input{width:20px;height:20px;min-height:20px}.mesa-remove{min-height:36px;min-width:32px}.mesa-line strong{font-size:14px}.mesa-line>div{font-size:14px}.mesa-hint{font-size:11px}}
@media(max-width:520px){.mesa-top{padding:10px 14px;gap:8px}.mesa-top h1{font-size:16px;letter-spacing:-.5px}.mesa-top>div{gap:5px}.mesa-search-action{display:none!important}.mesa-top .mesa-header-icon{width:35px;min-height:40px}.mesa-top .mesa-avatar{min-width:35px;padding:8px}.mesa-content{padding:16px 13px 28px}.mesa-stats{gap:11px;margin-bottom:15px}.mesa-stat{min-height:113px;padding:21px 14px;border-radius:17px}.mesa-stat>span{font-size:11px;padding-right:22px}.mesa-stat strong{font-size:25px;margin-top:16px}.mesa-stat>i{top:15px;right:12px;width:26px;height:27px;border-radius:8px;font-size:16px}.mesa-toolbar{padding:11px;border-radius:17px}.mesa-toolbar-main{display:flex;flex-direction:column;align-items:stretch}.mesa-find{min-width:0}.mesa-find input{font-size:16px}.mesa-filters{width:100%;justify-content:space-between;gap:1px}.mesa-filters button{font-size:10px;padding:10px 5px;flex:1;min-height:42px}.mesa-toolbar-actions{gap:7px;margin-top:9px}.mesa-toolbar-actions a,.mesa-toolbar-actions button{font-size:10px;padding:10px 9px;border-radius:11px}.mesa-legend{gap:9px;font-size:10px;line-height:1.7;padding:13px 0}.mesa-legend a{width:100%}.mesa-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mesa-card{padding:12px 11px;min-height:204px;border-radius:19px}.mesa-card-total{font-size:22px}.mesa-table-shape{width:94px;height:88px}.mesa-table-shape>strong{width:55px;height:55px;font-size:27px}.mesa-card-person{font-size:9px}.mesa-card-meta{font-size:10px}.mesa-open-label{font-size:11px;padding:6px 10px}.mesa-loose-head h2{font-size:14px}.mesa-loose-head button{font-size:11px;min-height:42px}.mesa-pending{flex-direction:column;align-items:stretch;font-size:12px}dialog.mesa-dialog{border-radius:0;width:100%;height:100dvh;max-height:100dvh}.mesa-drawer-head{padding:17px 14px;gap:10px}.mesa-drawer-head h2{font-size:19px}.mesa-drawer-head p{font-size:10px}.mesa-drawer-body{padding:15px 15px 22px}.mesa-drawer-number{width:38px;height:42px}.mesa-drawer-foot{gap:6px;padding:11px 12px max(12px,env(safe-area-inset-bottom))}.mesa-drawer-foot button{font-size:10px;padding:10px 9px}.mesa-drawer-foot button:first-child{flex:1}.mesa-payment-methods{grid-template-columns:repeat(4,minmax(0,1fr))}.mesa-payment-methods button{font-size:11px;padding:10px 3px}.mesa-payment-modes button{font-size:12px}.mesa-bill-totals>div{font-size:13px}.mesa-cash-tender{gap:13px}.mesa-cash-tender>span{font-size:12px}.mesa-cash-tender label{min-width:0}.mesa-line{gap:8px}.mesa-line strong{font-size:13px}.mesa-line>div{font-size:13px;gap:5px}.mesa-line small{font-size:10px}.mesa-line em{font-size:10px}.mesa-line>label{gap:9px}.mesa-grand strong{font-size:21px}.mesa-move-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mesa-history button{font-size:12px;min-height:60px}.mesa-route-results .nav-group a{font-size:14px;min-height:44px}}
@media(max-width:360px){.mesa-stat strong{font-size:22px}.mesa-filters button{font-size:9px}.mesa-toolbar-actions a,.mesa-toolbar-actions button{font-size:10px;padding:9px 7px}.mesa-top h1{font-size:15px}.mesa-top .mesa-header-icon{width:30px}.mesa-card-total{font-size:20px}.mesa-payment-methods{grid-template-columns:1fr 1fr}.mesa-payment-methods button:last-child{grid-column:1/-1}}
@media print{#print-area.mesa-print-report{display:block!important;width:76mm!important;margin:auto;font:12px monospace;color:black;background:white}#print-area.mesa-print-report td{font:11px monospace;padding:5px 0}#print-area.mesa-print-report h2{font-size:17px;text-align:center}.mesa-drawer,.mesa-top,.mesa-content{display:none!important}}

.tables-layout .mesa-drawer-foot{display:flex}
/* Barra de mesas: busca, filtros, atalhos e legenda da referência. */
.mesa-ui-icon{width:16px;height:16px;display:block;flex:none}.mesa-find>.mesa-ui-icon{width:15px;height:15px;color:#8e99ad}.mesa-toolbar-main{display:grid;grid-template-columns:minmax(225px,1fr) auto;gap:10px}.mesa-find{min-width:0}.mesa-filters button{display:inline-flex;align-items:center;justify-content:center;gap:4px;font-size:12px;padding:8px 11px}.mesa-filter-count{font-variant-numeric:tabular-nums;font-weight:500}.mesa-toolbar-actions{gap:10px;margin-top:10px}.mesa-toolbar-actions a,.mesa-toolbar-actions button{font-size:12px;gap:7px;min-height:38px;padding:9px 13px}.mesa-toolbar-actions .mesa-ui-icon{width:14px;height:14px}.mesa-toolbar-actions .mesa-icon-action{width:42px;padding:9px;flex:none}.mesa-toolbar-actions a:focus-visible,.mesa-toolbar-actions button:focus-visible,.mesa-filters button:focus-visible{outline:2px solid #7868ff;outline-offset:2px}.mesa-legend{font-size:12px;gap:13px;padding:12px 0}.mesa-legend i{width:10px;height:10px;flex:none}.mesa-legend .occupied{background:#f4a000}.mesa-legend .bill{background:#f04457}.mesa-legend .cash{background:#4285f4}
@media(min-width:901px) and (max-width:1150px){.mesa-toolbar{padding:12px}.mesa-filters button{font-size:12px;padding:8px 10px}.mesa-toolbar-main{grid-template-columns:minmax(200px,1fr) auto;gap:10px}.mesa-toolbar-actions a,.mesa-toolbar-actions button{font-size:12px}}
@media(max-width:900px){.mesa-toolbar-main{display:flex;flex-wrap:wrap}.mesa-find{min-width:220px}.mesa-filters{margin-left:auto}.mesa-toolbar-actions a,.mesa-toolbar-actions button{min-height:44px}.mesa-legend{font-size:12px}}
@media(max-width:520px){.mesa-toolbar-main{flex-direction:column;align-items:stretch}.mesa-find{min-width:0}.mesa-filters{margin-left:0}.mesa-filters button{font-size:11px;padding:10px 4px;gap:3px}.mesa-toolbar-actions{gap:7px}.mesa-toolbar-actions a,.mesa-toolbar-actions button{font-size:11px;padding:10px 9px}.mesa-toolbar-actions .mesa-ui-icon{width:13px;height:13px}.mesa-toolbar-actions .mesa-icon-action{width:38px;padding:9px}.mesa-legend{font-size:11px;gap:10px}.mesa-legend a{width:100%}}
@media(max-width:360px){.mesa-filters button{font-size:10px;padding:9px 3px}.mesa-toolbar-actions a,.mesa-toolbar-actions button{font-size:10px;padding:9px 7px}}
/* Atendimento integrado: catálogo e conta na própria mesa. */
dialog.mesa-workbench{width:min(1120px,calc(100vw - 220px));height:100dvh;max-height:100dvh;border-radius:0;inset:0 0 0 auto;background:#f6f9ff}.mesa-workbench #modal-body{height:100%}.mesa-workspace{display:flex;flex-direction:column;height:100%;min-height:0;color:#202b40}.mesa-workspace-head{display:flex;align-items:center;gap:12px;padding:13px 16px;background:linear-gradient(110deg,#e8e9ff,#f7f9ff);border-bottom:1px solid #dce3f0;min-height:76px;flex:none}.mesa-workspace-number{display:grid;place-items:center;width:49px;height:49px;flex:none;border-radius:15px;background:#efa000;color:white;font-size:23px;box-shadow:0 5px 14px #d59a2020}.mesa-workspace-head>div{flex:1;min-width:0}.mesa-workspace-head h2{font-size:19px;color:#172336;margin:0 0 6px;font-weight:700}.mesa-workspace-head p{font-size:11px;line-height:1.5;margin:0;color:#8e99ad}.mesa-workspace-head button{background:transparent;color:#263347;padding:8px;min-height:40px;min-width:38px;font-size:20px}.mesa-workspace-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,1fr);flex:1;min-height:0}.mesa-catalog{padding:12px;background:#edf2fa;overflow-y:auto;min-width:0}.mesa-catalog-bar{display:flex;align-items:center;gap:9px}.mesa-panel-search{display:flex;align-items:center;gap:9px;flex:1;min-width:0;border:1px solid #dce3f0;border-radius:12px;background:#f8fbff;padding:0 11px;margin:0}.mesa-panel-search input{margin:0;background:transparent;border:0;min-width:0;width:100%;padding:10px 0;font-size:12px;outline:none}.mesa-panel-search svg{width:14px;height:14px;color:#8c99af}.mesa-panel-search:focus-within{border-color:#9480fc;box-shadow:0 0 0 2px #e5ddff}.mesa-catalog-bar>button{border:1px solid #d8e1ee;border-radius:11px;background:#f8fbff;color:#24324b;min-height:37px;font-size:11px;padding:9px 12px;white-space:nowrap;box-shadow:0 2px 3px #576b8d09}.mesa-product-categories{display:flex;flex-wrap:wrap;gap:6px;padding:11px 0 12px}.mesa-product-categories button{border:1px solid #dfe5ef;border-radius:20px;background:#f6f9ff;color:#748199;padding:6px 11px;font-size:11px;font-weight:550;min-height:29px}.mesa-product-categories .active{background:#e4dfff;color:#7363ff;border-color:#9483ff}.mesa-panel-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;align-content:start}.mesa-panel-product{position:relative;display:flex;flex-direction:column;align-items:start;min-width:0;min-height:125px;padding:15px 10px 11px;border:1px solid #dfe5ee;background:#f8fbff;border-radius:15px;color:#172336;text-align:left;box-shadow:0 2px 3px #4257740c}.mesa-panel-product .mesa-product-art{display:grid;place-items:center;align-self:center;border:1px solid #d7d0ff;border-radius:10px;background:#eeebff;color:#7869ff;font-size:28px;width:38px;height:38px;margin:1px auto 12px}.mesa-panel-product strong{font-size:11px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.mesa-panel-product>span:last-of-type{color:#00b78a;font-size:14px;font-weight:750;margin-top:8px}.mesa-panel-product>i{position:absolute;right:8px;top:7px;display:grid;place-items:center;font-size:10px;font-style:normal;border-radius:50%;background:#7162f5;color:white;min-width:21px;height:21px}.mesa-panel-product>small{font-size:10px;margin-top:7px}.mesa-ticket{display:flex;flex-direction:column;min-height:0;min-width:0;border-left:1px solid #dce3ef;background:#f8fbff}.mesa-ticket-items{flex:1;min-height:90px;overflow-y:auto;padding:8px 13px}.mesa-ticket-line{display:flex;gap:10px;align-items:start;padding:14px 0;border-bottom:1px solid #e0e6f1;font-size:11px}.mesa-ticket-qty{display:flex;align-items:center;flex:none;border:1px solid #dce4f1;background:#f6f9ff;border-radius:9px;overflow:hidden}.mesa-ticket-qty button{min-height:31px;min-width:28px;background:transparent;color:#34415b;padding:5px;font-size:13px}.mesa-ticket-qty strong{font-size:11px;min-width:21px;text-align:center}.mesa-ticket-description{flex:1;min-width:0;line-height:1.5}.mesa-ticket-description>strong{display:block;font-size:11px;font-weight:650;overflow-wrap:anywhere;color:#26334a}.mesa-ticket-description small{display:block;color:#98a4ba;font-size:10px;margin-top:4px}.mesa-ticket-description em{font-style:normal;color:#6487e8;font-weight:650}.mesa-ticket-description p{font-size:10px;color:#7b879f;margin:6px 0;overflow-wrap:anywhere}.mesa-ticket-description>button{font-size:10px;padding:3px;background:transparent;color:#94a0b6;min-height:26px}.mesa-ticket-description .mesa-paid{color:#0cad87}.mesa-ticket-line-total{display:flex;flex-direction:column;align-items:end;flex:none;gap:4px}.mesa-ticket-line-total b{font-size:11px;font-weight:700;white-space:nowrap}.mesa-ticket-line-total button{font-size:18px;background:transparent;color:#a2adbf;padding:1px 4px;min-width:25px;min-height:25px}.mesa-pay-item{display:flex;align-items:center;gap:6px;font-size:10px;color:#8e7dd3;margin:7px 0}.mesa-pay-item input[type=checkbox]{width:16px;height:16px;margin:0}.mesa-pay-item input[type=number]{width:55px;font-size:12px;padding:5px;margin:0}.mesa-panel-empty{text-align:center;color:#9ba6b9;font-size:14px;padding:50px 15px;line-height:2}.mesa-panel-empty small{font-size:11px}.mesa-ticket-summary{padding:12px 13px 10px;border-top:1px solid #dce3ef;flex:none;max-height:65%;overflow-y:auto;scrollbar-width:thin}.mesa-summary-row{display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:11px;color:#8491ab;margin:0 0 9px}.mesa-summary-row>b{font-size:11px;font-weight:650;color:#28374f}.mesa-summary-row label{display:flex;align-items:center;gap:5px;font-size:11px;color:#7e8aa3;margin:0}.mesa-summary-row input{width:13px;height:13px;margin:0;accent-color:#4188ff}.mesa-summary-discount{display:flex;justify-content:space-between;font-size:11px;color:#7365ff;margin:1px 0 15px}.mesa-summary-discount button{background:transparent;padding:0;color:#7864ff;font-size:11px;min-height:24px;font-weight:500}.mesa-panel-total{display:flex;justify-content:space-between;gap:10px;font-size:19px;color:#172336;margin:13px 0 12px}.mesa-panel-total strong:last-child{color:#04b78a}.mesa-draft-hint{font-size:10px;color:#9d8a64;line-height:1.6;margin:8px 0}.mesa-panel-partial{display:block;border:1px dashed #0fbea2;background:#e8f8f3;color:#0bb794;border-radius:12px;width:100%;font-size:12px;min-height:38px;padding:8px;margin:13px 0 10px}.mesa-panel-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 0}.mesa-panel-actions>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #dce4f1;background:#f8fbff;color:#7866ff;border-radius:11px;min-height:64px;padding:7px 3px;font-size:16px}.mesa-panel-actions span{font-size:10px;color:#29364c;font-weight:550}.mesa-panel-actions i{font-size:9px;font-style:normal;display:grid;place-items:center;min-width:15px;height:15px;border-radius:10px;background:#f55368;color:white}.mesa-panel-close{background:linear-gradient(110deg,#0cbb91,#009575);color:white;font-size:13px;font-weight:700;min-height:45px;width:100%;border-radius:13px;padding:10px;box-shadow:0 5px 12px #0fb58d22}.mesa-panel-bottom{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:7px}.mesa-panel-bottom button{font-size:10px;color:#8a96ac;background:transparent;padding:5px;min-height:28px}.mesa-panel-pay>button{background:transparent;color:#8274c7;font-size:11px;padding:6px 0}.mesa-panel-pay .mesa-payment{padding-top:10px}.mesa-panel-pay .mesa-payment>h3{display:none}.mesa-panel-pay .mesa-amount{font-size:24px;margin:10px 0}.mesa-panel-pay .mesa-pay-submit{background:#00a982!important;border-color:#00a982!important}.mesa-ticket-summary .error:empty{display:none}.mesa-kitchen-list article{padding:15px;border:1px solid #e0e5ef;border-radius:12px;margin:10px 0;font-size:13px}.mesa-kitchen-list p{font-size:12px;color:#8491a7}
html[data-theme=dark] .mesa-workspace-head{background:#28344d}html[data-theme=dark] .mesa-catalog{background:#1b263b}html[data-theme=dark] .mesa-ticket,html[data-theme=dark] .mesa-panel-product{background:#25314a;color:#dce6f8}html[data-theme=dark] .mesa-workspace h2,html[data-theme=dark] .mesa-panel-product strong,html[data-theme=dark] .mesa-ticket-description>strong,html[data-theme=dark] .mesa-panel-total strong:first-child,html[data-theme=dark] .mesa-summary-row>b{color:#dbe5f8}html[data-theme=dark] .mesa-panel-search,html[data-theme=dark] .mesa-ticket-qty,html[data-theme=dark] .mesa-panel-actions>button{background:#28364f;border-color:#3c4960}html[data-theme=dark] .mesa-panel-actions span{color:#c1cce0}
@media(max-width:1024px){dialog.mesa-workbench{width:100%;max-width:100%;border-radius:0}.mesa-workspace-body{grid-template-columns:minmax(0,1fr) minmax(350px,.9fr)}}
@media(max-width:760px){.mesa-workspace-head{padding:12px;gap:9px;min-height:72px}.mesa-workspace-head h2{font-size:17px}.mesa-workspace-head p{font-size:10px}.mesa-workspace-number{width:40px;height:44px;font-size:21px}.mesa-workspace-head button{min-width:34px;min-height:42px}.mesa-workspace-body{display:block;overflow-y:auto;overscroll-behavior:contain}.mesa-catalog{max-height:42dvh;padding:12px;overflow-y:auto}.mesa-catalog-bar{position:sticky;top:0;z-index:2;background:#edf2fa;padding-bottom:5px}.mesa-panel-search input{font-size:16px;min-height:44px}.mesa-catalog-bar>button{min-height:44px}.mesa-product-categories button{min-height:35px}.mesa-panel-products{grid-template-columns:repeat(auto-fill,minmax(115px,1fr))}.mesa-panel-product{min-height:125px}.mesa-panel-product strong{font-size:12px}.mesa-ticket{border-left:0;border-top:1px solid #dce3ef;min-height:400px}.mesa-ticket-items{flex:none;overflow:visible;min-height:110px}.mesa-ticket-summary{max-height:none;overflow:visible;padding:13px 14px max(16px,env(safe-area-inset-bottom))}.mesa-ticket-line{gap:8px}.mesa-ticket-qty button{min-height:38px;min-width:29px}.mesa-ticket-description>strong,.mesa-ticket-line-total b{font-size:12px}.mesa-ticket-description small{font-size:10px}.mesa-summary-row,.mesa-summary-row label,.mesa-summary-row>b{font-size:12px}.mesa-panel-partial{min-height:44px}.mesa-panel-actions>button{min-height:68px}.mesa-panel-actions span{font-size:11px}.mesa-panel-close{min-height:48px;font-size:14px}.mesa-panel-total{font-size:20px}.mesa-summary-row input{width:18px;height:18px}.mesa-panel-pay input,.mesa-panel-pay select{font-size:16px;min-height:44px}.mesa-panel-bottom button{min-height:38px}.mesa-pay-item input[type=checkbox]{width:21px;height:21px}.mesa-pay-item input[type=number]{width:60px;min-height:40px;font-size:16px}}
@media print{.mesa-workspace{display:none!important}}
.mesa-draft-badge{position:absolute;top:14px;left:12px;color:#7486e2;background:#e9edff;border-radius:10px;padding:4px 6px;font-size:9px;font-weight:600}
/* A mesa abre primeiro a conta; adicionar itens abre o catálogo do atendimento. */
dialog.mesa-receipt-dialog{inset:0;margin:auto;width:630px;max-width:calc(100vw - 32px);height:calc(100dvh - 48px);max-height:850px;border-radius:22px;background:#f8fbff;box-shadow:0 22px 90px #17253c40}.mesa-receipt-dialog .mesa-drawer-head{padding:15px 18px;background:linear-gradient(110deg,#e8eaff,#f7f9ff);min-height:74px}.mesa-receipt-dialog .mesa-drawer-number{background:#efa000;color:white;border-radius:14px;width:44px;height:46px}.mesa-receipt-dialog .mesa-drawer-head h2{font-size:19px;color:#172236}.mesa-receipt-dialog .mesa-drawer-head p{font-size:11px}.mesa-receipt-dialog .mesa-drawer-body{padding:13px 17px 20px}.mesa-receipt-dialog .mesa-drawer-tools{margin-bottom:12px;gap:8px}.mesa-receipt-dialog .mesa-drawer-tools button{font-size:10px;min-height:30px;padding:6px 9px;background:#f4f3ff}.mesa-receipt-dialog .mesa-lines{border:0}.mesa-receipt-dialog .mesa-line{margin-bottom:12px;padding:15px 13px;border:1px solid #dce4f1;border-radius:15px;background:#f8fbff;min-height:58px;align-items:center}.mesa-receipt-dialog .mesa-line>label{align-items:center}.mesa-receipt-dialog .mesa-line strong{font-size:13px;color:#1d2940}.mesa-receipt-dialog .mesa-line small{font-size:10px;margin:3px 0}.mesa-receipt-dialog .mesa-line>div>b{font-size:14px;color:#7360ff}.mesa-receipt-dialog .mesa-remove{width:35px;height:35px;min-height:35px;border:1px solid #ffabb5;background:#fff2f5;color:#f34461;border-radius:11px}.mesa-receipt-dialog .mesa-bill-totals{padding:8px 15px 12px;border:1px solid #dce4f1;border-radius:15px;background:#f8fbff;margin-top:13px}.mesa-receipt-dialog .mesa-bill-totals>div{font-size:13px;margin:10px 0;color:#74839e}.mesa-receipt-dialog .mesa-bill-totals strong{color:#29364d}.mesa-receipt-dialog .mesa-fee-recipient{text-align:center;margin:9px 0;color:#99a2b7;font-size:11px}.mesa-receipt-dialog .mesa-fee-recipient button{font-size:11px;color:#7864ff}.mesa-receipt-dialog .mesa-discount-row button{font-size:12px;color:#7864ff}.mesa-receipt-dialog .mesa-bill-totals .mesa-grand{border-top:1px dashed #dce4f1;padding-top:15px}.mesa-receipt-dialog .mesa-grand strong{font-size:17px;color:#162239}.mesa-receipt-dialog .mesa-grand strong:last-child{font-size:24px;color:#7360ff}.mesa-receipt-dialog .mesa-per-person{display:flex;align-items:center;justify-content:space-between;text-align:left;background:transparent;padding:3px 0;margin:8px 0;font-size:12px}.mesa-receipt-dialog .mesa-per-person b{font-size:12px;color:#27354c}.mesa-receipt-dialog .mesa-payment{border-top:0;padding-top:18px}.mesa-receipt-dialog .mesa-payment>h3{font-size:14px;color:#18253a;margin-bottom:12px}.mesa-receipt-dialog .mesa-payment-modes button{font-size:12px;color:#2f3a51;min-height:40px}.mesa-receipt-dialog .mesa-payment-modes .active{background:#7660f5;border-color:#7660f5;color:white}.mesa-receipt-dialog .mesa-amount{padding:16px;border-radius:13px;background:linear-gradient(110deg,#655ff3,#8353f8);color:white;font-size:24px;margin:10px 0 12px}.mesa-receipt-dialog .mesa-payment-methods button{min-height:58px;font-size:12px;font-weight:600;color:#465676}.mesa-receipt-dialog .mesa-payment-methods .active{color:#735cff;border-color:#a18bff;background:#eee8ff}.mesa-receipt-dialog .mesa-payment-methods button:last-child{min-height:30px;font-size:10px}.mesa-receipt-dialog .mesa-drawer-foot{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px;padding:11px 17px 13px;border-top:1px solid #dce4f1;background:#f8fbff;flex:none}.mesa-receipt-dialog .mesa-drawer-foot button{min-height:37px;padding:8px 12px;font-size:11px;border-radius:11px;white-space:nowrap}.mesa-receipt-dialog .mesa-drawer-foot button:first-child{background:#00a883!important;border-color:#00a883!important}.mesa-receipt-dialog .mesa-drawer-foot [data-table=move]{background:#7561f6;border-color:#7561f6;color:white}.mesa-receipt-draft{padding:12px;border:1px solid #e9d9aa;background:#fff8e7;border-radius:12px;color:#9d8050;font-size:12px;line-height:1.7;margin-bottom:12px}.mesa-receipt-draft p{margin:0 0 8px}.mesa-receipt-draft button{font-size:12px}.mesa-workspace-head .mesa-return-receipt{font-size:12px;border:1px solid #dce2f1;border-radius:10px;background:#f8fbff;white-space:nowrap}
html[data-theme=dark] .mesa-receipt-dialog,html[data-theme=dark] .mesa-receipt-dialog .mesa-drawer-head,html[data-theme=dark] .mesa-receipt-dialog .mesa-line,html[data-theme=dark] .mesa-receipt-dialog .mesa-bill-totals,html[data-theme=dark] .mesa-receipt-dialog .mesa-drawer-foot{background:#25314a;border-color:#3b4961}html[data-theme=dark] .mesa-receipt-dialog .mesa-line strong,html[data-theme=dark] .mesa-receipt-dialog .mesa-drawer-head h2,html[data-theme=dark] .mesa-receipt-dialog .mesa-bill-totals strong{color:#dbe5f8}
@media(max-width:650px){dialog.mesa-receipt-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;inset:0;margin:0;border-radius:0}.mesa-receipt-dialog .mesa-drawer-head{padding:13px}.mesa-receipt-dialog .mesa-drawer-head h2{font-size:18px}.mesa-receipt-dialog .mesa-drawer-head p{font-size:10px}.mesa-receipt-dialog .mesa-drawer-body{padding:12px}.mesa-receipt-dialog .mesa-drawer-foot{padding:10px 10px max(12px,env(safe-area-inset-bottom));gap:6px;display:grid;grid-template-columns:1fr 1fr}.mesa-receipt-dialog .mesa-drawer-foot button{min-height:44px;font-size:12px;padding:9px 6px}.mesa-receipt-dialog .mesa-payment-modes button{min-height:44px}.mesa-receipt-dialog .mesa-payment-methods button{min-height:52px}.mesa-receipt-dialog .mesa-bill-totals{padding:8px 12px}.mesa-receipt-dialog .mesa-line{padding:12px 10px;gap:7px}.mesa-receipt-dialog .mesa-line>label{gap:9px}.mesa-receipt-dialog .mesa-line strong{font-size:12px}.mesa-receipt-dialog .mesa-line>div{gap:6px}.mesa-receipt-dialog .mesa-line>div>b{font-size:13px}.mesa-receipt-dialog .mesa-remove{width:30px;min-width:30px;height:34px;min-height:34px}.mesa-workspace-head .mesa-return-receipt{font-size:11px;padding:7px;min-width:0}}
/* Proporções compactas da janela de recebimento. */
dialog.mesa-receipt-dialog{width:660px;height:auto;max-height:calc(100dvh - 48px);border-radius:21px}.mesa-receipt-dialog #modal-body{height:auto}.mesa-receipt-dialog .mesa-drawer{height:auto;max-height:min(920px,calc(100dvh - 48px))}.mesa-receipt-dialog .mesa-drawer-head{min-height:70px;padding:13px 17px;gap:11px}.mesa-receipt-dialog .mesa-drawer-head h2{font-size:18px;margin-bottom:5px}.mesa-receipt-dialog .mesa-drawer-head p{font-size:11px;line-height:1.5}.mesa-receipt-dialog .mesa-drawer-number{width:44px;height:44px;font-size:21px;border-radius:13px}.mesa-receipt-dialog .mesa-drawer-body{padding:12px 17px 13px;flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-gutter:stable}.mesa-receipt-dialog .mesa-drawer-tools{margin:0 0 9px}.mesa-receipt-dialog .mesa-drawer-tools button{min-height:27px;font-size:10px;padding:5px 8px}.mesa-receipt-dialog .mesa-line{padding:11px 12px;min-height:53px;margin:0 0 9px;border-radius:13px}.mesa-receipt-dialog .mesa-line strong{font-size:13px;line-height:1.4}.mesa-receipt-dialog .mesa-line .mesa-item-note{display:table;width:auto;background:#fff1d7;color:#b58122;border-radius:6px;padding:3px 6px;line-height:1.2;font-size:10px;margin-top:5px}.mesa-receipt-dialog .mesa-line>div>b{font-size:14px}.mesa-receipt-dialog .mesa-remove{width:34px;height:34px;min-height:34px;font-size:20px}.mesa-receipt-dialog .mesa-bill-totals{margin-top:12px;padding:7px 15px 9px;border-radius:14px}.mesa-receipt-dialog .mesa-bill-totals>div{margin:9px 0;font-size:13px}.mesa-receipt-dialog .mesa-fee-recipient{font-size:10px;line-height:1.5;margin:7px 0}.mesa-receipt-dialog .mesa-discount-row:not(.has-discount)>span,.mesa-receipt-dialog .mesa-discount-row:not(.has-discount)>strong{display:none}.mesa-receipt-dialog .mesa-discount-row:not(.has-discount)>button{margin-left:0;padding:1px 0;min-height:23px}.mesa-receipt-dialog .mesa-bill-totals .mesa-grand{padding-top:12px;margin-top:11px}.mesa-receipt-dialog .mesa-grand strong{font-size:17px}.mesa-receipt-dialog .mesa-grand strong:last-child{font-size:23px}.mesa-receipt-dialog .mesa-per-person{font-size:12px;margin:9px 0 3px;line-height:1.5}.mesa-receipt-dialog .mesa-payment{padding:15px 0 0}.mesa-receipt-dialog .mesa-payment>h3{font-size:13px;margin-bottom:11px}.mesa-receipt-dialog .mesa-payment-modes{margin-bottom:10px;gap:8px}.mesa-receipt-dialog .mesa-payment-modes button{min-height:41px;padding:8px;font-size:12px}.mesa-receipt-dialog .mesa-amount{font-size:23px;padding:14px;line-height:1.3;margin:9px 0 11px;border-radius:13px}.mesa-receipt-dialog .mesa-payment-methods{gap:8px}.mesa-receipt-dialog .mesa-payment-methods button:not(:last-child){display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;min-height:68px;font-size:12px;padding:9px 5px;font-weight:550}.mesa-method-icon{width:19px;height:19px;display:block;color:#8670ff}.mesa-payment-methods button[data-id=Dinheiro] .mesa-method-icon{color:#04b28a}.mesa-payment-methods button[data-id=PIX] .mesa-method-icon{color:#17b9d8}.mesa-payment-methods button[data-id=Débito] .mesa-method-icon{color:#4889ff}.mesa-receipt-dialog .mesa-payment-methods button:last-child{padding:4px;min-height:24px;font-size:10px}.mesa-receipt-dialog .mesa-cash-tender{margin:9px 0;gap:12px}.mesa-receipt-dialog .mesa-cash-tender label{font-size:11px}.mesa-receipt-dialog .mesa-cash-tender input{min-height:36px;padding:8px 10px;font-size:13px;margin-top:4px}.mesa-receipt-dialog .mesa-print-option{margin:11px 0;font-size:11px}.mesa-receipt-dialog .mesa-pay-submit{min-height:46px;font-size:13px;padding:12px;background:linear-gradient(110deg,#0fbb92,#009573)!important;border-color:#00a881!important;border-radius:13px;box-shadow:0 5px 15px #0cb58e23}.mesa-receipt-dialog .mesa-payment>.mesa-hint{font-size:10px;line-height:1.5;margin:8px 0 0}.mesa-receipt-dialog .mesa-drawer-foot{padding:11px 16px 12px;gap:8px;min-height:60px}.mesa-receipt-dialog .mesa-drawer-foot button{min-height:38px;font-size:11px;padding:8px 12px}.mesa-panel-pay .mesa-method-icon{display:none}
@media(max-width:650px){dialog.mesa-receipt-dialog{height:100dvh;max-height:100dvh;max-width:100%;width:100%;border-radius:0}.mesa-receipt-dialog #modal-body{height:100%}.mesa-receipt-dialog .mesa-drawer{height:100%;max-height:100dvh}.mesa-receipt-dialog .mesa-drawer-head{padding:12px;min-height:70px}.mesa-receipt-dialog .mesa-drawer-body{padding:11px 12px 14px;scrollbar-gutter:auto}.mesa-receipt-dialog .mesa-drawer-foot{padding:10px 10px max(12px,env(safe-area-inset-bottom));min-height:0;gap:6px}.mesa-receipt-dialog .mesa-drawer-foot button{min-height:44px;font-size:12px;padding:9px 6px}.mesa-receipt-dialog .mesa-payment-modes button{min-height:44px}.mesa-receipt-dialog .mesa-payment-methods button:not(:last-child){min-height:62px;font-size:11px}.mesa-receipt-dialog .mesa-cash-tender input{font-size:16px;min-height:44px}.mesa-receipt-dialog .mesa-line strong{font-size:12px}.mesa-receipt-dialog .mesa-line>div>b{font-size:13px}.mesa-receipt-dialog .mesa-line{gap:7px;padding:11px 9px}.mesa-receipt-dialog .mesa-pay-submit{min-height:48px;font-size:12px}}
@media(min-width:651px){dialog.mesa-receipt-dialog{inset:50% auto auto 50%;margin:0;transform:translate(-50%,-50%);height:fit-content;max-height:min(922px,calc(100dvh - 48px))}}
@media(max-width:650px){dialog.mesa-receipt-dialog{transform:none;inset:0;margin:0}}
.mesa-receipt-confirm{flex:none;padding:8px 17px 12px;background:#f8fbff;box-shadow:0 -5px 14px #3c927b06}.mesa-receipt-confirm .mesa-pay-submit{width:100%;margin:0}.mesa-receipt-dialog .mesa-receipt-confirm{display:block}html[data-theme=dark] .mesa-receipt-confirm{background:#25314a}@media(max-width:650px){.mesa-receipt-confirm{padding:8px 12px 10px}}
.mesa-receipt-dialog.mesa-bill-requested .mesa-drawer-number{background:#f14357}.mesa-receipt-dialog .mesa-drawer-head>div{min-width:0}.mesa-receipt-dialog .mesa-drawer-head p{overflow-wrap:anywhere}
/* Recebimento em dinheiro aparece somente após selecionar a forma. */
.mesa-receipt-dialog .mesa-payment-methods [data-table=method].active{border-color:#9b83fa;background:#eee8ff}.mesa-receipt-dialog .mesa-payment-methods [data-id=Dinheiro].active{border-color:#12bd92;background:#e6f8f1;box-shadow:0 0 0 1px #6ed7bc55;color:#17896f}.mesa-receipt-dialog .mesa-cash-tender{display:block;margin:10px 0}.mesa-receipt-dialog .mesa-cash-tender label{font-size:11px;color:#647089;line-height:1.5;margin:0}.mesa-receipt-dialog .mesa-cash-tender input{display:block;width:100%;margin-top:5px;min-height:39px;border:1px solid #dce4f1;border-radius:10px;background:#fff;padding:9px 11px;font-size:14px}.mesa-receipt-dialog .mesa-cash-tender input[aria-invalid=true]{border-color:#e78891}.mesa-receipt-dialog #mesa-change{display:block;padding:8px 10px;margin:7px 0 0;border-radius:9px;background:#e5f7ef;color:#0b9c77;font-size:13px;font-weight:650}.mesa-receipt-dialog #mesa-change[hidden]{display:none}.mesa-receipt-dialog #mesa-change.invalid{background:#fff0ef;color:#c95c63}.mesa-payment-validation{font-size:11px;color:#ba5965;line-height:1.6;margin:8px 0}.mesa-payment-validation:empty{display:none}.mesa-receipt-dialog .mesa-payment-methods [data-id=PIX].active{border-color:#54bbd6;background:#eaf9fc}.mesa-receipt-dialog .mesa-payment-methods [data-id=Débito].active{border-color:#7ca3f1;background:#edf3ff}
@media(max-width:650px){.mesa-receipt-dialog .mesa-cash-tender input{min-height:44px;font-size:16px}.mesa-receipt-dialog .mesa-cash-tender label{font-size:11px}}
.mesa-receipts>div{flex-wrap:wrap}.mesa-receipts>div>small{flex-basis:100%;font-size:10px;color:#8797ae;line-height:1.6}
/* Abertura e edição de mesa em formulário compacto. */
dialog.mesa-party-dialog{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;width:440px;max-width:calc(100vw - 28px);height:auto;max-height:calc(100dvh - 28px);overflow-y:auto;padding:19px 18px 17px;border:1px solid #dfe5ef;border-radius:18px;background:#f8fbff;box-shadow:0 20px 70px #18253c33}.mesa-party-dialog>#close-modal{display:none}.mesa-party-dialog #modal-body{height:auto}.mesa-party h2{display:flex;align-items:center;gap:7px;margin:0 0 19px;font-size:17px;font-weight:700;letter-spacing:-.3px;color:#152239}.mesa-party h2 svg{display:block;width:16px;height:16px;color:#7562ff;flex:none}.mesa-party label{display:block;font-size:12px;line-height:1.5;color:#63718b;font-weight:550;margin:0 0 12px}.mesa-party input,.mesa-party select{display:block;width:100%;min-height:40px;margin:5px 0 0;border:1px solid #d7dfed;border-radius:10px;background:#f8fbff;color:#2e3d57;padding:9px 10px;font-size:13px;font-weight:400}.mesa-party input::placeholder{color:#9aa5b8}.mesa-party input:focus,.mesa-party select:focus{outline:2px solid #d8d0ff;outline-offset:1px;border-color:#9b88fc}.mesa-party .mesa-party-guests-label{margin:0 0 6px}.mesa-party-stepper{display:flex;align-items:center;gap:8px;margin:0 0 11px}.mesa-party-stepper button{display:grid;place-items:center;width:41px;height:42px;min-height:42px;padding:0;border:1px solid #d7dfed;border-radius:11px;background:#f8fbff;color:#24354e;font-size:20px;font-weight:500}.mesa-party-stepper input{width:79px;height:42px;min-height:42px;margin:0;padding:7px;text-align:center;font-weight:750;font-size:20px;appearance:textfield}.mesa-party-stepper input::-webkit-inner-spin-button,.mesa-party-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}.mesa-party-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:19px}.mesa-party-actions button{min-height:38px;font-size:12px;padding:9px 13px;border-radius:11px;font-weight:550;white-space:nowrap}.mesa-party-actions .secondary{border:1px solid #d6deeb;background:#f8fbff;color:#24334a;box-shadow:0 1px 2px #263c5908}.mesa-party-actions .mesa-party-submit{border:1px solid #7160f4;background:#7160f4;color:white;box-shadow:0 3px 8px #7160f419}.mesa-party .error{margin:8px 0;font-size:12px}.mesa-party .error:empty{display:none}.mesa-party-notes{font-size:11px;color:#8491ab;margin-top:8px}.mesa-party-notes summary{cursor:pointer;margin-bottom:7px}.mesa-party button:focus-visible{outline:2px solid #8976ff;outline-offset:2px}.mesa-party button:disabled{opacity:.45;cursor:default}html[data-theme=dark] dialog.mesa-party-dialog{background:#25314a;border-color:#3d4960}html[data-theme=dark] .mesa-party h2{color:#e0e9fa}html[data-theme=dark] .mesa-party input,html[data-theme=dark] .mesa-party select,html[data-theme=dark] .mesa-party-stepper button,html[data-theme=dark] .mesa-party-actions .secondary{background:#293851;color:#dbe5f6;border-color:#41516c}html[data-theme=dark] .mesa-party label{color:#a9b6ce}
@media(max-width:650px){dialog.mesa-party-dialog{width:440px;max-width:calc(100vw - 28px);padding:18px 16px;max-height:calc(100dvh - 28px)}.mesa-party h2{font-size:17px}.mesa-party input,.mesa-party select{min-height:44px;font-size:16px}.mesa-party-stepper button{width:44px;height:44px;min-height:44px}.mesa-party-stepper input{width:80px;font-size:20px;min-height:44px}.mesa-party-actions button{min-height:44px;font-size:13px;padding:10px 13px}}

/* Cadeiras ocupadas: topo, base, esquerda e direita. */
.mesa-card .mesa-table-shape .chair,.mesa-party-preview .mesa-table-shape .chair{background:#dce4f1}.mesa-card.occupied .mesa-table-shape .chair.seated,.mesa-party-preview .mesa-table-shape .chair.seated{background:#f59e0b}.mesa-card.bill .mesa-table-shape .chair.seated{background:#f24f68}.mesa-party-preview{display:flex;justify-content:center;margin:-8px 0 8px}.mesa-party-preview .mesa-table-shape{margin:0;transform:scale(.85);height:83px}.mesa-party-preview .mesa-table-shape>strong{background:#fff2da;border-color:#f8cf8a;color:#a34c18}

.mesa-options-overlay{position:fixed;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:16px;background:#18223888;backdrop-filter:blur(2px)}.mesa-options-box{width:540px;max-width:100%;max-height:calc(100dvh - 32px);display:flex;flex-direction:column;background:#f8fbff;border:1px solid #dbe3ef;border-radius:20px;box-shadow:0 20px 70px #101c3d44;overflow:hidden;color:#152239}.mesa-options-box header{display:flex;align-items:center;justify-content:space-between;padding:17px;border-bottom:1px solid #dce3ef}.mesa-options-box h2{font-size:18px;margin:0}.mesa-options-box header button{border:0;background:#edf2fa;border-radius:10px;width:34px;height:34px}.mesa-options-body{overflow:auto;padding:18px}.mesa-options-body h3{font-size:13px;display:flex;justify-content:space-between;gap:10px;margin:0 0 10px}.mesa-options-body h3 small{font-size:11px;font-weight:400;color:#8591a7}.mesa-option-chips{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}.mesa-option-chips button{border:1px dashed #cbd7e9;border-radius:30px;background:transparent;padding:9px 12px;font-size:12px;color:inherit}.mesa-options-box button[aria-pressed=true]{background:#e8e3ff;border-color:#7962ff;color:#6951de}.mesa-options-body label{display:block;font-size:13px;border-top:1px solid #dce3ef;padding-top:14px}.mesa-options-body textarea{width:100%;min-height:45px;margin:8px 0;border:1px solid #d6e0ed;border-radius:10px;padding:10px;background:transparent;color:inherit;font:inherit}.mesa-option-addons{display:grid;gap:8px;margin-bottom:15px}.mesa-option-addons button{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid #d6e0ed;border-radius:10px;background:transparent;color:inherit;font-size:13px}.mesa-options-box .mesa-options-footer{display:flex;gap:12px;padding:14px 17px;border-top:1px solid #dce3ef}.mesa-options-box .mesa-options-footer>.mesa-primary{flex:1;border-radius:12px;font-size:14px;font-weight:700;min-height:44px}.mesa-option-qty{display:flex;align-items:center;gap:12px;border:1px solid #d6e0ed;border-radius:10px;padding:3px}.mesa-option-qty button{border:0;border-radius:8px;background:#eef3fb;width:33px;min-height:36px}.mesa-options-box .error:empty{display:none}html[data-theme=dark] .mesa-options-box{background:#25314a;color:#dce6f5}@media(max-width:650px){.mesa-options-box{border-radius:16px}.mesa-options-body{padding:14px}.mesa-options-box .mesa-options-footer{padding:12px;gap:8px}.mesa-options-body textarea{font-size:16px}.mesa-option-chips button{min-height:40px}.mesa-options-box h2{font-size:16px}}

/* Histórico de contas: tabela compacta e reimpressão sem alterar a conta. */
dialog.mesa-history-dialog{width:560px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);padding:0;border-radius:19px;background:var(--panel,#fff);color:var(--text,#182032)}.mesa-history-dialog #modal-body{padding:18px}.mesa-history-dialog #close-modal{display:none}.mesa-history-panel header h2{display:flex;align-items:center;gap:6px;font-size:16px;margin:0 0 8px}.mesa-history-panel header h2 svg{color:#6860ff}.mesa-history-panel header p{font-size:12px;color:#8791a5;margin:0 0 18px}.mesa-history-scroll{max-height:60dvh;overflow:auto}.mesa-history-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.mesa-history-table th{text-align:left;font-size:10px;text-transform:uppercase;color:#8590a5;font-weight:600;padding:8px 5px 12px}.mesa-history-table th:first-child{width:12%}.mesa-history-table th:nth-child(2){width:31%}.mesa-history-table th:nth-child(3){width:23%}.mesa-history-table th:last-child{width:38px}.mesa-history-table td{border-top:1px solid #e0e5ef;padding:12px 5px;overflow-wrap:anywhere;vertical-align:middle}.mesa-history-table strong{font-weight:650}.mesa-history-table small{display:block;color:#8791a5;font-size:10px;margin-top:5px;line-height:1.4}.mesa-history-table .amount{text-align:right;white-space:nowrap}.mesa-history-print{display:grid;place-items:center;width:34px;min-height:32px;padding:7px;border:1px solid #dbe1ed;border-radius:10px;background:transparent;color:inherit}.mesa-history-panel footer{display:flex;justify-content:flex-end;border-top:1px solid #e0e5ef;padding-top:18px}.mesa-history-panel footer button{border:1px solid #dbe1ed;border-radius:10px;background:transparent;color:inherit;min-height:36px;padding:8px 14px;font-size:12px}.mesa-history-empty{text-align:center;padding:24px 8px;color:#8791a5;font-size:13px}.mesa-history-print:hover,.mesa-history-panel footer button:hover{background:#6860ff12}.mesa-history-print:focus-visible,.mesa-history-panel footer button:focus-visible{outline:2px solid #6860ff;outline-offset:2px}@media(max-width:520px){.mesa-history-dialog #modal-body{padding:14px}.mesa-history-table{font-size:11px}.mesa-history-table td{padding:11px 3px}.mesa-history-table th{padding-left:3px;padding-right:3px}.mesa-history-table small{font-size:9px}.mesa-history-print{width:32px;min-height:36px}.mesa-history-panel footer button{min-height:42px}}

/* Mantém o botão Fechar visível, sem herdar a ocultação do rodapé da página. */
.tables-layout .mesa-history-panel>footer{display:flex;padding:18px 0 0;margin:0}.mesa-history-table th:last-child{width:42px}.mesa-history-table td:last-child{padding-left:12px}.mesa-history-table td{padding-top:10px;padding-bottom:10px}.mesa-history-table th{font-size:10px;font-weight:500}.mesa-history-panel header h2{font-size:16px;font-weight:650}.mesa-history-panel header p{margin-bottom:14px}.mesa-history-table tbody tr:last-child td{border-bottom:1px solid #e0e5ef}.mesa-history-panel>footer{border-top:0}.mesa-history-print{font-weight:400}.mesa-history-print svg{width:15px;height:15px}@media print{dialog::backdrop{background:transparent!important}#print-area.mesa-print-report td:last-child{text-align:right;white-space:nowrap;padding-left:8px}#print-area.mesa-print-report table{width:100%;border-collapse:collapse}}

/* Indicadores compactos conforme o painel de mesas. */
@media(min-width:761px){.mesa-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.mesa-stat{min-height:112px;padding:20px 17px;border-radius:17px;justify-content:center}.mesa-stat>span{font-size:11px;padding-right:26px}.mesa-stat>strong{font-size:25px;line-height:1.2;margin-top:16px;letter-spacing:-.6px;overflow-wrap:normal;white-space:nowrap;font-variant-numeric:tabular-nums}.mesa-stat>i{top:17px;right:14px;width:28px;height:28px;border-radius:8px}}

.mesa-stat>i.orange{background:#fff3df;color:#f59e0b}.mesa-stat-cutlery{display:block;width:18px;height:18px;flex:none}

.mesa-stat-symbol{display:block;width:18px;height:18px;flex:none}.mesa-stat>i.purple{background:#e8e8ff;color:#7770f5}.mesa-stat>i.blue{background:#eaf0ff;color:#5f91f5}.mesa-stat>i.green{background:#e3f7f0;color:#15b990}
