/* Sole scan/type switch styling (B); every page uses erpScanToggle. */
.erp-scan-host{position:relative;min-width:0}.erp-scan-field{display:block;width:100%;min-width:0}
.erp-scan-host input:not([type=checkbox]){box-sizing:border-box;padding-right:94px!important;min-height:48px!important}.erp-scan-with-submit input:not([type=checkbox]){padding-right:6px!important}
.erp-scan-with-submit{padding-right:86px!important;min-height:54px;box-sizing:border-box}.erp-scan-with-submit:has(>.submit),.erp-scan-with-submit:has(>#ivSubmit),.erp-scan-with-submit:has(>.fv-scan-controls),.erp-scan-with-submit:has(>.scan-btn){padding-right:128px!important}
.erp-scan-host .erp-scan-toggle{position:absolute!important;right:5px;top:50%;transform:translateY(-50%);display:block!important;box-sizing:border-box;height:40px;width:76px;min-width:76px;flex:none;margin:0!important;padding:0!important;border:0!important;z-index:2}
.erp-scan-with-submit .erp-scan-toggle{right:46px}.erp-scan-with-submit>.submit,.erp-scan-with-submit>#ivSubmit,.erp-scan-with-submit>.scan-btn,.erp-scan-with-submit>.fv-scan-controls{position:absolute;right:5px;top:50%;transform:translateY(-50%);margin:0}
.erp-scan-host .erp-scan-switch{all:unset;box-sizing:border-box;position:relative;display:block!important;width:76px!important;height:40px!important;border:0!important;border-radius:20px!important;background:#191F28!important;cursor:pointer;transition:background .2s;overflow:hidden}
.erp-scan-host .erp-scan-toggle[data-mode=type] .erp-scan-switch{background:#BFD3FE!important}.erp-scan-host .erp-scan-toggle[data-mode=type] .erp-scan-switch{background:#FFF4D1!important}
.erp-scan-host .erp-scan-toggle .erp-scan-switch>.erp-scan-knob{box-sizing:border-box!important;position:absolute!important;left:4px!important;right:auto!important;top:4px!important;bottom:auto!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#fff!important;opacity:1!important;color:#191F28!important;box-shadow:0 2px 6px #0004!important;transform:translateX(0)!important;transition:transform .2s ease!important;pointer-events:none!important}
.erp-scan-host .erp-scan-toggle[data-mode=type] .erp-scan-switch>.erp-scan-knob{transform:translateX(36px)!important;color:#2563EB!important}.erp-scan-host .erp-scan-toggle[data-mode=type] .erp-scan-switch>.erp-scan-knob{transform:translateX(36px)!important;color:#946200!important}
.erp-scan-host .erp-scan-toggle .erp-scan-switch>.erp-scan-ghost{box-sizing:border-box!important;position:absolute!important;left:40px!important;right:auto!important;top:4px!important;bottom:auto!important;width:32px!important;height:32px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;display:grid!important;place-items:center!important;background:transparent!important;box-shadow:none!important;transform:none!important;opacity:.45!important;color:#fff!important;pointer-events:none!important}
.erp-scan-host .erp-scan-toggle[data-mode=type] .erp-scan-switch>.erp-scan-ghost{left:4px!important;color:#1D4ED8!important}.erp-scan-host .erp-scan-toggle[data-mode=type] .erp-scan-switch>.erp-scan-ghost{left:4px!important;color:#946200!important}
.erp-scan-host .erp-scan-toggle .erp-scan-switch svg{box-sizing:border-box!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0!important;padding:0!important;display:block!important;color:inherit!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;transform:none!important;animation:none!important;pointer-events:none!important}
.erp-scan-switch:focus-visible{outline:2px solid #2563EB;outline-offset:2px}.erp-scan-switch:focus-visible{outline:2px solid #FFC21A;outline-offset:2px}
.erp-scan-host>[hidden],.erp-scan-toggle>[hidden]{display:none!important}

/* Search wrappers may be flex children in rows or columns: cap their vertical size without disabling horizontal growth. */
.erp-scan-host.erp-scan-search-host{position:relative!important;box-sizing:border-box!important;height:48px!important;min-height:48px!important;max-height:48px!important;flex-shrink:0!important}
.erp-scan-host.erp-scan-search-host>input{height:48px!important;max-height:48px!important;margin-top:0!important;margin-bottom:0!important}
/* 76: shared search hosts cannot absorb a vertical flex sheet's free space. */
.erp-scan-host.erp-scan-search-host{display:block!important;align-self:stretch}

/* Generated hosts must own a full-width input even when the original input only had flex:1. */
.erp-scan-host.erp-scan-field>input:not([type=checkbox]):not([type=radio]){display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
