/* An overlay on the same page; each edge uses the existing project gutter. */
html[data-re-study-modal]{overflow:hidden!important;overscroll-behavior:none}
.re-study-dialog-shield:not([hidden]){position:fixed;inset:0;z-index:9999;background:#fff;touch-action:none}
.re-study-dialog{
 --study-inset:var(--spotlight-page-inset,var(--editorial-gutter,20px));
 --study-ticket-copy-track:.58fr;
 --study-ticket-demo-track:.42fr;
 position:fixed;z-index:10002;inset:var(--study-inset);margin:0;
 inline-size:calc(100% - 2 * var(--study-inset));block-size:calc(100dvh - 2 * var(--study-inset));
 max-inline-size:none;max-block-size:none;box-sizing:border-box;
 /* Slightly lifted surround; preserve white overlay and white controls. */
 overflow:visible;padding:0;border:0;background:transparent;color:#fff;
}
.re-study-dialog[open]{display:flex;flex-direction:column}
/* Only this painted panel flies. The copy stays on the final modal layout. */
:root{--re-study-project-surface:#252930;--re-study-dark-canvas:#0b0c11;--re-seating-texture:url('assets/redeye-seating-texture.webp')}
.re-study-dialog-shell{position:absolute;inset:0;background:var(--re-study-project-surface);transform-origin:top left}
.re-study-dialog[data-study-flight]{pointer-events:none}
.re-study-dialog[data-study-flight]>.re-study-dialog-shell{pointer-events:auto}
.re-study-dialog-toolbar{
 position:relative;z-index:5;display:flex;justify-content:flex-end;align-items:center;
 flex:0 0 44px;margin-block-start:var(--study-nav-close-top,54px);padding-inline:12px;pointer-events:none
}
.re-study-dialog-close{
 position:relative;pointer-events:auto;
 display:grid;place-items:center;inline-size:44px;block-size:44px;
 background:none;color:#fff;border:0;border-radius:50%;cursor:pointer;
}
.re-study-dialog-close[hidden]{display:none}
.re-study-dialog-close:focus-visible{outline:2px solid #fff;outline-offset:3px}
.re-study-dialog-content{
 position:relative;flex:1;min-block-size:0;overflow:clip;overscroll-behavior:contain;
 box-sizing:border-box;padding:clamp(12px,2vw,30px);padding-block-start:56px;
 display:grid;grid-template-rows:minmax(0,1fr)
}
.re-study-dialog .re-feature-steps{min-height:0;height:100%}
.re-study-dialog .re-detail-heading{display:none!important}
html[data-re-index] .re-study-dialog .re-feature-step:not([hidden]){
 display:grid!important;height:100%!important;padding:0!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important
}
html[data-re-index] .re-study-dialog .re-feature-step>.re-actual-plane{min-height:0!important;height:100%!important}
html[data-re-index] .re-study-dialog .re-source-host{height:100%!important;min-height:0!important}
html[data-re-index] .re-study-dialog .re-feature-step>.re-actual-copy{display:none!important}
.re-study-dialog{color-scheme:dark}
/* Each stroke ends on itself after a half turn; only a fine hover pointer animates. */
.re-study-dialog-close svg{pointer-events:none}
.re-study-dialog-close svg path{transform-origin:12px 12px}
/* Live stage is painted as the same object in the card and expanded viewer. */
.re-live-study{
 position:fixed;inset:0 auto auto 0;z-index:4;visibility:hidden;
 transform-origin:0 0;pointer-events:none;
}
.re-live-study[data-visible=true]{visibility:visible}
.re-live-study[data-expanded]{z-index:10003;pointer-events:auto}
.re-live-study[data-expanded=closing]{pointer-events:none}
html[data-re-index] .re-live-study>.re-source-host{
 width:100%!important;height:100%!important;min-height:0!important;overflow:hidden;
}
html[data-re-index] .re-live-study--ticket>.re-source-host{
 border:0;border-radius:0;box-sizing:border-box;
}
.re-live-study-ready>img{visibility:hidden}

.re-live-study-ready>.re-index-mask{z-index:5}

/* The real header remains usable above the black viewer and white scrim. */
html[data-re-study-modal] body .spotlight-header.spotlight-header{z-index:10010}
.re-study-dialog-content{padding-block-start:10px}
html[data-re-index] .re-study-dialog .re-feature-step:not([hidden]){
 grid-template-columns:minmax(0,.34fr) minmax(0,.66fr)!important;gap:var(--study-copy-gap,42px)!important
}
html[data-re-index] .re-study-dialog .re-feature-step>.re-actual-copy{
 display:block!important;align-self:start;padding:0!important;margin:0!important;min-width:0!important
}
html[data-re-index] .re-study-dialog .re-actual-copy :is(h2,h3,h4,p,li,a,strong,em){color:#fff!important}
html[data-re-index] .re-study-dialog .re-actual-copy>.story-stage{margin-bottom:var(--study-section-space)!important}
html[data-re-index] .re-study-dialog .re-actual-copy>.story-stage[hidden]{display:none!important}
.re-study-dialog .re-study-copy-pager{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:13px}
.re-study-dialog .re-study-copy-pager[hidden]{display:none}
.re-study-copy-pager button{
 min-height:34px;padding:3px 9px;border:1px solid #888;background:#141414;color:#fff;cursor:pointer
}
.re-study-copy-pager button[aria-disabled=true]{opacity:.55;cursor:default}
.re-study-copy-pager button:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(max-width:760px){
 html[data-re-index] .re-study-dialog .re-feature-step:not([hidden]){
  grid-template-columns:minmax(0,1fr)!important;grid-template-rows:var(--study-copy-height,160px) minmax(0,1fr);gap:12px!important
 }
 html[data-re-index] .re-study-dialog .re-feature-step>.re-actual-copy{
  min-block-size:0;max-block-size:100%;overflow:auto;overscroll-behavior:contain
 }
 html[data-re-index] .re-study-dialog .re-actual-copy>.story-stage{margin-bottom:0!important}
 html[data-re-index] .re-study-dialog :is(.re-actual-copy :is(h2,h3,h4),.re-study-spanning-title){font-size:clamp(17px,4.6vw,24px)!important;line-height:1.1!important;margin-block:0 6px!important}
 html[data-re-index] .re-study-dialog .re-actual-copy :is(p,li){font-size:14px!important;line-height:1.32!important;margin-block:0 6px!important}
}
@media(max-width:360px) and (max-height:720px){
 html[data-re-index] .re-study-dialog .re-actual-copy :is(p,li){font-size:13px!important;line-height:1.3!important}
 .re-study-dialog .re-study-copy-pager{margin-top:4px}
}
/* Closed study surfaces are in document coordinates, clipped with their backing. */
.re-live-study:not([data-expanded]){position:absolute}
.re-live-study,.re-live-study>.re-source-host{overflow:clip!important;contain:paint}
/* Copy keeps its space while the shared live surface and white scrim settle. */
html[data-re-index] .re-study-dialog .re-actual-copy[data-study-copy-reveal=pending]{opacity:0!important}
/* Tickets: two copy columns on the left, one unchanged live-phone mount on the right. */
html[data-re-index] .re-study-dialog[data-ticket-columns] .re-feature-step[data-study=ticket]{grid-template-columns:minmax(0,var(--study-ticket-copy-track)) minmax(0,var(--study-ticket-demo-track))!important}
html[data-re-index] .re-study-dialog[data-ticket-columns] .re-feature-step[data-study=ticket]>.re-actual-copy{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(18px,2vw,34px)
}
.re-study-fixture-control{
 min-height:38px;padding:4px 10px;color:#fff;background:#141414;border:1px solid #888;font:inherit;font-size:13px;cursor:pointer
}
.re-study-fixture-control:focus-visible{outline:2px solid #fff;outline-offset:2px}

.re-buyer-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-block-start:6px}

.re-study-dialog:has(.re-feature-step[data-study=buyer]:not([hidden])) .re-study-dialog-content{padding-inline:var(--study-inset)}

@media(max-width:760px){
 html[data-re-index] .re-study-dialog .re-feature-step[data-study=buyer]:not([hidden]){padding:0!important}
 html[data-re-index] .re-study-dialog .re-feature-step[data-study=buyer] .re-actual-copy::before{display:none}
 html[data-re-index] .re-study-dialog .re-feature-step[data-study=buyer] .story-stage{margin-block:0!important;padding-block:0!important}
 .re-study-dialog .re-feature-step[data-study=buyer] .re-study-fixture-control{min-height:32px;padding-block:3px}
}
.re-index-restored .re-index-row>.re-index-buyer .re-buyer-event-card{background:var(--re-study-dark-canvas)}
.re-live-study--buyer,.re-live-study--buyer>.re-source-host{background:var(--re-study-dark-canvas)!important}
.re-live-study--buyer[data-buyer-travel],
.re-live-study--buyer[data-buyer-travel]>.re-source-host,
.re-live-study--buyer[data-buyer-travel]>.re-source-host>iframe{background:transparent!important}

.re-index-restored .re-index-row>.re-index-seating figure{--seating-still-inset:clamp(12px,3.5%,24px);background:var(--re-seating-texture) 0 0/420px auto repeat fixed #0b0c11!important}
/* Keep the closed still from covering the project-colored surround edge-to-edge. */
.re-index-restored .re-index-row>.re-index-seating figure>img{box-sizing:border-box;padding-inline:var(--seating-still-inset)}
.re-index-restored .re-index-row>.re-index-seating figure>.re-index-mask::before{inset:0 var(--seating-still-inset)}
.re-live-study--seating,.re-live-study--seating>.re-source-host,.re-live-study--seating iframe{
 background:transparent!important
}

/* The editorial iframe rule explicitly paints visible descendants. Lock the
   closed Ticket portal as a unit so only its starting still can paint. */
.re-live-study--ticket:not([data-visible=true]){opacity:0!important}

/* The ticket board can gain real layout width as it lifts from the desktop tile. */
@media(min-width:1121px){
 .re-study-dialog{--buyer-copy-share:.34}
 html[data-re-index] .re-study-dialog .re-feature-step[data-study=buyer]:not([hidden]){
  grid-template-columns:minmax(0,.34fr) minmax(0,.66fr)!important
 }
}
/* Buyer at tablet: use the same 28/72 split as the live portal, with paged copy. */
html[data-re-index] .re-study-dialog[data-buyer-tablet] .re-feature-step[data-study=buyer]:not([hidden]){
 grid-template-columns:minmax(0,.28fr) minmax(0,.72fr)!important
}
/* The portal occupies the actual grid pane. Long copy scrolls inside its own
   pane instead of growing into the demo; stacked layouts always leave room. */
html[data-re-index] .re-study-dialog .re-feature-step[data-study=buyer]:not([hidden]){
 min-block-size:0;grid-template-rows:minmax(0,1fr)
}
html[data-re-index] .re-study-dialog .re-feature-step[data-study=buyer]>.re-actual-copy{
 min-block-size:0;max-block-size:100%;box-sizing:border-box;
 overflow:auto!important;overscroll-behavior:contain
}
@media(max-width:760px){
 html[data-re-index] .re-study-dialog .re-feature-step[data-study=buyer]:not([hidden]){
  grid-template-rows:minmax(0,min(var(--study-copy-height,245px),58%)) minmax(0,1fr)
 }
}

/* The photographed glass is 400 × ~840, centered over the 400 × 720
   transition box. More deck height pushes the event panel down while the
   centered QR stays in place. Scale the specimen, never resize its columns. */
html[data-re-index] .re-live-study--ticket>.re-source-host{
 width:400px!important;max-width:none!important;height:840px!important;
 transform:translateY(calc(-60px * var(--ticket-render-scale,1))) scale(var(--ticket-render-scale,1))!important;transform-origin:0 0;
}

/* Every study uses the same upward copy reveal after landing. */
@keyframes re-study-copy-enter{from{opacity:0;translate:0 13px}to{opacity:1;translate:0 0}}

@media(prefers-reduced-motion:no-preference){
 html:not([data-motion=off]) .re-study-dialog [data-study-copy-reveal=entered]>.story-stage:not([hidden]),
 html:not([data-motion=off]) .re-study-dialog [data-study-copy-reveal=entered]>.re-study-copy-pager:not([hidden]){
  animation:re-study-copy-enter 610ms cubic-bezier(.2,.65,.3,1) both
 }
 html:not([data-motion=off]) .re-study-dialog:not([data-copy-paged]) [data-study-copy-reveal=entered]>.story-stage:nth-child(2),
 html:not([data-motion=off]) .re-study-dialog [data-study-copy-reveal=entered]>.re-study-copy-pager{animation-delay:70ms}
 html:not([data-motion=off]) .re-study-dialog:not([data-copy-paged]) [data-study-copy-reveal=entered]>.story-stage:nth-child(3){animation-delay:140ms}
}

/* Event artwork travels inside the canvas, behind the interactive board. */
.re-study-dialog-shield[data-buyer-backdrop]:not([hidden]){background:transparent}
.re-buyer-event-card[data-buyer-scene-hidden] .re-buyer-capture-window{visibility:hidden}
.re-buyer-context-overlay{
 position:fixed;z-index:10004;inset:0 auto auto 0;transform-origin:top left;pointer-events:none;overflow:hidden;container-type:inline-size;
}
.re-live-study--buyer[data-expanded]{z-index:10005}

/* Only the landed Buyer viewer gets the white project gutter, never its flight. */
.re-study-dialog-shield[data-buyer-backdrop][data-buyer-landed]:not([hidden]){background-color:#fff}
@media(prefers-reduced-motion:no-preference){
 html:not([data-motion=off]) .re-study-dialog-shield[data-buyer-landed]{transition:background-color 170ms ease-out}
}


/* The photographed device and live wallet share the exact portal transform. */
.re-study-dialog:has(.re-feature-step[data-study=ticket]:not([hidden]))>.re-study-dialog-shell{background:#6f0000}
.re-live-study--ticket{overflow:visible!important;contain:none}
.re-live-study--ticket>.re-ticket-portal-hand,.re-live-study--ticket>.re-ticket-portal-fingers{
 position:absolute;left:-58.86%;width:247.83%;height:auto;max-width:none;top:50%;
 transform:translateY(-42.475%);z-index:3;pointer-events:none
}
.re-live-study--ticket>.re-ticket-portal-fingers{z-index:4}
.re-live-study--ticket>.re-ticket-portal-display{
 position:absolute;width:102%;height:119%;top:-9.5%;left:-1%;
 border-radius:10%/5%;background:#000;z-index:1;pointer-events:none
}
.re-live-study--ticket>.re-source-host{position:relative;z-index:2}
/* Keep the standalone playback out of desktop mouse hit-testing. The outer
   study still receives wheel/click events; touch-first screens keep swiping. */
@media (pointer:fine){
 .re-live-study--ticket>.re-source-host>iframe{pointer-events:none}
}



/* A stacked report iframe stays interactive when opened. Its printed Overview
   fills the landscape index tile on narrow screens without clipping bands. */
@media(max-width:880px){
 .re-live-study--report:not([data-expanded]){visibility:hidden!important;opacity:0!important}
 .re-index-report figure.re-live-study-ready>img{visibility:visible}
}
.re-index-restored .re-index-row>.re-index-report figure{background:#0d0d0d}

/* Paint the closed specimen while the same live source mounts after promotion. */
.re-live-study .re-study-first-paint{
 position:absolute;inset:0;z-index:1;width:100%;height:100%;display:block;object-fit:contain;
 background:#181b20;pointer-events:none
}
.re-live-study .re-study-first-paint:not([src]),
.re-live-study .re-source-host[data-first-paint-ready] > .re-study-first-paint{display:none}
.re-live-study--ticket .re-study-first-paint{background:#000;object-fit:cover}
.re-live-study:not([data-expanded]) .re-study-first-paint{visibility:hidden}

.re-buyer-event-dock > img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.re-live-study-ready .re-buyer-event-dock > img,.re-buyer-event-dock > img:not([src]){visibility:hidden}
.re-index-buyer:not([data-index-art-ready]) .re-buyer-capture-window :is(.re-buyer-flyer,.re-buyer-reference-art),
.re-index-buyer:not([data-index-art-ready]) .re-buyer-reference-art::before,
.re-index-buyer:not([data-index-art-ready]) .re-buyer-reference-art::after{background-image:none}
.re-study-first-title{display:none}
.re-live-study[data-expanded] .re-source-host:not([data-first-paint-ready]):not([data-still-ready])>.re-study-first-title{
 position:absolute;inset:0;display:grid;place-content:center;text-align:center;z-index:2;
 color:#d0c8c8;font-size:clamp(14px,2vw,24px);font-weight:650;pointer-events:none
}
.re-live-study .re-source-host > p[role=status]{position:absolute;inset:auto 10px 10px;z-index:3;background:#181b20;color:white;padding:8px 10px;margin:0}
.re-live-study .re-source-host:not([data-editorial-error]) > p[role=status]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* Shared copy layout for every Spotlight Red Eye study. */
html[data-re-index] .re-study-dialog{
 --study-title-space:clamp(20px,2vw,30px);
 --study-section-space:clamp(9px,1.65vh,18px)
}
html[data-re-index] .re-study-dialog .re-actual-copy :is(h2 + h3,h2 + p,h2 + .story-stage){
 margin-block-start:var(--study-title-space)!important
}
html[data-re-index] .re-study-dialog .re-actual-copy .story-stage[hidden]{display:none!important}
html[data-re-index] .re-study-dialog [data-study-copy-pane]>.story-stage:not(:last-child){
 margin-block-end:var(--study-section-space)!important
}
.re-study-dialog [data-study-copy-stack]{position:relative;min-inline-size:0}
.re-study-dialog [data-study-copy-stack]>[data-study-copy-pane]{
 position:absolute;inset:0 0 auto;min-width:0;opacity:0;visibility:hidden;pointer-events:none;
 transition:opacity 230ms ease-in,visibility 0s linear 230ms
}
.re-study-dialog [data-study-copy-stack]>[data-study-copy-current]{
 position:relative;inset:auto;opacity:1;visibility:visible;pointer-events:auto;
 transition:opacity 320ms cubic-bezier(.22,.65,.36,1),visibility 0s
}
[data-study-copy-pane][aria-hidden=true]:not(.re-study-dialog *){display:none}
html[data-motion=off] .re-study-dialog [data-study-copy-pane]{transition:none}
@media(prefers-reduced-motion:reduce){.re-study-dialog [data-study-copy-pane]{transition:none}}
/* An active study keeps its sized still or placeholder until its child is styled. */
.re-live-study[data-expanded] .re-source-host:not([data-first-paint-ready])>iframe{visibility:hidden!important}
.re-live-study[data-expanded] .re-source-host:not([data-first-paint-ready]):not([data-still-ready])>.re-study-first-title{
 background:radial-gradient(ellipse at 25% 20%,#2e333d 0,#191c22 48%,#13161a 100%);
}
@keyframes re-study-styled-arrival{from{opacity:.72;filter:blur(3px)}to{opacity:1;filter:none}}
@media(prefers-reduced-motion:no-preference){
 html:not([data-motion=off]) .re-live-study[data-expanded] .re-source-host[data-styled-arrival][data-first-paint-ready]>iframe{
  animation:re-study-styled-arrival 240ms ease-out both
 }
}

/* On phones the live demo is the first thing in the dialog. Its context is optional. */
.re-study-bottom-bar{display:none}
@media(max-width:760px){
 .re-study-bottom-bar{display:flex;justify-content:flex-end;flex:none;padding:0 12px 8px;position:relative}
 .re-study-copy-toggle{
  min-height:44px;padding:5px 12px;color:#fff;background:#16181c;border:1px solid #777;
  border-radius:4px;font:600 13px/1.2 Manrope,Arial,sans-serif
 }
 .re-study-copy-toggle:focus-visible{outline:2px solid currentColor;outline-offset:2px}
 html[data-re-index] .re-study-dialog .re-feature-step:not([hidden]){
  grid-template-rows:minmax(0,1fr)!important;gap:0!important
 }
 html[data-re-index] .re-study-dialog .re-feature-step>.re-actual-plane{grid-row:1}
 html[data-re-index] .re-study-dialog:not([data-mobile-copy]) .re-feature-step>.re-actual-copy{display:none!important}
 html[data-re-index] .re-study-dialog[data-mobile-copy] .re-feature-step:not([hidden]){
  grid-template-rows:minmax(0,1fr) minmax(0,min(var(--study-copy-height,160px),46%))!important;
  gap:10px!important
 }
 html[data-re-index] .re-study-dialog[data-mobile-copy] .re-feature-step>.re-actual-copy{
  grid-row:2;padding-block-start:7px!important;border-top:1px solid #888;
  overscroll-behavior:contain
 }
}

/* Full-bleed phone viewer; keep safe-area padding on actual controls only. */
@media(max-width:760px),(max-width:940px) and (max-height:480px) and (pointer:coarse) and (orientation:landscape){
 .re-study-dialog-shield:not([hidden]){background:var(--re-study-project-surface)}
 .re-study-dialog{
  --study-inset:0px;
  inset:0;inline-size:100%;block-size:100dvh;background:var(--re-study-project-surface)
 }
 .re-study-dialog-content,
 .re-study-dialog:has(.re-feature-step[data-study=buyer]:not([hidden])) .re-study-dialog-content{
  padding-inline:0
 }
 .re-study-dialog-toolbar{
  margin-block-start:max(48px,calc(env(safe-area-inset-top) + 34px));
  padding-inline:max(10px,env(safe-area-inset-left)) max(10px,env(safe-area-inset-right))
 }
 .re-study-dialog-close:focus-visible{outline:none}
 .re-study-dialog-close:focus-visible::after{
  content:"";position:absolute;inset:auto 14px 6px;height:2px;border-radius:1px;background:#eaff00
 }
 .re-study-bottom-bar{padding-block-end:max(8px,env(safe-area-inset-bottom))}
}
@media(max-height:480px) and (orientation:landscape) and (pointer:coarse){
 .re-study-dialog-toolbar{margin-block-start:max(16px,env(safe-area-inset-top))}
}

@media(max-width:760px),(max-width:940px) and (max-height:480px) and (pointer:coarse) and (orientation:landscape){
 .re-study-dialog-shield[data-buyer-backdrop][data-buyer-landed]:not([hidden]){background-color:var(--re-study-project-surface)}
 html:has(.re-study-dialog[open] .re-feature-step[data-study=ticket]:not([hidden])) .re-study-dialog-shield:not([hidden]),
 .re-study-dialog:has(.re-feature-step[data-study=ticket]:not([hidden])){background:#6f0000}
}

/* Buyer copy flows in the viewer. Only the viewer scrolls when room runs out. */
.re-study-dialog:has(.re-feature-step[data-study=buyer]:not([hidden])) .re-study-dialog-content{
 overflow:auto;overscroll-behavior:contain;scrollbar-width:thin
}
html[data-re-index] .re-study-dialog .re-feature-step[data-study=buyer]>.re-actual-copy{
 max-block-size:none;overflow:visible!important;overscroll-behavior:auto;position:relative
}
@media(min-width:761px){
 .re-study-dialog:has(.re-feature-step[data-study=buyer]:not([hidden])) .re-study-dialog-content{
  margin-block-start:-44px;padding-block-start:0
 }
 html[data-re-index] .re-study-dialog .re-feature-step[data-study=buyer]:not([hidden]){
  grid-template-rows:minmax(0,1fr);margin-block:0!important;padding-block:0!important
 }
 html[data-re-index] .re-study-dialog .re-feature-step[data-study=buyer]>.re-actual-plane{
  margin-block-start:68px;height:max(1px,calc(100% - 68px))!important
 }
}
@media(max-width:760px){
 html[data-re-index] .re-study-dialog[data-mobile-copy] .re-feature-step[data-study=buyer]:not([hidden]){
  grid-template-rows:minmax(220px,100%) max-content!important
 }
 html[data-re-index] .re-study-dialog[data-mobile-copy] .re-feature-step[data-study=buyer]>.re-actual-copy{
  padding:12px 16px 20px!important
 }
}

@media(min-width:761px){
 html[data-re-index] .re-study-dialog #red-eye-buyer.re-feature-step:not([hidden]){
  margin-block:0!important;padding-block:0!important
 }
}

/* Buyer portrait tablet and compact landscape viewer. */
.re-study-dialog[data-buyer-portrait] .re-study-bottom-bar{
 display:flex;justify-content:flex-end;flex:none;position:relative;padding:0 12px 8px
}
.re-study-dialog[data-buyer-portrait] .re-study-copy-toggle{
 min-height:44px;padding:5px 12px;color:#fff;background:#16181c;border:1px solid #777;
 border-radius:4px;font:600 13px/1.2 Manrope,Arial,sans-serif
}
.re-study-dialog[data-buyer-portrait] .re-study-copy-toggle:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.re-study-dialog[data-buyer-portrait]:has(.re-feature-step[data-study=buyer]:not([hidden])) .re-study-dialog-content{
 margin-block-start:0;padding-block-start:10px
}
html[data-re-index] .re-study-dialog[data-buyer-portrait] #red-eye-buyer.re-feature-step:not([hidden]){
 grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;gap:0!important
}
html[data-re-index] .re-study-dialog[data-buyer-portrait][data-mobile-copy] #red-eye-buyer.re-feature-step:not([hidden]){
 grid-template-rows:minmax(300px,100%) max-content!important;gap:12px!important
}
html[data-re-index] .re-study-dialog[data-buyer-portrait] #red-eye-buyer>.re-actual-plane{
 grid-row:1;margin-block-start:0;height:100%!important
}
html[data-re-index] .re-study-dialog[data-buyer-portrait]:not([data-mobile-copy]) #red-eye-buyer>.re-actual-copy{
 display:none!important
}
html[data-re-index] .re-study-dialog[data-buyer-portrait][data-mobile-copy] #red-eye-buyer>.re-actual-copy{
 grid-row:2;padding:12px 16px 20px!important;border-top:1px solid #888
}
@media(min-width:761px) and (max-height:670px){
 html[data-re-index] .re-study-dialog:not([data-buyer-portrait]) #red-eye-buyer>.re-actual-plane{
  min-block-size:360px!important
 }
}

/* A study title can span the copy and live demo without changing their widths. */
.re-study-spanning-title{display:none}
.re-study-dialog .re-study-spanning-title{
 display:block;grid-column:1/-1;grid-row:1;align-self:start;margin:0;
 color:#fff
}
html[data-re-index] .re-study-dialog .re-feature-step:has(>.re-study-spanning-title):not([hidden]){
 grid-template-rows:max-content minmax(0,1fr)!important;row-gap:var(--study-title-space)!important
}
.re-study-dialog .re-study-spanning-title~:is(.re-actual-copy,.re-actual-plane){grid-row:2}
@media(max-width:760px){
 .re-study-dialog .re-study-spanning-title{padding-inline:clamp(12px,4vw,20px)}
 html[data-re-index] .re-study-dialog .re-feature-step:has(>.re-study-spanning-title)>.re-actual-plane{grid-row:2}
 html[data-re-index] .re-study-dialog[data-mobile-copy] .re-feature-step:has(>.re-study-spanning-title):not([hidden]){
  grid-template-rows:max-content minmax(0,1fr) minmax(0,min(var(--study-copy-height,160px),46%))!important
 }
 html[data-re-index] .re-study-dialog[data-mobile-copy] .re-feature-step:has(>.re-study-spanning-title)>.re-actual-copy{grid-row:3}
}

/* The spanning title uses the same type as the other study headings. */
html[data-re-index] .re-study-dialog :is(.re-actual-copy h2,.re-study-spanning-title){
 font-family:Manrope,Arial,sans-serif!important;font-weight:700;letter-spacing:-.05em
}
.re-study-dialog #red-eye-seating .story-stage:first-child>p+h3{margin-block-start:var(--study-title-space)!important}
@media(min-width:761px){
 html[data-re-index] .re-study-dialog #red-eye-ticket.re-feature-step:not([hidden]){
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)
 }
 html[data-re-index] .re-study-dialog #red-eye-ticket>.re-actual-copy{
  align-self:safe center;padding-inline-start:clamp(12px,2.6vw,46px)!important;box-sizing:border-box
 }
 html[data-re-index] .re-study-dialog[data-ticket-columns] #red-eye-ticket.re-feature-step:not([hidden]){
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)!important
 }
 html[data-re-index] .re-study-dialog[data-ticket-columns] #red-eye-ticket>.re-actual-copy{
  row-gap:clamp(19px,2.7vh,32px)!important
 }
}

@media(min-width:761px) and (max-width:1199px){
 .re-study-dialog:has(#red-eye-ticket:not([hidden])) .re-study-dialog-content{
  overflow:auto;overscroll-behavior:contain
 }
}
/* The fixed header sits above the stable viewer, whose background is independent
   of the live ticket board's content and its opening movement. */
.re-study-dialog:has(#red-eye-buyer:not([hidden])){background:transparent}
.re-study-dialog-shield[data-buyer-backdrop]:not([hidden]){background:#fff}
@media(min-width:761px){
 html[data-re-index] .re-study-dialog:not([data-buyer-portrait]) #red-eye-buyer>.re-actual-plane{
  margin-block-start:0;height:100%!important
 }
 .re-study-dialog:has(#red-eye-buyer:not([hidden])) .re-study-dialog-content{
  margin-block-start:0;padding-block-start:8px
 }
}

.re-study-dialog:has(#red-eye-seating:not([hidden])) .re-study-dialog-content{overflow:auto;overscroll-behavior:contain}


/* Equal desktop rows, with the right column offset by the same amount
   both times. DOM order and the compact-screen pager remain unchanged. */
@media(min-width:1200px) and (min-height:670px){
 .re-study-dialog:has(#red-eye-ticket:not([hidden])) .re-study-dialog-content{
  overflow:auto;overscroll-behavior:contain
 }
 html[data-re-index] .re-study-dialog[open][data-ticket-columns] #red-eye-ticket>.re-actual-copy{
  --ticket-stagger:clamp(115px,16vh,160px);
  --ticket-section-gap:max(clamp(44px,7.4vh,90px),calc(80px + (100dvh - 920px) * .8));
  align-self:start;align-content:start;
  grid-template-rows:max-content var(--study-title-space) max-content var(--ticket-section-gap) max-content;
  row-gap:0!important;padding-block-end:var(--ticket-stagger)!important
 }
 .re-study-dialog[data-ticket-columns] #red-eye-ticket .re-ticket-copy-title{grid-row:1}
 .re-study-dialog[data-ticket-columns] #red-eye-ticket .story-stage:nth-of-type(1){grid-column:1;grid-row:3}
 .re-study-dialog[data-ticket-columns] #red-eye-ticket .story-stage:nth-of-type(2){grid-column:2;grid-row:3;transform:translateY(var(--ticket-stagger))!important}
 .re-study-dialog[data-ticket-columns] #red-eye-ticket .story-stage:nth-of-type(3){grid-column:1;grid-row:5}
 .re-study-dialog[data-ticket-columns] #red-eye-ticket .story-stage:nth-of-type(4){grid-column:2;grid-row:5;transform:translateY(var(--ticket-stagger))!important}
}

/* Keep the shared card dimensions and hover layer. Only the art changes. */
html[data-re-index] .re-index-restored .re-index-row>.re-index-operations figure{background:#0d0d0d;isolation:isolate}
html[data-re-index] .re-index-restored .re-index-row>.re-index-producer figure>img{
 object-fit:cover;object-position:top center
}
.re-live-study--producer .re-study-first-paint{object-fit:cover;object-position:top center}
html[data-re-index] .re-index-operations figure>img{position:relative;z-index:0;object-fit:cover!important;object-position:top center}
.re-operations-lift{position:fixed;inset:0 auto auto 0;z-index:10004;pointer-events:none;overflow:hidden;transform-origin:top left}
.re-index-operations figure[data-operations-flight]>img{visibility:hidden}
/* The iframe uses explicit visibility; suppress the whole inactive stacking
   context so it cannot paint over the gallery card's title. */
.re-live-study--operations:not([data-visible=true]),
.re-live-study--operations[data-operations-flight]{opacity:0!important}
.re-index-operations figure>.re-index-mask{z-index:5}
.re-operations-lift>img{display:block;width:100%;height:auto;max-width:none}
.re-live-study--operations .re-study-first-paint{object-fit:cover;object-position:top center}

/* These are fixed-height canvases; neither the order state nor the map
   zoom changes their dimensions. The specimen stays padded inside it. */
.re-study-dialog :is(#red-eye-buyer,#red-eye-seating)>.re-actual-plane{
 background:var(--re-study-dark-canvas)
}
.re-study-dialog-canvas-paint{display:none;position:absolute;pointer-events:none;overflow:hidden;background:var(--re-study-dark-canvas)}
.re-study-dialog[data-study-canvas-flight] .re-study-dialog-canvas-paint{display:block}
.re-study-dialog #red-eye-seating>.re-actual-plane,
.re-seating-texture-flight{
 background:var(--re-seating-texture) 0 0/420px auto repeat fixed #0b0c11
}
.re-seating-texture-flight{position:fixed;inset:0;z-index:10002;pointer-events:none}
.re-study-dialog[data-study-canvas-flight] :is(#red-eye-buyer,#red-eye-seating)>.re-actual-plane{background:transparent}
@media(min-width:761px){
 html[data-re-index] .re-study-dialog #red-eye-buyer>.re-actual-copy{
  --study-section-space:clamp(8px,1.05vh,12px)
 }
 html[data-re-index] .re-study-dialog #red-eye-buyer .re-actual-copy .story-stage{
  margin-block:0 var(--study-section-space)!important
 }
 html[data-re-index] .re-study-dialog #red-eye-buyer .re-actual-copy p{
  font-size:clamp(13px,1.05vw,15px)!important;line-height:1.32!important;margin-block-end:0!important
 }
 html[data-re-index] .re-study-dialog #red-eye-buyer .re-actual-copy h3{line-height:1.13!important}
}


/* Match the portrait-paired rows; the two landscape studies retain
   their original, image-filling 1085:760 figure ratio. */
html[data-re-index] .re-index-restored .re-index-row:not(.re-index-row--balanced)>.re-index-card figure{
 height:var(--reviewed-index-height);aspect-ratio:auto
}
.re-study-dialog #red-eye-producer>.re-actual-plane{background:var(--re-study-project-surface)}


/* Common desktop viewer gutters and title origin. The art stays bespoke. */
@media(min-width:761px){
 html[data-re-index] .re-study-dialog .re-study-dialog-content,
 html[data-re-index] .re-study-dialog:has(#red-eye-buyer:not([hidden])) .re-study-dialog-content{
  padding-inline:var(--study-content-pad,28px);padding-block-start:10px
 }
 html[data-re-index] .re-study-dialog #red-eye-ticket>.re-actual-copy{
  padding-inline-start:0!important
 }
}
