/* SCUZO touch-only Combo Picker and Control Tower Combo Builder.
   Do not put any selector for existing billing grid/cart/payment here. */
.scuzo-combo-overlay.scuzo-touch-combo{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;background:rgba(6,16,31,.86);padding:12px}
.scuzo-touch-combo .scuzo-touch-dialog{background:#fff;color:#10253d;width:min(820px,100%);max-height:calc(100dvh - 24px);border-radius:20px;padding:0;display:flex;flex-direction:column;overflow:hidden;border:2px solid #dce5ef;box-shadow:0 20px 70px rgba(0,0,0,.42)}
.scuzo-touch-combo .scuzo-touch-header{padding:19px 24px 12px;display:flex;gap:14px;align-items:flex-start;justify-content:space-between;background:#f8fbff;border-bottom:1px solid #d4deea;flex-shrink:0}
.scuzo-touch-combo .scuzo-touch-eyebrow{font-size:12px;font-weight:800;letter-spacing:.085em;color:#375b83;margin-bottom:5px}
.scuzo-touch-combo .scuzo-touch-header h2{color:#102840;font-size:clamp(19px,2.6vw,27px);margin:0 0 5px;line-height:1.2}
.scuzo-touch-combo .scuzo-touch-header p{margin:0;color:#38536e;font-size:14px}
.scuzo-touch-combo .scuzo-touch-header p strong{color:#063a69;font-size:18px}
.scuzo-touch-combo button{font-family:inherit;touch-action:manipulation;cursor:pointer}
.scuzo-touch-combo .scuzo-touch-close{border:1px solid #b1c2d5;background:#fff;color:#132b43;width:48px;height:48px;min-width:48px;border-radius:12px;font-size:31px;line-height:1}
.scuzo-touch-combo .scuzo-touch-progress{display:flex;justify-content:center;gap:10px;padding:12px 16px;background:#fff;flex-shrink:0}
.scuzo-touch-combo .scuzo-touch-progress span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e5ebf3;color:#39516d;font-size:13px;font-weight:800}
.scuzo-touch-combo .scuzo-touch-progress span.current{background:#092d56;color:#fff;box-shadow:0 0 0 3px #c9def4}
.scuzo-touch-combo .scuzo-touch-progress span.done{background:#d8f1e5;color:#164e39}
.scuzo-touch-combo .scuzo-touch-step-title{padding:0 24px 12px;text-align:center;flex-shrink:0}
.scuzo-touch-combo .scuzo-touch-step-title span{color:#426184;font-size:13px;font-weight:700}
.scuzo-touch-combo .scuzo-touch-step-title h3{color:#10253d;font-size:23px;margin:3px 0}
.scuzo-touch-combo .scuzo-touch-step-title p{color:#3c5672;margin:0;font-size:13px}
.scuzo-touch-combo .scuzo-touch-options{padding:5px 22px 20px;overflow-y:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;flex:1;min-height:0;align-content:start}
.scuzo-touch-combo .scuzo-touch-choice{min-height:110px;background:#f6f9fd;color:#112943;border:2px solid #b8c9dc;border-radius:15px;padding:13px 11px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;text-align:left;gap:5px;box-shadow:none}
.scuzo-touch-combo .scuzo-touch-choice-name{color:#0c2642;font-size:16px;font-weight:800;line-height:1.28}
.scuzo-touch-combo .scuzo-touch-choice-category{color:#48627e;font-size:12px;font-weight:600}
.scuzo-touch-combo .scuzo-touch-choice-state{color:#375a80;font-size:12px;font-weight:800}
.scuzo-touch-combo .scuzo-touch-choice.is-selected{background:#e0f1e9;border:3px solid #136f48;color:#0b4331}
.scuzo-touch-combo .scuzo-touch-choice.is-selected .scuzo-touch-choice-name,.scuzo-touch-combo .scuzo-touch-choice.is-selected .scuzo-touch-choice-state{color:#0b4331}
.scuzo-touch-combo .scuzo-touch-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 22px;background:#f4f8fc;border-top:1px solid #d2deea;flex-shrink:0}
.scuzo-touch-combo .scuzo-touch-footer button{min-height:57px;min-width:145px;padding:10px 18px;font-weight:800;font-size:16px;border-radius:12px}
.scuzo-touch-combo .scuzo-touch-secondary{background:white;color:#133653;border:2px solid #9db1c7}
.scuzo-touch-combo .scuzo-touch-next{background:#092d56;color:#fff;border:2px solid #092d56}
.scuzo-touch-combo .scuzo-touch-next:disabled{background:#c7d2df;color:#425771;border-color:#c7d2df;opacity:1;cursor:not-allowed}
.scuzo-touch-combo .scuzo-touch-count{font-size:13px;font-weight:750;color:#365776;text-align:center}
.scuzo-touch-combo button:focus-visible{outline:4px solid #e1a600;outline-offset:2px}
@media(max-width:700px){.scuzo-touch-combo .scuzo-touch-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:5px 12px 14px}.scuzo-touch-combo .scuzo-touch-header{padding:12px}.scuzo-touch-combo .scuzo-touch-step-title{padding:0 12px 9px}.scuzo-touch-combo .scuzo-touch-choice{min-height:100px}.scuzo-touch-combo .scuzo-touch-footer{padding:11px 12px}.scuzo-touch-combo .scuzo-touch-footer button{min-width:100px;padding:8px 10px}}
@media(max-width:420px){.scuzo-touch-combo .scuzo-touch-options{grid-template-columns:1fr 1fr}.scuzo-touch-combo .scuzo-touch-choice-name{font-size:14px}.scuzo-touch-combo .scuzo-touch-footer{gap:7px}.scuzo-touch-combo .scuzo-touch-count{font-size:11px}}
/* Control Tower only: easy product selection without Ctrl/Command/multi-select */
#scuzoComboAdminCard .scuzo-simple-slot{background:#f6faff;color:#102b48;grid-template-columns:minmax(0,1fr);border:1px solid #b9cada;padding:16px}
#scuzoComboAdminCard .scuzo-simple-slot-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#0d2b49;font-weight:800}
#scuzoComboAdminCard .scuzo-simple-slot-heading strong{color:#0d2b49;font-size:17px}
#scuzoComboAdminCard .scuzo-simple-slot-heading span{color:#275278;font-size:13px}
#scuzoComboAdminCard .scuzo-simple-slot label{color:#102d4d;font-size:14px;font-weight:700}
#scuzoComboAdminCard .scuzo-simple-slot input{background:#fff;color:#0b2945;border:1.5px solid #8ea5bd;min-height:48px;font-size:15px}
#scuzoComboAdminCard .scuzo-simple-choice-scroll{max-height:350px;overflow:auto;background:#fff;border:1px solid #c6d3e0;border-radius:12px;padding:12px}
#scuzoComboAdminCard .scuzo-simple-choice-group{margin:5px 0 14px;color:#163555}
#scuzoComboAdminCard .scuzo-simple-choice-group h5{font-size:14px;color:#1b446b;margin:9px 2px}
#scuzoComboAdminCard .scuzo-simple-choice-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:9px}
#scuzoComboAdminCard .scuzo-simple-product{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;flex-direction:column;min-height:77px;padding:9px 11px;text-align:left;background:#f5f9fe;color:#0b2744;border:2px solid #bccdde;border-radius:12px;touch-action:manipulation;cursor:pointer}
#scuzoComboAdminCard .scuzo-simple-product.is-selected{border-color:#16734e;background:#e1f3e9}
#scuzoComboAdminCard .scuzo-simple-product-name{font-size:14px;font-weight:800;color:#0b2744}
#scuzoComboAdminCard .scuzo-simple-product-status{font-size:12px;font-weight:750;color:#22577b}
#scuzoComboAdminCard .scuzo-simple-product.is-selected .scuzo-simple-product-status{color:#0e5b3b}
#scuzoComboAdminCard .scuzo-simple-advanced{border-top:1px solid #c6d5e4;padding-top:8px;color:#173d61}
#scuzoComboAdminCard .scuzo-simple-advanced summary{cursor:pointer;font-weight:800;min-height:37px;color:#245275}
#scuzoComboAdminCard .scuzo-simple-advanced-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:10px}
#scuzoComboAdminCard [hidden]{display:none!important}
#scuzoComboAdminCard button:focus-visible{outline:3px solid #b37800;outline-offset:3px}
@media(max-width:620px){#scuzoComboAdminCard .scuzo-simple-advanced-fields{grid-template-columns:1fr}#scuzoComboAdminCard .scuzo-simple-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Scope and readability hardening: never style pre-existing cashier tiles, cart, payments or printers. */
.scuzo-combo-overlay.scuzo-touch-combo,.scuzo-combo-overlay.scuzo-touch-combo * ,#scuzoComboAdminCard .scuzo-simple-slot,#scuzoComboAdminCard .scuzo-simple-slot * ,#scuzoSimpleStudio,#scuzoSimpleStudio *{box-sizing:border-box}
.scuzo-touch-combo .scuzo-touch-dialog{min-width:0;max-width:100%;color-scheme:light}
.scuzo-touch-combo .scuzo-touch-header>*{min-width:0;overflow-wrap:anywhere}
.scuzo-touch-combo .scuzo-touch-choice{min-width:0;overflow-wrap:anywhere;-webkit-tap-highlight-color:transparent}
.scuzo-touch-combo .scuzo-touch-choice-name{overflow-wrap:anywhere}
.scuzo-touch-combo .scuzo-touch-choice:focus-visible{outline:3px solid #bd7a02!important;outline-offset:1px}
.scuzo-touch-combo .scuzo-touch-options>button[hidden]{display:none!important}
#scuzoComboAdminCard .scuzo-simple-slot{min-width:0!important;color-scheme:light}
#scuzoComboAdminCard .scuzo-simple-slot label,#scuzoComboAdminCard .scuzo-simple-slot input,#scuzoComboAdminCard .scuzo-simple-slot strong,#scuzoComboAdminCard .scuzo-simple-slot h5{ -webkit-text-fill-color:#102d4d!important;color:#102d4d!important}
#scuzoComboAdminCard .scuzo-simple-slot input{max-width:100%;width:100%;background:#fff!important;color:#102d4d!important}
#scuzoComboAdminCard .scuzo-simple-product,#scuzoComboAdminCard .scuzo-simple-product *{color:#102d4d!important;-webkit-text-fill-color:#102d4d!important;overflow-wrap:anywhere}
#scuzoComboAdminCard .scuzo-simple-product.is-selected{border-color:#15704c!important;background:#d9f1e6!important}
#scuzoComboAdminCard .scuzo-simple-choice-scroll{max-width:100%;min-width:0}
#scuzoComboAdminCard .scuzo-simple-choice-grid{grid-template-columns:repeat(auto-fill,minmax(min(150px,100%),1fr));max-width:100%}
#scuzoComboAdminCard .scuzo-simple-choice-group{min-width:0}
#scuzoComboAdminCard .scuzo-simple-product{min-width:0;min-height:58px}
#scuzoComboAdminCard .scuzo-simple-slot summary{color:#173c62!important;-webkit-text-fill-color:#173c62!important}
#scuzoComboAdminCard .scuzo-simple-slot-heading{flex-wrap:wrap}
#scuzoSimpleStudio{background:#f7fafd;color:#16334e;border:1px solid #cad7e4;border-radius:16px;padding:18px;max-width:100%;min-width:0}
#scuzoSimpleStudio h3,#scuzoSimpleStudio p,#scuzoSimpleStudio strong{color:#16334e!important;-webkit-text-fill-color:#16334e!important}
#scuzoSimpleStudio .scuzo-studio-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:12px}
#scuzoSimpleStudio .scuzo-studio-action{min-width:0;min-height:78px;background:#fff!important;color:#173856!important;-webkit-text-fill-color:#173856!important;border:2px solid #adbdcd;border-radius:14px;padding:12px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;white-space:normal;text-align:left;font-size:16px;line-height:1.25;touch-action:manipulation;overflow-wrap:anywhere}
#scuzoSimpleStudio .scuzo-studio-action:focus-visible{outline:3px solid #f1b643!important;outline-offset:2px}
#scuzoSimpleStudio .scuzo-studio-action span{font-size:12px;color:#45627c!important;-webkit-text-fill-color:#45627c!important}
#scuzoSimpleStudio [data-studio-message]{font-size:13px;font-weight:700;color:#244e70!important;-webkit-text-fill-color:#244e70!important;min-height:20px}
#scuzoSimpleStudio [data-studio-advanced]{background:#e9f1f7!important;color:#183e60!important;-webkit-text-fill-color:#183e60!important;border:1px solid #a9becf;border-radius:10px;padding:10px 14px;min-height:44px}
/* Simple product mode only hides optional fields; all existing inputs stay in DOM and existing submit stays unchanged. */
#productMasterForm.scuzo-product-simple-mode label:has(> #pmIcon),#productMasterForm.scuzo-product-simple-mode label:has(> #pmSort),#productMasterForm.scuzo-product-simple-mode label:has(> #pmUom),#productMasterForm.scuzo-product-simple-mode label:has(> #pmUnitCost),#productMasterForm.scuzo-product-simple-mode label:has(> #pmMin),#productMasterForm.scuzo-product-simple-mode label:has(> #pmMax),#productMasterForm.scuzo-product-simple-mode label:has(> #pmReorder),#productMasterForm.scuzo-product-simple-mode label:has(> #pmLocalRequired),#productMasterForm.scuzo-product-simple-mode label:has(> #pmBlockMenu){display:none!important}
@media(max-width:600px){.scuzo-combo-overlay.scuzo-touch-combo{padding:4px}.scuzo-touch-combo .scuzo-touch-dialog{max-height:calc(100dvh - 8px);border-radius:12px}.scuzo-touch-combo .scuzo-touch-footer{flex-wrap:wrap;gap:6px}.scuzo-touch-combo .scuzo-touch-footer button{flex:1;min-width:90px}.scuzo-touch-combo .scuzo-touch-count{order:-1;flex-basis:100%;min-height:18px}.scuzo-touch-combo .scuzo-touch-step-title h3{font-size:18px}#scuzoSimpleStudio{padding:12px}}
@media(max-width:370px){.scuzo-touch-combo .scuzo-touch-options{grid-template-columns:1fr}.scuzo-touch-combo .scuzo-touch-choice{min-height:68px}.scuzo-touch-combo .scuzo-touch-header h2{font-size:17px}}

/* Safari must never render white-on-white due to inherited WebKit text-fill rules. */
.scuzo-touch-combo .scuzo-touch-header h2,.scuzo-touch-combo .scuzo-touch-step-title h3,.scuzo-touch-combo .scuzo-touch-choice-name{color:#102840!important;-webkit-text-fill-color:#102840!important}
.scuzo-touch-combo .scuzo-touch-header p,.scuzo-touch-combo .scuzo-touch-step-title p,.scuzo-touch-combo .scuzo-touch-choice-category,.scuzo-touch-combo .scuzo-touch-choice-state,.scuzo-touch-combo .scuzo-touch-count{color:#39536e!important;-webkit-text-fill-color:#39536e!important}
.scuzo-touch-combo .scuzo-touch-header p strong{color:#063a69!important;-webkit-text-fill-color:#063a69!important}
.scuzo-touch-combo .scuzo-touch-eyebrow{color:#375b83!important;-webkit-text-fill-color:#375b83!important}
.scuzo-touch-combo .scuzo-touch-step-title span{color:#426184!important;-webkit-text-fill-color:#426184!important}
.scuzo-touch-combo .scuzo-touch-choice.is-selected .scuzo-touch-choice-name,.scuzo-touch-combo .scuzo-touch-choice.is-selected .scuzo-touch-choice-state{color:#0b4331!important;-webkit-text-fill-color:#0b4331!important}
.scuzo-touch-combo .scuzo-touch-secondary,.scuzo-touch-combo .scuzo-touch-close{color:#133653!important;-webkit-text-fill-color:#133653!important}
.scuzo-touch-combo .scuzo-touch-next:not([disabled]),.scuzo-touch-combo .scuzo-touch-progress span.current{color:#fff!important;-webkit-text-fill-color:#fff!important}
.scuzo-touch-combo .scuzo-touch-next:disabled{color:#425771!important;-webkit-text-fill-color:#425771!important}
.scuzo-touch-combo .scuzo-touch-progress span:not(.current){color:#39516d!important;-webkit-text-fill-color:#39516d!important}
#scuzoComboAdminCard .scuzo-simple-slot input::placeholder{color:#52708c!important;-webkit-text-fill-color:#52708c!important;opacity:1!important}
/* Store-scoped product quick-create dialog: no global billing UI changes. */
.scuzo-simple-item-overlay,.scuzo-simple-item-overlay *{box-sizing:border-box}
.scuzo-simple-item-overlay{position:fixed;inset:0;z-index:100001;background:rgba(7,20,37,.85);display:flex;justify-content:center;align-items:center;padding:10px;color-scheme:light}
.scuzo-simple-item-overlay .scuzo-simple-item-dialog{background:#fff!important;color:#14324c!important;-webkit-text-fill-color:#14324c!important;width:min(650px,100%);max-width:100%;max-height:calc(100dvh - 20px);overflow-y:auto;overflow-x:hidden;border:2px solid #b5c9dc;border-radius:18px;padding:20px;box-shadow:0 25px 70px rgba(0,0,0,.4)}
.scuzo-simple-item-overlay header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #d4e2ef;padding-bottom:12px}
.scuzo-simple-item-overlay header>div{min-width:0}
.scuzo-simple-item-overlay h3{font-size:24px;margin:5px 0;color:#15334f!important;-webkit-text-fill-color:#15334f!important}
.scuzo-simple-item-overlay header p,.scuzo-simple-item-overlay header small{font-size:13px;color:#34566f!important;-webkit-text-fill-color:#34566f!important;margin:0}
.scuzo-simple-item-overlay label,.scuzo-simple-item-overlay .scuzo-simple-item-groups strong{display:block;color:#173751!important;-webkit-text-fill-color:#173751!important;font-weight:750;font-size:14px;line-height:1.5;margin-top:13px}
.scuzo-simple-item-overlay input:not([type=checkbox]),.scuzo-simple-item-overlay select{display:block;width:100%;max-width:100%;min-height:49px;margin-top:5px;padding:9px 12px;background:#fff!important;color:#132c43!important;-webkit-text-fill-color:#132c43!important;border:1.5px solid #8fa9c1;border-radius:10px;font:inherit;font-size:16px;min-width:0}
.scuzo-simple-item-overlay input::placeholder{color:#536e85!important;-webkit-text-fill-color:#536e85!important;opacity:1}
.scuzo-simple-item-overlay .scuzo-simple-group-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:8px}
.scuzo-simple-item-overlay button{cursor:pointer;touch-action:manipulation;min-height:46px;border-radius:10px;font:inherit;font-weight:750}
.scuzo-simple-item-overlay [data-item-group]{border:2px solid #adc0d2;background:#f1f6fa!important;color:#173f5b!important;-webkit-text-fill-color:#173f5b!important;padding:8px;min-width:0;overflow-wrap:anywhere}
.scuzo-simple-item-overlay [data-item-group].chosen{background:#d9eee3!important;border:3px solid #156d49;color:#135036!important;-webkit-text-fill-color:#135036!important}
.scuzo-simple-item-overlay .scuzo-simple-item-money{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.scuzo-simple-item-overlay .scuzo-simple-item-enable{display:flex;align-items:center;gap:10px;margin:16px 0}
.scuzo-simple-item-overlay .scuzo-simple-item-enable input{width:22px;height:22px;accent-color:#145a3e;flex-shrink:0}
.scuzo-simple-item-overlay [data-item-status]{background:#e8f3fa;color:#173b59!important;-webkit-text-fill-color:#173b59!important;padding:11px;border-radius:10px;margin-top:12px;font-size:13px;line-height:1.45}
.scuzo-simple-item-overlay footer{display:flex;gap:12px;justify-content:flex-end;margin-top:18px}
.scuzo-simple-item-overlay footer button{padding:12px 16px;background:#fff!important;color:#163f5d!important;-webkit-text-fill-color:#163f5d!important;border:2px solid #8fa8bf}
.scuzo-simple-item-overlay footer [data-item-submit]{background:#093654!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#093654}
.scuzo-simple-item-overlay footer [data-item-submit]:disabled{background:#a6b9c8!important;color:#21364a!important;-webkit-text-fill-color:#21364a!important}
.scuzo-simple-item-overlay [data-item-close]{min-width:48px;min-height:48px;border:1px solid #a3bbcf;background:#fff!important;color:#193c56!important;-webkit-text-fill-color:#193c56!important;font-size:25px}
.scuzo-simple-item-overlay :focus-visible{outline:3px solid #b67d0d!important;outline-offset:2px}
@media(max-width:540px){.scuzo-simple-item-overlay{padding:4px}.scuzo-simple-item-overlay .scuzo-simple-item-dialog{max-height:calc(100dvh - 8px);padding:12px;border-radius:12px}.scuzo-simple-item-overlay .scuzo-simple-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scuzo-simple-item-overlay .scuzo-simple-item-money{grid-template-columns:1fr}.scuzo-simple-item-overlay footer button{flex:1;min-width:0}}
