/* Shared pill switches. Selection and consent checkboxes keep their native shape. */
:root{--switch-off:#c8c8c8;--switch-on:#167848;--switch-thumb:#fff}
input[type="checkbox"][role="switch"],
button.toggle,
button.availabilitySwitch{
  appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;
  position:relative!important;display:inline-block!important;flex:0 0 58px!important;
  width:58px!important;min-width:58px!important;max-width:58px!important;
  height:44px!important;min-height:44px!important;max-height:44px!important;
  margin:0!important;padding:0!important;border:solid transparent!important;border-width:6px 0!important;
  border-radius:999px!important;background:var(--switch-off)!important;background-clip:padding-box!important;
  box-shadow:none!important;vertical-align:middle!important;opacity:1;pointer-events:auto!important;
  cursor:pointer;transform:none!important;overflow:visible!important;touch-action:manipulation;
}
input[type="checkbox"][role="switch"]::before,
button.toggle::before,
button.availabilitySwitch::before{
  content:""!important;position:absolute!important;top:3px!important;right:3px!important;left:auto!important;
  width:34px!important;height:26px!important;min-width:34px!important;min-height:26px!important;
  border:0!important;border-radius:999px!important;background:var(--switch-thumb)!important;
  box-shadow:none!important;transform:translateX(0)!important;transition:transform .18s ease!important;
}
input[type="checkbox"][role="switch"]::after,
button.toggle::after,button.availabilitySwitch::after,
button.availabilitySwitch>span,.settingsSwitchTrack,.branchOpenSlider{display:none!important}
input[type="checkbox"][role="switch"]:checked,
button.toggle.on,button.availabilitySwitch.on{background-color:var(--switch-on)!important}
input[type="checkbox"][role="switch"]:checked::before,
button.toggle.on::before,button.availabilitySwitch.on::before{transform:translateX(-18px)!important}
input[type="checkbox"][role="switch"]:focus-visible,
button.toggle:focus-visible,button.availabilitySwitch:focus-visible{outline:3px solid #185cba!important;outline-offset:2px!important}
input[type="checkbox"][role="switch"]:disabled,
button.toggle:disabled,button.availabilitySwitch:disabled{opacity:.55!important;cursor:not-allowed!important}
.settingsSwitch,.sizeToggle,.paymentSwitch,.gatewayEnable{min-height:44px;gap:10px}
.branchOpenSwitch{width:58px!important;height:44px!important}
.sizeOptionRow{grid-template-columns:64px minmax(100px,auto) minmax(0,1fr)!important}
[data-open]{
  position:relative!important;display:inline-flex!important;align-items:center!important;
  min-height:44px!important;min-width:118px!important;padding:0 68px 0 8px!important;
  border:0!important;border-radius:0!important;background:transparent!important;color:#203429!important;
  box-shadow:none!important;transform:none!important;font-size:14px!important;
}
[data-open]::after{
  content:"";position:absolute;right:0;top:calc(50% - 16px);width:58px;height:32px;
  border-radius:999px;background:var(--switch-on);
}
[data-open]::before{
  content:"";position:absolute;right:3px;top:calc(50% - 13px);width:34px;height:26px;
  border-radius:999px;background:var(--switch-thumb);z-index:1;transform:translateX(-18px);transition:transform .18s ease;
}
[data-open].closed::after{background:var(--switch-off)}
[data-open].closed::before{transform:translateX(0)}
@media(max-width:380px){.sizeOptionRow{grid-template-columns:32px 96px minmax(0,1fr)!important;gap:6px!important;padding:8px!important}}
@media(prefers-reduced-motion:reduce){
  input[type="checkbox"][role="switch"]::before,button.toggle::before,button.availabilitySwitch::before,[data-open]::before{transition:none!important}
}
@media(forced-colors:active){
  input[type="checkbox"][role="switch"],button.toggle,button.availabilitySwitch{forced-color-adjust:none;outline:1px solid CanvasText}
}

/* Menu selection and confirmation. */
.menuSelectionBar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;padding:12px 16px;border-block:1px solid #e2e8e4;background:#f7faf8}
.menuSelectionBar label{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px!important}
.menuSelectionBar input,.menuRowSelect{width:22px!important;height:22px!important;min-height:22px!important;accent-color:#167848;cursor:pointer}
.menuSelectionBar [role="status"]{font-size:14px;color:#43534b}
.menuSelectionBar .btn{margin-inline-start:auto}
.menuSelectColumn{width:48px}
.menuSelectionCell{min-width:44px;min-height:44px;display:grid;place-items:center}
.menuDeleteButton{background:#b42318!important;color:#fff!important;border-color:#b42318!important;min-height:44px!important}
.menuDeleteButton:disabled{opacity:.45;cursor:not-allowed}
.menuDeleteDialog{box-sizing:border-box;width:min(480px,calc(100% - 32px));max-height:calc(100svh - 40px);padding:24px;margin:auto;border:1px solid #d6ded9;border-radius:20px;color:#182e21;box-shadow:0 24px 70px #0003;overflow:auto}
.menuDeleteDialog::backdrop{background:#071b14aa}
.menuDeleteDialog h2{font-size:22px;line-height:1.5;margin:0 0 12px}
.menuDeleteDialog p,.menuDeleteDialog li{font-size:16px;line-height:1.65}
.menuDeleteDialog ul{max-height:170px;overflow:auto;padding-inline-start:24px}
.menuDeleteDialog [role="alert"]{color:#a11d13;background:#fff0ef;padding:10px;border-radius:8px}
.menuDeleteActions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:20px}
.srOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

html body p.reportRetentionNotice{font-size:13px!important;line-height:1.7!important;color:#b42318!important;margin:0 0 14px}
.reportItemDetails{margin-top:16px}
.reportItemDetails .table th,.reportItemDetails .table td{font-size:14px!important;line-height:1.6}
.motionSwitchLabel{display:inline-flex;align-items:center;gap:8px;min-height:44px}
.reportControls>.reportRetentionNotice{grid-column:1/-1;margin:0!important}
