/* Approved model content styles scoped for the shared WordPress shell.
   Generated by scope-models-shell-css.py; source declarations are preserved. */
.sre-rehab-models *{box-sizing:border-box}
.sre-rehab-models{margin:0;background:#fcfaf7;color:#542044;font:16px/1.7 Tahoma,Arial}
.sre-rehab-models header{padding:22px 6%;display:flex;justify-content:space-between;border-bottom:1px solid #ecdde6;background:white}
.sre-rehab-models header strong{font-size:25px;color:#b52a50}
.sre-rehab-models small{font-size:13px;font-weight:normal}
.sre-rehab-models header small{display:block}
.sre-rehab-models h1{font-size:28px}
.sre-rehab-models h2{font-size:22px}
.sre-rehab-models .preview,.sre-rehab-models article{background:white;border:1px solid #eadce5;border-radius:18px;padding:24px;margin:28px 0;box-shadow:0 5px 20px #54204406}
.sre-rehab-models .preview{display:flex;align-items:center;gap:24px}
.sre-rehab-models .preview>img:first-child{width:80px;height:auto}
.sre-rehab-models .preview>img:last-child{width:200px;height:140px;object-fit:contain;margin-right:auto}
.sre-rehab-models .preview h2{font-size:32px;margin:8px 0}
.sre-rehab-models button,.sre-rehab-models a{font:inherit;color:inherit}
.sre-rehab-models button{background:#fff;border:1px solid #ddc5d6;border-radius:9px;padding:9px 16px;cursor:pointer}
.sre-rehab-models a{color:#9b2851}
.sre-rehab-models .main-image{display:block;width:100%;height:460px;background:#faf8fa;border:0;padding:12px;cursor:zoom-in}
.sre-rehab-models .main-image img{width:100%;height:100%;object-fit:contain}
.sre-rehab-models .navigation{display:flex;gap:14px;align-items:center;justify-content:center;margin:15px 0}
.sre-rehab-models #thumbnails{display:flex;gap:10px;overflow:auto;padding:5px}
.sre-rehab-models #thumbnails button{min-width:130px;width:130px;padding:7px;font-size:12px}
.sre-rehab-models #thumbnails img{display:block;width:100%;height:90px;object-fit:contain}
.sre-rehab-models .selected{outline:2px solid #9a2851;background:#fff5f8}
.sre-rehab-models dl{display:grid;grid-template-columns:130px 1fr;max-width:500px}
.sre-rehab-models dd{margin:0}
.sre-rehab-models .note{font-size:13px;background:#fff5f8;padding:12px;border-radius:10px}
.sre-rehab-models #siblings{display:flex;gap:10px;flex-wrap:wrap}
.sre-rehab-models dialog{padding:0;border:0;width:96vw;max-width:none;height:94vh;background:#242127;color:white;border-radius:12px}
.sre-rehab-models dialog::backdrop{background:#000b}
.sre-rehab-models .viewer{display:flex;flex-direction:column;height:100%;padding:12px}
.sre-rehab-models .viewer:fullscreen{background:#242127;width:100vw;height:100vh}
.sre-rehab-models .viewer h2{font-size:17px;margin:0 0 7px}
.sre-rehab-models .tools{display:flex;gap:6px;flex-wrap:wrap}
.sre-rehab-models .tools button{font-size:13px;padding:6px 10px;color:#542044}
.sre-rehab-models #stage{position:relative;flex:1;overflow:hidden;touch-action:none;min-height:0;margin-top:10px}
.sre-rehab-models #fullImage{position:absolute;left:0;top:0;transform-origin:0 0;max-width:none;max-height:none;user-select:none;pointer-events:none;-webkit-user-drag:none}
.sre-rehab-models #stage{direction:ltr;overscroll-behavior:contain;user-select:none}
.sre-rehab-models #stage.is-zoomed{cursor:grab}
.sre-rehab-models #stage.is-zoomed.is-dragging{cursor:grabbing}
@media(max-width:600px){.sre-rehab-models header{font-size:11px;padding:12px}
.sre-rehab-models h1{font-size:24px}
.sre-rehab-models .preview{padding:15px;gap:12px;flex-wrap:wrap}
.sre-rehab-models .preview>img:first-child{width:65px}
.sre-rehab-models .preview>img:last-child{width:100%;height:180px}
.sre-rehab-models article{padding:14px}
.sre-rehab-models .main-image{height:380px}
.sre-rehab-models .navigation{gap:6px;font-size:12px}
.sre-rehab-models .navigation button{padding:8px}
.sre-rehab-models .tools button{padding:7px;font-size:12px}
.sre-rehab-models #thumbnails button{min-width:110px}
.sre-rehab-models dialog{height:96dvh}
.sre-rehab-models .viewer{padding:8px}
}
.sre-rehab-models main>p{font-size:12px;margin:0 0 14px}
.sre-rehab-models .preview{display:grid;grid-template-columns:64px 1fr 40%;gap:18px;padding:18px;margin:0 0 18px;background:linear-gradient(110deg,#fff8f7,#fff)}
.sre-rehab-models .preview>img:first-child{width:64px}
.sre-rehab-models .preview>img:last-child{width:100%;height:190px;margin:0;object-fit:contain}
.sre-rehab-models .preview h1{font-size:36px;margin:4px 0}
.sre-rehab-models .preview p{margin:5px 0 12px;font-size:14px}
.sre-rehab-models .preview a{display:inline-block;padding:8px 14px;border:1px solid #e2c6d6;border-radius:8px;font-size:13px;text-decoration:none}
.sre-rehab-models article{margin:0;padding:20px}
.sre-rehab-models article>h2{margin:12px 0;font-size:19px}
.sre-rehab-models .image-frame{position:relative}
.sre-rehab-models .main-image{height:300px;padding:10px;border-radius:12px}
.sre-rehab-models .gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;padding:0;border-radius:50%;background:#ffffffc9;border:1px solid #ddc5d6;box-shadow:0 2px 9px #54204412;font-size:23px}
.sre-rehab-models .previous{right:12px}
.sre-rehab-models .next{left:12px}
.sre-rehab-models .gallery-arrow:hover{background:#fff2f6}
.sre-rehab-models .navigation{margin:8px 0;font-size:13px}
.sre-rehab-models #count{direction:ltr}
.sre-rehab-models #thumbnails{gap:6px;padding:4px;margin-bottom:18px}
.sre-rehab-models #thumbnails button{min-width:112px;width:112px;border:2px solid transparent;background:#fcfaf9;padding:6px;font-size:11px;line-height:1.5}
.sre-rehab-models #thumbnails img{height:66px}
.sre-rehab-models #thumbnails small{display:block;font-size:10px;direction:ltr}
.sre-rehab-models #thumbnails .selected{border-color:#94224f;outline:none;background:#fff2f6}
.sre-rehab-models .info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.sre-rehab-models .info-card{display:flex;gap:10px;align-items:center;padding:14px 12px;border:1px solid #eadce5;background:#fff8f9;border-radius:10px}
.sre-rehab-models .info-icon{font-size:24px;color:#9a2851}
.sre-rehab-models .info-card small{display:block;font-size:11px}
.sre-rehab-models .info-card strong{display:block;font-size:13px}
.sre-rehab-models .mini-model{width:100px;border:1px solid #eadce5;border-radius:10px;background:#fcfaf9;padding:8px;text-align:center;transition:transform .15s}
.sre-rehab-models .mini-model:hover{transform:translateY(-2px)}
.sre-rehab-models .mini-model img,.sre-rehab-models .mini-placeholder{width:100%;height:58px;object-fit:contain;display:flex;align-items:center;justify-content:center;font-size:26px;color:#ae718d;background:#faf3f6;border-radius:6px}
.sre-rehab-models .mini-model strong{font-size:12px;display:block;padding-top:5px}
.sre-rehab-models .mini-model.current{border:2px solid #94224f;background:#fff2f6}
.sre-rehab-models footer{text-align:center;font-size:12px;padding:22px;color:#86506e}
.sre-rehab-models header{padding:12px 6%}
.sre-rehab-models header strong{font-size:22px}
@media(max-width:850px){.sre-rehab-models .info-grid{grid-template-columns:repeat(2,1fr)}
.sre-rehab-models .preview{grid-template-columns:50px 1fr 38%}
.sre-rehab-models .preview>img:first-child{width:50px}
.sre-rehab-models .preview h1{font-size:29px}
}
@media(max-width:600px){.sre-rehab-models .preview{grid-template-columns:48px 1fr;gap:10px;padding:14px}
.sre-rehab-models .preview>img:last-child{grid-column:1/-1;height:170px}
.sre-rehab-models .preview h1{font-size:28px}
.sre-rehab-models .preview p{font-size:12px}
.sre-rehab-models .preview a{padding:6px 10px}
.sre-rehab-models .main-image{height:245px}
.sre-rehab-models article{padding:12px}
.sre-rehab-models .info-card{padding:10px 8px;gap:7px}
.sre-rehab-models .info-card strong{font-size:11px}
.sre-rehab-models .info-icon{font-size:20px}
.sre-rehab-models #siblings{gap:7px}
.sre-rehab-models .mini-model{width:calc((100% - 14px)/3)}
.sre-rehab-models header span{font-size:10px}
.sre-rehab-models .gallery-arrow{width:42px;height:42px}
.sre-rehab-models .viewer h2{font-size:15px}
}
@media(max-width:350px){.sre-rehab-models .info-grid{grid-template-columns:1fr}
}
@media(min-width:851px){.sre-rehab-models .preview>img:last-child{height:155px}
.sre-rehab-models .preview{padding:14px 18px;margin-bottom:14px}
.sre-rehab-models .main-image{height:245px}
.sre-rehab-models #thumbnails img{height:52px}
.sre-rehab-models #thumbnails{margin-bottom:10px}
.sre-rehab-models article>h2{margin:8px 0}
.sre-rehab-models .navigation{margin:6px 0}
}
@media(min-width:851px){.sre-rehab-models .preview{grid-template-columns:64px 1fr 34%;gap:16px}
.sre-rehab-models .preview>img:last-child{height:auto;aspect-ratio:400/266;object-fit:contain}
}
@media(min-width:601px) and (max-width:850px){.sre-rehab-models .preview>img:last-child{height:auto;aspect-ratio:400/266}
}
@media(max-width:600px){.sre-rehab-models .preview>img:last-child{height:auto;max-height:210px;aspect-ratio:400/266;object-fit:contain}
}
.sre-rehab-models .catalog-phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sre-rehab-models .catalog-phase{display:flex;flex-direction:column;gap:12px;text-decoration:none;padding:24px;border:1px solid #eadce5;border-radius:14px;background:#fff8f9;box-shadow:0 4px 16px #54204406}
.sre-rehab-models .catalog-phase:hover{transform:translateY(-2px)}
.sre-rehab-models .catalog-phase span{font-size:13px}
.sre-rehab-models .catalog-breadcrumb a{text-decoration:none}
.sre-rehab-models .mini-model{text-decoration:none;color:inherit}
.sre-rehab-models .preview h2{font-size:36px;margin:4px 0}
@media(max-width:850px){.sre-rehab-models .catalog-phases{grid-template-columns:repeat(2,minmax(0,1fr))}
.sre-rehab-models .preview h2{font-size:29px}
}
@media(max-width:600px){.sre-rehab-models .catalog-phases{grid-template-columns:1fr}
.sre-rehab-models .preview h2{font-size:28px}
}
.sre-rehab-models .preview{width:100%;height:226px;grid-template-columns:64px minmax(0,1fr) 34%;grid-template-rows:188px;padding:18px;gap:16px;align-items:center}
.sre-rehab-models .preview>div{height:188px;min-width:0;display:grid;grid-template-rows:27px 54px 42px 1fr;align-content:stretch;align-items:start}
.sre-rehab-models .preview>div>small{align-self:center;line-height:1.5}
.sre-rehab-models .preview h1,.sre-rehab-models .preview h2{margin:0;align-self:center;line-height:1.3}
.sre-rehab-models .preview p{margin:0;align-self:center;line-height:1.6}
.sre-rehab-models .preview a{align-self:end;justify-self:start;margin:0;min-height:38px;display:inline-flex;align-items:center}
.sre-rehab-models .preview>img:last-child{width:100%;height:188px;max-height:none;aspect-ratio:auto;margin:0;padding:6px;border-radius:8px;background:#faf8f5;object-fit:contain;object-position:center}
@media(min-width:601px) and (max-width:850px){.sre-rehab-models .preview{grid-template-columns:50px minmax(0,1fr) 38%;height:226px}
.sre-rehab-models .preview>img:last-child{height:188px;aspect-ratio:auto}
}
@media(max-width:600px){.sre-rehab-models .preview{height:386px;padding:14px;grid-template-columns:48px minmax(0,1fr);grid-template-rows:156px 188px;gap:12px}
.sre-rehab-models .preview>div{height:156px;grid-template-rows:23px 43px 38px 1fr}
.sre-rehab-models .preview>img:last-child{height:188px;max-height:none;aspect-ratio:auto}
.sre-rehab-models .preview a{min-height:38px}
.sre-rehab-models .preview p{font-size:12px}
}


.sre-rehab-models .premium-navigation{display:grid;grid-template-columns:116px minmax(0,1fr) 116px;gap:0;align-items:stretch;max-width:660px;min-height:66px;margin:14px auto;background:#fdf8f8;border:1px solid #e6cfd9;border-radius:12px;overflow:hidden}
.sre-rehab-models .premium-navigation button{border:0;border-radius:0;background:transparent;display:flex;align-items:center;justify-content:center;gap:13px;padding:12px;font-size:13px;font-weight:500;transition:background .18s,color .18s}
.sre-rehab-models .premium-navigation button:hover{background:#f5e9ee;color:#8c244b}
.sre-rehab-models .premium-navigation button:focus-visible{outline:2px solid #94224f;outline-offset:-3px}
.sre-rehab-models .premium-navigation button>span[aria-hidden]{font-size:21px}
.sre-rehab-models .nav-current{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center;padding:8px 12px;border-inline:1px solid #eadbe2}
.sre-rehab-models .nav-current output{font-size:11px;color:#a17e8d;letter-spacing:1px}
.sre-rehab-models .nav-current #caption{font-size:13px;font-weight:600;color:#762c50;line-height:1.6}
.sre-rehab-models #thumbnails{gap:8px;padding:4px 2px;margin-top:8px}
.sre-rehab-models #thumbnails button{width:116px;min-width:116px;height:122px;padding:7px 6px;display:grid;grid-template-rows:65px 17px 1fr;align-items:center;font-size:11px;border:1px solid #eadde3;border-radius:10px;background:#fcfaf8;transition:border-color .18s,background .18s,box-shadow .18s}
.sre-rehab-models #thumbnails img{height:65px;width:100%;object-fit:contain}
.sre-rehab-models #thumbnails small{font-size:10px;color:#9d7c8a}
.sre-rehab-models #thumbnails button:hover{background:#fff4f7;border-color:#bf93a7}
.sre-rehab-models #thumbnails .selected{border:2px solid #94224f;background:#fff2f6;box-shadow:0 2px 8px #94224f08}
.sre-rehab-models #thumbnails button:focus-visible{outline:2px solid #94224f;outline-offset:2px}
.sre-rehab-models .image-arriving{animation:gallery-arrive .22s ease-out}
@keyframes gallery-arrive{from{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.sre-rehab-models .premium-navigation{grid-template-columns:78px minmax(0,1fr) 78px;min-height:70px;margin:12px 0;border-radius:10px}
.sre-rehab-models .premium-navigation button{padding:9px 6px;gap:7px;font-size:12px}
.sre-rehab-models .premium-navigation button>span[aria-hidden]{font-size:18px}
.sre-rehab-models .nav-current{padding:7px 5px}
.sre-rehab-models .nav-current #caption{font-size:11px}
.sre-rehab-models .nav-current output{font-size:10px}
.sre-rehab-models #thumbnails button{min-width:108px;width:108px;height:116px;grid-template-rows:59px 17px 1fr}
.sre-rehab-models #thumbnails img{height:59px}
}
@media(prefers-reduced-motion:reduce){.sre-rehab-models .image-arriving{animation:none}
.sre-rehab-models .premium-navigation button,.sre-rehab-models #thumbnails button{transition:none}
}
.sre-rehab-models .premium-navigation{grid-template-columns:104px minmax(0,1fr) 104px;min-height:49px;margin:8px auto 5px;border-color:#e8dce1;border-radius:28px;background:#fcf8f7}
.sre-rehab-models .premium-navigation button{gap:6px;padding:7px 16px;font-size:12px;font-weight:400;color:#937581;background:transparent}
.sre-rehab-models .premium-navigation button:hover{background:#f8eff2}
.sre-rehab-models .nav-current{border-inline:0;padding:4px 14px;gap:0;background:#faf4f5}
.sre-rehab-models .nav-current #caption{font-size:14px;line-height:1.55;font-weight:600;color:#64243f}
.sre-rehab-models .nav-current output{font-size:12px;line-height:1.4;letter-spacing:.6px;color:#896773;font-variant-numeric:tabular-nums}
.sre-rehab-models .premium-navigation button>span[aria-hidden]{position:relative;display:block;width:18px;height:12px;font-size:0;flex:none}
.sre-rehab-models .premium-navigation button>span[aria-hidden]::before{content:"";position:absolute;left:0;right:0;top:6px;border-top:.75px solid currentColor}
.sre-rehab-models .premium-navigation button>span[aria-hidden]::after{content:"";position:absolute;top:3px;width:6px;height:6px;border-top:.75px solid currentColor;border-right:.75px solid currentColor}
.sre-rehab-models .nav-previous>span[aria-hidden]::after{right:0;transform:rotate(45deg)}
.sre-rehab-models .nav-next>span[aria-hidden]::after{left:0;transform:rotate(-135deg)}
.sre-rehab-models #thumbnails{margin-top:3px}
@media(max-width:600px){.sre-rehab-models .premium-navigation{grid-template-columns:76px minmax(0,1fr) 76px;min-height:51px;margin:7px 0 4px;border-radius:24px}
.sre-rehab-models .premium-navigation button{padding:7px 8px;gap:4px;font-size:11px}
.sre-rehab-models .premium-navigation button>span[aria-hidden]{width:14px}
.sre-rehab-models .nav-current{padding:4px 4px}
.sre-rehab-models .nav-current #caption{font-size:12px}
.sre-rehab-models .nav-current output{font-size:11px}
}
@media(max-width:600px){.sre-rehab-models #thumbnails{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;scroll-snap-type:x proximity;overscroll-behavior-x:contain;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;scroll-padding-inline:8px;margin-bottom:8px;min-width:0;max-width:100%}
.sre-rehab-models #thumbnails::-webkit-scrollbar{display:none;width:0;height:0}
.sre-rehab-models #thumbnails button{flex:0 0 108px;scroll-snap-align:center;scroll-snap-stop:normal}
.sre-rehab-models .gallery{min-width:0;max-width:100%}
.sre-rehab-models .main-image{touch-action:pan-y}
.sre-rehab-models .main-image img{object-fit:contain;object-position:center}

}
@media(max-width:600px) and (prefers-reduced-motion:reduce){.sre-rehab-models #thumbnails{scroll-behavior:auto}
}

.sre-rehab-models .catalog-phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.sre-rehab-models .catalog-phase{position:relative;isolation:isolate;overflow:hidden;min-width:0;height:222px;padding:27px 25px;border-radius:9px;display:flex;flex-direction:column;align-items:flex-start;text-align:right;gap:0;color:#542044;box-shadow:0 2px 10px #54204404;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.sre-rehab-models .catalog-phase:hover{transform:translateY(-3px);border-color:#b78b9f;box-shadow:0 9px 22px #54204409}
.sre-rehab-models .catalog-phase:focus-visible{outline:2px solid #94224f;outline-offset:4px}
.sre-rehab-models .catalog-phase .phase-label{font-size:10px;letter-spacing:.1px;font-weight:400;color:#987784;line-height:1.6;margin-bottom:12px}
.sre-rehab-models .catalog-phase .phase-title{font-size:25px;font-weight:700;line-height:1.5;position:relative;z-index:1}
.sre-rehab-models .catalog-phase .phase-count{font-size:12px;font-weight:400;color:#9d7e87;line-height:1.7;margin-top:7px}
.sre-rehab-models .catalog-phase .phase-cta{font-size:12px;font-weight:500;align-self:flex-end;margin-top:auto;display:flex;align-items:center;gap:13px;color:#815165;line-height:1.7;position:relative;z-index:1}
.sre-rehab-models .catalog-phase:hover .phase-cta{color:#782345}
.sre-rehab-models .catalog-phase .phase-cta span{font-size:19px;line-height:1;font-weight:400}
.sre-rehab-models.phase-direction-editorial .catalog-phase{background:linear-gradient(130deg,#fffdfa,#fbf5f3);border:1px solid #e8dcd7}
.sre-rehab-models.phase-direction-editorial .catalog-phase::before{content:attr(data-number);position:absolute;left:15px;bottom:28px;font-family:Georgia,'Times New Roman',serif;font-size:112px;line-height:1;font-weight:400;letter-spacing:-8px;color:#6a203c;opacity:.055;pointer-events:none;z-index:-1}
@media(max-width:850px){.sre-rehab-models .catalog-phases{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.sre-rehab-models .catalog-phase{height:216px;padding:26px}
}
@media(max-width:600px){.sre-rehab-models .catalog-phases{grid-template-columns:1fr;gap:17px}
.sre-rehab-models .catalog-phase{height:205px;padding:24px}
.sre-rehab-models .catalog-phase .phase-title{font-size:25px}
.sre-rehab-models .catalog-phase .phase-cta{font-size:13px}
.sre-rehab-models.phase-direction-editorial .catalog-phase::before{font-size:106px}
}
@media(prefers-reduced-motion:reduce){.sre-rehab-models .catalog-phase{transition:none}
.sre-rehab-models .catalog-phase:hover{transform:none}
}


body.sre-rehab-models-page #content>.ast-container{display:block}
body.sre-rehab-models-page .sre-models-shell{padding:0;min-width:0}
body.sre-rehab-models-page .sre-rehab-models{min-width:0}
/* Image dimensions remain unchanged. The code occupies only unused image-side space. */
.sre-rehab-models .model-card-visual{position:relative;min-width:0;width:100%;height:188px;margin:0;padding:6px;border-radius:8px;background:#faf8f5}
.sre-rehab-models .model-card-visual>img{display:block;width:100%;height:100%;margin:0;padding:0;object-fit:contain;object-position:center}
.sre-rehab-models .model-card-visual>.model-cover-empty{height:100%;width:100%}
.sre-rehab-models .model-symbol-ghost{position:absolute;left:var(--symbol-left,100%);top:12px;bottom:12px;width:var(--symbol-width,0px);display:flex;align-items:flex-end;justify-content:center;pointer-events:none;user-select:none;opacity:.052;color:#53204a;font-family:inherit;font-weight:550;white-space:nowrap;visibility:hidden}
.sre-rehab-models .model-symbol-ghost>span{display:block;flex:none;font-size:var(--symbol-size,95px);line-height:1.2;letter-spacing:-.025em}
.sre-rehab-models .model-symbol-ghost--arabic>span{line-height:1.65;letter-spacing:normal}
.sre-rehab-models .model-symbol-ghost[data-fitted]{visibility:visible}
@media(max-width:600px){.sre-rehab-models .model-card-visual{grid-column:1/-1}.sre-rehab-models .model-symbol-ghost{top:10px;bottom:10px}}
