
/* PV LAB Full Editorial - image-led creation flow, 2026-10-30.
   Presentation only; server-quoted generation remains in full-editorial.js. */
:root{--atelier-black:#08090a;--atelier-white:#f6f3ec;--atelier-border:#38393a;--atelier-muted:#a7a7aa}
/* Reserve the desktop scrollbar track before content/auth initialization.
   Prevents the full-bleed cover photograph from re-cropping by a few pixels. */
@media (min-width:801px){html{scrollbar-gutter:stable}}

.editorial-header{background:#0a0a0beb}
.editorial-hero{height:calc(100svh - 78px);min-height:610px;max-height:1100px;background:#0a0a0a}
.editorial-hero-art{z-index:-3}
.editorial-hero-art img{inset:0!important;top:0!important;right:0!important;width:100%!important;height:100%!important;max-width:none!important;transform:none!important;object-fit:cover!important;object-position:67% 35%!important;filter:brightness(.84) saturate(.78) contrast(1.06)!important}
.editorial-hero-overlay{background:linear-gradient(90deg,rgba(3,4,4,.94),rgba(3,4,4,.72) 27%,rgba(3,4,4,.19) 60%,rgba(3,4,4,.04) 90%),linear-gradient(0deg,#08090a98,transparent 30%)!important}
.editorial-hero-copy{position:absolute;left:clamp(25px,4vw,78px);top:49%;bottom:auto;right:auto;transform:translateY(-50%);width:min(600px,50vw);max-width:none}
.editorial-hero h1{font-family:DM,'Helvetica Neue',Arial,sans-serif;font-size:clamp(86px,7.65vw,146px);font-weight:420;letter-spacing:-.097em;line-height:.88;margin:27px 0 31px}
.editorial-hero .hero-title-italic{font-family:Georgia,Times,serif;font-style:italic;font-weight:400;letter-spacing:-.085em;font-size:.93em}
.editorial-hero .hero-lead{font-size:clamp(16px,1.4vw,21px);letter-spacing:-.03em;color:#f6f2e9;margin-bottom:9px}
.editorial-hero .hero-support{font-size:clamp(13px,1vw,16px);line-height:1.6;color:#dbd9d6;max-width:355px;margin-bottom:29px}
.editorial-hero .hero-start{background:#f4f1e9;border-color:#f4f1e9;color:#0b0c0c;min-width:clamp(280px,24vw,365px);min-height:65px;padding:19px 29px;border-radius:999px;font-size:15px;font-weight:650;justify-content:space-between;gap:26px;letter-spacing:-.025em}
.editorial-hero .hero-start-label{font-family:DM,'Helvetica Neue',Arial,sans-serif;font-size:clamp(17px,1.54vw,21px);font-weight:500;line-height:1;letter-spacing:-.04em;white-space:nowrap}
.editorial-hero .hero-start-label em{font-family:Georgia,'Times New Roman',serif;font-size:1.428571em;font-weight:400;font-style:italic;line-height:0;letter-spacing:-.055em;margin-left:3px}
.editorial-hero .hero-start:hover:not(:disabled){background:#fff;border-color:#fff;transform:translateY(-3px);box-shadow:0 20px 50px #0008}
.editorial-hero-process{z-index:2}
.editorial-hero-process>span{font-size:10px;color:#f1eee8}
.editorial-flow{display:block;max-width:none;min-height:calc(100svh - 78px);padding:34px clamp(18px,3vw,57px) 95px;background:#08090a;scroll-margin-top:78px}
.intro-rail{display:none!important}
.flow-main{position:relative;max-width:1620px;min-height:600px;margin:auto;padding:0;background:transparent;border:0;box-shadow:none;border-radius:0}
.progress-top{display:flex;justify-content:space-between;align-items:center;padding:7px 0 12px;margin-bottom:11px}
.progress-top .eyebrow{font-size:10px;letter-spacing:.22em}
.progress-top .step-track{display:none}
.progress-top .text-action{text-transform:uppercase;font-size:10px;letter-spacing:.08em}
.editorial-flow-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 20px;border-top:1px solid #444;border-bottom:1px solid #303235}
.editorial-flow-rail>span{display:flex;align-items:center;gap:13px;min-width:0;white-space:normal;padding:14px 8px;border-top:2px solid transparent;color:#86888b;font-size:clamp(10px,1vw,13px);font-weight:600;letter-spacing:.02em;text-transform:uppercase}
.editorial-flow-rail small{font-size:10px;font-weight:400;color:inherit}
.editorial-flow-rail>span.is-current{border-top:2px solid #f4f2eb;padding-top:14px;color:#f6f5f2}
.editorial-flow-rail>span.is-complete{border-top-color:#777;color:#c6c5c3}
.step-panel{min-width:0}
.stage-visual{height:clamp(350px,49svh,630px);position:relative;overflow:hidden;isolation:isolate;background:#17191b;border-radius:2px}
.stage-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.82) saturate(.76) contrast(1.03)}
.stage-visual:after{content:'';pointer-events:none;position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,#060708d6 0%,#08090a75 30%,transparent 76%),linear-gradient(0deg,#070808aa,transparent 47%)}
.stage-visual--identity>img{object-position:58% 35%}
.stage-visual--style>img{object-position:center 43%}
.stage-visual--world>img{object-position:center 50%}
.stage-copy{position:absolute;z-index:1;left:clamp(27px,4vw,72px);bottom:clamp(26px,4vw,66px);max-width:560px}
.stage-index,.step-kicker{display:block;color:#ebe8e0;font-size:10px;font-weight:600;letter-spacing:.22em;text-transform:uppercase}
.stage-copy h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(69px,7.4vw,126px);font-weight:400;letter-spacing:-.08em;line-height:.93;margin:22px 0 16px}
.stage-copy p{font-size:clamp(14px,1.2vw,19px);line-height:1.45;color:#f0eeeb;margin:0;max-width:380px}
.atelier-workspace{padding:clamp(24px,3.2vw,58px) 0 8px}
.atelier-section-top{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:22px}
.atelier-section-top h3{font-size:clamp(25px,3.3vw,45px);line-height:1.1;letter-spacing:-.063em;font-weight:500;margin:11px 0 10px}
.atelier-section-top p{color:#a9aaad;font-size:13px;line-height:1.65;max-width:670px;margin:0}
.atelier-source-tabs{display:flex;align-items:center;gap:22px;overflow-x:auto;border-bottom:1px solid #343536;margin:0 0 21px;scrollbar-width:none}
.atelier-source-tabs::-webkit-scrollbar{display:none}
.atelier-tab{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:42px;white-space:nowrap;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;color:#a0a0a3;font-weight:500;font-size:13px;padding:9px 0 12px;transition:color .18s,border-color .18s}
.atelier-tab:hover{color:#eee}
.atelier-tab.is-selected,.atelier-tab[aria-selected=true]{background:transparent;color:#f4f2ed;border-bottom-color:#f4f2ed}
.atelier-cast-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.atelier-reference,.atelier-look{min-width:0;display:block;position:relative;background:#131416;border:1px solid #303235;padding:0;border-radius:3px;overflow:hidden;color:#fff;cursor:pointer;text-align:left;transition:transform .2s,border-color .2s}
.atelier-reference img,.atelier-look img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.83)}
.atelier-reference{aspect-ratio:.82}
.atelier-reference img{object-position:center 25%}
.atelier-reference span,.atelier-look span{position:absolute;bottom:0;left:0;right:0;padding:30px 10px 10px;font-size:10px;letter-spacing:.11em;color:#f3f1ef;background:linear-gradient(transparent,#000b)}
.atelier-reference:hover,.atelier-look:hover{transform:translateY(-3px);border-color:#bebcba}
.atelier-reference.is-selected,.atelier-look.is-selected{border-color:#f8f6f0;box-shadow:inset 0 0 0 1px #f8f6f0}
.atelier-reference.is-selected:before,.atelier-look.is-selected:before{content:'✓';position:absolute;top:10px;right:10px;z-index:2;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#f6f3ec;color:#111;font-size:15px}
.atelier-outfit-gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.atelier-look{aspect-ratio:.77}
.atelier-reference-note{font-size:11px;line-height:1.6;color:#8e9094;margin:12px 0 18px}
#panel-model .upload-large{min-height:140px;border-radius:3px;background:#111214;border-color:#48494c;margin-top:16px;gap:8px}
#panel-model .upload-large:hover{background:#191b1d;border-color:#d8d7d3}
#panel-model .upload-plus{width:37px;height:37px;line-height:35px;font-size:24px;border:1px solid #777;border-radius:50%}
#panel-model .upload-large strong{font-size:13px}
#panel-model .upload-large small{font-size:11px}
#panel-model[data-model-mode=upload] .atelier-cast-gallery{display:none}
#panel-model[data-model-mode=casting] .upload-large{min-height:100px}
.thumb-row{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.thumb{border-radius:3px;width:100px;height:130px}
.identity-advanced{border-top:1px solid #3c3d3d;border-bottom:1px solid #3c3d3d;margin-top:20px}
.identity-advanced summary{font-size:12px;padding:18px 1px}
.atelier-inline-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:19px 0}
.atelier-inline-actions .upload-compact{margin:0;min-height:44px;border:1px solid #47484a;border-radius:2px;background:#141517}
#panel-style[data-style-mode=upload] .atelier-outfit-gallery,#panel-style[data-style-mode=describe] .atelier-outfit-gallery{display:none}
#panel-style textarea{min-height:110px}
.field-name{font-size:12px}
#panel-mood .direction-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
#panel-mood .direction-card{aspect-ratio:.79;border-radius:3px}
#panel-mood .direction-card img{filter:saturate(.83) brightness(.88)}
#panel-mood .direction-card span{font-size:11px;bottom:0;left:0;right:0;padding:28px 10px 11px;background:linear-gradient(transparent,#000b)}
#panel-mood .direction-card.is-selected:before{z-index:3}
#panel-mood .atelier-tab.has-choice:not(.is-selected):after{content:'•';margin-left:5px;color:#eee}
#direction-summary{margin:12px 0 24px;color:#9c9da1;font-size:12px}
.world-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.world-controls>label{border:1px solid #3c3d40;background:#111315;padding:12px 14px 10px;color:#aeafb0;font-size:11px;letter-spacing:.025em}
.world-controls select{border:0;background:transparent;min-height:34px;width:100%;padding:4px 0 0;font-size:13px;color:#f2f0eb}
.atelier-moods-link{font-size:12px;color:#d6d6d8;text-decoration:underline;text-underline-offset:4px;margin-left:auto}
.atelier-review-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.83fr);gap:clamp(30px,4.8vw,82px);min-height:clamp(690px,80svh,1010px)}
.atelier-review-main{padding:clamp(20px,3.3vw,53px) 0}
.atelier-review-main h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(57px,6.1vw,99px);line-height:.96;letter-spacing:-.078em;margin:17px 0 18px}
.atelier-review-main .step-intro{max-width:510px;font-size:13px}
.atelier-review-photo{position:relative;min-height:650px;overflow:hidden;background:#1a1b1b;border-radius:2px}
.atelier-review-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;filter:brightness(.85) saturate(.73)}
.atelier-review-photo:after{content:'';pointer-events:none;position:absolute;inset:0;background:linear-gradient(0deg,#070809ad,transparent 30%)}
.atelier-review-photo>span{position:absolute;bottom:20px;left:20px;z-index:1;font-size:10px;letter-spacing:.16em;color:#f0efeb}
.selection-summary{display:grid;grid-template-columns:1fr;gap:0;margin:24px 0 19px;border-top:1px solid #414244}
.selection-item{display:flex;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #414244}
.selection-image{flex:0 0 69px;height:72px;background:#191b1c;display:grid;place-items:center;color:#999;border-radius:2px}
.selection-image img{width:100%;height:100%;object-fit:cover}
.selection-info{min-width:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:3px}
.selection-info>span{grid-column:1;color:#aaa;letter-spacing:.11em;font-size:10px}
.selection-info strong{grid-column:1;font-size:12px;font-weight:550;line-height:1.4;overflow-wrap:anywhere}
.selection-info button{grid-column:2;grid-row:1 / span 2;align-self:center;background:transparent;border:0;color:#d5d4d2;text-decoration:underline;text-underline-offset:3px;font-size:12px;padding:6px}
.atelier-settings{display:grid;grid-template-columns:1fr;gap:17px;margin:25px 0}
.atelier-settings .field-name{margin:0 0 10px}
.atelier-settings .segmented button{min-height:45px;border-radius:2px}
.atelier-generate-advanced{margin:20px 0}
.atelier-cost-note{color:#bebec0;font-size:11px;line-height:1.55;margin:16px 0 8px}
.atelier-review-main #editorial-generate{border-radius:999px;min-height:60px;font-size:14px;font-weight:650}
.flow-footer{display:flex;justify-content:space-between;gap:15px;padding:23px 0;margin:23px 0 0;border-top:1px solid #3d3e40}
.flow-footer button{min-height:53px;border-radius:3px;font-weight:550}
#step-back{background:#121314;border-color:#515252}
#step-next{min-width:232px;background:#f4f1e9;border-color:#f4f1e9;color:#111}
#panel-results{padding:12px 0}
#panel-results h2{font-family:Georgia,serif;font-weight:400;font-size:clamp(34px,3.4vw,56px);line-height:1.05;margin:0 0 8px}
#panel-results .results-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#panel-results .result-card{border-radius:2px}
#panel-results .result-card:first-child{grid-column:span 2;grid-row:span 2}
#panel-results .result-card:first-child img{aspect-ratio:3/4;height:100%}
#panel-results .result-card img{aspect-ratio:3/4}
#panel-results .step-intro{margin-bottom:14px}
#panel-results .result-actions{margin:12px 0 18px}
#panel-results .result-actions button{border-radius:2px;min-height:48px}
@media(max-width:1100px){
 .atelier-cast-gallery{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
 .atelier-outfit-gallery,#panel-mood .direction-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
 .atelier-review-layout{grid-template-columns:minmax(0,1fr) 38%;gap:25px}
 .atelier-review-photo{min-height:720px}
}
@media(max-width:800px){
 .editorial-hero{height:calc(100svh - 105px);min-height:650px}
 .editorial-hero-art img{object-position:63% center!important}
 .editorial-hero-copy{top:auto;bottom:110px;left:22px;right:22px;transform:none;width:auto;max-width:560px}
 .editorial-hero h1{font-size:clamp(70px,13vw,100px);margin:14px 0 24px}
 .editorial-hero-overlay{background:linear-gradient(0deg,#08090aeb 0%,#08090aaf 28%,transparent 74%),linear-gradient(90deg,#08090a70,transparent 72%)!important}
 .editorial-flow{padding:17px 14px 50px}
 .stage-visual{height:50svh;min-height:315px}
 .stage-copy{left:27px;bottom:35px}
 .stage-copy h2{font-size:clamp(67px,11vw,95px)}
 .atelier-workspace{padding-top:25px}
 .atelier-review-layout{grid-template-columns:minmax(0,1fr)}
 .atelier-review-photo{grid-row:1;min-height:235px;height:30svh;max-height:380px}
 .atelier-review-main{grid-row:2;padding:5px 0 30px}
 .atelier-review-main h2{font-size:clamp(54px,9vw,85px)}
 .flow-footer{position:sticky;bottom:0;z-index:30;background:linear-gradient(180deg,#090a0be8,#090a0b 28%);padding:16px 0 max(14px,env(safe-area-inset-bottom))}
 .world-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
 .atelier-review-photo img{object-position:center 40%}
 #panel-results .results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
 .editorial-hero{height:calc(100svh - 78px);min-height:645px}
 .editorial-hero-art img{object-position:61% center!important}
 .editorial-hero-copy{top:auto;bottom:115px;left:24px;right:18px;transform:none}
 .editorial-hero h1{font-size:clamp(64px,15vw,82px);letter-spacing:-.09em;line-height:.93}
 .editorial-hero .hero-start{min-width:0;width:min(100%,310px);min-height:58px;padding:16px 22px;font-size:13px}
 .editorial-hero .hero-start-label{font-size:18px}
 .editorial-hero .hero-support{font-size:12px;max-width:275px}
 .editorial-hero-process{gap:6px;bottom:20px}
 .editorial-hero-process>span{font-size:8px}
 .editorial-flow{padding:12px 11px 50px}
 .progress-top{margin-bottom:7px}
 .editorial-flow-rail{margin-bottom:16px}
 .editorial-flow-rail>span{padding:10px 4px;gap:5px;font-size:9px;line-height:1.3}
 .editorial-flow-rail>span.is-current{padding-top:10px}
 .editorial-flow-rail small{font-size:9px}
 .stage-visual{height:44svh;min-height:310px;max-height:480px}
 .stage-visual--identity>img{object-position:60% 30%}
 .stage-visual--style>img{object-position:center 43%}
 .stage-copy{left:18px;right:15px;bottom:19px}
 .stage-copy h2{font-size:clamp(57px,12vw,76px);margin:12px 0 8px}
 .stage-copy p{font-size:12px;max-width:260px}
 .stage-index,.step-kicker{font-size:9px;letter-spacing:.18em}
 .atelier-workspace{padding:21px 0 5px}
 .atelier-section-top{margin-bottom:12px}
 .atelier-section-top h3{font-size:27px;margin:8px 0}
 .atelier-section-top p{font-size:12px}
 .atelier-source-tabs{gap:19px;margin-bottom:14px}
 .atelier-tab{font-size:11px;min-height:39px}
 .atelier-cast-gallery{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:6px}
 .atelier-cast-gallery::-webkit-scrollbar{display:none}
 .atelier-reference{flex:0 0 31%;aspect-ratio:.74;scroll-snap-align:start}
 .atelier-reference span,.atelier-look span{font-size:9px}
 .atelier-outfit-gallery,#panel-mood .direction-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .atelier-look{aspect-ratio:.73}
 #panel-mood .direction-card{aspect-ratio:.78}
 #panel-mood .direction-card span{font-size:9px;padding:20px 5px 7px}
 .world-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .world-controls>label{font-size:10px;padding:9px 8px 5px}
 .world-controls select{font-size:11px}
 .atelier-moods-link{margin:5px 0 0}
 .atelier-inline-actions{gap:9px}
 .atelier-inline-actions .upload-compact{font-size:11px}
 .selection-image{flex-basis:59px;height:67px}
 .atelier-review-main h2{font-size:55px}
 .atelier-review-photo{height:24svh;min-height:185px}
 .flow-footer{gap:9px}
 .flow-footer button{min-width:0;min-height:49px;font-size:12px;padding:11px 13px}
 #step-back{min-width:74px}
 #step-next{min-width:0;flex:1}
 #panel-results .results-grid{gap:7px}
}
@media(prefers-reduced-motion:reduce){.atelier-reference,.atelier-look,.atelier-tab{transition:none}}

/* Compact, operable mobile navigation, including keyboard/escape handling. */
#editorial-mobile-menu{display:none}
#step-next:after{content:'→';font-size:18px;margin-left:12px;font-weight:400}
@media(max-width:800px){
 .editorial-header{height:68px;min-height:68px;flex-wrap:nowrap;padding:0 16px;gap:11px}
 .editorial-brand{width:70px}
 #editorial-mobile-menu{display:grid;place-items:center;order:4;margin-left:0;flex:0 0 34px;height:34px;background:transparent;border:1px solid #747577;border-radius:50%;color:#f4f4f2;font-size:15px;line-height:1}
 .editorial-header nav{display:none;position:absolute;top:68px;left:0;right:0;z-index:101;background:#0b0c0df7;border-top:1px solid #343638;border-bottom:1px solid #343638;flex-direction:column;align-items:stretch;gap:0;padding:10px 17px 16px;width:auto;white-space:normal;overflow:visible;order:0}
 .editorial-header.menu-open nav{display:flex}
 .editorial-header nav a{display:block;padding:12px 6px;border-bottom:1px solid #27282a}
 .editorial-account{gap:9px;order:3;margin-left:auto}
 .editorial-account #editorial-balance{display:none}
 .editorial-account .credits-link{font-size:11px}
 .editorial-account .editorial-avatar{height:26px;width:26px;font-size:20px}
 .editorial-account #editorial-signin{font-size:11px;padding:7px 10px}
}
@media(max-width:520px){
 .editorial-header{padding:0 11px;gap:8px}
 .editorial-brand{width:63px}
 .editorial-account{gap:7px}
 .editorial-account .credits-link span{width:17px;height:17px;font-size:15px}
 #editorial-mobile-menu{width:32px;height:32px;flex-basis:32px}
}

/* Final typographic cadence: editorial grotesk on working screens, expressive italic only on the arrival. */
.stage-copy h2{font-family:DM,'Helvetica Neue',Arial,sans-serif;font-style:normal;font-weight:450;letter-spacing:-.092em;line-height:.94}
.atelier-review-main h2{font-family:DM,'Helvetica Neue',Arial,sans-serif;font-weight:430;letter-spacing:-.087em;line-height:.98}
.editorial-top-back{display:inline-flex;align-items:center;gap:10px;min-height:36px;padding:7px 10px 7px 0;background:none;border:none;color:#d9d7d4;font-size:12px;cursor:pointer}
.editorial-top-back span{font-size:18px;line-height:1}
.editorial-top-back:hover{color:#fff}
.progress-top #progress-title{margin-left:4px;margin-right:auto}
@media(max-width:520px){
 .stage-copy h2{font-size:clamp(58px,12vw,75px)}
 .atelier-review-main h2{font-size:clamp(46px,11vw,60px)}
 .editorial-top-back{font-size:11px;gap:6px}
 .progress-top #progress-title{font-size:9px}
}

/* The photograph contains navigation so casting appears higher in the viewport. */
@media (min-width:801px){
 .editorial-flow{padding-top:12px}
 .stage-visual>.stage-navigation{position:absolute;inset:0;z-index:3;pointer-events:none}
 .stage-visual>.stage-navigation .progress-top{position:absolute;top:10px;left:24px;right:24px;margin:0;padding:0;pointer-events:auto}
 .stage-visual>.stage-navigation .editorial-flow-rail{position:absolute;bottom:0;left:0;right:0;margin:0;background:#08090ab8;border-top-color:#ffffff38;border-bottom:0;pointer-events:auto}
 .stage-visual>.stage-navigation .editorial-flow-rail>span{padding:9px 24px;color:#c0c0c2}
 .stage-visual>.stage-navigation .editorial-flow-rail>span.is-current{color:#fff}
 .stage-visual>.stage-navigation .editorial-top-back,.stage-visual>.stage-navigation .text-action{color:#f1efeb}
 .stage-copy{bottom:78px}
 .stage-copy h2{font-size:clamp(69px,7vw,116px)}
 .stage-visual .progress-top #progress-title{display:none}
 #panel-model .stage-visual{height:280px}
 #panel-model .stage-visual>img{object-position:58% 26%}
 #panel-model .stage-copy{bottom:64px}
 #panel-model .stage-copy h2{font-size:clamp(64px,5.2vw,84px);margin:12px 0 10px}
 #panel-model .stage-copy p{font-size:16px;max-width:430px}
 #panel-model .atelier-workspace{padding-top:14px}
 #panel-model .atelier-section-top{display:block;margin-bottom:8px}
 #panel-model .atelier-section-top h3{font-size:clamp(27px,2.3vw,32px);margin:0;white-space:nowrap}
 #panel-model .atelier-source-tabs{margin-bottom:12px}
 #panel-model .atelier-tab{min-height:36px;padding:7px 0 9px}
 #panel-model .atelier-reference{aspect-ratio:auto;overflow:visible;border:0;border-radius:0;background:transparent}
 #panel-model .atelier-reference img{height:auto;aspect-ratio:1;object-fit:cover;border:1px solid #303235;border-radius:2px}
 #panel-model .atelier-reference>span{position:static;display:block;padding:10px 0 0;background:none}
}

/* Mobile: the photograph carries the step label; remove repeated navigation above it. */
@media(max-width:800px){
 .stage-navigation{display:none}
 .editorial-flow{scroll-margin-top:68px}
 #panel-model .atelier-section-top{display:block}
}

/* Direct generation: one action, authoritative cost, existing ivory editorial film. */
.editorial-generate-action{margin-top:30px;text-align:center}
.editorial-cost{font-size:12px;color:#c5c3bf;margin:10px 0 0;min-height:18px}
.editorial-batch-note{font-size:11px;line-height:1.5;color:#a6a5a2;margin:5px 0 0}
.editorial-batch-note:empty{display:none}
#panel-progress .generation-visual{border-radius:4px;background:#171715}
#panel-progress .visual-reference{opacity:1}
#panel-progress .visual-reference video{width:100%;height:100%;object-fit:cover}
#panel-progress .generation-overlay{min-height:clamp(360px,45vw,620px);padding:30px 20px;background:linear-gradient(0deg,#080909b3,#08090930 70%,#08090920)}
#panel-progress .generation-overlay small{color:#dedbd4;max-width:300px;line-height:1.6}
@media(max-width:800px){#panel-progress .generation-overlay{min-height:420px}}
@media(prefers-reduced-motion:reduce){#panel-progress .spinner{animation:none}}

/* Phone Generate: controls first, clear rows, and no floating Back overlay. */
@media(max-width:800px){
 #panel-generate .atelier-review-layout{min-height:0;gap:20px}
 #panel-generate .atelier-review-main{grid-row:1;padding:0}
 #panel-generate .stage-index{font-size:9px;letter-spacing:.16em}
 #panel-generate .atelier-review-main h2{font-size:clamp(30px,8.2vw,38px);line-height:1.06;letter-spacing:-.055em;margin:8px 0 10px}
 #panel-generate .step-intro{font-size:12px;line-height:1.5;margin:0 0 18px}
 #panel-generate .selection-summary{margin:0 0 20px}
 #panel-generate .selection-item{gap:12px;padding:12px 0;min-height:80px}
 #panel-generate .selection-image{flex-basis:52px;height:56px;overflow:hidden}
 #panel-generate .selection-info{column-gap:8px;row-gap:4px}
 #panel-generate .selection-info strong{font-size:12px;line-height:1.45}
 #panel-generate .selection-info button{min-width:44px;min-height:44px;padding:8px 0 8px 8px}
 #panel-generate .atelier-settings{gap:16px}
 #panel-generate .atelier-settings .field-name{margin:0 0 8px}
 #panel-generate #ratio-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
 #panel-generate #ratio-options button{min-width:0;padding:8px 2px;font-size:12px}
 #panel-generate .atelier-generate-advanced{margin:18px 0}
 #panel-generate .setting-note{align-items:flex-start;line-height:1.5;margin:16px 0;padding:0}
 #panel-generate .editorial-generate-action{margin-top:20px}
 #panel-generate #editorial-generate{min-height:52px}
 #panel-generate .atelier-review-photo{grid-row:2;height:148px;min-height:0;max-height:none}
 #panel-generate .atelier-review-photo img{object-position:center 38%}
 #panel-generate .atelier-review-photo>span{bottom:12px;left:12px;right:12px;font-size:8px;line-height:1.5;letter-spacing:.12em}
 #panel-generate:not([hidden])~#step-footer{position:static;bottom:auto;z-index:auto;background:transparent;margin-top:20px;padding:16px 0 max(16px,env(safe-area-inset-bottom))}
}

/* Generating is a cinematic result stage, not another wizard step. */
body.editorial-is-generating #stage-navigation{display:none!important}
body.editorial-is-generating .editorial-flow{padding-top:clamp(12px,1.5vw,24px)}
#panel-progress{padding:0}
#panel-progress h2{margin:0 0 8px;font-size:clamp(34px,3.3vw,54px);font-weight:450;letter-spacing:-.06em}
#panel-progress .step-intro{margin:0 0 18px;color:#b7b6b3}
#panel-progress .generation-visual{border:1px solid #30312f}
#panel-progress .generation-overlay{gap:12px}
#panel-progress .generation-overlay .spinner{width:30px;height:30px;border-width:1.5px}
#panel-progress .generation-overlay strong{font-size:clamp(16px,1.45vw,22px);font-weight:550;letter-spacing:-.035em}
#panel-progress .result-strip{display:flex;justify-content:center;gap:clamp(8px,1vw,14px);padding:18px 0 6px;margin:0;overflow:visible}
#panel-progress .generation-frame{width:clamp(67px,7.5vw,96px);flex:none;aspect-ratio:3/4;position:relative;overflow:hidden;border:1px solid #454644;border-radius:2px;background:#151616;display:grid;place-items:center;transition:border-color .28s,background .28s}
#panel-progress .generation-frame-number{font-size:20px;font-weight:350;letter-spacing:-.06em;color:#656665}
#panel-progress .generation-frame img{position:absolute;inset:0;width:100%;min-width:0;height:100%;display:block;object-fit:cover;border-radius:0;animation:editorial-image-reveal .6s ease-out both}
#panel-progress .generation-frame.is-ready{border-color:#d7d4cb;background:#20201e}
#panel-progress .generation-frame small{position:absolute;left:7px;bottom:7px;z-index:1;font-size:9px;letter-spacing:.13em;color:#fff;text-shadow:0 1px 4px #000}
#panel-progress .generation-frame:not(.is-ready) small{display:none}
@keyframes editorial-image-reveal{from{opacity:0;filter:blur(10px);transform:scale(1.035)}to{opacity:1;filter:blur(0);transform:scale(1)}}
@media(max-width:520px){
 body.editorial-is-generating .editorial-flow{padding:12px 12px 40px}
 #panel-progress h2{font-size:clamp(29px,8vw,38px)}
 #panel-progress .step-intro{font-size:12px;margin-bottom:13px}
 #panel-progress .generation-overlay{min-height:clamp(350px,51svh,440px)}
 #panel-progress .result-strip{gap:9px;padding-top:14px}
 #panel-progress .generation-frame{width:min(20vw,76px)}
}
@media(prefers-reduced-motion:reduce){#panel-progress .generation-frame img{animation:none}}

/* Full Editorial: compact casting semantics, visible only with 2+ identity photos.
   No changes to approved cards, gallery images, hero or progress UI. */
.editorial-casting-controls{max-width:650px;margin:15px 0 8px;padding:14px 16px;border:1px solid #3c3d3e;background:#171819;border-radius:10px}
.editorial-casting-controls[hidden],#editorial-cast-composition[hidden]{display:none!important}
.editorial-casting-controls label{display:block;margin:0 0 7px;color:#dfdfdb;font-size:12px;font-weight:600}
.editorial-casting-controls select{display:block;width:100%;min-height:43px;background:#242526;color:#f4f4f0;border:1px solid #4a4b4c;border-radius:7px;padding:8px 11px;font-size:13px}
#editorial-cast-composition{margin-top:13px}
.editorial-casting-controls p{margin:10px 0 0;color:#a9a9a7;font-size:11px;line-height:1.5}
@media(max-width:520px){.editorial-casting-controls{padding:12px;margin:12px 0 8px}.editorial-casting-controls select{font-size:12px}}

/* 2026-11-01 / Identity casting: keep the approved hero and five original photos.
   New upload tile and per-model cards replace redundant full-width dropzone.
   Keep the selected identities separate from their additional reference views. */
#panel-model .atelier-cast-gallery[hidden],
#panel-model .editorial-selected-cast-heading[hidden],
#panel-model .editorial-casting-controls[hidden]{display:none!important}
#panel-model .atelier-cast-gallery{
 display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;
 scrollbar-width:thin;scrollbar-color:#484949 transparent;max-width:100%;padding:0 0 7px;
}
#panel-model .atelier-reference,
#panel-model .editorial-own-cast{
 flex:0 0 clamp(178px,19vw,278px);min-width:0;scroll-snap-align:start;
}
#panel-model .editorial-own-cast{
 display:flex;flex-direction:column;justify-content:center;align-items:center;
 gap:10px;text-align:center;color:#e9e8e4;cursor:pointer;min-height:0;
 aspect-ratio:1; padding:15px;
 background:linear-gradient(135deg,#151617,#0c0d0e);
 border:1px dashed #6d6e6e;border-radius:2px;
 transition:border-color .16s,background .16s;
}
#panel-model .editorial-own-cast:hover,#panel-model .editorial-own-cast:focus-visible{
 border-color:#f5f2ea;background:#1b1c1e;
}
#panel-model .editorial-own-plus{display:grid;place-items:center;border:1px solid #aaa9a5;border-radius:50%;
 font-size:27px;font-weight:300;width:49px;height:49px;line-height:1}
#panel-model .editorial-own-cast strong{font-size:14px;font-weight:550}
#panel-model .editorial-own-cast small{font-size:11px;line-height:1.5;color:#aaacae}
#panel-model .editorial-private-gallery{min-height:150px;color:#aaacae;font-size:13px;align-items:center}
#panel-model .editorial-private-gallery .editorial-saved-cast img{aspect-ratio:1;object-fit:cover;background:#202123}
.editorial-selected-cast-heading{display:flex;justify-content:space-between;align-items:center;
 gap:12px;margin:20px 0 10px}
.editorial-selected-cast-heading strong{font-weight:600;font-size:15px}
.editorial-selected-cast-heading span{font-size:11px;color:#a4a5a5}
#panel-model .editorial-selected-cast{
 display:flex;gap:12px;overflow-x:auto;scrollbar-width:thin;
 scrollbar-color:#454646 transparent;padding:1px 1px 6px;align-items:stretch;
}
#panel-model .editorial-model-card.thumb{
 flex:0 0 clamp(160px,17vw,224px);width:clamp(160px,17vw,224px)!important;height:auto!important;
 min-height:0;display:flex;flex-direction:column;align-items:stretch;
 border-radius:8px;overflow:hidden;background:#141517;border:1px solid #343638;
}
#panel-model .editorial-model-cover{position:relative;width:100%;aspect-ratio:1.52;overflow:hidden;background:#232426}
#panel-model .editorial-model-cover>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 34%}
#panel-model .editorial-model-cover>span{display:grid;place-items:center;height:100%;color:#a4a4a2}
#panel-model .editorial-model-cover .editorial-model-remove{
 position:absolute;top:7px;right:7px;width:25px;height:25px;display:grid;place-items:center;
 border-radius:50%;background:#101112e8;border:1px solid #b0b0ad;color:#fff;font-size:17px;
}
#panel-model .editorial-model-info{padding:9px 10px 4px;display:flex;flex-direction:column;gap:3px}
#panel-model .editorial-model-info strong{font-size:11px;letter-spacing:.035em;font-weight:550}
#panel-model .editorial-model-info small{font-size:10px;color:#95979a}
#panel-model .editorial-model-extra{padding:4px 10px 0;display:flex;gap:5px;min-height:4px}
#panel-model .editorial-model-extra-thumb{width:34px;height:37px;position:relative;border-radius:4px;overflow:hidden}
#panel-model .editorial-model-extra-thumb img{width:100%;height:100%;object-fit:cover}
#panel-model .editorial-model-extra-thumb button{
 position:absolute;right:0;top:0;width:15px;height:15px;padding:0;border:0;
 background:#08090acc;color:#fff;border-radius:0;font-size:13px;display:grid;place-items:center;
}
#panel-model .editorial-add-view{
 position:static;margin:10px;min-height:36px;width:calc(100% - 20px);border-radius:4px;
 display:grid;place-items:center;background:#222324;color:#e9e7e4;border:1px solid #48494b;
 font-size:11px;cursor:pointer;
}
#panel-model .editorial-add-view:hover:not(:disabled){border-color:#d5d3cf;background:#303133}
#panel-model .editorial-add-view:disabled{opacity:.4;cursor:default}
#panel-model .editorial-casting-controls{
 display:grid;grid-template-columns:minmax(0,1fr) 52px;gap:5px 18px;align-items:center;
 max-width:none;margin:14px 0 8px;padding:16px 18px;border:1px solid #343638;
 background:#111213;border-radius:8px;
}
#panel-model .editorial-together-copy{display:flex;flex-direction:column;gap:5px}
#panel-model .editorial-together-copy strong{font-size:13px;font-weight:600;color:#f2f0ec}
#panel-model .editorial-together-copy small{font-size:11px;color:#b3b3b3;line-height:1.4}
#panel-model .editorial-together-switch{position:relative;display:block;width:48px;height:28px;cursor:pointer}
#panel-model .editorial-together-switch input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
#panel-model .editorial-together-switch span{pointer-events:none;display:block;width:48px;height:28px;border-radius:20px;
 background:#343536;border:1px solid #5a5a5a;transition:background .18s}
#panel-model .editorial-together-switch span:before{content:'';display:block;width:20px;height:20px;
 border-radius:50%;background:#e7e5df;transform:translate(3px,3px);transition:transform .18s}
#panel-model .editorial-together-switch input:checked+span{background:#71746d}
#panel-model .editorial-together-switch input:checked+span:before{transform:translate(23px,3px);background:#fff}
#panel-model .editorial-together-switch input:focus-visible+span{outline:2px solid #f2f1ec;outline-offset:3px}
#panel-model .editorial-cast-hint{grid-column:1/-1;margin:3px 0 0;padding:0;color:#888b8e;font-size:10px}
@media(max-width:800px){
 #panel-model .atelier-reference,#panel-model .editorial-own-cast{flex-basis:clamp(150px,36vw,210px)}
 #panel-model .editorial-own-cast{aspect-ratio:.84}
 #panel-model .editorial-model-card.thumb{flex-basis:165px;width:165px!important}
}
@media(max-width:520px){
 #panel-model .atelier-reference,#panel-model .editorial-own-cast{flex-basis:clamp(134px,43vw,182px)}
 #panel-model .atelier-cast-gallery{gap:8px}
 #panel-model .editorial-own-cast{padding:8px;gap:8px;aspect-ratio:.78}
 #panel-model .editorial-own-plus{width:38px;height:38px;font-size:23px}
 #panel-model .editorial-own-cast small{font-size:10px}
 #panel-model .editorial-selected-cast-heading{margin-top:13px}
 #panel-model .editorial-model-card.thumb{flex-basis:148px;width:148px!important}
 #panel-model .editorial-casting-controls{padding:13px 12px;gap:6px 10px}
}
@media(prefers-reduced-motion:reduce){
 #panel-model .editorial-own-cast,#panel-model .editorial-together-switch span,
 #panel-model .editorial-together-switch span:before{transition:none}
}

/* PVLAB_COMPOSITION_CAST_20261101: photo-led Identity, compact cast, conditional compositions. */
#panel-model .stage-visual{height:clamp(215px,26svh,250px)}
#panel-model .atelier-workspace{padding-top:15px;padding-bottom:2px}
#panel-model .editorial-casting-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:6px}
#panel-model .editorial-casting-top h3{margin:0;font-size:clamp(26px,2.3vw,32px);letter-spacing:-.055em}
#panel-model .editorial-cast-search{display:flex;align-items:center;gap:7px;border:1px solid #37383b;background:#0e0f10;border-radius:25px;min-height:37px;padding:0 13px;color:#bdbdbd;max-width:275px;flex:0 1 275px}
#panel-model .editorial-cast-search input{background:none;border:0;outline:none;color:#eee;font-size:12px;min-width:0;width:100%}
#panel-model .editorial-cast-search:focus-within{border-color:#e8e6df}
#panel-model .atelier-cast-gallery{gap:12px;padding-bottom:7px}
#panel-model .atelier-reference,#panel-model .editorial-own-cast{flex-basis:clamp(172px,17vw,248px)}
#panel-model .atelier-reference img{width:100%;height:clamp(200px,26svh,266px);aspect-ratio:auto;object-fit:cover;object-position:center 28%}
#panel-model .editorial-own-cast{height:clamp(200px,26svh,266px);aspect-ratio:auto;flex-shrink:0}
#panel-model .atelier-reference.is-selected img{border-color:#f6f4ef;outline:1px solid #f6f4ef;outline-offset:-2px}
#panel-model .atelier-reference[hidden],#panel-model .editorial-saved-cast[hidden]{display:none!important}
#panel-model .editorial-cast-selection{border:1px solid #353638;background:#0d0e0f;border-radius:5px;margin:13px 0 0;padding:7px 11px}
#panel-model .editorial-cast-selection[hidden]{display:none!important}
#panel-model .editorial-selected-cast-heading{display:flex;gap:13px;align-items:center;justify-content:flex-start;margin:0 0 7px}
#panel-model .editorial-selected-cast-heading strong{font-size:11px;font-weight:600}
#panel-model .editorial-selected-cast-heading span{font-size:11px}
#panel-model #editorial-clear-cast{margin-left:auto;color:#bbb;font-size:11px;border:0;background:transparent;padding:4px}
#panel-model #editorial-clear-cast:hover{color:#fff}
#panel-model .editorial-selected-cast{display:flex;flex-wrap:wrap;gap:8px;overflow:visible;padding:0}
#panel-model .editorial-model-card.thumb{display:flex;flex-direction:row;align-items:center;gap:8px;flex:0 1 auto!important;width:auto!important;min-width:158px;height:auto!important;min-height:55px;border:1px solid #36383a;border-radius:4px;padding:4px 8px 4px 4px;background:#151617;overflow:visible}
#panel-model .editorial-model-cover{width:44px;height:50px;aspect-ratio:auto;flex:none;border-radius:3px}
#panel-model .editorial-model-cover .editorial-model-remove{width:17px;height:17px;top:1px;right:1px;font-size:14px}
#panel-model .editorial-model-info{padding:0;min-width:65px}
#panel-model .editorial-model-info strong{font-size:10px;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#panel-model .editorial-model-info small{font-size:9px}
#panel-model .editorial-model-extra{padding:0;min-height:0;gap:3px}
#panel-model .editorial-model-extra-thumb{width:24px;height:31px}
#panel-model .editorial-add-view{position:static;margin:0 0 0 auto;min-height:30px;width:auto;border-radius:3px;padding:5px 8px;font-size:10px;white-space:nowrap}
#panel-model .editorial-casting-controls{display:block;max-width:none;background:transparent;border:0;border-radius:0;margin:15px 0 0;padding:0}
#panel-model .editorial-composition-heading{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-bottom:11px}
#panel-model .editorial-composition-heading h4{font-size:clamp(19px,1.6vw,25px);letter-spacing:-.05em;font-weight:550;margin:0 0 3px}
#panel-model .editorial-composition-heading p{font-size:11px;color:#a5a7a9;margin:0}
#panel-model .editorial-composition-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#panel-model .editorial-composition-option{display:block;position:relative;min-width:0;height:132px;padding:0;overflow:hidden;border:1px solid #393b3e;border-radius:4px;background:#161719;color:#f5f5f3;text-align:left}
#panel-model .editorial-composition-option:hover{border-color:#ccc}
#panel-model .editorial-composition-option.is-selected{border-color:#f4f0e8;box-shadow:inset 0 0 0 1px #f4f0e8}
#panel-model .editorial-composition-art{display:flex;position:absolute;inset:0;overflow:hidden}
#panel-model .editorial-composition-art img{display:block;width:100%;min-width:0;height:100%;object-fit:cover;object-position:center 28%;filter:brightness(.61) saturate(.64)}
#panel-model .editorial-composition-art img:not(:only-child){width:50%}
#panel-model .editorial-composition-option:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#060708ed,#0607084a 72%,transparent)}
#panel-model .editorial-composition-copy{position:absolute;z-index:1;left:14px;right:30px;bottom:12px;display:grid;gap:4px}
#panel-model .editorial-composition-copy strong{font-size:13px;font-weight:600}
#panel-model .editorial-composition-copy small{font-size:10px;line-height:1.35;color:#dcdddb}
#panel-model .editorial-composition-check{position:absolute;top:12px;right:12px;z-index:2;width:19px;height:19px;border:1px solid #ededed;border-radius:50%;background:#08090a65}
#panel-model .editorial-composition-option.is-selected .editorial-composition-check{background:#f4f1e9;border-color:#f4f1e9}
#panel-model .editorial-composition-option.is-selected .editorial-composition-check:after{content:'✓';display:grid;place-items:center;color:#171717;font-size:12px;font-weight:700}
#panel-model .editorial-cast-hint{color:#8d8f92;font-size:10px;margin:8px 0 0;padding:0}
.flow-footer{align-items:center;position:sticky;bottom:0;z-index:20;background:linear-gradient(180deg,#08090aea,#08090a 25%);padding:14px 0 max(14px,env(safe-area-inset-bottom));margin-top:17px;backdrop-filter:blur(8px)}
.editorial-footer-cast{display:flex;align-items:center;gap:13px;color:#c5c6c6;font-size:12px}
.editorial-footer-thumbs{display:flex;align-items:center;padding-left:7px}
.editorial-footer-thumbs img{display:block;width:35px;height:40px;object-fit:cover;border:2px solid #090a0b;border-radius:5px;margin-left:-7px;background:#242527}
.editorial-status:empty{min-height:0;margin:0}
@media(min-width:801px){.flow-main:has(#panel-model:not([hidden])) #step-back{display:none}.flow-main:has(#panel-model:not([hidden])) #step-next{margin-left:auto}}
@media(max-width:800px){
 #panel-model .editorial-casting-top{align-items:flex-start;flex-direction:column;gap:8px}
 #panel-model .editorial-cast-search{max-width:none;width:100%;flex:auto}
 #panel-model .atelier-reference,#panel-model .editorial-own-cast{flex-basis:clamp(147px,35vw,208px)}
 #panel-model .atelier-reference img,#panel-model .editorial-own-cast{height:clamp(215px,31svh,270px)}
 #panel-model .editorial-model-card.thumb{min-width:140px}
 #panel-model .editorial-composition-option{height:122px}
}
@media(max-width:520px){
 #panel-model .stage-visual{height:44svh}
 #panel-model .editorial-casting-top h3{font-size:27px}
 #panel-model .atelier-reference,#panel-model .editorial-own-cast{flex-basis:clamp(134px,43vw,182px)}
 #panel-model .atelier-reference img,#panel-model .editorial-own-cast{height:clamp(205px,28svh,245px)}
 #panel-model .editorial-composition-grid{gap:7px}
 #panel-model .editorial-composition-option{height:142px}
 #panel-model .editorial-composition-copy{left:8px;right:8px;bottom:8px}
 #panel-model .editorial-composition-copy strong{font-size:11px}
 #panel-model .editorial-composition-copy small{font-size:9px}
 #panel-model .editorial-composition-check{width:16px;height:16px;top:7px;right:7px}
 #panel-model .editorial-model-card.thumb{min-width:0}
 .editorial-footer-thumbs img{width:26px;height:34px}
 .editorial-footer-cast{font-size:10px;gap:8px}
}
@media(prefers-reduced-motion:reduce){#panel-model .editorial-composition-option{transition:none}}

/* PVLAB_IDENTITY_REFERENCE_MATCH_20261101
   Implements the approved on-page layout, without using a flattened mockup. */
@media(min-width:801px){
 .editorial-flow:has(#panel-model:not([hidden])){padding-top:10px;padding-bottom:8px}
 .flow-main:has(#panel-model:not([hidden])){min-height:calc(100svh - 78px - 18px);display:flex;flex-direction:column}
 .flow-main:has(#panel-model:not([hidden])) #step-footer{margin-top:auto}
 #panel-model .stage-visual{height:clamp(230px,27svh,266px)}
 #panel-model .atelier-workspace{padding:15px 0 12px}
 #panel-model .editorial-casting-top{
  display:flex;align-items:center;justify-content:initial;flex-wrap:nowrap;
  gap:clamp(20px,2.6vw,42px);margin:0 0 12px!important
 }
 #panel-model .editorial-casting-top h3{font-size:clamp(27px,2.35vw,34px);flex-shrink:0;line-height:1.2}
 #panel-model .editorial-casting-top .atelier-source-tabs{
  display:flex;gap:clamp(17px,1.5vw,27px);align-items:center;
  align-self:stretch;flex:1 1 auto;min-width:0;border-bottom:0;margin:0;padding:0
 }
 #panel-model .editorial-casting-top .atelier-tab{
  min-height:40px;padding:11px 0 9px;font-size:12px;white-space:nowrap
 }
 #panel-model .editorial-casting-top .editorial-cast-search{
  flex:0 1 290px;max-width:290px;min-width:195px;min-height:39px;
  background:#0b0c0d;border-color:#3a3b3d
 }
 #panel-model .atelier-cast-gallery{
  display:flex;gap:12px;align-items:stretch;overflow-x:auto;overflow-y:hidden;
  scrollbar-width:thin;scrollbar-color:#4a4b4d transparent;padding:0 0 6px
 }
 #panel-model .atelier-cast-gallery .atelier-reference,
 #panel-model .atelier-cast-gallery .editorial-own-cast{
  flex:0 0 calc((100% - 60px)/6);min-width:170px;max-width:none;
  height:clamp(248px,30svh,292px);aspect-ratio:auto;scroll-snap-align:start
 }
 #panel-model .atelier-cast-gallery .atelier-reference{
  display:block;position:relative;overflow:hidden;border:1px solid #323436;
  border-radius:4px;background:#171819
 }
 #panel-model .atelier-cast-gallery .atelier-reference img{
  display:block;height:100%;width:100%;aspect-ratio:auto;object-fit:cover;
  object-position:center 25%;border:none;border-radius:0
 }
 #panel-model .atelier-cast-gallery .atelier-reference>span{
  position:absolute;bottom:0;left:0;right:0;display:block;
  padding:39px 11px 10px;background:linear-gradient(0deg,#080809df,transparent);
  font-size:10px;letter-spacing:.09em;color:#f6f4f0
 }
 #panel-model .atelier-cast-gallery .atelier-reference.is-selected{
  border:1px solid #f1eee7;box-shadow:inset 0 0 0 1px #f1eee7
 }
 #panel-model .atelier-cast-gallery .atelier-reference.is-selected img{outline:none;border:none}
 #panel-model .atelier-cast-gallery .editorial-own-cast{border-radius:4px}
 #panel-model .atelier-reference:not(.is-selected):after{
  content:'';position:absolute;top:12px;right:12px;z-index:3;width:21px;height:21px;
  border:1px solid #f7f6f1;border-radius:50%;background:#08090a55;
  box-shadow:0 0 0 1px #0004
 }
 #panel-model .atelier-reference.is-selected:before{
  top:12px;right:12px;width:22px;height:22px;font-size:13px
 }
 #panel-model .editorial-cast-selection{
  display:flex;align-items:center;justify-content:flex-start;gap:15px;
  min-height:69px;padding:7px 14px;margin:13px 0 0;border:1px solid #36383a;
  background:#0e0f10;border-radius:5px
 }
 #panel-model .editorial-selected-cast{
  display:flex;flex:0 1 auto;gap:9px;align-items:center;flex-wrap:nowrap;
  overflow-x:auto;overflow-y:visible;margin:0;padding:0;max-width:56%;scrollbar-width:none
 }
 #panel-model .editorial-selected-cast::-webkit-scrollbar{display:none}
 #panel-model .editorial-selected-cast-heading{
  display:flex;align-items:center;justify-content:flex-start;
  gap:24px;margin:0;padding:0;min-height:44px;white-space:nowrap
 }
 #panel-model .editorial-selected-cast-heading span{font-size:12px;color:#e7e7e4}
 #panel-model #editorial-clear-cast{
  margin:0;padding:10px 0 10px 23px;border-left:1px solid #393a3c;
  font-size:12px;color:#d7d7d4
 }
 #panel-model .editorial-model-card.thumb{
  display:flex;flex:0 0 auto!important;align-items:center;
  width:auto!important;min-width:0!important;height:54px!important;
  padding:0!important;margin:0!important;gap:5px;overflow:visible;
  background:transparent;border:none;border-radius:0
 }
 #panel-model .editorial-model-cover{
  flex:0 0 54px;width:54px;height:54px;aspect-ratio:auto;
  overflow:visible;position:relative;border-radius:5px
 }
 #panel-model .editorial-model-cover>img{width:54px;height:54px;border-radius:5px;object-fit:cover}
 #panel-model .editorial-model-cover .editorial-model-remove{
  top:-4px;right:-4px;width:20px;height:20px;border:1px solid #c1c1be;
  background:#0b0c0d;color:#fff;font-size:16px
 }
 #panel-model .editorial-model-info{display:none}
 #panel-model .editorial-model-extra{display:flex;gap:5px;align-items:center;min-height:0;padding:0}
 #panel-model .editorial-model-extra-thumb{width:29px;height:42px;overflow:visible}
 #panel-model .editorial-model-extra-thumb img{width:29px;height:42px;border-radius:3px}
 #panel-model .editorial-model-extra-thumb button{border-radius:50%}
 #panel-model .editorial-add-view{
  position:absolute;bottom:-3px;left:-4px;min-height:23px;width:23px;
  margin:0;padding:0;border-radius:50%;font-size:16px;font-weight:400;
  opacity:0;z-index:4;transition:opacity .15s;background:#1e1f21
 }
 #panel-model .editorial-model-card:hover .editorial-add-view,
 #panel-model .editorial-model-card:focus-within .editorial-add-view{opacity:1}
 #panel-model .editorial-casting-controls{margin:17px 0 0;padding:0;border:0;background:transparent}
 #panel-model .editorial-composition-heading{display:block;margin:0 0 12px}
 #panel-model .editorial-composition-heading h4{
  margin:0 0 4px;font-weight:500;font-size:clamp(21px,1.9vw,28px);letter-spacing:-.055em
 }
 #panel-model .editorial-composition-heading p{margin:0;color:#aaa;font-size:11px}
 #panel-model .editorial-composition-grid{gap:12px}
 #panel-model .editorial-composition-option{
  height:clamp(130px,16svh,168px);min-height:130px;border-radius:5px
 }
 #panel-model .editorial-composition-copy{left:16px;right:34px;bottom:13px;gap:6px}
 #panel-model .editorial-composition-copy strong{font-size:14px}
 #panel-model .editorial-composition-copy small{font-size:11px}
 #panel-model .editorial-cast-hint{display:none}
 .flow-main:has(#panel-model:not([hidden])) .flow-footer{
  position:sticky;bottom:0;z-index:35;display:flex;
  min-height:75px;align-items:center;justify-content:flex-start;
  gap:15px;background:linear-gradient(180deg,#08090ae8,#08090a 24%);
  border-top:1px solid #3a3b3d;margin:15px 0 0;
  padding:10px 0 max(10px,env(safe-area-inset-bottom));
  backdrop-filter:blur(10px)
 }
 .flow-main:has(#panel-model:not([hidden])) #step-next{
  margin-left:auto;min-height:50px;border-radius:4px;font-size:13px;min-width:232px
 }
 .flow-main:has(#panel-model:not([hidden])) #step-back{display:none}
 .editorial-footer-cast{display:flex;align-items:center;gap:17px;font-size:12px;min-width:0}
 .editorial-footer-count{white-space:nowrap;color:#e5e5e3}
 .editorial-footer-thumbs{display:flex;align-items:center;gap:6px;padding-left:0}
 .editorial-footer-thumbs img{width:43px;height:44px;margin:0;border:1px solid #3e3e3d;border-radius:5px}
 .editorial-footer-add{
  display:grid;place-items:center;flex:0 0 43px;width:43px;height:44px;
  border:1px solid #4c4d4f;border-radius:5px;color:#e8e8e5;
  background:#121314;font-size:24px;font-weight:300
 }
 .editorial-footer-add:hover:not(:disabled){border-color:#dedbd5;background:#202123}
}
@media(min-width:801px) and (max-width:1180px){
 #panel-model .editorial-casting-top{gap:15px}
 #panel-model .editorial-casting-top .atelier-source-tabs{gap:15px}
 #panel-model .editorial-casting-top .atelier-tab{font-size:11px}
 #panel-model .editorial-cast-search{min-width:155px;flex-basis:200px}
 #panel-model .atelier-cast-gallery .atelier-reference,
 #panel-model .atelier-cast-gallery .editorial-own-cast{min-width:155px}
}
@media(min-width:801px) and (max-height:880px){
 #panel-model .stage-visual{height:clamp(172px,23svh,205px)}
 #panel-model .stage-copy{bottom:58px}
 #panel-model .stage-copy h2{font-size:clamp(58px,4.8vw,76px);margin:5px 0 5px}
 #panel-model .stage-copy p{font-size:14px}
 #panel-model .atelier-workspace{padding-top:8px}
 #panel-model .editorial-casting-top{margin-bottom:7px!important}
 #panel-model .atelier-casting-top .atelier-tab{min-height:32px}
 #panel-model .atelier-cast-gallery .atelier-reference,
 #panel-model .atelier-cast-gallery .editorial-own-cast{height:clamp(197px,26svh,224px)}
 #panel-model .editorial-cast-selection{min-height:60px;margin-top:9px;padding:5px 11px}
 #panel-model .editorial-casting-controls{margin-top:11px}
 #panel-model .editorial-composition-heading{margin-bottom:7px}
 #panel-model .editorial-composition-heading h4{font-size:22px}
 #panel-model .editorial-composition-option{height:112px;min-height:112px}
 #panel-model .editorial-composition-copy{bottom:8px}
 #panel-model .editorial-composition-copy strong{font-size:12px}
 #panel-model .editorial-composition-copy small{font-size:10px}
 .flow-main:has(#panel-model:not([hidden])) .flow-footer{min-height:66px;padding:7px 0}
}
@media(max-width:800px){
 #panel-model .editorial-casting-top{display:flex;flex-direction:column;align-items:stretch;gap:9px;margin:0 0 11px}
 #panel-model .editorial-casting-top h3{font-size:28px}
 #panel-model .editorial-casting-top .atelier-source-tabs{order:2;margin:0;border-bottom:1px solid #343638;gap:20px}
 #panel-model .editorial-casting-top .editorial-cast-search{order:1;max-width:none;min-height:40px;width:100%;flex:none}
 #panel-model .atelier-cast-gallery{gap:10px}
 #panel-model .atelier-reference,#panel-model .editorial-own-cast{
  flex:0 0 clamp(156px,45vw,220px);height:clamp(238px,33svh,300px)
 }
 #panel-model .atelier-cast-gallery .atelier-reference{
  position:relative;overflow:hidden;background:#171819;border-radius:4px;border:1px solid #373839
 }
 #panel-model .atelier-cast-gallery .atelier-reference img{
  display:block;width:100%;height:100%;aspect-ratio:auto;border:none;border-radius:0;object-fit:cover
 }
 #panel-model .atelier-cast-gallery .atelier-reference>span{
  position:absolute;left:0;right:0;bottom:0;padding:26px 9px 9px;
  background:linear-gradient(0deg,#080809ef,transparent);font-size:10px
 }
 #panel-model .editorial-own-cast{aspect-ratio:auto}
 #panel-model .editorial-cast-selection{display:flex;align-items:center;gap:13px;min-height:67px}
 #panel-model .editorial-selected-cast{display:flex;flex:0 1 auto;gap:7px;align-items:center;overflow-x:auto;min-width:0}
 #panel-model .editorial-model-card.thumb{flex:0 0 51px!important;width:51px!important;height:53px!important;min-width:0!important;padding:0;background:transparent;border:0;overflow:visible;display:flex;align-items:center}
 #panel-model .editorial-model-cover{flex:0 0 51px;width:51px;height:53px}
 #panel-model .editorial-model-cover>img{width:51px;height:53px;object-fit:cover;border-radius:4px}
 #panel-model .editorial-model-info{display:none}
 #panel-model .editorial-model-extra{display:flex;min-width:0;padding:0}
 #panel-model .editorial-model-extra-thumb{width:26px;height:37px}
 #panel-model .editorial-add-view{position:absolute;bottom:0;right:0;width:23px;height:23px;margin:0;padding:0;min-height:23px;border-radius:50%;font-size:15px;z-index:3;background:#171819}
 #panel-model .editorial-selected-cast-heading{display:flex;flex:1;align-items:center;gap:10px;justify-content:space-between;margin:0;min-width:0}
 #panel-model .editorial-selected-cast-heading span{font-size:11px;white-space:nowrap}
 #panel-model #editorial-clear-cast{margin:0;font-size:11px;border-left:1px solid #454546;padding-left:12px}
 #panel-model .editorial-composition-grid{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:4px}
 #panel-model .editorial-composition-option{flex:0 0 min(68vw,330px);height:136px;scroll-snap-align:start}
 #panel-model .editorial-composition-copy strong{font-size:13px}
 #panel-model .editorial-composition-copy small{font-size:10px}
 .editorial-footer-cast{gap:9px}
 .editorial-footer-count{white-space:nowrap;font-size:11px}
 .editorial-footer-add{display:grid;place-items:center;border:1px solid #444;border-radius:4px;min-width:32px;height:36px;background:#171819;color:#fff;font-size:21px}
}
@media(max-width:520px){
 #panel-model .editorial-cast-selection{padding:7px;gap:10px}
 #panel-model .editorial-selected-cast{max-width:55%}
 #panel-model .editorial-selected-cast-heading{flex-wrap:wrap;justify-content:flex-start;gap:3px}
 #panel-model #editorial-clear-cast{border:0;padding:0}
 #panel-model .editorial-composition-option{flex-basis:76vw}
 .editorial-footer-thumbs{display:none}
 .editorial-footer-cast{gap:9px}
 .flow-main:has(#panel-model:not([hidden])) #step-next{min-width:170px}
}

/* 2026-11-01: keep selected-cast controls clickable with the bottom action rail.
   Flex-column already anchors the footer when the content is short. Sticky overlays
   intercept thumbnail controls when campaign composition needs more vertical space. */
.flow-main:has(#panel-model:not([hidden])) #step-footer{position:relative;bottom:auto;z-index:1}
#panel-model .editorial-cast-selection{position:relative;z-index:2}
#panel-model .editorial-model-card.thumb{position:relative;z-index:2}
#panel-model .editorial-model-extra-thumb{position:relative}
#panel-model .editorial-model-extra-thumb button{z-index:6}
@media(min-width:801px){#panel-model .editorial-selected-cast{overflow:visible;max-width:none}}

/* Selected reference removal: the whole tiny additional-view photograph is the
   hit target. Keep the visible close glyph at the top right of that photograph. */
#panel-model .editorial-model-extra-thumb{position:relative;isolation:isolate;overflow:hidden}
#panel-model .editorial-model-extra-thumb button{
 position:absolute;inset:0;top:0;left:0;right:0;bottom:0;display:block;
 width:100%;height:100%;padding:0;margin:0;border:0;border-radius:0;
 background:transparent;color:transparent;font-size:0;z-index:10;
 cursor:pointer;pointer-events:auto
}
#panel-model .editorial-model-extra-thumb button::after{
 content:'×';position:absolute;top:0;right:0;display:grid;place-items:center;
 width:19px;height:19px;background:#070808ed;color:#fff;font-size:15px;
 font-weight:500;border-bottom-left-radius:4px
}
#panel-model .editorial-model-extra-thumb button:hover{background:#07080822}
#panel-model .editorial-model-extra-thumb button:focus-visible{outline:2px solid #fff;outline-offset:-2px}

/* Non-shrinking additional view thumbnail: prevent zero-sized remove targets
   inside the compact flex casting strip on desktop and mobile. */
#panel-model .editorial-model-extra-thumb{
 flex:0 0 32px!important;min-width:32px!important;width:32px!important;
 height:44px!important;min-height:44px!important;overflow:visible!important;
}
#panel-model .editorial-model-extra-thumb img{
 display:block;width:32px!important;height:44px!important;object-fit:cover;
}
#panel-model .editorial-model-extra-thumb button{
 position:absolute!important;left:0!important;top:0!important;right:auto!important;bottom:auto!important;
 display:block!important;width:32px!important;height:44px!important;
 min-width:32px!important;min-height:44px!important;
 visibility:visible!important;opacity:1!important;pointer-events:auto!important;
 z-index:25!important;background:#0a0b0b08!important;border:1px solid #ffffff24!important;
 font-size:0!important;color:transparent!important;
}

/* The optional per-person add-view control sits beside, never over, Remove person. */
#panel-model .editorial-model-card.thumb .editorial-add-view{
 position:static!important;top:auto!important;right:auto!important;
 bottom:auto!important;left:auto!important;
 flex:0 0 24px!important;width:24px!important;height:30px!important;
 margin:0 0 0 3px!important;padding:0!important;min-width:24px!important;min-height:30px!important;
 align-self:center!important;z-index:1!important;
}

/* Topmost controls belong to their photographs, never the adjacent add-view.
   This explicitly prevents an invisible hover + from taking their pointer events. */
#panel-model .editorial-model-cover{position:relative;z-index:30!important}
#panel-model .editorial-model-extra{position:relative;z-index:40!important}
#panel-model .editorial-model-extra-thumb{position:relative;z-index:41!important}
#panel-model .editorial-model-extra-thumb button{z-index:42!important}
#panel-model .editorial-model-card.thumb .editorial-add-view{z-index:0!important}

/* PVLAB_COMPOSITION_VISIBLE_NO_PRESELECT_20261101
   Reference design remains visible from the first frame; choosing models is voluntary. */
#panel-model .editorial-casting-top{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;margin:0 0 7px!important}
#panel-model .editorial-casting-top h3{margin:0!important;font-size:clamp(27px,2.4vw,34px)}
#panel-model .editorial-casting-top .editorial-cast-search{margin-left:auto;flex:0 1 290px;max-width:290px}
#panel-model .editorial-casting-tabs{
 display:flex!important;align-items:center;gap:clamp(18px,2.1vw,30px);
 border-bottom:1px solid #363738;margin:0 0 13px!important;
 min-height:36px;padding:0
}
#panel-model .editorial-casting-tabs .atelier-tab{min-height:36px;padding:8px 0 10px;font-size:12px}
#panel-model .editorial-cast-selection{
 display:flex;align-items:center;min-height:68px;gap:14px;margin:13px 0 0;
 border:1px solid #343638;border-radius:5px;padding:7px 14px;background:#0d0e0f
}
#panel-model .editorial-cast-selection[hidden]{display:none!important}
#panel-model .editorial-cast-empty{margin:0;padding:0;font-size:12px;line-height:1.5;color:#aaabae}
#panel-model .editorial-cast-empty[hidden]{display:none!important}
#panel-model .editorial-casting-controls{display:block!important;margin:17px 0 0;padding:0;background:transparent;border:0}
#panel-model .editorial-casting-controls[hidden]{display:none!important}
#panel-model .editorial-composition-option:disabled{
 cursor:default;opacity:.75!important;border-color:#3c3d3f;filter:saturate(.7)
}
#panel-model .editorial-composition-option:disabled:hover{border-color:#3c3d3f}
#panel-model .editorial-composition-option:disabled .editorial-composition-check{
 border-color:#bbb;background:#08090a55
}
#panel-model .editorial-casting-controls.is-awaiting-cast .editorial-cast-hint{
 display:block!important;margin:9px 0 0;font-size:11px;color:#b3b2b0
}
#panel-model .editorial-casting-controls:not(.is-awaiting-cast) .editorial-cast-hint{display:none}
@media(max-width:800px){
 #panel-model .editorial-casting-top{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important}
 #panel-model .editorial-casting-top .editorial-cast-search{margin:0;max-width:none;width:100%;flex:none;min-height:40px}
 #panel-model .editorial-casting-tabs{gap:20px;margin-bottom:12px!important;overflow-x:auto}
 #panel-model .editorial-cast-selection{min-height:64px;padding:9px 12px}
 #panel-model .editorial-composition-grid{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity}
 #panel-model .editorial-composition-option{flex:0 0 min(70vw,335px)}
}

/* PVLAB_STYLING_IDENTITY_PARITY_20261101
   Preserve original casting and wardrobe photography, model controls and quote logic.
   Identity and Styling share the same visual cadence. Only workspace presentation changes. */
@media(min-width:801px){
 /* Slightly longer casting photographs, same number and arrangement. */
 #panel-model .atelier-cast-gallery .atelier-reference,
 #panel-model .atelier-cast-gallery .editorial-own-cast{
  height:clamp(285px,34svh,322px);
 }
 /* The wardrobe hero was 350–630px, hiding the first row of clothing.
    Use the compact identity-stage footprint and identical hero rhythm. */
 #panel-style .stage-visual{height:clamp(220px,26svh,266px)}
 #panel-style .stage-visual>img{object-position:center 32%}
 #panel-style .stage-copy{bottom:64px;max-width:550px}
 #panel-style .stage-copy h2{
  font-size:clamp(64px,5.2vw,84px);
  line-height:.94;margin:10px 0 10px;letter-spacing:-.09em;
 }
 #panel-style .stage-copy p{font-size:16px;line-height:1.5;max-width:455px}
 #panel-style .atelier-workspace{padding-top:15px;padding-bottom:8px}
 #panel-style .editorial-styling-top{display:block;margin:0 0 8px}
 #panel-style .editorial-styling-top h3{
  font-size:clamp(27px,2.4vw,34px);letter-spacing:-.055em;
  font-weight:510;line-height:1.17;margin:0 0 5px
 }
 #panel-style .editorial-styling-top p{
  max-width:760px;font-size:12px;line-height:1.45;margin:0;color:#a9aaad
 }
 #panel-style .atelier-source-tabs{
  gap:clamp(18px,2.1vw,30px);margin:0 0 13px;
  min-height:36px;border-bottom:1px solid #363738
 }
 #panel-style .atelier-tab{min-height:36px;font-size:12px;padding:8px 0 10px}
 #panel-style .atelier-outfit-gallery{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px
 }
 #panel-style .atelier-look{
  height:clamp(300px,36svh,350px);aspect-ratio:auto;
  min-width:0;border-radius:4px;overflow:hidden;transform:none;
 }
 #panel-style .atelier-look img{
  display:block;width:100%;height:100%;object-fit:cover;
  object-position:center 29%;filter:saturate(.85)
 }
 #panel-style .atelier-look span{
  position:absolute;bottom:0;left:0;right:0;
  padding:35px 10px 10px;letter-spacing:.1em;
  background:linear-gradient(0deg,#070808de,transparent);font-size:10px
 }
 #panel-style .atelier-reference-note{margin:12px 0 12px;font-size:11px}
 #panel-style .atelier-inline-actions{margin:12px 0}
 #panel-style .field-name{margin:12px 0 8px}
 #panel-style #styling-direction{min-height:88px}
 /* This step includes uploads and optional direction below the cards.
    The action bar belongs after the content, never over it. */
 .flow-main:has(#panel-style:not([hidden])){min-height:0}
 .flow-main:has(#panel-style:not([hidden])) #step-footer{
  position:relative;bottom:auto;z-index:1;
  margin-top:16px;padding:18px 0 12px;
  background:transparent;backdrop-filter:none
 }
}
@media(min-width:801px) and (max-height:880px){
 #panel-style .stage-visual{height:clamp(188px,24svh,214px)}
 #panel-style .stage-copy{bottom:59px}
 #panel-style .stage-copy h2{font-size:clamp(60px,4.9vw,76px)}
 #panel-style .atelier-workspace{padding-top:9px}
 #panel-style .editorial-styling-top{margin-bottom:6px}
 #panel-style .editorial-styling-top p{font-size:11px}
 #panel-style .atelier-source-tabs{margin-bottom:10px}
 #panel-style .atelier-look{height:clamp(275px,35svh,320px)}
 #panel-model .atelier-cast-gallery .atelier-reference,
 #panel-model .atelier-cast-gallery .editorial-own-cast{height:clamp(263px,34svh,295px)}
}
@media(max-width:800px){
 #panel-style .stage-visual{height:clamp(290px,44svh,420px)}
 #panel-style .stage-visual>img{object-position:center 32%}
 #panel-style .stage-copy h2{font-size:clamp(58px,10vw,78px)}
 #panel-style .atelier-workspace{padding-top:18px}
 #panel-style .editorial-styling-top{margin:0 0 12px;display:block}
 #panel-style .editorial-styling-top h3{margin:0 0 7px;font-size:clamp(25px,5.8vw,32px)}
 #panel-style .editorial-styling-top p{font-size:12px;line-height:1.5}
 #panel-style .atelier-source-tabs{margin:0 0 13px}
 #panel-style .atelier-outfit-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 #panel-style .atelier-look{aspect-ratio:.71}
 #panel-style .atelier-look img{height:100%;width:100%;object-fit:cover}
 #panel-style .atelier-inline-actions{margin:14px 0}
 .flow-main:has(#panel-style:not([hidden])) #step-footer{
  position:relative;bottom:auto;z-index:1;background:transparent;
  margin-top:15px;padding:16px 0 max(14px,env(safe-area-inset-bottom));
  backdrop-filter:none
 }
}
@media(max-width:520px){
 #panel-style .stage-visual{height:clamp(300px,43svh,395px)}
 #panel-style .editorial-styling-top h3{font-size:27px}
 #panel-style .atelier-outfit-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #panel-style .atelier-look{aspect-ratio:.73}
 #panel-style #styling-direction{min-height:100px}
}

/* PVLAB_EDITORIAL_COMPOSITION_185PX_20261101
   Owner-approved visual refinement of the three campaign choice cards only.
   Preserve the original artwork, 3-column composition and active check state. */
@media(min-width:801px){
 #panel-model .editorial-composition-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
 }
 #panel-model .editorial-composition-option{
  height:185px;min-height:185px;border-radius:5px;
 }
}
#panel-model .editorial-composition-art img{
 object-position:center 30%;
 filter:brightness(.83) saturate(.82) contrast(1.02);
}
#panel-model .editorial-composition-option::after{
 background:linear-gradient(0deg,rgba(5,6,7,.83) 0%,rgba(5,6,7,.34) 41%,rgba(5,6,7,.08) 82%);
}
#panel-model .editorial-composition-copy{
 left:16px;right:34px;bottom:15px;gap:5px;
}
#panel-model .editorial-composition-copy strong{font-size:14px;font-weight:600}
#panel-model .editorial-composition-copy small{font-size:11px;line-height:1.4;color:#e4e3e0}
@media(max-width:800px){
 #panel-model .editorial-composition-option{
  height:172px;min-height:172px;
 }
}
@media(max-width:520px){
 #panel-model .editorial-composition-copy{left:12px;right:24px;bottom:12px}
 #panel-model .editorial-composition-copy strong{font-size:13px}
 #panel-model .editorial-composition-copy small{font-size:10px}
}

/* PVLAB_EDITORIAL_COMPACT_EMPTY_AND_CTA_20261101
   Keep identical image, hero and footer geometry with zero, one or more selected models.
   Only the selected-cast contents and optional composition section may change. */
@media(min-width:801px) and (max-height:950px){
 .editorial-flow:has(#panel-model:not([hidden])){
  padding-top:8px;padding-bottom:0;
 }
 .flow-main:has(#panel-model:not([hidden])){
  min-height:calc(100svh - 78px - 44px);
 }
 .flow-main:has(#panel-model:not([hidden])) #panel-model .stage-visual{
  height:clamp(154px,20svh,190px);
 }
 .flow-main:has(#panel-model:not([hidden])) #panel-model .stage-copy{
  bottom:35px;
 }
 .flow-main:has(#panel-model:not([hidden])) #panel-model .stage-copy h2{
  font-size:clamp(54px,4.3vw,64px);margin:4px 0 5px;
 }
 .flow-main:has(#panel-model:not([hidden])) #panel-model .atelier-workspace{
  padding-top:9px;padding-bottom:0;
 }
 .flow-main:has(#panel-model:not([hidden])) #panel-model .atelier-cast-gallery .atelier-reference,
 .flow-main:has(#panel-model:not([hidden])) #panel-model .atelier-cast-gallery .editorial-own-cast{
  height:clamp(272px,33svh,295px);
 }
 .flow-main:has(#panel-model:not([hidden])) #panel-model .editorial-cast-selection{
  min-height:71px;margin-top:8px;padding:7px 14px;
 }
 .flow-main:has(#panel-model:not([hidden])) #step-footer{
  min-height:60px;margin-top:auto;padding:8px 0 max(8px,env(safe-area-inset-bottom));
 }
}
@media(min-width:801px){
 /* This is a locked editorial step, not a grey system-form button. */
 .flow-main:has(#panel-model:not([hidden])) #step-next{
  background:#f2efe7;border:1px solid #f2efe7;color:#111213;
  font-size:13px;font-weight:600;letter-spacing:-.02em;min-height:50px;
  min-width:235px;border-radius:3px;
  justify-content:space-between;gap:18px;box-shadow:none;
 }
 .flow-main:has(#panel-model:not([hidden])) #step-next:disabled{
  background:transparent;border-color:#48494a;color:#a5a4a0;
  opacity:1;cursor:not-allowed;
 }
 .flow-main:has(#panel-model:not([hidden])) #step-next:hover:not(:disabled){
  background:#fff;border-color:#fff;transform:translateY(-1px);
 }
}
@media(max-width:800px){
 .flow-main:has(#panel-model:not([hidden])) #step-next:disabled{
  background:transparent;border:1px solid #48494a;color:#a5a4a0;
  opacity:1;border-radius:3px;cursor:not-allowed;
 }
}
/* The actual paid Generate action, consistent with the PV LAB fashion-editorial
   language. Its existing id, disabled state, credit cost, and paid job flow remain. */
#panel-generate .editorial-generate-action{text-align:left;margin-top:24px}
#panel-generate .editorial-review-main{min-width:0}
#panel-generate .atelier-review-main #editorial-generate.editorial-final-cta{
  display:flex;align-items:center;justify-content:space-between;
  width:100%;min-height:78px;height:auto;padding:12px 14px 12px 23px;
  border:1px solid #ebe7df;border-radius:3px;background:#f1eee6;color:#111213;
  box-shadow:none;letter-spacing:normal;text-align:left;
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
#panel-generate .editorial-final-cta-label{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}
#panel-generate .editorial-final-cta-eyebrow{
  font-size:9px;letter-spacing:.19em;font-weight:650;line-height:1.2;
  color:#64615b
}
#panel-generate .editorial-final-cta-label strong{
  font-size:clamp(18px,1.65vw,23px);line-height:1.16;
  font-weight:550;letter-spacing:-.052em;color:#161717
}
#panel-generate .editorial-final-cta-icon{
  display:grid;place-items:center;flex:0 0 48px;
  width:48px;height:48px;border:1px solid #121313;border-radius:2px;
  background:#151515;color:#f6f3ec;font-size:23px;font-weight:400;
  line-height:1;transition:transform .18s ease,background .18s ease;
}
#panel-generate .atelier-review-main #editorial-generate.editorial-final-cta:hover:not(:disabled){
 background:#fff;border-color:#fff;transform:translateY(-1px)
}
#panel-generate .editorial-final-cta:hover:not(:disabled) .editorial-final-cta-icon{
 background:#303030;transform:translate(1px,-1px)
}
#panel-generate .atelier-review-main #editorial-generate.editorial-final-cta:disabled{
 background:#1a1b1b;border-color:#4a4b4b;color:#8e8f8b;opacity:1;cursor:wait;
}
#panel-generate .editorial-final-cta:disabled .editorial-final-cta-eyebrow,
#panel-generate .editorial-final-cta:disabled .editorial-final-cta-label strong{color:#969791}
#panel-generate .editorial-final-cta:disabled .editorial-final-cta-icon{
 background:#282a29;border-color:#454746;color:#999b98
}
#panel-generate .editorial-cost{margin-top:12px;text-align:left;font-size:12px}
@media(max-width:800px){
 #panel-generate .atelier-review-main #editorial-generate.editorial-final-cta{
  min-height:70px;padding:10px 11px 10px 17px;
 }
 #panel-generate .editorial-final-cta-label strong{font-size:19px}
 #panel-generate .editorial-final-cta-icon{flex-basis:44px;width:44px;height:44px}
}
@media(prefers-reduced-motion:reduce){
 #panel-generate .editorial-final-cta,#panel-generate .editorial-final-cta-icon{transition:none}
}

/* Stable first-step layout: no geometry depends on the cast count.
   The populated strip uses the same reserved 71px height as the empty strip. */
@media(min-width:801px) and (max-height:950px){
 #panel-model .editorial-cast-selection{min-height:71px}
 #panel-model .editorial-cast-selection[hidden]{display:none!important}
}

/* PVLAB_IDENTITY_HERO_TEXT_CTA_20261101
   The former 173px short hero placed the step kicker under Back and the subtitle
   across the progress rail. Keep one stable stage height regardless of cast size. */
@media(min-width:801px) and (max-height:950px){
 .flow-main:has(#panel-model:not([hidden])) #panel-model .stage-visual{
  height:210px;
 }
 .flow-main:has(#panel-model:not([hidden])) #panel-model .stage-copy{
  bottom:54px;
 }
 .flow-main:has(#panel-model:not([hidden])) #panel-model .stage-copy h2{
  margin:4px 0 5px;
  font-size:clamp(54px,4.3vw,64px);
 }
 .flow-main:has(#panel-model:not([hidden])) #panel-model .stage-copy p{
  font-size:14px;
  line-height:1.4;
 }
}
/* Quieter PV LAB navigation: dark editorial surface rather than a large cream slab.
   The existing button action, keyboard behavior, and label remain unchanged. */
.flow-main:has(#panel-model:not([hidden])) #step-next{
 display:inline-flex;
 align-items:center;
 justify-content:space-between;
 gap:23px;
 min-width:214px;
 min-height:48px;
 padding:7px 10px 7px 17px;
 border:1px solid #5d5d5b;
 border-radius:2px;
 background:#131414;
 color:#eeeae3;
 font-size:12px;
 font-weight:550;
 letter-spacing:-.015em;
 box-shadow:none;
 transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.flow-main:has(#panel-model:not([hidden])) #step-next::after{
 content:'↗';
 display:grid;
 place-items:center;
 flex:0 0 28px;
 width:28px;height:28px;
 margin:0;
 border:1px solid #555653;
 border-radius:1px;
 background:#212222;
 color:#eeeae3;
 font-size:18px;
 line-height:1;
 font-weight:400;
}
.flow-main:has(#panel-model:not([hidden])) #step-next:hover:not(:disabled){
 background:#1c1d1d;
 color:#fff;
 border-color:#dad7d0;
 transform:none;
}
.flow-main:has(#panel-model:not([hidden])) #step-next:hover:not(:disabled)::after{
 border-color:#ccc;
 background:#323333;
}
.flow-main:has(#panel-model:not([hidden])) #step-next:focus-visible{
 outline:2px solid #f2efea;
 outline-offset:4px;
}
.flow-main:has(#panel-model:not([hidden])) #step-next:disabled{
 background:#111212;
 color:#838480;
 border:1px solid #383a3a;
 opacity:1;
 cursor:default;
}
.flow-main:has(#panel-model:not([hidden])) #step-next:disabled::after{
 background:#171818;
 color:#72736f;
 border-color:#353737;
}
@media(max-width:800px){
 .flow-main:has(#panel-model:not([hidden])) #step-next{
  min-width:0;
  min-height:49px;
  padding:8px 10px 8px 14px;
  gap:12px;
  border-radius:2px;
  background:#131414;
  border-color:#5d5d5b;
  color:#eeeae3;
 }
}
@media(prefers-reduced-motion:reduce){
 .flow-main:has(#panel-model:not([hidden])) #step-next{transition:none}
}

/* Shared location/material atlas: unique photographic frames, no model cutouts. */
.direction-card.direction-card-atlas{
 background-size:auto 200%;
 background-repeat:no-repeat;
}


/* PVLAB_FULL_EDITORIAL_STAGE_CONSISTENCY_20261123
   User-approved desktop Identity is the reference: one shallow photographic stage,
   condensed heading, immediate task controls, no oversized review-side photograph.
   Scoped to web Styling and Generate, never generation data or pricing. */
@media(min-width:801px){
 body.editorial-web #panel-style .stage-copy{
  left:clamp(19px,3.6vw,64px)!important;
  bottom:clamp(40px,7svh,76px)!important;
 }
 body.editorial-web #panel-style .stage-copy h2{
  font-family:Impact,'Arial Narrow',DM,Arial,sans-serif!important;
  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-style .stage-copy p{
  font-size:12px!important;font-weight:650!important;
  letter-spacing:.09em;text-transform:uppercase;
  line-height:1.3!important;max-width:440px;
 }
 body.editorial-web #panel-style .stage-visual .editorial-flow-rail{display:none!important}
 body.editorial-web #panel-style .atelier-workspace{padding-top:0!important}
 body.editorial-web #panel-style .editorial-styling-top{display:none!important}
 body.editorial-web #panel-style .atelier-source-tabs{
  position:relative;z-index:9;
  margin:-40px 0 17px!important;
  border-bottom:0!important;
  min-height:40px;
 }
}
/* Generate takes Identity's wide, low photographic header instead of a tall
   right-hand image and huge multi-line headline. The image remains labelled as
   inspiration and is never presented as a generated customer preview. */
body.editorial-web #panel-generate .stage-visual--generate{
 height:clamp(210px,27svh,232px);min-height:0;
 border:0;border-radius:0;
}
body.editorial-web #panel-generate .stage-visual--generate>img{
 object-position:center 32%;filter:brightness(.53) saturate(.77);
}
body.editorial-web #panel-generate .stage-copy{
 left:clamp(19px,3.6vw,64px);
 bottom:clamp(40px,7svh,76px);
 max-width:730px;
}
body.editorial-web #panel-generate .stage-copy h2{
 font-family:Impact,'Arial Narrow',DM,Arial,sans-serif!important;
 font-size:clamp(72px,6.4vw,100px)!important;
 font-weight:700!important;font-synthesis:none!important;
 letter-spacing:.02em!important;line-height:.9!important;
 text-transform:uppercase;margin:7px 0 11px!important;
}
body.editorial-web #panel-generate .stage-copy p{
 margin:0;color:#f1eee9;font-size:12px;font-weight:650;
 letter-spacing:.09em;line-height:1.3;text-transform:uppercase;
}
body.editorial-web #panel-generate .stage-visual .editorial-flow-rail{
 display:none!important;
}
body.editorial-web #panel-generate .editorial-generate-photo-note{
 position:absolute;bottom:14px;right:20px;z-index:2;
 color:#dfddd7;font-size:9px;font-weight:600;
 letter-spacing:.1em;line-height:1.3;
}
body.editorial-web #panel-generate .atelier-review-layout{
 display:block;min-height:0;
}
body.editorial-web #panel-generate .atelier-review-main{
 padding:15px 0 10px;min-width:0;
}
body.editorial-web #panel-generate .atelier-review-main .step-intro{
 max-width:none;color:#a8a9a9;font-size:12px;
 line-height:1.5;margin:0 0 12px;
}
body.editorial-web #panel-generate .editorial-review-world{
 margin:0 0 12px;padding:9px 12px;gap:11px;
}
body.editorial-web #panel-generate .editorial-review-world img{
 width:62px;height:56px;
}
body.editorial-web #panel-generate .editorial-review-world-copy span{
 font-size:11px;line-height:1.35;
}
body.editorial-web #panel-generate .editorial-review-world button{
 flex:none;white-space:nowrap;
}
body.editorial-web #panel-generate .selection-summary{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:11px;margin:12px 0 18px;border:0;
}
body.editorial-web #panel-generate .selection-item{
 min-width:0;min-height:82px;margin:0;
 padding:9px 10px;gap:10px;box-sizing:border-box;
 border:1px solid #353638;background:#0d0e0f;
}
body.editorial-web #panel-generate .selection-image{
 flex:0 0 53px;width:53px;height:64px;
 overflow:hidden;
}
body.editorial-web #panel-generate .selection-info{
 min-width:0;grid-template-columns:minmax(0,1fr) auto;
 row-gap:3px;column-gap:6px;
}
body.editorial-web #panel-generate .selection-info>span{
 font-size:9px;letter-spacing:.1em;
}
body.editorial-web #panel-generate .selection-info strong{
 font-size:11px;line-height:1.35;
}
body.editorial-web #panel-generate .selection-info button{
 font-size:11px;padding:7px 2px;
}
body.editorial-web #panel-generate .atelier-settings{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);
 align-items:start;gap:22px;
}
body.editorial-web #panel-generate .atelier-settings>div{min-width:0}
body.editorial-web #panel-generate .atelier-settings .field-name{
 margin:0 0 9px;
}
body.editorial-web #panel-generate .atelier-settings .segmented{
 flex-wrap:nowrap;
}
body.editorial-web #panel-generate .atelier-settings .segmented button{
 min-width:0;min-height:43px;padding:7px 5px;
}
body.editorial-web #panel-generate .atelier-generate-advanced{
 margin:14px 0;
}
body.editorial-web #panel-generate .setting-note{
 margin:8px 0;padding:8px 0;line-height:1.5;
}
body.editorial-web #panel-generate .editorial-generate-action{
 margin-top:16px;
}
body.editorial-web #panel-generate .atelier-review-photo{
 display:none!important;
}
@media(min-width:801px) and (max-height:950px){
 body.editorial-web #panel-generate .stage-visual--generate{height:210px}
 body.editorial-web #panel-generate .stage-copy{bottom:54px}
 body.editorial-web #panel-generate .stage-copy h2{font-size:clamp(54px,4.3vw,64px)!important}
 body.editorial-web #panel-style .stage-copy h2{font-size:clamp(54px,4.3vw,64px)!important}
}
@media(min-width:801px) and (max-width:1100px){
 body.editorial-web #panel-generate .selection-summary{
  grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;
 }
 body.editorial-web #panel-generate .selection-item{
  flex-wrap:wrap;gap:7px;align-content:flex-start;
 }
}
@media(max-width:800px){
 body.editorial-web #panel-generate .stage-visual--generate{
  height:174px;min-height:0;max-height:none;
 }
 body.editorial-web #panel-generate .stage-visual--generate>img{
  object-position:center 32%;
 }
 body.editorial-web #panel-generate .stage-navigation{
  display:block!important;position:absolute;
  inset:0;z-index:3;pointer-events:none;
 }
 body.editorial-web #panel-generate .stage-navigation .progress-top{
  display:flex;position:absolute;top:8px;left:16px;right:16px;
  margin:0;padding:0;pointer-events:auto;
 }
 body.editorial-web #panel-generate .stage-navigation .editorial-flow-rail{
  display:none!important;
 }
 body.editorial-web #panel-generate .stage-copy{
  left:17px;bottom:20px;max-width:calc(100% - 34px);
 }
 body.editorial-web #panel-generate .stage-copy h2{
  font-size:clamp(34px,8.5vw,53px)!important;
  line-height:.95!important;margin:5px 0 6px!important;
 }
 body.editorial-web #panel-generate .stage-copy p{
  font-size:10px;line-height:1.25;
 }
 body.editorial-web #panel-generate .editorial-generate-photo-note{
  display:none;
 }
 body.editorial-web #panel-generate .atelier-review-main{
  padding:12px 0 10px;
 }
 body.editorial-web #panel-generate .selection-summary{
  grid-template-columns:minmax(0,1fr);
  gap:0;margin:8px 0 16px;
  border-top:1px solid #353638;
 }
 body.editorial-web #panel-generate .selection-item{
  min-height:80px;padding:10px 0;
  border:0;border-bottom:1px solid #353638;
  background:transparent;
 }
 body.editorial-web #panel-generate .selection-image{
  flex:0 0 52px;width:52px;height:56px;
 }
 body.editorial-web #panel-generate .selection-info button{
  min-width:44px;min-height:44px;padding:8px 0 8px 8px;
 }
 body.editorial-web #panel-generate .atelier-settings{
  grid-template-columns:minmax(0,1fr);gap:16px;
 }
 body.editorial-web #panel-generate #ratio-options{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;
 }
 body.editorial-web #panel-generate #ratio-options button{
  min-width:0;padding:8px 2px;
 }
}
@media(max-width:600px){
 body.editorial-web #panel-style .stage-copy h2{
  font-family:Impact,'Arial Narrow',DM,Arial,sans-serif!important;
  font-size:clamp(48px,11vw,66px)!important;
  font-weight:700!important;font-synthesis:none!important;
  letter-spacing:.015em!important;line-height:.9!important;
  text-transform:uppercase;
 }
 body.editorial-web #panel-generate .editorial-review-world{
  flex-wrap:wrap;
 }
 body.editorial-web #panel-generate .editorial-review-world button{
  margin-left:auto;
 }
}


@media(min-width:1200px){
 body.editorial-web .editorial-flow:has(#panel-style: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-style:not([hidden])){
  max-width:1760px!important;width:100%!important;
 }
}
/* PVLAB_STYLING_IDENTITY_CAROUSEL_PARITY_20261123
   Reuse the approved Identity portrait rhythm and wheel/keyboard/touch flow.
   Keep six original garments, selected state, upload/describe routes and quotes. */
@media(min-width:801px){
 body.editorial-web #panel-style .stage-visual{
  height:clamp(216px,calc(27svh - 14px),232px)!important;
  border:0!important;
 }
 body.editorial-web #panel-style .stage-copy{
  left:0!important;bottom:clamp(78px,9.2svh,88px)!important;
 }
 body.editorial-web #panel-style .stage-copy h2{
  font-size:clamp(72px,6.4vw,100px)!important;
  letter-spacing:.02em!important;
 }
 body.editorial-web #panel-style .stage-copy p{
  max-width:440px;
 }
 body.editorial-web #panel-style .stage-visual>.stage-navigation .progress-top{
  left:auto!important;right:20px!important;top:10px!important;
  width:auto!important;gap:26px!important;justify-content:flex-end!important;
 }
}
body.editorial-web #panel-style .stage-visual--style>img{
 /* Show the same original Chrome subject's eyes, not only the mouth. */
 object-position:center 24%!important;
}
body.editorial-web #panel-style #editorial-outfit-rail{
 position:relative;display:grid;
 grid-template-columns:clamp(200px,14.5vw,240px) minmax(0,1fr);
 align-items:stretch;gap:14px;min-width:0;width:100%;
 height:clamp(290px,calc(33svh + 10px),324px);
}
body.editorial-web #panel-style .editorial-outfit-pinned{
 display:flex;min-width:0;height:100%;background:#101112;
 border:1px solid #181919;
}
body.editorial-web #panel-style #editorial-outfit-pinned-upload{
 display:flex;flex:1;flex-direction:column;align-items:center;
 justify-content:center;gap:17px;min-width:0;padding:20px 12px;
 background:none;border:0;color:#eeeae3;text-align:center;cursor:pointer;
}
body.editorial-web #panel-style #editorial-outfit-pinned-upload:hover{
 background:#ffffff0a;
}
body.editorial-web #panel-style .editorial-outfit-create-symbol{
 font-size:35px;font-weight:300;line-height:1;
}
body.editorial-web #panel-style #editorial-outfit-pinned-upload strong{
 font-size:12px;font-weight:640;line-height:1.4;
 letter-spacing:.09em;text-transform:uppercase;
}
body.editorial-web #panel-style #editorial-outfit-pinned-upload small{
 align-self:stretch;margin-top:auto;padding-top:13px;
 border-top:1px solid #454747;font-size:11px;color:#c5c4bf;
}
body.editorial-web #panel-style .editorial-outfit-track-shell{
 position:relative;min-width:0;height:100%;
}
body.editorial-web #panel-style:not([data-style-mode="upload"]):not([data-style-mode="describe"]) .atelier-inline-actions{
 display:none;
}
body.editorial-web #panel-style #outfit-gallery.editorial-outfit-track{
 display:flex!important;flex-wrap:nowrap!important;align-items:stretch;
 gap:12px!important;width:100%;height:100%;padding:0 1px 2px;
 overflow-x:auto!important;overflow-y:hidden!important;
 scroll-behavior:auto;scroll-snap-type:none;
 overscroll-behavior-inline:contain;scrollbar-width:none;
}
body.editorial-web #panel-style #outfit-gallery::-webkit-scrollbar{display:none}
body.editorial-web #panel-style #outfit-gallery .atelier-look{
 position:relative;flex:0 0 clamp(202px,18vw,252px)!important;
 width:clamp(202px,18vw,252px)!important;
 height:100%!important;min-width:0!important;
 max-width:none!important;aspect-ratio:auto!important;
 border-radius:4px!important;transform:none!important;
}
body.editorial-web #panel-style #outfit-gallery .atelier-look img{
 width:100%!important;height:100%!important;object-fit:cover!important;
 object-position:center 27%!important;
}
body.editorial-web #panel-style #outfit-gallery .atelier-look:focus-visible,
body.editorial-web #panel-style #outfit-gallery:focus-visible,
body.editorial-web #panel-style .editorial-outfit-arrow:focus-visible{
 outline:2px solid #f3f0ea;outline-offset:3px;
}
body.editorial-web #panel-style .editorial-outfit-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-style .editorial-outfit-arrow.is-previous{left:7px}
body.editorial-web #panel-style .editorial-outfit-arrow.is-next{right:7px}
body.editorial-web #panel-style .editorial-outfit-arrow:disabled{
 opacity:0;pointer-events:none;
}
body.editorial-web #panel-style .editorial-outfit-arrow:hover:not(:disabled){
 background:#2a2b2b;
}
/* Identity-equivalent miniature size; never inherit the generic 100x130 thumbs. */
body.editorial-web #panel-style #outfit-thumbs.outfit-row{
 display:flex;align-items:center;flex-wrap:nowrap;gap:10px;
 min-height:56px;margin:6px 0 8px;padding:3px 5px;
 overflow-x:auto;overflow-y:visible;scrollbar-width:none;
}
body.editorial-web #panel-style #outfit-thumbs::-webkit-scrollbar{display:none}
body.editorial-web #panel-style #outfit-thumbs .thumb{
 position:relative;display:block;flex:0 0 46px;
 width:46px!important;height:50px!important;min-width:46px;
 margin:0!important;overflow:visible;border:0;background:transparent;
}
body.editorial-web #panel-style #outfit-thumbs .thumb>img{
 display:block;width:46px;height:50px;object-fit:cover;
 object-position:center 28%;border:1px solid #535453;
 border-radius:3px;
}
body.editorial-web #panel-style #outfit-thumbs .thumb>button{
 position:absolute;top:-7px;right:-7px;z-index:3;
 width:20px;height:20px;min-width:20px;min-height:20px;
 display:grid;place-items:center;padding:0;
 border:1px solid #a4a5a4;border-radius:50%;
 background:#242526;color:#fff;font-size:14px;line-height:1;
}
body.editorial-web #panel-style[data-style-mode="upload"] #editorial-outfit-rail,
body.editorial-web #panel-style[data-style-mode="describe"] #editorial-outfit-rail{
 display:none!important;
}
@media(max-width:800px){
 body.editorial-web #panel-style #editorial-outfit-rail{
  height:auto;min-height:0;grid-template-columns:112px minmax(0,1fr);gap:8px;
 }
 body.editorial-web #panel-style .editorial-outfit-pinned{
  align-self:stretch;
 }
 body.editorial-web #panel-style #editorial-outfit-pinned-upload{
  padding:10px 8px;gap:10px;
 }
 body.editorial-web #panel-style #editorial-outfit-pinned-upload strong{font-size:10px}
 body.editorial-web #panel-style #editorial-outfit-pinned-upload small{
  font-size:9px;line-height:1.35;margin-top:auto;
 }
 body.editorial-web #panel-style #outfit-gallery.editorial-outfit-track{
  height:auto;overflow-x:auto!important;-webkit-overflow-scrolling:touch;
  scroll-behavior:auto!important;scroll-snap-type:none!important;
  overscroll-behavior-x:contain;
 }
 body.editorial-web #panel-style #outfit-gallery .atelier-look{
  flex:0 0 clamp(158px,44vw,218px)!important;
  width:clamp(158px,44vw,218px)!important;
  height:auto!important;aspect-ratio:.77!important;
 }
 body.editorial-web #panel-style .editorial-outfit-arrow{
  display:none!important;
 }
 body.editorial-web #panel-style #outfit-thumbs.outfit-row{max-width:100%}
}


/* PVLAB_STYLING_FOOTER_IDENTITY_PARITY_20261123
   Visual match with approved Identity: shorten wardrobe portraits and put
   selected garments + Continue in a dedicated 72px bar immediately below
   the reference rail. The remaining textarea and advanced controls stay below. */
@media(min-width:801px){
 body.editorial-web #panel-style #editorial-outfit-rail{
  box-sizing:border-box;height:clamp(280px,35svh,298px)!important;
  min-height:0!important;max-height:298px!important;
 }
 body.editorial-web #panel-style #outfit-gallery .atelier-look{
  height:100%!important;max-height:none!important;
 }
 body.editorial-web #panel-style .stage-copy{
  bottom:clamp(58px,7.6svh,70px)!important;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-footer{
  display:flex!important;position:relative!important;bottom:auto!important;
  z-index:8!important;align-items:center!important;justify-content:space-between;
  box-sizing:border-box!important;min-height:72px!important;height:72px!important;
  max-height:72px!important;margin:8px 0 0!important;padding:8px 0!important;
  border-top:0!important;border-bottom:1px solid #343638!important;
  background:#08090a!important;backdrop-filter:none!important;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-back{
  display:none!important;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next{
  display:inline-flex!important;flex:0 0 auto!important;
  min-width:235px!important;min-height:50px!important;
  margin:0!important;padding:11px 18px!important;
  align-items:center;justify-content:space-between!important;gap:24px;
  border:1px solid #f4f1ea!important;border-radius:0!important;
  background:#f4f1ea!important;color:#101112!important;
  font-size:12px!important;font-weight:700!important;
  box-shadow:none!important;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next::after{
  content:'→'!important;position:static!important;display:inline-block!important;
  width:auto!important;height:auto!important;border:0!important;
  background:none!important;color:inherit!important;
  transform:none!important;font-size:22px!important;line-height:1;
 }
 body.editorial-web #panel-style .editorial-reference-note{margin-top:12px}
 body.editorial-web #panel-style .atelier-reference-note{margin-top:10px}
}
/* Keep the miniature previews entirely within the footer dock, no overlap
   with the pinned upload tile or card bottoms. */
body.editorial-web .editorial-footer-styling:not([hidden]){
 display:flex;flex:1 1 auto;min-width:0;align-items:center;gap:14px;
 margin:0;color:#eeeae3;
}
body.editorial-web .editorial-footer-styling[hidden]{display:none!important}
body.editorial-web .editorial-styling-selection-meta{
 display:flex;flex:0 0 auto;align-items:center;gap:16px;
}
body.editorial-web #styling-selection-count{
 color:#ecebe6;font-weight:600;font-size:11px;
 letter-spacing:.025em;white-space:nowrap;
}
body.editorial-web #styling-clear-outfits{
 background:transparent;border:0;border-left:1px solid #414345;
 border-radius:0;padding:5px 0 5px 13px;
 color:#a2a4a3;font-size:11px;min-height:0;min-width:0;cursor:pointer;
}
body.editorial-web #styling-clear-outfits[hidden]{display:none!important}
body.editorial-web #styling-selected-thumbs{
 min-width:0;flex:0 1 auto;max-width:min(52vw,620px);overflow:visible;
}
body.editorial-web #styling-selected-thumbs #outfit-thumbs.outfit-row{
 display:flex!important;align-items:center;flex-wrap:nowrap;
 gap:10px;box-sizing:border-box;height:56px!important;min-height:56px!important;
 max-height:56px!important;margin:0!important;padding:3px 8px!important;
 overflow-x:auto;overflow-y:visible;scrollbar-width:none;
}
body.editorial-web #styling-selected-thumbs #outfit-thumbs::-webkit-scrollbar{display:none}
body.editorial-web #styling-selected-thumbs .thumb{
 position:relative!important;display:block!important;flex:0 0 46px!important;
 width:46px!important;height:50px!important;min-width:46px!important;
 margin:0!important;overflow:visible!important;border:0!important;
 border-radius:3px!important;background:transparent!important;
}
body.editorial-web #styling-selected-thumbs .thumb>img{
 display:block;width:46px!important;height:50px!important;
 object-fit:cover;object-position:center 28%;
 border:1px solid #535453;border-radius:3px;
}
body.editorial-web #styling-selected-thumbs .thumb>button{
 position:absolute;right:-7px;top:-7px;z-index:5;
 width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;
 display:grid;place-items:center;padding:0!important;
 border:1px solid #aaa;border-radius:50%;background:#191b1bee;
 color:#fff;font-size:13px;line-height:1;
}
body.editorial-web #styling-footer-add{
 display:grid;place-items:center;flex:0 0 44px!important;
 width:44px!important;height:50px!important;min-width:44px!important;
 margin:0;padding:0;border:1px solid #444648;border-radius:3px;
 background:#171819;color:#f2f0ea;font-size:24px;cursor:pointer;
}
body.editorial-web #styling-footer-add[hidden]{display:none!important}
body.editorial-web #styling-footer-add:focus-visible,
body.editorial-web #styling-clear-outfits:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:800px){
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-footer{
  align-items:center;gap:10px;
 }
 body.editorial-web .editorial-footer-styling:not([hidden]){flex-wrap:wrap;gap:5px}
 body.editorial-web #styling-selected-thumbs{max-width:100%}
 body.editorial-web #styling-selected-thumbs #outfit-thumbs.outfit-row{
  height:56px!important;min-height:56px!important;
 }
}


/* PVLAB_STYLING_IDENTITY_FINAL_VISUAL_PARITY_20261123
   Identity screenshot is the locked design reference. Match the actual type
   components, button sizing, card geometry and section hierarchy; preserve
   garment data, reference images, mobile modes and existing handlers. */
@media(min-width:801px){
 /* Same uppercase navigational tabs as Identity's CASTING REFERENCES. */
 body.editorial-web #panel-style .atelier-source-tabs{
  gap:30px!important;height:40px;border:0!important;
 }
 body.editorial-web #panel-style .atelier-source-tabs .atelier-tab{
  font-size:12px!important;font-weight:650!important;
  letter-spacing:.13em!important;text-transform:uppercase;
 }
 /* Exactly the same desktop sizing rules as the approved Identity gallery. */
 body.editorial-web #panel-style #editorial-outfit-rail{
  height:clamp(272px,33svh,295px)!important;
  max-height:none!important;min-height:0!important;
 }
 body.editorial-web #panel-style #editorial-outfit-rail .atelier-look{
  height:100%!important;
  flex:0 0 clamp(202px,18vw,252px)!important;
  width:clamp(202px,18vw,252px)!important;
 }
 /* Both steps use the same CTA: DM Sans, Continue weight 650, target weight 410. */
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next{
  min-width:235px!important;min-height:50px!important;
  padding:11px 18px!important;
  border-color:#bbb7ae!important;background:#f4f1ea!important;
  color:#101112!important;border-radius:0!important;
  font-family:DM,'Helvetica Neue',Arial,sans-serif!important;
  font-weight:600!important;font-size:16px!important;
  letter-spacing:normal!important;
 }
 body.editorial-web .flow-main:has(#panel-style: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-style:not([hidden])) #step-next .editorial-next-verb{
  font-size:16px;font-weight:650;letter-spacing:-.018em;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next .editorial-next-target{
  font-size:15.5px;font-weight:410;letter-spacing:-.018em;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next .editorial-next-mobile{
  display:none!important;
 }
}
@media(min-width:801px) and (min-height:761px){
 body.editorial-web #panel-style #editorial-outfit-rail{
  height:clamp(290px,calc(33svh + 10px),324px)!important;
 }
}
/* Identity's pinned tile has a centered call to action and distinct, anchored
   upload line. Avoid the previous flex auto-margin pushing the plus to the top. */
body.editorial-web #panel-style .editorial-outfit-pinned{position:relative;overflow:hidden}
body.editorial-web #panel-style #editorial-outfit-pinned-upload{
 position:relative;justify-content:center;
 box-sizing:border-box;padding:16px 12px 61px!important;
 gap:15px;
}
body.editorial-web #panel-style #editorial-outfit-pinned-upload .editorial-outfit-create-symbol{
 flex:none;font-size:56px;font-weight:200;line-height:1;
}
body.editorial-web #panel-style #editorial-outfit-pinned-upload strong{
 flex:none;font-size:12px;font-weight:640;
 line-height:1.4;letter-spacing:.09em;text-transform:uppercase;
}
body.editorial-web #panel-style #editorial-outfit-pinned-upload small{
 position:absolute;bottom:13px;left:12px;right:12px;
 align-self:auto;margin:0;padding:10px 0 0;
 border-top:1px solid #454747;
 font-size:11px;line-height:1.3;color:#c5c4bf;
}
/* Beneath the carousel, reproduce Composition's editorial split hierarchy
   using the existing optional styling textarea rather than inventing presets. */
body.editorial-web #panel-style .editorial-styling-direction{
 display:grid;grid-template-columns:minmax(210px,21%) minmax(0,1fr);
 gap:clamp(20px,3vw,58px);align-items:start;
 min-width:0;margin:10px 0 8px;padding:16px 0 0;
 border-top:1px solid #343638;
}
body.editorial-web #panel-style .editorial-styling-direction-heading h3{
 margin:0 0 7px;
 font-family:Impact,'Arial Narrow',DM,Arial,sans-serif!important;
 font-size:clamp(35px,2.8vw,47px);font-weight:700;
 font-synthesis:none;letter-spacing:.01em;line-height:.94;
 text-transform:uppercase;color:#f4f2ef;
}
body.editorial-web #panel-style .editorial-styling-direction-heading p{
 margin:0;max-width:280px;
 font-size:11px;font-weight:600;letter-spacing:.16em;
 text-transform:uppercase;line-height:1.4;color:#d2d1cc;
}
body.editorial-web #panel-style .editorial-styling-direction-input{
 min-width:0;display:flex;flex-direction:column;gap:9px;
}
body.editorial-web #panel-style .editorial-styling-direction-input .field-name{
 margin:0!important;font-size:11px;color:#d2d1cc;
}
body.editorial-web #panel-style .editorial-styling-direction-input .field-name small{
 font-weight:400;color:#a0a2a1;
}
body.editorial-web #panel-style .editorial-styling-direction-input #styling-direction{
 display:block;box-sizing:border-box;width:100%;min-height:110px;
 max-width:100%;padding:14px 15px;
 border:1px solid #343638;border-radius:2px;
 background:#101112;font-size:13px;line-height:1.5;
}
/* Maintain mobile flow and legible CTA; do not apply desktop footer placement. */
@media(max-width:800px){
 body.editorial-web #panel-style .editorial-styling-direction{
  display:block;margin:12px 0 8px;padding-top:14px;
 }
 body.editorial-web #panel-style .editorial-styling-direction-heading{margin:0 0 15px}
 body.editorial-web #panel-style .editorial-styling-direction-heading h3{font-size:35px}
 body.editorial-web #panel-style #editorial-outfit-pinned-upload{
  padding:10px 8px 45px!important;
 }
 body.editorial-web #panel-style #editorial-outfit-pinned-upload .editorial-outfit-create-symbol{
  font-size:34px;
 }
 body.editorial-web #panel-style .editorial-styling-direction-input #styling-direction{
  min-height:100px;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next .editorial-next-label{
  display:inline!important;white-space:normal;font-size:13px;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next .editorial-next-verb{
  font-weight:650;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next .editorial-next-target{
  font-weight:410;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next .editorial-next-mobile{
  display:none!important;
 }
}


/* PVLAB_STYLING_FINAL_IDENTITY_DETAILS_20261123
   Use Identity's exact pinned-column width and visual hierarchy, not new
   decorative elements. Cards already use Identity's 202-252px width; their
   apparent narrower first card came from a nonzero initial scrollLeft. */
@media(min-width:801px){
 body.editorial-web #panel-style #editorial-outfit-rail{
  grid-template-columns:clamp(155px,16vw,222px) minmax(0,1fr)!important;
  gap:12px!important;
 }
 body.editorial-web #panel-style .editorial-outfit-pinned{
  border:1px solid #3d3e40!important;border-radius:4px!important;
  background:radial-gradient(ellipse at 65% 0%,#262726 0%,transparent 48%),
   linear-gradient(142deg,#1e1f20 0%,#101112 63%,#08090a 100%)!important;
 }
 body.editorial-web #panel-style #editorial-outfit-pinned-upload{
  padding:12px 12px 45px!important;gap:13px!important;
 }
 body.editorial-web #panel-style #editorial-outfit-pinned-upload .editorial-outfit-create-symbol{
  font-size:34px!important;font-weight:300!important;
 }
 body.editorial-web #panel-style #editorial-outfit-pinned-upload small{
  position:absolute!important;left:12px!important;right:12px!important;
  bottom:13px!important;top:auto!important;
  display:flex!important;align-items:center;justify-content:center;
  box-sizing:border-box;width:calc(100% - 24px)!important;
  height:35px!important;min-height:35px!important;
  padding:5px 8px!important;margin:0!important;
  border:1px solid #56585a!important;border-radius:2px!important;
  background:#17191bc9!important;color:#d6d4cf!important;
  font-size:11px!important;font-weight:550!important;line-height:1.25!important;
 }
 body.editorial-web #panel-style .editorial-styling-direction-input #styling-direction{
  min-height:92px!important;border-color:#2b2d2e!important;
 }
 /* Keep the small note available to assistive tech but remove the extra
    band between the action dock and the Composition-style Direction block. */
 body.editorial-web #panel-style .atelier-reference-note{
  position:absolute!important;width:1px!important;height:1px!important;
  overflow:hidden!important;white-space:nowrap!important;
  clip-path:inset(50%)!important;margin:-1px!important;padding:0!important;
  border:0!important;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next{
  min-width:260px!important;min-height:52px!important;
  border-radius:3px!important;
 }
 /* The small X controls should also sit above selected Styling minis. */
 body.editorial-web #styling-selected-thumbs #outfit-thumbs.outfit-row{
  overflow:visible!important;
 }
}


/* PVLAB_IDENTITY_CANONICAL_STYLING_20261123
   Source of truth: FINAL approved Identity rules in full-editorial-identity-refresh.css,
   including the later monochrome revision (not the superseded early rules).
   Identity is locked. Apply its final values only to Styling, in this one block.
   This section intentionally supersedes the older Styling-specific versions above. */
@media(min-width:801px){
 body.editorial-web #panel-style #editorial-outfit-rail{
  grid-template-columns:clamp(180px,14.5vw,240px) minmax(0,1fr)!important;
  gap:14px!important;
  min-height:0!important;
 }
 body.editorial-web #panel-style .editorial-outfit-pinned.editorial-cast-pinned{
  position:relative!important;min-width:0!important;
  height:100%!important;box-sizing:border-box!important;overflow:hidden!important;
  border:0!important;border-radius:0!important;
  background:linear-gradient(123deg,#141515 0%,#08090a 55%,#111213 100%)!important;
 }
 body.editorial-web #panel-style #editorial-outfit-pinned-upload.editorial-create-character{
  position:absolute!important;inset:0 0 36px!important;z-index:1!important;
  display:flex!important;flex:none!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;gap:17px!important;
  width:100%!important;height:auto!important;min-width:0!important;
  margin:0!important;padding:0!important;border:0!important;
  border-radius:0!important;background:transparent!important;
  color:#f2efe9!important;text-align:center!important;cursor:pointer;
 }
 body.editorial-web #panel-style #editorial-outfit-pinned-upload.editorial-create-character:hover{
  background:#ffffff09!important;
 }
 body.editorial-web #panel-style #editorial-outfit-pinned-upload .editorial-create-symbol{
  flex:none!important;font-size:57px!important;font-weight:200!important;line-height:1!important;
 }
 body.editorial-web #panel-style #editorial-outfit-pinned-upload strong{
  max-width:130px!important;font-size:13px!important;font-weight:650!important;
  letter-spacing:.13em!important;line-height:1.4!important;text-transform:uppercase!important;
 }
 body.editorial-web #panel-style #editorial-outfit-upload-action.editorial-cast-upload{
  position:absolute!important;left:12px!important;right:12px!important;
  bottom:10px!important;top:auto!important;z-index:3!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;width:calc(100% - 24px)!important;
  height:29px!important;min-height:29px!important;max-height:29px!important;
  min-width:0!important;margin:0!important;padding:5px 8px!important;
  border:0!important;border-top:1px solid #373839!important;
  border-radius:0!important;background:transparent!important;
  color:#b6b8b7!important;font-size:11px!important;font-weight:550!important;
  letter-spacing:.03em!important;text-transform:none!important;cursor:pointer;
 }
 body.editorial-web #panel-style #editorial-outfit-upload-action.editorial-cast-upload:hover{
  color:#fff!important;border-top-color:#b7b7b7!important;background:transparent!important;
 }
 body.editorial-web #panel-style #outfit-gallery.editorial-outfit-track{
  gap:14px!important;box-sizing:border-box;
 }
 body.editorial-web #panel-style #outfit-gallery .atelier-look{
  flex:0 0 clamp(211px,17vw,254px)!important;
  flex-basis:clamp(211px,17vw,254px)!important;
  width:clamp(211px,17vw,254px)!important;min-width:0!important;
  max-width:none!important;height:100%!important;min-height:0!important;
  border:0!important;border-radius:0!important;transform:none!important;
  box-sizing:border-box!important;
 }
 body.editorial-web #panel-style #outfit-gallery .atelier-look>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-style #outfit-gallery .atelier-look.is-selected{
  outline:1px solid #eeeae4!important;outline-offset:-1px!important;
 }
 body.editorial-web #panel-style .editorial-outfit-arrow{
  width:37px!important;height:37px!important;min-height:37px!important;
  border:1px solid #bcbdbdb0!important;border-radius:50%!important;
  background:#060606ce!important;box-shadow:none!important;
  backdrop-filter:none!important;color:#fff!important;
 }
 body.editorial-web #panel-style .editorial-outfit-arrow:disabled{
  opacity:0!important;pointer-events:none!important;
 }
 body.editorial-web #panel-style #editorial-outfit-rail{
  height:clamp(258px,31svh,294px)!important;
  max-height:none!important;
 }
 /* The Continue action is the same existing DOM button on both steps.
    Use the final approved Identity minimum 235x50 and intrinsic width,
    not the superseded 260x52 dimensions. */
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next{
  display:inline-flex!important;box-sizing:border-box!important;
  flex:0 0 auto!important;width:auto!important;
  min-width:235px!important;max-width:none!important;
  height:auto!important;min-height:50px!important;max-height:none!important;
  justify-content:space-between!important;align-items:center!important;gap:24px!important;
  margin:0!important;padding:11px 18px!important;
  border:1px solid #bbb7ae!important;border-radius:3px!important;
  background:#f4f1ea!important;color:#101112!important;
  font-family:DM,'Helvetica Neue',Arial,sans-serif!important;letter-spacing:normal!important;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next .editorial-next-label{
  display:inline-block!important;white-space:nowrap!important;
  text-transform:none!important;transform:scaleY(1.1);transform-origin:center;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next .editorial-next-verb{
  font-size:16px!important;font-weight:650!important;letter-spacing:-.018em!important;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next .editorial-next-target{
  font-size:15.5px!important;font-weight:410!important;letter-spacing:-.018em!important;
 }
 body.editorial-web .flow-main:has(#panel-style:not([hidden])) #step-next .editorial-next-mobile{
  display:none!important;
 }
}
/* Match the final approved Identity height rules, which override the early
   272–295px and 254–284px declarations. */
@media(min-width:801px) and (min-height:761px){
 body.editorial-web #panel-style #editorial-outfit-rail{
  height:clamp(290px,calc(33svh + 10px),324px)!important;
 }
}
@media(min-width:801px) and (max-height:760px){
 body.editorial-web #panel-style #editorial-outfit-rail{
  height:clamp(192px,32svh,238px)!important;
 }
}
/* Match Identity's FINAL breakpoint-dependent portrait sizing.
   At >=1551px, its five cast portraits expand to use available track width. */
@media(min-width:801px) and (max-width:1550px){
 body.editorial-web #panel-style #outfit-gallery .atelier-look{
  flex:0 0 clamp(215px,18vw,244px)!important;
  flex-basis:clamp(215px,18vw,244px)!important;
  width:clamp(215px,18vw,244px)!important;
 }
}
@media(min-width:1551px){
 body.editorial-web #panel-style #outfit-gallery .atelier-look{
  flex:0 0 min(280px,calc((100% - 64px)*.2))!important;
  flex-basis:min(280px,calc((100% - 64px)*.2))!important;
  width:min(280px,calc((100% - 64px)*.2))!important;
 }
}
/* Keep phone/touch behavior independent from the desktop canon. */
@media(max-width:800px){
 body.editorial-web #panel-style .editorial-outfit-pinned.editorial-cast-pinned{
  position:relative!important;overflow:hidden!important;
 }
 body.editorial-web #panel-style #editorial-outfit-pinned-upload.editorial-create-character{
  position:absolute!important;inset:0 0 38px!important;z-index:1!important;
  display:flex!important;flex:none!important;flex-direction:column!important;
  justify-content:center!important;align-items:center!important;gap:8px!important;
  width:100%!important;height:auto!important;min-width:0!important;
  padding:0!important;border:0!important;background:transparent!important;
  text-align:center!important;
 }
 body.editorial-web #panel-style #editorial-outfit-pinned-upload .editorial-create-symbol{
  font-size:29px!important;line-height:1!important;
 }
 body.editorial-web #panel-style #editorial-outfit-pinned-upload strong{
  max-width:90px!important;font-size:10px!important;line-height:1.4!important;
  letter-spacing:.08em!important;
 }
 body.editorial-web #panel-style #editorial-outfit-upload-action.editorial-cast-upload{
  position:absolute!important;left:8px!important;right:8px!important;
  bottom:8px!important;top:auto!important;z-index:3!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;width:calc(100% - 16px)!important;
  height:29px!important;min-height:29px!important;max-height:29px!important;
  min-width:0!important;padding:4px!important;margin:0!important;
  border:0!important;border-top:1px solid #56585a!important;
  border-radius:0!important;background:transparent!important;
  color:#d6d4cf!important;font-size:9px!important;text-transform:none!important;
 }
}

/* Full Editorial / step 03: the approved Identity and Styling deck rhythm.
   Scope all presentation to Location & Mood. Keep original art and inputs. */
@media(min-width:1200px){
 body.editorial-web .editorial-flow:has(#panel-mood:not([hidden])){
  padding-inline:clamp(32px,3.5vw,66px)!important;
 }
 body.editorial-web .flow-main:has(#panel-mood:not([hidden])){
  max-width:1760px;width:100%;
 }
}
body.editorial-web #panel-mood .editorial-world-rail{position:relative;min-width:0}
body.editorial-web #panel-mood #direction-cards{
 display:flex!important;align-items:stretch;min-width:0;gap:12px;
 overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
 scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
body.editorial-web #panel-mood #direction-cards::-webkit-scrollbar{display:none}
body.editorial-web #panel-mood .direction-card{
 flex:0 0 clamp(215px,18vw,244px);width:clamp(215px,18vw,244px);
 min-width:0;height:auto;aspect-ratio:2/3;border-radius:0;
}
body.editorial-web #panel-mood .editorial-world-arrow{
 position:absolute;top:50%;z-index:4;transform:translateY(-50%);
 display:grid;place-items:center;width:37px;height:37px;min-height:37px;
 padding:0;border:1px solid #bcbdbdb0;border-radius:50%;
 background:#060606ce;color:#fff;font-size:22px;line-height:1;cursor:pointer;
}
body.editorial-web #panel-mood .editorial-world-arrow.is-previous{left:6px}
body.editorial-web #panel-mood .editorial-world-arrow.is-next{right:6px}
body.editorial-web #panel-mood .editorial-world-arrow:disabled{opacity:0;pointer-events:none}
body.editorial-web #panel-mood .editorial-world-arrow:focus-visible,
body.editorial-web #panel-mood #direction-cards:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(min-width:801px){
 body.editorial-web #panel-mood .stage-visual{
  height:clamp(216px,calc(27svh - 14px),232px)!important;min-height:0!important;border:0!important;
 }
 body.editorial-web #panel-mood .stage-copy{left:0!important;bottom:clamp(78px,9.2svh,88px)!important;max-width:100%;z-index:4}
 body.editorial-web #panel-mood .stage-copy h2{
  font-family:Impact,'Arial Narrow',DM,Arial,sans-serif!important;font-weight:700!important;
  font-synthesis:none;font-size:clamp(52px,6.4vw,100px)!important;
  letter-spacing:.02em!important;line-height:.9!important;text-transform:uppercase;
  margin:7px 0 11px!important;
 }
 body.editorial-web #panel-mood .stage-copy p{
  font-size:12px!important;font-weight:650!important;letter-spacing:.09em;
  text-transform:uppercase;line-height:1.3!important;max-width:none;
 }
 body.editorial-web #panel-mood .stage-visual>.stage-navigation .progress-top{
  left:auto!important;right:20px!important;top:10px!important;width:auto!important;
  gap:26px!important;justify-content:flex-end!important;
 }
 body.editorial-web #panel-mood .stage-visual .editorial-flow-rail,
 body.editorial-web #panel-mood .atelier-section-top{display:none!important}
 body.editorial-web #panel-mood .atelier-workspace{padding-top:0!important}
 body.editorial-web #panel-mood .atelier-source-tabs{
  position:relative;z-index:9;margin:-40px 0 17px!important;
  gap:30px!important;height:40px;min-height:40px;border:0!important;
 }
 body.editorial-web #panel-mood .atelier-source-tabs .atelier-tab{
  font-size:12px!important;font-weight:650!important;letter-spacing:.13em!important;text-transform:uppercase;
 }
 body.editorial-web .flow-main:has(#panel-mood:not([hidden])) #step-footer{
  position:relative!important;bottom:auto!important;display:flex!important;
  box-sizing:border-box!important;align-items:center;justify-content:space-between;
  gap:14px;height:72px!important;min-height:72px!important;
  margin:8px 0 0!important;padding:8px 0!important;border-top:0!important;
  border-bottom:1px solid #343638!important;background:#08090a!important;backdrop-filter:none!important;
 }
 body.editorial-web .flow-main:has(#panel-mood:not([hidden])) #step-back{display:none!important}
 body.editorial-web #panel-mood #step-footer #direction-summary{
  flex:1;min-width:0;margin:0!important;color:#ecebe6;font-size:11px;font-weight:600;
 }
 body.editorial-web #panel-mood #step-next{
  display:inline-flex!important;box-sizing:border-box!important;flex:0 0 auto!important;
  width:auto!important;min-width:235px!important;min-height:50px!important;
  margin:0!important;padding:11px 18px!important;justify-content:space-between;align-items:center;
  border:1px solid #bbb7ae!important;border-radius:3px!important;
  background:#f4f1ea!important;color:#101112!important;
  font-family:DM,'Helvetica Neue',Arial,sans-serif!important;font-size:16px!important;
  letter-spacing:normal!important;box-shadow:none!important;
 }
 body.editorial-web #panel-mood #step-next .editorial-next-label{
  display:inline-block!important;white-space:nowrap;text-transform:none;transform:scaleY(1.1);
 }
 body.editorial-web #panel-mood #step-next .editorial-next-verb{font-size:16px;font-weight:650;letter-spacing:-.018em}
 body.editorial-web #panel-mood #step-next .editorial-next-target{font-size:15.5px;font-weight:410;letter-spacing:-.018em}
 body.editorial-web #panel-mood #step-next .editorial-next-mobile{display:none!important}
}
@media(min-width:801px) and (max-height:760px){
 body.editorial-web #panel-mood .stage-visual{height:clamp(180px,25svh,198px)!important}
 body.editorial-web #panel-mood .stage-copy{bottom:58px!important}
 /* Leave room for the header, rail controls and Continue on short screens. */
 body.editorial-web #panel-mood .direction-card{max-height:calc(100svh - clamp(180px,25svh,198px) - 175px)}
 body.editorial-web #panel-mood .stage-copy h2{font-size:clamp(48px,5vw,76px)!important}
}
@media(min-width:1551px){
 body.editorial-web #panel-mood .direction-card{
  /* Styling reserves its upload column, 14px gutter and track insets. */
  --world-card-width:min(280px,calc((100% - clamp(180px,14.5vw,240px) - 80px)/5));
  flex-basis:var(--world-card-width);width:var(--world-card-width);
 }
}
@media(max-width:800px){
 body.editorial-web #panel-mood .stage-visual{height:clamp(180px,28svh,230px)!important;min-height:0!important}
 body.editorial-web #panel-mood .stage-copy{left:14px;bottom:20px;max-width:calc(100% - 28px)}
 body.editorial-web #panel-mood .stage-copy h2{
  font-family:Impact,'Arial Narrow',DM,Arial,sans-serif!important;font-weight:700!important;
  font-size:clamp(31px,7.7vw,58px)!important;line-height:.95;letter-spacing:.01em;
  text-transform:uppercase;margin:7px 0 11px;
 }
 body.editorial-web #panel-mood .stage-copy p{font-size:11px;line-height:1.3}
 body.editorial-web #panel-mood .atelier-section-top{display:none!important}
 body.editorial-web #panel-mood .atelier-workspace{padding-top:10px!important}
 body.editorial-web #panel-mood .atelier-source-tabs{margin-bottom:12px}
 body.editorial-web #panel-mood #direction-cards{gap:8px}
 body.editorial-web #panel-mood .direction-card{flex-basis:clamp(158px,44vw,218px);width:clamp(158px,44vw,218px);aspect-ratio:.77}
 body.editorial-web #panel-mood .editorial-world-arrow{display:none}
}
