/* /Components/Pages/Account/AccountShell.razor.rz.scp.css */
/* The split: the heading and the three facts on the sky at the left, the account panel at the right; one column
   below 56rem. The page column widens for it in site.css (.page:has(.account-hero)). */
.account-hero-inner[b-8q48tyiznh] {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 4rem;
    align-items: start;
}

.hero-copy[b-8q48tyiznh] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1rem;
}

.account-eyebrow[b-8q48tyiznh] {
    margin: 0;
}

.account-title[b-8q48tyiznh] {
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 0.98;
}

.account-lead[b-8q48tyiznh] {
    margin: 0;
    max-width: 28rem;
    font-size: 1.15rem;
}

/* The three facts: a small block of rows, outlined like the panels. */
.account-stats[b-8q48tyiznh] {
    display: flex;
    flex-direction: column;
    max-width: 28rem;
    padding: 0.4rem 1.1rem;
    border: 4px solid var(--ink);
    background: var(--cream);
    box-shadow: inset 4px 4px 0 var(--white), inset -4px -4px 0 var(--cream-dark);
}

.account-stat[b-8q48tyiznh] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.7rem 0;
}

.account-stat + .account-stat[b-8q48tyiznh] {
    border-top: 3px dashed var(--cream-dark);
}

.account-stat-key[b-8q48tyiznh] {
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

.account-stat-value[b-8q48tyiznh] {
    font-size: 0.98rem;
    text-align: right;
}

.account-panel-col[b-8q48tyiznh] {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 56rem) {
    .account-hero-inner[b-8q48tyiznh] {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .hero-copy[b-8q48tyiznh] {
        padding-top: 0;
    }

    .account-panel-col[b-8q48tyiznh] {
        justify-content: stretch;
    }
}

@media (max-width: 30rem) {
    .account-stat[b-8q48tyiznh] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .account-stat-value[b-8q48tyiznh] {
        text-align: left;
    }
}
