.pap-page { margin: 0; background: #fcfaf6; }
.pap-main {
  --pap-burgundy: #65353e;
  --pap-green: #364d3b;
  --pap-ink: #252f27;
  --pap-muted: #4f594f;
  --pap-line: #dcd6ca;
  color: var(--pap-ink);
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.pap-main a:focus-visible, .pap-main summary:focus-visible { outline: 2px solid #9b5760; outline-offset: 5px; }
.pap-main section[id] { scroll-margin-top: 106px; }
.pap-wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.pap-hero { padding: 88px 0 clamp(43px, 7vw, 87px); background: #f0e9df; }
.pap-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 11px; color: #5a524b; font-size: .9rem; margin-bottom: clamp(29px, 5.3vw, 61px); }
.pap-breadcrumb a { text-decoration: underline; text-underline-offset: .2em; }
.pap-hero-grid, .pap-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(27px, 5.6vw, 75px); align-items: center; }
.pap-intro h1 { margin: 0; font-size: clamp(25px, 3.55vw, 48px); font-weight: 750; line-height: 1.13; letter-spacing: -.06em; }
.pap-intro h1 strong { display: block; margin-top: .05em; color: var(--pap-burgundy); font-size: clamp(58px, 9vw, 114px); font-weight: 800; letter-spacing: -.056em; }
.pap-lead { max-width: 34em; margin: 20px 0 0; color: var(--pap-muted); font-size: clamp(16px, 1.75vw, 19px); }
.pap-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pap-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 16px; border-radius: 5px; font-weight: 750; line-height: 1.35; text-align: center; border: 1px solid var(--pap-burgundy); }
.pap-button-primary { color: #fff9f4; background: var(--pap-burgundy); }
.pap-button-outline { color: var(--pap-burgundy); }
.pap-button-primary:hover { background: #4a2932; }
.pap-button-outline:hover { background: #e8dcd5; }
.pap-result { margin: 0; background: #fffdfa; border: 1px solid #d4c8b9; border-top: 6px solid var(--pap-burgundy); border-radius: 5px; box-shadow: 0 18px 35px #442c2010; padding: clamp(21px, 4vw, 38px); }
.pap-result h2 { font-size: clamp(21px, 2.3vw, 30px); }
.pap-result dl { margin: 18px 0 0; }
.pap-result dl div { display: grid; grid-template-columns: minmax(5.6em, .74fr) 1fr; gap: 10px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--pap-line); }
.pap-result dt { color: #575248; font-weight: 650; }
.pap-result dd { margin: 0; font-weight: 750; }
.pap-result dd b { color: var(--pap-burgundy); }
.pap-section { padding: clamp(48px, 7vw, 90px) 0; }
.pap-soft { background: #f0ede6; }
.pap-main h2 { margin: 0; font-size: clamp(27px, 4.1vw, 46px); font-weight: 800; letter-spacing: -.065em; line-height: 1.23; }
.pap-main .pap-result h2 { font-size: clamp(21px, 2.3vw, 30px); }
.pap-main h3 { margin: 0 0 9px; font-size: clamp(17px, 2vw, 22px); line-height: 1.38; font-weight: 760; letter-spacing: -.043em; }
.pap-section p { margin: 12px 0 0; color: var(--pap-muted); }
.pap-grid { align-items: start; }
.pap-meaning { border-left: 3px solid #a27375; padding-left: clamp(15px, 3vw, 28px); }
.pap-meaning p:first-child { margin-top: 0; }
.pap-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 26px; }
.pap-cards article { padding: clamp(17px, 2.5vw, 27px); background: #fffdfa; border: 1px solid var(--pap-line); border-radius: 6px; }
.pap-cards h3 { color: var(--pap-burgundy); }
.pap-cards p { margin-top: 0; }
.pap-note { border-top: 1px solid #d0c8ba; padding-top: 14px; }
.pap-tests { display: grid; gap: 0; margin: 0; }
.pap-tests div { display: grid; grid-template-columns: minmax(5.2em, .65fr) 1fr; gap: 13px; padding: 14px 0; border-top: 1px solid var(--pap-line); }
.pap-tests div:last-child { border-bottom: 1px solid var(--pap-line); }
.pap-tests dt { font-weight: 760; }
.pap-tests dd { margin: 0; color: var(--pap-muted); }
.pap-consult { background: var(--pap-green); color: #fff9ef; }
.pap-consult .pap-grid { align-items: center; }
.pap-consult ol { padding-left: 1.27em; margin: 16px 0 0; display: grid; gap: 6px; }
.pap-consult p { color: #e7ebe1; }
.pap-consult .pap-button-primary { background: #f5e7d8; border-color: #f5e7d8; color: #3a2d2d; }
.pap-consult .pap-button-primary:hover { background: #fff4e6; }
.pap-consult .pap-button-outline { border-color: #a3ada0; color: #fff9ef; }
.pap-consult .pap-button-outline:hover { background: #435d49; }
.pap-clinic-photo { margin: 0; }
.pap-clinic-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1.48; object-fit: cover; object-position: 40% center; border-radius: 7px; }
.pap-faq { margin-top: 22px; border-top: 1px solid var(--pap-line); }
.pap-faq details { border-bottom: 1px solid var(--pap-line); padding: 12px 0 15px; }
.pap-faq summary { cursor: pointer; min-height: 43px; padding-block: 6px; font-weight: 750; }
.pap-faq a, .pap-sources a { text-decoration: underline; text-underline-offset: .24em; }
.pap-faq a { display: inline-flex; align-items: center; min-height: 43px; color: var(--pap-burgundy); font-weight: 700; }
.pap-sources { padding: 24px 0 30px; background: #f0ede6; }
.pap-sources h2 { font-size: 1.04rem; letter-spacing: -.025em; }
.pap-sources ul { display: flex; flex-wrap: wrap; gap: 5px 18px; list-style: none; padding: 0; margin: 9px 0 0; font-size: .9rem; }
@media (max-width: 760px) {
  .pap-wrap { width: calc(100% - 36px); }
  .pap-hero { padding-top: 76px; }
  .pap-hero-grid, .pap-grid { grid-template-columns: 1fr; }
  .pap-cards { grid-template-columns: 1fr; }
}
