/* ==========================================================================
   Member area: login, register, welcome, dashboard
   Builds on the tokens and components in landing.css
   ========================================================================== */

/* Alerts
   ========================================================================== */
.alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: .93rem;
    font-weight: 600;
    animation: alert-in .4s var(--ease-out);
}
.alert-error   { background: #fdecec; color: #a11d1d; border: 1px solid #f6c9c9; }
.alert-success { background: var(--green-100); color: var(--green-900); border: 1px solid #c4e3cf; }
.alert-warn    { background: var(--amber-100); color: #6b4700; border: 1px solid #f4d999; font-weight: 500; }
@keyframes alert-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Form extras
   ========================================================================== */
.field-error { margin: 6px 0 0; color: var(--danger); font-size: .85rem; font-weight: 600; }
.field-hint  { margin: 6px 0 0; color: var(--muted); font-size: .82rem; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field input[aria-invalid="true"] + label { color: var(--danger); }

/* Uppercase IDs as they are typed */
.field input[data-upper] { text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.field input[data-upper]:placeholder-shown { text-transform: none; letter-spacing: normal; }

/* +91 prefix: appears once the field is focused or filled */
.field.has-prefix .field-prefix {
    position: absolute;
    left: 1rem; top: 1.4rem;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.6;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
}
.field.has-prefix input:focus,
.field.has-prefix input:not(:placeholder-shown) { padding-left: 3.1rem; }
.field.has-prefix:has(input:focus) .field-prefix,
.field.has-prefix:has(input:not(:placeholder-shown)) .field-prefix { opacity: 1; }

/* Show / hide password */
.field.has-toggle input { padding-right: 3.2rem; }
.pw-toggle {
    position: absolute;
    right: 8px; top: 9px;
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.pw-toggle:hover { background: var(--green-50); color: var(--green-800); }
.pw-toggle:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 1px; }
.pw-toggle .eye-closed { display: none; }
.pw-toggle[aria-pressed="true"] .eye-open { display: none; }
.pw-toggle[aria-pressed="true"] .eye-closed { display: block; }

/* Password strength */
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.strength span { height: 5px; border-radius: 5px; background: var(--line); transition: background-color .3s ease, transform .3s var(--ease-spring); }
.strength[data-score="1"] span:nth-child(-n+1) { background: #e05252; }
.strength[data-score="2"] span:nth-child(-n+2) { background: #f2a516; }
.strength[data-score="3"] span:nth-child(-n+3) { background: #7cb342; }
.strength[data-score="4"] span:nth-child(-n+4) { background: var(--green-700); }
.strength[data-score] span { transform-origin: 0 50%; }

/* Sponsor lookup states */
.sponsor-status { display: flex; align-items: center; gap: 6px; min-height: 1.3em; }
.sponsor-status:empty { display: none; }
.sponsor-status.is-loading::before {
    content: "";
    width: 14px; height: 14px;
    border: 2px solid var(--line);
    border-top-color: var(--green-700);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
.sponsor-status.is-found { color: var(--green-800); font-weight: 700; }
.sponsor-status.is-found::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green-800); color: #fff; font-size: .7rem; animation: pop-in .4s var(--ease-spring); }
.sponsor-status.is-missing { color: var(--danger); font-weight: 700; }
.field input.sponsor-ok { border-color: var(--green-700); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Loading button */
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn-label::before {
    content: "";
    display: inline-block;
    width: 16px; height: 16px;
    margin-right: 10px;
    vertical-align: -3px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

.btn-light-green { background: var(--green-100); color: var(--green-900); }
.btn-light-green:hover { background: #d3ebdd; }
.btn-light-green.copied,
.btn-light.copied { background: var(--amber-500); border-color: var(--amber-500); color: var(--green-900); }

/* Auth layout (minimal, matches the landing page)
   ========================================================================== */
.auth-page { background: var(--paper); }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.auth-header { border-bottom: 1px solid var(--line); }
.auth-header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.auth-header .brand-name { font-size: 1.02rem; }
.auth-back { color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.auth-back:hover { color: var(--ink); }

.auth-shell {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 80px;
    align-items: center;
    min-height: calc(100vh - 68px - 64px);
    min-height: calc(100dvh - 68px - 64px);
    padding-top: 56px;
    padding-bottom: 56px;
}

.auth-kicker { margin: 0 0 18px; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.auth-intro h2 {
    margin-bottom: 40px;
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.05em;
    animation: rise-in .8s var(--ease-out) both;
}
.auth-intro h2 span { color: var(--green-800); }
.auth-stats { max-width: 26rem; margin: 0; border-top: 1px solid var(--line); }
.auth-stats > div {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    animation: rise-in .8s var(--ease-out) both;
}
.auth-stats > div:nth-child(1) { animation-delay: .12s; }
.auth-stats > div:nth-child(2) { animation-delay: .2s; }
.auth-stats > div:nth-child(3) { animation-delay: .28s; }
.auth-stats dt { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.auth-stats dt .mini-coin { font-size: .9em; }
.auth-stats dd { margin: 0; color: var(--muted); font-size: .92rem; text-align: right; }

.auth-card {
    padding: 40px 36px 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    animation: rise-in .7s .08s var(--ease-out) both;
}
.auth-card h1 { margin-bottom: 6px; font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }
.auth-sub { margin-bottom: 28px; color: var(--muted); }
.auth-card .field input { border-width: 1px; border-color: #dcd9d2; }
.auth-form .btn-block { margin-top: 8px; box-shadow: none; }
.auth-row { display: flex; justify-content: flex-end; margin: -4px 0 16px; }
.auth-link { color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }
.auth-switch { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; text-align: center; }
.auth-switch a { color: var(--ink); font-weight: 800; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.registered-alert { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.registered-alert p { margin: 0; }
.registered-alert .btn { flex-shrink: 0; background: var(--white); }
.registered-alert .btn.copied { background: var(--amber-500); }
.auth-footer { padding-top: 20px; padding-bottom: 24px; color: var(--muted); font-size: .85rem; }

/* Welcome */
.welcome-check {
    display: grid; place-items: center;
    width: 52px; height: 52px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--green-800);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    animation: pop-in .6s .2s var(--ease-spring) both;
}
.id-badge {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 16px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
}
.id-badge > div { display: flex; flex-direction: column; gap: 2px; }
.id-label { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.id-value { color: var(--green-800); font-size: 2rem; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; animation: pop-in .7s .4s var(--ease-spring) both; }

.detail-list { margin: 0 0 20px; display: grid; }
.detail-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list dt { color: var(--muted); font-weight: 600; }
.detail-list dd { margin: 0; font-weight: 700; text-align: right; }
.muted { color: var(--muted); font-weight: 500; }

.welcome-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.welcome-actions .btn { padding-left: 1rem; padding-right: 1rem; }

/* Member layout: sidebar + content
   ========================================================================== */
.member-page { background: var(--cream); }
.member-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.avatar { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green-800); color: var(--white); font-weight: 800; }

.sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    padding: 20px 16px 16px;
    overflow-y: auto;
    background: var(--green-900);
    color: rgba(255, 255, 255, .72);
}
.sidebar-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px 12px; }
.sidebar .brand { color: var(--white); }
.sidebar .brand-mark { color: #1f9d63; }
.sidebar .brand-name { font-size: 1rem; }
.sidebar-close { display: none; }

.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-label { margin: 18px 12px 6px; color: rgba(255, 255, 255, .42); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.side-nav a,
.side-nav .is-soon {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    color: rgba(255, 255, 255, .8);
    font-size: .94rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}
.side-nav svg { flex: none; }
.side-nav a:hover { background: rgba(255, 255, 255, .07); color: var(--white); }
.side-nav a:focus-visible { outline: 3px solid var(--amber-500); outline-offset: -3px; }
.side-nav a.active { background: rgba(255, 255, 255, .1); color: var(--white); }
.side-nav a.active::before { content: ""; position: absolute; left: -16px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--amber-500); }
.side-nav a.active svg { color: var(--amber-500); }
.side-nav .is-soon { color: rgba(255, 255, 255, .5); cursor: default; }
.side-nav em { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6); font-size: .68rem; font-style: normal; font-weight: 700; letter-spacing: .04em; }

.side-member { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.side-nav + .side-member { margin-top: 24px; }
.side-member .avatar { background: var(--amber-500); color: var(--green-900); }
.side-member-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.side-member-text b { overflow: hidden; color: var(--white); font-size: .92rem; white-space: nowrap; text-overflow: ellipsis; }
.side-member-text small { color: rgba(255, 255, 255, .55); font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.side-member form { margin: 0; }
.side-logout {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, .72);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.side-logout:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.side-logout:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 1px; }

/* Top bar with the menu button, small screens only */
.member-bar { display: none; }
.sidebar-backdrop { display: none; }

.member-main { width: 100%; max-width: 1180px; padding: 40px 40px 64px; }

/* Dashboard
   ========================================================================== */
.dash-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; animation: card-in .5s var(--ease-out) both; }
.dash-greet { margin: 0; color: var(--muted); font-weight: 600; }
.dash-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin: 0 0 .25rem; }
.dash-sub { margin: 0; color: var(--muted); }
.dash-sub b { color: var(--ink); letter-spacing: .03em; }
.status-pill { padding: .45rem 1rem; border-radius: 999px; font-weight: 800; font-size: .85rem; }
.status-pending { background: var(--amber-100); color: #8a5a00; }
.status-active  { background: var(--green-100); color: var(--green-900); }
.status-blocked { background: #fdecec; color: #a11d1d; }

.activate-card {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 28px 32px;
    border-radius: 22px;
    background: linear-gradient(120deg, var(--amber-100), #fff6e0);
    border: 1px solid #f4d999;
    animation: card-in .5s .08s var(--ease-out) both;
}
.activate-card h2 { font-size: 1.35rem; margin-bottom: .3rem; }
.activate-card p { margin: 0; color: #6b4700; max-width: 40rem; }

.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dash-card {
    position: relative;
    padding: 26px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
    animation: card-in .5s var(--ease-out) both;
}
.dash-card:nth-child(2) { animation-delay: .12s; }
.dash-card:nth-child(3) { animation-delay: .2s; }
.dash-card h2 { font-size: 1.15rem; margin-bottom: 14px; }
.dash-card { scroll-margin-top: 88px; }
.dash-card:target { box-shadow: 0 0 0 3px var(--amber-500), var(--shadow); }
.dash-card .detail-list { margin: 0; }

.dash-refer { background: var(--green-800); color: var(--white); overflow: hidden; }
.dash-refer p { color: rgba(255, 255, 255, .8); font-size: .95rem; }
.ref-box { display: flex; gap: 8px; margin-bottom: 12px; padding: 6px 6px 6px 14px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.ref-box input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--white); font: inherit; font-size: .88rem; outline: none; }

.ref-team-link { display: inline-flex; gap: .35rem; margin-top: 14px; color: rgba(255, 255, 255, .85); font-size: .9rem; font-weight: 700; text-decoration: none; }
.ref-team-link:hover { color: var(--white); }
.ref-team-link span { transition: transform .3s var(--ease-out); }
.ref-team-link:hover span { transform: translateX(4px); }

.reward-tiles { display: grid; gap: 12px; }
.reward-tile { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.reward-icon { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--amber-100); font-size: 1.5rem; }
.reward-icon .mini-coin { width: 36px; height: 36px; }
.reward-tile small { color: var(--muted); }

.card-link { display: inline-flex; gap: .35rem; margin-top: 14px; color: var(--green-800); font-size: .92rem; font-weight: 700; text-decoration: none; }
.card-link span { transition: transform .3s var(--ease-out); }
.card-link:hover span { transform: translateX(4px); }

/* My account
   ========================================================================== */
.account-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.account-summary { grid-column: 2; grid-row: 1 / span 2; }
.card-sub { margin: -6px 0 20px; color: var(--muted); font-size: .92rem; }
.account-card .field input { border-width: 1px; border-color: #dcd9d2; }
.account-card .btn { box-shadow: none; }
.account-summary .id-badge { margin-bottom: 6px; }
.account-summary .id-value { font-size: 1.6rem; }
.account-note { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.account-note a { color: var(--green-800); font-weight: 700; }

/* My team
   ========================================================================== */
.team-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.team-actions .btn-ghost.copied { background: var(--amber-500); border-color: var(--amber-500); color: var(--green-900); }
.team-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.team-stat span { display: block; color: var(--muted); font-size: .9rem; font-weight: 600; }
.team-stat b { display: block; margin-top: 4px; font-size: 2.1rem; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.team-stat .is-active { color: var(--green-800); }
.team-stat .is-pending { color: #8a5a00; }

.team-empty { padding: 48px 26px; text-align: center; }
.team-empty-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 18px; background: var(--green-100); color: var(--green-800); }
.team-empty h2 { margin-bottom: 6px; font-size: 1.3rem; }
.team-empty p { max-width: 26rem; margin: 0 auto 22px; color: var(--muted); }

.team-list { padding: 8px 26px 18px; }
.team-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.team-table th { padding: 14px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.team-table td { padding: 14px 12px; border-bottom: 1px dashed var(--line); vertical-align: middle; }
.team-table tbody tr:last-child td { border-bottom: 0; }
.team-table th:first-child, .team-table td:first-child { padding-left: 0; }
.team-table th:last-child, .team-table td:last-child { padding-right: 0; text-align: right; }
.team-table td:last-child { font-weight: 800; font-variant-numeric: tabular-nums; }
.team-table .status-pill { padding: .3rem .75rem; font-size: .78rem; white-space: nowrap; }
.team-member { display: flex; align-items: center; gap: 12px; }
.team-member .avatar { width: 36px; height: 36px; background: var(--green-100); color: var(--green-900); }
.team-member b { display: block; font-weight: 700; }
.team-member small { color: var(--muted); font-weight: 700; letter-spacing: .03em; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.pagination a { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: none; }
.pagination a:hover { border-color: var(--green-700); }
.pagination .active a { border-color: var(--green-800); background: var(--green-800); color: var(--white); }

/* Responsive
   ========================================================================== */
@media (max-width: 1280px) {
    .dash-grid { grid-template-columns: 1fr 1fr; }
    .dash-rewards { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
    .member-shell { grid-template-columns: minmax(0, 1fr); }

    .sidebar {
        position: fixed;
        top: 0; bottom: 0; left: 0;
        z-index: 100;
        width: 288px;
        max-width: 86vw;
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform .3s var(--ease-out), visibility 0s .3s;
    }
    .nav-open .sidebar { transform: none; visibility: visible; transition-delay: 0s; box-shadow: 0 0 60px rgba(0, 0, 0, .35); }
    .sidebar-close {
        display: grid; place-items: center;
        width: 40px; height: 40px;
        border: 0;
        border-radius: 10px;
        background: rgba(255, 255, 255, .08);
        color: var(--white);
        cursor: pointer;
    }
    .sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 90;
        background: rgba(6, 26, 17, .5);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
    }
    .nav-open .sidebar-backdrop { opacity: 1; pointer-events: auto; }
    .nav-open { overflow: hidden; }

    .member-bar {
        position: sticky;
        top: 0;
        z-index: 50;
        display: flex;
        align-items: center;
        gap: 12px;
        height: 64px;
        padding: 0 20px 0 12px;
        border-bottom: 1px solid var(--line);
        background: rgba(255, 250, 241, .92);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .member-bar .brand { margin-right: auto; }
    .member-bar .brand-name { font-size: 1rem; }
    .sidebar-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px; height: 44px;
        padding: 0 11px;
        border: 0;
        border-radius: 12px;
        background: transparent;
        cursor: pointer;
    }
    .sidebar-toggle:hover { background: var(--green-50); }
    .sidebar-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }

    .member-main { max-width: none; padding: 28px 20px 56px; }
}

@media (max-width: 960px) {
    .auth-shell { grid-template-columns: 1fr; gap: 28px; align-items: start; min-height: 0; padding-top: 36px; }
    .auth-intro h2 { margin-bottom: 0; font-size: 2.6rem; }
    .auth-stats { display: none; }
    .auth-panel { max-width: 520px; width: 100%; }
}

@media (max-width: 640px) {
    .auth-intro { display: none; }
    .auth-shell { padding-top: 24px; }
    .auth-card { padding: 30px 22px 24px; border-radius: 20px; }
    .dash-grid { grid-template-columns: 1fr; }
    .account-grid { grid-template-columns: minmax(0, 1fr); }
    .account-summary { grid-column: auto; grid-row: auto; }
    .account-card .btn { width: 100%; }

    /* Team table turns into one card per person */
    .team-stats { gap: 10px; }
    .team-stat { padding: 16px; }
    .team-stat span { font-size: .78rem; }
    .team-stat b { font-size: 1.6rem; }
    .team-list { padding: 4px 18px 14px; }
    .team-table thead { display: none; }
    .team-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
    .team-table tbody tr:last-child { border-bottom: 0; }
    .team-table td { padding: 0 !important; border: 0; text-align: left !important; }
    .team-table td:first-child { grid-column: 1 / -1; }
    .team-table td:not(:first-child)::before { content: attr(data-label); display: block; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .activate-card { padding: 22px; }
    .activate-card .btn { width: 100%; }
    .welcome-actions { grid-template-columns: 1fr; }
    .id-value { font-size: 1.7rem; }
}

@media (max-width: 480px) {
    .auth-back .hide-sm { display: none; }
}
