:root {
    --pp-blue: #2678c9;
    --pp-blue-dark: #185c9c;
    --pp-blue-soft: #eef6ff;
    --pp-ink: #17212b;
    --pp-muted: #637083;
    --pp-line: #dde5ee;
    --pp-surface: #ffffff;
    --pp-surface-soft: #f7f9fc;
    --pp-success: #167451;
    --pp-success-soft: #edf9f4;
    --pp-warning: #8a5b00;
    --pp-warning-soft: #fff8e8;
    --pp-danger: #a33b3b;
    --pp-danger-soft: #fff3f3;
    --pp-radius: 18px;
    --pp-shadow: 0 12px 34px rgba(24, 47, 76, 0.08);
}

/* Remove the old heavy article boxes only on the scanner journey and account/shop screens. */
.pp-funnel-screen .inside-article,
.page-id-20 .inside-article,
.page-id-23 .inside-article,
.page-id-25 .inside-article,
.page-id-34 .inside-article {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.pp-funnel-screen .site-content,
.page-id-20 .site-content,
.page-id-23 .site-content,
.page-id-25 .site-content,
.page-id-34 .site-content {
    background: #f8fafc;
}

.pp-shell {
    width: min(1040px, calc(100% - 36px));
    margin: 42px auto 64px;
    color: var(--pp-ink);
}

.pp-page-head,
.pp-dashboard-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 22px;
}

.pp-page-head h1,
.pp-dashboard-hero h2,
.pp-state-card h1,
.pp-state-card h2,
.pp-section h2 {
    margin: 0;
    color: var(--pp-ink);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.pp-page-head h1,
.pp-state-card h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.pp-dashboard-hero h2 {
    font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.pp-section h2,
.pp-state-card h2 {
    font-size: 1.45rem;
}

.pp-eyebrow,
.pp-step-label {
    margin: 0 0 7px;
    color: var(--pp-blue-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.pp-lead,
.pp-dashboard-hero p,
.pp-state-card p {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--pp-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.pp-balance-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 112px;
    padding: 11px 15px;
    border: 1px solid var(--pp-line);
    border-radius: 999px;
    background: var(--pp-surface);
    text-decoration: none;
}

.pp-balance-pill span {
    color: var(--pp-ink);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.pp-balance-pill small {
    margin-top: 4px;
    color: var(--pp-muted);
    font-size: 0.72rem;
}

.pp-head-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pp-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 0 0 20px;
    padding: 7px;
    border: 1px solid var(--pp-line);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
}

.pp-progress span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--pp-muted);
    font-size: 0.82rem;
    white-space: nowrap;
}

.pp-progress strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e9eef5;
    color: var(--pp-muted);
    font-size: .72rem;
}

.pp-progress .is-current {
    background: var(--pp-blue-soft);
    color: var(--pp-blue-dark);
    font-weight: 700;
}

.pp-progress .is-current strong {
    background: var(--pp-blue);
    color: #fff;
}

.pp-progress .is-done {
    color: var(--pp-success);
}

.pp-progress .is-done strong {
    background: var(--pp-success-soft);
    color: var(--pp-success);
}

.pp-notice {
    margin-bottom: 18px;
    padding: 13px 17px;
    border: 1px solid #d8e5f2;
    border-radius: 14px;
    background: #f4f8fc;
    color: #405266;
    line-height: 1.55;
}

.pp-notice a {
    color: var(--pp-blue-dark);
    font-weight: 650;
}

.pp-notice-success {
    border-color: #cde9dc;
    background: var(--pp-success-soft);
    color: #315f4d;
}

.pp-notice-warning {
    border-color: #ecd9a6;
    background: var(--pp-warning-soft);
    color: #72501a;
}

.pp-scan-form,
.pp-section,
.pp-state-card,
.pp-report-list,
.pp-dashboard,
.pp-credit-summary {
    border: 1px solid var(--pp-line);
    background: var(--pp-surface);
}

.pp-scan-form,
.pp-dashboard {
    border-radius: 22px;
    box-shadow: var(--pp-shadow);
    overflow: hidden;
}

.pp-section {
    padding: 24px 26px;
    border-width: 0 0 1px;
}

.pp-section:last-of-type {
    border-bottom: 0;
}

.pp-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 16px;
}

.pp-section-heading p {
    margin: 0;
    color: var(--pp-muted);
    font-size: .88rem;
    line-height: 1.5;
}

.pp-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pp-choice-card {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    margin: 0;
    padding: 17px;
    border: 1px solid var(--pp-line);
    border-radius: 15px;
    background: var(--pp-surface-soft);
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.pp-choice-card:hover {
    border-color: #a9c9e9;
    background: #f2f8ff;
    transform: translateY(-1px);
}

.pp-choice-card:has(input:checked) {
    border-color: #8dbce8;
    background: var(--pp-blue-soft);
}

.pp-choice-card input {
    width: 19px;
    height: 19px;
    margin: 3px 0 0;
    accent-color: var(--pp-blue);
    flex: 0 0 auto;
}

.pp-choice-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pp-choice-copy strong {
    color: var(--pp-ink);
    font-size: .98rem;
}

.pp-choice-copy small,
.pp-smallprint,
.pp-field-group small {
    color: var(--pp-muted);
    line-height: 1.5;
}

.pp-upload-zone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 148px;
    padding: 22px;
    border: 1.5px dashed #adc5dc;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%);
    text-align: center;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease;
}

.pp-upload-zone:hover {
    border-color: var(--pp-blue);
    background: #f2f8ff;
}

.pp-upload-zone input[type="file"] {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100%;
    margin: 0 !important;
    opacity: 0;
    cursor: pointer;
}

.pp-upload-zone strong {
    margin-top: 8px;
    font-size: 1.05rem;
}

.pp-upload-zone small {
    margin-top: 6px;
    color: var(--pp-muted);
}

.pp-upload-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--pp-blue-soft);
    color: var(--pp-blue-dark);
    font-size: 1.35rem;
    font-weight: 700;
}

.pp-file-summary {
    margin-top: 10px;
    color: var(--pp-muted);
    font-size: .86rem;
    word-break: break-word;
}

.pp-advanced {
    margin: 0;
    border-top: 0;
    background: #fbfcfe;
}

.pp-advanced summary {
    padding: 15px 26px 13px;
    color: #435266;
    font-weight: 700;
    cursor: pointer;
    list-style-position: inside;
}

.pp-advanced-body {
    display: grid;
    grid-template-columns: .85fr 1.1fr 1.05fr;
    align-items: start;
    gap: 26px;
    padding: 0 26px 22px;
}

.pp-field-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.pp-field-group > label:first-child,
.pp-field-group legend {
    display: block;
    min-height: 22px;
    margin-bottom: 8px;
    color: var(--pp-ink);
}

.pp-field-group select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cad6e2;
    border-radius: 10px;
    background: #fff;
}

.pp-field-group fieldset,
.pp-field-group label {
    color: #46576a;
}

.pp-field-group label:not(:first-child) {
    display: block;
    margin: 4px 0;
    line-height: 1.4;
}

.pp-field-group input[type="checkbox"] {
    margin-right: 6px;
    accent-color: var(--pp-blue);
}

.pp-form-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 26px 24px;
    background: #fff;
}

.pp-form-actions p {
    margin: 0;
    color: var(--pp-muted);
    max-width: 680px;
    font-size: .82rem;
    line-height: 1.5;
}

.pp-primary-btn,
.pp-secondary-btn,
.pp-text-link,
.pp-pack-action .asp_product_buy_btn {
    font-family: inherit;
    text-decoration: none !important;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.pp-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 19px;
    border: 1px solid var(--pp-blue);
    border-radius: 11px;
    background: var(--pp-blue);
    color: #fff !important;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    text-transform: none;
    letter-spacing: 0;
}

.pp-primary-btn:hover {
    border-color: var(--pp-blue-dark);
    background: var(--pp-blue-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

.pp-primary-btn.disabled,
.pp-primary-btn:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.pp-link-btn {
    width: auto;
}

.pp-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid #c8d3df;
    border-radius: 10px;
    background: #fff;
    color: #314255 !important;
    font-size: .86rem;
    font-weight: 700;
}

.pp-secondary-btn:hover {
    border-color: #9eb3c8;
    background: #f6f9fc;
}

.pp-text-link {
    color: var(--pp-blue-dark);
    font-weight: 650;
    font-size: .88rem;
}

.pp-form-error {
    margin-top: 14px;
    color: var(--pp-danger);
    font-size: .9rem;
    font-weight: 600;
}

.loader,
.pp-spinner {
    display: inline-block;
    width: 19px;
    height: 19px;
    border: 2px solid rgba(38,120,201,.18);
    border-top-color: var(--pp-blue);
    border-radius: 50%;
    animation: pp-spin .8s linear infinite;
}

.pp-primary-btn .loader {
    width: 16px;
    height: 16px;
    margin-left: 9px;
    border-color: rgba(255,255,255,.35);
    border-top-color: #fff;
}

@keyframes pp-spin { to { transform: rotate(360deg); } }

/* Credit review */
.pp-credit-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 22px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--pp-shadow);
}

.pp-credit-summary > div {
    padding: 23px 26px;
    border-right: 1px solid var(--pp-line);
}

.pp-credit-summary > div:last-child {
    border-right: 0;
}

.pp-credit-summary small,
.pp-credit-summary span {
    display: block;
    color: var(--pp-muted);
}

.pp-credit-summary strong {
    display: block;
    margin: 5px 0 1px;
    color: var(--pp-ink);
    font-size: 2rem;
    line-height: 1;
}

.pp-credit-summary .is-shortfall strong,
.pp-credit-summary .is-shortfall span {
    color: var(--pp-blue-dark);
}

.pp-credit-summary .is-ready strong,
.pp-credit-summary .is-ready span {
    color: var(--pp-success);
}

.pp-credit-packs {
    border-radius: 20px;
    box-shadow: var(--pp-shadow);
}

.pp-pack-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pp-pack {
    display: grid;
    grid-template-columns: minmax(185px, 1.3fr) .65fr .8fr minmax(150px, .8fr);
    align-items: center;
    gap: 18px;
    padding: 15px 16px;
    border: 1px solid var(--pp-line);
    border-radius: 13px;
    background: #fff;
}

.pp-pack.is-recommended {
    border-color: #8dbce8;
    background: var(--pp-blue-soft);
}

.pp-pack.is-insufficient {
    opacity: .48;
}

.pp-pack-main,
.pp-pack-price,
.pp-pack-after {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pp-pack-main strong,
.pp-pack-price strong,
.pp-pack-after strong {
    color: var(--pp-ink);
}

.pp-pack-main small,
.pp-pack-price small,
.pp-pack-after small {
    color: var(--pp-muted);
    font-size: .77rem;
}

.pp-badge {
    align-self: flex-start;
    margin-top: 5px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #dfefff;
    color: var(--pp-blue-dark);
    font-size: .68rem;
    font-weight: 700;
}

.pp-pack-action .asp_product_buy_button,
.pp-pack-action .asp_product_buy_btn_container {
    width: 100%;
    margin: 0 !important;
}

.pp-pack-action .asp_product_buy_btn,
.pp-pack-action button.stripe-button-el,
.pp-pack-action button.stripe-button-el span {
    width: 100% !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: 1px solid var(--pp-blue) !important;
    border-radius: 10px !important;
    background: var(--pp-blue) !important;
    color: #fff !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: .82rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.pp-muted {
    color: var(--pp-muted);
    font-size: .8rem;
}

.pp-smallprint {
    margin: 15px 0 0;
    font-size: .78rem;
}

/* Status/results */
.pp-state-card {
    max-width: 720px;
    margin: 38px auto 0;
    padding: 42px;
    border-radius: 22px;
    text-align: center;
    box-shadow: var(--pp-shadow);
}

.pp-state-card .pp-spinner {
    width: 34px;
    height: 34px;
    margin-bottom: 20px;
    border-width: 3px;
}

.pp-state-card .pp-primary-btn {
    margin-top: 22px;
}

.pp-state-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.pp-success-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: var(--pp-success-soft);
    color: var(--pp-success);
    font-size: 1.55rem;
    font-weight: 800;
}

.pp-state-error {
    border-color: #efd1d1;
    background: #fffdfd;
}

.pp-state-working {
    background: #fbfdff;
}

/* Dashboard */
.page-id-25 .entry-content {
    width: min(1040px, calc(100% - 36px)) !important;
    margin: 42px auto 70px !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.page-id-25 #user-registration {
    margin: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.page-id-25 #user-registration .user-registration-MyAccount-content {
    padding: 0 !important;
    margin: 0 !important;
}

.pp-dashboard {
    padding: 30px;
}

.pp-dashboard-hero {
    margin-bottom: 26px;
}

.pp-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.pp-stat-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    padding: 18px 20px;
    border: 1px solid var(--pp-line);
    border-radius: 15px;
    background: var(--pp-surface-soft);
    color: inherit;
    text-decoration: none;
}

.pp-stat-card small {
    color: var(--pp-muted);
}

.pp-stat-card strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    color: var(--pp-ink);
    font-size: 1.8rem;
}

.pp-stat-card span {
    color: var(--pp-blue-dark);
    font-size: .78rem;
    font-weight: 650;
}

.pp-dashboard-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pp-action-card {
    display: flex;
    flex-direction: column;
    min-height: 168px;
    padding: 20px;
    border: 1px solid var(--pp-line);
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.pp-action-card:hover {
    border-color: #a7c5e2;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(24,47,76,.07);
}

.pp-action-card strong {
    color: var(--pp-ink);
    font-size: 1.02rem;
}

.pp-action-card span {
    margin-top: 7px;
    color: var(--pp-muted);
    font-size: .84rem;
    line-height: 1.5;
}

.pp-action-card em {
    margin-top: auto;
    padding-top: 16px;
    color: var(--pp-blue-dark);
    font-size: .8rem;
    font-style: normal;
    font-weight: 700;
}

.pp-how-it-works {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--pp-line);
}

.pp-how-it-works h3 {
    margin: 0 0 14px;
    font-size: 1rem;
}

.pp-how-it-works > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pp-how-it-works span {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 3px 8px;
}

.pp-how-it-works b {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--pp-blue-soft);
    color: var(--pp-blue-dark);
    font-size: .72rem;
}

.pp-how-it-works strong {
    color: var(--pp-ink);
    font-size: .82rem;
}

.pp-how-it-works small {
    color: var(--pp-muted);
    line-height: 1.4;
}

.pp-account-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--pp-line);
    color: var(--pp-muted);
    font-size: .78rem;
}

.pp-account-links a {
    color: #465b70;
}

/* Reports */
.pp-report-list {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--pp-shadow);
}

.pp-report-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--pp-line);
}

.pp-report-row:last-child {
    border-bottom: 0;
}

.pp-report-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #f0f4f8;
    color: #516276;
    font-size: .65rem;
    font-weight: 800;
}

.pp-report-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.pp-report-info strong {
    color: var(--pp-ink);
}

.pp-report-info small {
    overflow: hidden;
    color: var(--pp-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pp-pagination {
    margin-top: 18px;
    text-align: center;
}

.pp-pagination .page-numbers {
    display: inline-flex;
    min-width: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    margin: 2px;
    padding: 7px 9px;
    border: 1px solid var(--pp-line);
    border-radius: 9px;
    background: #fff;
    color: #405266;
    text-decoration: none;
}

.pp-pagination .current {
    border-color: var(--pp-blue);
    background: var(--pp-blue);
    color: #fff;
}

/* User Registration login / register: cleaner without changing plugin behaviour. */
.page-id-20 .ur-frontend-form.login,
.page-id-23 .ur-frontend-form {
    width: min(520px, calc(100% - 30px)) !important;
    margin: 46px auto 70px !important;
    padding: 30px !important;
    border: 1px solid var(--pp-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: var(--pp-shadow) !important;
}

.page-id-20 .entry-header,
.page-id-23 .entry-header,
.page-id-25 .entry-header {
    display: none;
}

.page-id-20 .ur-form-grid input,
.page-id-23 .ur-form-grid input {
    min-height: 46px;
    border: 1px solid #cad6e2 !important;
    border-radius: 10px !important;
    background: #fff !important;
}

.page-id-20 .ur-submit-button,
.page-id-23 .ur-submit-button {
    min-height: 46px !important;
    border-radius: 10px !important;
    background: var(--pp-blue) !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

/* Keep Cloudflare Turnstile tidy when enabled in User Registration & Membership. */
.page-id-20 .cf-turnstile,
.page-id-23 .cf-turnstile {
    margin: 16px 0 18px;
    min-height: 65px;
}

.page-id-20 #node_recaptcha_login,
.page-id-23 #node_recaptcha_register {
    overflow: visible;
}

/* Credit shop: soften the old three-column tiles. Prices still come from Stripe product data. */
.page-id-34 .wpec_shop_products {
    width: min(1040px, calc(100% - 36px));
    margin: 46px auto 70px;
    padding: 0 !important;
    background: transparent !important;
}

.page-id-34 #wp-asp-members-list .wp-asp-grid-row {
    gap: 14px;
    justify-content: flex-start !important;
}

.page-id-34 .wp-asp-grid-item {
    flex: 1 1 280px;
    width: auto !important;
    min-width: 250px;
    margin: 0 0 14px !important;
    padding: 22px !important;
    border: 1px solid var(--pp-line);
    border-radius: 17px;
    background: #fff !important;
    box-shadow: none;
}

.page-id-34 .wp-asp-grid-item .wp-asp-product-name {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--pp-ink) !important;
    font-size: 1.35rem !important;
    font-weight: 750;
}

.page-id-34 .wp-asp-product-name:after {
    display: none !important;
}

.page-id-34 .wp-asp-grid-item .wp-asp-product-price {
    padding: 13px 0 10px !important;
    color: var(--pp-blue-dark);
    font-size: 1.55rem !important;
    font-weight: 700;
}

.page-id-34 .wp-asp-grid button,
.page-id-34 .wp-asp-view-product-btn a button {
    min-height: 44px !important;
    border: 1px solid var(--pp-blue) !important;
    border-radius: 10px !important;
    background: var(--pp-blue) !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

/* Single Stripe product fallback pages, should a customer still land on one. */
.single-asp-products .inside-article {
    background: #f8fafc !important;
    box-shadow: none !important;
    border: 0 !important;
}

.single-asp-products .asp_post_item_top {
    width: min(520px, calc(100% - 32px)) !important;
    padding: 28px !important;
    border: 1px solid var(--pp-line);
    border-radius: 20px;
    box-shadow: var(--pp-shadow);
}

.single-asp-products .asp_post_item_top .asp_post_title {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--pp-ink) !important;
    font-size: 1.5rem !important;
}

.single-asp-products .asp_post_item_top .asp_post_title:after {
    display: none !important;
}

.single-asp-products .asp_post_item_top .asp_product_buy_button .asp_product_buy_btn {
    border-radius: 10px !important;
    background: var(--pp-blue) !important;
    color: #fff !important;
    text-transform: none !important;
}

@media (max-width: 820px) {
    .pp-shell {
        width: min(100% - 24px, 1040px);
        margin-top: 30px;
    }

    .pp-page-head,
    .pp-dashboard-hero,
    .pp-section-heading {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .pp-head-actions {
        justify-content: space-between;
    }

    .pp-progress {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 16px;
    }

    .pp-choice-grid,
    .pp-dashboard-actions,
    .pp-how-it-works > div,
    .pp-advanced-body {
        grid-template-columns: 1fr;
    }

    .pp-dashboard-stats,
    .pp-credit-summary {
        grid-template-columns: 1fr;
    }

    .pp-credit-summary > div {
        border-right: 0;
        border-bottom: 1px solid var(--pp-line);
    }

    .pp-credit-summary > div:last-child {
        border-bottom: 0;
    }

    .pp-pack {
        grid-template-columns: 1fr 1fr;
    }

    .pp-pack-action {
        grid-column: 1 / -1;
    }

    .pp-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pp-primary-btn {
        width: 100%;
    }

    .pp-report-row {
        grid-template-columns: auto 1fr;
    }

    .pp-report-row .pp-secondary-btn {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .pp-shell {
        width: min(100% - 18px, 1040px);
    }

    .pp-scan-form,
    .pp-dashboard,
    .pp-credit-packs,
    .pp-state-card,
    .pp-report-list,
    .pp-credit-summary {
        border-radius: 14px;
    }

    .pp-section,
    .pp-dashboard,
    .pp-state-card {
        padding: 22px 18px;
    }

    .pp-advanced summary,
    .pp-advanced-body,
    .pp-form-actions {
        padding-left: 18px;
        padding-right: 18px;
    }

    .pp-progress span {
        justify-content: flex-start;
        font-size: .74rem;
    }

    .pp-pack {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pp-pack-action {
        grid-column: auto;
    }
}
