*{box-sizing:border-box}body{margin:0;background:#f7f8f2;color:#29482e;font:14px/1.6 system-ui}button,input,select{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #285036;border-radius:10px;background:#285036;color:white;padding:12px 17px;font-size:12px;cursor:pointer}button:disabled{opacity:.45;cursor:default}button.secondary{background:white;color:#7a985e;border-color:#dce6d0}.text-button{background:none;border:0;color:#9a8663;font-size:10px}.tables-top{display:flex;gap:25px;align-items:center;justify-content:space-between;padding:22px 4%;background:white;border-bottom:1px solid #dee7d4}.tables-top .wordmark{font-size:25px;color:#385e31}.tables-top .brand-mark{width:34px;height:34px;border-radius:10px}.tables-top small{font-size:8px;letter-spacing:.12em;color:#8fa976}.tables-top>a:last-child{font-size:11px;display:flex;gap:8px;align-items:center;text-decoration:none;color:#7d9a61}.tables-top>a:last-child>.icon{width:15px;height:15px}main{max-width:1400px;margin:auto;padding:35px 4%}.tables-heading{display:flex;align-items:center;gap:30px;justify-content:space-between}.eyebrow{font-size:9px;color:#8ba570;letter-spacing:.12em}h1{font-size:33px;line-height:1.15;font-weight:550;margin:17px 0}h2{font-size:23px;line-height:1.25;font-weight:550}p{color:#81976e;font-size:12px;line-height:1.9}.tables-heading p{max-width:650px}.table-create{display:flex;align-items:center;gap:40px;border:1px solid #e0e7d5;background:white;border-radius:20px;padding:25px;margin:30px 0}.table-create>div{max-width:320px}.table-create h2{font-size:21px;margin:0 0 10px}.table-create p{font-size:11px;margin:0}.table-create form{display:flex;align-items:flex-end;gap:14px;flex:1}.table-create label{flex:1;min-width:0;font-size:10px;color:#819d66}input,select{display:block;width:100%;border:1px solid #d9e4cd;border-radius:9px;padding:11px;margin-top:7px;color:#5e7e44;background:white}.table-create form label:first-child,.table-create form label:nth-child(2){max-width:110px}.table-create button{white-space:nowrap;font-size:11px}.table-info{display:flex;align-items:center;gap:12px;background:#f0f5e4;padding:15px 20px;border-radius:12px;margin-bottom:25px;color:#8aa66d}.table-info p{margin:0;font-size:10px;color:#8aa270}.table-info>.icon{width:20px;height:20px;flex:none}.tables-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:20px}.table-card{background:white;border:1px solid #dfe7d4;border-radius:20px;padding:24px}.table-card-heading{display:flex;gap:15px;align-items:center}.table-number{display:flex;align-items:center;justify-content:center;width:50px;height:50px;background:#edf4df;border-radius:13px;font-size:22px;letter-spacing:-.05em;color:#6f9150}.table-card h2{font-size:20px;margin:0 0 5px}.table-state{font-size:10px;color:#91a77b}.table-state.occupied{color:#b18a49}.table-qr{width:150px;height:150px;margin:22px auto;background:white}.table-qr svg{display:block;width:100%;height:100%}.table-consumption{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid #e6eddb;padding-top:20px}.table-consumption>span{font-size:10px;color:#90a679}.table-consumption>strong{font-size:20px;font-weight:550;color:#658a45}.table-consumption>small{display:block;width:100%;font-size:10px;color:#9bae87}.table-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.table-actions button{font-size:10px;padding:9px 11px}.table-actions .icon{width:14px;height:14px}.table-actions>a{display:flex;align-items:center;gap:5px;width:100%;font-size:10px;color:#8ca771;text-decoration:none;margin-top:7px}.table-actions>a>.icon{width:12px;height:12px}.table-actions>.text-button{padding:4px 0;color:#ae9874}.pos-note{display:flex;align-items:flex-start;gap:25px;margin:35px 0;padding:30px;border:1px solid #dee7d2;background:#eff4e4;border-radius:20px}.pos-note>.icon{width:35px;height:35px;color:#96ad78;flex:none}.pos-note h2{font-size:24px;margin:0 0 15px}.pos-note p{max-width:850px;font-size:12px}.pos-note a{display:flex;align-items:center;gap:7px;font-size:11px;color:#81a05c;text-decoration:none}.pos-note a>.icon{width:14px;height:14px}#message:empty{display:none}#message:not(:empty){background:#fcf3da;border:1px solid #eee3c5;border-radius:12px;padding:14px 18px;color:#a38549;font-size:12px}#account{width:min(580px,94vw);max-height:90dvh;border:1px solid #dce6d0;border-radius:20px;padding:30px;color:#456b35}#account::backdrop{background:#143c2bc0;backdrop-filter:blur(4px)}.close{float:right;background:#f0f5e6;color:#90a975;border:0;padding:8px;margin:-10px -10px 10px 10px}.close>.icon{width:17px;height:17px}.bill>strong{display:block;font-size:19px;color:#587943}.bill h2{font-size:25px;margin:10px 0}.bill>p,.bill small{font-size:11px;color:#91a77c;line-height:1.8}.bill hr{border:0;border-top:1px dashed #d8e3cb;margin:20px 0}.bill-order{padding:14px 0;border-bottom:1px solid #edf2e4}.bill-order>strong{font-size:11px;color:#76985b}.bill-order p{display:flex;justify-content:space-between;gap:15px;font-size:11px;line-height:1.7;color:#8da577}.bill-order b{white-space:nowrap;font-weight:650}.bill-subtotal{justify-content:flex-end!important}.bill-total{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px;color:#7d9a60}.bill-total>strong{font-size:25px;font-weight:550;color:#5f8643}.account-warning{font-size:11px;color:#a49061;background:#faf5e7;border-radius:9px;padding:12px}.account-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.account-actions button{font-size:11px}.account-actions .icon{width:15px;height:15px}#account-message{color:#a47a41;font-size:11px}.delivery-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.delivery-actions>button{font-size:10px}.service-pairing{max-width:580px;margin:4vh auto;background:white;border:1px solid #dfe7d3;border-radius:24px;padding:40px}.service-pairing h1{font-size:33px;line-height:1.15}.service-pairing p{font-size:13px;color:#829a6c}.service-pairing form{margin-top:30px}.service-pairing label{font-size:12px;color:#819b65}.service-pairing input{font:20px monospace;letter-spacing:.1em;text-align:center;padding:15px;margin:10px 0 20px;text-transform:uppercase}.service-pairing button{width:100%}.feature-icon{display:inline-flex;padding:15px;background:#edf4df;color:#90ad6d;border-radius:14px}.feature-icon>.icon{width:27px;height:27px}.service-heading{display:flex;align-items:center;justify-content:space-between;gap:25px}.service-heading h1{font-size:29px}.service-tablebar{display:flex;align-items:flex-end;gap:20px;background:white;border:1px solid #dfe7d3;padding:20px;border-radius:14px;margin:20px 0}.service-tablebar label{font-size:11px;color:#91a979;flex:1;max-width:450px}.service-scope{font-size:10px;color:#a59c7b;background:#f9f5e9;border-radius:10px;padding:12px 17px}#device-label{font-size:11px;color:#96ae7e;margin-left:auto}#exit{font-size:10px;padding:9px}#paper{display:none}.qr-display{text-align:center;width:88mm;min-height:125mm;border:1px solid #c8d5bd;padding:9mm;border-radius:8mm;background:#fff;color:#23442d;break-inside:avoid}.qr-display>.eyebrow{font-size:10pt;color:#648349;display:block;letter-spacing:.04em}.qr-display h2{font-size:27pt;margin:8mm 0 2mm;color:#284f32}.qr-image{width:58mm;height:58mm;margin:auto}.qr-image svg{display:block;width:100%;height:100%}.qr-display>strong{font-size:14pt;display:block;margin:5mm 0}.qr-display>p{font-size:10pt;line-height:1.6;color:#6e865c}.qr-display>small{font-size:7pt;color:#8fa27e}.table-notice{display:flex;align-items:center;gap:13px;padding:17px 20px;border:1px solid #d8e5c6;border-radius:13px;background:#edf5df;color:#5f8642;margin-bottom:22px}.table-notice strong{display:block;font-size:17px}.table-notice span{display:block;font-size:11px;margin-top:4px;color:#8aa46d}.table-notice>.icon{width:26px;height:26px}.table-marker{display:inline-flex;padding:5px 10px;border-radius:8px;background:#eef4e2;color:#7d9c5c;font-size:12px;font-weight:700;margin-top:12px}
@media(max-width:1050px){.table-create{display:block}.table-create>div{max-width:none;margin-bottom:20px}.table-create form{gap:15px}.tables-heading h1{font-size:29px}}
@media(max-width:760px){main{padding:25px 18px}.tables-top{padding:18px;gap:12px;flex-wrap:wrap}.tables-top .wordmark{font-size:22px}.tables-top>a:last-child{font-size:10px}.tables-top small{font-size:7px}.tables-heading{display:block}.tables-heading h1{font-size:28px}.tables-heading>button{margin-top:12px;font-size:11px}.table-create{padding:22px}.table-create form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.table-create label{max-width:none!important}.table-create form label:nth-child(3){grid-column:1/-1}.table-create button{grid-column:1/-1;width:100%}.tables-grid{grid-template-columns:1fr}.table-card{padding:24px}.table-info{padding:15px}.table-info p{font-size:10px}.pos-note{padding:23px;gap:15px}.pos-note h2{font-size:24px}.pos-note>.icon{width:24px;height:24px}.pos-note p{font-size:11px}.service-heading h1{font-size:25px}.service-heading>.secondary{font-size:0;padding:10px}.service-heading>.secondary>.icon{width:16px;height:16px}.service-tablebar{display:block;padding:18px}.service-tablebar button{margin-top:15px}.service-pairing{padding:28px;margin-top:20px}.service-pairing h1{font-size:29px}.service-pairing p{font-size:12px}.account-actions{display:grid}.account-actions>button{width:100%}#device-label{display:none}.table-notice{padding:15px}.table-notice strong{font-size:16px}.table-notice span{font-size:10px}}
@media print{@page{margin:8mm}body{background:white!important}body>*:not(#paper){display:none!important}#paper{display:block!important;color:#000;background:#fff}.qr-sheets{display:grid;grid-template-columns:88mm 88mm;gap:8mm;justify-content:center}.qr-display{border-radius:4mm}.qr-display .qr-image{display:block}body[data-print=bill] #paper{width:58mm;margin:0 auto}.bill{width:100%;font-family:monospace;color:#000!important;font-size:10pt}.bill>strong,.bill h2,.bill>p,.bill small,.bill-order>strong,.bill-order p,.bill-total,.bill-total>strong{color:#000!important}.bill>strong{font-size:12pt}.bill h2{font-size:13pt}.bill>p,.bill small,.bill-order p{font-size:8pt}.bill-order>strong{font-size:9pt}.bill-total{font-size:8pt}.bill-total>strong{font-size:13pt}.bill-order{break-inside:avoid}.bill hr{border-color:#000}}
.integration-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;margin-top:30px;align-items:start}.integration-form{display:grid;gap:25px}.integration-form>section{background:white;padding:30px;border:1px solid #dfe7d3;border-radius:20px}.integration-form h2{font-size:26px}.integration-form p{font-size:12px}.integration-form label{font-size:12px;color:#7c9863;display:block;margin-top:20px}.integration-status{padding:35px;border:1px solid #dee8cf;background:#edf4e0;border-radius:20px;position:sticky;top:25px}.integration-status>.icon{width:35px;height:35px;color:#9cb67c}.integration-status h2{font-size:27px}.integration-status p{font-size:12px;color:#89a16f}.integration-status a{display:flex;align-items:center;gap:8px;margin-top:25px;font-size:12px;color:#799d55;text-decoration:none}.integration-status a>.icon{width:15px;height:15px}@media(max-width:760px){.integration-layout{grid-template-columns:1fr;gap:25px}.integration-form>section{padding:25px}.integration-status{position:static;padding:28px}}
/* Atendimento: pedidos e caixa (16/11/2026) */
.service-tabs,.service-filters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.service-tabs button[aria-pressed=true],.service-filters button[aria-pressed=true]{outline:3px solid currentColor}
.service-tabs b:not(:empty){background:#b45309;color:#fff;border-radius:999px;padding:0 8px;margin-left:4px}
.service-orders{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.service-order{border:1px solid #ddd8cc;border-radius:14px;padding:14px;background:#fff;display:grid;gap:8px}
.service-order header{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.service-order .ticket{font-size:1.5rem;margin-right:auto}
.service-order .badge{font-size:.78rem;padding:2px 8px;border-radius:999px;background:#eef0ea}
.service-order .badge.paid{background:#dff3e6;color:#145c32}.service-order .badge.due{background:#fff1d6;color:#7a4b00}
.service-order ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.service-order li{display:flex;gap:8px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.service-order li span{display:grid}.service-order li small{opacity:.75}
.item-cancelled span,.item-cancelled b{text-decoration:line-through;opacity:.55}
.cancel-reason{color:#a3261b;font-weight:600;opacity:1!important;text-decoration:none!important}
.service-order footer{display:grid;gap:8px}.service-order .actions{display:flex;flex-wrap:wrap;gap:8px}
.status-awaiting_payment{border-color:#e7a33c}.status-ready{border-color:#2f8a4e}.status-cancelled{opacity:.7}
#pay-dialog fieldset{display:grid;gap:8px;border:0;padding:0}
