/* Native checkboxes share one size and text rhythm in every application layout.
   Custom switches and painted selection cards keep their original hidden inputs. */
body input[type="checkbox"]:not([hidden]):not(:where(
    .ui-custom-choice *, .a11y-settings-toggle *, .visibility-switch *, .article-switch-card *,
    .article-type-option *, .article-target-check *, .automation-switch *,
    .calendar-cancelled-toggle *, .calendar-repeat-toggle *, .calendar-weekday-picker *,
    .message-category-choice *, .message-type-choice *, .message-segment-tabs *,
    .message-recipient-choice *, .offer-credit-behavior-card *, .offer-target-option *,
    .shop-catalog-filter-option *
)) {
    width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;
    min-height:18px!important;max-height:18px!important;padding:0!important;margin:0!important;
    box-sizing:border-box!important;flex:0 0 18px!important;vertical-align:middle;font-size:inherit!important;line-height:inherit!important;
    float:none!important;
}
body label:has(> input[type="checkbox"]):not([hidden]):not(:where(
    .ui-custom-choice, .a11y-settings-toggle, .visibility-switch, .article-switch-card,
    .article-type-option, .article-target-check, .automation-switch,
    .calendar-cancelled-toggle, .calendar-repeat-toggle, .calendar-weekday-picker,
    .message-category-choice, .message-type-choice, .message-segment-tabs,
    .message-recipient-choice, .offer-credit-behavior-card, .offer-target-option,
    .shop-catalog-filter-option
)) {
    display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
    align-items:flex-start!important;gap:9px!important;line-height:1.5!important;
}
body label:has(> input[type="checkbox"]):not(:where(
    .ui-custom-choice, .a11y-settings-toggle, .visibility-switch, .article-switch-card,
    .article-type-option, .article-target-check, .automation-switch,
    .calendar-cancelled-toggle, .calendar-repeat-toggle, .calendar-weekday-picker,
    .message-category-choice, .message-type-choice, .message-segment-tabs,
    .message-recipient-choice, .offer-credit-behavior-card, .offer-target-option,
    .shop-catalog-filter-option
)) > input[type="checkbox"]:not([hidden]) {
    align-self:flex-start!important;margin-top:max(0px,calc((1lh - 18px)/2))!important;
}
body label:has(> input[type="checkbox"]) > :is(span,div):not([aria-hidden="true"]) {min-width:0}
body label[hidden]:has(> input[type="checkbox"]) {display:none!important}
