.adrian-switch { display: inline-flex; align-items: center; justify-content: start; gap: 8px; min-height: 36px; padding: 2px 4px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--color-text); font: inherit; cursor: pointer; white-space: nowrap; word-break: normal; overflow-wrap: normal; }
.adrian-switch-track { position: relative; display: inline-block; flex: 0 0 30px; width: 30px; height: 18px; border-radius: 10px; background: var(--color-muted); transition: background-color 150ms ease; }
.adrian-switch-track::after { content: ''; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-surface); transition: transform 150ms ease; }
.adrian-switch[aria-checked="true"] .adrian-switch-track { background: var(--color-success); }
.adrian-switch[aria-checked="true"] .adrian-switch-track::after { transform: translateX(12px); }
.adrian-switch-text { display: inline-block; white-space: nowrap; word-break: normal; overflow-wrap: normal; line-height: 1.6; }
.adrian-switch:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.adrian-switch:disabled { cursor: default; opacity: .65; }
.adrian-switch[aria-busy="true"] { cursor: wait; }
@media (max-width: 1023px) { .adrian-switch { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .adrian-switch-track, .adrian-switch-track::after { transition: none; } }
