.feature-flags-shell { max-width: 980px; }
.feature-flags-shell > .app-header { margin-bottom: 28px; }
.feature-flags-shell h1 { overflow-wrap: anywhere; }
.feature-flag { display: flex; align-items: flex-start; gap: 32px; }
.feature-flag > div { flex: 1; min-width: 0; }
.feature-flag h2 { margin-top: 0; }
.feature-flag .field-note { color: var(--ux-muted); }
.feature-flags-shell .feature-switch { position: relative; display: flex; margin: 0; flex-shrink: 0; align-items: center; gap: 12px; min-height: 46px; cursor: pointer; font-weight: 600; }
.feature-flags-shell .feature-switch input[type=checkbox] { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.feature-switch-track { display: block; width: 48px; height: 28px; padding: 3px; border-radius: 999px; background: var(--ux-muted); box-sizing: border-box; }
.feature-switch-track::after { content: ''; display: block; width: 22px; height: 22px; border-radius: 50%; background: white; }
.feature-switch input:checked + .feature-switch-track { background: var(--blue); }
.feature-switch input:checked + .feature-switch-track::after { transform: translateX(20px); }
.feature-switch input:focus-visible + .feature-switch-track { outline: 3px solid var(--blue); outline-offset: 4px; }
.feature-switch input:disabled { cursor: wait; }
.feature-switch input:disabled ~ span { opacity: .6; }
#flags-status { min-height: 24px; }
@media (max-width: 600px) { .feature-flag { flex-direction: column; gap: 12px; } }
