/* The original boolean inputs remain in place, including MVC hidden fallbacks. */
html.m34-switches {
    --m34-switch-on: #6e55da;
    --m34-switch-off: #d4d5df;
    --m34-switch-edge: #9498a9;
    --m34-switch-knob: #fff;
}
html.m34-switches body input[type="checkbox"]:not([data-native-checkbox]) {
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box;
    width: 42px !important;
    min-width: 42px !important;
    height: 24px !important;
    min-height: 24px !important;
    flex: 0 0 42px !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--m34-switch-edge) !important;
    border-radius: 999px !important;
    background-color: var(--m34-switch-off) !important;
    background-image: radial-gradient(circle, var(--m34-switch-knob) 8px, transparent 8.8px) !important;
    background-size: 18px 18px !important;
    background-repeat: no-repeat !important;
    background-position: 2px center !important;
    box-shadow: none !important;
    vertical-align: middle;
    cursor: pointer;
    transition: background-position .16s ease, background-color .16s ease;
}
html.m34-switches body input[type="checkbox"]:not([data-native-checkbox]):checked {
    background-color: var(--m34-switch-on) !important;
    border-color: var(--m34-switch-on) !important;
    background-position: right 2px center !important;
}
html.m34-switches body input[type="checkbox"]:not([data-native-checkbox])::before,
html.m34-switches body input[type="checkbox"]:not([data-native-checkbox])::after { content: none !important; }
html.m34-switches body input[type="checkbox"]:not([data-native-checkbox]):indeterminate {
    background-position: center !important;
}
html.m34-switches body input[type="checkbox"]:not([data-native-checkbox]):focus-visible {
    outline: 3px solid #b5a9f2 !important;
    outline-offset: 3px;
}
html.m34-switches body input[type="checkbox"]:not([data-native-checkbox]):disabled {
    opacity: .5;
    cursor: not-allowed;
}
html.m34-switches body input[type="checkbox"]:not([data-native-checkbox]):is(.is-invalid, [aria-invalid="true"]) {
    border-color: #c74750 !important;
}
html.m34-switches .form-check:has(> input[type="checkbox"]:not([data-native-checkbox])) {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 0;
    min-height: 32px;
}
html.m34-switches :is(.form-check, .checkbox):has(> label input[type="checkbox"]:not([data-native-checkbox])) { padding-left: 0; }
html.m34-switches :is(.form-check, .checkbox) > label:has(input[type="checkbox"]:not([data-native-checkbox])) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    cursor: pointer;
}
html.m34-switches .form-check-label { cursor: pointer; }
html.m34-switches .m34-audience-choice { align-items: center; }
html.m34-switches .m34-picker-audience > .m34-wizard-footer { max-width: none; }
html.m34-switches .m34-picker-audience > .m34-wizard-footer > [data-picker-content] { margin-left: auto; }
html.m34-switches .m34-picker-filters { margin: 22px 0 16px; }
html.m34-switches .m34-picker-filters > :is(.m34-choice-controls, .m34-choice-scope) { margin-top: 10px; }
html.m34-switches .m34-picker-filters > .m34-choice-scope { display: block; }
html.m34-switches .m34-picker-filters .m34-text-action { margin-top: 8px; }
html.m34-switches .m34-import-selection-tools { margin: 12px 0; }
html.m34-switches .m34-import-selection-tools .m34-choice-scope { display: block; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) {
    html.m34-switches body input[type="checkbox"]:not([data-native-checkbox]) { transition: none; }
}
@media (forced-colors: active) {
    html.m34-switches { --m34-switch-off: Canvas; --m34-switch-edge: CanvasText; --m34-switch-on: Highlight; --m34-switch-knob: CanvasText; }
    html.m34-switches body input[type="checkbox"]:not([data-native-checkbox]) { forced-color-adjust: none; }
    html.m34-switches body input[type="checkbox"]:not([data-native-checkbox]):checked { --m34-switch-knob: HighlightText; }
}
