/* ====================================================================
 * The Arcanum — customer portal (auth pages + /account)
 *
 * "Astral" palette: the site's blue-black nebula ground, lit by a
 * cobalt-to-cyan accent with an indigo undertone. Gold is kept for the
 * brand mark and the odd highlight only. Glass panels, hairline borders
 * and soft light instead of flat fills.
 * ==================================================================== */

:root {
    --p-font-head: 'Sora', 'Inter', system-ui, sans-serif;
    --p-font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

    --p-text:   #e9edfb;
    --p-text-2: #a7b1d4;
    --p-text-3: #6f7aa3;

    --p-surface:   rgba(13, 19, 46, 0.58);
    --p-surface-2: rgba(18, 26, 62, 0.62);
    --p-inset:     rgba(4, 7, 22, 0.55);
    --p-line:      rgba(136, 160, 255, 0.11);
    --p-line-2:    rgba(136, 160, 255, 0.22);

    --p-cobalt: #4f7cff;
    --p-cyan:   #2dd4f0;
    --p-indigo: #8a7dff;
    --p-gold:   #f0c674;

    --p-ok:     #34d399;
    --p-warn:   #fbbf24;
    --p-danger: #fb7185;
    --p-info:   #38bdf8;

    --p-grad:      linear-gradient(135deg, #4f7cff 0%, #2dd4f0 100%);
    --p-grad-wide: linear-gradient(120deg, #8a7dff 0%, #4f7cff 45%, #2dd4f0 100%);
    --p-glow:      0 10px 30px -10px rgba(45, 160, 255, 0.55);

    --p-r-lg: 20px;
    --p-r-md: 14px;
    --p-r-sm: 10px;

    --p-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8), 0 1px 0 0 rgba(255, 255, 255, 0.04) inset;
}

/* ─── Shared ambient backdrop (aurora + faint star field) ───────────── */

.arc-auth-page .arc-aurora-orb-1,
.arc-acct-page .arc-aurora-orb-1 { background: radial-gradient(circle, rgba(79, 124, 255, 0.42), transparent 65%); }
.arc-auth-page .arc-aurora-orb-2,
.arc-acct-page .arc-aurora-orb-2 { background: radial-gradient(circle, rgba(45, 212, 240, 0.22), transparent 65%); }
.arc-auth-page .arc-aurora-orb-3,
.arc-acct-page .arc-aurora-orb-3 { background: radial-gradient(circle, rgba(138, 125, 255, 0.30), transparent 65%); }

.arc-auth-aurora::after,
.arc-acct-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.55), transparent 60%),
        radial-gradient(1px 1px at 72% 12%, rgba(200, 230, 255, 0.45), transparent 60%),
        radial-gradient(1px 1px at 38% 64%, rgba(255, 255, 255, 0.35), transparent 60%),
        radial-gradient(1.5px 1.5px at 86% 46%, rgba(160, 220, 255, 0.5), transparent 60%),
        radial-gradient(1px 1px at 22% 86%, rgba(255, 255, 255, 0.3), transparent 60%),
        radial-gradient(1px 1px at 58% 32%, rgba(255, 255, 255, 0.28), transparent 60%),
        radial-gradient(1px 1px at 94% 82%, rgba(255, 255, 255, 0.32), transparent 60%);
    opacity: 0.7;
}
.arc-auth-motes { display: none; }

/* ====================================================================
 * Auth pages (login, password reset, 2FA challenge, verify)
 * ==================================================================== */

.arc-auth-page {
    position: relative;
    min-height: 100vh;
    padding: 7.5rem 1.25rem 4.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    font-family: var(--p-font-body);
}
.arc-auth-aurora,
.arc-auth-motes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.arc-auth-stage {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 27rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.arc-auth-brand {
    position: relative;
    display: block;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    text-decoration: none;
}
.arc-auth-brand-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(45, 212, 240, 0.7), rgba(79, 124, 255, 0.6), rgba(138, 125, 255, 0.6), transparent 300deg);
    animation: arc-rotate 18s linear infinite;
    -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%, #000 66%, transparent 68%);
            mask: radial-gradient(circle, transparent 60%, #000 62%, #000 66%, transparent 68%);
}
.arc-auth-brand-halo {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 124, 255, 0.45) 0%, transparent 65%);
    filter: blur(14px);
    animation: arc-breathe 6s ease-in-out infinite;
}
.arc-auth-brand-img {
    position: relative;
    width: 46px;
    height: 46px;
    object-fit: contain;
    margin: 13px auto 0;
    display: block;
    filter: drop-shadow(0 0 10px rgba(240, 198, 116, 0.35));
}

.arc-auth-card {
    position: relative;
    width: 100%;
    padding: 2.25rem 2rem 2rem;
    background: linear-gradient(180deg, rgba(18, 26, 62, 0.72), rgba(9, 13, 34, 0.82));
    border: 1px solid var(--p-line);
    border-radius: var(--p-r-lg);
    box-shadow: var(--p-shadow);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.arc-auth-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(140deg, rgba(45, 212, 240, 0.55), rgba(79, 124, 255, 0.10) 30%, transparent 55%, rgba(138, 125, 255, 0.35));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.arc-auth-card--wide { max-width: 34rem; margin: 0 auto; }
.arc-auth-card--narrow { max-width: 27rem; margin: 0 auto; }
.arc-auth-stage:has(.arc-auth-card--wide) { max-width: 34rem; }

.arc-auth-head {
    text-align: center;
    margin-bottom: 1.75rem;
}
.arc-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.9rem;
    border-radius: 99px;
    background: rgba(79, 124, 255, 0.10);
    border: 1px solid rgba(79, 124, 255, 0.25);
    color: #9fd8ff;
    font-family: var(--p-font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.arc-auth-heading {
    font-family: var(--p-font-head);
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--p-text);
    margin: 0 0 0.55rem;
}
.arc-auth-lede {
    color: var(--p-text-2);
    font-size: 0.93rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 22rem;
}
.arc-auth-lede a,
.arc-auth-altline a {
    color: #8fd6ff;
    text-decoration: none;
    font-weight: 500;
}
.arc-auth-lede a:hover,
.arc-auth-altline a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.arc-auth-body { display: flex; flex-direction: column; gap: 1.15rem; }
.arc-auth-body > form.arc-auth-body { gap: 1.15rem; }

.arc-auth-altline {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--p-text-3);
    font-size: 0.86rem;
    line-height: 1.6;
}
.arc-auth-altline a { margin-left: 0.2rem; }

.arc-auth-hint {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: var(--p-r-md);
    background: rgba(45, 212, 240, 0.06);
    border: 1px solid rgba(45, 212, 240, 0.18);
    color: var(--p-text-2);
    font-size: 0.85rem;
    line-height: 1.55;
    text-align: left;
}
.arc-auth-hint i { color: var(--p-cyan); margin-top: 0.2rem; }
.arc-auth-hint strong { color: var(--p-text); font-weight: 600; }

/* ====================================================================
 * Form controls (auth pages and account tabs)
 * ==================================================================== */

.arc-form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.arc-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--p-text-2);
    letter-spacing: 0.01em;
}
.arc-label-aside {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}
.arc-label-aside a {
    font-size: 0.78rem;
    color: #8fd6ff;
    text-decoration: none;
    font-weight: 500;
}
.arc-label-aside a:hover { color: #fff; }

.arc-input-wrap { position: relative; }
.arc-input-icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--p-text-3);
    font-size: 0.85rem;
    pointer-events: none;
    transition: color 0.15s ease;
}
.arc-input {
    width: 100%;
    height: 2.85rem;
    padding: 0 1rem 0 2.6rem;
    background: var(--p-inset);
    border: 1px solid rgba(136, 160, 255, 0.14);
    border-radius: var(--p-r-sm);
    color: var(--p-text);
    font-family: var(--p-font-body);
    font-size: 0.94rem;
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.arc-input::placeholder { color: rgba(167, 177, 212, 0.42); }
.arc-input:hover { border-color: rgba(136, 160, 255, 0.24); }
.arc-input:focus {
    border-color: rgba(45, 212, 240, 0.65);
    background: rgba(4, 7, 22, 0.8);
    box-shadow: 0 0 0 4px rgba(45, 212, 240, 0.12);
}
.arc-input-wrap:focus-within .arc-input-icon { color: var(--p-cyan); }
.arc-input:disabled { opacity: 0.55; cursor: not-allowed; }
.arc-input.is-invalid {
    border-color: rgba(251, 113, 133, 0.6);
    box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.10);
}
.arc-form-error { color: #fda4af; font-size: 0.8rem; margin: 0; }

.arc-form-errors {
    list-style: none;
    margin: 0;
    padding: 0.8rem 1rem;
    border-radius: var(--p-r-sm);
    background: rgba(251, 113, 133, 0.08);
    border: 1px solid rgba(251, 113, 133, 0.28);
    color: #fecdd3;
    font-size: 0.86rem;
    line-height: 1.5;
}
.arc-form-errors li + li { margin-top: 0.25rem; }
.arc-form-errors.is-ok {
    background: rgba(52, 211, 153, 0.08);
    border-color: rgba(52, 211, 153, 0.3);
    color: #bbf7d0;
}

.arc-check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
}
.arc-check {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.87rem;
    color: var(--p-text-2);
    cursor: pointer;
    user-select: none;
}
.arc-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.1rem;
    height: 1.1rem;
    border: 1px solid rgba(136, 160, 255, 0.35);
    border-radius: 0.3rem;
    background: var(--p-inset);
    position: relative;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease;
}
.arc-check input[type="checkbox"]:checked {
    background: var(--p-grad);
    border-color: transparent;
}
.arc-check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px; top: 2px;
    width: 4px; height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.arc-check input[type="checkbox"]:focus-visible { outline: 2px solid var(--p-cyan); outline-offset: 2px; }

/* Primary action — luminous cobalt→cyan with a slow light sweep */
.arc-submit {
    position: relative;
    width: 100%;
    height: 2.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0 1.2rem;
    border: 0;
    border-radius: var(--p-r-sm);
    background: var(--p-grad);
    color: #fff;
    font-family: var(--p-font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0, 30, 80, 0.35);
    cursor: pointer;
    box-shadow: var(--p-glow), 0 1px 0 rgba(255, 255, 255, 0.25) inset;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.arc-submit::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
    pointer-events: none;
}
.arc-submit:hover { filter: brightness(1.08); box-shadow: 0 14px 36px -10px rgba(45, 180, 255, 0.7), 0 1px 0 rgba(255, 255, 255, 0.25) inset; }
.arc-submit:hover::after { transform: translateX(120%); }
.arc-submit:active { transform: translateY(1px); }
.arc-submit:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.arc-auth-body .frc-captcha { width: 100%; }

@media (max-width: 480px) {
    .arc-auth-page { padding: 6rem 1rem 3rem; }
    .arc-auth-card { padding: 1.75rem 1.25rem 1.5rem; }
    .arc-auth-heading { font-size: 1.45rem; }
}

/* ====================================================================
 * Account portal
 * ==================================================================== */

.arc-acct-page {
    position: relative;
    min-height: calc(100vh - 4rem);
    padding: 6.75rem 1.25rem 5rem;
    overflow: hidden;
    font-family: var(--p-font-body);
    color: var(--p-text);
}
.arc-acct-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.arc-acct-shell {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ─── Identity header ─── */

.arc-acct-welcome {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.6rem 1.75rem;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(79, 124, 255, 0.16), transparent 55%),
        radial-gradient(90% 120% at 100% 100%, rgba(45, 212, 240, 0.08), transparent 60%),
        var(--p-surface);
    border: 1px solid var(--p-line);
    border-radius: var(--p-r-lg);
    box-shadow: var(--p-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.arc-acct-identity {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    min-width: 0;
}
.arc-acct-sigil {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--p-font-head);
    font-weight: 600;
    font-size: 1.15rem;
    color: #fff;
    background: radial-gradient(circle at 30% 25%, rgba(45, 212, 240, 0.45), rgba(79, 124, 255, 0.35) 45%, rgba(20, 24, 70, 0.95) 80%);
    box-shadow: 0 0 0 1px rgba(136, 160, 255, 0.25) inset, 0 8px 30px -8px rgba(45, 160, 255, 0.55);
}
.arc-acct-sigil::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 90deg, transparent, rgba(45, 212, 240, 0.8), rgba(138, 125, 255, 0.6), transparent 70%);
    -webkit-mask: radial-gradient(circle, transparent 66%, #000 68%);
            mask: radial-gradient(circle, transparent 66%, #000 68%);
    animation: arc-rotate 14s linear infinite;
}
.arc-acct-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8fd6ff;
    margin-bottom: 0.3rem;
}
.arc-acct-name {
    font-family: var(--p-font-head);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--p-text);
    margin: 0;
}
.arc-acct-name span {
    background: var(--p-grad-wide);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
.arc-acct-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.9rem;
    margin: 0.55rem 0 0;
    color: var(--p-text-2);
    font-size: 0.86rem;
}
.arc-acct-meta > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.arc-acct-meta i { color: var(--p-text-3); font-size: 0.8rem; }
.arc-acct-meta strong { color: var(--p-text); font-weight: 600; }

.arc-acct-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.18rem 0.6rem;
    border-radius: 99px;
    background: rgba(79, 124, 255, 0.12);
    border: 1px solid rgba(79, 124, 255, 0.28);
    color: #bcd2ff;
    font-size: 0.78rem;
    font-weight: 500;
}
.arc-acct-chip.is-ok { background: rgba(52, 211, 153, 0.10); border-color: rgba(52, 211, 153, 0.3); color: #a7f3d0; }
.arc-acct-chip.is-ok i { color: var(--p-ok); }
.arc-acct-chip.is-warn { background: rgba(251, 191, 36, 0.10); border-color: rgba(251, 191, 36, 0.3); color: #fde68a; }
.arc-acct-chip.is-warn i { color: var(--p-warn); }

.arc-acct-welcome-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.arc-acct-mini-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 2.35rem;
    padding: 0 0.95rem;
    border-radius: var(--p-r-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--p-line-2);
    color: var(--p-text);
    font-family: var(--p-font-body);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.arc-acct-mini-btn i { color: var(--p-text-2); font-size: 0.85rem; }
.arc-acct-mini-btn:hover { background: rgba(79, 124, 255, 0.12); border-color: rgba(79, 124, 255, 0.45); color: #fff; }
.arc-acct-mini-btn:hover i { color: #8fd6ff; }
.arc-acct-mini-btn-danger:hover { background: rgba(251, 113, 133, 0.10); border-color: rgba(251, 113, 133, 0.45); color: #fecdd3; }
.arc-acct-mini-btn-danger:hover i { color: var(--p-danger); }
.arc-acct-logout-form { display: inline-flex; margin: 0; }

/* ─── Grid: rail + content ─── */

.arc-acct-grid {
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.arc-acct-rail { position: sticky; top: 88px; }

.arc-acct-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.55rem;
    background: var(--p-surface);
    border: 1px solid var(--p-line);
    border-radius: var(--p-r-lg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.arc-acct-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.68rem 0.85rem;
    border-radius: var(--p-r-sm);
    color: var(--p-text-2);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}
.arc-acct-nav-link i {
    width: 1.1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--p-text-3);
    transition: color 0.15s ease;
}
.arc-acct-nav-link:hover { background: rgba(255, 255, 255, 0.035); color: var(--p-text); }
.arc-acct-nav-link:hover i { color: var(--p-text-2); }
.arc-acct-nav-link.is-active {
    background: linear-gradient(90deg, rgba(79, 124, 255, 0.20), rgba(45, 212, 240, 0.06));
    color: #fff;
    box-shadow: 0 0 0 1px rgba(79, 124, 255, 0.25) inset;
}
.arc-acct-nav-link.is-active i { color: var(--p-cyan); }
.arc-acct-nav-link.is-active::before {
    content: '';
    position: absolute;
    left: -0.55rem;
    top: 22%;
    bottom: 22%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--p-grad);
    box-shadow: 0 0 12px rgba(45, 212, 240, 0.8);
}
.arc-acct-nav-link:focus-visible { outline: 2px solid var(--p-cyan); outline-offset: -2px; }
.arc-acct-nav-count {
    margin-left: auto;
    min-width: 1.5rem;
    padding: 0.05rem 0.45rem;
    border-radius: 99px;
    background: rgba(45, 212, 240, 0.12);
    color: #a5f3fc;
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 920px) {
    .arc-acct-grid { grid-template-columns: 1fr; }
    .arc-acct-rail { position: static; }
    .arc-acct-nav {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 0.4rem;
    }
    .arc-acct-nav::-webkit-scrollbar { display: none; }
    .arc-acct-nav-link { flex-shrink: 0; padding: 0.55rem 0.8rem; }
    .arc-acct-nav-link.is-active::before { display: none; }
}

/* ─── Panes + cards ─── */

.arc-acct-pane { display: none; }
.arc-acct-pane.is-active { display: block; animation: arc-pane-in 0.25s ease; }
@keyframes arc-pane-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.arc-acct-card {
    padding: 1.75rem;
    background: var(--p-surface);
    border: 1px solid var(--p-line);
    border-radius: var(--p-r-lg);
    box-shadow: var(--p-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.arc-acct-card + .arc-acct-card { margin-top: 1.25rem; }

.arc-acct-card-head { margin-bottom: 1.5rem; }
.arc-acct-card-head h2 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 0.35rem;
    font-family: var(--p-font-head);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--p-text);
}
.arc-acct-card-head h2 i {
    width: 2rem;
    height: 2rem;
    display: inline-grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(79, 124, 255, 0.14);
    color: #8fd6ff;
    font-size: 0.85rem;
}
.arc-acct-card-head p {
    margin: 0;
    color: var(--p-text-2);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ─── Overview ─── */

.arc-acct-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}
.arc-acct-stat {
    position: relative;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1.05rem 1.1rem;
    background: var(--p-inset);
    border: 1px solid var(--p-line);
    border-radius: var(--p-r-md);
    overflow: hidden;
}
.arc-acct-stat-icon {
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-size: 0.95rem;
}
.arc-acct-stat-icon.is-cyan   { background: rgba(45, 212, 240, 0.12);  color: var(--p-cyan); }
.arc-acct-stat-icon.is-indigo { background: rgba(138, 125, 255, 0.14); color: #b4abff; }
.arc-acct-stat-icon.is-ok     { background: rgba(52, 211, 153, 0.12);  color: var(--p-ok); }
.arc-acct-stat-icon.is-warn   { background: rgba(251, 191, 36, 0.12);  color: var(--p-warn); }
.arc-acct-stat-label {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--p-text-3);
    margin-bottom: 0.2rem;
}
.arc-acct-stat-value {
    font-family: var(--p-font-head);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--p-text);
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}
.arc-acct-stat-meta { font-size: 0.76rem; color: var(--p-text-3); margin-top: 0.15rem; }
.arc-acct-muted { color: var(--p-text-3); font-weight: 500; }

.arc-acct-section-label {
    margin: 0 0 0.75rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--p-text-3);
}

.arc-acct-shortcuts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.75rem;
}
.arc-acct-shortcut {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--p-line);
    border-radius: var(--p-r-md);
    color: inherit;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.arc-acct-shortcut:hover {
    background: rgba(79, 124, 255, 0.08);
    border-color: rgba(79, 124, 255, 0.35);
    transform: translateY(-1px);
}
.arc-acct-shortcut > i {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(79, 124, 255, 0.12);
    color: #8fd6ff;
    font-size: 0.95rem;
}
.arc-acct-shortcut strong { display: block; color: var(--p-text); font-weight: 600; font-size: 0.92rem; }
.arc-acct-shortcut span { color: var(--p-text-3); font-size: 0.8rem; }

/* ─── Products ─── */

.arc-acct-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}
.arc-acct-product {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--p-inset);
    border: 1px solid var(--p-line);
    border-radius: var(--p-r-md);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.arc-acct-product:hover {
    border-color: rgba(79, 124, 255, 0.38);
    box-shadow: 0 16px 40px -24px rgba(45, 160, 255, 0.55);
}
.arc-acct-product-head { display: flex; align-items: center; gap: 0.85rem; }
.arc-acct-product-glyph {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(138, 125, 255, 0.35), rgba(79, 124, 255, 0.25) 50%, rgba(45, 212, 240, 0.25));
    box-shadow: 0 0 0 1px rgba(136, 160, 255, 0.25) inset;
    color: #fff;
    font-family: var(--p-font-head);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.arc-acct-product-title { min-width: 0; flex: 1; }
.arc-acct-product-title h3 {
    margin: 0;
    font-family: var(--p-font-head);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--p-text);
    line-height: 1.3;
}
.arc-acct-product-title span { color: var(--p-text-3); font-size: 0.78rem; }

.arc-acct-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 600;
    flex-shrink: 0;
    background: rgba(136, 160, 255, 0.1);
    border: 1px solid rgba(136, 160, 255, 0.22);
    color: var(--p-text-2);
}
.arc-acct-pill-ok   { background: rgba(52, 211, 153, 0.10); border-color: rgba(52, 211, 153, 0.30); color: #a7f3d0; }
.arc-acct-pill-warn { background: rgba(251, 191, 36, 0.10); border-color: rgba(251, 191, 36, 0.30); color: #fde68a; }
.arc-acct-pill-admin { background: rgba(240, 198, 116, 0.10); border-color: rgba(240, 198, 116, 0.32); color: #fde7b0; }

.arc-acct-product-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0;
    padding: 0.8rem 0.9rem;
    border-radius: var(--p-r-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(136, 160, 255, 0.07);
}
.arc-acct-product-meta dt { font-size: 0.72rem; color: var(--p-text-3); margin: 0 0 0.15rem; }
.arc-acct-product-meta dd {
    margin: 0;
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--p-text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arc-acct-product-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }

.arc-acct-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    height: 2.4rem;
    padding: 0 1rem;
    border-radius: var(--p-r-sm);
    border: 1px solid transparent;
    background: none;
    font-family: var(--p-font-body);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease, color 0.15s ease;
}
.arc-acct-btn:focus-visible { outline: 2px solid var(--p-cyan); outline-offset: 2px; }
.arc-acct-btn:disabled { opacity: 0.7; cursor: progress; }
.arc-acct-btn-primary {
    background: var(--p-grad);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 30, 80, 0.35);
    box-shadow: 0 8px 22px -10px rgba(45, 180, 255, 0.7), 0 1px 0 rgba(255, 255, 255, 0.22) inset;
}
.arc-acct-btn-primary:hover { filter: brightness(1.08); box-shadow: 0 12px 28px -10px rgba(45, 180, 255, 0.85), 0 1px 0 rgba(255, 255, 255, 0.22) inset; }
.arc-acct-btn-primary.is-grow { flex: 1; }
.arc-acct-btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--p-line-2);
    color: var(--p-text);
}
.arc-acct-btn-ghost i { color: var(--p-text-2); }
.arc-acct-btn-ghost:hover { background: rgba(79, 124, 255, 0.12); border-color: rgba(79, 124, 255, 0.45); color: #fff; }
.arc-acct-btn-ghost:hover i { color: #8fd6ff; }

.arc-acct-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.6rem;
    padding: 0 1.15rem;
    border-radius: var(--p-r-sm);
    background: var(--p-grad);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: var(--p-glow);
}
.arc-acct-cta:hover { filter: brightness(1.08); }

/* ─── Empty state ─── */

.arc-acct-empty { text-align: center; padding: 1.5rem 0.5rem 0.5rem; }
.arc-acct-empty-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(140deg, rgba(138, 125, 255, 0.25), rgba(45, 212, 240, 0.18));
    box-shadow: 0 0 0 1px rgba(136, 160, 255, 0.25) inset, 0 10px 30px -12px rgba(45, 160, 255, 0.6);
    color: #fff;
    font-size: 1.2rem;
}
.arc-acct-empty h3 {
    margin: 0 0 0.5rem;
    font-family: var(--p-font-head);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--p-text);
}
.arc-acct-empty-lede {
    max-width: 32rem;
    margin: 0 auto 1.5rem;
    color: var(--p-text-2);
    font-size: 0.93rem;
    line-height: 1.6;
}
.arc-acct-steps {
    list-style: none;
    max-width: 40rem;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.75rem;
    text-align: left;
    counter-reset: arc-step;
}
.arc-acct-steps li {
    position: relative;
    padding: 1rem 1rem 1rem 3.1rem;
    background: var(--p-inset);
    border: 1px solid var(--p-line);
    border-radius: var(--p-r-md);
    color: var(--p-text-2);
    font-size: 0.85rem;
    line-height: 1.5;
    counter-increment: arc-step;
}
.arc-acct-steps li::before {
    content: counter(arc-step);
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--p-grad);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}
.arc-acct-steps strong { display: block; color: var(--p-text); font-weight: 600; margin-bottom: 0.1rem; }
.arc-acct-steps a,
.arc-acct-note a,
.arc-acct-callout a { color: #8fd6ff; text-decoration: none; font-weight: 500; }
.arc-acct-steps a:hover,
.arc-acct-note a:hover,
.arc-acct-callout a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.arc-acct-note {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: var(--p-r-md);
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.18);
    color: var(--p-text-2);
    font-size: 0.85rem;
    line-height: 1.55;
}
.arc-acct-note i { color: var(--p-info); margin-top: 0.2rem; }

/* ─── Callouts ─── */

.arc-acct-callout {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
    border-radius: var(--p-r-md);
    border: 1px solid var(--p-line-2);
    background: rgba(79, 124, 255, 0.07);
    color: var(--p-text-2);
    font-size: 0.88rem;
    line-height: 1.55;
}
.arc-acct-callout > i {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(79, 124, 255, 0.16);
    color: #8fd6ff;
    font-size: 0.85rem;
}
.arc-acct-callout > div { flex: 1; min-width: 0; }
.arc-acct-callout strong { display: block; margin-bottom: 0.15rem; color: var(--p-text); font-weight: 600; }
.arc-acct-callout code,
.arc-acct-steps code {
    padding: 0.08rem 0.4rem;
    border-radius: 6px;
    background: rgba(79, 124, 255, 0.14);
    color: #cfe0ff;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    font-size: 0.84em;
}
.arc-acct-callout-warn { background: rgba(251, 191, 36, 0.06); border-color: rgba(251, 191, 36, 0.24); }
.arc-acct-callout-warn > i { background: rgba(251, 191, 36, 0.14); color: var(--p-warn); }
.arc-acct-callout-ok { background: rgba(52, 211, 153, 0.06); border-color: rgba(52, 211, 153, 0.24); }
.arc-acct-callout-ok > i { background: rgba(52, 211, 153, 0.14); color: var(--p-ok); }
.arc-acct-callout-accent {
    background:
        radial-gradient(120% 160% at 0% 0%, rgba(45, 212, 240, 0.10), transparent 55%),
        rgba(79, 124, 255, 0.07);
    border-color: rgba(45, 212, 240, 0.28);
}
.arc-acct-callout-accent > i { background: var(--p-grad); color: #fff; }

/* ─── Forms inside cards ─── */

.arc-acct-help {
    display: flex;
    gap: 0.4rem;
    align-items: flex-start;
    margin: 0.1rem 0 0;
    color: var(--p-text-3);
    font-size: 0.8rem;
    line-height: 1.5;
}
.arc-acct-help i { color: var(--p-text-3); margin-top: 0.18rem; }

.arc-acct-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--p-line);
}
.arc-acct-card .arc-auth-body { max-width: 34rem; }

/* ─── Profile tab ─── */

.arc-profile-head {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding-bottom: 1.4rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid var(--p-line);
}
.arc-profile-avatar {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(79, 124, 255, 0.45), 0 10px 30px -10px rgba(45, 160, 255, 0.6);
}
.arc-profile-avatar-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, rgba(138, 125, 255, 0.4), rgba(45, 212, 240, 0.3));
    color: #fff;
    font-size: 1.6rem;
}
.arc-profile-head-text h3 {
    margin: 0 0 0.25rem;
    font-family: var(--p-font-head);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--p-text);
}
.arc-profile-email { margin: 0 0 0.65rem; color: var(--p-text-2); font-size: 0.9rem; }
.arc-profile-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.arc-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin: 0;
}
.arc-profile-grid > div {
    padding: 0.9rem 1rem;
    background: var(--p-inset);
    border: 1px solid var(--p-line);
    border-radius: var(--p-r-md);
}
.arc-profile-grid dt {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.3rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--p-text-3);
}
.arc-profile-grid dt i { color: var(--p-text-3); }
.arc-profile-grid dd { margin: 0; color: var(--p-text); font-size: 0.92rem; font-weight: 500; }
.arc-profile-grid dd small { display: block; margin-top: 0.15rem; color: var(--p-text-3); font-size: 0.78rem; font-weight: 400; }

/* ─── Two-factor (tab + challenge pages) ─── */

.arc-acct-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem;
}
.arc-acct-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.9rem;
    background: var(--p-inset);
    border: 1px solid var(--p-line);
    border-radius: var(--p-r-sm);
    color: var(--p-text-2);
    font-size: 0.87rem;
}
.arc-acct-list li i { color: var(--p-ok); width: 1rem; text-align: center; }

.arc-2fa-why {
    padding: 1.05rem 1.2rem;
    margin-bottom: 1.5rem;
    background: var(--p-inset);
    border: 1px solid var(--p-line);
    border-radius: var(--p-r-md);
}
.arc-2fa-why h4 { margin: 0 0 0.6rem; font-family: var(--p-font-head); font-size: 0.98rem; font-weight: 600; color: var(--p-text); }
.arc-2fa-why ol { margin: 0; padding-left: 1.2rem; color: var(--p-text-2); font-size: 0.87rem; }
.arc-2fa-why li { margin-bottom: 0.35rem; }

.arc-2fa-step { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1.15rem; }
.arc-2fa-step-num {
    flex-shrink: 0;
    width: 1.9rem;
    height: 1.9rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--p-grad);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 0 0 4px rgba(79, 124, 255, 0.12);
}
.arc-2fa-step-title { margin: 0 0 0.25rem; font-family: var(--p-font-head); font-size: 1rem; font-weight: 600; color: var(--p-text); }
.arc-2fa-step-body { margin: 0; color: var(--p-text-2); font-size: 0.88rem; line-height: 1.55; }

.arc-2fa-qr-wrap {
    text-align: center;
    padding: 1.5rem;
    margin: 0.5rem 0 1rem;
    background: var(--p-inset);
    border: 1px solid var(--p-line);
    border-radius: var(--p-r-md);
}
.arc-2fa-qr { display: inline-block; padding: 0.85rem; background: #fff; border-radius: var(--p-r-sm); }
.arc-2fa-qr svg { display: block; width: 180px; height: 180px; }
.arc-2fa-secret { margin: 0.85rem 0 0; color: var(--p-text-2); font-size: 0.83rem; }
.arc-2fa-secret i { color: var(--p-cyan); margin-right: 0.35rem; }
.arc-2fa-secret code {
    padding: 0.12rem 0.45rem;
    border-radius: 6px;
    background: rgba(79, 124, 255, 0.14);
    color: #cfe0ff;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.82rem;
}
.arc-2fa-rule { border: 0; border-top: 1px solid var(--p-line); margin: 1.5rem 0; }

.arc-2fa-livewire {
    margin-top: 0.85rem;
    padding: 1rem 1.1rem;
    background: var(--p-inset);
    border: 1px solid var(--p-line);
    border-radius: var(--p-r-md);
}
.arc-2fa-livewire input[type="text"],
.arc-2fa-livewire input[type="number"] {
    width: 100%;
    height: 2.85rem;
    padding: 0 1rem;
    background: rgba(4, 7, 22, 0.8);
    border: 1px solid rgba(136, 160, 255, 0.14);
    border-radius: var(--p-r-sm);
    color: var(--p-text);
    font-family: var(--p-font-body);
    font-size: 1rem;
    letter-spacing: 0.08em;
}
.arc-2fa-livewire input:focus { outline: none; border-color: rgba(45, 212, 240, 0.65); box-shadow: 0 0 0 4px rgba(45, 212, 240, 0.12); }
.arc-2fa-livewire button {
    margin-top: 0.85rem;
    width: 100%;
    height: 2.85rem;
    border: 0;
    border-radius: var(--p-r-sm);
    background: var(--p-grad);
    color: #fff;
    font-family: var(--p-font-body);
    font-size: 0.93rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--p-glow);
}

.arc-2fa-danger {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.95rem 1.05rem;
    margin-bottom: 1.25rem;
    background: rgba(251, 113, 133, 0.07);
    border: 1px solid rgba(251, 113, 133, 0.3);
    border-radius: var(--p-r-md);
    color: #fecdd3;
    font-size: 0.88rem;
    line-height: 1.55;
}
.arc-2fa-danger i { color: var(--p-danger); font-size: 1.05rem; margin-top: 0.15rem; }
.arc-2fa-danger strong { display: block; margin-bottom: 0.2rem; color: #fff; }

.arc-2fa-codes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.arc-2fa-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    padding: 0.6rem 0.9rem;
    background: var(--p-inset);
    border: 1px solid var(--p-line);
    border-radius: var(--p-r-sm);
    font-size: 0.82rem;
}
.arc-2fa-code code {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    color: var(--p-text);
    background: transparent;
    border: 0;
    padding: 0;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
}
.arc-2fa-code.is-used code { color: var(--p-text-3); text-decoration: line-through; }
.arc-2fa-code-used { color: #fda4af; font-size: 0.72rem; text-align: right; }
.arc-2fa-code-used i { margin-right: 0.2rem; }
.arc-2fa-code-unused { color: #a7f3d0; font-size: 0.72rem; font-weight: 600; }

.arc-2fa-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; justify-content: space-between; }
.arc-2fa-regen-form { display: inline; margin: 0; }

/* ─── Small screens ─── */

@media (max-width: 640px) {
    .arc-acct-page { padding: 5.75rem 0.9rem 3.5rem; }
    .arc-acct-welcome { padding: 1.25rem; }
    .arc-acct-sigil { width: 50px; height: 50px; font-size: 1rem; }
    .arc-acct-name { font-size: 1.3rem; }
    .arc-acct-welcome-actions { width: 100%; }
    .arc-acct-welcome-actions > * { flex: 1; }
    .arc-acct-welcome-actions .arc-acct-mini-btn { width: 100%; justify-content: center; }
    .arc-acct-card { padding: 1.25rem; }
    .arc-acct-products { grid-template-columns: 1fr; }
    .arc-profile-head { flex-direction: column; text-align: center; }
    .arc-profile-badges { justify-content: center; }
    .arc-acct-form-actions > * { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .arc-auth-brand-ring,
    .arc-auth-brand-halo,
    .arc-acct-sigil::before { animation: none; }
    .arc-acct-pane.is-active { animation: none; }
}

/* ─── Site-wide touches that belong with the portal palette ─── */

html { background: #00010a; }

.arc-actions .arc-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.4rem;
    padding: 0 1rem;
    border-radius: 99px;
    background: rgba(79, 124, 255, 0.10);
    border: 1px solid rgba(79, 124, 255, 0.38);
    color: #dbe6ff;
    font-family: var(--p-font-body);
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 0 0 0 rgba(45, 212, 240, 0);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease, color 0.15s ease;
}
.arc-actions .arc-cta-ghost i { color: var(--p-cyan); }
.arc-actions .arc-cta-ghost:hover {
    background: rgba(79, 124, 255, 0.2);
    border-color: rgba(45, 212, 240, 0.6);
    color: #fff;
    box-shadow: 0 0 22px -6px rgba(45, 212, 240, 0.6);
}

.arc-acct-rail,
.arc-acct-content { min-width: 0; }
.arc-acct-mini-btn { white-space: nowrap; }
@media (max-width: 920px) {
    .arc-acct-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .arc-acct-identity { align-items: flex-start; }
    .arc-acct-welcome-actions { gap: 0.4rem; }
    .arc-acct-mini-btn { padding: 0 0.6rem; font-size: 0.82rem; }
    .arc-acct-product { padding: 1rem; }
    .arc-acct-product-head { flex-wrap: wrap; }
}
@media (max-width: 640px) {
    .arc-acct-product-title { flex: 1 1 60%; }
}
