/* Feature-specific content inherits the existing case-study shell and type. */
#case-dialog.pdrm-product .pdrm-case-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;width:100%}
#case-dialog.pdrm-product .pdrm-case-intro h2{font-size:clamp(40px,4vw,60px)}
#case-dialog.pdrm-product .pdrm-case-lead{max-width:470px}
#case-dialog.pdrm-product .pdrm-hero-visual{padding:0;margin:0;transform:none;min-height:0}
#case-dialog.pdrm-product .pdrm-hero-visual img{width:100%;height:auto;max-height:490px;object-fit:contain;transform:none}
.pdrm-product-body .pdrm-case-hero{max-width:none;display:block}
.pdrm-product-body .pdrm-case-section-head{max-width:850px}
#case-dialog.pdrm-product .pdrm-case-section-head p{margin:0 0 16px}
.pdrm-product-body .pd-section-aside{font-size:13px;color:#7890a9;margin-bottom:20px}
.pdrm-product-body .pd-small-label,.pdrm-product-body .pd-eyebrow{display:block;font-size:10px;letter-spacing:.075em;text-transform:uppercase;color:#5f7898;margin:0 0 10px;line-height:1.6}
.pd-two-pillars{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px}
.pd-two-pillars>div{border-top:1px solid #dce7f6;padding-top:18px}
#case-dialog.pdrm-product :is(.pd-two-pillars,.pd-screen-notes,.pd-system-grid) h3{font-size:18px;line-height:1.4;margin:0 0 10px;color:#183a5d}
#case-dialog.pdrm-product :is(.pd-two-pillars,.pd-screen-notes,.pd-system-grid) p{font-size:13px;line-height:1.75;margin:0}
.pd-research-path{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:24px 0 34px;max-width:900px}
.pd-research-path>div{padding-top:16px;border-top:1px solid #dce7f6}
.pd-research-path b{display:block;font-size:14px;font-weight:600;color:#183a5d}
.pd-research-path span{display:block;font-size:13px;line-height:1.7;color:#6b8098;margin-top:6px}
.pd-decision-detail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:42px;padding:30px;border:1px solid #dce7f6;border-radius:20px;background:#f2f7fd}
.pd-decision-copy h4{font-size:26px;font-weight:600;color:#183a5d;margin:0 0 18px;line-height:1.3}
#case-dialog.pdrm-product .pd-decision-copy>p{font-size:14px}
#case-dialog.pdrm-product .pd-decision-copy>.pd-eyebrow{font-size:10px;letter-spacing:.075em}
.pd-rules{padding:0;list-style:none;counter-reset:rule;margin:24px 0 0}
.pd-rules li{position:relative;counter-increment:rule;padding-left:30px;margin-top:19px}
.pd-rules li:before{content:'0' counter(rule);position:absolute;left:0;color:#2e85ff;font-size:11px;line-height:23px}
.pd-rules strong{display:block;font-size:14px;font-weight:600;color:#183a5d}
.pd-rules span{display:block;font-size:13px;line-height:1.8;color:#59708b;margin-top:5px}
#case-dialog.pdrm-product .pd-decision-copy .pd-intent{border-top:1px solid #dce7f6;padding-top:17px;margin:23px 0 0;font-size:12px}
.pd-evidence-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-content:center}
.pd-evidence-pair figure{min-width:0;max-width:172px;margin:0 auto}
.pd-image-button{display:block;padding:0;border:0;background:transparent;cursor:zoom-in;max-width:100%;color:inherit}
.pd-image-button img{display:block;width:100%;height:auto}
.pd-evidence-pair figcaption{line-height:1.7}
.pd-evidence-pair figcaption b{display:block;font-size:12px;color:#183a5d;font-weight:600}
.pd-evidence-pair figcaption span{display:block;font-size:11px;color:#6b8098;margin-top:5px}
#case-dialog.pdrm-product .pd-evidence-note{grid-column:1/-1;text-align:center;font-size:11px;color:#7890a9;margin:0;max-width:none}
.pd-flow-board{border:1px solid #dce7f6;padding:28px;background:#f2f7fd;border-radius:20px}
.pd-board-label{font-size:12px;color:#5f7898;margin-bottom:25px;letter-spacing:.035em}
.pd-wireflow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px;list-style:none;padding:0;margin:0}
.pd-wireflow li{position:relative;text-align:left;min-width:0}
.pd-wireflow li+li:before{content:'→';position:absolute;top:55px;left:-26px;color:#8ba0b7;font-size:18px}
.pd-wireflow b{display:block;font-size:14px;margin-top:14px;font-weight:600;line-height:1.5;color:#183a5d}
.pd-wireflow span{display:block;font-size:12px;line-height:1.6;color:#6b8098;margin-top:4px}
.pd-wireframe{height:142px;width:88px;max-width:100%;padding:10px 8px;border:1.3px solid #a7b6c5;border-radius:6px;background:#fff;position:relative}
.pd-wirebar{height:3px;width:55%;background:#b6c3d1;margin-bottom:10px}
.pd-wiretiles{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.pd-wiretiles i{height:26px;background:#e3eaf1}
.pd-wireaction{position:absolute;bottom:10px;left:8px;right:8px;height:8px;background:#b0c7e9;border-radius:2px}
.pd-wirepreview{height:67px;background:#e4ebf3;position:relative}
.pd-wirebird{position:absolute;left:3px;top:3px;width:23px;height:23px;border:1px solid #789dc3;background:#d0dfef}
.pd-wirebrush{position:absolute;top:34px;left:38px;width:11px;height:11px;background:#a2bedf;border-radius:50%}
.pd-wiretools{display:flex;gap:6px;margin-top:10px}.pd-wiretools i{height:5px;width:14px;background:#c0cedd}
.pd-wiretask{height:17px;margin:0 0 8px;background:#e4ebf3;border-left:10px solid #c6d7e9}.pd-wiretask.pd-short{width:85%}
.pd-wirecompare{height:67px;display:flex;gap:3px}.pd-wirecompare i{flex:1;background:#dce6f1}.pd-wirecompare i+i{background:#c6d8ed}
.pd-flow-branches{margin-top:25px;padding-top:20px;border-top:1px dashed #dce7f6;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;font-size:13px;color:#6b8098;line-height:1.8}
.pd-branch-title{display:block;font-weight:600;color:#183a5d;margin-bottom:5px;font-size:13px}
#case-dialog.pdrm-product .pd-board-footnote{font-size:11px;color:#7890a9;line-height:1.7;margin:23px 0 0;max-width:none}
.pd-screen-notes{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:30px}
.pd-screen-notes figure{display:grid;grid-template-columns:94px 1fr;align-items:start;gap:20px;margin:0}
.pd-screen-notes figcaption{margin:0!important}
.pd-system-figure{margin:0 auto 30px;max-width:860px}
.pd-system-figure img{border-radius:18px}
.pd-system-figure figcaption{font-size:11px;margin-top:12px}
.pd-system-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:26px}
.pd-system-grid article{padding:18px;border:1px solid #d7e4f2;border-radius:16px;background:#fff;box-shadow:0 10px 24px #355f8b0b}
.pd-delivery-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}
.pd-delivery-list span{font-size:12px;color:#42607f;border:1px solid #c3d7ef;border-radius:20px;padding:7px 11px;background:#fff}
.pd-image-viewer{position:fixed;inset:0;margin:auto;border:0;border-radius:22px;max-width:min(1000px,94vw);max-height:94dvh;padding:55px 25px 20px;background:#fbfdff;color:#183a5d;box-shadow:0 24px 90px #152b4940}
.pd-image-viewer::backdrop{background:#172638b0;backdrop-filter:blur(8px)}
.pd-viewer-close{position:absolute;right:16px;top:12px;border:1px solid #dfe8f3;border-radius:24px;padding:8px 14px;background:#fff;font:inherit;font-size:12px;cursor:pointer;color:#40536b}
.pd-image-viewer img{display:block;max-width:100%;max-height:74dvh;width:auto;height:auto;margin:auto}
.pd-image-viewer p{font-size:12px;line-height:1.7;margin:16px 0 0;max-width:700px;color:#59708b}
@media(max-width:900px){.pd-system-grid{grid-template-columns:1fr 1fr}.pd-decision-detail{gap:26px;padding:24px}.pd-evidence-pair{gap:12px}.pd-screen-notes{gap:24px}.pd-screen-notes figure{grid-template-columns:78px 1fr;gap:14px}}
@media(max-width:760px){
  #case-dialog.pdrm-product .pdrm-case-hero-grid{grid-template-columns:1fr;gap:25px}
  #case-dialog.pdrm-product .pdrm-case-intro h2{font-size:clamp(34px,8vw,48px)}
  #case-dialog.pdrm-product .pdrm-hero-visual img{max-height:330px}
  .pd-research-path{grid-template-columns:1fr;gap:16px}
  .pd-decision-detail{grid-template-columns:1fr;padding:22px 16px;gap:28px}
  .pd-decision-copy h4{font-size:24px}.pd-evidence-pair{max-width:350px;margin:auto;gap:16px}.pd-evidence-pair figure{max-width:145px}
  .pd-flow-board{padding:22px 16px}.pd-wireflow{grid-template-columns:1fr 1fr;gap:28px}.pd-wireflow li+li:before{display:none}.pd-wireflow b{font-size:13px}
  .pd-flow-branches{grid-template-columns:1fr;gap:18px}.pd-flow-branches>div{border-left:2px solid #cbd9e9;padding-left:12px}
  .pd-screen-notes{grid-template-columns:1fr;gap:28px}.pd-screen-notes figure{grid-template-columns:84px 1fr}
  .pd-system-figure img{border-radius:12px}.pd-system-grid{gap:12px}
  .pd-two-pillars{gap:18px}
}
@media(max-width:430px){.pd-two-pillars,.pd-system-grid{grid-template-columns:1fr}.pd-system-grid article{padding:18px}.pd-image-viewer{padding-left:16px;padding-right:16px}.pd-decision-detail{border-radius:16px}}

/* Compact before/after evidence for the shared design foundations. */
.pd-system-example{grid-template-columns:minmax(0,1fr) minmax(250px,320px);gap:38px;align-items:center;margin-top:30px}
.pd-system-example-screens{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.pd-system-example-screens figure{min-width:0;margin:0}
.pd-system-example-screens .pd-image-button{width:100%}
.pd-system-example-screens img{display:block;width:100%;height:auto}
.pd-system-example-screens figcaption{font-size:10px;line-height:1.6;color:#6b8098;margin-top:8px}
@media(max-width:760px){.pd-system-example{grid-template-columns:1fr;gap:28px}.pd-system-example-screens{max-width:320px;width:100%;margin:auto;gap:16px}}
