.account-page {
    background: #f2f5fa;
    color: #20324d;
    font-size: 14px;
    line-height: 1.5;
}

.account-page .site-header {
    background: #fff;
    height: 64px;
}

.account-page .header-inner {
    width: 100%;
    max-width: none;
    padding: 0 24px;
    gap: 24px;
}

.account-page .brand {
    font-size: 18px;
    gap: 8px;
}

.account-page .brand-icon {
    width: 30px;
    height: 32px;
}

.account-page .brand-icon svg {
    width: 21px;
    height: 21px;
}

.account-page .nav > a {
    font-size: 14px;
    font-weight: 500;
}

.account-page .account-link {
    font-size: 13px;
}

.account-page .btn {
    padding: 8px 16px;
    font-size: 13px;
}

.account-page .site-footer {
    margin-top: 0;
}

.account-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: calc(100vh - 64px);
    max-width: 1920px;
    margin: auto;
}

.account-sidebar {
    background: #fff;
    border-right: 1px solid #e0e7f1;
    padding: 24px 12px;
}

.sidebar-title {
    padding: 0 12px 14px;
    color: #68788f;
    font-size: 12px;
    font-weight: 600;
}

.account-sidebar nav {
    display: grid;
    gap: 4px;
}

.account-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #465b76;
}

.account-sidebar nav a svg {
    width: 18px;
    height: 18px;
}

.account-sidebar nav a:hover,
.account-sidebar nav a.selected {
    background: #edf1ff;
    color: #4b4bdf;
}

.sidebar-help {
    margin: 36px 8px 0;
    padding: 14px 10px;
    border-top: 1px solid #e4e9f2;
    font-size: 12px;
}

.sidebar-help strong {
    font-size: 13px;
}

.sidebar-help p {
    color: #67788e;
}

.sidebar-help a {
    color: #4b4bdf;
    font-weight: 700;
}

.account-content {
    min-width: 0;
    padding: 24px 24px 32px;
}

.account-heading,
.panel-heading,
.stat-top,
.member-welcome,
.welcome-user,
.welcome-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.account-heading {
    margin-bottom: 18px;
}

.account-heading h1 {
    margin: 2px 0 0;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    color: #14243b;
}

.eyebrow {
    font-size: 12px;
    color: #63748c;
    font-weight: 700;
    letter-spacing: 2px;
}

.account-text-link,
.panel-heading a {
    color: #4b4bdf;
    font-weight: 700;
}

.account-notice {
    padding: 12px 17px;
    margin-bottom: 22px;
    color: #484a85;
    background: #e9edff;
    border: 1px solid #dce2fc;
    border-radius: 8px;
    font-size: 13px;
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.account-stat {
    padding: 18px 20px;
    border: 1px solid #dfe6f1;
    border-radius: 10px;
    background: #fff;
}

.stat-top {
    margin-bottom: 10px;
    color: #5658e8;
}

.stat-top span {
    color: #64758d;
    font-size: 12px;
    font-weight: 600;
}

.account-stat > strong {
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: #132640;
    line-height: 1.4;
}

.account-stat small {
    margin-left: 8px;
    font-size: 13px;
    font-weight: 500;
}

.account-stat > span {
    color: #687b95;
    font-size: 13px;
}

.balance-stat {
    color: #fff;
    border-color: #5554e8;
    background: linear-gradient(115deg, #6263ee, #4843d9);
}

.balance-stat > strong,
.balance-stat .stat-top {
    color: #fff;
}

.balance-stat > span,
.balance-stat .stat-top span {
    color: #e5e6ff;
}

.stat-green {
    color: #14a67b;
}

.stat-orange {
    color: #eea221;
}

.account-panel {
    background: #fff;
    border: 1px solid #dfe6f1;
    border-radius: 10px;
    box-shadow: 0 2px 3px #25385804;
}

.member-welcome {
    padding: 18px 20px;
    margin-bottom: 18px;
}

.welcome-user {
    justify-content: flex-start;
}

.welcome-user h2 {
    margin: 0 0 3px;
    font-size: 17px;
    font-weight: 700;
}

.welcome-user p {
    margin: 0;
    color: #63748c;
    font-size: 13px;
}

.account-logout {
    font-size: 13px;
    color: #63748c;
}

.account-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 26px;
}

.account-shortcuts a {
    display: grid;
    gap: 9px;
    padding: 23px;
    border: 1px solid #cadcfb;
    border-radius: 12px;
    background: #fff;
    color: #2967d9;
    transition: border-color .15s, box-shadow .15s;
}

.account-shortcuts a:hover {
    border-color: #6d87f4;
    box-shadow: 0 4px 14px #344b8a0c;
}

.account-shortcuts strong {
    color: #20324d;
    font-size: 16px;
}

.account-shortcuts span {
    color: #63748c;
    font-size: 12px;
}

.account-shortcuts .shortcut-pdf {
    border-color: #bce6d9;
    color: #11946d;
}

.account-shortcuts .shortcut-credit {
    border-color: #e1d3fb;
    color: #8655d9;
}

.account-tabs,
.recharge-tabs {
    display: flex;
    border-bottom: 1px solid #e5eaf3;
}

.account-tabs button,
.recharge-tabs a {
    flex: 1;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    padding: 18px 12px;
    color: #61728c;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.account-tabs button[aria-selected="true"],
.recharge-tabs a[aria-current="page"] {
    color: #4b4bdf;
    background: #f7f8ff;
    border-bottom-color: #6159f5;
}

.account-tabs button span {
    margin-left: 5px;
    font-size: 12px;
}

.account-tab-panel {
    padding: 24px;
    min-height: 235px;
}

.panel-heading {
    margin-bottom: 18px;
}

.panel-heading h2,
.recharge-help h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #15263e;
}

.panel-heading > span,
.panel-heading p {
    margin: 5px 0 0;
    color: #63748c;
    font-size: 13px;
}

.account-page .small-empty {
    padding: 38px 15px;
    background: #f8fafe;
    border: 1px dashed #dbe3ee;
    border-radius: 8px;
    text-align: center;
    color: #667890;
}

.account-page .record-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 100px;
    gap: 24px;
    padding: 18px 4px;
}

.account-page .record-row > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.account-page .record-row small {
    display: block;
    color: #6b7c93;
}

.account-page .task-row {
    padding: 18px 8px;
}

.recharge-body {
    padding: 22px;
}

.payment-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px 18px;
    border: 1px solid #dce3ef;
    border-radius: 10px;
    background: #fff;
}

.package-card.recommended {
    border: 2px solid #6356e7;
    background: linear-gradient(160deg, #f0edff 0%, #fff 52%);
    box-shadow: 0 12px 30px #5144ad16;
}

.recommend-label {
    position: absolute;
    top: -13px;
    right: 17px;
    padding: 3px 16px;
    border-radius: 6px;
    color: #fff;
    background: #6356e7;
    font-size: 12px;
    font-weight: 700;
}

.package-card h3 {
    margin: 12px 0 4px;
    font-size: 19px;
    color: #11233e;
    font-weight: 700;
}

.package-audience {
    margin: 0 0 16px;
    font-size: 12px;
    color: #65758d;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: #101f36;
    line-height: 1.25;
}

.package-price small {
    font-size: 16px;
}

.package-price strong {
    font-size: clamp(28px, 2vw, 36px);
    font-weight: 800;
    letter-spacing: -1px;
}

.package-points {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e5e9f2;
    color: #263d5d;
}

.package-points strong {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
}

.package-points span {
    font-size: 12px;
    color: #5b6f89;
}

.package-unit {
    margin: 4px 0 0;
    font-size: 12px;
    color: #64758c;
}

.package-symbol {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #4d63b7;
    background: #edf1fc;
    border-radius: 8px;
}

.package-symbol svg {
    width: 20px;
    height: 20px;
}

.recommended .package-symbol {
    color: #fff;
    background: #6356e7;
}

.package-card:nth-child(3) .package-symbol {
    background: #e8f6f1;
    color: #1b8a71;
}

.package-card:nth-child(4) .package-symbol {
    background: #fff3e3;
    color: #af7623;
}

.pricing-content .account-heading h1 {
    font-size: 22px;
    margin-top: 5px;
}

.pricing-intro {
    color: #60728b;
    margin: 9px 0 0;
    font-size: 14px;
}

.pricing-content .account-heading {
    padding: 0;
}

.overview-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.overview-links a {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    font-weight: 600;
}

.overview-links a + a {
    border-left: 1px solid #e5eaf3;
}

.overview-links span {
    font-size: 12px;
    color: #5655d4;
}

.standalone-records {
    overflow: hidden;
    min-height: 220px;
}

.standalone-records .loading-placeholder {
    text-align: left;
}

.standalone-records .record-row {
    font-size: 14px;
}

.standalone-records > #my-task-list {
    padding: 0 24px;
}

.record-table-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 28px;
    border-bottom: 1px solid #e5eaf3;
    background: #f8faff;
    color: #65758d;
    font-size: 13px;
    font-weight: 600;
}

.standalone-records .small-empty {
    margin: 28px 0;
}

.standalone-records > .records-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #e7ecf3;
}

.records-toolbar > div {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.records-toolbar .records-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.records-toolbar-actions .btn {
    white-space: nowrap;
}

.records-toolbar h2 {
    margin: 0;
    color: #1c2d46;
    font-size: 16px;
    font-weight: 700;
}

.records-toolbar span {
    font-size: 12px;
    color: #718198;
}

.records-count {
    padding: 4px 12px;
    background: #f1f4fa;
    border-radius: 20px;
    white-space: nowrap;
}

.standalone-records > .records-table-wrap {
    padding: 0;
}

.records-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    text-align: left;
}

.records-table th {
    padding: 12px 18px;
    background: #f8faff;
    color: #63758d;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.records-table td {
    padding: 14px 18px;
    border-top: 1px solid #edf0f6;
    color: #344963;
    font-size: 13px;
}

.records-table th:first-child,
.records-table td:first-child {
    padding-left: 20px;
}

.records-table th:last-child,
.records-table td:last-child {
    padding-right: 20px;
    text-align: right;
}

.records-table tbody tr:hover {
    background: #fcfdff;
}

.entry-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.entry-title > div {
    min-width: 0;
}

.entry-title strong {
    display: block;
    color: #283d59;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.entry-title small {
    display: block;
    margin-top: 3px;
    color: #7a899d;
    font-size: 11px;
}

.entry-title small[hidden] {
    display: none;
}

.entry-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 32px;
    height: 34px;
    background: #edf1ff;
    color: #5a5cda;
    border-radius: 7px;
    font-size: 23px;
}

.entry-icon svg {
    width: 18px;
    height: 18px;
}

.records-table .table-date {
    color: #718198;
    font-size: 12px;
    white-space: nowrap;
}

.order-amount,
.record-delta,
.record-balance,
.order-points {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.order-amount {
    color: #1a2d47;
    font-size: 16px;
    font-weight: 800;
}

.order-points {
    color: #4a51b5;
    font-weight: 700;
}

.unit-label {
    font-size: 11px;
    color: #7a899d;
    white-space: nowrap;
}

.order-status {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.order-status-paid {
    color: #168769;
    background: #e9f7f0;
}

.order-status-pending {
    color: #b27d20;
    background: #fff5df;
}

.order-status-closed {
    color: #718198;
    background: #eef1f6;
}

.order-status-review {
    color: #5b56c8;
    background: #eeecfc;
}

.ledger-entry .entry-icon {
    color: #17936c;
    background: #eaf7f0;
}

.ledger-icon:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ledger-icon[hidden] {
    display: none;
}

.ledger-entry .record-delta {
    color: #12835f;
    font-size: 15px;
    font-weight: 800;
}

.ledger-entry.is-expense .entry-icon {
    color: #cc7443;
    background: #fff0e7;
}

.ledger-entry.is-expense .record-delta {
    color: #c4713e;
}

.records-table .empty-record-row td {
    text-align: center;
}

.records-empty {
    padding: 30px 16px 36px;
    text-align: center;
}

.records-empty-icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    background: #f0f3fb;
    color: #8d9fc2;
    border-radius: 12px;
    margin-bottom: 12px;
}

.records-empty strong {
    display: block;
    color: #485c76;
    font-size: 15px;
}

.records-empty p {
    color: #8592a5;
    font-size: 12px;
    margin: 7px 0 0;
}

@media (min-width: 801px) and (max-width: 1150px) {
    .records-table th,
    .records-table td {
        padding: 12px 10px;
    }

    .records-table .table-date {
        white-space: normal;
    }

    .order-entry .entry-icon {
        display: none;
    }
}

@media (max-width: 800px) {
    .records-table,
    .records-table tbody {
        display: block;
    }

    .records-table thead {
        display: none;
    }

    .records-table tbody tr:not(.empty-record-row) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 16px;
        border-top: 1px solid #e5eaf3;
    }

    .records-table td {
        display: block;
        min-width: 0;
        padding: 0;
        border: 0;
    }

    .records-table td:first-child {
        grid-column: 1 / -1;
        padding: 0 0 12px;
        border-bottom: 1px solid #edf0f6;
    }

    .records-table td:last-child {
        padding: 0;
        text-align: left;
    }

    .records-table td[data-label]:not(:first-child)::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        color: #7a899d;
        margin-bottom: 6px;
    }

    .records-table .table-date {
        white-space: normal;
    }

    .standalone-records > .records-toolbar {
        padding: 16px;
    }

    .records-toolbar > div {
        display: block;
    }

    .records-toolbar h2 {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .records-table .empty-record-row {
        display: block;
    }

    .records-table .empty-record-row td {
        padding: 0;
        border: 0;
    }
}

.package-features {
    display: grid;
    gap: 8px;
    list-style: none;
    padding: 18px 0;
    margin: 0;
    font-size: 12px;
    color: #435976;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.package-features svg {
    color: #10a77d;
}

.package-card .purchase-btn {
    margin-top: auto;
    min-height: 38px;
    font-size: 13px;
    font-weight: 700;
}

.account-page .btn-brand {
    background: #514be3;
    border-color: #514be3;
}

.account-page .btn-brand:hover {
    background: #403ac9;
}

.account-page .btn-light {
    background: #edf1f7;
    border-color: #edf1f7;
    color: #263b59;
}

.recharge-assurance {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-top: 28px;
    color: #64758c;
    font-size: 12px;
}

.recharge-assurance span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.recharge-help {
    padding: 20px;
    margin-top: 18px;
}

.recharge-help-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.recharge-help-grid > div {
    position: relative;
    padding-left: 38px;
}

.recharge-help-grid > div > span {
    position: absolute;
    left: 0;
    color: #7f85c7;
    font-size: 20px;
    font-weight: 800;
}

.recharge-help h3 {
    margin: 0 0 7px;
    font-size: 14px;
}

.recharge-help p {
    margin: 0;
    font-size: 12px;
    color: #64758c;
}

.recharge-help .recharge-footnote {
    border-top: 1px solid #e6ebf3;
    margin-top: 22px;
    padding-top: 16px;
}

@media (max-width: 1280px) {
    .account-layout {
        grid-template-columns: 185px minmax(0, 1fr);
    }

    .package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 800px) {
    .account-page .header-inner {
        padding: 0 16px;
        gap: 12px;
    }

    .account-page .brand {
        font-size: 16px;
    }

    .account-layout {
        display: block;
    }

    .account-sidebar {
        padding: 10px 16px;
        border-right: 0;
        border-bottom: 1px solid #dfe6f1;
    }

    .sidebar-title,
    .sidebar-help {
        display: none;
    }

    .account-sidebar nav {
        display: flex;
        overflow-x: auto;
        gap: 6px;
    }

    .account-sidebar nav a {
        flex-shrink: 0;
        font-size: 13px;
        padding: 9px 12px;
        gap: 6px;
        min-height: 36px;
    }

    .account-content {
        padding: 22px 16px 32px;
    }

    .account-stat {
        padding: 17px;
    }

    .account-stats,
    .account-shortcuts {
        gap: 12px;
    }

    .account-stat > strong {
        font-size: 28px;
    }

    .account-shortcuts a {
        padding: 18px;
    }

    .recharge-help-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 520px) {
    .pricing-content .account-heading {
        display: block;
    }

    .pricing-content .account-text-link {
        display: inline-block;
        margin-top: 14px;
    }

    .overview-links {
        grid-template-columns: 1fr;
    }

    .overview-links a + a {
        border-left: 0;
        border-top: 1px solid #e5eaf3;
    }

    .overview-links a {
        grid-template-columns: 1fr auto;
        padding: 18px;
    }

    .record-table-heading {
        padding: 15px;
        font-size: 11px;
    }

    .standalone-records > #my-task-list {
        padding: 0 15px;
    }

    .account-heading {
        gap: 12px;
        align-items: flex-end;
    }

    .account-heading h1 {
        font-size: 20px;
    }

    .account-heading .btn,
    .account-text-link {
        font-size: 12px;
        white-space: nowrap;
    }

    .account-stats {
        gap: 8px;
        margin-bottom: 18px;
    }

    .account-stat {
        padding: 13px 10px;
        border-radius: 9px;
    }

    .stat-top span,
    .account-stat small {
        display: none;
    }

    .account-stat > strong {
        font-size: 25px;
    }

    .account-stat > span {
        font-size: 10px;
        white-space: nowrap;
    }

    .member-welcome {
        display: block;
        padding: 18px;
    }

    .welcome-actions {
        margin-top: 18px;
        justify-content: flex-start;
    }

    .account-shortcuts {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .account-shortcuts a {
        grid-template-columns: 30px 1fr;
        gap: 2px 15px;
        padding: 15px 18px;
    }

    .account-shortcuts svg {
        grid-row: span 2;
        align-self: center;
    }

    .account-tabs button {
        padding: 15px 6px;
        font-size: 13px;
    }

    .account-tab-panel,
    .recharge-body,
    .recharge-help {
        padding: 20px 16px;
    }

    .panel-heading h2,
    .recharge-help h2 {
        font-size: 16px;
    }

    .panel-heading a {
        font-size: 12px;
        white-space: nowrap;
    }

    .account-page .record-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .account-page .record-row > span:first-child {
        grid-column: 1 / -1;
    }

    .package-grid {
        grid-template-columns: 1fr;
    }

    .package-card {
        padding: 20px;
    }

    .package-price strong {
        font-size: 32px;
    }

    .package-features {
        font-size: 12px;
    }

    .package-audience {
        margin-bottom: 18px;
    }

    .payment-label {
        display: none;
    }

    .recharge-assurance {
        flex-wrap: wrap;
        gap: 10px 18px;
    }
}
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
    border: 0;
}

.payment-methods legend {
    float: left;
    margin-right: 16px;
    font-size: 13px;
    line-height: 42px;
    color: #6c7e97;
}

.payment-methods label {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #dce4f0;
    border-radius: 6px;
    cursor: pointer;
}

.payment-methods input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #514be3;
}

.payment-methods label > span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
}

.payment-methods svg {
    color: #15a36d;
}

.alipay-symbol {
    display: inline-grid;
    place-items: center;
    width: 21px;
    height: 21px;
    background: #199de2;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
}

