#contact-preferences select {
    min-height: 44px;
    max-width: 100%;
}
.profile-save {
    min-height: 44px;
    padding: .5rem 1.5rem;
    border-radius: .5rem;
    background: #15803d;
    color: #fff;
    font-weight: 600;
}
.profile-save:hover { background: #166534; }
.profile-save:focus-visible { outline: 3px solid #60a5fa; outline-offset: 3px; }
.platform-id-input:disabled { opacity: .65; cursor: not-allowed; }
/* Scoped phone controls: the label supplies the touch target, not the radio. */
.phone-verification { min-width: 0; margin-bottom: 1rem; padding: 1rem; border: 1px solid var(--fp-line); border-radius: 12px; background: var(--fp-panel); color: var(--fp-ink); }
.phone-verification [hidden], [data-phone-verification] [hidden] { display: none !important; }
.phone-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.phone-heading h2 { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.5; }
.phone-badge { flex: none; padding: .2rem .55rem; border-radius: 20px; background: var(--fp-surface); color: var(--fp-muted); font-size: .75rem; font-weight: 600; }
.phone-badge--verified { background: #dcfce7; color: #166534; }
.dark .phone-badge--verified { background: #143c2a; color: #bbf7d0; }
.phone-help { margin: .35rem 0 0; color: var(--fp-muted); font-size: .8125rem; line-height: 1.6; }
.phone-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-top: .75rem; }
.phone-saved-number { min-width: 0; font-size: 1.125rem; font-weight: 600; overflow-wrap: anywhere; }
.phone-edit-button { min-height: 44px; padding: .45rem .65rem; border: 1px solid var(--fp-line); border-radius: 8px; background: transparent; color: var(--fp-ink); font-size: .8125rem; font-weight: 600; }
.phone-edit-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; margin-top: 1rem; }
.phone-field { min-width: 0; }
.phone-field label, .phone-methods legend { display: block; margin-bottom: .35rem; color: var(--fp-muted); font-size: .8125rem; font-weight: 500; }
.phone-field input, .phone-field select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: .55rem .65rem; border: 1px solid var(--fp-line); border-radius: 8px; background: var(--fp-surface); color: var(--fp-ink); font: inherit; font-size: 1rem; }
.phone-request { margin-top: 1rem; }
.phone-methods { min-width: 0; margin: 0; padding: 0; border: 0; }
.phone-method-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.phone-method { display: flex; align-items: center; justify-content: center; gap: .5rem; min-width: 0; min-height: 48px; padding: .5rem; border: 1px solid var(--fp-line); border-radius: 8px; background: var(--fp-surface); color: var(--fp-ink); font-size: .875rem; font-weight: 600; cursor: pointer; }
.phone-method input[type="radio"] { appearance: auto; flex: 0 0 16px; width: 16px; height: 16px; min-height: 16px; max-height: 16px; margin: 0; padding: 0; accent-color: #2563eb; }
.phone-method:has(input:checked) { border-color: #2563eb; background: #eff6ff; color: #1e40af; }
.dark .phone-method:has(input:checked) { border-color: #60a5fa; background: #172c4b; color: #dbeafe; }
.phone-send-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: .9rem; padding: .65rem 1rem; border: 0; border-radius: 8px; background: var(--fp-brand); color: #fff; font-size: .875rem; font-weight: 600; cursor: pointer; }
.phone-send-button:disabled { opacity: .6; cursor: wait; }
.phone-verification :is(button, input:not([type="radio"]), select, a):focus-visible, .phone-method:has(input:focus-visible) { outline: 2px solid #60a5fa; outline-offset: 3px; }
.phone-verification #otp-status { margin-top: .75rem; font-size: .875rem; line-height: 1.6; }
.phone-verification #otp-status:empty { display: none; }
.phone-verification #otp-status input:not([type="radio"]), .phone-verification #otp-status button { min-height: 44px; }
.phone-wa-open { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: .75rem; padding: .6rem 1rem; border-radius: .5rem; background: #15803d; color: #fff; font-weight: 600; }
.phone-wa-open:hover { background: #166534; }
.phone-wa-open:focus-visible { outline: 3px solid #60a5fa; outline-offset: 3px; }
.phone-wa-code { display: block; margin-top: .5rem; overflow-wrap: anywhere; user-select: all; }
[data-wa-pending] details summary { cursor: pointer; padding-block: .5rem; }
.phone-wa-change { min-height: 44px; margin-top: .25rem; padding: .25rem .5rem; text-decoration: underline; }
@media (min-width: 480px) { .phone-edit-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
