/* PAPAFIT strength-program page, builds on papafit-guide.css + papafit-quiz.css */
.sp-chips { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.sp-chips li { background: white; border: 1px solid var(--guide-line); border-radius: 999px; padding: .25rem .75rem; font-size: .88rem; font-weight: 700; }
.sp-chips li:first-child { background: var(--guide-tint); border-color: #f3c29c; color: var(--guide-accent); }
.sp-workouts { display: grid; gap: .9rem; margin-top: .9rem; }
.sp-workout { background: white; border: 1px solid var(--guide-line); border-radius: 22px; padding: clamp(1rem, 3.5vw, 1.5rem); box-shadow: 0 18px 40px -32px rgb(20 20 20 / 35%); break-inside: avoid; }
.sp-workout h4 { font-size: 1.15rem; font-weight: 800; margin: 0 0 .7rem; padding-bottom: .6rem; border-bottom: 2px solid var(--guide-tint); }
.sp-ex { list-style: none; counter-reset: ex; padding: 0; margin: 0; display: grid; gap: .55rem; }
.sp-ex li { counter-increment: ex; position: relative; padding-inline-start: 2.3rem; padding-block: .35rem; }
.sp-ex li::before { content: counter(ex); position: absolute; inset-inline-start: 0; top: .3rem; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--guide-tint); color: var(--guide-accent); font-weight: 900; font-size: .85rem; display: grid; place-items: center; }
.sp-ex li + li { border-top: 1px dashed var(--guide-line); padding-top: .65rem; }
.sp-ex li + li::before { top: .6rem; }
.sp-ex-name { display: block; font-weight: 800; }
.sp-swap { font-size: .72rem; font-weight: 800; color: var(--guide-accent); background: var(--guide-tint); border-radius: 99px; padding: .05rem .45rem; vertical-align: middle; }
.sp-ex-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin-top: .2rem; font-size: .88rem; color: var(--guide-muted); }
.sp-ex-meta strong { color: var(--guide-ink); }
.sp-rir { width: 100%; max-width: 26rem; border-collapse: separate; border-spacing: 0; margin: .9rem 0; border: 1px solid var(--guide-line); border-radius: 14px; overflow: hidden; font-size: .95rem; }
.sp-rir th { background: var(--guide-tint); color: var(--guide-accent); text-align: start; padding: .5rem .8rem; }
.sp-rir td { padding: .5rem .8rem; border-top: 1px solid var(--guide-line); }
.sp-rir td:first-child { font-weight: 900; width: 4rem; text-align: center; }
.sp-volume li { grid-template-columns: 8rem minmax(0, 1fr) 7.2rem; }
.sp-track { position: relative; }
.sp-range { position: absolute; top: 0; bottom: 0; background: rgb(242 106 15 / 16%); }
.sp-track .bar-fill { position: relative; }
.sp-flow { display: grid; gap: .6rem; margin-top: .8rem; }
.sp-flow > div { display: flex; gap: .7rem; align-items: flex-start; border-radius: 14px; padding: .75rem .9rem; border: 1px solid var(--guide-line); background: white; }
.sp-flow strong { flex: 0 0 auto; min-width: 4.2rem; text-align: center; border-radius: 99px; padding: .1rem .6rem; font-weight: 900; }
.sp-yes strong { background: #e7f6ec; color: #1d6b3a; }
.sp-no strong { background: var(--guide-tint); color: var(--guide-accent); }
.sp-progress p + p { margin-top: .5rem; }
.sp-progress a, .sp-results .result-timeline a { color: var(--guide-accent); text-decoration: underline; text-underline-offset: .2em; font-weight: 700; }
.sp-notes { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; }
.sp-notes li { background: #fff7e0; border: 1px solid #f1d58a; border-radius: 12px; padding: .6rem .85rem; font-size: .93rem; }
.sp-sets-total { font-size: .78rem; font-weight: 700; color: var(--guide-muted); background: var(--guide-paper); border: 1px solid var(--guide-line); border-radius: 99px; padding: .05rem .5rem; margin-inline-start: .35rem; vertical-align: middle; }
.sp-focus { background: #e9f0ff; color: #2b4fa8; }
.sp-steps { list-style: none; padding: 0; margin: .9rem 0; display: grid; gap: .5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-steps li { display: grid; gap: .1rem; text-align: center; background: var(--guide-paper); border: 1px solid var(--guide-line); border-radius: 16px; padding: .8rem .5rem; }
.sp-steps li:nth-child(2) { background: #fff4ea; }
.sp-steps li:nth-child(3) { background: #ffe9d6; }
.sp-steps strong { font-size: 1.8rem; font-weight: 900; color: var(--guide-accent); line-height: 1.1; }
.sp-steps span { font-size: .82rem; color: var(--guide-muted); }
.sp-steps em { font-style: normal; font-size: .85rem; font-weight: 800; }
.sp-check { list-style: none; padding: 0; margin: .4rem 0 .2rem; display: grid; gap: .3rem; }
.sp-check li { position: relative; padding-inline-start: 1.6rem; }
.sp-check li::before { content: "?" / ""; position: absolute; inset-inline-start: 0; top: .15rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--guide-tint); color: var(--guide-accent); font-size: .75rem; font-weight: 900; display: grid; place-items: center; }
.sp-sources { font-size: .92rem; color: var(--guide-muted); border-top: 1px solid var(--guide-line); padding-top: 1rem; }
.sp-sources h3 { font-size: 1.05rem; color: var(--guide-ink); margin-bottom: .3rem; }
.sp-sources ul { margin: .5rem 0 0; padding-inline-start: 1.1rem; display: grid; gap: .25rem; }
.sp-sources a { color: var(--guide-accent); text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 760px) {
  .sp-workouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .sp-volume li { grid-template-columns: 1fr auto; grid-template-areas: "l v" "b b"; row-gap: .3rem; }
  .sp-volume .bar-label { grid-area: l; }
  .sp-volume .bar-val { grid-area: v; }
  .sp-volume .bar-track { grid-area: b; }
}
@media print {
  header, footer, .skip, #quiz-intro, .guide-faq, .pf-cta-card, .result-tools, .sp-sources, a.fixed, .pf-v7-consent { display: none !important; }
  body { background: white; font-size: 12px; }
  #quiz-app { padding: 0; }
  .sp-workout, .result-profile, .result-first, .result-timeline { box-shadow: none; break-inside: avoid; }
  .sp-workouts { grid-template-columns: 1fr 1fr; }
  .bar-fill { animation: none; }
}
@media (max-width: 520px) { .sp-flow > div { flex-direction: column; gap: .4rem; } .sp-flow strong { min-width: 0; } }
