/* GoBites Restaurante V196 — combos, pedido manual e clientes */
.gb196-combo-btn{border-color:#d8dde5!important;background:#fff!important;color:#172033!important}.gb196-combo-shell{width:min(920px,94vw);max-height:84vh;overflow:auto}.gb196-combo-shell>header{padding:2px 2px 18px;border-bottom:1px solid #eaecf0}.gb196-combo-shell>header small,.gb196-combo-group-head small{color:#d71935;font-size:10px;font-weight:900;letter-spacing:.12em}.gb196-combo-shell h2{margin:5px 0 7px}.gb196-combo-shell p{margin:0;color:#667085;line-height:1.5}.gb196-combo-shell form{display:grid;gap:18px;padding-top:18px}.gb196-combo-basic{display:grid;grid-template-columns:1fr 1fr;gap:13px}.gb196-combo-basic label,.gb196-group-name{display:grid;gap:6px;color:#344054;font-size:12px;font-weight:800}.gb196-combo-basic .wide{grid-column:1/-1}.gb196-combo-basic input,.gb196-combo-basic select,.gb196-combo-basic textarea,.gb196-group-name input,.gb196-inventory-options input[type=number]{width:100%;min-height:43px;padding:10px 12px;border:1px solid #dfe3e8;border-radius:11px;background:#fff;color:#172033}.gb196-combo-basic textarea{min-height:82px;resize:vertical}.gb196-combo-group{padding:17px;border:1px solid #e5e8ed;border-radius:18px;background:#fafbfc}.gb196-combo-group-head{margin-bottom:13px}.gb196-combo-group-head h3{margin:4px 0 4px}.gb196-group-name{max-width:430px;margin-bottom:13px}.gb196-inventory-options{display:grid;gap:9px}.gb196-inventory-options article{display:grid;grid-template-columns:minmax(240px,1fr) 180px 130px;gap:12px;align-items:center;padding:12px;border:1px solid #e4e7ec;border-radius:13px;background:#fff}.gb196-inventory-options article.selected{border-color:#d71935;box-shadow:0 0 0 2px rgba(215,25,53,.06)}.gb196-check{display:flex;align-items:center;gap:10px}.gb196-check span,.gb196-check b,.gb196-check small{display:block}.gb196-check small{margin-top:3px;color:#667085;font-size:10px}.gb196-inventory-options article>label:not(.gb196-check){display:grid;gap:4px;color:#475467;font-size:10px;font-weight:800}.gb196-inventory-options article>label small{font-weight:500}.gb196-default-choice{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:7px!important}.gb196-combo-shell footer{display:flex;justify-content:flex-end;gap:9px}.gb196-no-inventory{padding:18px;border:1px dashed #d0d5dd;border-radius:12px;text-align:center}.gb196-no-inventory b,.gb196-no-inventory span{display:block}.gb196-no-inventory span{margin-top:5px;color:#667085}.gb196-combo-badge{display:inline-flex;width:max-content;margin:6px 0 0;padding:4px 7px;border-radius:999px;background:#fff0f2;color:#c8102e;font-size:9px;font-weight:900;letter-spacing:.08em}.gb196-combo-default{display:grid!important;justify-items:start!important;gap:4px!important}.gb196-combo-default input{width:18px!important;height:18px!important}.manual-extras196{margin:13px 0;padding:13px;border:1px solid #e4e7ec;border-radius:14px;background:#fafbfc}.manual-extras-head196{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.manual-extras-head196 b,.manual-extras-head196 small{display:block}.manual-extras-head196 small{margin-top:3px;color:#667085;font-size:10px;line-height:1.4}.manual-extra-row196{display:grid;grid-template-columns:1fr 130px 90px 34px;gap:8px;align-items:end;margin-top:9px}.manual-extra-row196>input,.manual-extra-row196 label input{width:100%;min-height:39px;padding:8px 10px;border:1px solid #dfe3e8;border-radius:9px}.manual-extra-row196 label{display:grid;gap:3px;font-size:9px;font-weight:800;color:#667085}.manual-extra-row196 button{width:34px;height:39px;border:0;border-radius:9px;background:#fff0f2;color:#c8102e;font-size:20px;cursor:pointer}.manual-option-unavailable196{opacity:.55}.manual-option-unavailable196 input{cursor:not-allowed}#manualDeliveryStatus196{display:block;margin-top:5px;color:#667085;font-size:10px;font-weight:600}#manualDeliveryStatus196[data-type=ok]{color:#157347}#manualDeliveryStatus196[data-type=error]{color:#b42318}#manualDeliveryStatus196[data-type=loading]{color:#344054}.gb196-client-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:12px}.gb196-client-kpis article{padding:16px;border:1px solid #e4e7ec;border-radius:16px;background:#fff}.gb196-client-kpis small,.gb196-client-kpis b,.gb196-client-kpis span{display:block}.gb196-client-kpis small{color:#667085;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.gb196-client-kpis b{margin:6px 0 3px;font-size:24px}.gb196-client-kpis span{color:#667085;font-size:10px}.gb196-clients-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:13px}.gb196-clients-head h3{margin:0 0 4px}.gb196-clients-head p{margin:0;color:#667085;font-size:11px}.gb196-client-table td>small{display:block;margin-top:3px;color:#667085}.gb196-sources{display:flex;flex-wrap:wrap;gap:5px}.gb196-source{padding:4px 7px;border-radius:999px;background:#f2f4f7;color:#344054;font-size:9px;font-weight:850}.gb196-source.source-whatsapp{background:#ecfdf3;color:#087a45}.gb196-source.source-gobites{background:#fff0f2;color:#c8102e}.gb196-linked,.gb196-pending{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:850}.gb196-linked{background:#ecfdf3;color:#087a45}.gb196-pending{background:#f2f4f7;color:#667085}.gb196-whatsapp{display:inline-flex;align-items:center;gap:7px;min-height:35px;padding:7px 10px;border:0;border-radius:10px;background:#25D366;color:#fff;font-size:10px;font-weight:850;cursor:pointer;white-space:nowrap}.gb196-whatsapp svg{width:17px;height:17px}.gb196-no-action{color:#98a2b3}
@media(max-width:760px){.gb196-combo-basic{grid-template-columns:1fr}.gb196-combo-basic .wide{grid-column:auto}.gb196-inventory-options article{grid-template-columns:1fr}.gb196-client-kpis{grid-template-columns:1fr}.manual-extra-row196{grid-template-columns:1fr 1fr}.manual-extra-row196>input{grid-column:1/-1}.manual-extra-row196 button{align-self:end}.gb196-combo-shell{width:100%}}
.gb196-client-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.gb196-history-btn{min-height:35px;padding:7px 10px;border:1px solid #dfe3e8;border-radius:10px;background:#fff;color:#344054;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.gb196-history>header{padding-bottom:13px;border-bottom:1px solid #eaecf0}.gb196-history>header small{color:#d71935;font-size:10px;font-weight:900;letter-spacing:.1em}.gb196-history>header h2{margin:5px 0}.gb196-history>header p{margin:0;color:#667085}.gb196-history>div{display:grid;gap:8px;margin:14px 0}.gb196-history article{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:11px;border:1px solid #e4e7ec;border-radius:12px}.gb196-history article b,.gb196-history article small{display:block}.gb196-history article small{margin-top:3px;color:#667085;font-size:10px}.gb196-history>button{width:100%}

/* V197 — correção estrutural do modal de combo */
.modal-card:has(.gb196-combo-shell){width:min(980px,calc(100vw - 32px))!important;max-width:980px!important;max-height:calc(100vh - 32px)!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important}
.modal-card:has(.gb196-combo-shell)>.modal-close{top:18px!important;right:18px!important;z-index:30!important}
.gb196-combo-shell{width:100%!important;max-width:none!important;max-height:calc(100vh - 32px)!important;overflow:auto!important;box-sizing:border-box!important;padding:24px 26px 22px!important}
.gb196-combo-shell>header{padding:0 58px 18px 0!important}
.gb196-combo-shell form{min-width:0!important}
.gb196-combo-basic>*{min-width:0!important}
.gb196-combo-basic input,.gb196-combo-basic select,.gb196-combo-basic textarea,.gb196-group-name input,.gb196-inventory-options input[type=number]{box-sizing:border-box!important;min-width:0!important}
.gb196-inventory-options{min-width:0!important}
.gb196-inventory-options article{min-width:0!important;grid-template-columns:minmax(0,1fr) minmax(150px,190px) minmax(120px,145px)!important}
.gb196-check,.gb196-check span{min-width:0!important}.gb196-check b{overflow-wrap:anywhere!important}
.gb196-combo-shell footer{position:sticky!important;bottom:-22px!important;margin:2px -26px -22px!important;padding:15px 26px!important;background:rgba(255,255,255,.97)!important;border-top:1px solid #eaecf0!important;z-index:12!important;backdrop-filter:blur(8px)!important}
@media(max-width:760px){.modal-card:has(.gb196-combo-shell){width:calc(100vw - 16px)!important;max-height:calc(100vh - 16px)!important}.gb196-combo-shell{max-height:calc(100vh - 16px)!important;padding:20px 16px 18px!important}.gb196-combo-shell>header{padding-right:46px!important}.gb196-inventory-options article{grid-template-columns:1fr!important}.gb196-combo-shell footer{bottom:-18px!important;margin:2px -16px -18px!important;padding:13px 16px!important;flex-wrap:wrap!important}.gb196-combo-shell footer .btn{flex:1 1 140px!important}}
