/* Neutral shared theme control. No dashboard content or authorization behavior. */
.theme-switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:13px;line-height:1.4}
.theme-switch-caption{font-weight:500}
.theme-switch{display:inline-flex;align-items:center;gap:8px;min-width:96px;min-height:44px;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;border-radius:6px}
.theme-switch-track{position:relative;display:block;width:38px;height:22px;flex:none;border:1px solid currentColor;border-radius:999px;background:transparent}
.theme-switch-thumb{position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:currentColor}
.theme-switch [data-theme-label="light"]{display:none}
:root[data-contexta-theme="light"] .theme-switch [data-theme-label="dark"]{display:none}
:root[data-contexta-theme="light"] .theme-switch [data-theme-label="light"]{display:inline}
:root[data-contexta-theme="light"] .theme-switch-thumb{left:19px}
.theme-switch:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.theme-switch:disabled{cursor:not-allowed;opacity:.5}
.theme-switch-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sidebar .theme-switch-row{margin-bottom:12px;color:#edf2f5}
:root[data-contexta-theme="light"] .sidebar .theme-switch-row{color:#fff}
.sidebar .theme-switch:focus-visible{outline-color:#ffc845}
.access-theme-switch{margin-top:16px}
