/* Static student, dashboard and teacher previews. */
.case-hero-shared .ed-preview-frame{max-width:1440px}
.case-hero-shared .ed-preview-frame .hr-car{display:grid;grid-template-columns:1fr 2.7fr 1fr;gap:16px;padding:12px 35px 40px;opacity:1;transform:none;animation:none;transition:none}
.case-hero-shared .ed-preview-frame .gallery-card{position:relative;left:auto!important;top:auto!important;width:100%!important;height:550px!important;aspect-ratio:auto;transform:none;clip-path:none;border:1px solid rgba(214,241,230,.10);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.015));box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 12px 32px rgba(0,0,0,.12);transition:none;overflow:hidden}
.case-hero-shared .ed-preview-frame .gallery-card>img{inset:16px;width:calc(100% - 32px);height:calc(100% - 32px);object-fit:contain;border-radius:12px;background:radial-gradient(ellipse at 50% 35%,#15594b,#071714)}
.case-hero-shared .ed-preview-frame .hr-screen-label{left:22px;right:16px;top:20px;bottom:auto;text-align:left;font:500 13px/20px Inter,system-ui,sans-serif;letter-spacing:1px;text-transform:uppercase;color:#afb8c4}
.case-hero-shared .ed-preview-frame :is(.hr-screen-label,.hr-screen-category){display:none}
.ed-carousel-dialog{position:fixed;inset:0;margin:auto;width:min(1100px,94vw);max-height:92dvh;padding:48px 20px 20px;border:1px solid #2a3934;background:#141414;color:#edf1f3;overflow:auto}
.ed-carousel-dialog::backdrop{background:rgba(0,0,0,.85)}
.ed-carousel-dialog img{display:block;width:100%;max-height:72dvh;object-fit:contain}
.ed-carousel-dialog p{text-align:center;margin-top:12px;font:400 16px/1.5 Inter,system-ui,sans-serif}
.ed-dialog-close{position:absolute;right:12px;top:10px;border:1px solid #2a3934;background:#111715;color:#dce5e0;padding:8px 14px;cursor:pointer;border-radius:4px}
.ed-dialog-close:focus-visible{outline:2px solid #c5ceca;outline-offset:3px}
.case-hero-shared .gallery-card>img[hidden],.ed-carousel-dialog img[hidden],.gallery-dialog-visual[hidden]{display:none}
.case-hero-shared .gallery-visual{position:absolute;inset:16px;border-radius:12px;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#15594b,#071714)}
.case-hero-shared .gallery-visual :is(.ie-mockup,.uh-mockup){position:relative;left:0;top:0;width:100%;height:100%;transform:none;background:transparent}
.gallery-dialog-visual{position:relative;width:100%;aspect-ratio:544/388;overflow:hidden}
.gallery-dialog-visual :is(.ie-mockup,.uh-mockup){position:relative;display:block;width:100%;height:100%;overflow:hidden}
.gallery-dialog-visual img{position:absolute;max-height:none;object-fit:contain}
.gallery-dialog-visual .ie-desktop{left:5.8824%;top:0;width:117.6471%;height:123.4536%}
.gallery-dialog-visual .ie-phone{left:-22.6197%;top:28.5951%;width:88.2353%;height:92.7835%;transform:rotate(-8.9deg)}
.gallery-dialog-visual .ie-speaking-phones{left:7.7206%;top:6.701%;width:84.5588%;height:119.0722%}
.gallery-dialog-visual .uh-tablet{inset:0;width:100%;height:100%}
.gallery-dialog-visual .uh-phone{right:0;bottom:0;width:38%;height:70%}
/* Keep every mockup's natural proportions inside its available frame. */
.case-hero-shared .gallery-visual .ie-mockup img,.gallery-dialog-visual .ie-mockup img{inset:0;width:100%;height:100%;object-fit:contain;transform:none}
.case-hero-shared .gallery-visual .ie-mockup .ie-phone,.gallery-dialog-visual .ie-mockup .ie-phone{inset:auto auto 0 0;width:36%;height:76%;object-fit:contain;transform:none}
.case-hero-shared .ed-preview-frame .gallery-card{transform-origin:top left}
.case-hero-shared .ed-preview-frame .hr-car{overflow:hidden}
@media(max-width:760px){
.case-hero-shared .ed-preview-frame .hr-car{display:flex;gap:16px;height:auto;padding:12px 20px 24px;overflow-x:auto;touch-action:pan-x pan-y}
.case-hero-shared .ed-preview-frame .gallery-card{width:82%!important;height:420px!important;flex:none}
.case-hero-shared .ed-preview-frame .hr-screen-label{left:16px;top:14px;font-size:11px}
.case-hero-shared .ed-preview-frame .gallery-card>img{inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);border-radius:12px}
.case-hero-shared .gallery-visual{inset:12px;border-radius:12px}
}
