.account-preference {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.auth-product-updates {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-sunken);
}

.auth-product-updates strong,
.auth-product-updates small {
    display: block;
}

.auth-product-updates strong {
    color: var(--ink-0);
    font-size: 12.5px;
}

.auth-product-updates small {
    margin-top: 3px;
    color: var(--ink-3);
    font-size: 11px;
    line-height: 1.45;
}

.auth-legal {
    margin: 0 0 14px;
    color: var(--ink-4);
    font-size: 10.5px;
    line-height: 1.5;
}

.auth-legal a {
    color: inherit;
    text-decoration: underline;
}

.preference-switch {
    display: inline-flex;
    min-width: max-content;
    align-items: center;
    gap: 7px;
    color: var(--ink-3);
    cursor: pointer;
    font-size: 11px;
    font-weight: 650;
}

.preference-switch input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.preference-switch-track {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--bg-elev);
    transition: background-color 120ms ease, border-color 120ms ease;
}

.preference-switch-track::after {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--ink-3);
    content: "";
    transition: transform 120ms ease, background-color 120ms ease;
}

.preference-switch input:checked + .preference-switch-track {
    border-color: var(--accent);
    background: var(--accent);
}

.preference-switch input:checked + .preference-switch-track::after {
    background: #fff;
    transform: translateX(16px);
}

.preference-switch input:focus-visible + .preference-switch-track {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
