.account-page {
    background:
        radial-gradient(circle at 50% -10%, rgba(96, 165, 250, 0.12), transparent 34rem),
        #1b1c1e;
}

.account-shell--signin {
    width: min(100%, 760px);
}

.account-topbar {
    width: min(100%, 680px);
    margin-inline: auto;
}

.account-layout--focused {
    width: min(100%, 680px);
    margin-inline: auto;
}

.account-panel--focused {
    gap: 1.25rem;
    padding: clamp(1.25rem, 4vw, 2.25rem);
    border-color: rgba(148, 163, 184, 0.26);
    border-radius: 16px;
    background: #2b2d31;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.account-panel--focused .account-hero {
    gap: 0.85rem;
    padding-bottom: 0;
    border-bottom: 0;
}

.account-panel--focused h1 {
    max-width: 20ch;
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.04;
}

.account-panel--focused .account-lede {
    max-width: 52ch;
    color: #d1d5db;
    font-size: 1rem;
}

.account-task-path {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 1.35fr);
    gap: 0.75rem;
    align-items: center;
    margin: 0 0 0.35rem;
    padding: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    background: #1b1c1e;
    list-style: none;
}

.account-task-path__step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    min-width: 0;
}

.account-task-path__step > span:last-child,
.account-task-path__step small,
.account-task-path__step strong {
    display: block;
    min-width: 0;
}

.account-task-path__step small {
    color: #9ca3af;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.account-task-path__step strong {
    margin-top: 0.12rem;
    color: #e5e7eb;
    font-size: 0.88rem;
    line-height: 1.25;
}

.account-task-path__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(148, 163, 184, 0.38);
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.1);
    color: #d1d5db;
    font-size: 0.8rem;
    font-weight: 900;
}

.account-task-path__step--current .account-task-path__number {
    border-color: #60a5fa;
    background: #2563eb;
    color: #ffffff;
}

.account-task-path__step--current strong {
    color: #ffffff;
}

.account-task-path__divider {
    color: #60a5fa;
    font-size: 0.9rem;
}

.account-access-card--simple {
    gap: 0.85rem;
    padding: 0;
    border: 0;
    background: transparent;
}

.account-access-card--simple h2 {
    font-size: 1rem;
}

.account-access-card--simple .account-primary-action,
.account-access-card--simple .account-provider-grid a {
    min-height: 56px;
    border-radius: 10px;
}

.account-access-card--simple .account-primary-action {
    background: #2563eb;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.3);
}

.account-access-card--simple .account-primary-action:hover {
    background: #1d4ed8;
}

.account-access-card--simple .account-remember-choice {
    min-height: 60px;
    padding: 0.8rem 0.9rem;
    border-color: rgba(148, 163, 184, 0.24);
    border-radius: 10px;
    background: #1b1c1e;
}

.account-assurance--compact {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.35rem 0;
    border: 0;
    background: transparent;
}

.account-assurance--compact > .oi {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.12);
    color: #93c5fd;
}

.account-assurance--compact strong {
    font-size: 0.86rem;
}

.account-assurance--compact span {
    color: #cbd5e1;
    font-size: 0.8rem;
}

.account-saved-context {
    background: #1b1c1e;
}

.account-saved-context > summary {
    min-height: 56px;
}

.account-context-summary {
    display: grid;
    gap: 0.45rem;
}

.account-context-summary h2,
.account-context-summary p {
    margin: 0;
}

.account-context-summary h2 {
    color: #ffffff;
    font-size: 1.15rem;
}

.account-context-summary > p:last-child {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.account-panel--access-decision {
    gap: 1rem;
    padding: clamp(1.15rem, 3vw, 1.75rem);
}

.account-panel--access-decision .account-hero {
    gap: 0.6rem;
}

.account-panel--access-decision h1 {
    max-width: none;
    font-size: clamp(1.85rem, 5vw, 2.55rem);
}

.account-panel--access-decision .account-lede {
    line-height: 1.45;
}

.account-access-card--blocked {
    gap: 1.15rem;
    padding: 1.1rem;
    border-color: rgba(255, 165, 0, 0.58);
    background: #1b1c1e;
}

.account-blocked-heading {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.account-blocked-heading > div {
    display: grid;
    gap: 0.55rem;
}

.account-blocked-heading__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 165, 0, 0.12);
    color: #ffa500;
    font-size: 1.15rem;
}

.account-access-card--blocked .account-section-kicker {
    color: #ffb52e !important;
}

.account-access-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 10px;
    background: #23272c;
}

.account-access-facts > div {
    display: grid;
    gap: 0.28rem;
    min-width: 0;
    padding: 0.8rem 0.9rem;
}

.account-access-facts > div + div {
    border-left: 1px solid rgba(148, 163, 184, 0.24);
}

.account-access-facts dt {
    color: #9ca3af;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-access-facts dd {
    margin: 0;
    color: #f8fafc;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.35;
}

.account-access-facts dd span {
    display: block;
    margin-top: 0.18rem;
    color: #93c5fd;
    font-size: 0.875rem;
}

.account-blocked-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
    gap: 0.7rem;
}

.account-blocked-actions > form:only-child {
    grid-column: 1 / -1;
}

.account-form--flush {
    margin: 0;
}

.account-blocked-actions .account-primary-action,
.account-blocked-actions .account-secondary-action {
    min-height: 52px;
}

.account-access-card--blocked .account-action-note {
    padding-left: 0.1rem;
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.5;
}

.account-alternate-workspaces {
    background: #1b1c1e;
}

.account-alternate-workspaces > summary {
    min-height: 56px;
}

.account-workspace-picker--embedded {
    padding: 0;
    border: 0;
    background: transparent;
}

.account-alternate-workspaces .account-capability-list li:first-child {
    border-color: rgba(148, 163, 184, 0.2);
    background: #20252a;
}

.account-layout--focused + .account-disclosure--technical {
    width: min(100%, 680px);
    justify-self: center;
}

.account-layout--focused + .account-disclosure--technical > summary {
    color: #cbd5e1;
}

.account-layout--focused + .account-disclosure--technical .account-disclosure__body--technical {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
    .account-panel--focused {
        padding: 1.1rem;
        border-radius: 12px;
    }

    .account-task-path {
        grid-template-columns: minmax(0, 0.85fr) auto minmax(0, 1.35fr);
        gap: 0.5rem;
        padding: 0.7rem;
    }

    .account-task-path__step {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 0.45rem;
    }

    .account-task-path__number {
        width: 30px;
        height: 30px;
    }

    .account-task-path__step strong {
        font-size: 0.78rem;
    }

    .account-panel--access-decision {
        gap: 0.9rem;
        padding: 1rem;
    }

    .account-panel--access-decision h1 {
        font-size: clamp(1.7rem, 8.5vw, 2.1rem);
    }

    .account-blocked-heading {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .account-blocked-heading__icon {
        width: 44px;
        height: 44px;
    }

    .account-access-facts,
    .account-blocked-actions {
        grid-template-columns: 1fr;
    }

    .account-access-facts > div + div {
        border-top: 1px solid rgba(148, 163, 184, 0.24);
        border-left: 0;
    }

    .account-layout--focused + .account-disclosure--technical .account-disclosure__body--technical {
        grid-template-columns: 1fr;
    }
}
