.clinical-studies{margin:clamp(3rem,8vw,8rem) 0;scroll-margin-top:7rem}
.clinical-studies h2{font:400 clamp(2.1rem,4.5vw,3.8rem)/1.1 var(--serif);margin:0 0 1.4rem}
.study-nav,.study-options,.study-links{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.study-nav a,.study-options button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.45rem .85rem;line-height:1.3;border:1px solid #b6ab99;color:#42382f;background:transparent;border-radius:.25rem;font:inherit;text-decoration:none;cursor:pointer}
.study-nav a[aria-current=true],.study-options button[aria-pressed=true]{background:#443a30;color:#fff}
.study-model{border-top:1px solid #d4cabb;margin-top:1.5rem;padding-top:1.4rem;scroll-margin-top:7rem}
.study-model h3{font:400 clamp(1.7rem,3vw,2.55rem)/1.15 var(--serif);margin:0 0 .6rem}
.study-intro{max-width:76ch;margin:0 0 1.3rem}
.study-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(1rem,4vw,3rem);align-items:start}
.dental-3d .study-model .viewer-frame{height:auto;min-height:0;max-height:none;aspect-ratio:1.13;background:#393831}
.study-visual .study-options,.study-sources{margin-top:.6rem}
.study-options button,.study-links a{font-size:.93rem}
.study-options button:disabled{cursor:default}
.study-points{list-style:none;margin:.85rem 0;padding:0}
.study-points li{border-top:1px solid #d4cabb;padding:.6rem 0}
.study-point{font:600 1.05rem/1.35 var(--sans);width:100%;min-height:44px;text-align:start;cursor:pointer;border:0;background:transparent;color:#3e352d;padding:0}
.study-point span{font:500 .85rem var(--sans);color:#69573f;display:inline-block;min-width:2rem}
.study-point[aria-pressed=true]{color:#0a615a}
.study-points p,.study-help,.study-status{margin:.15rem 0;line-height:1.55}
.study-help,.study-status,.study-sources{font-size:.86rem}
.study-sources{display:block}
.study-links{gap:.25rem 1rem}
.study-links a{min-height:42px;display:inline-flex;align-items:center}
.clinical-studies [hidden]{display:none!important}
.clinical-studies :focus-visible{outline:3px solid #16766d;outline-offset:3px}
@media(max-width:760px){.study-layout{grid-template-columns:1fr}.study-nav a,.study-options button{font-size:.92rem}.dental-3d .study-model .viewer-frame{aspect-ratio:1}}

.dental-3d .clinical-studies .model-hotspot[data-focus-label]::after{content:attr(data-focus-label);position:absolute;left:calc(100% + 3px);top:50%;transform:translateY(-50%);border-radius:4px;padding:5px 8px;color:#352c24;background:#fbf6ed;box-shadow:0 1px 5px #291e1330;font:550 .8rem/1.2 var(--sans);white-space:nowrap;pointer-events:none}
.study-model .viewer-cover{pointer-events:none}
.study-model [data-study-start]{min-height:44px;border:1px solid #9f917a;background:transparent;padding:0 .85rem;color:#362d23}
@media(max-width:520px){.dental-3d .clinical-studies .model-hotspot[data-focus-label]::after{font-size:.7rem;white-space:normal;width:max-content;max-width:84px}}

.study-picker,.study-picker[hidden],.study-shade[hidden]{display:none}
.study-shade{display:grid;grid-template-columns:1fr 1fr;gap:.3rem .7rem;padding:.9rem 0;color:#493c2f;font-weight:600}
.study-shade input{grid-column:1/-1;width:100%;min-height:32px;margin:0;accent-color:#7a5b33;cursor:pointer}
.study-shade span{font-weight:400;font-size:.9rem}.study-shade span:last-child{text-align:right}
@media(max-width:700px){.study-interactive .study-picker{display:grid;gap:.35rem;color:#493c2f;font-weight:600}.study-picker select{min-height:46px;padding:.45rem .65rem;width:100%;border:1px solid #aa9c89;color:#40382f;background:#fffdf8;border-radius:4px;font:inherit}.study-interactive .study-nav{display:none}}

.dental-3d .clinical-studies .model-hotspot[data-focus-label]::after{width:max-content;max-width:min(15rem,var(--label-space,9rem));white-space:normal;box-sizing:border-box;overflow-wrap:anywhere}
.dental-3d .clinical-studies .model-hotspot[data-focus-label][data-label-side="left"]::after{left:auto;right:calc(100% + 3px)}

.dental-3d .clinical-studies .model-hotspot[data-focus-label]{z-index:5}

/* Keep the small dentin lesion visible while indicating its vertex on rotation. */
.clinical-studies .model-hotspot[data-leader]::before {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  width: 30px;
  background: #fff8e9;
  box-shadow: 0 1px 1px #604b38;
  pointer-events: none;
}
.clinical-studies .model-hotspot[data-leader="right"]::before { right: 100%; }
.clinical-studies .model-hotspot[data-leader="left"]::before { left: 100%; }
