.bpr-quiz,
.bpr-quiz * {
    box-sizing: border-box;
}

.bpr-quiz {
    --bpr-bg: #f5eddd;
    --bpr-card: #fffaf0;
    --bpr-card-2: #fffdf8;
    --bpr-text: #173f3e;
    --bpr-muted: #5f706a;
    --bpr-gold: #c9963f;
    --bpr-gold-soft: #ead3a4;
    --bpr-green: #3f766f;
    --bpr-green-dark: #24534f;
    --bpr-border: rgba(23, 63, 62, 0.18);
    --bpr-shadow: 0 18px 45px rgba(23, 63, 62, 0.12);
    color: var(--bpr-text);
    font-family: inherit;
    max-width: 980px;
    margin: 0 auto;
}

.bpr-shell {
    background: radial-gradient(circle at top, rgba(234, 211, 164, 0.55), transparent 34%), linear-gradient(180deg, var(--bpr-bg), #fbf7ee);
    border: 1px solid var(--bpr-border);
    border-radius: 28px;
    padding: clamp(22px, 5vw, 52px);
    box-shadow: var(--bpr-shadow);
    position: relative;
    overflow: hidden;
}

.bpr-shell::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(201, 150, 63, 0.28);
    border-radius: 22px;
    pointer-events: none;
}

.bpr-shell > * {
    position: relative;
    z-index: 1;
}

.bpr-intro {
    text-align: center;
}

.bpr-brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    margin: 0 auto 8px;
    display: grid;
    place-items: center;
    color: var(--bpr-gold);
    border: 1px solid rgba(201, 150, 63, 0.36);
    background: rgba(255, 250, 240, 0.68);
    font-size: 1.8rem;
}

.bpr-kicker {
    margin: 0 0 10px;
    color: var(--bpr-green-dark);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.bpr-shell h2,
.bpr-shell h3 {
    color: var(--bpr-text);
    line-height: 1.15;
}

.bpr-intro h2,
.bpr-result h2 {
    font-size: clamp(2.2rem, 6vw, 4.9rem);
    margin: 0;
    letter-spacing: -0.04em;
}

.bpr-subtitle,
.bpr-result-title {
    color: var(--bpr-green);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 700;
    margin: 8px 0 28px;
}

.bpr-copy {
    max-width: 720px;
    margin: 0 auto 28px;
    color: #294c49;
    font-size: 1.06rem;
    line-height: 1.72;
}

.bpr-small-note,
.bpr-disclaimer {
    color: var(--bpr-muted);
    font-size: 0.98rem;
}

.bpr-card {
    background: rgba(255, 253, 248, 0.92);
    border: 1px solid var(--bpr-border);
    border-radius: 24px;
    padding: clamp(22px, 4vw, 42px);
    box-shadow: 0 10px 26px rgba(23, 63, 62, 0.08);
}

.bpr-progress-wrap {
    margin-bottom: 26px;
}

.bpr-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--bpr-muted);
    font-size: 0.92rem;
    margin-bottom: 9px;
}

.bpr-progress {
    height: 10px;
    background: rgba(63, 118, 111, 0.13);
    border-radius: 999px;
    overflow: hidden;
}

.bpr-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--bpr-gold), var(--bpr-green));
    border-radius: 999px;
    transition: width 220ms ease;
}

.bpr-section-break {
    margin: 0 0 24px;
    padding: 22px 24px;
    border-radius: 20px;
    background: rgba(255, 250, 240, 0.72);
    border: 1px solid rgba(201, 150, 63, 0.22);
}

.bpr-section-break h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin: 0 0 8px;
}

.bpr-section-break p:last-child {
    margin: 0;
    color: var(--bpr-muted);
    line-height: 1.55;
}

.bpr-question-count {
    color: var(--bpr-gold);
    font-weight: 700;
    margin: 0 0 8px;
}

.bpr-question-text {
    margin: 0 0 24px;
    font-size: clamp(1.45rem, 3.4vw, 2.25rem);
    letter-spacing: -0.02em;
}

.bpr-options {
    display: grid;
    gap: 12px;
    margin: 0 0 28px;
}

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

.bpr-option {
    width: 100%;
    border: 1px solid rgba(23, 63, 62, 0.18);
    background: #fffdf8;
    color: var(--bpr-text);
    border-radius: 18px;
    padding: 17px 18px;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.bpr-option:hover,
.bpr-option:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(201, 150, 63, 0.72);
    box-shadow: 0 8px 22px rgba(23, 63, 62, 0.08);
    outline: none;
}

.bpr-option.is-selected {
    background: linear-gradient(180deg, rgba(234, 211, 164, 0.38), rgba(255, 253, 248, 0.96));
    border-color: var(--bpr-gold);
    box-shadow: 0 8px 20px rgba(201, 150, 63, 0.16);
}

.bpr-nav,
.bpr-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.bpr-nav {
    justify-content: space-between;
}

.bpr-button {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 13px 21px;
    font: inherit;
    font-weight: 800;
    line-height: 1.15;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.bpr-button:hover,
.bpr-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(23, 63, 62, 0.12);
    outline: none;
}

.bpr-button:disabled {
    cursor: not-allowed;
    opacity: 0.46;
    transform: none;
    box-shadow: none;
}

.bpr-button-primary {
    background: var(--bpr-green-dark);
    color: #fffdf8 !important;
}

.bpr-button-secondary {
    background: #fffdf8;
    color: var(--bpr-green-dark) !important;
    border-color: rgba(23, 63, 62, 0.2);
}

.bpr-button-plain {
    background: transparent;
    color: var(--bpr-muted) !important;
    border-color: transparent;
}

.bpr-result {
    text-align: center;
}

.bpr-result-image-wrap {
    max-width: 640px;
    margin: 26px auto;
}

.bpr-result-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(23, 63, 62, 0.18);
}

.bpr-result-actions {
    justify-content: center;
    margin: 10px 0 8px;
}

.bpr-copy-status {
    min-height: 1.5em;
    color: var(--bpr-green-dark);
    font-weight: 700;
}

.bpr-result-copy {
    text-align: left;
    max-width: 780px;
    margin: 34px auto 0;
    background: rgba(255, 253, 248, 0.78);
    border: 1px solid var(--bpr-border);
    border-radius: 24px;
    padding: clamp(22px, 4vw, 40px);
}

.bpr-lead {
    font-size: 1.18rem;
    line-height: 1.72;
    color: #274b47;
    margin-top: 0;
}

.bpr-result-section,
.bpr-reflection-prompt {
    border-top: 1px solid rgba(23, 63, 62, 0.12);
    padding-top: 22px;
    margin-top: 22px;
}

.bpr-result-section h3,
.bpr-reflection-prompt h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.bpr-result-section p,
.bpr-reflection-prompt p {
    margin: 0;
    color: #294c49;
    line-height: 1.68;
}

.bpr-reflection-prompt {
    background: rgba(234, 211, 164, 0.25);
    border: 1px solid rgba(201, 150, 63, 0.24);
    border-radius: 20px;
    padding: 22px;
}

.bpr-noscript {
    padding: 18px;
    border: 1px solid var(--bpr-border);
    border-radius: 16px;
    background: #fffdf8;
}

@media (max-width: 700px) {
    .bpr-shell {
        border-radius: 20px;
        padding: 22px 16px;
    }

    .bpr-shell::before {
        display: none;
    }

    .bpr-options-two {
        grid-template-columns: 1fr;
    }

    .bpr-progress-meta,
    .bpr-nav,
    .bpr-result-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bpr-button {
        width: 100%;
    }

    .bpr-card,
    .bpr-result-copy {
        border-radius: 20px;
    }
}
