/* Mass workspace geometry and projection previews. Control appearance is owned by gn-kit.css (facelift wave 4). */
html[data-gn-glow="1"] .gn-mass-workspace {
 box-sizing:border-box;width:min(1180px,calc(100vw - 24px));max-width:none;height:min(900px,calc(100dvh - 24px));max-height:none;margin:auto;padding:18px;overflow:hidden;
}
html[data-gn-glow="1"] .gn-mass-workspace[open]{display:grid;grid-template-rows:auto auto auto auto minmax(100px,1fr) auto auto;gap:9px}
html[data-gn-glow="1"] .gn-mass-workspace::backdrop,html[data-gn-glow="1"] .gn-mass-small::backdrop{background:#382c2545;backdrop-filter:blur(8px)}
html[data-gn-glow="1"] .gn-mass-workspace *{box-sizing:border-box;min-width:0}
html[data-gn-glow="1"] .gn-mass-head{display:flex;gap:12px;align-items:center;justify-content:space-between}
html[data-gn-glow="1"] .gn-mass-head h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-gn-glow="1"] .gn-mass-head>button{flex:none}
html[data-gn-glow="1"] .gn-mass-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
html[data-gn-glow="1"] .gn-mass-modes{margin-right:auto}
html[data-gn-glow="1"] .gn-mass-modes,
html[data-gn-glow="1"] .gn-mass-modes>button,
html[data-gn-glow="1"] .gn-mass-bar>button{flex:0 0 auto}
html[data-gn-glow="1"] .gn-mass-groups{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px}
html[data-gn-glow="1"] .gn-mass-groups>button{white-space:normal}
html[data-gn-glow="1"] .gn-mass-parentbar{display:flex;gap:8px;min-height:48px;align-items:center}
html[data-gn-glow="1"] .gn-mass-parentbar>.gn-mass-pager{flex:1}
html[data-gn-glow="1"] .gn-mass-pager{display:flex;align-items:center;gap:6px;min-height:44px;position:relative}
html[data-gn-glow="1"] .gn-mass-page-items{display:flex;align-items:stretch;gap:7px;flex:1;min-width:0;overflow:hidden;padding:3px}
html[data-gn-glow="1"] .gn-mass-page-items>button{flex:1;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:normal;flex-direction:column;gap:0}
html[data-gn-glow="1"] .gn-mass-page-items>button>small{display:block}
html[data-gn-glow="1"] .gn-mass-pager>.gn-mass-page{flex:0 0 44px}
html[data-gn-glow="1"] .gn-mass-page-count{min-width:25px;text-align:center}
html[data-gn-glow="1"] .gn-mass-alternatives select{max-width:210px}
html[data-gn-glow="1"] .gn-mass-monitors{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;min-height:0}
html[data-gn-glow="1"] .gn-mass-monitor{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:6px;min-height:0}
/* Preview geometry follows the canonical assembly screen stage at every viewport. */
html[data-gn-glow="1"] .gn-mass-monitor-body{min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
html[data-gn-glow="1"] .gn-mass-monitor-body>.gn-mass-slide{flex:none;aspect-ratio:16/9;border:1px solid #ffffffd9;border-radius:12px;box-shadow:0 4px 11px #34271b1b}
html[data-gn-glow="1"] .gn-mass-slide{height:100%;min-height:0;position:relative;isolation:isolate;background:#fcfbf7;color:#3c3229;overflow:hidden;display:flex;align-items:center;justify-content:center}
html[data-gn-glow="1"] .gn-mass-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:-1}
html[data-gn-glow="1"] .gn-mass-slide-copy{width:100%;max-height:100%;height:100%;padding:12px 18px;display:flex;flex-direction:column;justify-content:center;gap:.45em;text-align:center;font:500 22px/1.24 var(--gn-serif,Georgia,serif);overflow:hidden}
html[data-gn-glow="1"] .gn-mass-slide-copy p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
html[data-gn-glow="1"] .gn-mass-eyebrow{display:block;flex:none;font:600 .45em/1.3 var(--gn-sans,system-ui);text-transform:uppercase;letter-spacing:.08em}
html[data-gn-glow="1"] .gn-mass-monitor-label{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;height:2.7em;min-height:2.7em;max-height:2.7em}
html[data-gn-glow="1"] .gn-mass-rail{min-height:0;display:grid;grid-template-rows:var(--gn-mass-thumb-height,112px) auto;gap:4px}
html[data-gn-glow="1"] .gn-mass-rail .gn-mass-pager{height:100%}
html[data-gn-glow="1"] .gn-mass-rail .gn-mass-page-items{height:100%}
html[data-gn-glow="1"] button.gn-mass-thumb{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:3px;padding:10px 6px 9px;min-height:0;white-space:nowrap}
html[data-gn-glow="1"] .gn-mass-thumb>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
html[data-gn-glow="1"] .gn-mass-thumb-face{height:100%;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
html[data-gn-glow="1"] .gn-mass-thumb-face>.gn-mass-slide{flex:none;aspect-ratio:16/9;border-radius:5px}
html[data-gn-glow="1"] .gn-mass-slide.is-mini .gn-mass-slide-copy{font-size:5px;padding:5px;line-height:1.15}
html[data-gn-glow="1"] .gn-mass-empty{margin:0 70px;display:block;max-height:4.5em;overflow:auto;text-align:center}
html[data-gn-glow="1"] .gn-mass-foot{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 12px;padding-top:4px}
html[data-gn-glow="1"] .gn-mass-status{grid-column:1;min-height:17px}
html[data-gn-glow="1"] .gn-mass-send{grid-column:2;grid-row:1/3;display:flex;align-items:center;gap:8px}
html[data-gn-glow="1"] button.gn-mass-go,html[data-gn-glow="1"] .gn-mass-screen-setup>button{min-width:110px;min-height:52px}
html[data-gn-glow="1"] .gn-mass-screen-setup{display:none;overflow:auto;padding:20px;max-width:780px;width:100%;justify-self:center}
html[data-gn-glow="1"] .gn-mass-screen-setup>p{margin:12px 0}
html[data-gn-glow="1"] .gn-mass-screen-setup>h2{margin:0 0 14px}
html[data-gn-glow="1"] .gn-mass-workspace[data-mode="screen"]{grid-template-rows:auto auto minmax(0,1fr) auto}
html[data-gn-glow="1"] .gn-mass-workspace[data-mode="screen"]>.gn-mass-screen-setup{display:block}
html[data-gn-glow="1"] .gn-mass-workspace[data-mode="screen"]>:is(.gn-mass-groups,.gn-mass-parentbar,.gn-mass-monitors,.gn-mass-rail){display:none}
html[data-gn-glow="1"] .gn-mass-small{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px}
html[data-gn-glow="1"] .gn-mass-small>h2{margin:0 0 16px}
html[data-gn-glow="1"] .gn-mass-small form{display:flex;flex-wrap:wrap;gap:12px}
html[data-gn-glow="1"] .gn-mass-add-choices{display:flex;gap:8px;margin:0 0 16px;padding:0 0 4px}
html[data-gn-glow="1"] .gn-mass-small form>label{display:flex;flex-direction:column;gap:6px;width:100%}
html[data-gn-glow="1"] .gn-mass-small input,html[data-gn-glow="1"] .gn-mass-small textarea{box-sizing:border-box;width:100%}
html[data-gn-glow="1"] .gn-mass-small textarea{height:190px;resize:vertical}
html[data-gn-glow="1"] .gn-mass-small form>p{width:100%;margin:0}
html[data-gn-glow="1"] .gn-mass-small form>p:empty{display:none}
html[data-gn-glow="1"] .gn-mass-workspace [hidden]{display:none!important}
html[data-gn-glow="1"] .gn-mass-small [hidden]{display:none!important}
@media(max-width:700px){
 html[data-gn-glow="1"] .gn-mass-workspace{padding:12px;width:calc(100vw - 12px);height:calc(100dvh - 12px)}
 html[data-gn-glow="1"] .gn-mass-workspace[open]{gap:7px;grid-template-rows:auto auto auto auto minmax(100px,1fr) auto auto;--gn-mass-thumb-height:95px}
 html[data-gn-glow="1"] .gn-mass-groups{grid-template-columns:repeat(3,minmax(0,1fr))}
 html[data-gn-glow="1"] .gn-mass-bar{gap:5px}
 html[data-gn-glow="1"] .gn-mass-parentbar{flex-wrap:wrap;gap:3px}
 html[data-gn-glow="1"] .gn-mass-alternatives{width:100%}
 html[data-gn-glow="1"] .gn-mass-alternatives:empty{display:none}
 html[data-gn-glow="1"] .gn-mass-alternatives select{width:100%;max-width:none}
 html[data-gn-glow="1"] .gn-mass-page-count{display:none}
 html[data-gn-glow="1"] .gn-mass-monitors{gap:8px}
 html[data-gn-glow="1"] .gn-mass-slide-copy{padding:8px}
 html[data-gn-glow="1"] .gn-mass-foot{grid-template-columns:minmax(0,1fr);gap:7px}
 html[data-gn-glow="1"] .gn-mass-send{grid-column:1;grid-row:3;justify-content:flex-end}
 html[data-gn-glow="1"] .gn-mass-next{margin-right:auto}
 html[data-gn-glow="1"] .gn-mass-status{max-height:34px;overflow:hidden}
 html[data-gn-glow="1"] .gn-mass-workspace[data-mode="screen"]{grid-template-rows:auto auto minmax(0,1fr) auto}
}
@media(max-height:650px) and (min-width:701px){html[data-gn-glow="1"] .gn-mass-workspace[open]{padding:9px;gap:5px;grid-template-rows:44px 44px 44px 44px minmax(90px,1fr) auto auto;--gn-mass-thumb-height:72px}}
html[data-gn-glow="1"] body.gn-slides-delegated :is(#gnwSlidesStrip){display:none!important}
html[data-gn-glow="1"] #gnTakeBackSlides[hidden]{display:none!important}
html[data-gn-glow="1"] .gn-mass-small select{max-width:100%}
html[data-gn-glow="1"] .gn-mass-slide[data-frame="day"]{background:var(--gn-day,#fbf7ed);color:var(--gn-day-ink,#3c3229)}
html[data-gn-glow="1"] .gn-mass-slide[data-frame="night"]{background:var(--gn-night,#211f1b);color:var(--gn-night-ink,#f6f0e3)}
html[data-gn-glow="1"] .gn-mass-slide[data-frame="plain"]{background:#fff;color:#211f1b}
html[data-gn-glow="1"] .gn-mass-slide[data-look="dialogue"] .gn-mass-slide-copy{font-weight:650}
html[data-gn-glow="1"] .gn-mass-medallion{position:absolute;left:8px;top:8px;border:1px solid currentColor;border-radius:50%;width:1.5em;height:1.5em;display:grid;place-items:center;font:500 16px Georgia,serif;opacity:.7}
html[data-gn-glow="1"] .gn-mass-slide.is-mini .gn-mass-medallion{font-size:7px;left:3px;top:3px}
html[data-gn-glow="1"] .gn-mass-theme-sample{height:150px;margin-top:14px;border-radius:12px;overflow:hidden;border:1px solid #c9bfb0;display:flex;align-items:center;justify-content:center}
html[data-gn-glow="1"] .gn-mass-theme-sample>.gn-mass-slide{flex:none;aspect-ratio:16/9}
html[data-gn-glow="1"] .gn-mass-theme-sample .gn-mass-slide-copy{font-size:15px}
html[data-gn-glow="1"] .gn-mass-small>label{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:9px 0}
html[data-gn-glow="1"] .gn-mass-slide>.gn-look-stage{min-width:1920px;max-width:none}
html[data-gn-glow="1"] .gn-mass-slide[data-template="st-monica-song-library"]{background:#fff;color:#000}
html[data-gn-glow="1"] .gn-mass-slide[data-template="st-monica-song-library"]>.gn-stmonica-image{z-index:0;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
html[data-gn-glow="1"] .gn-mass-preview-message{margin:0;padding:8px;font:500 11px/1.3 var(--gn-sans,system-ui);text-align:center;overflow-wrap:anywhere}
html[data-gn-glow="1"] .gn-mass-slide.is-mini .gn-mass-preview-message{font-size:7px}
html[data-gn-glow="1"] .gn-title-settings{display:grid;gap:12px;margin:16px 0;padding:14px}
html[data-gn-glow="1"] .gn-title-tabs{display:none}
html[data-gn-glow="1"] .gn-title-setting{display:grid;gap:6px}
html[data-gn-glow="1"] .gn-title-segments{display:flex;flex-wrap:wrap;gap:6px}
html[data-gn-glow="1"] .gn-title-colour{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px 10px}
html[data-gn-glow="1"] .gn-title-colour-modes{justify-content:flex-end}
html[data-gn-glow="1"] .gn-title-color-control{grid-column:1/-1;justify-self:start}
html[data-gn-glow="1"] .gn-mass-small.gn-mass-appearance{width:min(1120px,calc(100vw - 24px));height:min(900px,calc(100dvh - 24px));display:grid;grid-template-columns:minmax(180px,.55fr) minmax(0,1.45fr);grid-auto-rows:min-content;align-content:start;gap:7px 12px;padding:16px;overflow:hidden}
html[data-gn-glow="1"] .gn-mass-appearance>h2{grid-column:1/-1;margin:0}
html[data-gn-glow="1"] .gn-mass-appearance>label{display:grid;gap:4px;justify-content:stretch;align-items:stretch;margin:0}
html[data-gn-glow="1"] .gn-mass-appearance>.gn-title-settings{grid-column:2;grid-row:2/span 9;align-self:start;margin:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;gap:7px;padding:10px}
html[data-gn-glow="1"] .gn-mass-appearance>.gn-title-settings>h3,html[data-gn-glow="1"] .gn-mass-appearance>.gn-title-settings>[data-title-setting="colour"],html[data-gn-glow="1"] .gn-mass-appearance>.gn-title-settings>[data-title-setting="season"],html[data-gn-glow="1"] .gn-mass-appearance>.gn-title-settings>[data-title-setting="accent"]{grid-column:1/-1}
html[data-gn-glow="1"] .gn-mass-appearance>.gn-mass-theme-sample{grid-column:1;height:90px;margin-top:2px}
html[data-gn-glow="1"] .gn-mass-appearance>.gn-title-settings .gn-title-setting{gap:3px}
html[data-gn-glow="1"] .gn-mass-appearance>.gn-title-settings .gn-title-segments{gap:4px}
html[data-gn-glow="1"] .gn-mass-appearance>p{grid-column:1;margin:2px 0}
html[data-gn-glow="1"] .gn-mass-appearance>.gn-mass-appearance-actions{grid-column:1;display:grid;grid-template-columns:minmax(0,2.2fr) minmax(44px,1fr);gap:6px}
html[data-gn-glow="1"] .gn-mass-appearance-actions>button{white-space:normal}
@media(max-width:900px){html[data-gn-glow="1"] .gn-mass-appearance>.gn-title-settings{grid-template-columns:1fr}html[data-gn-glow="1"] .gn-mass-appearance>.gn-title-settings>h3,html[data-gn-glow="1"] .gn-mass-appearance>.gn-title-settings>.gn-title-tabs,html[data-gn-glow="1"] .gn-mass-appearance>.gn-title-settings>[data-title-setting]{grid-column:1}html[data-gn-glow="1"] .gn-title-tabs{display:flex}html[data-gn-glow="1"] .gn-title-settings[data-active-panel="look"]>[data-title-setting]:not([data-title-setting="look"]),html[data-gn-glow="1"] .gn-title-settings[data-active-panel="emboss"]>[data-title-setting]:not([data-title-setting="emboss"]),html[data-gn-glow="1"] .gn-title-settings[data-active-panel="accent"]>[data-title-setting]:not([data-title-setting="accent"]),html[data-gn-glow="1"] .gn-title-settings[data-active-panel="colour"]>[data-title-setting]:not([data-title-setting="colour"]):not([data-title-setting="season"]){display:none}}
@media(max-width:680px){html[data-gn-glow="1"] .gn-mass-small.gn-mass-appearance{grid-template-columns:minmax(150px,.55fr) minmax(0,1.45fr);gap:5px 9px;padding:12px}html[data-gn-glow="1"] .gn-mass-appearance>.gn-title-settings{gap:5px;padding:8px}html[data-gn-glow="1"] .gn-title-colour{grid-template-columns:1fr}html[data-gn-glow="1"] .gn-title-colour-modes{justify-content:flex-start}}
@media(max-height:700px){html[data-gn-glow="1"] .gn-mass-small.gn-mass-appearance{padding:12px;gap:5px 10px}html[data-gn-glow="1"] .gn-mass-appearance>.gn-title-settings{gap:5px;padding:8px}}
/* SR-04 Pre-Mass roll: text rows only, in the Operator band's Pre-Mass loop sheet (CL-15 PR-4). Row and control paint come from gn-kit.css. */
html[data-gn-glow="1"] .gn-mass-roll-list{list-style:none;margin:0;padding:0;max-height:min(24vh,176px);overflow:auto}
html[data-gn-glow="1"] .gn-mass-roll-list>li{min-height:44px}
html[data-gn-glow="1"] .gn-mass-roll-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-gn-glow="1"] .gn-mass-roll-grip{touch-action:none;cursor:grab}
html[data-gn-glow="1"] .gnb-sheet-body>.gn-mass-empty{margin:0;padding:10px 0}

/* SR-03 Key art folder inside Add slide: thumbnails are touch-sized picture chips. */
html[data-gn-glow="1"] .gn-mass-day-choices{display:grid;gap:var(--gn-k-space-2,8px);margin-bottom:var(--gn-k-space-2,8px)}
html[data-gn-glow="1"] .gn-mass-key-art{display:grid;gap:var(--gn-k-space-2,8px)}
html[data-gn-glow="1"] .gn-mass-key-art-row{display:flex;flex-wrap:wrap;gap:8px;padding:4px}
html[data-gn-glow="1"] .gn-mass-key-art-row:empty{display:none}
html[data-gn-glow="1"] .gn-mass-key-art-thumb{min-width:44px;min-height:44px;padding:3px}
html[data-gn-glow="1"] .gn-mass-key-art-thumb img{display:block;width:96px;height:54px;object-fit:cover;border-radius:6px}
html[data-gn-glow="1"] .gn-mass-key-art-actions{display:flex;gap:8px}
