.pg-test{margin-block:2rem;padding:clamp(20px,4vw,44px);border:1px solid #ddd3cd;border-radius:24px;background:#fff;scroll-margin-top:110px}.pg-test h2{font-size:clamp(1.7rem,3.5vw,2.5rem);line-height:1.15;margin:.6rem 0 1rem}.pg-test p{max-width:75ch}.pg-test .pg-note{font-size:.95rem;color:#5e565a;line-height:1.65}.pg-test [data-profile]{max-width:660px;display:grid;gap:1rem}.pg-test [data-profile] label{display:grid;gap:.4rem;font-weight:600}.pg-test select{width:100%;min-height:50px;border:1px solid #bdb3b7;border-radius:10px;padding:.7rem;font:inherit;background:white;color:#2c2327}.pg-test fieldset{border:0;padding:0;margin:1.5rem 0}.pg-test legend{font-weight:700;margin-bottom:.7rem}.pg-choice{display:flex;align-items:center;gap:1rem;border:1px solid #cfc4c8;border-radius:12px;padding:1rem;margin:.6rem 0;min-height:58px;cursor:pointer}.pg-choice:has(input:checked){border:2px solid #83163f;background:#fbf1f5;padding:calc(1rem - 1px)}.pg-choice input{width:24px;height:24px;flex-shrink:0;accent-color:#83163f}.pg-test :focus-visible{outline:3px solid #83163f;outline-offset:3px}.pg-actions{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;margin:1.5rem 0}.pg-actions button.text-link{font:inherit;color:#83163f;background:none;border:0;min-height:48px;cursor:pointer;text-decoration:underline}.pg-progress{display:flex;justify-content:space-between;gap:1rem;font-size:.95rem;color:#83163f}.pg-test progress{width:100%;height:9px;accent-color:#83163f;margin:1rem 0}.pg-result{background:#f7f4ee;border-radius:16px;padding:1rem 1.5rem}.pg-result strong{font-size:1.35rem}.pg-groups{list-style:none;padding:0!important}.pg-groups li{display:flex;justify-content:space-between;gap:1rem;padding:.8rem 0;border-bottom:1px solid #e2d9d4}.pg-groups span{color:#5e565a}.pg-error{color:#83163f;font-weight:600}.pg-test summary{min-height:48px;cursor:pointer;color:#83163f;padding:.6rem 0}.pg-test details li{margin-bottom:1rem}@media(max-width:600px){.pg-groups li{display:grid;gap:.3rem}.pg-actions .button{width:100%;text-align:center}.pg-progress{flex-wrap:wrap}.pg-test{border-radius:16px}}@media print{body:has(.pg-page) *{visibility:hidden}.pg-page #selbsttest,.pg-page #selbsttest *{visibility:visible}.pg-page #selbsttest{position:absolute;left:0;top:0;margin:0;border:0;width:100%;padding:0}.pg-page #selbsttest .pg-actions{display:none}.pg-page #selbsttest details{display:block}.pg-page #selbsttest h2{font-size:22pt}}

.pg-test{max-width:1120px;margin-inline:auto;width:calc(100% - 40px)}

/* Compact standalone calculator and topic navigation. */
.pg-page{background:#f7f4ee;padding:24px 20px 64px;min-height:65vh}.pg-page .pg-test{background:#fff;max-width:820px;width:100%;margin:24px auto;padding:clamp(22px,4vw,44px);box-shadow:0 12px 35px #3023290a}.pg-page .breadcrumbs{max-width:820px;margin:auto}.pg-page .pg-test h2{font-size:clamp(1.6rem,3vw,2.3rem)}.pg-page .pg-choice{min-height:54px;margin:.5rem 0;padding:.8rem 1rem;font-size:1.05rem}.pg-page fieldset{margin:1rem 0}.pg-page .pg-note{font-size:.9rem}.pg-benefits{display:flex;flex-wrap:wrap;gap:.5rem 1.4rem;padding:0;list-style:none;margin:1.5rem 0}.pg-benefits li:before{content:'✓ ';color:#83163f}.pg-page .pg-estimate{background:#83163f;border-radius:18px;color:white;padding:24px;margin:1.5rem 0}.pg-estimate .eyebrow{color:#f5dfb8}.pg-estimate h3{font-size:2rem;color:white;margin:.5rem 0}.pg-estimate p{color:white}.pg-page .pg-result{padding:1rem 1.5rem}.pg-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.pg-entry-card{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px;border-radius:20px;background:#f7f4ee;border:1px solid #e0d7d1;margin:24px auto}.pg-entry-card h2{font-size:1.7rem;margin:.3rem 0}.pg-entry-card p{margin:.5rem 0}.pg-topic{border-block:1px solid #ddd3cd;margin:16px 0;padding:0}.pg-topic>summary{font-weight:700;font-size:1.25rem;padding:22px 36px 22px 4px;cursor:pointer;color:#83163f}.pg-topic[open]>summary{border-bottom:1px solid #e2d9d4}.pg-topic>section{padding-block:12px}.pg-topic .page-section{margin:0}.pg-topic-links{display:flex;flex-wrap:wrap;gap:10px;margin:1.5rem 0}.pg-topic-links a{border:1px solid #cfc4c8;border-radius:30px;padding:10px 18px;min-height:44px;color:#83163f}.pg-page [tabindex='-1']{scroll-margin-top:110px}@media(max-width:600px){.pg-entry-card{display:block;padding:22px}.pg-entry-card .button{margin-top:16px}.pg-page{padding:16px 16px 36px}.pg-page .pg-test{padding:22px 18px;border-radius:18px}.pg-page .pg-estimate h3{font-size:1.7rem}}

.pg-entry-card{max-width:1140px;width:calc(100% - 40px)}

.pg-page>h1.pg-page-title{max-width:820px;margin:20px auto 0;font-size:1.25rem;color:#83163f}

/* The shared design system uses important text colors: keep this colored result readable. */
body main.pg-page section.pg-test .pg-estimate p,body main.pg-page section.pg-test .pg-estimate h3{color:#fff!important}
body main.pg-page section.pg-test .pg-estimate .eyebrow{color:#f5dfb8!important}
body main.pg-page section.pg-test .pg-estimate h3{font-size:2rem!important;line-height:1.2!important}
body main.pg-page>h1.pg-page-title{font-size:1.25rem!important;line-height:1.4!important}
.pg-page fieldset:has(input[value="5"]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pg-page fieldset:has(input[value="5"]) .pg-choice{margin:0}

/* Shared paragraph colors read this local copy token. */
.pg-page .pg-estimate{--hh-copy:#fff}

/* Keep adjacent calculator blocks distinct from shared page spacing. */
.pg-test>[data-action="start"]+.pg-note{margin-top:20px!important}
.pg-test>.pg-result{margin-bottom:24px!important}
.pg-test>.pg-result+p{margin:0 0 28px!important}
.pg-test>h3{margin:32px 0 16px!important}
.pg-test>.pg-result>p:first-child{margin-top:0!important}
.pg-test>.pg-result>p:last-child{margin-bottom:0!important}
