/* Text panels shared with the Alpha/Theta visual style. */
.therapy-story-panel{display:grid;grid-template-columns:.9fr 1.35fr;gap:42px;padding:42px;border:1px solid #d5e4ed;border-top:4px solid #248db4;border-radius:24px;background:linear-gradient(125deg,#eaf4f9,#f7fafc);box-shadow:0 12px 32px #173c5610;box-sizing:border-box;text-align:left}
.nf-page .nf-heading.therapy-story-panel{max-width:none;width:100%;margin:0 0 32px}
.therapy-story-panel header{border-right:1px solid #c6dce7;padding-right:32px;min-width:0}
.nf-page .therapy-story-panel h2,.pbm-page .therapy-story-panel h2{font:400 clamp(28px,2.7vw,38px)/1.2 "DM Serif Display",Georgia,serif;margin:0}
.therapy-story-panel .eyebrow{color:#156a90;margin:0 0 16px}
.therapy-story-body{min-width:0;align-self:center}
.nf-page .therapy-story-body>p,.pbm-page .therapy-story-body>p{margin:0 0 22px;color:#3e5a70;font-size:18px;line-height:1.75;max-width:none}
.nf-page .therapy-story-body>p:last-child,.pbm-page .therapy-story-body>p:last-child{margin-bottom:0}
.therapy-key-statement,.therapy-key-line{display:block;background:#082a44;color:#fff;border-radius:16px;padding:24px 26px;border-left:4px solid #66c6e5;margin:0 0 22px}
.therapy-key-statement{margin:24px 0 0}.pbm-page .therapy-key-statement p{color:#fff;font-size:20px;font-weight:700;line-height:1.55;margin:0}
.pbm-page .therapy-device-panel{margin:24px auto 55px;max-width:calc(100% - 12vw);border:1px solid #d5e4ed;border-top:4px solid #248db4;border-radius:24px;overflow:hidden;background:linear-gradient(125deg,#eaf4f9,#f7fafc);box-shadow:0 12px 32px #173c5610}
.therapy-device-panel .pbm-device-specs{padding:36px}.therapy-device-panel .pbm-device-specs>p{color:#3e5a70}
.therapy-dark-panel>div:first-child{border-right:1px solid #58829a;padding-right:36px}
.therapy-dark-panel .pbm-steps article{background:#ffffff08;border-radius:0 16px 16px 0;padding:22px 26px;margin-bottom:22px}
.therapy-dark-panel .pbm-steps article:last-child{background:#ffffff12;border-left-color:#66c6e5;margin-bottom:0}.therapy-dark-panel .pbm-steps article:last-child p{color:#fff;font-weight:700}
.nf-page #questions{background:#fff;padding:24px 0}.nf-page #questions .nf-faq{border:1px solid #d6e5ed;border-top:4px solid #648d9e;background:#f1f6f8;border-radius:24px;padding:36px;max-width:1140px;width:calc(100% - 48px);box-sizing:border-box}
@media(max-width:800px){.therapy-story-panel{grid-template-columns:1fr;gap:24px;padding:28px}.therapy-story-panel header{border-right:0;border-bottom:1px solid #c6dce7;padding:0 0 24px}.therapy-key-statement,.therapy-key-line{padding:22px}.pbm-page .therapy-key-statement p{font-size:18px}.therapy-device-panel .pbm-device-specs{padding:28px}.therapy-dark-panel>div:first-child{border-right:0;border-bottom:1px solid #58829a;padding:0 0 24px}.nf-page #questions .nf-faq{padding:28px}}

/* One continuous panel for each neurofeedback explanation and diagram. */
.nf-page .therapy-diagram-group{background:linear-gradient(125deg,#eaf4f9,#f7fafc);border:1px solid #d5e4ed;border-top:4px solid #248db4;border-radius:24px;padding:36px;box-shadow:0 12px 32px #173c5610}
.nf-page .therapy-diagram-group .nf-heading.therapy-story-panel{background:none;border:0;border-radius:0;box-shadow:none;padding:0;margin-bottom:32px}
.nf-page .nf-training-options .therapy-card{border-top-color:#248db4}
@media(max-width:800px){.nf-page .therapy-diagram-group{padding:24px;border-radius:20px}}
@media(max-width:480px){.nf-page .therapy-diagram-group{padding:18px 12px}.nf-page .therapy-diagram-group .nf-heading.therapy-story-panel{padding:0 8px}}

.nf-page #your-plan .mapping-timeline-intro{max-width:none}
@media(min-width:1100px){.nf-page #your-plan .mapping-timeline-intro{white-space:nowrap;font-size:17px}}

.pbm-page .nf-cta{background:#051d35;color:#fff;text-align:center;padding:70px 24px}.pbm-page .nf-cta h2{color:#fff;font-family:Manrope,Arial,sans-serif;font-size:clamp(32px,3.6vw,48px);font-weight:700;line-height:1.13;margin:0 0 24px}.pbm-page .nf-cta p{max-width:650px;margin:22px auto;color:#e1edf5;font-size:17px;line-height:1.8}.pbm-page .nf-cta .eyebrow{color:#9bd8ee;font-size:13px;line-height:1.5;letter-spacing:.13em;font-weight:800}
