/* ================================================================
   Retraide Login v2 – Charte : fond #f0f8ff, bleu #009bfe
   Header WordPress visible · Onglets Login / Inscription / Reset
   ================================================================ */

:root {
    --rl-blue:        #009bfe;
    --rl-blue-dark:   #0083da;
    --rl-blue-light:  #e8f5ff;
    --rl-blue-bg:     #f0f8ff;
    --rl-text:        #1a2540;
    --rl-text-muted:  #6b7d99;
    --rl-border:      rgba(0, 155, 254, 0.18);
    --rl-white:       #ffffff;
    --rl-success:     #10b981;
    --rl-error:       #ef4444;
    --rl-shadow-sm:   0 2px 4px rgba(7, 36, 86, 0.07);
    --rl-shadow-md:   0 4px 18px rgba(7, 36, 86, 0.1);
    --rl-radius:      10px;
    --rl-transition:  0.2s ease;
    --font:           'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Page wrapper ── */
.rl-page-wrapper {
    background: var(--rl-blue-bg);
    padding: 40px 20px 64px;
    min-height: 60vh;
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

.rl-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1120px;
    margin: 0 auto;
    animation: rlFadeIn 0.4s ease both;
}

@keyframes rlFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════
   PANNEAU GAUCHE : VALEURS
   ══════════════════════════════ */
.rl-values {
    flex: 1;
    min-width: 0;
}

.rl-values__inner {
    background: var(--rl-white);
    border-radius: var(--rl-radius);
    box-shadow: var(--rl-shadow-sm);
    border: 1px solid rgba(0,155,254,0.08);
    padding: 36px 30px;
}

.rl-values__logo { margin-bottom: 22px; }
.rl-values__logo img { max-width: 180px; height: auto; display: block; }

.rl-values__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--rl-text);
    letter-spacing: -0.4px;
    line-height: 1.25;
    margin: 0 0 12px 0;
}

.rl-values__title-blue { color: var(--rl-blue); }

.rl-values__intro {
    font-size: 0.93rem;
    color: var(--rl-text-muted);
    line-height: 1.65;
    margin-bottom: 26px;
}

.rl-values__list {
    list-style: none; padding: 0; margin: 0 0 28px 0;
    display: flex; flex-direction: column; gap: 10px;
}

.rl-values__item {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 0.88rem; line-height: 1.5; color: var(--rl-text);
    padding: 11px 13px;
    border-radius: 7px;
    background: var(--rl-blue-bg);
    border-left: 3px solid var(--rl-blue);
    transition: background var(--rl-transition), transform var(--rl-transition);
}
.rl-values__item:hover { background: #dbeeff; transform: translateX(3px); }
.rl-values__icon { font-size: 1.15rem; flex-shrink: 0; margin-top: 1px; }
.rl-values__item strong { display: block; font-weight: 700; color: var(--rl-text); margin-bottom: 1px; }
.rl-values__item span   { display: block; color: var(--rl-text-muted); font-size: 0.82rem; }

.rl-values__stats {
    display: flex; gap: 0;
    border: 1px solid var(--rl-border); border-radius: 8px; overflow: hidden;
}
.rl-values__stat {
    flex: 1; text-align: center; padding: 14px 8px;
    border-right: 1px solid var(--rl-border);
}
.rl-values__stat:last-child { border-right: none; }
.rl-values__stat-num   { display: block; font-size: 1.45rem; font-weight: 800; color: var(--rl-blue); letter-spacing: -0.5px; }
.rl-values__stat-label { display: block; font-size: 0.7rem; color: var(--rl-text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.3px; margin-top: 3px; }

/* ══════════════════════════════
   PANNEAU DROIT : ONGLETS + FORMULAIRES
   ══════════════════════════════ */
.rl-form-panel {
    width: 520px;
    flex-shrink: 0;
}

/* ── Onglets navigation (accessibles seniors) ── */
.rl-tabs {
    display: flex;
    background: rgba(0,155,254,0.05);
    border-radius: 12px 12px 0 0;
    border: 1px solid var(--rl-border);
    border-bottom: none;
    overflow: hidden;
    gap: 1px;
}

.rl-tab {
    flex: 1;
    padding: 18px 6px 14px;
    border: none;
    background: rgba(0,155,254,0.04);
    font-family: var(--font);
    font-size: 0;
    font-weight: 600;
    color: var(--rl-text-muted);
    cursor: pointer;
    transition: all var(--rl-transition);
    border-right: 1px solid var(--rl-border);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}
.rl-tab:last-child { border-right: none; }

.rl-tab__icon {
    font-size: 1.6rem;
    line-height: 1;
    display: block;
    filter: grayscale(50%);
    transition: filter var(--rl-transition), transform var(--rl-transition);
}

.rl-tab__label {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--rl-text-muted);
    display: block;
    transition: color var(--rl-transition);
    letter-spacing: 0;
}

.rl-tab:hover .rl-tab__icon  { filter: grayscale(0%); transform: scale(1.1); }
.rl-tab:hover .rl-tab__label { color: var(--rl-blue); }
.rl-tab:hover { background: rgba(0,155,254,0.08); }

.rl-tab--active {
    background: var(--rl-white);
    box-shadow: inset 0 -3px 0 var(--rl-blue);
}
.rl-tab--active .rl-tab__icon  { filter: grayscale(0%); }
.rl-tab--active .rl-tab__label { color: var(--rl-blue); font-weight: 800; }

.rl-tab:focus-visible {
    outline: 2px solid var(--rl-blue);
    outline-offset: -2px;
}

/* Sur mobile : icône plus petite, label plus court */
@media (max-width: 400px) {
    .rl-tab { padding: 14px 4px 10px; }
    .rl-tab__icon { font-size: 1.3rem; }
    .rl-tab__label { font-size: 0.68rem; }
}

/* ── Card formulaire ── */
.rl-card {
    background: var(--rl-white);
    border-radius: 0 0 var(--rl-radius) var(--rl-radius);
    box-shadow: var(--rl-shadow-md);
    border: 1px solid var(--rl-border);
    border-top: none;
    transition: none;
}

.rl-card__inner {
    padding: 28px 30px 24px;
}

.rl-card--shake {
    animation: rlShake 0.4s cubic-bezier(0.36,0.07,0.19,0.97) both !important;
}
@keyframes rlShake {
    10%, 90% { transform: translateX(-3px); }
    20%, 80% { transform: translateX(4px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}

/* En-tête card */
.rl-card__header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 5px; padding-bottom: 18px;
    border-bottom: 1px solid rgba(0,155,254,0.08);
}
.rl-card__icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--rl-blue-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--rl-blue); flex-shrink: 0;
}
.rl-card__title {
    font-size: 1.25rem; font-weight: 800; color: var(--rl-text);
    letter-spacing: -0.3px; margin: 0; line-height: 1.2;
}
.rl-card__subtitle {
    font-size: 0.8rem; color: var(--rl-text-muted);
    margin: 3px 0 0 0;
}

/* ── Alertes ── */
.rl-alert {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 10px 14px;
    border-radius: 7px;
    font-size: 0.85rem; font-weight: 500; line-height: 1.5;
    margin-bottom: 0;
    animation: rlAlertIn 0.22s ease both;
}
.rl-alert--error {
    background: rgba(239,68,68,0.07);
    border: 1px solid rgba(239,68,68,0.2);
    color: #b91c1c;
}
.rl-alert--success {
    background: rgba(16,185,129,0.07);
    border: 1px solid rgba(16,185,129,0.2);
    color: #065f46;
}
@keyframes rlAlertIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Honeypot ── */
.rl-honeypot {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    opacity: 0; pointer-events: none;
}

/* ── Champs ── */
.rl-field { margin-bottom: 16px; }
.rl-field--legal { margin-bottom: 10px; }

.rl-field__label {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.78rem; font-weight: 700; color: var(--rl-text);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 7px;
}
.rl-field__label--group { display: block; }
.rl-field__label svg { color: var(--rl-blue); }
.rl-field__hint { text-transform: none; font-weight: 400; color: var(--rl-text-muted); font-size: 0.74rem; }

.rl-field__wrap { position: relative; }

.rl-field__input {
    width: 100%; height: 46px;
    padding: 0 42px 0 14px;
    font-family: var(--font); font-size: 0.94rem;
    color: var(--rl-text);
    background: var(--rl-blue-bg);
    border: 1.5px solid var(--rl-border);
    border-radius: 7px;
    outline: none;
    transition: border-color var(--rl-transition), box-shadow var(--rl-transition), background var(--rl-transition);
    box-sizing: border-box;
}
.rl-field__input::placeholder { color: #b0bec5; }
.rl-field__input:focus {
    background: var(--rl-white);
    border-color: var(--rl-blue);
    box-shadow: 0 0 0 3px rgba(0,155,254,0.1);
}
.rl-field__input:disabled { opacity: 0.5; cursor: not-allowed; }
.rl-field--error .rl-field__input {
    border-color: var(--rl-error);
    box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}

.rl-field__error {
    display: block; margin-top: 5px;
    font-size: 0.76rem; color: var(--rl-error); font-weight: 500;
    min-height: 1rem;
}

.rl-field__toggle {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; padding: 4px;
    color: var(--rl-text-muted); display: flex; align-items: center;
    border-radius: 4px; transition: color var(--rl-transition);
}
.rl-field__toggle:hover { color: var(--rl-blue); }

/* ── Rangée 2 colonnes ── */
.rl-field-row {
    display: flex; gap: 12px;
}
.rl-field-row .rl-field { flex: 1; min-width: 0; }

/* ══════════════════════════════
   UPLOAD AVATAR
   ══════════════════════════════ */
.rl-avatar-upload {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 16px;
    background: var(--rl-blue-bg);
    border: 1.5px dashed var(--rl-border);
    border-radius: 10px;
    margin-bottom: 20px;
    transition: border-color var(--rl-transition), background var(--rl-transition);
}
.rl-avatar-upload:hover {
    border-color: var(--rl-blue);
    background: var(--rl-blue-light);
}

.rl-avatar-preview {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--rl-white);
    border: 2px solid var(--rl-border);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
    transition: border-color var(--rl-transition);
}
.rl-avatar-upload:hover .rl-avatar-preview {
    border-color: var(--rl-blue);
}

.rl-avatar-info { flex: 1; min-width: 0; }

.rl-avatar-label {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.84rem; font-weight: 700;
    color: var(--rl-blue);
    cursor: pointer;
    transition: opacity var(--rl-transition);
}
.rl-avatar-label:hover { opacity: 0.75; }

.rl-avatar-input {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    opacity: 0; pointer-events: none;
}

.rl-avatar-hint {
    display: block; font-size: 0.73rem;
    color: var(--rl-text-muted); margin-top: 4px;
}

/* ══════════════════════════════
   RADIO PROFIL
   ══════════════════════════════ */
.rl-radio-group {
    display: flex; flex-direction: column; gap: 8px;
}

.rl-radio {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1.5px solid var(--rl-border);
    background: var(--rl-blue-bg);
    cursor: pointer;
    transition: all var(--rl-transition);
    position: relative;
}
.rl-radio:hover {
    border-color: var(--rl-blue);
    background: var(--rl-blue-light);
}

.rl-radio__input {
    position: absolute; opacity: 0; width: 0; height: 0;
}

.rl-radio__mark {
    width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid var(--rl-border);
    background: var(--rl-white);
    flex-shrink: 0; margin-top: 2px;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--rl-transition);
}
.rl-radio__input:checked ~ .rl-radio__mark {
    border-color: var(--rl-blue);
}
.rl-radio__input:checked ~ .rl-radio__mark::after {
    content: '';
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--rl-blue);
}

.rl-radio__input:checked ~ .rl-radio__content strong {
    color: var(--rl-blue);
}

.rl-radio__input:focus-visible ~ .rl-radio__mark {
    outline: 2px solid var(--rl-blue);
    outline-offset: 2px;
}

/* Carte radio sélectionnée */
.rl-radio:has(.rl-radio__input:checked) {
    border-color: var(--rl-blue);
    background: var(--rl-blue-light);
    box-shadow: 0 0 0 3px rgba(0,155,254,0.1);
}

.rl-radio__content {
    display: flex; align-items: flex-start; gap: 10px; flex: 1;
}
.rl-radio__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.rl-radio__text strong {
    display: block; font-size: 0.88rem; font-weight: 700;
    color: var(--rl-text); transition: color var(--rl-transition);
}
.rl-radio__text small {
    display: block; font-size: 0.76rem;
    color: var(--rl-text-muted); margin-top: 2px;
}

/* ── Champ d'erreur type ── */
.rl-field--error .rl-radio {
    border-color: var(--rl-error);
}

/* ══════════════════════════════
   CHECKBOXES LÉGALES
   ══════════════════════════════ */
.rl-checkbox {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; user-select: none;
}
.rl-checkbox--legal {
    align-items: flex-start;
    padding: 10px 12px;
    background: var(--rl-blue-bg);
    border: 1px solid var(--rl-border);
    border-radius: 7px;
    transition: background var(--rl-transition);
}
.rl-checkbox--legal:hover { background: var(--rl-blue-light); }

.rl-checkbox__input {
    position: absolute; opacity: 0; width: 0; height: 0;
}

.rl-checkbox__mark {
    width: 18px; height: 18px; flex-shrink: 0;
    border-radius: 5px; border: 1.5px solid var(--rl-border);
    background: var(--rl-white);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--rl-transition);
    margin-top: 1px;
}
.rl-checkbox__input:checked + .rl-checkbox__mark {
    background: var(--rl-blue); border-color: var(--rl-blue);
}
.rl-checkbox__input:checked + .rl-checkbox__mark::after {
    content: '';
    width: 10px; height: 6px;
    border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
    transform: rotate(-45deg) translate(1px, -1px);
}
.rl-checkbox__input:focus-visible + .rl-checkbox__mark {
    outline: 2px solid var(--rl-blue); outline-offset: 2px;
}

.rl-checkbox__label {
    font-size: 0.82rem; color: var(--rl-text); line-height: 1.5;
}
.rl-checkbox__label a {
    color: var(--rl-blue); font-weight: 600; text-decoration: underline;
}
.rl-checkbox__label a:hover { opacity: 0.75; }

/* ── reCAPTCHA ── */
.rl-recaptcha {
    margin: 16px 0;
    display: flex; flex-direction: column; align-items: center;
}

/* ── Options login (remember + forgot) ── */
.rl-form__options {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 18px; flex-wrap: wrap; gap: 10px;
}

/* ── Bouton texte (forgot) ── */
.rl-link-btn {
    background: none; border: none; padding: 0;
    font-family: var(--font); font-size: 0.85rem; font-weight: 600;
    color: var(--rl-blue); cursor: pointer;
    transition: opacity var(--rl-transition);
}
.rl-link-btn:hover { opacity: 0.75; }

/* ══════════════════════════════
   CTA « NOUVEAU SUR RETRAIDE ?» (seniors)
   ══════════════════════════════ */
.rl-newcomer-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--rl-blue-light) 0%, #e0f0ff 100%);
    border: 1.5px solid var(--rl-blue);
    border-radius: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.rl-newcomer-cta__icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
}

.rl-newcomer-cta__body {
    flex: 1;
    min-width: 140px;
}
.rl-newcomer-cta__body strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--rl-text);
    margin-bottom: 2px;
}
.rl-newcomer-cta__body span {
    font-size: 0.82rem;
    color: var(--rl-text-muted);
}

.rl-newcomer-cta__btn {
    flex-shrink: 0;
    padding: 10px 18px;
    border-radius: 7px;
    border: none;
    background: var(--rl-blue);
    color: #fff;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--rl-transition), transform var(--rl-transition), box-shadow var(--rl-transition);
    box-shadow: 0 2px 8px rgba(0,155,254,0.2);
    white-space: nowrap;
}
.rl-newcomer-cta__btn:hover {
    background: var(--rl-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,155,254,0.3);
}
.rl-newcomer-cta__btn:focus-visible {
    outline: 2px solid var(--rl-blue);
    outline-offset: 3px;
}

@media (max-width: 400px) {
    .rl-newcomer-cta { flex-direction: column; text-align: center; }
    .rl-newcomer-cta__btn { width: 100%; }
}

/* ══════════════════════════════
   INDICATEUR DE ROBUSTESSE MOT DE PASSE
   ══════════════════════════════ */
.rl-strength {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rl-strength__bar {
    flex: 1;
    height: 5px;
    background: rgba(0,155,254,0.1);
    border-radius: 99px;
    overflow: hidden;
}

.rl-strength__fill {
    height: 100%;
    border-radius: 99px;
    width: 0%;
    background: transparent;
    transition: width 0.4s ease, background 0.4s ease;
}

.rl-strength__label {
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 64px;
    text-align: right;
}

/* ══════════════════════════════
   PAGE RESET SOLO (sans panneau valeurs)
   ══════════════════════════════ */
.rl-container--centered {
    justify-content: center;
    max-width: 520px;
}

.rl-form-panel--solo {
    width: 100%;
    max-width: 520px;
}

/* ── Bouton principal ── */
.rl-btn {
    width: 100%; height: 50px;
    border-radius: 7px; border: none;
    background: linear-gradient(90deg, var(--rl-blue) 0%, var(--rl-blue-dark) 100%);
    color: #fff;
    font-family: var(--font); font-size: 0.96rem; font-weight: 700;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    letter-spacing: 0.2px;
    transition: transform var(--rl-transition), box-shadow var(--rl-transition), background var(--rl-transition);
    box-shadow: 0 2px 10px rgba(0,155,254,0.12);
    position: relative; overflow: hidden;
    margin-top: 6px;
}
.rl-btn::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.rl-btn:hover::before { left: 100%; }
.rl-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(0,155,254,0.28);
    background: linear-gradient(90deg, #10acff 0%, var(--rl-blue) 100%);
}
.rl-btn:active:not(:disabled) { transform: translateY(0); }
.rl-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.rl-btn:focus-visible { outline: 2px solid var(--rl-blue); outline-offset: 3px; }
.rl-btn--success {
    background: linear-gradient(90deg, var(--rl-success) 0%, #059669 100%) !important;
    box-shadow: 0 4px 16px rgba(16,185,129,0.3) !important;
}
.rl-btn__arrow { transition: transform var(--rl-transition); }
.rl-btn:hover:not(:disabled) .rl-btn__arrow { transform: translateX(3px); }

/* Spinner */
.rl-spin { animation: rlSpin 0.8s linear infinite; }
@keyframes rlSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Divider ── */
.rl-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 20px 0; color: var(--rl-text-muted);
    font-size: 0.8rem; font-weight: 500;
}
.rl-divider::before, .rl-divider::after {
    content: ''; flex: 1; height: 1px;
    background: rgba(0,155,254,0.1);
}

/* ── Lien inscription (bas de card) ── */
.rl-card__register { text-align: center; }
.rl-card__register p { font-size: 0.86rem; color: var(--rl-text-muted); margin-bottom: 10px; }

.rl-btn-secondary {
    display: block; width: 100%; height: 44px; line-height: 42px;
    border-radius: 7px; border: 1.5px solid var(--rl-blue);
    background: transparent; color: var(--rl-blue);
    font-family: var(--font); font-size: 0.9rem; font-weight: 700;
    text-align: center; text-decoration: none; cursor: pointer;
    transition: background var(--rl-transition), color var(--rl-transition), transform var(--rl-transition);
    letter-spacing: 0.2px;
}
.rl-btn-secondary:hover {
    background: var(--rl-blue); color: #fff; transform: translateY(-1px);
}

/* ── Social login (MiniOrange) ── */
.rl-social-login {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 4px 0;
}

/* Assurer que les boutons MiniOrange s'intègrent bien */
.rl-social-login > * {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

/* ── Note de sécurité ── */
.rl-security-note {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 14px;
    font-size: 0.71rem; color: var(--rl-text-muted);
    font-weight: 500; letter-spacing: 0.1px; text-align: center;
}

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */
@media (max-width: 900px) {
    .rl-container { flex-direction: column-reverse; gap: 24px; }
    .rl-form-panel { width: 100%; }
    .rl-values__inner { padding: 22px 18px; }
    /* Masquer les 2 dernières valeurs sur tablet */
    .rl-values__list .rl-values__item:nth-child(n+5) { display: none; }
}

@media (max-width: 540px) {
    .rl-page-wrapper { padding: 20px 12px 48px; }
    .rl-card__inner { padding: 22px 16px 20px; }
    .rl-tabs .rl-tab { font-size: 0.74rem; padding: 10px 4px; }
    .rl-field-row { flex-direction: column; gap: 0; }
    .rl-btn { height: 46px; font-size: 0.92rem; }
    .rl-values__stats { flex-wrap: wrap; }
    .rl-values__stat { flex: 1 1 33%; }
    .rl-radio__content { flex-direction: column; gap: 2px; }
    .rl-avatar-upload { flex-direction: column; text-align: center; }
    .rl-avatar-preview { margin: 0 auto; }
}

/* ── Focus visible global ── */
:focus-visible { outline: 2px solid var(--rl-blue); outline-offset: 2px; }

.site-content:has(.rl-page-wrapper) {
    padding-top: 0;
}