/* Floating feature exhibition: same content width as the hero, stable app frame. */
html:not(.product-showcase-embed) .scroll-showreel .showreel-heading-clip{box-sizing:border-box;width:calc(100% - 48px);max-width:1120px;padding:88px 0 28px}
html:not(.product-showcase-embed) .scroll-showreel .showreel-grid{box-sizing:border-box;width:calc(100% - 48px);max-width:1120px;padding-inline:0;grid-template-columns:220px minmax(0,1fr);gap:24px}
html:not(.product-showcase-embed) .scroll-showreel .showreel-pin{height:730px;padding:24px 0}
html:not(.product-showcase-embed) .scroll-showreel .tabs{display:flex;flex-direction:column;border:0;border-radius:0;background:transparent}
html:not(.product-showcase-embed) .scroll-showreel .tab{flex:1 1 0;padding:12px 18px;transition:flex-grow .3s ease,background .3s ease,color .2s ease}
html:not(.product-showcase-embed) .scroll-showreel .tab.on{flex-grow:3;background:transparent}
html:not(.product-showcase-embed) .scroll-showreel .tab-description{line-height:1.6;max-width:100%;transition:max-height .3s ease,opacity .3s ease,padding .3s ease}
html:not(.product-showcase-embed) .scroll-showreel .tab:not(.on) .tab-description{visibility:hidden}
html:not(.product-showcase-embed) .scroll-showreel .tab::before{bottom:0;transition:transform .3s ease}
html:not(.product-showcase-embed) .scroll-showreel .tab:not(.on):hover::before{transform:scaleY(0)}
html:not(.product-showcase-embed) .scroll-showreel .video-frame{transform-origin:50% 45%;box-shadow:0 32px 76px rgba(0,0,0,.45)}
html:not(.product-showcase-embed) .scroll-showreel[data-floating-interface] .video-frame{transform:perspective(1400px) translateY(var(--interface-y)) scale(var(--interface-scale)) rotateX(var(--interface-tilt));box-shadow:0 var(--interface-shadow-y) var(--interface-shadow-blur) rgba(0,0,0,var(--interface-shadow-alpha))}
html:not(.product-showcase-embed) .scroll-showreel .scene.on{animation:feature-content-enter .3s ease both}
@keyframes feature-content-enter{from{opacity:.3}to{opacity:1}}
.reference-hero .rh-platform-finding .rh-file-tag{display:inline-flex;align-items:center;gap:5px;cursor:default;text-decoration:none;border:0;background:transparent;padding:0;box-shadow:none}
.reference-hero .rh-file-tag .ti{font-size:12px;flex:none}
@media(max-width:1100px) and (min-width:861px){html:not(.product-showcase-embed) .scroll-showreel .showreel-app-search{max-width:160px}.scroll-showreel .showreel-app-project{font-size:10px}}
@media(max-width:860px){
 html:not(.product-showcase-embed) .scroll-showreel .showreel-heading-clip{width:calc(100% - 40px);padding:44px 0 8px}
 html:not(.product-showcase-embed) .scroll-showreel .showreel-grid{width:100%;display:block;padding:0}
 html:not(.product-showcase-embed) .scroll-showreel .showreel-pin{height:auto;padding:0}
 html:not(.product-showcase-embed) .scroll-showreel .tabs{display:none}
 html:not(.product-showcase-embed) .scroll-showreel .video-frame{transform:none;box-shadow:none}
 html:not(.product-showcase-embed) .scroll-showreel .scene.on{animation:none}
}
@media(prefers-reduced-motion:reduce){
 html:not(.product-showcase-embed) .scroll-showreel .tab,html:not(.product-showcase-embed) .scroll-showreel .tab::before,html:not(.product-showcase-embed) .scroll-showreel .tab-description{transition:none!important}
 html:not(.product-showcase-embed) .scroll-showreel .scene.on{animation:none}
 html:not(.product-showcase-embed) .scroll-showreel .video-frame{transform:none!important}
}

/* External browser chrome is separate from the unchanged Franklin application header. */
.showreel-browser{display:none}
html:not(.product-showcase-embed) .scroll-showreel .showreel-browser{box-sizing:border-box;display:grid;grid-template-columns:1fr minmax(120px,35%) 1fr;align-items:center;height:32px;flex:none;padding:0 12px;background:#303030;border-bottom:1px solid #414141;color:#b9b9b9;font:10px/1.2 Montserrat,Arial,sans-serif}
.showreel-browser-controls{display:flex;gap:6px}
.showreel-browser-controls i{width:6px;height:6px;border:1px solid #909090;border-radius:50%}
.showreel-browser-address{grid-column:2;text-align:center;padding:3px 8px;background:#262626;border:1px solid #454545;border-radius:4px;white-space:nowrap}
html:not(.product-showcase-embed) .scroll-showreel .video-frame{border:1px solid #505050;border-radius:7px;background:#262626}
/* Every entrance value follows scroll directly; switching remains owned by the existing tabs. */
html:not(.product-showcase-embed) .scroll-showreel[data-floating-interface] .tab{opacity:var(--nav-reveal);transform:translateY(var(--nav-y));transition:none}
html:not(.product-showcase-embed) .scroll-showreel[data-floating-interface] .tab.on{flex-grow:calc(1 + 2 * var(--nav-expansion))}
html:not(.product-showcase-embed) .scroll-showreel[data-floating-interface] .tab.on .tab-description{max-height:calc(12em * var(--nav-expansion));opacity:var(--nav-expansion);padding-top:calc(6px * var(--nav-expansion));transition:none}
html:not(.product-showcase-embed) .scroll-showreel[data-floating-interface] .tab::before{transition:none}
html:not(.product-showcase-embed) .scroll-showreel[data-floating-interface] .tab.on::before{transform:scaleY(var(--nav-expansion))}
@media(max-width:860px){html:not(.product-showcase-embed) .scroll-showreel .showreel-browser{display:none}html:not(.product-showcase-embed) .scroll-showreel .video-frame{border:0;border-radius:0;background:none}}

@media(min-width:861px){
 html:not(.product-showcase-embed) .scroll-showreel .video-frame{display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:32px 52px minmax(0,1fr)}
 html:not(.product-showcase-embed) .scroll-showreel .video-frame>.showreel-browser{grid-column:1/-1;grid-row:1}
 html:not(.product-showcase-embed) .scroll-showreel .video-frame>.showreel-app-top{grid-column:1/-1;grid-row:2}
 html:not(.product-showcase-embed) .scroll-showreel .video-frame>.scr{grid-column:2;grid-row:3}
 html:not(.product-showcase-embed) .scroll-showreel .video-frame>.showreel-app-sidebar{grid-column:1;grid-row:3}
}

/* Seven compact native-scroll steps; no wheel interception or scene resizing. */
@media(min-width:861px) and (prefers-reduced-motion:no-preference){
 html:not(.product-showcase-embed) .scroll-showreel[data-feature-scroll]::after{content:"";display:block;height:var(--feature-scroll-range)}
 html:not(.product-showcase-embed) .scroll-showreel[data-feature-scroll] .showreel-pin{position:sticky;top:68px}
}
