.setting-switch{display:flex;flex-direction:row;align-items:center;gap:12px;position:relative;cursor:pointer;color:var(--text);font-size:12px;line-height:1.6}
.setting-switch>input{position:absolute;width:1px;height:1px;opacity:0;margin:0}
.setting-switch-track{display:block;width:46px;height:26px;flex-shrink:0;padding:3px;border-radius:20px;background:#8b9795;transition:background .2s}
.setting-switch-track>span{display:block;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transition:transform .2s}
.setting-switch input:checked+.setting-switch-track{background:#498f88}
.setting-switch input:checked+.setting-switch-track>span{transform:translateX(20px)}
.setting-switch input:focus-visible+.setting-switch-track{outline:2px solid var(--gold);outline-offset:4px}
.setting-switch-state{font-size:11px;min-width:22px;font-weight:600;color:var(--muted)}
.setting-switch .switch-on{display:none}
.setting-switch input:checked~.setting-switch-state .switch-on{display:inline;color:#498f88}
.setting-switch input:checked~.setting-switch-state .switch-off{display:none}
@media(prefers-reduced-motion:reduce){.setting-switch-track,.setting-switch-track>span{transition:none}}

.setting-switch:has(input:disabled){opacity:.65;cursor:wait}

.store-branch-actions{display:flex;justify-content:flex-end;gap:12px}
.admin-body .admin-main .store-branch-actions .button,.admin-body .admin-main .branch-action-delete{width:auto;justify-content:center;border-radius:8px;padding:10px 16px;font-size:12px;gap:18px}
.admin-body .admin-main .button.branch-action-save{background:#498f88;color:#fff;border-color:#498f88}
.admin-body .admin-main .button.branch-action-delete{color:#be5b63;border-color:#be5b6355;background:#be5b6308}

.admin-body .admin-main .store-branch-actions .button{background:#498f88;color:#fff;border-color:#498f88}

.branch-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-bottom:20px}.branch-filters label{flex:1;min-width:150px}.branch-filters .button{flex:none}.branch-table-panel{padding:12px 20px}.branch-table-panel td{vertical-align:middle;padding:14px}.branch-table-panel .setting-switch{white-space:nowrap}.branch-dialog{width:min(720px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--text)}.branch-dialog::backdrop{background:#14242b99}.branch-dialog .panel-heading{gap:20px}.branch-dialog [data-branch-close]{font-size:26px}.branch-dialog .button:not(.secondary){background:#498f88;color:#fff;border-color:#498f88}
