/* Первый экран «Ясно»: 3D-сцена зубного ряда и панель осмотра зуба. */
.hero{position:relative;min-height:100svh;overflow:hidden;background:#fff;isolation:isolate}
.hero #gl{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0;touch-action:pan-y;outline:none}
.hero.inspecting #gl{touch-action:none}
.st-col{position:relative;z-index:2;max-width:560px;min-height:100svh;display:flex;flex-direction:column;justify-content:center;padding:calc(var(--hh,76px) + 24px) clamp(18px,4vw,56px) 56px;pointer-events:none;transition:opacity .45s var(--ease,cubic-bezier(.2,.7,.2,1)),transform .45s var(--ease,cubic-bezier(.2,.7,.2,1)),filter .45s}
.st-col > *{pointer-events:auto}
.hero.inspecting .st-col{opacity:0;transform:translateX(-24px);filter:blur(6px);pointer-events:none}
.hero.inspecting .st-col > *{pointer-events:none}
.st-chip{display:inline-flex;align-self:flex-start;align-items:center;gap:10px;margin:0 0 22px;padding:9px 16px 9px 12px;border-radius:999px;background:rgb(255 255 255 / .82);box-shadow:inset 0 0 0 1px rgb(11 114 133 / .14);font-weight:600;font-size:15px;color:#2a4655}
.st-chip i{width:9px;height:9px;border-radius:50%;background:#16a2ae;box-shadow:0 0 0 4px rgb(22 162 174 / .16)}
.st-h1{margin:0;font-weight:800;font-size:clamp(40px,4.4vw,68px);line-height:1.02;letter-spacing:-.035em;color:#0c2632}
.st-h1 .b{background:linear-gradient(100deg,#0b7285 10%,#16a2ae 90%);-webkit-background-clip:text;background-clip:text;color:transparent}
.st-lead{margin:20px 0 0;font-size:18px;line-height:1.55;color:#2a4655;max-width:500px}
.st-hint{display:inline-flex;align-self:flex-start;align-items:center;gap:12px;margin-top:28px;padding:14px 20px;border-radius:14px;background:rgb(255 255 255 / .86);box-shadow:inset 0 0 0 1px rgb(11 114 133 / .16),0 18px 40px -24px rgb(12 38 50 / .45);font-weight:700;font-size:16.5px;color:#0b7285}
.st-hint i{width:12px;height:12px;border-radius:50%;background:#0b7285;animation:stPulse 1.6s infinite}
@keyframes stPulse{0%{box-shadow:0 0 0 0 rgb(11 114 133 / .5)}70%{box-shadow:0 0 0 12px rgb(11 114 133 / 0)}100%{box-shadow:0 0 0 0 rgb(11 114 133 / 0)}}
.st-list{margin-top:14px;font-size:15px;color:#557282}
.st-list summary{cursor:pointer;min-height:44px;display:inline-flex;align-items:center;font-weight:600}
.st-list ul{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px;max-height:220px;overflow:auto}
.st-list button{width:100%;min-height:44px;padding:8px 12px;border:0;border-radius:10px;background:rgb(11 114 133 / .07);color:#0c2632;font:600 15px/1.25 Manrope,system-ui,sans-serif;text-align:left;cursor:pointer}
.st-list button:hover,.st-list button:focus-visible{background:rgb(11 114 133 / .15)}

/* панель осмотра */
.insp{position:absolute;z-index:3;left:clamp(18px,4vw,56px);top:calc(var(--hh,76px) + 24px);bottom:32px;width:min(460px,40vw);display:flex;flex-direction:column;gap:0;padding:22px 24px;border-radius:22px;background:rgb(255 255 255 / .9);box-shadow:inset 0 0 0 1px rgb(11 114 133 / .14),0 30px 70px -30px rgb(12 38 50 / .45);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);overflow:auto;opacity:0;transform:translateX(-18px);filter:blur(8px);transition:opacity .5s var(--ease,cubic-bezier(.2,.7,.2,1)) .25s,transform .5s var(--ease,cubic-bezier(.2,.7,.2,1)) .25s,filter .5s .25s}
.insp.on{opacity:1;transform:none;filter:none}
.insp[hidden]{display:none}
.insp-x{position:absolute;right:12px;top:12px;width:44px;height:44px;border:0;border-radius:12px;background:rgb(11 114 133 / .08);color:#0c2632;font:500 26px/1 Manrope,system-ui,sans-serif;cursor:pointer}
.insp-x:hover{background:rgb(11 114 133 / .16)}
.insp-t{margin:2px 54px 4px 0;font-weight:800;font-size:22px;letter-spacing:-.015em;line-height:1.2;color:#0c2632}
.insp-t span{display:inline-block;margin-left:6px;padding:2px 9px;border-radius:8px;background:rgb(11 114 133 / .1);color:#0b7285;font-size:15px;vertical-align:3px}
.insp-s{margin:4px 0 14px;font-size:15.5px;color:#557282;line-height:1.45}
.insp-zones{display:flex;flex-wrap:wrap;gap:6px}
.zb{min-height:44px;padding:0 13px;border:0;border-radius:11px;background:#f4f9fc;box-shadow:inset 0 0 0 1px rgb(11 114 133 / .14);color:#2a4655;font:600 15px/1 Manrope,system-ui,sans-serif;cursor:pointer;transition:background .2s,color .2s}
.zb:hover{background:#eaf4f8}
.zb.on{background:#0b7285;color:#fff;box-shadow:none}
.insp-z{margin:12px 0 0;min-height:22px;font-weight:700;font-size:15.5px;color:#0b7285}
.insp-q{margin:14px 0 8px;font-weight:700;font-size:15.5px;color:#0c2632;opacity:.45;transition:opacity .3s}
.insp.marked .insp-q{opacity:1}
.insp-sym{display:flex;flex-wrap:wrap;gap:7px;opacity:.45;pointer-events:none;transition:opacity .3s}
.insp.marked .insp-sym{opacity:1;pointer-events:auto}
.insp .chipb{min-height:44px;padding:0 15px;border:0;border-radius:12px;background:rgb(11 114 133 / .07);color:#0c2632;font:600 15px/1 Manrope,system-ui,sans-serif;cursor:pointer;transition:background .2s,color .2s}
.insp .chipb:hover{background:rgb(11 114 133 / .14)}
.insp .chipb.on{background:#0b7285;color:#fff}
.insp-plan{margin-top:16px}
.insp-plan:empty{display:none}
.insp-plan.in{animation:stClear .55s var(--ease,cubic-bezier(.2,.7,.2,1))}
@keyframes stClear{from{opacity:0;filter:blur(8px)}to{opacity:1;filter:blur(0)}}
.insp-plan{padding-top:16px;border-top:1px solid rgb(12 38 50 / .1)}
.pl-h{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.pl-h span{font-weight:800;font-size:18px;letter-spacing:-.01em;line-height:1.25;color:#0c2632}
.pl-h b{font-weight:800;font-size:27px;letter-spacing:-.02em;color:#0b7285;white-space:nowrap}
.pl-m{margin:6px 0 0;color:#2a4655;font-weight:600;font-size:15px}
.pl-d{margin:8px 0 0;display:flex;align-items:center;gap:8px;font-size:15px;color:#2a4655}
.pl-d i{width:8px;height:8px;border-radius:50%;background:#1fa774;flex:none}
.pl-n{margin:8px 0 14px;font-size:15px;line-height:1.45;color:#557282}
.st-book{width:100%}
.pl-f{margin:10px 0 0;font-size:15px;line-height:1.4;color:#557282}
.mark-l{position:absolute;left:0;top:0;z-index:3;pointer-events:none;opacity:0;transition:opacity .3s;font:800 15px/1 Manrope,sans-serif;color:#fff;background:#0b7285;padding:7px 10px;border-radius:9px;transform:translate(-50%,-100%);margin-top:-14px;box-shadow:0 8px 18px -6px rgb(11 114 133 / .6);white-space:nowrap}
.mark-l.on{opacity:1}
.mark-l::after{content:'';position:absolute;left:50%;bottom:-5px;margin-left:-5px;border:5px solid transparent;border-bottom:0;border-top-color:#0b7285}
.hero.no-gl{background:radial-gradient(80% 60% at 70% 55%,#e9f6f8,#fff 70%)}

@media (max-width:760px){
  .st-col{max-width:none;justify-content:flex-start;padding-top:calc(var(--hh,64px) + 8px)}
  .st-chip,.st-lead{display:none}
  .st-h1{font-size:clamp(30px,8.6vw,38px)}
  .st-hint{position:absolute;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));justify-content:center;margin:0}
  .st-list{position:absolute;left:16px;right:16px;bottom:calc(84px + env(safe-area-inset-bottom));display:none}
  .hero.inspecting .st-col{transform:none}
  .insp{left:10px;right:10px;width:auto;top:auto;bottom:calc(10px + env(safe-area-inset-bottom));max-height:52svh;padding:16px 16px 18px;-webkit-backdrop-filter:none;backdrop-filter:none;background:rgb(255 255 255 / .97);transform:translateY(24px)}
  .insp-t{font-size:19px}
  .insp-s{margin-bottom:10px}
  .insp-zones,.insp-sym{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:0 16px 2px;scrollbar-width:none}
  .zb,.insp .chipb{flex:none}
  .pl-h b{font-size:23px}
}
@media (prefers-reduced-motion:reduce){
  .st-col,.insp,.insp-plan.in{transition:none;animation:none}
  .st-hint i{animation:none}
}
.st-debug .st-col,.st-debug .hd{display:none}
.st-book svg{width:18px;height:18px;flex:none}
.insp > *{flex-shrink:0}
.tap-hint{position:absolute;left:0;top:0;z-index:3;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;pointer-events:none;opacity:0;transition:opacity .4s;box-shadow:inset 0 0 0 2px rgb(255 255 255 / .9),0 0 0 2px rgb(11 114 133 / .55)}
.tap-hint::before,.tap-hint::after{content:'';position:absolute;inset:0;border-radius:50%;border:2px solid rgb(11 114 133 / .6);animation:stTap 1.8s ease-out infinite}
.tap-hint::after{animation-delay:.9s}
.tap-hint.on{opacity:1}
.tap-hint span{position:absolute;left:50%;top:-34px;transform:translateX(-50%);white-space:nowrap;font:700 15px/1 Manrope,system-ui,sans-serif;color:#fff;background:#0b7285;padding:7px 10px;border-radius:9px;box-shadow:0 8px 18px -6px rgb(11 114 133 / .6)}
@keyframes stTap{from{transform:scale(1);opacity:.9}to{transform:scale(2.4);opacity:0}}
@media (prefers-reduced-motion:reduce){.tap-hint::before,.tap-hint::after{animation:none}}
