.w2p-account-page {
    background: #f7f8fa;
}

.w2p-account-page .w2p-main {
    padding: 0;
}

.w2p-account-shell {
    margin-inline: auto;
    max-width: 104rem;
    padding: 1.25rem clamp(1.25rem, 2.5vw, 2.5rem) 2.5rem;
}

.w2p-account-breadcrumb {
    align-items: center;
    color: #667085;
    display: flex;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.w2p-account-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.w2p-account-breadcrumb a:hover {
    color: var(--w2p-color-brand-strong);
}

.w2p-account-breadcrumb svg {
    fill: none;
    height: 0.9rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 0.9rem;
}

.w2p-account-heading {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin: 0.7rem 0 1.4rem;
}

.w2p-account-heading h1 {
    font-size: clamp(1.9rem, 3vw, 2.35rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 0;
}

.w2p-account-heading p {
    color: var(--w2p-color-text-muted);
    margin: 0.35rem 0 0;
}

.w2p-account-status {
    align-items: center;
    background: #fff;
    border: 1px solid #d8dce3;
    border-radius: 0.45rem;
    color: #475467;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.8rem;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
}

.w2p-account-status svg {
    fill: none;
    height: 1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 1rem;
}

.w2p-account-layout {
    align-items: start;
    display: grid;
    gap: 1.4rem;
    grid-template-columns: minmax(14rem, 19rem) minmax(0, 1fr);
}

.w2p-account-sidebar,
.w2p-account-panel,
.w2p-account-summary-card {
    background: #fff;
    border: 1px solid #d8dce3;
    border-radius: 0.6rem;
}

.w2p-account-sidebar {
    padding: 1rem;
    position: sticky;
    top: 6.25rem;
}

.w2p-account-sidebar h2 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

.w2p-account-sidebar nav {
    display: grid;
    gap: 0.25rem;
}

.w2p-account-sidebar a {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 0.45rem;
    color: var(--w2p-color-text);
    display: flex;
    font-size: 0.875rem;
    font-weight: 550;
    gap: 0.75rem;
    min-height: 3rem;
    padding: 0.65rem 0.75rem;
    text-decoration: none;
}

.w2p-account-sidebar a:hover {
    background: #f8fafc;
    color: var(--w2p-color-brand-strong);
}

.w2p-account-sidebar a.is-active {
    border-color: #17366f;
    box-shadow: 0 0 0 1px rgb(23 54 111 / 8%);
    color: #17366f;
}

.w2p-account-sidebar svg,
.w2p-account-icon svg,
.w2p-account-shortcuts svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.w2p-account-sidebar svg {
    flex: 0 0 1.2rem;
    height: 1.2rem;
    width: 1.2rem;
}

.w2p-account-content {
    display: grid;
    gap: 1.2rem;
    min-width: 0;
}

.w2p-account-summary {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.w2p-account-summary-card {
    align-items: center;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 7rem;
    padding: 1rem;
}

.w2p-account-icon {
    align-items: center;
    background: #f7f8fa;
    border-radius: 50%;
    color: #344054;
    display: inline-flex;
    flex: 0 0 3rem;
    height: 3rem;
    justify-content: center;
    width: 3rem;
}

.w2p-account-icon svg {
    height: 1.35rem;
    width: 1.35rem;
}

.w2p-account-summary-card h2 {
    font-size: 0.9rem;
    margin: 0;
}

.w2p-account-summary-card p {
    color: #667085;
    font-size: 0.78rem;
    line-height: 1.4;
    margin: 0.2rem 0 0;
}

.w2p-account-button {
    border: 1px solid #17366f;
    border-radius: 0.4rem;
    color: #17366f;
    font-size: 0.78rem;
    font-weight: 650;
    padding: 0.55rem 0.7rem;
    text-decoration: none;
    white-space: nowrap;
}

.w2p-account-button:hover {
    background: #f5f8ff;
    color: #102a5c;
}

.w2p-account-details-grid,
.w2p-account-history-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 1fr);
}

.w2p-account-history-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.8fr);
}

.w2p-account-panel {
    min-width: 0;
    padding: 1rem;
    scroll-margin-top: 6.5rem;
}

.w2p-account-panel__heading {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.w2p-account-panel__heading h2 {
    font-size: 1rem;
    margin: 0;
}

.w2p-account-panel__heading > span {
    color: #667085;
    font-size: 0.72rem;
}

.w2p-account-empty-state {
    align-items: center;
    border: 1px dashed #d8dce3;
    border-radius: 0.45rem;
    color: #475467;
    display: flex;
    gap: 0.9rem;
    min-height: 8rem;
    padding: 1rem;
}

.w2p-account-empty-state .w2p-account-icon {
    border-radius: 0.45rem;
    flex-basis: 2.5rem;
    height: 2.5rem;
    width: 2.5rem;
}

.w2p-account-empty-state strong {
    color: var(--w2p-color-text);
    display: block;
    font-size: 0.875rem;
}

.w2p-account-empty-state p {
    font-size: 0.78rem;
    line-height: 1.45;
    margin: 0.2rem 0 0;
    max-width: 58ch;
}

.w2p-account-table-wrap {
    border: 1px solid #e4e7ec;
    border-radius: 0.45rem 0.45rem 0 0;
    overflow-x: auto;
}

.w2p-account-table-wrap table {
    border-collapse: collapse;
    min-width: 34rem;
    width: 100%;
}

.w2p-account-table-wrap th {
    background: #fafbfc;
    color: #344054;
    font-size: 0.72rem;
    font-weight: 650;
    padding: 0.65rem 0.8rem;
    text-align: left;
}

.w2p-account-empty-state--table {
    border-radius: 0 0 0.45rem 0.45rem;
    border-top: 0;
    justify-content: center;
    min-height: 8.5rem;
}

.w2p-account-shortcuts {
    border: 1px solid #e4e7ec;
    border-radius: 0.45rem;
    overflow: hidden;
}

.w2p-account-shortcuts a {
    align-items: center;
    color: var(--w2p-color-text);
    display: grid;
    font-size: 0.86rem;
    gap: 0.7rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 3.45rem;
    padding: 0.65rem 0.75rem;
    text-decoration: none;
}

.w2p-account-shortcuts a + a {
    border-top: 1px solid #e4e7ec;
}

.w2p-account-shortcuts a:hover {
    background: #f8fafc;
    color: var(--w2p-color-brand-strong);
}

.w2p-account-shortcut__icon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
}

.w2p-account-shortcut__icon svg {
    height: 1.15rem;
    width: 1.15rem;
}

.w2p-account-shortcut__chevron {
    height: 0.9rem;
    width: 0.9rem;
}

@media (max-width: 82rem) {
    .w2p-account-summary-card {
        align-items: start;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .w2p-account-summary-card .w2p-account-button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 68rem) {
    .w2p-account-layout {
        grid-template-columns: 1fr;
    }

    .w2p-account-sidebar {
        position: static;
    }

    .w2p-account-sidebar nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 58rem) {
    .w2p-account-summary {
        grid-template-columns: 1fr;
    }

    .w2p-account-summary-card {
        align-items: center;
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .w2p-account-summary-card .w2p-account-button {
        grid-column: auto;
    }

    .w2p-account-details-grid,
    .w2p-account-history-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 44rem) {
    .w2p-account-shell {
        padding-inline: 1rem;
    }

    .w2p-account-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .w2p-account-sidebar nav {
        grid-template-columns: 1fr;
    }

    .w2p-account-sidebar a:not(.is-active) {
        display: none;
    }

    .w2p-account-summary-card {
        align-items: start;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .w2p-account-summary-card .w2p-account-button {
        grid-column: 2;
        justify-self: start;
    }
}
