* {
    box-sizing: border-box;
}

:root {
    --pk-blue: #007aff;
    --pk-blue-dark: #0866d6;
    --pk-ink: #0c1524;
    --pk-text: #525c6b;
    --pk-muted: #8a93a1;
    --pk-line: #e7ebf1;
    --pk-soft: #f4f6fa;
    --pk-panel: #ffffff;
    --pk-green: #14875a;
    --pk-green-soft: #eaf7f0;
    --pk-gold: #c77e0a;
    --pk-gold-soft: #fff3e2;
    --pk-red: #e5484d;
    --pk-shadow: 0 24px 50px -30px rgba(12, 21, 36, .35);
    --pk-radius: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    background: var(--pk-soft);
    color: var(--pk-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

::selection {
    background: #cfe2ff;
}

.pk-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.pk-container-narrow {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.pk-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .84);
    border-bottom: 1px solid var(--pk-line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.pk-header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 36px;
}

.pk-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--pk-ink);
    flex-shrink: 0;
}

.pk-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(150deg, #0a84ff, var(--pk-blue-dark));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(8, 102, 214, .32);
}

.pk-logo-text {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.pk-logo-text span {
    color: var(--pk-blue);
}

.pk-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
    font-weight: 500;
    color: var(--pk-text);
}

.pk-nav a:hover,
.pk-nav a.is-active {
    color: var(--pk-blue);
}

.pk-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pk-icon-btn,
.pk-account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--pk-ink);
    font-size: 15px;
    font-weight: 600;
    min-width: 0;
    min-height: 0;
    border: 0;
    background: transparent;
}

.pk-icon-btn {
    min-width: 40px;
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid var(--pk-line);
    background: #fff;
    color: var(--pk-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pk-icon-btn:hover,
.pk-account-link:hover {
    background: #f0f3f7;
    color: var(--pk-blue);
}

.pk-icon-btn:hover {
    background: #fff;
    border-color: var(--pk-blue);
}

.pk-header-search {
    position: absolute;
    inset: 72px 0 auto;
    z-index: 40;
    background: rgba(244, 246, 250, .98);
    border-bottom: 1px solid var(--pk-line);
    box-shadow: 0 18px 36px -28px rgba(12, 21, 36, .35);
    display: none;
}

.pk-header-search.is-open {
    display: block;
}

.pk-header-search form {
    width: min(720px, calc(100% - 48px));
    margin: 20px auto;
    display: flex;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--pk-line);
    border-radius: 13px;
    padding: 6px;
}

.pk-header-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 14px;
    color: var(--pk-ink);
}

.pk-search-suggest-form {
    position: relative;
    z-index: 6;
}

.pk-search-suggestions {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    z-index: 90;
    max-height: min(430px, calc(100vh - 180px));
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 12px;
    box-shadow: 0 24px 55px -24px rgba(12, 21, 36, .38);
    padding: 7px 0;
}

.pk-search-suggestions[hidden] {
    display: none;
}

.pk-search-suggestion {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 20px;
    color: #30465a;
    text-decoration: none;
    background: #fff;
    border: 0;
}

.pk-search-suggestion:hover,
.pk-search-suggestion.is-active {
    color: #006fe8;
    background: #f3f8ff;
}

.pk-search-suggestion-code {
    font-family: "JetBrains Mono", "Hanken Grotesk", sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
}

.pk-search-suggestion-name {
    overflow: hidden;
    color: #6a7483;
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pk-mobile-toggle {
    display: none;
}

.pk-main {
    min-height: 60vh;
}

.pk-footer {
    background: var(--pk-ink);
    color: #8e9aad;
}

.pk-footer-grid {
    padding: 62px 0 0;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
}

.pk-footer h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 16px;
}

.pk-footer p {
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 18px;
}

.pk-footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
    font-size: 15px;
}

.pk-footer-links a:hover {
    color: #fff;
}

.pk-footer-bottom {
    margin-top: 46px;
    padding: 22px 0;
    border-top: 1px solid #1c2738;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    color: #5d6779;
    font-size: 14px;
}

.pk-scroll-end-spacer {
    display: none;
}

.pk-flash {
    width: min(1200px, calc(100% - 48px));
    margin: 16px auto 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
    border: 1px solid transparent;
}

.pk-flash-success {
    background: #ecfdf5;
    color: #15803d;
    border-color: #bbf7d0;
}

.pk-flash-error {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

/* Floating back-to-top (all non-practice storefront pages) */
.pk-back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 80;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--pk-blue);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 12px 28px -8px rgba(0, 122, 255, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease;
}

.pk-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pk-back-to-top:hover {
    background: #0066d6;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -8px rgba(0, 122, 255, .55);
}

@media (max-width: 680px) {
    .pk-back-to-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }
}

/* Themed pagination (replaces Laravel's default Tailwind view) */
.pk-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 36px;
}

.pk-pagination .pk-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f1;
    background: #fff;
    color: #3a4452;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .16s, color .16s, background .16s;
}

.pk-pagination a.pk-page:hover {
    border-color: var(--pk-blue);
    color: var(--pk-blue);
}

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

.pk-pagination .pk-page.is-disabled {
    opacity: .4;
    pointer-events: none;
}

.pk-pagination .pk-page.is-dots {
    border: 0;
    background: transparent;
    min-width: 24px;
    padding: 0 2px;
    color: #8a93a1;
}

.pk-pagination .pk-page-nav {
    padding: 0 10px;
}

/* Collapsible archive of retired/expired exams — nofollow links, no ranking weight */
.tpl-archived {
    margin-top: 44px;
    border-top: 1px solid #e7ebf1;
}

.tpl-archived > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 2px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7686;
}

.tpl-archived > summary::-webkit-details-marker {
    display: none;
}

.tpl-archived > summary:hover {
    color: var(--pk-blue);
}

.tpl-archived > summary svg {
    flex-shrink: 0;
    color: #98a2b1;
    transition: transform .2s;
}

.tpl-archived[open] > summary svg {
    transform: rotate(180deg);
}

.tpl-archived-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 0 28px;
    padding: 4px 2px 24px;
}

.tpl-archived-body a {
    display: block;
    padding: 8px 0;
    font-size: 13.5px;
    color: #8a93a1;
    border-bottom: 1px solid #f1f4f8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tpl-archived-body a:hover {
    color: var(--pk-blue);
}

/* How-to-buy numbered step timeline */
.tpl-howto-steps {
    max-width: 820px;
    margin: 0 auto;
}

.tpl-howto-step {
    display: flex;
    gap: 20px;
    position: relative;
    padding-bottom: 32px;
}

.tpl-howto-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 52px;
    bottom: -2px;
    width: 2px;
    background: #e7ebf1;
}

.tpl-howto-num {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pk-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 800;
}

.tpl-howto-body {
    padding-top: 4px;
    min-width: 0;
}

.tpl-howto-body h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #0c1524;
    margin: 0;
}

.tpl-howto-body p {
    font-size: 15px;
    line-height: 1.65;
    color: #525c6b;
    margin: 8px 0 0;
}

.tpl-howto-body strong {
    color: #0c1524;
    font-weight: 700;
}

.tpl-howto-links {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.tpl-howto-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pk-blue);
}

.tpl-howto-links a:hover {
    color: #0066d6;
}

/* How-to-buy faithful UI snapshot panels (theme-built, swappable with real screenshots) */
.tpl-howto-shot {
    margin: 16px 0 0;
    border: 1px solid #e2e8f1;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 38px -26px rgba(12, 21, 36, .32);
}

.tpl-howto-shot-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 13px;
    background: #f4f6fa;
    border-bottom: 1px solid #edf0f4;
}

.tpl-howto-shot-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d3dae5;
}

.tpl-howto-shot-url {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #8a93a1;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 7px;
    padding: 3px 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tpl-howto-shot-body {
    padding: 22px 20px;
    background: #fbfcfe;
}

.tpl-howto-cap {
    font-size: 12.5px;
    color: #8a93a1;
    margin: 9px 2px 0;
}

/* How-to-buy step 5: horizontal gallery of the 6 question types */
.tpl-howto-galhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 2px 10px;
}

.tpl-howto-galhint {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: #525c6b;
}

.tpl-howto-galnav {
    display: flex;
    gap: 7px;
    flex-shrink: 0;
}

.tpl-howto-galbtn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f1;
    border-radius: 9px;
    background: #fff;
    color: #3a4452;
    cursor: pointer;
    transition: border-color .16s, color .16s, opacity .16s;
}

.tpl-howto-galbtn:hover:not(:disabled) {
    border-color: var(--pk-blue);
    color: var(--pk-blue);
}

.tpl-howto-galbtn:disabled {
    opacity: .35;
    cursor: default;
}

.tpl-howto-gallery {
    display: flex;
    gap: 13px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 2px 2px 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tpl-howto-gallery::-webkit-scrollbar {
    display: none;
}

/* Step 5 gallery breaks out wider than the text column, centered */
.tpl-howto-shot.is-wide {
    width: min(1080px, calc(100vw - 48px));
    max-width: none;
    margin-left: calc((100% - min(1080px, calc(100vw - 48px))) / 2);
}

/* Only break out on wide desktops; on smaller screens stay in-column (no page overflow) */
@media (max-width: 1240px) {
    .tpl-howto-shot.is-wide {
        width: 100%;
        margin-left: 0;
    }
}

.tpl-howto-qcard {
    flex: 0 0 288px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-height: 196px;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 12px;
    padding: 13px 14px;
}

.tpl-howto-qtype {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #0866d6;
    background: #eaf2ff;
    padding: 4px 9px;
    border-radius: 7px;
}

.tpl-howto-q {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: #0c1524;
}

.tpl-howto-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #525c6b;
    border: 1px solid #e7ebf1;
    border-radius: 8px;
    padding: 6px 10px;
}

.tpl-howto-opt b {
    min-width: 10px;
    font-size: 11.5px;
    color: #8a93a1;
}

.tpl-howto-opt.ok {
    border-color: #14875a;
    background: #eaf7f0;
    color: #0c1524;
}

.tpl-howto-opt.ok b {
    color: #14875a;
}

.tpl-howto-opt .ck {
    margin-left: auto;
    display: inline-flex;
    color: #14875a;
}

.pk-page-head {
    background: #fff;
    border-bottom: 1px solid var(--pk-line);
}

.pk-page-head-inner {
    padding: 26px 0 34px;
}

.pk-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--pk-muted);
    margin-bottom: 20px;
}

.pk-breadcrumb a:hover {
    color: var(--pk-blue);
}

.pk-breadcrumb-current {
    color: var(--pk-ink);
    font-weight: 700;
}

.pk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    font-weight: 500;
    color: var(--pk-blue);
    background: #eaf2ff;
    padding: 6px 11px;
    border-radius: 999px;
}

.pk-title {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-weight: 800;
    color: var(--pk-ink);
    letter-spacing: -.015em;
    line-height: 1.08;
    margin: 10px 0 0;
    font-size: clamp(34px, 6vw, 64px);
}

.pk-title-sm {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-weight: 800;
    color: var(--pk-ink);
    letter-spacing: -.01em;
    line-height: 1.12;
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
}

.pk-lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--pk-text);
    max-width: 760px;
    margin: 16px 0 0;
}

.pk-section {
    padding: 56px 0;
}

.pk-section-tight {
    padding: 36px 0;
}

.pk-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.pk-section-head h2,
.pk-card h2,
.pk-card h3 {
    margin: 0;
    color: var(--pk-ink);
}

.pk-grid {
    display: grid;
    gap: 18px;
}

.pk-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.pk-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pk-grid-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 372px;
    gap: 32px;
    align-items: start;
}

.pk-grid-account {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.pk-card {
    background: #fff;
    border: 1px solid var(--pk-line);
    border-radius: var(--pk-radius);
    box-shadow: 0 14px 34px -30px rgba(12, 21, 36, .45);
}

.pk-card-pad {
    padding: 28px;
}

.pk-card-hover {
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.pk-card-hover:hover {
    transform: translateY(-4px);
    border-color: #dbe3ee;
    box-shadow: 0 22px 44px -22px rgba(12, 21, 36, .3);
}

.pk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    padding: 13px 22px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
}

.pk-btn-primary {
    background: var(--pk-blue);
    color: #fff;
}

.pk-btn-primary:hover {
    background: var(--pk-blue-dark);
    color: #fff;
}

.pk-btn-secondary {
    background: #fff;
    color: var(--pk-ink);
    border: 1px solid var(--pk-line);
}

.pk-btn-secondary:hover {
    color: var(--pk-blue);
    border-color: var(--pk-blue);
}

.pk-btn-ghost {
    color: var(--pk-text);
    background: transparent;
}

.pk-form {
    display: flex;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--pk-line);
    border-radius: 13px;
    padding: 6px;
}

.pk-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 12px;
    color: var(--pk-ink);
}

.pk-field {
    margin-bottom: 16px;
}

.pk-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #3a4452;
    margin-bottom: 7px;
}

.pk-input,
.pk-select,
.pk-textarea {
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--pk-line);
    border-radius: 11px;
    padding: 13px 14px;
    color: var(--pk-ink);
    outline: 0;
}

.pk-input:focus,
.pk-select:focus,
.pk-textarea:focus {
    background: #fff;
    border-color: var(--pk-blue);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, .12);
}

.pk-textarea {
    min-height: 120px;
    resize: vertical;
}

.pk-invalid {
    margin-top: 6px;
    color: #b91c1c;
    font-size: 13.5px;
}

.pk-alert {
    padding: 12px 14px;
    border-radius: 11px;
    margin-bottom: 16px;
    font-size: 14.5px;
}

.pk-alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.pk-alert-success {
    background: #ecfdf5;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.pk-logo-tile,
.pk-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
}

.pk-logo-tile {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: #eaf2ff;
    color: var(--pk-blue-dark);
    border: 1px solid #edf0f4;
}

.pk-mark {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #eaf2ff;
    color: var(--pk-blue-dark);
}

.pk-muted {
    color: var(--pk-muted);
}

.pk-mono {
    font-family: "JetBrains Mono", monospace;
}

.pk-price {
    color: var(--pk-ink);
    font-size: 22px;
    font-weight: 800;
}

.pk-product-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    color: inherit;
}

.pk-product-card .sku {
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    font-weight: 500;
    color: var(--pk-blue);
}

.pk-product-card h3,
.pk-product-card h4 {
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--pk-ink);
    margin: 0;
    flex: 1;
}

.pk-product-card .meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--pk-muted);
}

.pk-product-card .foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #edf0f4;
}

.pk-vendor-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pk-vendor-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pk-vendor-head h3 {
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 2px;
    color: var(--pk-ink);
}

.pk-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.pk-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid #edf0f4;
    background: #f4f6fa;
    color: #3a4452;
    border-radius: 8px;
    padding: 5px 9px;
    font-size: 13px;
    font-weight: 600;
}

.pk-chip.is-active {
    background: var(--pk-blue);
    color: #fff;
    border-color: var(--pk-blue);
}

.pk-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.pk-toolbar .pk-form {
    min-width: min(460px, 100%);
}

.pk-empty {
    text-align: center;
    padding: 54px 22px;
}

.pk-empty h3 {
    color: var(--pk-ink);
    margin: 0 0 8px;
}

.pk-pagination,
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.pagination li,
.pk-pagination a,
.pk-pagination span,
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--pk-line);
    border-radius: 9px;
    background: #fff;
    color: var(--pk-text);
    font-size: 15px;
}

.pagination .active span,
.pk-pagination .current {
    background: var(--pk-blue);
    color: #fff;
    border-color: var(--pk-blue);
    font-weight: 700;
}

.pagination .disabled span,
.pk-pagination .disabled {
    opacity: .45;
}

.pk-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 10%, rgba(0, 122, 255, .16), transparent 26%),
        radial-gradient(circle at 80% 22%, rgba(20, 135, 90, .12), transparent 26%),
        linear-gradient(180deg, #fff 0%, #f4f6fa 100%);
    border-bottom: 1px solid var(--pk-line);
}

.pk-hero-grid {
    min-height: 530px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 44px;
    align-items: center;
    padding: 54px 0 66px;
}

.pk-hero-panel {
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(231, 235, 241, .9);
    border-radius: 24px;
    box-shadow: var(--pk-shadow);
    padding: 22px;
}

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

.pk-stat-dark {
    background: var(--pk-ink);
    color: #fff;
}

.pk-stat-dark .num {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 52px;
    line-height: 1;
}

.pk-stat-dark .num span {
    color: #0a84ff;
}

.pk-auth-wrap {
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: minmax(320px, .92fr) minmax(320px, 1fr);
    gap: 0;
    background: #fff;
}

.pk-auth-side {
    background:
        radial-gradient(circle at 20% 20%, rgba(10, 132, 255, .24), transparent 30%),
        linear-gradient(145deg, #0c1524, #12376b);
    color: #fff;
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pk-auth-side h1,
.pk-auth-side h2 {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.06;
    font-weight: 800;
    margin: 14px 0;
}

.pk-auth-benefits {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.pk-auth-benefit {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: #aac4ec;
}

.pk-auth-benefit .ico {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.pk-auth-benefit strong {
    display: block;
    color: #fff;
    margin-bottom: 2px;
}

.pk-auth-panel {
    padding: 56px;
    display: flex;
    align-items: center;
}

.pk-auth-card {
    width: min(460px, 100%);
    margin: 0 auto;
}

.pk-auth-card h2 {
    margin: 0 0 8px;
    color: var(--pk-ink);
    font-size: 30px;
}

.pk-auth-switch {
    text-align: center;
    margin: 18px 0 0;
    color: var(--pk-muted);
    font-size: 15px;
}

.pk-auth-switch a {
    color: var(--pk-blue);
    font-weight: 700;
}

.pk-password-wrap {
    position: relative;
}

.pk-password-wrap .pk-input {
    padding-right: 64px;
}

.pk-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--pk-muted);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.pk-status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pk-status-pill.pending {
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.pk-status-pill.paid,
.pk-status-pill.fulfilled {
    color: #15803d;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.pk-status-pill.cancelled {
    color: #374151;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
}

.pk-status-pill.refunded {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.pk-account-sidebar {
    position: sticky;
    top: 96px;
}

.pk-account-user {
    padding: 18px;
    border-bottom: 1px solid #edf0f4;
}

.pk-account-nav {
    padding: 12px;
    display: grid;
    gap: 4px;
}

.pk-account-nav a,
.pk-account-nav button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    border-radius: 10px;
    padding: 11px 12px;
    color: var(--pk-text);
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.pk-account-nav a:hover,
.pk-account-nav a.is-active {
    color: var(--pk-blue);
    background: #eaf2ff;
}

.pk-account-nav button:hover {
    color: var(--pk-red);
    background: #fceded;
}

.pk-order-row {
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f4;
}

.pk-order-row:last-child {
    border-bottom: 0;
}

.pk-order-head,
.pk-line-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pk-order-head {
    margin-bottom: 14px;
}

.pk-order-total {
    margin-left: auto;
    color: var(--pk-blue);
    font-weight: 800;
    font-size: 20px;
}

.pk-table {
    width: 100%;
    border-collapse: collapse;
}

.pk-table th,
.pk-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #edf0f4;
    text-align: left;
    vertical-align: top;
}

.pk-table th {
    background: #fafbfd;
    color: var(--pk-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pk-table .right {
    text-align: right;
}

.pk-pay-steps {
    background: #fff;
    border-bottom: 1px solid var(--pk-line);
}

.pk-pay-step-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 0;
}

.pk-pay-step {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--pk-muted);
}

.pk-pay-step .n {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--pk-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pk-pay-step.done .n {
    background: var(--pk-green);
    color: #fff;
    border-color: var(--pk-green);
}

.pk-pay-step.active {
    color: var(--pk-ink);
}

.pk-pay-step.active .n {
    background: var(--pk-blue);
    color: #fff;
    border-color: var(--pk-blue);
}

.pk-divider {
    width: 34px;
    height: 1.5px;
    background: var(--pk-line);
}

.pk-sticky {
    position: sticky;
    top: 96px;
}

.pk-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.pk-tab {
    border: 1px solid var(--pk-line);
    background: #fff;
    color: var(--pk-text);
    padding: 9px 14px;
    border-radius: 9px;
    font-weight: 700;
    cursor: pointer;
}

.pk-tab.is-active,
.pk-tab:hover {
    color: var(--pk-blue);
    border-color: var(--pk-blue);
    background: #f4f8ff;
}

.pk-tab-pane {
    display: none;
}

.pk-tab-pane.is-active {
    display: block;
}

.pk-content {
    line-height: 1.75;
    color: #3a4452;
}

.pk-content h1,
.pk-content h2,
.pk-content h3,
.pk-content h4 {
    color: var(--pk-ink);
}

.pk-content img {
    border-radius: 12px;
    box-shadow: 0 8px 24px -20px rgba(12, 21, 36, .45);
}

.pk-question-shell {
    min-height: 100vh;
    background: #f4f6fa;
}

.pk-practice-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .86);
    border-bottom: 1px solid var(--pk-line);
    backdrop-filter: blur(14px);
}

.pk-practice-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.pk-progress-line {
    height: 6px;
    background: #edf0f4;
    border-radius: 999px;
    overflow: hidden;
}

.pk-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pk-blue), #5856d6);
}

.q-body,
.opt-content,
.explanation {
    line-height: 1.7;
}

/* 选项内容通常是单段落：去掉 <p> 默认外边距，使文字与字母徽标顶对齐 */
.opt-content p {
    margin: 0;
}
.opt-content > *:last-child {
    margin-bottom: 0;
}

.q-body img,
.opt-content img,
.explanation img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.options-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.opt-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 18px;
    border: 1.5px solid var(--pk-line);
    background: #fff;
    border-radius: 13px;
    cursor: pointer;
    transition: all .15s;
}

.opt-item:hover,
.opt-item.selected {
    border-color: var(--pk-blue);
    background: #f4f8ff;
}

.opt-item.correct {
    border-color: #bbf0d2;
    background: #eaf8f0;
}

.opt-item.wrong {
    border-color: #fecaca;
    background: #fef2f2;
}

.opt-letter {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1.5px solid #d4dae2;
    background: #fff;
    color: var(--pk-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.selected .opt-letter {
    background: var(--pk-blue);
    color: #fff;
    border-color: var(--pk-blue);
}

.correct .opt-letter {
    background: var(--pk-green);
    color: #fff;
    border-color: var(--pk-green);
}

.wrong .opt-letter {
    background: var(--pk-red);
    color: #fff;
    border-color: var(--pk-red);
}

.opt-mark {
    margin-left: auto;
    font-weight: 800;
}

.solution-panel {
    margin-top: 22px;
    padding: 22px;
    border-radius: 14px;
    border: 1px solid #bbf7d0;
    background: #ecfdf5;
}

.solution-panel.hidden {
    display: none;
}

.solution-panel.is-wrong {
    border-color: #fecaca;
    background: #fef2f2;
}

.result-badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 12.5px;
    font-weight: 800;
    color: #fff;
    background: var(--pk-green);
}

.result-badge.wrong {
    background: var(--pk-red);
}

.answer-row {
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 10px 0 16px;
    color: var(--pk-ink);
    font-weight: 700;
}

.pk-faq-item {
    overflow: hidden;
}

.pk-faq-q {
    width: 100%;
    border: 0;
    background: #fff;
    color: var(--pk-ink);
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-weight: 800;
    cursor: pointer;
}

.pk-faq-a {
    display: none;
    padding: 0 22px 22px;
    border-top: 1px solid #f4f6fa;
    line-height: 1.7;
}

.pk-faq-item.is-open .pk-faq-a {
    display: block;
}

/* PrepKeys generated-template transcription layer */
.pk-announcement {
    background: #0c1524;
    color: #aeb8c8;
    font-size: 14px;
    letter-spacing: .01em;
}

.pk-announcement-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 9px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pk-announcement-dot {
    display: inline-flex;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #19c37d;
}

.tpl-hero {
    background: #fff;
    border-bottom: 1px solid #e7ebf1;
    position: relative;
    overflow: hidden;
}

.tpl-hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -140px;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(0, 122, 255, .10), rgba(0, 122, 255, 0) 68%);
    pointer-events: none;
}

.tpl-hero-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 74px 24px 78px;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.tpl-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eaf2ff;
    color: #0866d6;
    font-size: 14px;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 999px;
    letter-spacing: .01em;
}

.tpl-hero-title {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: -.015em;
    color: #0c1524;
    margin: 22px 0 0;
}

.tpl-hero-title em {
    color: #007aff;
    font-style: italic;
}

.tpl-hero-copy {
    font-size: 18px;
    line-height: 1.6;
    color: #525c6b;
    margin: 20px 0 0;
    max-width: 480px;
}

.tpl-search-form {
    margin: 30px 0 0;
    display: flex;
    position: relative;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 14px;
    padding: 7px 7px 7px 18px;
    box-shadow: 0 10px 30px rgba(12, 21, 36, .08);
    max-width: 520px;
}

.tpl-search-form .ico {
    display: flex;
    align-items: center;
    color: #8a93a1;
}

.tpl-search-form input {
    flex: 1;
    border: 0;
    outline: 0;
    font-family: inherit;
    font-size: 17px;
    color: #0c1524;
    padding: 11px 14px;
    background: transparent;
    min-width: 0;
}

.tpl-search-form button {
    background: #007aff;
    color: #fff;
    border: 0;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    padding: 0 26px;
    border-radius: 9px;
    cursor: pointer;
}

.tpl-search-form button:hover {
    background: #0866d6;
}

.tpl-check-row {
    margin: 24px 0 0;
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14.5px;
    color: #8a93a1;
    flex-wrap: wrap;
}

.tpl-check-row span,
.tpl-check-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.tpl-mock-wrap {
    position: relative;
}

.tpl-mock-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: rotate(3deg);
    background: linear-gradient(150deg, #eaf2ff, #fff);
    border: 1px solid #e7ebf1;
    border-radius: 22px;
}

.tpl-mock-card {
    position: relative;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 30px 60px -22px rgba(12, 21, 36, .28);
}

.tpl-mock-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.tpl-mono-badge {
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    font-weight: 500;
    color: #007aff;
    background: #eaf2ff;
    padding: 5px 10px;
    border-radius: 7px;
}

.tpl-mock-question {
    font-size: 16.5px;
    line-height: 1.55;
    color: #0c1524;
    font-weight: 600;
    margin: 0 0 18px;
}

.tpl-option-stack {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.tpl-mini-option {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    border: 1.5px solid #edf0f4;
    border-radius: 11px;
}

.tpl-mini-option.is-correct {
    border-color: #bbf0d2;
    background: #eaf8f0;
}

.tpl-mini-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #d4dae2;
    flex-shrink: 0;
}

.tpl-mini-option.is-correct .tpl-mini-dot {
    background: #14875a;
    border-color: #14875a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tpl-mini-option span:last-child {
    font-size: 15.5px;
    color: #525c6b;
}

.tpl-mini-option.is-correct span:last-child {
    color: #0c1524;
    font-weight: 600;
}

.tpl-note {
    margin-top: 16px;
    padding: 13px 15px;
    background: #f4f6fa;
    border-radius: 11px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13.5px;
    line-height: 1.55;
    color: #525c6b;
}

.tpl-note strong {
    color: #0c1524;
}

.tpl-vendors-strip {
    background: #fff;
    border-bottom: 1px solid #e7ebf1;
}

.tpl-vendors-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px 52px;
}

.tpl-section-label {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8a93a1;
    margin: 0 0 26px;
}

.tpl-vendor-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.tpl-vendor-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    padding: 24px 14px;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    background: #fff;
    transition: all .2s;
}

.tpl-vendor-logo-card:hover {
    border-color: #007aff;
    box-shadow: 0 10px 24px -12px rgba(0, 122, 255, .4);
    transform: translateY(-3px);
}

.tpl-vendor-mark {
    width: 128px;
    height: 128px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #edf0f4;
    color: #0866d6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    overflow: hidden;
}

.tpl-vendor-logo-card strong {
    font-size: 14.5px;
    font-weight: 600;
    color: #0c1524;
    text-align: center;
}

.tpl-vendor-logo-card small {
    font-size: 13px;
    color: #8a93a1;
}

.tpl-section {
    background: #f4f6fa;
}

.tpl-section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 76px 24px 84px;
}

.tpl-section-inner.is-white {
    background: #fff;
}

.tpl-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.tpl-section-title {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: #0c1524;
    margin: 0;
}

.tpl-section-subtitle {
    font-size: 16px;
    color: #525c6b;
    margin: 10px 0 0;
}

.tpl-outline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    color: #0c1524;
    padding: 11px 18px;
    border: 1px solid #e7ebf1;
    border-radius: 10px;
    background: #fff;
}

.tpl-outline-btn:hover {
    border-color: #007aff;
    color: #007aff;
}

.tpl-exam-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
}

.tpl-exam-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 16px;
    padding: 22px;
    transition: all .22s;
    min-height: 100%;
}

.tpl-exam-card:hover {
    box-shadow: 0 22px 44px -20px rgba(12, 21, 36, .3);
    transform: translateY(-4px);
    border-color: #dbe3ee;
}

.tpl-exam-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.tpl-exam-card .sku,
.tpl-sku {
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    font-weight: 500;
    color: #007aff;
    overflow-wrap: anywhere;
}

.tpl-exam-card h3 {
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #0c1524;
    margin: 8px 0 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tpl-exam-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 0;
    font-size: 13.5px;
    color: #8a93a1;
}

.tpl-exam-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid #edf0f4;
}

.tpl-price {
    font-size: 20px;
    font-weight: 800;
    color: #0c1524;
}

.tpl-arrow-box {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eaf2ff;
    color: #007aff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tpl-feature-section {
    background: #fff;
    border-top: 1px solid #e7ebf1;
    border-bottom: 1px solid #e7ebf1;
}

.tpl-feature-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 24px;
}

.tpl-feature-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.tpl-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tpl-feature-card {
    padding: 30px 26px;
    border: 1px solid #edf0f4;
    border-radius: 16px;
    background: #fff;
}

.tpl-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eaf2ff;
    color: #007aff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tpl-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0c1524;
    margin: 0 0 9px;
}

.tpl-feature-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #525c6b;
    margin: 0;
}

.tpl-stats {
    background: #0c1524;
    position: relative;
    overflow: hidden;
}

.tpl-stats::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 760px;
    height: 380px;
    background: radial-gradient(ellipse, rgba(0, 122, 255, .22), rgba(0, 122, 255, 0) 70%);
}

.tpl-stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 64px 24px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tpl-stat {
    text-align: center;
}

.tpl-stat strong {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 52px;
    line-height: 1;
    color: #fff;
}

.tpl-stat strong span {
    color: #0a84ff;
}

.tpl-stat p {
    font-size: 16px;
    color: #aeb8c8;
    margin: 12px 0 0;
}

.tpl-testimonials {
    background: #f4f6fa;
}

.tpl-testimonials-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 24px;
}

.tpl-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tpl-testimonial-card {
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

/* 评论横向滚动轮播（左右箭头） */
.tpl-testimonial-carousel { position: relative; }
.tpl-testimonial-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 2px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.tpl-testimonial-track::-webkit-scrollbar { display: none; }
.tpl-testimonial-track > .tpl-testimonial-card {
    flex: 0 0 calc((100% - 40px) / 3);
    scroll-snap-align: start;
}
.tpl-tcar-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e1e6ee;
    background: #fff;
    color: #0866d6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px -8px rgba(12, 21, 36, .25);
    z-index: 2;
    transition: background .15s, color .15s, border-color .15s;
}
.tpl-tcar-arrow:hover { background: #0866d6; color: #fff; border-color: #0866d6; }
.tpl-tcar-prev { left: -12px; }
.tpl-tcar-next { right: -12px; }
@media (max-width: 768px) {
    .tpl-testimonial-track > .tpl-testimonial-card { flex-basis: 84%; }
    .tpl-tcar-prev { left: 2px; }
    .tpl-tcar-next { right: 2px; }
}

.tpl-stars {
    color: #e1920e;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.tpl-testimonial-card p {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.55;
    color: #0c1524;
    margin: 0 0 20px;
    flex: 1;
}

.tpl-review-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #edf0f4;
}

.tpl-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eaf2ff;
    color: #0866d6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.tpl-cta {
    background: #fff;
}

.tpl-cta-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 36px 24px 90px;
}

.tpl-cta-panel {
    background: linear-gradient(135deg, #0866d6, #007aff);
    border-radius: 24px;
    padding: 64px 56px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tpl-cta-panel::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%);
}

.tpl-cta-panel h2 {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 44px;
    line-height: 1.1;
    color: #fff;
    margin: 0;
    position: relative;
}

.tpl-cta-panel p {
    font-size: 18px;
    color: #dbeafe;
    margin: 16px 0 0;
    position: relative;
}

.tpl-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin: 32px 0 0;
    position: relative;
    flex-wrap: wrap;
}

.tpl-cta-primary,
.tpl-cta-secondary {
    font-weight: 700;
    font-size: 17px;
    padding: 15px 32px;
    border-radius: 11px;
}

.tpl-cta-primary {
    background: #fff;
    color: #0866d6;
}

.tpl-cta-secondary {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
}

.tpl-page-head {
    background: #fff;
    border-bottom: 1px solid #e7ebf1;
}

.tpl-doc-page-head {
    text-align: center;
}

.tpl-doc-page-head-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 52px 24px 44px;
}

.tpl-doc-page-head .tpl-pill {
    margin-bottom: 18px;
}

.tpl-page-head-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 24px 40px;
}

.tpl-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #8a93a1;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tpl-breadcrumb a:hover {
    color: #007aff;
}

.tpl-breadcrumb strong {
    color: #0c1524;
    font-weight: 600;
}

.tpl-page-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.tpl-page-title {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: #0c1524;
    margin: 0;
}

.tpl-page-copy {
    font-size: 16px;
    color: #525c6b;
    margin: 8px 0 0;
}

.tpl-head-search {
    display: flex;
    position: relative;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 12px;
    padding: 5px 5px 5px 16px;
    box-shadow: 0 4px 14px rgba(12, 21, 36, .05);
    min-width: 360px;
}

.tpl-head-search span {
    display: flex;
    align-items: center;
    color: #8a93a1;
}

.tpl-head-search input {
    flex: 1;
    border: 0;
    outline: 0;
    font-family: inherit;
    font-size: 15px;
    color: #0c1524;
    padding: 9px 12px;
    background: transparent;
}

.tpl-head-search button {
    background: #007aff;
    color: #fff;
    border: 0;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    padding: 0 20px;
    border-radius: 8px;
    cursor: pointer;
}

/* All-Exams vendor live-filter — wider + more prominent than the shared .tpl-head-search */
.tpl-vendor-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 500px;
    min-width: 280px;
    padding: 15px 20px;
    background: #fff;
    border: 1.5px solid #dbe3ee;
    border-radius: 14px;
    box-shadow: 0 10px 30px -12px rgba(12, 21, 36, .18);
    transition: border-color .18s, box-shadow .18s;
}

.tpl-vendor-filter svg {
    flex-shrink: 0;
    color: #007aff;
}

.tpl-vendor-filter:hover {
    border-color: #b9c6d6;
}

.tpl-vendor-filter:focus-within {
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, .14);
}

.tpl-vendor-filter input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    color: #0c1524;
}

.tpl-vendor-filter input::placeholder {
    color: #98a2b1;
    font-weight: 400;
}

.tpl-directory {
    max-width: 1400px;
    margin: 0 auto;
    padding: 36px 24px 80px;
}

.tpl-directory-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tpl-directory-label strong {
    font-size: 15px;
    font-weight: 700;
    color: #0c1524;
}

.tpl-directory-label span {
    font-size: 14px;
    color: #8a93a1;
}

.tpl-vendor-empty {
    font-size: 15px;
    color: #8a93a1;
    padding: 6px 2px;
}

.tpl-vendor-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.tpl-vendor-directory-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 16px;
    padding: 18px;
    transition: all .22s;
    text-decoration: none;
    color: inherit;
}

.tpl-vendor-directory-card:hover {
    box-shadow: 0 22px 44px -22px rgba(12, 21, 36, .3);
    transform: translateY(-4px);
    border-color: #dbe3ee;
}

.tpl-vendor-directory-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tpl-vendor-logo {
    width: 112px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #edf0f4;
    color: #0866d6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    overflow: hidden;
}

.tpl-vendor-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
    padding: 5px;
}

.tpl-vendor-mark img,
.tpl-vendor-hero-mark img,
.tpl-product-hero-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14%;
    background: #fff;
    border-radius: inherit;
}

/* 厂商条 logo 收窄内边距，让 logo 更大（只覆盖 vendor 卡） */
.tpl-vendor-mark img {
    padding: 8%;
}

/* hero logo（产品页/分类页）也收窄内边距，配合放大的框 */
.tpl-product-hero-mark img,
.tpl-vendor-hero-mark img {
    padding: 9%;
}

/* FAQ accordion (doc pages whose title contains "faq") */
.tpl-faq-item {
    border: 1px solid var(--pk-line);
    border-radius: 14px;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
}

.tpl-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px 22px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--pk-ink);
}

.tpl-faq-ico {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 8px;
    background: #f0f3f7;
    position: relative;
    transition: background .2s;
}

.tpl-faq-ico::before,
.tpl-faq-ico::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 2px;
    background: var(--pk-muted);
    transform: translate(-50%, -50%);
    transition: transform .2s, opacity .2s;
}

.tpl-faq-ico::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.tpl-faq-item.is-open .tpl-faq-ico {
    background: var(--pk-blue);
}

.tpl-faq-item.is-open .tpl-faq-ico::before,
.tpl-faq-item.is-open .tpl-faq-ico::after {
    background: #fff;
}

.tpl-faq-item.is-open .tpl-faq-ico::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.tpl-faq-item.is-open .tpl-faq-ico::after {
    transform: translate(-50%, -50%) rotate(135deg);
}

.tpl-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}

.tpl-faq-a > div {
    padding: 2px 22px 20px;
    color: var(--pk-text);
    line-height: 1.7;
    font-size: 15px;
}

.tpl-page-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 44px 24px 80px;
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 40px;
    align-items: start;
}

.tpl-page-layout aside {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 96px;
}

.tpl-page-layout > article {
    grid-column: 2;
    grid-row: 1;
}

.tpl-page-visual {
    --page-visual-accent: #0875e1;
    --page-visual-soft: #eaf2ff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 30%);
    gap: 24px;
    align-items: center;
    margin: 0 0 30px;
    padding: 26px;
    border: 1px solid #d8e5f5;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff 0%, #fff 58%, var(--page-visual-soft) 100%);
    overflow: hidden;
}

.tpl-page-visual.is-after-content {
    margin: 30px 0 0;
}

.tpl-page-visual-faqs { --page-visual-accent: #0875e1; --page-visual-soft: #fff7ed; }
.tpl-page-visual-payment { --page-visual-accent: #0f766e; --page-visual-soft: #ecfdf5; }
.tpl-page-visual-service-policy { --page-visual-accent: #4f46e5; --page-visual-soft: #eef2ff; }
.tpl-page-visual-privacy-policy { --page-visual-accent: #0f766e; --page-visual-soft: #ecfeff; }
.tpl-page-visual-about { --page-visual-accent: #0875e1; --page-visual-soft: #fef3c7; }
.tpl-page-visual-terms { --page-visual-accent: #f97316; --page-visual-soft: #fff7ed; }
.tpl-page-visual-contact { --page-visual-accent: #be185d; --page-visual-soft: #fdf2f8; }

.tpl-page-visual-copy {
    min-width: 0;
}

.tpl-page-visual-copy span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 12px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff;
    color: var(--page-visual-accent);
    border: 1px solid #d8e5f5;
    font-size: 12.5px;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.tpl-page-visual-copy strong {
    display: block;
    color: #0c1524;
    font-size: 24px;
    line-height: 1.18;
    font-weight: 850;
}

.tpl-page-visual-copy p {
    max-width: 560px;
    margin: 10px 0 0;
    color: #525c6b;
    font-size: 15px;
    line-height: 1.6;
}

.tpl-page-visual img {
    display: block;
    width: 100%;
    max-width: 250px;
    justify-self: end;
    border-radius: 18px;
}

.tpl-contact-primary-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
    gap: 24px;
    align-items: stretch;
    margin: 0 0 30px;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid #bfdbfe;
    background:
        radial-gradient(circle at top right, rgba(0, 122, 255, .16), transparent 32%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 48%, #eef6ff 100%);
    box-shadow: 0 22px 54px -36px rgba(8, 102, 214, .55);
}

.tpl-contact-primary-copy {
    min-width: 0;
}

.tpl-contact-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 13px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #0866d6;
    font-size: 12.5px;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.tpl-contact-primary-panel h2 {
    margin: 0 0 10px;
    color: #0c1524;
    font-size: 29px;
    line-height: 1.14;
    font-weight: 850;
}

.tpl-contact-primary-panel p {
    max-width: 640px;
    margin: 0;
    color: #525c6b;
    font-size: 15.5px;
    line-height: 1.65;
}

.tpl-contact-email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #0a84ff, #0866d6);
    color: #fff;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.2;
    box-shadow: 0 16px 30px -18px rgba(0, 122, 255, .85);
}

.tpl-contact-email-link span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.tpl-contact-email-link:hover {
    color: #fff;
    transform: translateY(-1px);
}

.tpl-contact-help-list {
    display: grid;
    gap: 12px;
    align-content: center;
    min-width: 0;
}

.tpl-contact-help-list div {
    padding: 16px;
    border: 1px solid #dbeafe;
    border-radius: 15px;
    background: rgba(255, 255, 255, .78);
}

.tpl-contact-help-list strong {
    display: block;
    margin-bottom: 5px;
    color: #0c1524;
    font-size: 14.5px;
    font-weight: 800;
}

.tpl-contact-help-list span {
    color: #525c6b;
    font-size: 13.5px;
    line-height: 1.55;
}

.tpl-payment-method-panel {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr);
    gap: 26px;
    align-items: center;
    margin: 0 0 30px;
    padding: 28px;
    border-radius: 18px;
    border: 1px solid #cfe0f7;
    background: linear-gradient(135deg, #f7fbff 0%, #ffffff 52%, #f2f8ff 100%);
}

.tpl-payment-method-copy {
    min-width: 0;
}

.tpl-payment-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #0866d6;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.tpl-payment-method-panel h2 {
    margin: 0 0 10px;
    color: #0c1524;
    font-size: 27px;
    line-height: 1.16;
    font-weight: 800;
}

.tpl-payment-method-panel p {
    margin: 0;
    max-width: 600px;
    color: #525c6b;
    font-size: 15.5px;
    line-height: 1.65;
}

.tpl-payment-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.tpl-payment-trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid #d8eadf;
    border-radius: 10px;
    background: #f4fbf7;
    color: #14875a;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
}

.tpl-payment-logo-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.tpl-payment-logo {
    min-height: 64px;
    border-radius: 13px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c1524;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 14px 28px -24px rgba(12, 21, 36, .35);
}

.tpl-payment-logo-paypal {
    gap: 0;
    font-size: 27px;
    letter-spacing: -.03em;
}

.tpl-payment-logo-paypal span:first-child {
    color: #003087;
}

.tpl-payment-logo-paypal span:last-child {
    color: #009cde;
}

.tpl-payment-logo-visa {
    background: #1a1f71;
    color: #fff;
    font-size: 27px;
    letter-spacing: .09em;
}

.tpl-payment-logo-mastercard {
    position: relative;
    overflow: hidden;
    flex-direction: column;
    gap: 5px;
    padding: 8px 8px 7px;
}

.tpl-payment-logo-mastercard > span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 8px;
}

.tpl-payment-logo-mastercard > span:first-child {
    left: calc(50% - 25px);
    background: #eb001b;
}

.tpl-payment-logo-mastercard > span:nth-child(2) {
    right: calc(50% - 25px);
    background: #f79e1b;
    opacity: .88;
}

.tpl-payment-logo-mastercard strong {
    position: absolute;
    z-index: 1;
    bottom: 8px;
    margin-top: 0;
    color: #263238;
    font-size: 12.5px;
    font-weight: 850;
    line-height: 1.1;
}

.tpl-payment-logo-amex {
    background: #1f72cd;
    color: #fff;
    font-size: 24px;
    letter-spacing: .04em;
}

.tpl-payment-logo-discover {
    background: linear-gradient(100deg, #fff 0%, #fff 45%, #f58220 46%, #f4b248 100%);
    color: #1f2937;
    font-size: 20px;
    letter-spacing: .02em;
}

.tpl-payment-logo-card {
    gap: 10px;
    color: #525c6b;
    font-size: 15px;
    font-weight: 850;
}

.tpl-vendor-directory-head strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #0c1524;
}

.tpl-vendor-directory-card:hover .tpl-vendor-directory-head strong {
    color: #007aff;
}

.tpl-vendor-directory-head small {
    display: block;
    font-size: 14px;
    color: #8a93a1;
    margin-top: 1px;
}

.tpl-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    flex: 1;
    align-content: flex-start;
}

.tpl-chip {
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    font-weight: 500;
    color: #3a4452;
    background: #f4f6fa;
    border: 1px solid #edf0f4;
    padding: 4px 9px;
    border-radius: 7px;
}

.tpl-vendor-hero {
    background: linear-gradient(180deg, #fff, #f8fafe);
    border-bottom: 1px solid #e7ebf1;
}

.tpl-vendor-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 26px 24px 30px;
}

.tpl-vendor-hero-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tpl-vendor-hero-mark {
    width: 100px;
    height: 100px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #edf0f4;
    color: #0866d6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 8px 22px -12px rgba(12, 21, 36, .25);
}

.tpl-vendor-hero-copy {
    flex: 1;
    min-width: 260px;
}

.tpl-vendor-hero-copy h1 {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: #0c1524;
    margin: 0;
}

.tpl-vendor-hero-copy p {
    font-size: 16.5px;
    line-height: 1.6;
    color: #525c6b;
    margin: 8px 0 0;
    max-width: 620px;
}

.tpl-vendor-stats {
    display: flex;
    gap: 36px;
}

.tpl-vendor-stats strong {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #0c1524;
}

.tpl-vendor-stats span {
    display: block;
    font-size: 13.5px;
    color: #8a93a1;
    margin-top: 7px;
}

.tpl-catalog-body {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 24px 80px;
}

.tpl-subcat-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.tpl-subcat-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    color: #3a4452;
    background: #fff;
    border: 1px solid #e7ebf1;
}

.tpl-subcat-tabs a.is-active {
    color: #fff;
    background: #007aff;
    border-color: #007aff;
}

.tpl-subcat-tabs span {
    font-size: 13px;
    font-weight: 500;
    color: #b3bccb;
}

.tpl-subcat-tabs a.is-active span {
    color: rgba(255, 255, 255, .7);
}

.tpl-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tpl-toolbar > span {
    font-size: 15px;
    color: #525c6b;
}

.tpl-toolbar strong {
    color: #0c1524;
}

.tpl-sort {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #8a93a1;
}

.tpl-sort select {
    font-size: 14.5px;
    font-weight: 600;
    color: #0c1524;
    border: 1px solid #e7ebf1;
    border-radius: 8px;
    padding: 7px 12px;
    background: #fff;
}

.tpl-product-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tpl-product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 16px;
    padding: 20px;
    transition: all .22s;
}

.tpl-product-card:hover {
    box-shadow: 0 22px 44px -22px rgba(12, 21, 36, .3);
    transform: translateY(-4px);
    border-color: #dbe3ee;
}

.tpl-product-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #0c1524;
    margin: 7px 0 0;
    flex: 1;
}

.tpl-product-card .meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 14px 0 0;
    font-size: 13px;
    color: #8a93a1;
}

.tpl-product-card .foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid #edf0f4;
}

.tpl-product-card .foot strong {
    font-size: 18px;
    font-weight: 800;
    color: #0c1524;
}

.tpl-product-card .foot span:last-child {
    font-size: 14px;
    font-weight: 600;
    color: #007aff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tpl-product-hero {
    background: #fff;
    border-bottom: 1px solid #e7ebf1;
}

.tpl-product-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 26px 24px 34px;
}

.tpl-product-hero-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.tpl-product-hero-mark {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    background: #eaf2ff;
    color: #0866d6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 19px;
    flex-shrink: 0;
}

.tpl-product-title {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: #0c1524;
    margin: 6px 0 0;
}

.tpl-product-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 15px;
    color: #525c6b;
}

.tpl-product-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 372px;
    gap: 32px;
    align-items: start;
}

.tpl-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.tpl-highlight {
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 14px;
    padding: 18px;
}

.tpl-highlight svg {
    margin-bottom: 10px;
}

.tpl-highlight strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0c1524;
}

.tpl-highlight span {
    display: block;
    font-size: 14px;
    color: #8a93a1;
    margin-top: 3px;
}

.tpl-info-card {
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 16px;
    padding: 32px 34px;
    margin-bottom: 24px;
}

.tpl-info-card h2 {
    font-size: 21px;
    font-weight: 700;
    color: #0c1524;
    margin: 0 0 14px;
}

.tpl-info-card p {
    font-size: 15.5px;
    line-height: 1.7;
    color: #525c6b;
}

.tpl-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tpl-topic {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    background: #f4f6fa;
    border-radius: 11px;
}

.tpl-topic-ico {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: #eaf2ff;
    color: #007aff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tpl-topic strong {
    font-size: 15px;
    font-weight: 600;
    color: #0c1524;
}

.tpl-topic > div > span {
    display: block;
    font-size: 13px;
    color: #8a93a1;
}

.tpl-price-card {
    position: sticky;
    top: 96px;
}

.tpl-price-card-inner {
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 24px 50px -28px rgba(12, 21, 36, .35);
}

.tpl-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
}

.tpl-price-row strong {
    font-size: 34px;
    font-weight: 800;
    color: #0c1524;
}

.tpl-price-row del {
    font-size: 16px;
    color: #b3bccb;
}

.tpl-save-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #c77e0a;
    background: #fff3e2;
    padding: 4px 10px;
    border-radius: 7px;
    margin-bottom: 20px;
}

.tpl-tier-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.tpl-tier {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 16px;
    border: 1.5px solid #edf0f4;
    background: #fff;
    border-radius: 13px;
    cursor: pointer;
}

.tpl-tier.is-selected {
    border-color: #007aff;
    background: #f4f8ff;
}

.tpl-tier input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #007aff;
    flex-shrink: 0;
}

.tpl-tier-body {
    flex: 1;
}

.tpl-tier-body strong {
    font-size: 15px;
    font-weight: 700;
    color: #0c1524;
}

.tpl-tier-body small {
    display: block;
    font-size: 13.5px;
    color: #8a93a1;
    margin-top: 1px;
}

.tpl-tier-price {
    font-size: 17px;
    font-weight: 800;
    color: #007aff;
}

.tpl-buy-btn,
.tpl-full-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #007aff;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 0;
    cursor: pointer;
}

.tpl-buy-btn:hover,
.tpl-full-btn:hover {
    background: #0866d6;
}

.tpl-secondary-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: #0c1524;
    font-weight: 600;
    font-size: 15px;
    padding: 13px;
    border-radius: 12px;
    border: 1px solid #e7ebf1;
}

.tpl-assurances {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #edf0f4;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.tpl-assurances span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: #525c6b;
}

.tpl-secure {
    margin-top: 18px;
    padding: 13px;
    background: #f4f6fa;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13.5px;
    color: #8a93a1;
}

.tpl-practice-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid #e7ebf1;
}

.tpl-practice-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 36px;
}

.tpl-exit-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #525c6b;
    font-size: 15px;
}

.tpl-practice-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.tpl-practice-progress {
    background: #fff;
    border-bottom: 1px solid #e7ebf1;
}

.tpl-practice-progress-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.tpl-practice-progress strong {
    font-size: 14.5px;
    font-weight: 600;
    color: #0c1524;
    white-space: nowrap;
}

.tpl-practice-progress span {
    font-size: 14px;
    color: #8a93a1;
    white-space: nowrap;
}

.tpl-progress-track {
    flex: 1;
    height: 7px;
    background: #edf0f4;
    border-radius: 99px;
    overflow: hidden;
}

.tpl-progress-track div {
    height: 100%;
    background: linear-gradient(90deg, #0a84ff, #007aff);
    border-radius: 99px;
}

.tpl-question-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 24px 70px;
    display: grid;
    grid-template-columns: 1fr 256px;
    gap: 28px;
    align-items: start;
}

.tpl-question-card {
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 18px;
    padding: 36px 40px;
    box-shadow: 0 4px 20px -10px rgba(12, 21, 36, .12);
}

.tpl-question-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.tpl-question-no {
    min-width: 36px;
    height: 36px;
    padding: 0 9px;
    border-radius: 10px;
    background: #0c1524;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.tpl-question-type {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #8a93a1;
}

.tpl-question-id {
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    color: #b3bccb;
    margin-left: auto;
}

.tpl-question-flag {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e7ebf1;
    background: #fff;
    border-radius: 9px;
    padding: 7px 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #525c6b;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}

.tpl-question-flag:hover {
    border-color: #e1920e;
    color: #e1920e;
}

.tpl-question-flag.is-flagged {
    border-color: #e1920e;
    background: #fff7e9;
    color: #e1920e;
}

.tpl-question-body {
    font-size: 19px;
    line-height: 1.55;
    color: #0c1524;
    font-weight: 600;
}

.tpl-question-body p {
    margin: 0 0 8px;
}

.tpl-question-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.tpl-question-side {
    position: sticky;
    top: 140px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tpl-side-card {
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 16px;
    padding: 20px;
}

.tpl-side-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.tpl-side-title strong {
    font-size: 14.5px;
    font-weight: 700;
    color: #0c1524;
}

.tpl-side-title span {
    font-size: 13px;
    color: #8a93a1;
}

.tpl-question-map {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 7px;
}

.tpl-question-map span {
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #edf0f4;
    background: #fff;
    color: #525c6b;
}

.tpl-question-map span.is-current {
    border-color: #007aff;
    background: #007aff;
    color: #fff;
}

.tpl-question-map span.is-answered {
    border-color: #bbf0d2;
    background: #eaf8f0;
    color: #14875a;
}

.tpl-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #edf0f4;
    font-size: 12.5px;
    color: #8a93a1;
}

.tpl-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tpl-auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.tpl-auth-header {
    border-bottom: 1px solid #e7ebf1;
    background: #fff;
}

.tpl-auth-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tpl-auth-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.tpl-auth-shell {
    width: 100%;
    max-width: 1000px;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px -34px rgba(12, 21, 36, .4);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.tpl-auth-welcome {
    background: linear-gradient(155deg, #0c1524 0%, #0d2a5e 55%, #0866d6 100%);
    color: #fff;
    padding: 48px 44px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tpl-auth-welcome::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -70px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(10, 132, 255, .4), transparent 70%);
}

.tpl-auth-welcome > * {
    position: relative;
}

.tpl-auth-kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #9dc4ff;
}

.tpl-auth-welcome h2 {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 34px;
    line-height: 1.2;
    margin: 14px 0 0;
    color: #fff;
}

.tpl-auth-welcome p {
    font-size: 15px;
    line-height: 1.6;
    color: #c5d6f0;
    margin: 14px 0 0;
}

.tpl-auth-benefits {
    list-style: none;
    padding: 0;
    margin: 34px 0 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tpl-auth-benefits li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}

.tpl-auth-benefits .ico {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, .14);
}

.tpl-auth-benefits strong {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.tpl-auth-benefits span {
    display: block;
    font-size: 14px;
    color: #aac4ec;
    margin-top: 2px;
    line-height: 1.45;
}

.tpl-auth-stats {
    margin-top: auto;
    padding-top: 34px;
    display: flex;
    gap: 30px;
}

.tpl-auth-stats strong {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

.tpl-auth-stats span {
    display: block;
    font-size: 13px;
    color: #9dc4ff;
}

.tpl-auth-form {
    padding: 48px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tpl-auth-form h1 {
    font-size: 27px;
    font-weight: 800;
    color: #0c1524;
    margin: 0;
    letter-spacing: -.01em;
}

.tpl-auth-form p {
    font-size: 15px;
    color: #8a93a1;
    margin: 7px 0 28px;
}

.tpl-auth-form p a {
    color: #007aff;
    font-weight: 700;
}

.tpl-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #3a4452;
    margin-bottom: 7px;
    display: block;
}

.tpl-input-wrap {
    position: relative;
    margin-bottom: 18px;
}

.tpl-input-wrap .ico {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #b3bccb;
}

.tpl-input-wrap .tail {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #b3bccb;
}

.tpl-input,
.tpl-select,
.tpl-textarea {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    color: #0c1524;
    background: #f8fafc;
    border: 1px solid #e7ebf1;
    border-radius: 11px;
    padding: 13px 14px;
    outline: 0;
}

.tpl-input.has-leading {
    padding-left: 44px;
}

.tpl-input.has-trailing {
    padding-right: 44px;
}

.tpl-input:focus,
.tpl-select:focus,
.tpl-textarea:focus {
    border-color: #007aff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, .12);
}

.tpl-form-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}

.tpl-forgot {
    font-size: 14px;
    font-weight: 600;
    color: #007aff;
}

.tpl-check-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    color: #525c6b;
    margin-bottom: 22px;
    cursor: pointer;
}

.tpl-check-label input {
    width: 18px;
    height: 18px;
    accent-color: #007aff;
}

.tpl-terms {
    font-size: 13px !important;
    color: #b3bccb !important;
    text-align: center;
    margin: 18px 0 0 !important;
    line-height: 1.5;
}

.tpl-checkout-header .pk-container,
.tpl-checkout-container {
    max-width: 1280px;
}

.tpl-checkout-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tpl-secure-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    color: #8a93a1;
}

.tpl-checkout-steps {
    background: #fff;
    border-bottom: 1px solid #e7ebf1;
}

.tpl-checkout-steps-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.tpl-step {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.tpl-step .n {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    color: #b3bccb;
    border: 1.5px solid #e7ebf1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.tpl-step.done .n {
    background: #14875a;
    color: #fff;
    border-color: #14875a;
}

.tpl-step.active .n {
    background: #007aff;
    color: #fff;
    border-color: #007aff;
}

.tpl-step span:last-child {
    font-size: 14.5px;
    font-weight: 600;
    color: #b3bccb;
}

.tpl-step.done span:last-child,
.tpl-step.active span:last-child {
    color: #0c1524;
}

.tpl-step-divider {
    width: 34px;
    height: 1.5px;
    background: #e7ebf1;
}

.tpl-checkout-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 28px;
    align-items: start;
}

.tpl-checkout-title {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 32px;
    letter-spacing: -.01em;
    color: #0c1524;
    margin: 0 0 20px;
}

.tpl-checkout-box {
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 16px;
    padding: 26px 28px;
    margin-bottom: 18px;
}

.tpl-box-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #8a93a1;
    margin-bottom: 14px;
}

.tpl-pay-methods {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.tpl-pay-method {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 16px;
    border: 1.5px solid #edf0f4;
    border-radius: 13px;
}

.tpl-pay-method.is-active {
    border-color: #007aff;
    background: #f4f8ff;
}

.tpl-pay-method .radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d4dae2;
    flex-shrink: 0;
}

.tpl-pay-method.is-active .radio {
    border-color: #007aff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tpl-pay-method.is-active .radio::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #007aff;
}

.tpl-order-summary {
    position: sticky;
    top: 96px;
}

.tpl-order-card {
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 50px -30px rgba(12, 21, 36, .32);
}

.tpl-order-card-head {
    padding: 20px 24px;
    border-bottom: 1px solid #edf0f4;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #0c1524;
}

.tpl-order-items {
    padding: 8px 24px;
}

.tpl-order-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px solid #f4f6fa;
}

.tpl-order-item .mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eaf2ff;
    color: #0866d6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.tpl-order-item strong {
    font-size: 15px;
    font-weight: 600;
    color: #0c1524;
    line-height: 1.3;
}

.tpl-order-item small {
    display: block;
    font-size: 13px;
    color: #8a93a1;
    margin-top: 2px;
    font-family: "JetBrains Mono", monospace;
}

.tpl-order-item .amount {
    font-size: 15px;
    font-weight: 700;
    color: #0c1524;
}

.tpl-discount-area {
    padding: 14px 24px;
    border-top: 1px solid #edf0f4;
}

.tpl-discount-form {
    display: flex;
    gap: 8px;
}

.tpl-discount-form input {
    flex: 1;
    font-family: inherit;
    font-size: 14.5px;
    color: #0c1524;
    background: #f8fafc;
    border: 1px solid #e7ebf1;
    border-radius: 9px;
    padding: 10px 12px;
    outline: 0;
    min-width: 0;
}

.tpl-discount-form button {
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    color: #0c1524;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 9px;
    padding: 10px 16px;
    cursor: pointer;
}

.tpl-total-box {
    padding: 16px 24px;
    background: #fafbfd;
}

.tpl-total-line {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #525c6b;
    padding: 5px 0;
}

.tpl-total-line.discount {
    color: #14875a;
}

.tpl-discount-savings-row {
    display: grid;
    grid-template-columns: minmax(170px, 1.2fr) repeat(4, minmax(112px, .8fr));
    gap: 10px;
    margin: 12px 0 10px;
    padding: 14px;
    background: #f0fbf5;
    border: 1px solid #ccefdc;
    border-radius: 14px;
}

.tpl-discount-savings-row > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.tpl-discount-savings-row span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6d7a8c;
}

.tpl-discount-savings-row strong {
    font-size: 15px;
    font-weight: 800;
    color: #0c1524;
    white-space: nowrap;
}

.tpl-discount-savings-code strong,
.tpl-discount-savings-row > div:nth-child(3) strong {
    color: #14875a;
}

.tpl-discount-savings-code strong {
    white-space: normal;
    overflow-wrap: anywhere;
}

.tpl-total-final {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid #edf0f4;
    margin-top: 8px;
    padding-top: 12px;
}

.tpl-total-final span {
    font-size: 16px;
    font-weight: 700;
    color: #0c1524;
}

.tpl-total-final strong {
    font-size: 26px;
    font-weight: 800;
    color: #007aff;
}

.tpl-pay-area {
    padding: 0 24px 24px;
}

.tpl-payment-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 16px;
}

.tpl-payment-list span {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    color: #8a93a1;
}

.tpl-account-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 36px 24px 80px;
    display: grid;
    grid-template-columns: 262px 1fr;
    gap: 28px;
    align-items: start;
}

.tpl-account-sidebar {
    position: sticky;
    top: 96px;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 16px;
    padding: 18px;
}

.tpl-account-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 6px 16px;
    border-bottom: 1px solid #edf0f4;
    margin-bottom: 12px;
}

.tpl-account-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a84ff, #5856d6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    flex-shrink: 0;
}

.tpl-account-user strong {
    font-size: 15px;
    font-weight: 700;
    color: #0c1524;
}

.tpl-account-user .tpl-account-email {
    display: block;
    font-size: 13.5px;
    color: #8a93a1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tpl-account-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tpl-account-nav a,
.tpl-account-nav button,
.tpl-account-logout button {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #525c6b;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.tpl-account-nav a.is-active {
    color: #007aff;
    background: #eaf2ff;
}

.tpl-account-logout {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf0f4;
}

.tpl-account-title {
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 34px;
    letter-spacing: -.01em;
    color: #0c1524;
    margin: 0 0 20px;
}

.tpl-account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.tpl-account-stat {
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 14px;
    padding: 18px 20px;
}

.tpl-account-stat span {
    font-size: 14px;
    color: #8a93a1;
}

.tpl-account-stat strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #0c1524;
    margin-top: 4px;
}

.tpl-account-tabs {
    display: flex;
    gap: 6px;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 20px;
    width: fit-content;
    flex-wrap: wrap;
}

.tpl-account-tabs a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 600;
    color: #525c6b;
}

.tpl-account-tabs a.is-active {
    color: #fff;
    background: #007aff;
}

.tpl-order-row-card {
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 14px;
}

.tpl-order-row-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf0f4;
    margin-bottom: 16px;
}

.tpl-order-row-head .no {
    font-family: "JetBrains Mono", monospace;
    font-size: 14.5px;
    font-weight: 600;
    color: #0c1524;
}

.tpl-order-row-head .date {
    font-size: 13.5px;
    color: #8a93a1;
}

.tpl-order-row-head .total {
    margin-left: auto;
    font-size: 20px;
    font-weight: 800;
    color: #007aff;
}

.tpl-order-row-body {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tpl-order-row-body .mark {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: #eaf2ff;
    color: #0866d6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

.tpl-order-row-body strong {
    font-size: 16px;
    font-weight: 700;
    color: #0c1524;
}

.tpl-order-row-body small {
    display: block;
    font-size: 13.5px;
    color: #8a93a1;
    margin-top: 2px;
    font-family: "JetBrains Mono", monospace;
}

.tpl-small-primary,
.tpl-small-secondary {
    font-size: 14.5px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 9px;
}

.tpl-small-primary {
    color: #fff;
    background: #007aff;
}

.tpl-small-secondary {
    color: #525c6b;
    border: 1px solid #e7ebf1;
}

.tpl-small-review {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
    font-weight: 700;
    color: #0866d6;
    background: #eaf2ff;
    border: 1px solid #cfe0f7;
    padding: 9px 16px;
    border-radius: 9px;
}

.tpl-small-review:hover {
    background: #dceaff;
}

.tpl-order-meta-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.tpl-order-meta-cell {
    min-width: 0;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 14px;
    padding: 17px 18px;
}

.tpl-order-meta-cell > span:first-child {
    display: block;
    margin-bottom: 7px;
    color: #8a93a1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tpl-order-meta-cell strong {
    display: block;
    min-height: 26px;
    color: #0c1524;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.tpl-order-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid #edf0f4;
}

.tpl-order-item-row:first-child {
    padding-top: 2px;
}

.tpl-order-product-copy {
    min-width: 0;
}

.tpl-order-product-sku {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 5px 9px;
    border-radius: 8px;
    background: #0c1524;
    color: #fff;
    font-family: "JetBrains Mono", monospace;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.tpl-order-product-name {
    display: block;
    color: #0c1524;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.tpl-order-product-format {
    display: inline-flex;
    align-items: center;
    margin-top: 7px;
    padding: 4px 9px;
    border-radius: 7px;
    background: #f4f6fa;
    color: #6b7482;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tpl-order-product-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.tpl-product-access-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 11px;
    color: #fff;
    font-size: 15.5px;
    font-weight: 800;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.tpl-product-access-btn:hover {
    color: #fff;
    transform: translateY(-1px);
}

.tpl-product-access-btn.is-pdf {
    background: #007aff;
    box-shadow: 0 14px 24px -18px rgba(0, 122, 255, .55);
}

.tpl-product-access-btn.is-pdf:hover {
    background: #0866d6;
}

.tpl-product-access-btn.is-engine {
    background: #14875a;
    box-shadow: 0 14px 24px -18px rgba(20, 135, 90, .55);
}

.tpl-product-access-btn.is-engine:hover {
    background: #0f734b;
}

/* ---- product: What's inside (question types) ---- */
.tpl-whats-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.tpl-whats-meta { font-size: 14px; color: #8a93a1; }
.tpl-whats-meta strong { color: #0c1524; }
.tpl-whats-sub { font-size: 15px; line-height: 1.6; color: #8a93a1; margin: 0 0 20px; }
.tpl-qtype-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tpl-qtype {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 16px;
    border: 1px solid #edf0f4;
    border-radius: 12px;
}
.tpl-qtype-ico {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tpl-qtype-body { flex: 1; min-width: 0; }
.tpl-qtype-body strong { display: block; font-size: 15px; font-weight: 700; color: #0c1524; }
.tpl-qtype-body span { display: block; font-size: 13.5px; color: #8a93a1; margin-top: 1px; }
.tpl-qtype-count { font-size: 18px; font-weight: 800; color: #0c1524; }

/* ---- product: sample question card ---- */
.tpl-sample-card {
    background: linear-gradient(180deg, #f4f8ff, #fff);
    border: 1.5px solid #cfe0f7;
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
}
.tpl-sample-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 34px;
    background: #eaf2ff;
    border-bottom: 1px dashed #bbd3f3;
    flex-wrap: wrap;
}
.tpl-sample-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #007aff;
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 7px;
}
.tpl-sample-note { font-size: 15px; font-weight: 600; color: #0866d6; }
.tpl-sample-launch {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
    font-weight: 700;
    color: #007aff;
}
.tpl-sample-launch:hover { color: #0866d6; }
.tpl-sample-body { padding: 26px 34px 30px; }
.tpl-sample-q { font-size: 15.5px; line-height: 1.55; color: #0c1524; font-weight: 600; margin: 0 0 16px; }
.tpl-sample-q p { margin: 0 0 8px; }
.tpl-sample-q p:last-child { margin-bottom: 0; }
.tpl-sample-q code {
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    background: #fff;
    border: 1px solid #dbe9ff;
    padding: 1px 6px;
    border-radius: 5px;
}
.tpl-sample-options { display: flex; flex-direction: column; gap: 10px; }
.tpl-sample-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid #edf0f4;
    background: #fff;
    border-radius: 12px;
}
.tpl-sample-opt.is-correct { border-color: #bbf0d2; background: #eaf8f0; }
.tpl-sample-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #d4dae2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tpl-sample-opt.is-correct .tpl-sample-dot { background: #14875a; border-color: #14875a; }
.tpl-sample-opt-text { font-size: 15px; color: #525c6b; }
.tpl-sample-opt-text p { margin: 0; }
.tpl-sample-opt.is-correct .tpl-sample-opt-text { color: #0c1524; font-weight: 600; }
.tpl-sample-why {
    margin-top: 16px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #dbe9ff;
    border-radius: 12px;
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 14.5px;
    line-height: 1.6;
    color: #3a4452;
}
.tpl-sample-why svg { flex-shrink: 0; margin-top: 1px; }
.tpl-sample-why p { margin: 0; }
.tpl-sample-cta {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #007aff;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px;
    border-radius: 12px;
}
.tpl-sample-cta:hover { background: #0866d6; }

/* ---- faq page ---- */
.tpl-faq-toc a { display: flex; align-items: center; gap: 10px; }
.tpl-faq-toc a svg { flex-shrink: 0; }
.tpl-faq-main { display: flex; flex-direction: column; gap: 40px; }
.tpl-faq-section { scroll-margin-top: 96px; }
.tpl-faq-cat-title { font-size: 22px; font-weight: 800; color: #0c1524; margin: 0 0 18px; letter-spacing: -.01em; }
.tpl-faq-list { display: flex; flex-direction: column; gap: 12px; }

/* ===== Product: retired exam replacement guidance ===== */
.tpl-retired-card {
    text-align: left;
}

.tpl-retired-visual {
    min-height: 134px;
    margin: -2px 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e8f3;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
    overflow: hidden;
}

.tpl-retired-visual svg {
    max-width: 100%;
}

.tpl-retired-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-bottom: 13px;
    padding: 7px 12px;
    border: 1px solid #cfe0f7;
    border-radius: 999px;
    background: #eaf2ff;
    color: #0866d6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.tpl-retired-badge svg {
    flex-shrink: 0;
}

.tpl-retired-card h2 {
    margin: 0 0 10px;
    color: #0c1524;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.tpl-retired-card p {
    margin: 0;
    color: #525c6b;
    font-size: 15px;
    line-height: 1.6;
}

.tpl-retired-path,
.tpl-retired-empty {
    margin: 18px 0;
    padding: 16px;
    border-radius: 14px;
}

.tpl-retired-path {
    border: 1px solid #cfe0f7;
    background: #f5f9ff;
}

.tpl-retired-kicker {
    display: block;
    color: #0866d6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tpl-retired-replacement {
    display: block;
    margin-top: 10px;
    padding: 14px;
    border: 1px solid #dbe8fb;
    border-radius: 12px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.tpl-retired-replacement:hover {
    border-color: #007aff;
    box-shadow: 0 12px 26px -18px rgba(0, 122, 255, .42);
    transform: translateY(-1px);
}

.tpl-retired-replacement-code {
    display: inline-flex;
    align-items: center;
    margin-bottom: 7px;
    padding: 4px 8px;
    border-radius: 7px;
    background: #0c1524;
    color: #fff;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
}

.tpl-retired-replacement strong {
    display: block;
    color: #0c1524;
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.tpl-retired-replacement > span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
    color: #007aff;
    font-size: 13.5px;
    font-weight: 800;
}

.tpl-retired-path small {
    display: block;
    margin-top: 10px;
    color: #6b7482;
    font-size: 13px;
    line-height: 1.45;
}

.tpl-retired-empty {
    border: 1px solid #e7ebf1;
    background: #f8fafc;
}

.tpl-retired-empty strong {
    display: block;
    margin-bottom: 6px;
    color: #0c1524;
    font-size: 14.5px;
    font-weight: 800;
}

.tpl-retired-empty span {
    display: block;
    color: #6b7482;
    font-size: 13.5px;
    line-height: 1.5;
}

.tpl-retired-primary {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border-radius: 12px;
    background: #007aff;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
}

.tpl-retired-primary:hover {
    background: #0866d6;
    color: #fff;
}

.tpl-retired-primary.is-browse-only {
    margin-top: 20px;
}

/* ===== Product page mobile template (P0) - appended, reuse existing 1080/680 breakpoints ===== */
.tpl-buybar { display: none; }

@media (max-width: 1080px) {
    .pk-grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pk-grid-main,
    .pk-grid-account,
    .pk-hero-grid,
    .tpl-hero-grid,
    .tpl-product-main,
    .tpl-question-layout,
    .tpl-checkout-layout,
    .tpl-account-page {
        grid-template-columns: 1fr;
    }

    .pk-sticky,
    .pk-account-sidebar,
    .tpl-price-card,
    .tpl-question-side,
    .tpl-order-summary,
    .tpl-account-sidebar {
        position: static;
    }

    .tpl-exam-grid-4,
    .tpl-vendor-logo-grid,
    .tpl-product-grid-3,
    .tpl-vendor-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tpl-payment-method-panel {
        grid-template-columns: 1fr;
    }

    .tpl-discount-savings-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tpl-discount-savings-code {
        grid-column: 1 / -1;
    }

    .tpl-payment-method-panel p {
        max-width: none;
    }

    /* Product page (P0) 改造点1: 购买区前置 - 单列 grid 下 order 直接生效, 不改 display */
    .tpl-product-main > aside.tpl-price-card { order: -1; }
    .tpl-product-main > div { order: 0; }

    /* 改造点2: 底部 sticky buybar (display:flex 覆盖媒体外 none) */
    .tpl-buybar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 70;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #e7ebf1;
        box-shadow: 0 -8px 24px -16px rgba(12, 21, 36, .35);
    }
    .tpl-buybar-price strong { font-size: 22px; font-weight: 800; color: #0c1524; }
    .tpl-buybar-price span { font-size: 13px; color: #8a93a1; margin-left: 4px; }
    .tpl-buybar-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 0 22px;
        border-radius: 12px;
        background: #007AFF;
        color: #fff;
        font-weight: 600;
        text-decoration: none;
    }
    .tpl-buybar-btn:focus-visible { outline: 2px solid #0c1524; outline-offset: 2px; }

    /* 改造点2: 让位 (padding-bottom 长写, 不用 shorthand 以免清掉 680 块左右 padding) */
    .tpl-product-main { padding-bottom: 84px; }

    /* 改造点2: back-to-top 作用域隐藏 (仅命中产品页移动端, :has 检测 buybar 在 DOM) */
    body:has(.tpl-buybar) .pk-back-to-top { display: none; }

    /* ===== Checkout page (P0, 第2页) - 复用 1080 断点 ===== */
    /* 重排: 订单摘要前置 (单列 grid 下 order 生效, 恰两直接子) */
    .tpl-checkout-layout > aside.tpl-order-summary { order: -1; }
    .tpl-checkout-layout > div { order: 0; }
    /* 触摸: 折扣表单 (结账专属) */
    .tpl-discount-form input,
    .tpl-discount-form button { min-height: 44px; }
}

@media (max-width: 860px) {
    .pk-mobile-toggle {
        display: inline-flex;
    }

    .pk-nav {
        display: none;
        position: absolute;
        left: 24px;
        right: 24px;
        top: 72px;
        z-index: 80;
        padding: 16px;
        border: 1px solid var(--pk-line);
        border-radius: 16px;
        background: #fff;
        background-clip: padding-box;
        box-shadow: 0 22px 44px -28px rgba(12, 21, 36, .42);
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        overflow: hidden;
        isolation: isolate;
        transform: translateZ(0);
    }

    .pk-header.is-menu-open .pk-nav {
        display: flex;
    }

    .pk-header-inner {
        gap: 12px;
    }

    .pk-auth-wrap {
        grid-template-columns: 1fr;
    }

    .tpl-auth-body {
        align-items: flex-start;
        padding: 28px 16px 48px;
    }

    .tpl-auth-shell {
        grid-template-columns: 1fr;
        max-width: 460px;
        border-radius: 18px;
        box-shadow: 0 20px 44px -34px rgba(12, 21, 36, .42);
    }

    .tpl-auth-welcome {
        display: none;
    }

    .tpl-auth-form {
        padding: 32px 26px;
        justify-content: flex-start;
    }

    .pk-auth-side,
    .pk-auth-panel {
        padding: 36px 24px;
    }

    .pk-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px;
        padding-top: 38px;
    }

    .pk-footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .pk-footer h4 {
        margin-bottom: 10px;
    }

    .pk-footer p {
        margin-bottom: 12px;
    }

    .pk-footer-links {
        gap: 9px;
        font-size: 14.5px;
    }

    .pk-footer-bottom {
        margin-top: 30px;
        padding: 18px 0 calc(30px + env(safe-area-inset-bottom));
    }

    .pk-scroll-end-spacer {
        display: block;
        height: calc(148px + env(safe-area-inset-bottom));
        background: var(--pk-ink);
    }
}

@media (max-width: 680px) {
    /* Product page (P0) 改造点3: hero 堆叠, 消标题横向裁切 */
    .tpl-product-hero-row { flex-direction: column; align-items: flex-start; gap: 14px; }
    .tpl-product-hero-mark { width: 56px; height: 56px; }
    .tpl-product-title { font-size: 28px; line-height: 1.2; word-break: break-word; }
    .tpl-retired-visual { min-height: 116px; margin-bottom: 16px; }
    .tpl-retired-visual svg { width: 160px; height: auto; }
    .tpl-retired-card h2 { font-size: 22px; }
    .tpl-retired-path,
    .tpl-retired-empty { padding: 14px; }
    .tpl-order-meta-panel { grid-template-columns: 1fr; gap: 10px; }
    .tpl-order-meta-cell { padding: 15px 16px; }
    .tpl-order-item-row { align-items: stretch; flex-direction: column; gap: 16px; }
    .tpl-order-product-sku { font-size: 16px; }
    .tpl-order-product-name { font-size: 17px; }
    .tpl-order-product-actions { justify-content: stretch; }
    .tpl-product-access-btn { flex: 1 1 140px; padding: 0 14px; }

    .pk-container,
    .pk-container-narrow {
        padding: 0 16px;
    }

    .pk-header-actions .pk-account-link span {
        display: none;
    }

    .pk-grid-2,
    .pk-grid-3,
    .pk-grid-4,
    .pk-stat-grid,
    .pk-footer-grid,
    .tpl-vendor-logo-grid,
    .tpl-exam-grid-4,
    .tpl-feature-grid,
    .tpl-stats-grid,
    .tpl-testimonial-grid,
    .tpl-vendor-directory-grid,
    .tpl-product-grid-3,
    .tpl-highlight-grid,
    .tpl-topic-grid,
    .tpl-account-stats,
    .tpl-page-layout {
        grid-template-columns: 1fr;
    }

    .tpl-page-layout {
        gap: 24px;
        padding-top: 24px;
    }

    .pk-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px;
        padding-top: 38px;
    }

    .pk-footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .pk-footer h4 {
        margin-bottom: 10px;
    }

    .pk-footer p {
        margin-bottom: 12px;
    }

    .pk-footer-links {
        gap: 9px;
        font-size: 14.5px;
    }

    .pk-footer-bottom {
        margin-top: 30px;
        padding: 18px 0 calc(30px + env(safe-area-inset-bottom));
    }

    .tpl-page-layout aside {
        grid-column: auto;
        grid-row: auto;
        position: static;
        order: 2;
    }

    .tpl-page-layout > article {
        grid-column: auto;
        grid-row: auto;
        order: 1;
    }

    .tpl-doc-page-head-inner {
        padding: 30px 16px 28px;
    }

    .tpl-doc-page-head .tpl-pill {
        margin-bottom: 12px;
    }

    .tpl-doc-page-head .tpl-page-title {
        font-size: 34px;
    }

    .tpl-page-visual {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
        margin-bottom: 24px;
        border-radius: 16px;
    }

    .tpl-page-visual-copy strong {
        font-size: 21px;
    }

    .tpl-page-visual-copy p {
        font-size: 14.5px;
    }

    .tpl-page-visual img {
        max-width: 260px;
        justify-self: center;
    }

    .tpl-page-visual {
        display: none;
    }

    .tpl-hero-grid,
    .tpl-section-inner,
    .tpl-feature-inner,
    .tpl-testimonials-inner,
    .tpl-cta-inner,
    .tpl-page-head-inner,
    .tpl-directory,
    .tpl-vendor-hero-inner,
    .tpl-catalog-body,
    .tpl-product-hero-inner,
    .tpl-product-main,
    .tpl-practice-header-inner,
    .tpl-practice-progress-inner,
    .tpl-question-layout,
    .tpl-checkout-layout,
    .tpl-checkout-header-inner,
    .tpl-checkout-steps-inner,
    .tpl-account-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .tpl-hero-title {
        font-size: 42px;
    }

    .tpl-auth-form,
    .tpl-auth-welcome,
    .tpl-question-card,
    .tpl-info-card {
        padding: 28px 22px;
    }

    .tpl-payment-method-panel {
        gap: 20px;
        margin-bottom: 24px;
        padding: 20px;
        border-radius: 16px;
    }

    .tpl-payment-method-panel h2 {
        font-size: 23px;
    }

    .tpl-payment-method-panel p {
        font-size: 14.5px;
    }

    .tpl-payment-logo-board {
        gap: 9px;
    }

    .tpl-payment-logo {
        min-height: 58px;
        border-radius: 11px;
    }

    .tpl-payment-logo-mastercard {
        min-height: 64px;
    }

    .tpl-payment-logo-paypal,
    .tpl-payment-logo-visa {
        font-size: 23px;
    }

    .tpl-payment-logo-amex {
        font-size: 20px;
    }

    .tpl-payment-logo-discover {
        font-size: 17px;
    }

    .tpl-payment-logo-card {
        gap: 7px;
        font-size: 13px;
    }

    .tpl-head-search {
        min-width: 0;
        width: 100%;
    }

    .pk-section {
        padding: 40px 0;
    }

    .pk-card-pad {
        padding: 22px;
    }

    .pk-hero-grid {
        padding: 40px 0;
    }

    .pk-pay-step-row,
    .pk-order-head,
    .pk-line-row {
        align-items: flex-start;
    }

    .pk-divider {
        display: none;
    }

    .tpl-qtype-grid {
        grid-template-columns: 1fr;
    }

    .tpl-sample-strip,
    .tpl-sample-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tpl-sample-launch {
        margin-left: 0;
    }
}

/* ===== Product: "Try it free" dual-format card ===== */
.tpl-tryfree {
    position: relative;
    background: linear-gradient(135deg, #0c1524 0%, #103a78 55%, #0a6bff 100%);
    border-radius: 20px;
    padding: 34px 36px 36px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 26px 54px -28px rgba(8, 60, 140, .7);
}

.tpl-tryfree::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -70px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%);
    pointer-events: none;
}

.tpl-tryfree-inner {
    position: relative;
}

.tpl-tryfree-tags {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tpl-tryfree-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    color: #0866d6;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: 999px;
}

.tpl-tryfree-nosignup {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #bcd6ff;
}

.tpl-tryfree h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
    margin: 0;
    line-height: 1.12;
}

.tpl-tryfree-sub {
    font-size: 16px;
    line-height: 1.55;
    color: #cfe0ff;
    margin: 9px 0 24px;
    max-width: 560px;
}

.tpl-tryfree-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tpl-format-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    transition: transform .2s, box-shadow .2s;
}

.tpl-format-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px -22px rgba(0, 0, 0, .5);
}

.tpl-format-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.tpl-format-ico {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tpl-format-title {
    font-size: 18px;
    font-weight: 800;
    color: #0c1524;
    line-height: 1.1;
}

.tpl-format-kicker {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-top: 3px;
}

.tpl-format-card p {
    font-size: 14.5px;
    line-height: 1.55;
    color: #6b7689;
    margin: 0 0 18px;
    flex: 1;
}

.tpl-format-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 15.5px;
    padding: 13px;
    border-radius: 12px;
}

/* ===== Product: "Choose your plan" tier cards ===== */
.tpl-choose-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 3px;
}

.tpl-choose-head > span:first-child {
    font-size: 16px;
    font-weight: 800;
    color: #0c1524;
    letter-spacing: 0;
}

.tpl-sale-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #9a5b00;
    background: #fff7e6;
    border: 1px solid #f2cd83;
    padding: 4px 9px;
    border-radius: 7px;
}

.tpl-choose-sub {
    font-size: 13px;
    color: #8a93a1;
    margin: 0 0 15px;
}

.tpl-plan-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 13px;
}

.tpl-plan-card {
    display: block;
    width: 100%;
    text-align: left;
    border: 1.5px solid #e7ebf1;
    background: #fff;
    border-radius: 13px;
    padding: 13px 15px;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
    font: inherit;
    color: inherit;
}

.tpl-plan-card:hover {
    border-color: #007aff;
    box-shadow: 0 10px 22px -14px rgba(0, 122, 255, .45);
    transform: translateY(-2px);
}
.tpl-plan-card.is-selected,
.tpl-compare-plan.is-selected { outline: 3px solid rgba(0,122,255,.22); outline-offset: 2px; }

.tpl-plan-card.is-best {
    border: 2px solid #007aff;
    background: #f4f8ff;
}

.tpl-plan-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tpl-plan-name {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.tpl-plan-name > strong {
    font-size: 15.5px;
    font-weight: 800;
    color: #0c1524;
    white-space: nowrap;
}

.tpl-plan-best-value {
    display: block;
    width: 24px;
    height: auto;
    flex: 0 0 auto;
}

.tpl-plan-tag {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 6px;
    color: #fff;
    background: #007aff;
}

.tpl-plan-tag.popular {
    font-weight: 700;
    color: #0866d6;
    background: #eaf2ff;
    text-transform: none;
}

.tpl-plan-tag.basic {
    font-weight: 700;
    color: #2f6f52;
    background: #eef7f2;
    text-transform: none;
}

.tpl-plan-sub {
    font-size: 12.5px;
    color: #8a93a1;
    margin-top: 2px;
}

.tpl-plan-price {
    text-align: right;
    flex-shrink: 0;
}

.tpl-plan-price del {
    display: block;
    font-size: 12px;
    color: #b3bccb;
    line-height: 1;
    margin-bottom: 2px;
}

.tpl-plan-price strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #0c1524;
    line-height: 1;
}

.tpl-plan-price span {
    display: block;
    font-size: 11.5px;
    color: #8a93a1;
    margin-top: 2px;
}

.tpl-compare-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
    color: #007aff;
    padding: 11px;
    border-radius: 11px;
    border: 1px solid #cfe0f7;
    background: #fff;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.tpl-compare-link:hover {
    background: #f4f8ff;
    border-color: #9cc2f0;
}

@media (max-width: 420px) {
    .tpl-plan-card.is-best .tpl-plan-best-value {
        width: 22px;
    }

    .tpl-plan-card.is-best .tpl-plan-name > strong {
        font-size: 14px;
    }
}

/* ===== Product: Secure SSL + payment badges ===== */
.tpl-pay-secure {
    margin-top: 18px;
    padding: 14px 16px;
    background: #f3faf6;
    border: 1px solid #bbf0d2;
    border-radius: 12px;
}

.tpl-pay-secure-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.tpl-pay-secure-ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #14875a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px -4px rgba(20, 135, 90, .6);
}

.tpl-pay-secure-head strong {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: #0c1524;
    letter-spacing: -.01em;
}

.tpl-pay-secure-head small {
    display: block;
    font-size: 12px;
    color: #4f7a64;
}

.tpl-pay-badges {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.tpl-pay-badge {
    height: 24px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
}

.tpl-pay-visa {
    padding: 0 9px;
    background: #1a1f71;
    color: #fff;
    letter-spacing: .06em;
}

.tpl-pay-mc {
    width: 38px;
    background: #fff;
    border: 1px solid #e7ebf1;
    position: relative;
    justify-content: center;
}

.tpl-pay-mc::before,
.tpl-pay-mc::after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
}

.tpl-pay-mc::before {
    background: #eb001b;
    left: 8px;
}

.tpl-pay-mc::after {
    background: #f79e1b;
    opacity: .85;
    right: 8px;
}

.tpl-pay-amex {
    padding: 0 8px;
    background: #1f72cd;
    color: #fff;
    font-size: 10px;
    letter-spacing: .03em;
}

.tpl-pay-paypal {
    padding: 0 9px;
    background: #fff;
    border: 1px solid #e7ebf1;
    font-size: 12px;
}

.tpl-pay-paypal span:first-child {
    color: #003087;
}

.tpl-pay-paypal span:last-child {
    color: #009cde;
}

/* ===== Product: reviews header + footer ===== */
.tpl-reviews-head {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 6px;
}

.tpl-reviews-head h2 {
    font-size: 21px;
    font-weight: 700;
    color: #0c1524;
    margin: 0;
}

.tpl-reviews-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #0c1524;
}

.tpl-reviews-rating .stars {
    color: #e1920e;
    font-size: 15px;
    letter-spacing: 1px;
}

.tpl-reviews-count {
    font-size: 14px;
    color: #8a93a1;
}

.tpl-reviews-more {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 2px;
    padding: 18px 20px;
    border-top: 1px solid #EDF0F4;
    background: #F8FAFD;
    border-radius: 0 0 14px 14px;
}

.tpl-reviews-more strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #0C1524;
}

.tpl-reviews-more p {
    font-size: 14px;
    color: #647084;
    line-height: 1.5;
    margin: 3px 0 0;
}

.tpl-reviews-more a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14.5px;
    font-weight: 800;
    color: #007AFF;
}

.tpl-reviews-sub {
    font-size: 14.5px;
    color: #8a93a1;
    margin: 0 0 14px;
}

/* Product page review form and access state */
.tpl-review-form {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #EDF0F4;
}

.tpl-review-form.is-standalone {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.tpl-review-form-head {
    font-size: 15px;
    font-weight: 800;
    color: #0C1524;
    margin-bottom: 6px;
}

.tpl-review-guidance {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #647084;
}

.tpl-star-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 3px;
    margin-bottom: 14px;
}

.tpl-star-input input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.tpl-star-input label {
    font-size: 26px;
    line-height: 1;
    color: #D4DAE2;
    cursor: pointer;
    transition: color .12s;
}

.tpl-star-input input:checked ~ label,
.tpl-star-input label:hover,
.tpl-star-input label:hover ~ label {
    color: #E1920E;
}

.tpl-review-form input.tpl-input {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.tpl-review-form textarea.tpl-input {
    display: block;
    width: 100%;
    min-height: 96px;
    resize: vertical;
    font-family: inherit;
}

.tpl-review-submit {
    min-height: 44px;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #007AFF;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
}

.tpl-review-submit:hover {
    background: #0866d6;
}

.tpl-review-mine {
    font-size: 14.5px;
    color: #14875A;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== Reviews page: summary grid + masonry ===== */
.tpl-reviews-summary {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: stretch;
}

.tpl-reviews-masonry {
    columns: 3;
    column-gap: 22px;
}

@media (max-width: 900px) {
    .tpl-reviews-summary {
        grid-template-columns: 1fr;
    }

    .tpl-reviews-masonry {
        columns: 2;
    }
}

@media (max-width: 600px) {
    .tpl-reviews-masonry {
        columns: 1;
    }
}

/* ===== Pricing page: term toggle + plan grid ===== */
.tpl-term-toggle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    max-width: 100%;
    gap: 6px;
    background: #ebeef3;
    border: 1px solid #dfe4ec;
    border-radius: 18px;
    padding: 6px;
    box-shadow: inset 0 1px 2px rgba(12, 21, 36, .05);
}

.tpl-term-seg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 170px;
    font-family: inherit;
    border: none;
    border-radius: 13px;
    padding: 14px 24px;
    cursor: pointer;
    transition: all .18s;
    color: #525c6b;
    background: transparent;
    text-decoration: none;
}

.tpl-term-seg .sub {
    font-size: 13px;
    font-weight: 600;
    color: #8a93a1;
}

.tpl-term-seg.is-active {
    color: #fff;
    background: #007aff;
    box-shadow: 0 10px 22px -10px rgba(0, 122, 255, .65);
}

.tpl-term-seg.is-active .sub {
    color: #dbeafe;
}

.tpl-pricing-grid {
    max-width: 1320px;
    margin: 0 auto;
    padding: 6px clamp(20px, 4vw, 48px) 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.tpl-plan.is-featured {
    transform: translateY(-10px);
}

.tpl-trust-strip {
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 16px;
    padding: 22px 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tpl-compare-hint {
    background: linear-gradient(120deg, #0c1524, #13233d);
    border-radius: 18px;
    padding: 30px 34px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* ===== Product-specific compare plans ===== */
.tpl-compare-page-head .pk-page-head-inner {
    padding-bottom: 28px;
}

.tpl-compare-page-head .pk-lead {
    max-width: none;
}

.tpl-product-compare-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.tpl-compare-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 18px 42px -30px rgba(12, 21, 36, .38);
}

.tpl-compare-plan.is-featured {
    border: 2px solid #007aff;
    box-shadow: 0 26px 56px -34px rgba(0, 122, 255, .52);
}

.tpl-compare-plan-ribbon {
    position: absolute;
    top: -13px;
    right: 18px;
    border-radius: 8px;
    background: #007aff;
    color: #fff;
    padding: 6px 11px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.tpl-compare-plan h2 {
    margin: 0;
    color: #0c1524;
    font-size: 23px;
    line-height: 1.18;
    font-weight: 800;
}

.tpl-compare-plan p {
    color: #647084;
    font-size: 14.5px;
    line-height: 1.55;
    margin: 8px 0 0;
}

.tpl-compare-price {
    margin-top: 21px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.tpl-compare-price del {
    color: #b3bccb;
    font-size: 17px;
    font-weight: 700;
}

.tpl-compare-price strong {
    color: #0c1524;
    font-size: 44px;
    line-height: 1;
    font-weight: 800;
}

.tpl-compare-price > span {
    color: #8a93a1;
    font-size: 14.5px;
}

.tpl-compare-price strong span,
.tpl-compare-price > span span {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.tpl-compare-note {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    min-height: 34px;
    margin-top: 9px;
    color: #0866d6;
    font-size: 14px;
    font-weight: 800;
}

.tpl-compare-note span {
    color: #c0392b;
    background: #fceded;
    border: 1px solid #f6c9cb;
    border-radius: 7px;
    padding: 3px 8px;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.tpl-compare-action {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    background: #007aff;
    color: #fff;
    padding: 14px 16px;
    margin-top: 20px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
}

.tpl-compare-action:hover {
    background: #0866d6;
    color: #fff;
}

.tpl-compare-buy-form {
    margin: 0;
}

.tpl-compare-features {
    list-style: none;
    padding: 18px 0 0;
    margin: 20px 0 0;
    border-top: 1px solid #edf0f4;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tpl-compare-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #3a4452;
    font-size: 14.5px;
    line-height: 1.5;
}

.tpl-compare-features li span {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: #eaf7f0;
    color: #14875a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.tpl-compare-footnote {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #525c6b;
    font-size: 14.5px;
}

.tpl-compare-footnote span {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf7f0;
    color: #14875a;
    flex: 0 0 auto;
}

.tpl-compare-footnote p {
    margin: 0;
}

@media (max-width: 980px) {
    .tpl-pricing-grid {
        grid-template-columns: 1fr;
    }

    .tpl-plan.is-featured {
        transform: none;
    }

    .tpl-trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .tpl-product-compare-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tpl-tryfree-grid {
        grid-template-columns: 1fr;
    }

    .tpl-tryfree {
        padding: 26px 22px 28px;
    }

    .tpl-compare-plan {
        padding: 22px 18px;
    }

    .tpl-compare-price strong {
        font-size: 38px;
    }
}

/* ===== Question Player 做题机（对齐 comp engine/Question Player）===== */
.pk-player { font-family: 'Hanken Grotesk', system-ui, sans-serif; background: #F4F6FA; min-height: 100vh; color: #525C6B; }
.pk-player-head { position: sticky; top: 0; z-index: 30; height: 60px; display: flex; align-items: center; gap: 14px; padding: 0 24px; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid #E7EBF1; }
.pk-player-exit { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; background: #F8FAFC; border: 1px solid #E7EBF1; border-radius: 9px; padding: 8px 13px; font-size: 13.5px; font-weight: 600; color: #525C6B; }
.pk-player-sku { font: 600 13px 'JetBrains Mono', monospace; color: #0866d6; background: #EAF1FC; border: 1px solid #cfe0fb; padding: 5px 10px; border-radius: 7px; }
.pk-player-name { font-size: 15px; font-weight: 700; color: #0C1524; }
.pk-player-progress { background: #fff; border-bottom: 1px solid #E7EBF1; }
.pk-player-progress-inner { max-width: 1180px; margin: 0 auto; padding: 13px 24px; display: flex; align-items: center; gap: 16px; }
.pk-player-progress-inner strong { font-size: 14px; color: #0C1524; white-space: nowrap; }
.pk-player-progress-inner span { font-size: 13px; color: #8A93A1; white-space: nowrap; }
.pk-progress-track { flex: 1; height: 8px; background: #EDF0F4; border-radius: 99px; overflow: hidden; }
.pk-progress-track > div { height: 100%; background: linear-gradient(90deg,#0866d6,#007AFF); border-radius: 99px; }
.pk-player-main { max-width: 1180px; margin: 0 auto; padding: 28px 24px 80px; display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.pk-q-card { background: #fff; border: 1px solid #E7EBF1; border-radius: 18px; padding: 26px 28px; box-shadow: 0 4px 22px -14px rgba(12,21,36,.18); }
.pk-q-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pk-q-no { width: auto; min-width: 36px; height: 36px; padding: 0 9px; box-sizing: border-box; flex: none; white-space: nowrap; border-radius: 10px; background: #0C1524; color: #fff; display: flex; align-items: center; justify-content: center; font: 800 13px 'JetBrains Mono', monospace; }
.pk-q-type { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8A93A1; }
.pk-q-flag { display: inline-flex; align-items: center; gap: 6px; background: #F8FAFC; border: 1px solid #E7EBF1; border-radius: 8px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: #8A93A1; cursor: pointer; }
.pk-q-flag.is-flagged { background: #FEF6E9; border-color: #F4D69B; color: #C77E0A; }
.pk-q-body { font-size: 16.5px; line-height: 1.6; color: #0C1524; }
.pk-q-body img { max-width: 100%; border-radius: 8px; }
.pk-q-hint { font-size: 13.5px; color: #8A93A1; margin: 10px 0 0; }
.pk-options { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.pk-opt { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1.5px solid #E7EBF1; border-radius: 13px; cursor: pointer; transition: border-color .12s, background .12s; }
.pk-opt:hover { border-color: #b9cdee; }
.pk-opt.selected { border-color: #007AFF; background: #F4F8FF; }
.pk-opt.correct { border-color: #14875A; background: #EAF7F0; }
.pk-opt.wrong { border-color: #C0392B; background: #FCEDED; }
.pk-opt-letter { width: 30px; height: 30px; flex: none; border-radius: 8px; background: #EDF0F4; color: #525C6B; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.pk-opt.selected .pk-opt-letter { background: #007AFF; color: #fff; }
.pk-opt.correct .pk-opt-letter { background: #14875A; color: #fff; }
.pk-opt.wrong .pk-opt-letter { background: #C0392B; color: #fff; }
.pk-opt-content { flex: 1; font-size: 15px; color: #0C1524; }
.pk-opt-content img { max-width: 100%; border-radius: 6px; }
.pk-opt-mark { width: 22px; flex: none; text-align: center; font-weight: 800; }
.pk-opt.correct .pk-opt-mark { color: #14875A; }
.pk-opt.wrong .pk-opt-mark { color: #C0392B; }
.pk-hotspot-stage { position: relative; margin: 18px 0 0; border: 1px solid #E7EBF1; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(45deg,#f3f5f9,#f3f5f9 10px,#eef1f6 10px,#eef1f6 20px); aspect-ratio: var(--cw) / var(--ch); max-width: 640px; }
.pk-hotspot-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pk-hotspot-img.is-missing { visibility: hidden; }
.pk-hotspot-stage.is-static { background: #F8FAFC; }
.pk-visual-answer-img { display: block; max-width: min(100%, 720px); height: auto; border: 1px solid #E7EBF1; border-radius: 12px; background: #fff; }
.pk-hotspot-region { position: absolute; border: 2px solid transparent; background: transparent; border-radius: 4px; cursor: pointer; padding: 0; transition: background-color .12s, border-color .12s, box-shadow .12s; }
.pk-hotspot-region:hover { border-color: rgba(0,122,255,.62); background: rgba(0,122,255,.10); box-shadow: 0 0 0 2px rgba(0,122,255,.12); }
.pk-hotspot-region.selected,
.pk-hotspot-region.correct { border-color: #0B8F5A; background: rgba(25,167,101,.34); box-shadow: inset 0 0 0 2px rgba(255,255,255,.45), 0 0 0 2px rgba(11,143,90,.20); }
.pk-hotspot-region.selected::after,
.pk-hotspot-region.correct::after { content: ""; position: absolute; inset: 3px; border-radius: 3px; background: rgba(25,167,101,.18); pointer-events: none; }
.pk-hotspot-region.wrong { border-color: #C0392B; background: rgba(192,57,43,.26); box-shadow: inset 0 0 0 2px rgba(255,255,255,.42), 0 0 0 2px rgba(192,57,43,.16); }
.pk-drag-source,
.pk-drag-target { position: absolute; border-radius: 5px; padding: 0; font: inherit; }
.pk-drag-source { border: 2px solid rgba(0,122,255,.42); background: rgba(255,255,255,.03); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.pk-drag-source:hover,
.pk-drag-source.is-selected { border-color: #007AFF; background: rgba(0,122,255,.14); }
.pk-drag-source:active { cursor: grabbing; }
.pk-drag-source.is-used { border-color: #CFD7E4; background: #fff; box-shadow: inset 0 0 0 1px rgba(207,215,228,.7); }
.pk-drag-target { border: 2px dashed rgba(8,102,214,.58); background: rgba(255,255,255,.28); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pk-drag-target:hover,
.pk-drag-target.is-over { background: rgba(0,122,255,.18); border-color: #007AFF; }
.pk-drag-target.is-filled { border-style: solid; background: rgba(255,255,255,.62); cursor: grab; }
.pk-drag-target.is-filled:active { cursor: grabbing; }
.pk-drag-target.is-filled::before { content: "×"; position: absolute; right: -8px; top: -8px; z-index: 2; width: 18px; height: 18px; border-radius: 50%; background: #0C1524; color: #fff; border: 2px solid #fff; box-shadow: 0 6px 14px -9px rgba(12,21,36,.65); font: 800 13px/14px 'Hanken Grotesk', system-ui, sans-serif; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.pk-drag-target.correct { border-color: #14875A; background: rgba(20,135,90,.20); }
.pk-drag-target.wrong { border-color: #C0392B; background: rgba(192,57,43,.18); }
.pk-drag-target.is-missing { border-color: #C0392B; background: rgba(192,57,43,.08); }
.pk-drag-chip { width: 100%; height: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 4px; background-color: #fff; background-repeat: no-repeat; color: #0C1524; box-shadow: 0 6px 16px -10px rgba(12,21,36,.55); font-size: 12px; font-weight: 800; line-height: 1; display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: 0; }
.pk-drag-target.is-filled .pk-drag-chip { opacity: 1; }
.pk-drag-ghost { position: fixed; left: 0; top: 0; z-index: 9999; border: 2px solid #007AFF; border-radius: 5px; background-color: #fff; background-repeat: no-repeat; box-shadow: 0 16px 34px -18px rgba(12,21,36,.7); pointer-events: none; will-change: transform; }
.pk-drag-tray { display: none; margin: 14px 0 8px; padding: 10px; border: 1px solid #CFE0FB; border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: 0 12px 30px -22px rgba(12,21,36,.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pk-drag-tray.is-active { display: block; position: sticky; top: 72px; z-index: 26; }
.pk-drag-tray-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.pk-drag-tray-head strong { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0866d6; }
.pk-drag-tray-list { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 5px; scrollbar-width: thin; }
.pk-drag-tray-option { flex: 0 0 auto; width: var(--tray-w, 132px); height: var(--tray-h, 42px); min-width: 78px; min-height: 30px; max-width: 220px; border: 2px solid rgba(0,122,255,.36); border-radius: 8px; background: #fff; padding: 0; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: 0 8px 18px -15px rgba(12,21,36,.55); }
.pk-drag-tray-option:hover,
.pk-drag-tray-option.is-selected { border-color: #007AFF; background: #F4F8FF; }
.pk-drag-tray-option:active { cursor: grabbing; }
.pk-drag-tray-option.is-used { opacity: .55; border-color: #CFD7E4; }
.pk-drag-tray-chip { display: block; width: 100%; height: 100%; border-radius: 6px; background-color: #fff; background-repeat: no-repeat; pointer-events: none; }
.pk-drag-workbench.has-active-tray { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 200px); gap: 12px; align-items: start; max-width: 860px; }
.pk-drag-workbench.has-active-tray .pk-hotspot-stage { width: 100%; max-width: none; }
.pk-drag-workbench.has-active-tray .pk-drag-tray.is-active { margin-top: 18px; max-height: calc(100vh - 92px); overflow: hidden; }
.pk-drag-workbench.has-active-tray .pk-drag-tray-list { flex-direction: column; overflow-x: hidden; overflow-y: auto; max-height: calc(100vh - 138px); padding-right: 2px; }
.pk-drag-workbench.has-active-tray .pk-drag-tray-option { width: 100%; max-width: none; }
.pk-lab-input, .pk-fill-input { margin-top: 18px; width: 100%; }
.pk-solution { margin-top: 22px; padding: 20px 22px; background: #F8FAFC; border: 1px solid #E7EBF1; border-radius: 14px; }
.pk-solution.hidden { display: none; }
.pk-solution-head { font-size: 15px; font-weight: 800; color: #0C1524; display: flex; align-items: center; gap: 10px; }
.pk-solution-badge { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 7px; }
.pk-solution-badge.is-correct { color: #14875A; background: #EAF7F0; border: 1px solid #BBF0D2; }
.pk-solution-badge.is-wrong { color: #C0392B; background: #FCEDED; border: 1px solid #F6C9CB; }
.pk-solution-answer { font-size: 14.5px; color: #14875A; font-weight: 600; margin-top: 12px; }
.pk-solution-exp { font-size: 14.5px; line-height: 1.65; color: #525C6B; margin-top: 12px; }
.pk-q-nav { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.pk-btn-check { background: #fff; border: 1.5px solid #007AFF; color: #0866d6; cursor: pointer; }
.pk-btn-check:hover { background: #F4F8FF; }
.pk-btn-check:disabled { opacity: .6; cursor: default; }
.pk-player-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 76px; }
.pk-side-card { background: #fff; border: 1px solid #E7EBF1; border-radius: 16px; padding: 18px 20px; box-shadow: 0 4px 20px -14px rgba(12,21,36,.16); }
.pk-side-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.pk-side-title strong { font-size: 14.5px; font-weight: 700; color: #0C1524; }
.pk-side-title span { font: 500 12.5px 'JetBrains Mono', monospace; color: #8A93A1; }
.pk-qmap { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; max-height: 286px; overflow-y: auto; }
.pk-qmap a, .pk-qmap span { display: flex; align-items: center; justify-content: center; height: 34px; border-radius: 8px; font: 600 12.5px 'JetBrains Mono', monospace; color: #525C6B; background: #F4F6FA; border: 1px solid #EDF0F4; text-decoration: none; }
.pk-qmap a:hover { border-color: #b9cdee; color: #0866d6; }
.pk-qmap a.is-correct, .pk-qmap span.is-correct { border-color: #BBF0D2; background: #EAF8F0; color: #14875A; }
.pk-qmap a.is-wrong, .pk-qmap span.is-wrong { border-color: #F6C9CB; background: #FCEDED; color: #C0392B; }
.pk-qmap a.is-flagged, .pk-qmap span.is-flagged { border-color: #F4D69B; background: #FEF6E9; color: #C77E0A; }
.pk-qmap a.is-current, .pk-qmap span.is-current { background: #007AFF; color: #fff; border-color: #007AFF; }
.pk-flagged-map, .pk-incorrect-map { max-height: 150px; }
.pk-flagged-empty, .pk-incorrect-empty { margin: 0; color: #8A93A1; font-size: 13px; line-height: 1.5; }
.pk-qmap-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.pk-qmap-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #8A93A1; }
.pk-qmap-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
@media (max-width: 900px) {
    .pk-player-main { grid-template-columns: 1fr; }
    .pk-player-side { position: static; flex-direction: row; flex-wrap: wrap; }
    .pk-side-card { flex: 1; min-width: 240px; }
    .pk-drag-workbench.has-active-tray { display: block; max-width: none; padding-bottom: 96px; }
    .pk-drag-workbench.has-active-tray .pk-drag-tray.is-active { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; z-index: 36; margin: 0; max-height: 112px; }
    .pk-drag-workbench.has-active-tray .pk-drag-tray-list { flex-direction: row; overflow-x: auto; overflow-y: hidden; max-height: none; padding-right: 0; }
    .pk-drag-workbench.has-active-tray .pk-drag-tray-option { width: var(--tray-w, 132px); max-width: 220px; }
}
@media (max-width: 560px) {
    .pk-drag-tray { margin-left: -8px; margin-right: -8px; border-radius: 10px; }
    .pk-drag-tray-option { min-width: 72px; }
}

/* 考试模式（M4）：无 sidebar 单列 + 倒计时 + 交卷 */
.pk-exam-main { grid-template-columns: 1fr; max-width: 860px; }
.pk-exam-badge { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #0866d6; background: #EAF1FC; border: 1px solid #cfe0fb; padding: 6px 11px; border-radius: 8px; }
.pk-exam-timer { display: inline-flex; align-items: center; gap: 7px; font: 600 13.5px 'JetBrains Mono', monospace; padding: 7px 12px; border-radius: 9px; background: #0C1524; color: #fff; }
.pk-exam-timer.is-low { background: #FCEDED; border: 1px solid #F6C9CB; color: #C0392B; }
.pk-btn-danger { background: #fff; border: 1.5px solid #F6C9CB; color: #C0392B; cursor: pointer; }
.pk-btn-danger:hover { background: #FCEDED; }
.pk-btn-danger:disabled { opacity: .6; cursor: default; }
.pk-btn-danger-solid { background: #C0392B; border: 1.5px solid #C0392B; color: #fff; cursor: pointer; }
.pk-btn-danger-solid:hover { background: #A93226; border-color: #A93226; }
.pk-btn-danger-solid:disabled { opacity: .65; cursor: default; }
.pk-exam-note { font-size: 13px; color: #8A93A1; margin: 14px 0 0; }
.pk-submit-dialog { width: min(440px, calc(100vw - 32px)); padding: 26px; border: 0; border-radius: 10px; background: #fff; color: #0C1524; box-shadow: 0 24px 64px -24px rgba(12,21,36,.42); }
.pk-submit-dialog::backdrop { background: rgba(12,21,36,.54); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.pk-submit-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.pk-submit-dialog-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #FCEDED; color: #C0392B; }
.pk-submit-dialog-close { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: transparent; color: #697386; cursor: pointer; }
.pk-submit-dialog-close:hover { background: #F4F6FA; color: #0C1524; }
.pk-submit-dialog-close:focus-visible { outline: 3px solid rgba(0,122,255,.22); outline-offset: 1px; }
.pk-submit-dialog h2 { margin: 0 0 8px; font-size: 21px; line-height: 1.3; font-weight: 800; letter-spacing: 0; color: #0C1524; }
.pk-submit-dialog p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #697386; }
.pk-submit-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }
@media (max-width: 480px) {
    .pk-submit-dialog { padding: 22px 20px 20px; }
    .pk-submit-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .pk-submit-dialog-actions .pk-btn { justify-content: center; width: 100%; }
}

/* 做题机预览门控锁定卡 */
.pk-locked { text-align: center; padding: 38px 24px; background: #F8FAFC; border: 1px dashed #D4DAE2; border-radius: 14px; margin-top: 18px; }
.pk-locked-ico { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; background: #EAF1FC; color: #0866d6; display: flex; align-items: center; justify-content: center; }
.pk-locked h3 { font-size: 18px; font-weight: 800; color: #0C1524; margin: 0 0 8px; }
.pk-locked p { font-size: 14.5px; color: #8A93A1; line-height: 1.6; max-width: 430px; margin: 0 auto 18px; }
