
section:has(.cc-annotated),.cc-annotated{overflow:visible!important}
.case-scroll-story{--pin-top:100px}
.case-scroll-pin{top:var(--pin-top);background:#fff}
.case-scroll-story[data-active]:not([data-short-screen]) .case-scroll-pin{position:sticky;z-index:1}
.case-scroll-story[data-active]:not([data-short-screen])::after{content:"";display:block;height:190svh}
:is(#clinical-photo-pointer,.cc-annotated) .case-scroll-caption{margin:0;padding:12px 2px;color:#34465a;line-height:1.5;min-height:3.8em;background:#fff;display:grid;font-weight:400}
:is(#clinical-photo-pointer,.cc-annotated) .case-scroll-caption>span{grid-area:1/1;visibility:hidden}
:is(#clinical-photo-pointer,.cc-annotated) .case-scroll-caption>span strong{font-weight:750!important;color:#304963!important}
:is(#clinical-photo-pointer,.cc-annotated) .case-scroll-story:not([data-phase]) .case-scroll-caption>span:first-child,
:is(#clinical-photo-pointer,.cc-annotated) .case-scroll-story[data-phase="0"] .case-scroll-caption>span:first-child,
:is(#clinical-photo-pointer,.cc-annotated) .case-scroll-story[data-phase="1"] .case-scroll-caption>span:nth-child(2),
:is(#clinical-photo-pointer,.cc-annotated) .case-scroll-story[data-phase="2"] .case-scroll-caption>span:nth-child(3){visibility:visible}

@media(min-width:1001px){section.editorial-case:has(.cc-annotated .case-scroll-story[data-active])>.container>.depth-heading{position:sticky;top:100px}}
@media(max-width:800px){.case-scroll-story{--pin-top:134px}}
@media(prefers-reduced-motion:reduce){.case-scroll-story[data-active]::after{display:none}.case-scroll-pin{position:static!important}}

.cc-dialog .case-pointer,.cc-dialog .case-progress{display:none!important}
.case-scroll-pin .case-progress{width:fit-content;margin:0 auto 10px;display:flex;align-items:center;gap:9px;padding:6px 8px 6px 14px;border:1px solid #25251e12;border-radius:99px;background:rgba(249,248,245,.94);color:#262622;box-shadow:0 3px 14px #29271d14;font:500 13px/1.4 system-ui,sans-serif}
.case-progress .phase{display:flex;align-items:center;gap:5px;color:#696963}
.case-progress .phase i,.case-pointer small i{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e7e6e2;color:#777;font:500 12px/1 system-ui}
.case-progress .phase i::before{content:'•'}
.case-progress .phase b{display:none;font:inherit}
.case-scroll-story[data-phase="0"] .phase:nth-child(2) i,.case-scroll-story[data-phase="1"] .phase:nth-child(-n+3) i,.case-scroll-story[data-phase="2"] .phase i{background:#282824;color:white}
.case-scroll-story[data-phase="0"] .phase:nth-child(2) i::before,.case-scroll-story[data-phase="1"] .phase:nth-child(-n+3) i::before,.case-scroll-story[data-phase="2"] .phase i::before{content:'✓'}
:is(#clinical-photo-pointer,.cc-annotated) .case-pointer{position:absolute;inset:0;pointer-events:none;z-index:4;opacity:0;transition:opacity .22s ease-out}
:is(#clinical-photo-pointer,.cc-annotated) .case-pointer svg{width:100%;height:100%;position:absolute;inset:0;fill:none;stroke-linecap:round;stroke-linejoin:round}
:is(#clinical-photo-pointer,.cc-annotated) .case-pointer line{vector-effect:non-scaling-stroke;stroke:var(--line-ink);stroke-width:1;stroke-linecap:round}
.cc-annotated .case-pointer .point{position:absolute;top:var(--point-y);left:var(--tip);width:4px;height:4px;background:var(--line-ink);border-radius:50%;transform:translate(-50%,-50%)}
:is(#clinical-photo-pointer,.cc-annotated) .case-pointer small{position:absolute;top:var(--label-y);transform:translateY(-50%);padding:5px 9px;border-radius:12px;background:#fffaf5f5;color:#212c37;box-shadow:0 1px 4px #17233266;font:600 clamp(12px,1vw,15px)/1.35 system-ui,sans-serif;white-space:nowrap}
.case-pointer.after small{left:2%}.case-pointer.before small,.case-pointer.preserve small{right:2%}

:is(#clinical-photo-pointer,.cc-annotated)[data-cc-mode="compare"] .case-scroll-story[data-phase="2"] .case-pointer.preserve{opacity:1}
@media(min-width:768px){.case-scroll-story[data-phase="0"] .phase:nth-child(2) b,.case-scroll-story[data-phase="1"] .phase:nth-child(3) b,.case-scroll-story[data-phase="2"] .phase:nth-child(4) b{display:block}}
:is(#clinical-photo-pointer,.cc-annotated)[data-cc-mode="compare"] .case-scroll-story[data-show-before] .case-pointer.before,:is(#clinical-photo-pointer,.cc-annotated)[data-cc-mode="compare"] .case-scroll-story[data-show-after] .case-pointer.after{opacity:1}
@media(max-width:767px){.case-scroll-pin .case-progress{padding:9px 16px;gap:22px}.case-progress .phase{flex-direction:column;gap:4px;font-size:12px}.case-progress .phase b{display:block}.case-progress .phase-title{display:none}}
/* Reveal a solid leader from the tooth to a point inside its label. */
:is(#clinical-photo-pointer,.cc-annotated) .case-pointer svg{clip-path:inset(0 calc(100% - var(--tip)) 0 var(--tip));transition:clip-path .48s ease-out}
:is(#clinical-photo-pointer,.cc-annotated) .case-pointer small{display:inline-flex;align-items:center;gap:5px;opacity:0;transition:opacity .22s ease-out}
:is(#clinical-photo-pointer,.cc-annotated) .case-pointer small::before{content:"✓";display:grid;place-items:center;width:15px;height:15px;border:1px solid currentColor;border-radius:50%;font:700 11px/1 system-ui}
:is(#clinical-photo-pointer,.cc-annotated) .case-pointer.before small::before{background:#171717;border-color:#171717;color:#fff}
:is(#clinical-photo-pointer,.cc-annotated) .case-pointer:is(.after,.preserve) small{background:#242526;color:white;box-shadow:none}
:is(#clinical-photo-pointer,.cc-annotated) .case-scroll-story:is([data-show-before]) .before,
:is(#clinical-photo-pointer,.cc-annotated) .case-scroll-story[data-show-after] .after,
:is(#clinical-photo-pointer,.cc-annotated) .case-scroll-story[data-phase="2"] .preserve{--leader-clip:inset(0 0% 0 0%);--label-opacity:1;--label-delay:.2s}
:is(#clinical-photo-pointer,.cc-annotated) .case-pointer svg{clip-path:var(--leader-clip,inset(0 calc(100% - var(--tip)) 0 var(--tip)))}
:is(#clinical-photo-pointer,.cc-annotated) .case-pointer small{opacity:var(--label-opacity,0);transition-delay:var(--label-delay,0s)}
@media(prefers-reduced-motion:reduce){:is(#clinical-photo-pointer,.cc-annotated) .case-pointer,:is(#clinical-photo-pointer,.cc-annotated) .case-pointer *{transition:none}}

/* Clip horizontal overflow without creating an intermediate sticky scroll container. */
body:is(.theme-cervical,.theme-diastema,.theme-laminate,.theme-resin-buildup,.theme-front-resin):has(.cc-annotated):not([style*="overflow"]){overflow-x:clip!important;overflow-y:visible}
