.store-account-surface, .store-admin-surface, .store-checkout-surface {
    --surface-ink: #142438;
    --surface-brand: #0d605b;
    --surface-deep: #084743;
    --surface-line: #d8e6df;
    --surface-soft: #edf6f1;
    color: var(--surface-ink);
    background: #f5f8f6;
}
.store-account-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-block: 1rem .6rem;
    padding: .45rem;
    border: 1px solid var(--surface-line);
    border-radius: 14px;
    background: #fff;
}
.store-account-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-inline: .7rem;
    border-radius: 8px;
    font-weight: 700;
    color: var(--surface-deep);
    text-decoration: none;
}
.store-account-nav a[aria-current="page"], .store-account-nav a:hover { background: var(--surface-soft); }
.store-account-surface :is(.portal-hero, .store-hero),
.store-checkout-surface :is(.checkout-hero, .store-hero, .store-steps),
.store-admin-surface .app-page-header {
    background: linear-gradient(130deg, #e6f5ed, #f5faf7) !important;
    border: 1px solid var(--surface-line);
    color: var(--surface-ink);
    box-shadow: none;
}
.store-admin-surface .app-page-header { padding: 1.15rem; border-radius: 14px; gap: 1rem; }
.store-account-surface :is(.portal-panel, .portal-card, .store-panel, .store-card),
.store-checkout-surface :is(.checkout-card, .checkout-panel, .cart-checkout-panel, .store-panel, .store-card),
.store-admin-surface :is(.app-card, .ng-card) { border-color: var(--surface-line); border-radius: 14px; box-shadow: 0 6px 24px #0c3b3210; }
.store-account-surface :is(.portal-btn-primary, .store-btn.primary),
.store-checkout-surface :is(.store-btn.primary, .btn-primary),
.store-admin-surface .btn-primary { background: var(--surface-brand); border-color: var(--surface-brand); color: #fff; }
.store-account-surface :is(.portal-btn-primary, .store-btn.primary):hover,
.store-checkout-surface :is(.store-btn.primary, .btn-primary):hover,
.store-admin-surface .btn-primary:hover { background: var(--surface-deep); border-color: var(--surface-deep); }
.store-checkout-surface :is(.checkout-payment-card.selected, .checkout-payment-card:has(input:checked)) {
    border-color: var(--surface-brand);
    background: var(--surface-soft);
}
.store-admin-surface .store-editor-navigation { margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.store-admin-surface .store-editor-navigation a { border: 1px solid var(--surface-line); padding: .35rem .65rem; border-radius: 8px; color: var(--surface-deep); background: white; }
.store-admin-surface .store-editor-heading { border-bottom: 1px solid var(--surface-line); margin-block: 1rem .6rem; padding-block: .35rem; font-size: 1.15rem; }
.store-admin-surface .store-editor-note { background: var(--surface-soft); border-inline-start: 3px solid var(--surface-brand); padding: .65rem .8rem; border-radius: 8px; }
.store-admin-surface .store-editor-preview { padding: 1rem; border: 1px solid var(--surface-line); border-radius: 12px; background: #f7fbf8; }
.store-admin-surface .store-editor-preview img { max-width: 100%; max-height: 230px; object-fit: contain; display: block; margin-block: .5rem; }
.store-account-surface .store-subscription-history { margin-block: 1rem; }
.store-account-surface .store-subscription-history ul { list-style: none; padding: 0; margin: .65rem 0 0; }
.store-account-surface .store-subscription-history li { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; border-top: 1px solid var(--surface-line); padding-block: .6rem; }
.store-account-surface .store-subscription-history time { white-space: nowrap; }
@media (max-width: 600px) {
    .store-account-nav { flex-wrap: nowrap; overflow-x: auto; }
    .store-account-nav a { white-space: nowrap; }
    .store-admin-surface .app-page-header { flex-wrap: wrap; }
}
