/* PV LAB Full Editorial / Identity · scoped gallery revision · 2026-11-06.
   Presentation only: casting sources, reference IDs, pricing, and generation are unchanged. */
body.editorial-web #panel-model .editorial-cast-search[hidden],
body.editorial-web #panel-model #editorial-mobile-search[hidden] {display:none!important}

body.editorial-web #panel-model #casting-reference-gallery.editorial-casting-carousel {
 display:grid!important;grid-template-columns:clamp(155px,16vw,222px) minmax(0,1fr)!important;
 align-items:stretch;gap:12px!important;min-height:0;overflow:visible!important;
 padding:0!important;scroll-snap-type:none!important;
}
body.editorial-web #panel-model .editorial-cast-pinned {
 position:relative;min-width:0;height:clamp(272px,33svh,295px);
 border:1px solid #3d3e40;border-radius:4px;overflow:hidden;
 background:radial-gradient(ellipse at 65% 0%,#262726 0%,transparent 48%),
 linear-gradient(142deg,#1e1f20 0%,#101112 63%,#08090a 100%);
}
body.editorial-web #panel-model .editorial-create-character {
 position:absolute;inset:0 0 40px;z-index:1;
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 gap:13px;color:#f2efe9;text-align:center;text-decoration:none;
 transition:background .2s;
}
body.editorial-web #panel-model .editorial-create-character:hover{background:#ffffff09}
body.editorial-web #panel-model .editorial-create-symbol{font-size:34px;font-weight:300;line-height:1}
body.editorial-web #panel-model .editorial-create-character strong {
 max-width:130px;font-size:12px;font-weight:640;line-height:1.4;
 letter-spacing:.09em;text-transform:uppercase;
}
body.editorial-web #panel-model #model-drop.editorial-cast-upload {
 position:absolute!important;left:12px!important;right:12px!important;bottom:13px!important;top:auto!important;
 z-index:2;display:flex!important;align-items:center;justify-content:center;
 width:calc(100% - 24px)!important;min-width:0!important;height:35px!important;min-height:35px!important;
 max-height:35px!important;aspect-ratio:auto!important;margin:0!important;padding:5px 8px!important;
 border:1px solid #56585a!important;border-radius:2px!important;background:#17191bc9!important;
 color:#d6d4cf!important;font-size:11px!important;font-weight:550!important;
 text-transform:none!important;letter-spacing:0!important;
}
body.editorial-web #panel-model #model-drop.editorial-cast-upload:hover{border-color:#e2dfd7!important;background:#252628!important}
body.editorial-web #panel-model .editorial-cast-rail{position:relative;min-width:0;height:clamp(272px,33svh,295px)}
body.editorial-web #panel-model .editorial-cast-track{
 position:relative;display:flex!important;flex-wrap:nowrap!important;align-items:stretch;
 width:100%;height:100%;gap:12px!important;padding:0 1px 2px;
 overflow-x:auto!important;overflow-y:hidden!important;
 scroll-behavior:smooth;scroll-snap-type:x mandatory;scroll-padding-inline:1px;
 overscroll-behavior-inline:contain;scrollbar-width:none;
}
body.editorial-web #panel-model .editorial-cast-track::-webkit-scrollbar{display:none}
body.editorial-web #panel-model .editorial-cast-track .atelier-reference{
 position:relative;flex:0 0 clamp(202px,18vw,252px)!important;
 width:clamp(202px,18vw,252px)!important;min-width:0!important;
 max-width:none!important;height:100%!important;min-height:0!important;
 border-radius:4px;scroll-snap-align:start;scroll-snap-stop:normal;isolation:isolate;
}
body.editorial-web #panel-model .editorial-cast-track .atelier-reference img{
 width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 27%;
}
body.editorial-web #panel-model .editorial-cast-arrow{
 position:absolute;top:50%;z-index:5;display:grid;place-items:center;
 width:34px;height:34px;min-height:34px;padding:0;
 border:1px solid #ffffff70;border-radius:50%;
 color:#f5f2eb;background:#0a0b0bd1;
 transform:translateY(-50%);font-size:26px;font-weight:300;line-height:1;
 backdrop-filter:blur(7px);transition:opacity .15s,background .15s;
}
body.editorial-web #panel-model .editorial-cast-arrow.is-previous{left:7px}
body.editorial-web #panel-model .editorial-cast-arrow.is-next{right:7px}
body.editorial-web #panel-model .editorial-cast-arrow:hover:not(:disabled){background:#2a2b2b}
body.editorial-web #panel-model .editorial-cast-arrow:disabled{opacity:0;pointer-events:none}
body.editorial-web #panel-model .editorial-cast-track:focus-visible,
body.editorial-web #panel-model .editorial-cast-arrow:focus-visible{outline:2px solid #f3f0ea;outline-offset:3px}

/* Keep the full editor for removing a model, adding another reference, or clearing.
   It is reparented into the footer: the old duplicate mid-page strip vanishes. */
body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-footer{
 position:sticky!important;bottom:0!important;z-index:55!important;
 display:flex!important;align-items:center;gap:15px;min-height:78px;
 margin-top:auto!important;padding:10px 0 max(10px,env(safe-area-inset-bottom))!important;
 border-top:1px solid #37393a;background:#090a0bf5!important;
 backdrop-filter:blur(12px)!important;
}
body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-back{display:none!important}
body.editorial-web .flow-main:has(#panel-model:not([hidden])) #editorial-footer-cast {
 display:flex!important;flex:1 1 auto;align-items:center;gap:10px;min-width:0;margin:0;color:#eeeae3;
}
body.editorial-web #editorial-footer-cast #editorial-cast-selection{
 display:flex!important;flex:0 1 auto;align-items:center;gap:15px;
 max-width:100%;min-width:0;min-height:55px!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
 background:transparent!important;
}
body.editorial-web #editorial-footer-cast .editorial-cast-empty{margin:0;font-size:12px;color:#9c9d9b}
body.editorial-web #editorial-footer-cast .editorial-selected-cast-heading{
 order:-1;display:flex;flex:0 0 auto;align-items:center;gap:16px;
 min-width:0;justify-content:flex-start;margin:0;
}
body.editorial-web #editorial-footer-cast #model-selection-count{
 color:#ecebe6;font-weight:600;font-size:11px;letter-spacing:.025em;white-space:nowrap;
}
body.editorial-web #editorial-footer-cast #editorial-clear-cast{
 background:transparent;border:0;border-left:1px solid #414345;border-radius:0;
 padding:5px 0 5px 13px;color:#a2a4a3;font-size:11px;min-width:0;min-height:0;
}
body.editorial-web #editorial-footer-cast #editorial-clear-cast:hover{color:#f5f2eb}
body.editorial-web #editorial-footer-cast #model-thumbs.editorial-selected-cast{
 display:flex;align-items:center;gap:10px;flex:0 1 auto;
 min-width:0;max-width:min(52vw,620px);min-height:55px;overflow-x:auto;overflow-y:visible;
 padding:3px 6px;scrollbar-width:none;
}
body.editorial-web #editorial-footer-cast #model-thumbs::-webkit-scrollbar{display:none}
body.editorial-web #editorial-footer-cast .editorial-model-card.thumb {
 display:flex!important;position:relative;flex:0 0 auto!important;align-items:center;
 width:auto!important;height:52px!important;min-width:48px!important;
 max-width:none!important;margin:0;padding:0!important;overflow:visible!important;
 border:0!important;background:transparent!important;
}
body.editorial-web #editorial-footer-cast .editorial-model-cover{
 position:relative;flex:0 0 46px!important;width:46px!important;height:50px!important;
 margin:0!important;overflow:visible!important;border:0!important;
}
body.editorial-web #editorial-footer-cast .editorial-model-cover img{
 display:block;width:46px!important;height:50px!important;border-radius:3px!important;
 object-fit:cover!important;object-position:center 28%;border:1px solid #535453;
}
body.editorial-web #editorial-footer-cast .editorial-model-remove{
 position:absolute;right:-7px;top:-7px;z-index:6;display:grid;place-items:center;
 width:19px;height:19px;min-width:19px;min-height:19px;padding:0;
 background:#191b1bee;color:#fff;border:1px solid #aaa;border-radius:50%;
 font-size:13px;line-height:1;
}
body.editorial-web #editorial-footer-cast .editorial-model-info{display:none!important}
body.editorial-web #editorial-footer-cast .editorial-model-extra{display:flex;align-items:center;gap:3px;padding:0 0 0 3px;min-width:0}
body.editorial-web #editorial-footer-cast .editorial-model-extra-thumb{position:relative;width:26px;height:37px;overflow:hidden}
body.editorial-web #editorial-footer-cast .editorial-model-extra-thumb>img{width:100%;height:100%;object-fit:cover}
body.editorial-web #editorial-footer-cast .editorial-model-extra-thumb button{
 position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;margin:0;
 border:0;border-radius:0;background:transparent;color:transparent;font-size:0;cursor:pointer;
}
body.editorial-web #editorial-footer-cast .editorial-model-extra-thumb button::after{
 content:'×';position:absolute;top:0;right:0;display:grid;place-items:center;
 width:17px;height:17px;background:#060707e8;color:#fff;font-size:14px;
}
body.editorial-web #editorial-footer-cast .editorial-add-view{
 display:grid!important;place-items:center;position:static!important;
 flex:0 0 24px!important;width:24px!important;height:28px!important;min-width:0!important;
 margin:0 0 0 4px!important;padding:0!important;opacity:.9!important;
 background:#151616;border:1px solid #4b4c4e;border-radius:3px;
 color:#f3f0e9;font-size:15px;
}
body.editorial-web #editorial-footer-cast .editorial-footer-add{
 display:grid;place-items:center;flex:0 0 44px!important;width:44px!important;height:50px;
 min-width:44px!important;max-width:44px!important;min-height:50px!important;
 margin:0!important;padding:0!important;border:1px solid #444648;border-radius:3px;
 background:#171819;color:#f2f0ea;font-size:24px;
}
body.editorial-web #editorial-footer-cast .editorial-footer-add[hidden]{display:none!important}
body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next {
 flex:0 0 auto!important;justify-content:space-between!important;
 gap:24px;min-width:260px!important;min-height:52px!important;
 margin:0!important;padding:11px 18px!important;border:1px solid #f4f1ea!important;
 border-radius:3px!important;background:#f4f1ea!important;color:#101112!important;
 font-size:12px!important;font-weight:700!important;letter-spacing:.035em;
}
body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next::after{
 content:'→'!important;position:static!important;display:inline-block!important;
 width:auto!important;height:auto!important;min-width:0!important;
 border:0!important;border-radius:0!important;background:none!important;
 color:inherit!important;transform:none!important;font-size:22px!important;line-height:1;
}
body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next:disabled{
 background:#141515!important;border-color:#414344!important;color:#838582!important;opacity:1;
}
body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next:focus-visible{
 outline:2px solid white;outline-offset:3px;
}
@media (max-width:800px){
 body.editorial-web #panel-model #casting-reference-gallery.editorial-casting-carousel{
  grid-template-columns:clamp(125px,25vw,172px) minmax(0,1fr)!important;gap:9px!important;
 }
 body.editorial-web #panel-model .editorial-cast-track{gap:9px!important}
 body.editorial-web #panel-model .editorial-cast-track .atelier-reference{
  flex-basis:clamp(165px,33vw,226px)!important;width:clamp(165px,33vw,226px)!important;
 }
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next{min-width:205px!important}
 body.editorial-web #editorial-footer-cast #model-thumbs{max-width:36vw}
}
@media (max-width:600px){
 body.editorial-web #panel-model #editorial-mobile-upload{display:none!important}
 body.editorial-web #panel-model #casting-reference-gallery.editorial-casting-carousel{
  display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;
  gap:9px!important;min-height:0!important;overflow:visible!important;
 }
 body.editorial-web #panel-model .editorial-cast-pinned,
 body.editorial-web #panel-model .editorial-cast-rail{height:216px!important}
 body.editorial-web #panel-model .editorial-cast-track{
  display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  gap:9px!important;padding:0 1px 2px!important;scroll-snap-type:x mandatory!important;
 }
 body.editorial-web #panel-model .editorial-cast-track .atelier-reference{
  flex:0 0 154px!important;width:154px!important;min-width:154px!important;
  max-width:154px!important;height:100%!important;min-height:0!important;aspect-ratio:auto!important;
 }
 body.editorial-web #panel-model .editorial-cast-track .atelier-reference img{
  height:100%!important;aspect-ratio:auto!important;
 }
 body.editorial-web #panel-model .editorial-create-character{inset:0 0 38px;gap:8px}
 body.editorial-web #panel-model .editorial-create-symbol{font-size:29px}
 body.editorial-web #panel-model .editorial-create-character strong{max-width:85px;font-size:10px}
 body.editorial-web #panel-model #model-drop.editorial-cast-upload{
  display:flex!important;left:5px!important;right:5px!important;bottom:7px!important;
  width:calc(100% - 10px)!important;min-height:31px!important;height:31px!important;
  max-height:31px!important;padding:3px 4px!important;font-size:10px!important;
 }
 body.editorial-web #panel-model .editorial-cast-arrow{width:29px;height:29px;min-height:29px;font-size:22px}
 body.editorial-web #panel-model .editorial-casting-top h3{font-size:27px}
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-footer{
  position:fixed!important;left:0;right:0;bottom:0!important;
  z-index:60!important;min-height:66px;margin:0!important;
  padding:9px 12px max(9px,env(safe-area-inset-bottom))!important;
  display:flex!important;gap:10px!important;border-top:1px solid #37393a;
 }
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #editorial-footer-cast{
  flex:1 1 auto!important;min-width:0;gap:0!important;
 }
 body.editorial-web #editorial-footer-cast #editorial-cast-selection{
  flex:0 1 auto;min-width:0;min-height:40px!important;gap:7px;
  max-width:100%;padding:0!important;
 }
 body.editorial-web #editorial-footer-cast .editorial-selected-cast-heading{flex-direction:column;align-items:flex-start;gap:2px;flex:0 0 auto}
 body.editorial-web #editorial-footer-cast #model-selection-count{font-size:10px;white-space:normal;max-width:66px;line-height:1.25}
 body.editorial-web #editorial-footer-cast #editorial-clear-cast{display:inline-block!important;min-height:0;min-width:0;padding:0;border:0;color:#8b8d8b;font-size:9px;line-height:1}
 body.editorial-web #editorial-footer-cast #model-thumbs.editorial-selected-cast{
  display:flex!important;min-width:0;max-width:min(31vw,135px);gap:6px;padding:2px!important;overflow-x:auto;
 }
 body.editorial-web #editorial-footer-cast .editorial-model-card.thumb{height:39px!important;min-width:33px!important}
 body.editorial-web #editorial-footer-cast .editorial-model-cover{flex-basis:34px!important;width:34px!important;height:38px!important}
 body.editorial-web #editorial-footer-cast .editorial-model-cover img{width:34px!important;height:38px!important}
 body.editorial-web #editorial-footer-cast .editorial-add-view{display:grid!important;width:20px!important;height:25px!important;flex-basis:20px!important;margin-left:2px!important}
 body.editorial-web #editorial-footer-cast .editorial-model-extra{display:flex!important;align-items:center;gap:2px}
 body.editorial-web #editorial-footer-cast .editorial-footer-add{display:none!important}
 body.editorial-web #editorial-footer-cast .editorial-cast-empty{font-size:10px;max-width:135px}
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next{
  flex:0 0 min(45%,180px)!important;min-width:0!important;min-height:47px!important;
  padding:10px!important;gap:0!important;border-radius:2px!important;
  font-size:11px!important;letter-spacing:-.015em;
  justify-content:center!important;text-transform:none;
 }
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next::after{
  content:none!important;display:none!important;
 }
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next .editorial-next-label{
  display:inline!important;position:static!important;width:auto!important;height:auto!important;
  clip-path:none!important;white-space:normal!important;
 }
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next .editorial-next-mobile{display:none!important}
 body.editorial-web #panel-model .editorial-casting-controls{margin-top:15px}
 body.editorial-web #panel-model .editorial-composition-grid{overflow-x:auto;scroll-snap-type:x mandatory}
 body.editorial-web #panel-model .editorial-composition-option{flex-basis:75vw}
 body.editorial-web #panel-model{padding-bottom:80px}
}
@media(max-width:360px){
 body.editorial-web #panel-model #casting-reference-gallery.editorial-casting-carousel{grid-template-columns:100px minmax(0,1fr)!important}
 body.editorial-web #panel-model .editorial-cast-track .atelier-reference{flex-basis:146px!important;width:146px!important;min-width:146px!important}
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next{flex-basis:45%!important}
}
@media(prefers-reduced-motion:reduce){
 body.editorial-web #panel-model .editorial-cast-track{scroll-behavior:auto}
 body.editorial-web #panel-model .editorial-create-character,
 body.editorial-web #panel-model .editorial-cast-arrow{transition:none}
}
/* Pinned tile already contains Create Character; avoid a duplicate action. */
body.editorial-web #panel-model[data-model-mode="casting"] .editorial-casting-tabs>a[href*="createCharacter"]{display:none!important}
/* My Characters does not display the pinned tile: keep its original mobile upload. */
@media(max-width:600px){
 body.editorial-web #panel-model[data-model-mode="saved"] #editorial-mobile-upload{
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
 }
}


/* PV LAB IDENTITY / approved monochrome reference · 06 Nov 2026.
   Scoped to Full Editorial Identity only, no shared Studio / paid-generation changes.
   Flat black, sharp condensed typography, borderless photographic cards. */
body.editorial-web .flow-main:has(#panel-model:not([hidden])){background:#08090a}
body.editorial-web #panel-model{min-width:0}
body.editorial-web #panel-model .atelier-casting-top h3{font-family:Impact,'Arial Narrow',sans-serif}
body.editorial-web #panel-model #casting-reference-gallery.editorial-casting-carousel{
 grid-template-columns:clamp(180px,14.5vw,240px) minmax(0,1fr)!important;
 gap:14px!important;
}
body.editorial-web #panel-model .editorial-cast-pinned{
 border:0!important;border-radius:0!important;
 background:linear-gradient(123deg,#141515 0%,#08090a 55%,#111213 100%)!important;
}
body.editorial-web #panel-model .editorial-create-character{inset:0 0 36px;gap:17px}
body.editorial-web #panel-model .editorial-create-symbol{font-size:57px;font-weight:200}
body.editorial-web #panel-model .editorial-create-character strong{
 font-size:13px;font-weight:650;letter-spacing:.13em;
}
body.editorial-web #panel-model #model-drop.editorial-cast-upload{
 left:12px!important;right:12px!important;bottom:10px!important;
 border:0!important;border-top:1px solid #373839!important;border-radius:0!important;
 width:calc(100% - 24px)!important;height:29px!important;min-height:29px!important;
 background:transparent!important;color:#b6b8b7!important;
 font-size:11px!important;letter-spacing:.03em!important;
}
body.editorial-web #panel-model #model-drop.editorial-cast-upload:hover{
 color:#fff!important;border-top-color:#b7b7b7!important;background:transparent!important;
}
body.editorial-web #panel-model .editorial-cast-track{gap:14px!important}
body.editorial-web #panel-model .editorial-cast-track .atelier-reference{
 border:0!important;border-radius:0!important;
 flex-basis:clamp(211px,17vw,254px)!important;width:clamp(211px,17vw,254px)!important;
}
body.editorial-web #panel-model .editorial-cast-track .atelier-reference>span{
 left:0!important;right:0!important;bottom:0!important;
 padding:30px 12px 12px!important;
 font-size:11px!important;letter-spacing:.045em!important;
 background:linear-gradient(0deg,#070708df,transparent 80%)!important;
}
body.editorial-web #panel-model .editorial-cast-track .atelier-reference.is-selected{
 outline:1px solid #eeeae4!important;outline-offset:-1px;
}
body.editorial-web #panel-model .editorial-cast-arrow{
 width:37px;height:37px;min-height:37px;
 border:1px solid #bcbdbdb0!important;border-radius:50%;
 background:#060606ce!important;box-shadow:none!important;
 backdrop-filter:none!important;color:#fff;
}
body.editorial-web #panel-model .editorial-cast-arrow:hover:not(:disabled){background:#303030!important}
body.editorial-web #panel-model .editorial-cast-arrow:disabled{opacity:0!important}

/* Composition follows Identity's footer as a permanent, accessible shelf. */
body.editorial-web .flow-main > #editorial-casting-controls[hidden]{display:none!important}
body.editorial-web .flow-main > #editorial-casting-controls:not([hidden]){
 position:relative;display:grid!important;
 grid-template-columns:minmax(230px,23%) minmax(0,1fr)!important;
 align-items:start;gap:28px;
 padding:30px 0 10px!important;margin:22px 0 0!important;
 min-height:165px;border:0!important;border-top:1px solid #363738!important;
 background:transparent!important;border-radius:0!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-heading{
 display:flex!important;flex-direction:column;align-items:flex-start;
 margin:0!important;gap:7px;max-width:100%;min-width:0;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-heading h4{
 margin:0!important;font-family:Impact,'Arial Narrow',DM,Arial,sans-serif!important;
 font-size:clamp(35px,2.8vw,47px)!important;font-weight:700!important;
 font-synthesis:none!important;letter-spacing:.01em!important;
 line-height:.94!important;text-transform:uppercase;
 color:#f4f2ef!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-heading p{
 margin:0!important;max-width:280px;
 font-size:11px!important;font-weight:600!important;
 letter-spacing:.16em;text-transform:uppercase;line-height:1.4;
 color:#d2d1cc!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-toggle{
 position:absolute;right:0;top:21px;z-index:2;
 display:grid;place-items:center;width:30px;height:30px;min-height:30px;
 padding:0;margin:0;border:0;border-radius:0;background:transparent;color:#dfded9;
 font-family:Arial,sans-serif;font-size:24px;font-weight:300;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-toggle:focus-visible{
 outline:2px solid #f4f1ea;outline-offset:2px;
}
body.editorial-web .flow-main > #editorial-casting-controls.is-collapsed .editorial-composition-toggle{transform:rotate(180deg)}
body.editorial-web .flow-main > #editorial-casting-controls.is-collapsed .editorial-composition-grid{display:none!important}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-grid{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:12px!important;min-width:0;max-width:100%;
 padding:0 42px 0 0!important;margin:3px 0 0!important;
 overflow:visible!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-option{
 position:relative;display:block!important;
 width:100%!important;flex:initial!important;
 height:132px!important;min-height:132px!important;
 margin:0!important;padding:0!important;
 border:1px solid #292b2c!important;border-radius:0!important;
 box-shadow:none!important;filter:none;overflow:hidden;cursor:pointer;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-option.is-selected{
 border-color:#f4f1ea!important;box-shadow:none!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-art img{
 object-position:center 28%;filter:brightness(.83) saturate(.82) contrast(1.02);
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-option::after{
 background:linear-gradient(0deg,#060607d9 0%,#06060745 52%,transparent 82%)!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-copy{
 left:13px!important;right:33px!important;bottom:12px!important;gap:4px!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-copy strong{
 font-size:13px!important;font-weight:720!important;letter-spacing:.10em!important;text-transform:uppercase!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-copy small{
 font-size:10px!important;color:#e2e1dd!important;line-height:1.4;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-check{box-shadow:none!important}
body.editorial-web .flow-main > #editorial-casting-controls[data-cast-state="empty"] .editorial-composition-option{
 opacity:.32!important;filter:grayscale(.45)!important;cursor:default;
}
body.editorial-web .flow-main > #editorial-casting-controls[data-cast-state="solo"] .editorial-composition-option:not(.is-selected){
 opacity:.32!important;filter:grayscale(.45)!important;cursor:default;
}
body.editorial-web .flow-main > #editorial-casting-controls[data-cast-state="solo"] .editorial-composition-option.is-selected{
 opacity:1!important;filter:none!important;cursor:default;
}
body.editorial-web .flow-main > #editorial-casting-controls:not([data-cast-state="group"]) .editorial-composition-option:disabled:hover{
 border-color:#292b2c!important;
}
body.editorial-web .flow-main > #editorial-casting-controls #editorial-cast-summary{
 position:absolute!important;width:1px;height:1px;overflow:hidden;white-space:nowrap;
 clip-path:inset(50%);margin:-1px;padding:0;border:0;
}
body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-footer{
 position:relative!important;bottom:auto!important;z-index:8!important;
 min-height:68px!important;padding:9px 0 12px!important;
 margin:20px 0 0!important;background:#08090a!important;backdrop-filter:none!important;
 border-top:0!important;border-bottom:1px solid #343638!important;
}
body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next{
 min-width:235px!important;min-height:50px!important;border-radius:0!important;
 box-shadow:none!important;
}
body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next:disabled{
 border-color:#3c3d3d!important;background:transparent!important;color:#777978!important;
}
/* Same horizontal casting treatment in My Characters (but keep its sign-in/loading text). */
body.editorial-web #panel-model #editorial-saved-rail:not([hidden]){
 display:block;position:relative;min-width:0;overflow:hidden;
}
body.editorial-web #panel-model #editorial-saved-rail[hidden]{display:none!important}
body.editorial-web #panel-model #editorial-saved-rail #saved-character-gallery:not([hidden]){
 display:flex!important;grid-template-columns:none!important;
 flex-wrap:nowrap!important;gap:14px!important;overflow-x:auto!important;overflow-y:hidden;
 padding:0 2px 3px!important;scroll-snap-type:x mandatory!important;
 scroll-behavior:smooth;scrollbar-width:none;min-height:170px;
}
body.editorial-web #panel-model #editorial-saved-rail #saved-character-gallery::-webkit-scrollbar{display:none}
body.editorial-web #panel-model #editorial-saved-rail #saved-character-gallery .editorial-saved-cast{
 flex:0 0 clamp(211px,17vw,254px)!important;width:clamp(211px,17vw,254px)!important;
 height:clamp(272px,33svh,295px)!important;min-width:0!important;
 border:0!important;border-radius:0!important;scroll-snap-align:start;
}
body.editorial-web #panel-model #editorial-saved-rail .editorial-cast-arrow{z-index:10}

@media(min-width:801px){
 body.editorial-web .editorial-flow{padding-top:0!important}
 body.editorial-web #panel-model .stage-visual{height:clamp(237px,calc(29svh - 12px),281px)!important;border:0!important}
 body.editorial-web #panel-model .stage-visual>img{
  object-position:54% 24%!important;filter:brightness(.69) contrast(1.04);
 }
 body.editorial-web #panel-model .stage-copy{
  left:clamp(19px,3.6vw,64px)!important;bottom:clamp(40px,7svh,76px)!important;z-index:4;
 }
 body.editorial-web #panel-model .stage-copy h2{
  font-family:Impact,'Arial Narrow',DM,Arial,sans-serif!important;
  /* Impact is intrinsically bold (synthesis disabled); DM 700 is bundled as a
     consistent, readable fallback on machines without Impact. */
  font-weight:700!important;font-synthesis:none!important;
  font-size:clamp(72px,6.4vw,100px)!important;
  letter-spacing:.02em!important;line-height:.9!important;text-transform:uppercase;
  margin:7px 0 11px!important;
 }
 body.editorial-web #panel-model .stage-copy p{
  font-size:12px!important;font-weight:650!important;letter-spacing:.12em!important;
  text-transform:uppercase;line-height:1.3!important;
 }
 body.editorial-web #panel-model .stage-visual .editorial-flow-rail{display:none!important}
 body.editorial-web #panel-model .atelier-workspace{padding-top:0!important;padding-bottom:0!important}
 body.editorial-web #panel-model[data-model-mode="casting"] .editorial-casting-top{display:none!important}
 body.editorial-web #panel-model[data-model-mode="casting"] .editorial-casting-tabs{
  margin-top:-40px!important;position:relative;z-index:9;
  border:0!important;gap:30px!important;height:40px;
  margin-bottom:17px!important;
 }
 body.editorial-web #panel-model .editorial-casting-tabs .atelier-tab{
  font-size:12px!important;font-weight:650;letter-spacing:.13em!important;text-transform:uppercase;
 }
 body.editorial-web #panel-model #casting-reference-gallery.editorial-casting-carousel{
  margin-top:0!important;
 }
}
@media(min-width:801px) and (max-height:950px){
 body.editorial-web #panel-model .editorial-cast-pinned,
 body.editorial-web #panel-model .editorial-cast-rail{height:clamp(254px,31.4svh,284px)!important}
}
@media(max-width:800px){
 body.editorial-web .flow-main > #editorial-casting-controls:not([hidden]){
  grid-template-columns:1fr!important;gap:13px!important;
  margin:18px 0 0!important;padding:20px 0 88px!important;
 }
 body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-heading h4{
  font-size:34px!important;
 }
 body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-grid{
  display:flex!important;grid-template-columns:none!important;gap:10px!important;
  overflow-x:auto!important;padding:0 0 4px!important;
  scroll-snap-type:x mandatory;scrollbar-width:none;
 }
 body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-option{
  flex:0 0 min(76vw,320px)!important;width:min(76vw,320px)!important;
  height:146px!important;min-height:146px!important;scroll-snap-align:start;
 }
 body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-toggle{top:14px}
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-footer{
  position:fixed!important;bottom:0!important;left:0;right:0;
  margin:0!important;border-bottom:0!important;
  border-top:1px solid #343638!important;z-index:60!important;
  padding:8px 12px max(8px,env(safe-area-inset-bottom))!important;
 }
}
@media(max-width:600px){
 body.editorial-web #panel-model #casting-reference-gallery.editorial-casting-carousel{
  grid-template-columns:112px minmax(0,1fr)!important;gap:9px!important;
 }
 body.editorial-web #panel-model .editorial-cast-track .atelier-reference{
  flex-basis:154px!important;width:154px!important;
 }
 body.editorial-web #panel-model .editorial-cast-track{gap:9px!important}
 body.editorial-web #panel-model #editorial-saved-rail #saved-character-gallery .editorial-saved-cast{
  flex:0 0 154px!important;width:154px!important;height:216px!important;
 }
 body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-copy strong{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){
 body.editorial-web #panel-model #editorial-saved-rail #saved-character-gallery{scroll-behavior:auto!important}
}


/* At 1440px and below, the original references scroll with arrows and keyboard.
   Wider screens show all five photos. No clone cards or invented identities. */
@media(min-width:801px){
 body.editorial-web #panel-model .editorial-cast-rail{max-width:none!important;width:100%!important}
}
@media(min-width:801px) and (max-width:1550px){
 body.editorial-web #panel-model .editorial-cast-track .atelier-reference{
  flex:0 0 clamp(215px,18vw,244px)!important;
  width:clamp(215px,18vw,244px)!important;
 }
}
@media(min-width:1551px){
 body.editorial-web #panel-model .editorial-cast-track .atelier-reference{
  flex:0 0 min(280px,calc((100% - 64px)*.2))!important;
  width:min(280px,calc((100% - 64px)*.2))!important;
 }
}
@media(max-width:600px){
 body.editorial-web #panel-model{padding-bottom:10px!important}
}


/* Composition is now a sibling of the step footer, NOT a child of #panel-model.
   Restore the photographic option primitives that the old contextual CSS supplied. */
body.editorial-web .flow-main > #editorial-casting-controls:not([hidden]){
 box-sizing:border-box;width:100%!important;max-width:none!important;
 grid-template-columns:clamp(270px,26vw,360px) minmax(0,1fr)!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-heading{min-width:0}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-heading h4{
 font-size:clamp(35px,2.8vw,47px)!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-option{
 display:block!important;position:relative!important;min-width:0!important;
 background:#161718!important;color:#f4f2ef!important;text-align:left!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-art{
 display:flex!important;position:absolute!important;inset:0!important;overflow:hidden!important;
 width:100%!important;height:100%!important;pointer-events:none;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-art img{
 display:block!important;flex:1 1 0!important;width:100%!important;
 min-width:0!important;height:100%!important;object-fit:cover!important;
 object-position:center 28%!important;filter:brightness(.83) saturate(.82) contrast(1.02)!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-art img:not(:only-child){
 flex:1 1 50%!important;width:50%!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-option::after{
 content:''!important;position:absolute!important;inset:0!important;z-index:1!important;
 background:linear-gradient(0deg,#080808ed 0%,#08080850 48%,transparent 85%)!important;
 pointer-events:none;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-copy{
 position:absolute!important;z-index:2!important;display:grid!important;align-content:end!important;
 pointer-events:none;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-check{
 position:absolute!important;z-index:3!important;top:9px!important;right:9px!important;
 display:block!important;width:20px!important;height:20px!important;
 border:1px solid #f1f0ec!important;border-radius:50%!important;
 background:#08090a65!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-option.is-selected .editorial-composition-check{
 border-color:#f4f1e9!important;background:#f4f1e9!important;
}
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-option.is-selected .editorial-composition-check::after{
 content:'✓'!important;position:absolute;inset:0;display:grid;place-items:center;
 color:#111!important;font-size:12px!important;font-weight:700!important;
}
@media(min-width:801px){
 body.editorial-web #panel-model .stage-copy h2{
  transform:scaleX(.90);transform-origin:left center;
 }
 body.editorial-web #editorial-footer-cast .editorial-model-card.thumb .editorial-add-view{
  opacity:0!important;
 }
 body.editorial-web #editorial-footer-cast .editorial-model-card.thumb:hover .editorial-add-view,
 body.editorial-web #editorial-footer-cast .editorial-model-card.thumb:focus-within .editorial-add-view{
  opacity:1!important;
 }
}
@media(max-width:800px){
 body.editorial-web .flow-main > #editorial-casting-controls:not([hidden]){
  grid-template-columns:1fr!important;
 }
}

/* Image-2 reference: retain the strong portrait hero and full casting photographs.
   Natural page scrolling is preferable to squeezing art into a dashboard on low windows. */
@media(min-width:801px) and (max-height:950px){
 body.editorial-web #panel-model .stage-visual{height:clamp(236px,calc(31svh - 12px),273px)!important}
 body.editorial-web #panel-model .stage-copy{bottom:clamp(57px,7svh,78px)!important}
 body.editorial-web #panel-model .stage-copy h2{
  font-size:clamp(72px,6.4vw,100px)!important;margin:6px 0 10px!important
 }
 body.editorial-web #panel-model .editorial-cast-pinned,
 body.editorial-web #panel-model .editorial-cast-rail{height:clamp(258px,31svh,294px)!important}
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-footer{
  min-height:62px!important;margin:8px 0 0!important;padding:7px 0 9px!important
 }
 body.editorial-web .flow-main > #editorial-casting-controls:not([hidden]){
  min-height:0!important;margin:8px 0 0!important;padding:11px 0 6px!important;gap:20px!important
 }
}
@media(min-width:801px) and (max-height:760px){
 body.editorial-web #panel-model .stage-visual{height:clamp(180px,25svh,198px)!important}
 body.editorial-web #panel-model .editorial-cast-pinned,
 body.editorial-web #panel-model .editorial-cast-rail{height:clamp(192px,32svh,238px)!important}
 body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-option{
  height:110px!important;min-height:110px!important
 }
}

/* PVLAB_IDENTITY_HERO_COMPOSITION_BALANCE_20261111
   Desktop only. Give the three Composition choices 12px of vertical space
   reclaimed from the Identity hero, without moving the casting cards or
   changing the compact <=760px desktop and <=800px mobile layouts. */
@media(min-width:801px) and (min-height:761px){
 body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-option{
  height:144px!important;min-height:144px!important;
 }
}

/* The approved reference anchors Identity to the left edge of the hero,
   with both navigation actions unobtrusively accessible on the upper right. */
@media(min-width:1200px) and (min-height:780px){
 body.editorial-web #panel-model .stage-copy{
  left:0!important;
  bottom:clamp(101px,13svh,126px)!important;
 }
 body.editorial-web #panel-model .stage-visual>.stage-navigation .progress-top{
  left:auto!important;right:20px!important;top:10px!important;
  display:flex!important;align-items:center;justify-content:flex-end;
  width:auto!important;gap:26px!important;
 }
 body.editorial-web #panel-model .stage-visual>.stage-navigation .step-track{display:none!important}
}

/* Wider desktop frame matching the approved 16:9 reference. Identity only. */
@media(min-width:1200px){
 body.editorial-web .editorial-flow:has(#panel-model:not([hidden])){
  padding-left:clamp(32px,3.5vw,66px)!important;
  padding-right:clamp(32px,3.5vw,66px)!important;
 }
 body.editorial-web .flow-main:has(#panel-model:not([hidden])){
  max-width:1760px!important;width:100%!important;
 }
 body.editorial-web #panel-model #casting-reference-gallery.editorial-casting-carousel{
  grid-template-columns:clamp(200px,14.5vw,240px) minmax(0,1fr)!important;
  gap:14px!important;
 }
}

/* PVLAB_IDENTITY_CONTINUE_MIXED_TYPE_20261111
   Only the Identity desktop/tablet Continue label; retain the existing
   rectangular button, arrow, state handling and small-screen layout. */
@media (min-width:601px) {
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next {
  border-color:#bbb7ae!important;
  font-family:DM,'Helvetica Neue',Arial,sans-serif!important;
  letter-spacing:normal!important;
 }
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next .editorial-next-label {
  display:inline-block;
  white-space:nowrap;
  text-transform:none;
  transform:scaleY(1.1);
  transform-origin:center;
 }
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next .editorial-next-verb {
  font-size:16px;
  font-weight:650;
  letter-spacing:-.018em;
 }
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-next .editorial-next-target {
  font-size:15.5px;
  font-weight:410;
  letter-spacing:-.018em;
 }
}

/* PVLAB_IDENTITY_SAVED_IN_PLACE_20261111
   Browser-only: keep the same pinned Create Character tile, horizontal
   portrait rail, cast footer and Composition shelf for both source tabs. */
body.editorial-web #panel-model #casting-reference-gallery[hidden]{
 display:none!important;
}
body.editorial-web #panel-model[data-model-mode="saved"] #editorial-cast-track,
body.editorial-web #panel-model[data-model-mode="saved"] #editorial-cast-prev,
body.editorial-web #panel-model[data-model-mode="saved"] #editorial-cast-next{
 display:none!important;
}
body.editorial-web #panel-model #casting-reference-gallery .editorial-cast-rail > #editorial-saved-rail[hidden]{
 display:none!important;
}
body.editorial-web #panel-model #casting-reference-gallery .editorial-cast-rail > #editorial-saved-rail:not([hidden]){
 position:absolute!important;inset:0!important;z-index:5;
 display:block!important;width:100%;height:100%;
 min-height:0!important;margin:0!important;padding:0!important;
 overflow:hidden!important;
}
body.editorial-web #panel-model #casting-reference-gallery #editorial-saved-rail #saved-character-gallery:not([hidden]){
 display:flex!important;align-items:stretch!important;
 width:100%;height:100%!important;min-height:0!important;
 margin:0!important;padding:0 1px 2px!important;
 overflow-x:auto!important;overflow-y:hidden!important;
 scroll-snap-type:x mandatory!important;
}
body.editorial-web #panel-model #casting-reference-gallery #saved-character-gallery .editorial-saved-cast{
 height:100%!important;min-height:0!important;max-height:none!important;
 aspect-ratio:auto!important;overflow:hidden!important;
 border-radius:0!important;flex-shrink:0!important;
}
body.editorial-web #panel-model #casting-reference-gallery #saved-character-gallery .editorial-saved-cast img{
 display:block;width:100%!important;height:100%!important;
 object-fit:cover!important;object-position:center 27%!important;
}
body.editorial-web #panel-model[data-model-mode="saved"] #casting-reference-gallery{
 display:grid!important;
}
@media(min-width:801px){
 body.editorial-web #panel-model .atelier-workspace{position:relative}
 body.editorial-web #panel-model[data-model-mode="saved"] .editorial-casting-top{
  position:absolute!important;top:-40px!important;right:0!important;
  display:flex!important;justify-content:flex-end!important;
  align-items:center!important;z-index:12;
  width:min(320px,35vw);height:40px!important;min-height:40px!important;
  margin:0!important;padding:0!important;pointer-events:none;
 }
 body.editorial-web #panel-model[data-model-mode="saved"] .editorial-casting-top h3{
  display:none!important;
 }
 body.editorial-web #panel-model[data-model-mode="saved"] .editorial-casting-top .editorial-cast-search:not([hidden]){
  pointer-events:auto;
 }
 body.editorial-web #panel-model[data-model-mode="saved"] .editorial-casting-tabs{
  margin-top:-40px!important;position:relative;z-index:9;
  border:0!important;gap:30px!important;height:40px;
  margin-bottom:17px!important;
 }
 body.editorial-web #panel-model .editorial-casting-tabs>a[href*="createCharacter"]{
  display:none!important;
 }
}

/* PVLAB_CASTING_WHEEL_NORMAL_DELTA_20261111
   Ordinary 30–120px desktop wheel movements must not snap back to zero.
   Mobile touch snapping and saved character/gallery sizing remain unchanged. */
@media (min-width:801px) {
 body.editorial-web #panel-model #editorial-cast-track.editorial-cast-track {
  scroll-snap-type:none!important;
  scroll-behavior:auto!important;
 }
}

/* PVLAB_IDENTITY_STABLE_COMPOSITION_20261117
   Desktop Identity only: moderately taller portraits, steady selection dock.
   Do not change mobile dimensions, photos, workflow or generation behavior. */
@media (min-width:801px) and (min-height:761px) {
 body.editorial-web #panel-model .editorial-cast-pinned,
 body.editorial-web #panel-model .editorial-cast-rail {
  height:clamp(274px,calc(31svh + 16px),310px)!important;
 }
 body.editorial-web .flow-main:has(#panel-model:not([hidden])) #step-footer {
  box-sizing:border-box!important;
  height:72px!important;min-height:72px!important;max-height:72px!important;
  margin:8px 0 0!important;padding:8px 0!important;
  align-items:center!important;overflow:visible!important;
 }
 body.editorial-web #editorial-footer-cast #editorial-cast-selection {
  box-sizing:border-box!important;
  height:56px!important;min-height:56px!important;max-height:56px!important;
  align-items:center!important;overflow:visible!important;
 }
 body.editorial-web #editorial-footer-cast #model-thumbs.editorial-selected-cast {
  box-sizing:border-box!important;height:56px!important;min-height:56px!important;
  max-height:56px!important;align-items:center!important;
 }
}

/* PVLAB_IDENTITY_APPROVED_CAST_20261117
   Match the approved no-world Identity screenshot: less unused portrait-hero
   space and taller unchanged photographic character cards, desktop only. */
@media(min-width:801px) and (min-height:761px){
 body.editorial-web #panel-model .stage-visual{height:clamp(216px,calc(27svh - 14px),232px)!important}
 body.editorial-web #panel-model .stage-copy{bottom:clamp(78px,9.2svh,88px)!important}
 body.editorial-web #panel-model .editorial-cast-pinned,
 body.editorial-web #panel-model .editorial-cast-rail{height:clamp(290px,calc(33svh + 10px),324px)!important}
}

/* PVLAB_IDENTITY_FEATURED_CAST_NOTICE_20261118: ephemeral 5th-character cue.
   Position it beside selected portraits, not after Composition or in layout flow. */
body.editorial-web #editorial-footer-cast #editorial-cast-selection{
 position:relative!important;overflow:visible!important;
}
body.editorial-web #editorial-footer-cast .editorial-cast-limit-toast{
 position:absolute;z-index:8;left:calc(100% + 20px);top:50%;
 display:inline-flex;align-items:center;gap:9px;max-width:280px;
 white-space:nowrap;color:#c9c9c7;font-size:11px;
 font-weight:500;letter-spacing:.005em;line-height:1.35;
 opacity:0;visibility:hidden;pointer-events:none;
 transform:translateY(calc(-50% + 5px));
 transition:opacity .28s ease,transform .38s cubic-bezier(.2,.7,.2,1),visibility 0s linear .38s;
}
body.editorial-web #editorial-footer-cast .editorial-cast-limit-toast::before{
 content:'ⓘ';display:inline-block;color:#e5e4e0;font-size:16px;font-weight:400;
}
body.editorial-web #editorial-footer-cast .editorial-cast-limit-toast.is-visible{
 opacity:1;visibility:visible;transform:translateY(-50%);
 transition:opacity .28s ease,transform .38s cubic-bezier(.2,.7,.2,1),visibility 0s;
}
@media(min-width:801px) and (max-width:1180px){
 body.editorial-web #editorial-footer-cast .editorial-cast-limit-toast{
  left:auto;right:0;top:-8px;max-width:270px;
  transform:translateY(calc(-100% + 5px));background:#0a0b0bdc;padding:6px 8px;
 }
 body.editorial-web #editorial-footer-cast .editorial-cast-limit-toast.is-visible{transform:translateY(-100%)}
}
@media(max-width:800px){
 body.editorial-web #editorial-footer-cast .editorial-cast-limit-toast{
  position:fixed;left:12px;right:12px;top:auto;
  bottom:calc(77px + env(safe-area-inset-bottom));
  width:max-content;max-width:calc(100vw - 24px);
  padding:9px 12px;background:#151617;border:1px solid #414244;
  transform:translateY(5px);font-size:11px;white-space:normal;
 }
 body.editorial-web #editorial-footer-cast .editorial-cast-limit-toast.is-visible{transform:translateY(0)}
}
@media(prefers-reduced-motion:reduce){
 body.editorial-web #editorial-footer-cast .editorial-cast-limit-toast{transition:none!important}
}

/* PVLAB_MOBILE_CAST_INERTIA_20261118: keep the user's native kinetic momentum.
   Without mandatory snap, a finger flick glides freely through the portraits. */
@media(max-width:800px){
 body.editorial-web #panel-model #editorial-cast-track.editorial-cast-track,
 body.editorial-web #panel-model #casting-reference-gallery #saved-character-gallery,
 body.editorial-web .flow-main > #editorial-casting-controls #editorial-composition-choices.editorial-composition-grid{
  scroll-snap-type:none!important;
  scroll-behavior:auto!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
 }
}

/* PVLAB_COMPOSITION_FACE_SAFE_20261118: keep selected faces visible in the
   existing dynamic image cards. No layout, caption or original-photo changes. */
body.editorial-web .flow-main > #editorial-casting-controls .editorial-composition-art img{
 object-position:center var(--composition-portrait-focus,28%)!important;
 object-fit:var(--composition-portrait-fit,cover)!important;
}


/* PVLAB_IDENTITY_THUMB_REMOVE_OVERFLOW_FIX_20261123
   Selected-model photos and the negative-offset remove chips already have the
   approved sizes. A scrollable #model-thumbs computes overflow-y:auto and
   clips the upper semicircle of X chips. On desktop 4 thumbnails fit, so
   expose overflow without changing any geometry or the Identity design. */
@media(min-width:801px){
 body.editorial-web #editorial-footer-cast #model-thumbs.editorial-selected-cast{
  overflow:visible!important;
 }
 body.editorial-web #editorial-footer-cast .editorial-model-remove{
  z-index:7;
 }
}
