/* Settings → Referrals, the member's own page — the add-on composer's role row.

   The role choice is a radio-backed pick-chip row, not a <select>: a collapsed
   dropdown shows only the first role alphabetically, so a worker holding six
   roles saw "Creative Lead" and read the other five as missing. Picking ONE
   from a list is the tile/chip idiom (Nick, 2026-08-15); the skin is the
   meeting wizard's chip picks (features/scheduling/meeting-wizard.css) — a
   hidden radio behind a bordered pill that takes the brand ring when checked. */

.settings-referral-role-picks {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.settings-referral-role-pick {
    position: relative;
}

.settings-referral-role-pick input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-referral-role-pick__label {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background: var(--color-card-bg);
    font-size: var(--font-size-sm);
    cursor: pointer;
}

.settings-referral-role-pick input:checked + .settings-referral-role-pick__label {
    border-color: var(--color-action);
    background: var(--color-action-tint-pressed);
    color: var(--color-action);
    font-weight: var(--font-weight-medium);
}

.settings-referral-role-pick input:focus-visible + .settings-referral-role-pick__label {
    outline: 2px solid var(--color-focus-ring);
    outline-offset: 2px;
}
