@font-face{font-family:Monument;src:url(assets/ABCMonumentGrotesk-Regular.woff2)}@font-face{font-family:Monument;src:url(assets/ABCMonumentGrotesk-Bold.woff2);font-weight:700}
*{box-sizing:border-box}body{margin:0;background:#f6f5f0;color:#201f1c;font:16px Monument,Arial,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #3459db;outline-offset:3px}button:disabled{opacity:.42;cursor:default}header{height:74px;border-bottom:1px solid #cecdc6;display:flex;align-items:center;gap:28px;padding:0 4.5vw}.brand{display:flex;align-items:center;gap:8px}.brand img{width:24px}.brand b{font-size:32px;letter-spacing:-2px}.brand span{border-left:1px solid #b5b4ab;margin-left:5px;padding-left:13px}.project{font-size:14px;color:#66645d}header small{margin-left:auto}small,.ey,.cap,nav button i{font:12px/1.4 Monument,Arial,sans-serif;letter-spacing:.08em}.ey{color:#a43125;display:flex;align-items:center;gap:10px}.ey:before{content:'';width:19px;height:2px;background:#c1382b}main{max-width:1520px;margin:auto;padding:0 4.5vw 18px}nav{display:flex;gap:0;margin:18px 0 32px;border-bottom:1px solid #c9c8c0}nav button{flex:1;display:flex;align-items:center;gap:8px;border:0;border-bottom:3px solid transparent;padding:13px 3px;background:none;color:#737168;text-align:left}nav button.active{color:#201f1c;border-color:#dd3828}nav button i{font-style:normal}.layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5vw;align-items:start}.left{padding-top:16px}h1{font-size:clamp(48px,5.8vw,92px);letter-spacing:-.071em;line-height:.93;margin:22px 0 19px}h2{letter-spacing:-.04em;font-size:23px;margin:12px 0}p{line-height:1.48}.lead{color:#5b5952;max-width:510px;margin:0 0 25px}.row,.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.row{justify-content:space-between}.btn,.primary,.chip,.send{border:1px solid #c4c2b9;background:transparent;border-radius:6px;padding:10px 14px}.btn:hover,.chip:hover{background:#e9e7de}.primary,.send{background:#24241f;color:white;border-color:#24241f}.primary{padding:13px 21px;font-weight:700}.chip{font-size:14px;padding:7px 10px}.on{background:#e4e1d7;border-color:#777568}.brief{border:1px solid #c5c3b9;border-radius:8px;background:#fffefa;padding:16px;margin-bottom:16px}.brief label{font-weight:bold}.brief textarea{margin:12px 0;width:100%;height:76px;background:none;border:0;resize:vertical;line-height:1.45}.brief .actions{border-top:1px solid #e3e2da;padding-top:12px}.poster{position:relative;overflow:hidden;border-radius:3px;background:#b9ac93;height:clamp(360px,51vh,575px);isolation:isolate}.poster img{width:100%;height:100%;object-fit:cover;object-position:center 32%}.poster:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#17171199);pointer-events:none}.poster .frame,.poster .title{position:absolute;color:#fff;z-index:1}.frame{top:18px;left:18px;font:12px Monument,Arial,sans-serif;letter-spacing:.1em;background:#26251ec9;padding:6px 9px}.title{bottom:17px;left:20px;font-size:clamp(44px,5vw,82px);letter-spacing:-.075em;line-height:.9}.caption{display:flex;justify-content:space-between;align-items:center;margin:10px 0 0;color:#69675c}.caption b{color:#211f1a;font-weight:400}.thumbs{display:flex;gap:7px;margin:10px 0 20px}.thumbs button,.card{border:1px solid #c9c7bd;background:none;border-radius:4px;padding:3px}.thumbs img{height:48px;width:55px;object-fit:cover;display:block}.thumbs .sel,.card.sel{border:2px solid #d83c29;padding:2px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:15px}.card img{width:100%;height:106px;object-fit:cover}.card span{display:block;font-size:13px;padding:5px}.tools{margin:13px 0 20px}.suggest{border-left:3px solid #c6402d;padding:5px 14px;margin:18px 0;background:#eeece4}.suggest p{margin:7px 0}.suggest button{margin-bottom:7px}#command{display:flex;align-items:center;gap:12px;background:#fffefa;border:1px solid #c5c3b9;padding:8px;border-radius:10px;max-width:780px;margin:30px auto 0;box-shadow:0 4px 15px #3331}#mic{border:none;background:#262520;color:white;border-radius:7px;min-width:42px;height:42px;display:grid;place-items:center}#mic svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.8}#mic.listening{background:#b63123}#direction{min-width:0;flex:1;border:0;background:transparent}.send{padding:8px 14px}#status{text-align:center;font-size:14px;min-height:22px;margin:7px 0}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.strip{display:flex;gap:3px;margin:15px 0}.strip button{min-width:0;overflow:hidden;text-overflow:ellipsis;border:0;background:#d5d1c5;padding:12px 0}.strip .sel{background:#24241f;color:white}.stem{display:grid;grid-template-columns:60px 1fr 35px;gap:12px;align-items:center;margin:15px 0}input[type=range]{accent-color:#ba3828;width:100%}.monitor{background:#24231f;display:grid;place-items:center;border-radius:4px}.monitor canvas{display:block;max-width:100%;height:clamp(290px,48vh,550px);aspect-ratio:9/16}.meter{font:13px Monument,Arial,sans-serif}.filelist{display:flex;gap:4px}.filelist img{width:36px;height:36px;object-fit:cover}
@media(max-width:750px){header{height:58px;gap:12px}.project{display:none}nav{overflow-x:auto;margin:8px 0 18px}nav button{min-width:78px;display:block;font-size:13px}nav i{display:block}.layout{grid-template-columns:1fr;gap:18px}.left{padding:0}h1{margin:14px 0;font-size:54px}.poster{height:310px}#command{position:sticky;bottom:8px;z-index:3}.lead{margin-bottom:15px}.thumbs{margin-bottom:0}.monitor canvas{height:340px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
dialog{width:min(520px,92vw);padding:0;border:1px solid #b9b8af;border-radius:12px;background:#f8f7f2;color:#201f1c;box-shadow:0 24px 90px #0004;max-height:88dvh}dialog::backdrop{background:#24231fb3;backdrop-filter:blur(4px)}#dialogBody{padding:25px}dialog h2{font-size:36px;line-height:1;letter-spacing:-.06em;margin:23px 0 12px}dialog p{color:#5b5850}dialog footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:17px;margin-top:18px;border-top:1px solid #d2d0c6}.close{border:0;background:none;font:24px Arial;line-height:1;padding:4px 8px}.choices{display:flex;gap:8px;overflow:auto}.choices button{min-width:0;flex:1;border:1px solid #cac8be;border-radius:5px;padding:4px;background:transparent}.choices button[aria-pressed=true]{border:2px solid #c63d2d;padding:3px}.crop{display:block;overflow:hidden;height:130px}.crop img{width:100%;height:100%;object-fit:cover;display:block}.choices small{display:block;margin:5px 0;letter-spacing:0}.info{background:#eae8df;border-radius:5px;padding:12px 15px;line-height:1.5}.danger{background:#a32f24;border-color:#a32f24}.read{background:none;border:0;text-decoration:underline;color:#635f55;padding:6px 0;font-size:14px}

progress{width:82%;height:14px;accent-color:#bc3928;margin-right:12px}.poster img{object-position:center 22%}
body.opening{background:#f1f0ed;color:#101112}.opening header{height:65px;max-width:none;padding:0 3vw;border:0}.opening .brand{gap:6px}.opening .brand img{width:19px}.opening .brand b{font-size:24px;letter-spacing:-1.6px}.opening .brand span{font-size:13px}.opening header small,.composer-label,.gallery-footer button{font:11px/1.4 Monument,Arial,sans-serif}.opening header small{color:#62625e;letter-spacing:.04em}.opening .project,.opening #steps,.opening #command{display:none}.opening main{max-width:none;padding:0}.opening .composer{z-index:1;width:min(475px,calc(100% - 36px));padding:19px 20px 13px;margin:0;align-self:center;background:linear-gradient(135deg,#fffefaeb,#f5f3eecc);border:1px solid #ffffffda;border-radius:20px;box-shadow:inset 0 1px 1px white,0 12px 50px #1113,0 2px 8px #17171526;backdrop-filter:blur(23px) saturate(1.3);-webkit-backdrop-filter:blur(23px) saturate(1.3)}.composer.dropping{outline:3px solid #0999e1}.composer-label{display:flex;gap:7px;align-items:center}.composer-label label{font-weight:400}.spark{width:6px;height:6px;background:#e42321;transform:rotate(16deg)}.opening .composer textarea{display:block;height:65px;margin:12px 0 4px;padding:0;resize:none;color:#101112;outline:0;font-size:18px;letter-spacing:-.025em;line-height:1.35}.composer textarea::placeholder{color:#474743}.composer:focus-within{box-shadow:inset 0 1px 1px white,0 12px 50px #1114,0 0 0 1px #64625c80}.composer-tools{display:flex;align-items:center;gap:8px}.composer-tools button,.gallery-footer button{background:none;border:0}.composer-tools button{font-size:13px}.composer-tools #briefMic{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#fff9;border:1px solid #34343125}.composer-tools #briefMic.listening{background:#bd3124;color:white}#briefMic svg{width:16px;stroke:currentColor;stroke-width:1.7;fill:none}.surprise{padding:8px 5px}.composer-tools .make{border-radius:24px;background:#151615;color:white;margin-left:auto;padding:10px 14px}.make span{margin-left:5px}.composer #briefHelp{font-size:11px;margin:11px 0 0;color:#514f48}.gallery-footer{height:45px;padding:0 3vw;display:flex;justify-content:space-between;align-items:center}.gallery-footer button{padding:7px 0;color:#4e4d49}.gallery-footer span{color:#66655f}.opening #status{margin:0 18px;font-size:12px}.reference-tray:empty{display:none}.reference-tray{display:flex;gap:6px;margin:0 0 10px}.reference-tray button{border:0;padding:0;background:none;position:relative}.reference-tray img{width:37px;height:33px;border-radius:5px;object-fit:cover;display:block}.reference-tray span{position:absolute;right:-2px;top:-2px;background:#fff;border-radius:50%;line-height:12px;width:12px;font-size:11px}.credits{max-height:35vh;overflow:auto}.credits a{color:inherit}.credits p{font-size:13px}.opening #composer textarea:focus-visible{outline:0}
@media(max-width:650px){.opening header{height:51px;padding:0 16px}.opening header small{font-size:10px}.opening .composer{padding:16px;border-radius:17px}.gallery-footer{padding:0 16px}.opening .composer textarea{height:58px;font-size:17px}}
.board-canvas{position:relative;height:calc(100svh - 130px);min-height:420px;max-height:1000px}.board-scroll{width:100%;height:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#aaa8a1 transparent;overscroll-behavior-x:contain}.board-frames{height:100%;width:max-content;display:grid;grid-template-columns:repeat(var(--columns),clamp(185px,21vw,350px));grid-template-rows:repeat(2,minmax(0,1fr));gap:9px}.board-frame{border:0;padding:0;position:relative;background:#393832;overflow:hidden;border-radius:5px;color:white;text-align:left}.board-frame img{width:100%;height:100%;object-fit:cover;display:block}.board-frame:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#0009);pointer-events:none}.board-frame[aria-pressed=true]:before{content:'';position:absolute;inset:3px;z-index:2;border:1.5px solid white;border-radius:3px;box-shadow:0 0 0 1px #15161566;pointer-events:none}.frame-no,.frame-title{position:absolute;z-index:1;left:12px}.frame-no{top:12px;font:11px Monument,Arial,sans-serif;color:#fff;background:#1616157d;padding:4px 6px;border-radius:4px}.board-frame[aria-pressed=true] .frame-no{color:#171717;background:#f1f0ed}.frame-title{bottom:12px;font-size:13px;letter-spacing:-.01em}.board-dock{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:min(435px,calc(100% - 36px));padding:16px 18px;border-radius:19px;background:linear-gradient(130deg,#fffefae8,#f2f1eacf);backdrop-filter:blur(22px) saturate(1.25);-webkit-backdrop-filter:blur(22px) saturate(1.25);box-shadow:inset 0 1px 1px white,0 8px 38px #1113;border:1px solid #fffd}.board-count{margin-left:auto;color:#514f48}.boarding #command{display:flex;position:static;margin:8px 0;padding:0;box-shadow:none;background:none;border:0;gap:7px}.boarding #command #mic{width:32px;min-width:32px;height:32px;border-radius:50%;background:#fff9;color:#232323;border:1px solid #34343125}.boarding #command #mic.listening{background:#a83127;color:white}.boarding #command #direction{font-size:15px}.boarding #command .send,.board-edit{border:0;background:transparent;color:#46443e;font-size:12px;padding:8px}.board-tools{display:flex;justify-content:space-between;align-items:center}.board-tools .make{border:none;background:#151615;color:white;border-radius:24px;padding:9px 15px;font-size:13px}.board-tools .board-edit{padding-left:0;text-decoration:underline;text-underline-offset:3px}.boarding .gallery-footer span{font:11px Monument,Arial,sans-serif}.board-canvas.overview .board-frames{width:auto;height:100%;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:1fr}.board-canvas.overview{padding-bottom:126px}.overview .board-dock{top:auto;bottom:0;transform:translateX(-50%)}.shot-inspect{height:190px;overflow:hidden;border-radius:6px}.shot-inspect img{width:100%;height:100%;object-fit:cover}.strip{overflow-x:auto}.strip button{min-width:55px}.cards:has(.card:nth-child(7)){display:flex;overflow-x:auto}.cards:has(.card:nth-child(7)) .card{min-width:110px}.layout>.left{min-width:0}
@media(max-width:650px){.board-canvas{height:calc(100svh - 117px);min-height:370px}.board-frames{gap:6px;grid-template-columns:repeat(var(--columns),clamp(156px,44vw,230px))}.frame-title{font-size:12px;left:9px}.board-canvas.overview .board-frames{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(86px,1fr)}.overview .frame-no{top:5px;left:6px}.overview .frame-title{bottom:4px;font-size:11px}.board-canvas.overview{padding-bottom:132px}.boarding .gallery-footer span{font-size:10px}}

.brief-canvas{display:grid;grid-template-rows:minmax(220px,1fr) auto;min-height:465px;height:calc(100svh - 130px);position:relative;isolation:isolate}
.reference-grid{display:grid;position:relative;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;padding:0 8px;overflow:clip}
.photo{position:relative;min-width:0;min-height:0;background:none;border:0;padding:0;border-radius:6px}
.photo-surface{position:absolute;inset:0;display:block;overflow:hidden;border-radius:inherit;background:#dad8d0;pointer-events:none;transition:transform 220ms cubic-bezier(.2,.75,.25,1),box-shadow 220ms}
.photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 240ms cubic-bezier(.2,.75,.25,1)}
.photo-check{position:absolute;bottom:9px;right:9px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fffefaeb;color:#151514;opacity:0}
.photo.magnified,.photo:focus-visible{z-index:3}
.photo.nearby{z-index:2}
.photo:focus-visible .photo-check,.photo.magnified .photo-check,.photo[aria-pressed=true] .photo-check{opacity:1}
.photo[aria-pressed=true] .photo-check{font-size:0}.photo[aria-pressed=true] .photo-check:after{content:'✓';font-size:13px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .photo.magnified .photo-surface{transform:scale(1.085);box-shadow:0 8px 22px #1114}
  .photo.magnified img{transform:translate(var(--pan-x,0%),var(--pan-y,0%)) scale(1.22)}
  .photo.nearby .photo-surface{transform:scale(1.025)}
}
.opening .brief-canvas .composer{position:relative;justify-self:center;align-self:end;width:min(600px,calc(100% - 32px));margin:-16px 0 0;padding:15px 18px 12px;z-index:4}
.opening .brief-canvas textarea{height:42px;margin:9px 0 3px}
@media(max-width:850px){.reference-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.reference-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:5px;padding:0 5px}.brief-canvas{height:calc(100svh - 117px);min-height:415px}.opening .brief-canvas .composer{margin-top:-9px}}
@media(prefers-reduced-motion:reduce){.photo-surface,.photo img{transition:none}}
body.opening:not(.boarding){background:#f5f5f2}.workbench{position:relative;isolation:isolate;display:flex;flex-direction:column;height:calc(100svh - 119px);min-height:420px}.artboard{position:relative;flex:1;margin:0 12px;border:1px solid #d9d9d3;border-radius:13px;overflow:hidden;background-color:#f9f9f6;background-image:radial-gradient(#c9c9c2 0.7px,transparent .85px);background-size:19px 19px;touch-action:none}.canvas-label,.workbench+.gallery-footer span{font:11px Monument,Arial,sans-serif;color:#686863}.canvas-label{position:absolute;left:18px;top:16px;display:flex;align-items:center;gap:8px;pointer-events:none}.canvas-prompt{position:absolute;top:47%;width:100%;text-align:center;font-size:21px;letter-spacing:-.04em;color:#51514d;pointer-events:none}.canvas-prompt small{display:block;font:13px Monument,sans-serif;letter-spacing:0;margin:7px;color:#696963}.canvas-prompt[hidden]{display:none}.palette,.canvas-input{background:linear-gradient(135deg,#fffefaf2,#eeefebdf);box-shadow:0 2px 10px #19191416,inset 0 1px 1px white;border:1px solid #cccdc6;border-radius:14px;backdrop-filter:blur(18px);display:flex;align-items:center;gap:4px}.palette{position:absolute;top:14px;left:50%;transform:translateX(-50%);padding:4px;z-index:4}.palette button,.canvas-input button{border:0;background:none;border-radius:9px;padding:8px 11px}.palette button{min-width:34px;font:18px Arial;color:#30312d}.palette button[aria-pressed=true]{color:white;background:#242521}.palette button:disabled{opacity:.32}.artboard[data-tool=draw]{cursor:crosshair}.artboard[data-tool=text]{cursor:text}#inkPreview,#objects{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.canvas-object{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;cursor:grab;padding:0;border-radius:3px}.canvas-object.image{width:clamp(90px,14vw,210px);height:clamp(68px,10vw,150px);box-shadow:0 4px 11px #2222}.canvas-object img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.canvas-object.ink img{object-fit:fill}.canvas-object.selected{outline:1px solid #2783df;outline-offset:2px}.canvas-object.selected:after{content:'';position:absolute;right:-5px;bottom:-5px;width:6px;height:6px;border:1px solid #2783df;background:white;pointer-events:none}.canvas-object.text{background:#fffef6;padding:9px 10px 6px 18px;box-shadow:0 2px 8px #15151215}.canvas-object.text:before{content:'⋮';position:absolute;left:4px;top:10px;color:#89877f}.canvas-object textarea{width:clamp(110px,15vw,210px);font:17px/1.4 Monument,sans-serif;background:transparent;border:0;resize:vertical}.canvas-input{position:relative;z-index:5;margin:-19px auto 0;width:min(610px,calc(100% - 30px));padding:6px;border-radius:17px}.canvas-input textarea{flex:1;min-width:0;resize:none;border:0;background:transparent;font:15px/1.5 Monument,sans-serif;padding:7px 3px}.canvas-input button{font-size:12px;white-space:nowrap}.canvas-input #briefMic{height:33px;width:33px;display:grid;place-items:center;padding:6px}.canvas-input #briefMic.listening{background:#b42920;color:white}.film-dock{display:flex;position:relative;align-items:flex-end;gap:8px;overflow:auto hidden;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:none;user-select:none;padding:62px 0 6px;margin-top:-13px}.film-dock::-webkit-scrollbar{display:none}.film-dock .photo{flex:0 0 max(110px,11vw);height:clamp(68px,6.8vw,112px);background:transparent}.film-dock .photo-surface{border-radius:9px;transform-origin:center bottom;box-shadow:0 2px 4px #19191425}.film-dock .photo-check{display:none}.drag-photo{position:fixed;z-index:50;width:112px;height:82px;object-fit:cover;pointer-events:none;transform:translate(-50%,-50%) rotate(-7deg);border-radius:7px;box-shadow:0 10px 20px #1113}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.film-dock .photo-surface{transform:translateY(var(--lift,0)) scale(var(--zoom,1));transition:transform 130ms ease-out}}
@media(max-width:650px){.workbench{height:calc(100svh - 108px)}.artboard{margin:0 6px}.canvas-label{font-size:10px;top:14px;left:10px}.palette{left:auto;right:9px;top:8px;transform:none}.palette button{min-width:27px;padding:6px}.canvas-input{width:calc(100% - 18px)}.canvas-input .inspire{font-size:11px;padding:5px}.film-dock{padding-top:45px}.canvas-input textarea{font-size:16px}.workbench+.gallery-footer span{font-size:9px}}

.palette svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.palette button{display:grid;place-items:center}
.film-dock{gap:5px;padding-top:100px;margin-top:-18px}.film-dock .photo{flex-basis:54px;height:42px}.film-dock .photo-surface{border-radius:5px}.gallery-footer.moodbar{justify-content:flex-start;gap:10px;font:13px Monument,Arial,sans-serif}.moodbar label span{color:#8b8a84}.moodbar select{border:1px solid #d4d4cc;border-radius:7px;padding:5px 6px;background:#fafaf7;color:inherit;font:inherit}.moodbar #photoCredits{margin-left:auto}.moodbar #moodCount{font:12px Monument,Arial,sans-serif;color:#666660}#inlineCredits{margin:0 3vw;padding:12px;max-height:160px;overflow:auto;background:#fffefa;border-radius:8px;font-size:13px}#inlineCredits a{color:inherit}
@media(max-width:650px){.film-dock .photo{flex-basis:45px;height:35px}.film-dock{padding-top:81px}.gallery-footer.moodbar{gap:6px;padding:0 7px;font-size:11px}.moodbar select{max-width:110px}.moodbar #moodCount{font-size:10px}}
.workbench .canvas-input{margin:6px auto 0;flex-shrink:0}.workbench .film-dock{margin-top:0;flex-shrink:0}.artboard{min-height:145px}.keywordbar,#tagEditor{display:flex;align-items:center;gap:7px;margin:2px 12px}.keywordbar button,.keywordbar input,#tagEditor button,#tagEditor input,.no-images button{font:12px Monument,Arial,sans-serif;color:#30312f;border:1px solid #d1d1c9;border-radius:8px;background:#fafaf7;padding:6px 9px}.keywordbar input{width:135px;flex-shrink:0}#styleTags{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;min-width:0}#styleTags button,#tagMode{white-space:nowrap}#styleTags button[aria-pressed=true],#tagMode[aria-pressed=true]{background:#292a26;color:white}#tagMode{margin-left:auto;flex-shrink:0}#tagEditor{flex-wrap:wrap;font:12px Monument,Arial,sans-serif;padding:4px 0}#tagEditor[hidden]{display:none}#tagEditor img{width:33px;height:28px;object-fit:cover;border-radius:4px}.tag-title{max-width:175px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.current-tags{color:#67675f}.no-images{font-size:13px;padding:4px 12px}.workbench:has(#tagEditor:not([hidden])){min-height:510px}@media(max-width:650px){.keywordbar,#tagEditor{margin-left:8px;margin-right:8px}.keywordbar input{width:111px}#tagEditor .current-tags{max-width:165px}.workbench .canvas-input{margin-top:5px}}
.story-sheet{padding:0 clamp(14px,3vw,56px) 30px;background:#f1f0eb}.sheet-top,.sheet-heading,.shot-paper header,.panel-actions{display:flex;align-items:center}.sheet-top{gap:14px;border-top:1px solid #d1d0c9;padding-top:14px;color:#6a6962;font-size:13px}.back-brief,.panel-actions button,.reorder{border:0;background:none;color:inherit}.sheet-heading{justify-content:space-between;gap:12px;padding:15px 0 19px}.sheet-heading h1{font:700 clamp(29px,3vw,47px)/1 Monument,Arial,sans-serif;letter-spacing:-.055em;margin:0}.sheet-heading p{font-size:13px;margin:5px 0 0;color:#65645d}.sheet-button{border:1px solid #c9c8c0;border-radius:10px;padding:10px 13px;background:#fffefa;font-size:13px}.sheet-button.dark{background:#20211d;color:white;border-color:#20211d}.paper-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.shot-paper{background:#fffefa;border:1px solid #c9c8c0;border-radius:5px;padding:9px;min-width:0;box-shadow:none}.shot-paper.current{border-color:#787970}.opening .shot-paper header{padding:0 0 8px;height:auto;border:0;gap:5px}.shot-paper header strong{font-size:13px;font-weight:700}.opening .shot-paper header small{font:11px Monument,Arial,sans-serif;letter-spacing:0;margin-left:auto}.reorder{font-size:19px;cursor:grab;touch-action:none;padding:0 4px}.reorder.moving{color:#bd392a}.picture-window{aspect-ratio:5/3;border:1px solid #63635b;background:#fffefa;position:relative;overflow:hidden}.picture-window img,.picture-window canvas{display:block;width:100%;height:100%;object-fit:cover}.picture-window canvas{touch-action:none;cursor:crosshair}.picture-window span{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;font-size:12px;color:#77766c}.shot-paper label{display:block;padding-top:9px}.shot-paper label span{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#6b6b62}.shot-paper textarea{display:block;margin:4px 0 7px;width:100%;font:13px/1.4 Monument,Arial,sans-serif;background:transparent;border:0;resize:vertical;min-height:38px}.panel-actions{gap:9px;border-top:1px solid #e2e0d9;padding-top:4px}.panel-actions button{font-size:11px;padding:4px 0}.more-shot{margin-left:auto}.sheet-command{position:sticky;bottom:10px;z-index:3;width:min(480px,100%);margin:18px auto 0;background:#fbfaf5ee;border:1px solid #c9c8c0;backdrop-filter:blur(16px);border-radius:12px;padding:2px 10px}.boarding .sheet-command #command{margin:3px 0}.sheet-top button{padding:0}@media(max-width:1100px){.paper-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:800px){.paper-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:580px){.paper-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shot-paper{padding:6px}.sheet-heading{align-items:end}.sheet-button{font-size:11px;padding:8px}.panel-actions{gap:6px}.shot-paper textarea{font-size:14px}.reorder{padding:4px}.sheet-heading h1{font-size:28px}.sheet-heading p{font-size:11px}}

.picture-window{aspect-ratio:1}.picture-window.empty{border:1.5px dashed #aaa9a1;border-radius:3px}.panel-actions [hidden]{display:none}.panel-actions .more-shot{margin-left:auto}

.story-sheet .panel-actions{border:0;padding-top:7px;flex-wrap:wrap;gap:5px}.shot-size{font:13px Monument,Arial,sans-serif;background:transparent;color:#292a26;border:0;border-radius:4px;max-width:100%;padding:3px 1px;cursor:pointer}.shot-note{display:grid;gap:6px;font-size:13px}.shot-note textarea{padding:9px;background:#fffefa;color:inherit;border:1px solid #c9c8c0;border-radius:5px;resize:vertical}
.shot-paper.lifted,.edit-clip.lifted{transform:rotate(-5deg) scale(.97);opacity:.58}.shot-paper,.edit-clip{transition:transform .12s,opacity .12s}.drop-target{outline:2px solid #347866;outline-offset:1px}.arranging .shot-paper{cursor:grab;touch-action:none;user-select:none}.arranging .shot-paper>*{pointer-events:none}.arranging .panel-actions,.arranging .sheet-command{visibility:hidden}.arranging .shot-paper.current{background:#faf9f3}#dropBin{position:fixed;z-index:50;left:50%;bottom:20px;transform:translateX(-50%);padding:17px 34px;border:2px dashed #a14432;border-radius:14px;color:#732d21;background:#fff6ee;pointer-events:auto}#dropBin.hot{color:white;background:#963d2f}.lift-ghost{position:fixed;z-index:55;transform:translate(-50%,-55%) rotate(-8deg);pointer-events:none;background:#fffdf7;border:1px solid #aaa99d;padding:8px;border-radius:5px;width:110px;display:grid;gap:3px;font-size:12px}.lift-ghost img{width:100%;height:65px;object-fit:cover;border:1px dashed #b6b5ac}.cutroom{background:#f3f3ef;color:#20211e}.cutroom header{height:58px}.cutroom main{max-width:1420px;padding:0 clamp(12px,3vw,48px) 12px}.cutroom nav{margin:0 0 12px}.cutroom nav button{font-size:13px;padding:8px 3px}.cut-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}.cut-head small,.crew-note small{font:12px Monument,Arial,sans-serif;color:#66675f;letter-spacing:0}.cut-head h1{font-size:34px;line-height:1;margin:3px 0;letter-spacing:-.055em}.video-layout{display:grid;grid-template-columns:minmax(0,1fr)}.shoot-layout{grid-template-columns:minmax(0,1fr) minmax(185px,230px);gap:16px}.film-view{position:relative;background:#252825;border-radius:8px;display:flex;justify-content:center;overflow:hidden}.film-view canvas{height:clamp(220px,42vh,480px);max-width:100%;aspect-ratio:9/16}.film-view #slate{position:absolute;top:12px;left:12px;background:#1e211eee;color:white;padding:6px 9px;border-radius:5px;font:12px Monument,Arial,sans-serif}.transport,.cut-tools,.camera-controls,.crew-member{display:flex;align-items:center;gap:8px}.transport{justify-content:space-between;padding:6px 0}.transport #time{font:12px Monument,Arial,sans-serif}.production button.plain,.cut-tools button{background:#fcfbf7;border:1px solid #cccac1;padding:7px 12px;border-radius:7px;font-size:12px}.crew{padding:15px;border:1px solid #d3d3cb;border-radius:9px;align-self:start;background:#fafaf6}.crew h2{font-size:16px;margin:0 0 12px}.crew-member{padding:6px 0}.crew-member svg{width:35px;height:35px}.crew-member strong,.crew-member small{display:block;font:13px Monument,Arial,sans-serif}.crew-member small{font-size:11px;color:#77786f;margin-top:2px}.crew-note{border-top:1px solid #d7d6ce;margin-top:10px;padding-top:10px}.crew-note p{font-size:14px;margin:6px 0 10px}.cut-desk{padding:10px 12px;border:1px solid #d0d0c6;background:#fafaf7;border-radius:9px}.cut-tools strong{font-size:13px;margin-right:auto}.track-scroll,.shot-rail{overflow:auto}.track-inner{position:relative;padding:0 0 4px}.time-ruler{display:flex;justify-content:space-between;padding:11px 0 6px;cursor:ew-resize;touch-action:none;user-select:none;font-size:10px;color:#62635c}.picture-track{display:flex;height:42px}.edit-clip{position:relative;min-width:0;background:#d9ddd3;border-left:1px solid white;border-radius:4px}.edit-clip:nth-child(even){background:#cfdbd3}.edit-clip.chosen,.shot-rail .chosen,.production .camera-controls .chosen{background:#384e44;color:white}.clip-body{height:100%;width:100%;border:0;background:none;font-size:12px;touch-action:none;cursor:grab}.trim-edge{position:absolute;right:-4px;width:10px;height:78%;top:11%;z-index:2;border:0;border-right:2px solid #88998b;background:none;cursor:ew-resize;touch-action:none}.time-needle{position:absolute;top:6px;bottom:0;border-left:2px solid #ce5036;pointer-events:none}.time-needle:before{content:'';position:absolute;width:7px;height:7px;top:0;left:-4.5px;background:#ce5036;border-radius:2px}.shot-rail{display:flex;gap:5px;padding-bottom:4px}.shot-rail button{white-space:nowrap;border:1px solid #c6c9bd;background:#f1f2ec;border-radius:5px;padding:7px;font-size:12px}.shot-rail b{margin-right:4px}.cut-desk #seek{accent-color:#40584b;margin:8px 0 4px}.camera-controls{margin:4px 0}.voice-desk #command{margin:10px auto 0;border-radius:15px}.cutroom #status{font-size:12px}
@media(max-width:670px){.cutroom nav{overflow-x:auto}.cutroom nav button{min-width:64px}.shoot-layout{grid-template-columns:1fr;gap:6px}.crew{display:flex;flex-wrap:wrap;align-items:center;gap:4px 13px;padding:9px;width:100%}.crew h2{width:100%;font-size:13px;margin:0}.crew-member{padding:0}.crew-member svg{width:26px;height:26px}.crew-note{width:100%;margin:2px 0 0;padding:6px 0 0}.crew-note p{display:inline;font-size:12px;margin:0 5px}.crew-note small{display:block}.crew-note .plain{padding:4px 6px}.film-view canvas{height:clamp(175px,31vh,300px)}.cutroom .voice-desk #command{position:static}.cut-head h1{font-size:26px}.cutroom #command input{font-size:16px}}

.time-needle{width:9px;margin-left:-1px;border-left:0;pointer-events:auto;cursor:ew-resize;touch-action:none;background:linear-gradient(to right,#ce5036 2px,transparent 2px)}.time-needle:before{left:-2px}.cut-tools{flex-wrap:wrap}
#pageArrow{position:fixed;right:6px;top:47%;z-index:7;display:grid;place-items:center;width:32px;height:53px;border:1px solid #c9c9c2;border-radius:17px;color:#32352f;background:#fffefae8;backdrop-filter:blur(12px);box-shadow:0 2px 9px #17191214}
#pageArrow[hidden]{display:none}#pageArrow.back{right:auto;left:5px}#pageArrow svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#pageArrow.back svg{transform:rotate(180deg)}body.opening{overscroll-behavior-x:none}body.opening .story-sheet,body.opening #artboard[data-tool=move]{touch-action:pan-y}
.edit-layout{grid-template-columns:minmax(0,1fr) minmax(175px,210px);gap:14px}.editor-card{align-self:start;background:#fbfbf8;border:1px solid #d0d1c9;border-radius:13px;padding:14px}.editor-avatar{display:grid;place-items:center;background:#3d5046;color:#f6f7ef;width:31px;height:31px;border-radius:10px;margin-bottom:9px}.editor-card small{color:#666b62;font-size:10px}.editor-card h2{font-size:19px;margin:3px 0}.editor-card p{font-size:14px;margin:8px 0}.advice-time{font-size:14px;margin:8px 0 13px}.advice-time span{color:#81877b}
.mac-tools{gap:7px;margin-bottom:7px}.tool-group{display:inline-flex;align-items:center;border:1px solid #d2d3ca;border-radius:9px;padding:2px;background:linear-gradient(#fff,#f1f2ed);gap:1px}.cut-tools button.mac-icon{width:32px;height:28px;border:0;background:transparent;display:grid;place-items:center;padding:4px;border-radius:6px;color:#363c35}.mac-icon svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.cut-tools .mac-icon:hover{background:#e3e6de}.cut-tools .mac-icon[aria-pressed=true]{color:#254e38;background:#d8e5d8}.tool-group output{font-size:11px;min-width:35px;text-align:center}.clip-body{display:flex;flex-direction:column;align-items:start;justify-content:center;padding:3px 7px;overflow:hidden;color:inherit}.clip-body small{white-space:nowrap;font-size:10px;opacity:.85}.score-wave{margin-top:4px;background:#e3e8df;height:25px;border-radius:4px;overflow:hidden}.score-wave svg{width:100%;height:100%;stroke:#8f9e86;stroke-width:.8}.score-wave.muted{opacity:.35}.cue-marker{position:absolute;top:0;width:10px;height:12px;border:0;background:#bd8437;clip-path:polygon(0 0,100% 0,100% 60%,50% 100%,0 60%);transform:translateX(-30%);z-index:4}.time-needle{z-index:3}.time-ruler{padding-top:15px}.track-inner{box-sizing:border-box}
@media(max-width:700px){.edit-layout{grid-template-columns:1fr}.editor-card{padding:8px 12px;display:block}.editor-avatar,.editor-card>small{display:none}.editor-card h2{font-size:14px}.editor-card p,.editor-card .advice-time{display:inline-block;margin:4px 6px 4px 0;font-size:12px}.editor-card .sheet-button{padding:4px 7px}.cut-tools strong{width:100%}.cut-tools button.mac-icon{width:26px}.mac-tools{gap:3px}#pageArrow{width:25px;height:45px;right:1px}#pageArrow.back{left:1px}}

.score-room{width:min(1060px,100%);margin:0 auto;color:#282a25}
.score-top,.score-transport{display:flex;align-items:center;justify-content:space-between}
.score-top{padding:8px 0}
.score-voice{padding:clamp(32px,7vh,82px) 0 clamp(22px,5vh,64px);text-align:center}
.score-voice h1{font:normal clamp(34px,5vw,64px)/1.05 Monument,Arial,sans-serif;letter-spacing:-.06em;margin:0 0 22px}
#scoreVoice #command{position:static;width:min(530px,100%);margin:0 auto;border:1px solid #cecec5;border-radius:30px;background:#fffefa;box-shadow:0 2px 7px #29291f09;padding:6px;gap:13px}
#scoreVoice #mic{border-radius:50%;width:42px;height:42px;background:#394d41}
#scoreVoice #mic.listening{background:#ac4939}
#scoreVoice #direction{font-size:15px}
#scoreVoice .send{background:none;color:#435446;font-size:12px;border:0;border-radius:18px}
#scoreReply{height:1.25em;line-height:1.25;margin:12px 0 0;font-size:13px;color:#505b50}
.score-timeline{border:1px solid #cfcec6;background:#faf9f5;border-radius:14px;overflow:hidden}
.score-transport{justify-content:flex-start;gap:12px;padding:10px 16px;border-bottom:1px solid #dcdcd3}
.score-transport #play{background:linear-gradient(#fffefa,#f0f0e9);border:1px solid #c8c9c0;border-radius:7px;font-size:12px;padding:5px 11px}
.score-transport output,.score-ruler{font-variant-numeric:tabular-nums;font-size:11px;color:#595c51}
.score-grid{display:grid;grid-template-columns:95px minmax(0,1fr);padding:0 14px 14px;column-gap:9px}
.score-labels{padding-top:26px}
.score-labels>div,.score-picture,.instrument{height:32px;margin-bottom:5px}
.score-labels>div{display:flex;align-items:center;gap:5px;font-size:12px}
.score-labels small{margin-left:auto;font-size:10px;color:#606257}
.stem-dot{width:6px;height:6px;border-radius:50%;flex:none}
.dot-0{background:#608775}.dot-1{background:#817397}.dot-2{background:#ab7d50}
#scoreTracks{position:relative;isolation:isolate;background:repeating-linear-gradient(to right,#30352613 0 1px,transparent 1px 16.66667%)}
.score-ruler{height:26px;position:relative;font-size:10px}
.score-ruler span{position:absolute;top:6px;transform:translateX(-50%)}
.score-ruler span:first-child{left:0;transform:none}.score-ruler span:nth-child(2){left:16.6667%}.score-ruler span:nth-child(3){left:33.3333%}.score-ruler span:nth-child(4){left:50%}.score-ruler span:nth-child(5){left:66.6667%}.score-ruler span:nth-child(6){left:83.3333%}.score-ruler span:last-child{right:0;transform:none}
.score-picture{display:flex;overflow:hidden;border-radius:4px}
.score-picture span{position:relative;min-width:0;overflow:hidden;background:#dfe1d9;border-right:1px solid #faf9f5;display:grid;place-items:center}
.score-picture img{position:absolute;width:100%;height:100%;object-fit:cover;opacity:.5}
.score-picture b{position:relative;font-size:10px;color:#354036;font-weight:500}
.instrument{position:relative;color:var(--ink);background:#ebece640;border-radius:4px;overflow:hidden}
.stem-0{--wash:#d9e6d9;--ink:#53795c}.stem-1{--wash:#e1deeb;--ink:#79688d}.stem-2{--wash:#efe1cd;--ink:#946e47}
.stem-region{position:absolute;inset:0 0 0 auto;background:var(--wash);border-left:1px solid var(--ink);border-radius:4px}
.instrument svg{position:relative;width:100%;height:100%;stroke:currentColor;stroke-width:1;fill:none}
.score-needle{position:absolute;left:var(--cursor);top:17px;bottom:5px;border-left:1.5px solid #b24934;z-index:2;pointer-events:none}
.score-needle:before{content:'';position:absolute;top:-4px;left:-4px;width:7px;height:7px;background:#b24934;clip-path:polygon(0 0,100% 0,100% 60%,50% 100%,0 60%)}
#scoreTracks #seek{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;touch-action:pan-y}
#scoreTracks:focus-within{outline:2px solid #506e60;outline-offset:2px;border-radius:3px}
@media(max-width:550px){.score-grid{grid-template-columns:70px minmax(0,1fr);padding:0 8px 8px;column-gap:6px}.score-labels>div{gap:3px;font-size:11px}.score-labels small{font-size:9px}.score-voice{padding:32px 0 25px}.score-picture b{font-size:8px}#scoreVoice #command{gap:7px}#scoreVoice #direction{font-size:13px}}
@media(max-width:550px){.cutroom:has(.score-room) nav button{min-width:0;text-align:center;font-size:clamp(9px,2.8vw,12px);padding-inline:0}}
.score-screening{padding:clamp(12px,2vw,24px);display:grid;grid-template-columns:minmax(170px,.8fr) minmax(0,1.2fr);align-items:center;gap:clamp(15px,3vw,50px);background:#f5f5f0}
.score-screening .score-voice{padding:0;text-align:left}
.score-screening .score-voice h1{font-size:clamp(30px,4vw,55px)}
.score-screening #command{margin:0}
.score-monitor{position:relative;display:grid;place-items:center;background:#252622;border-radius:8px;margin:0;overflow:hidden;height:clamp(180px,32vh,360px);min-width:0}
.score-monitor canvas{height:100%;width:100%;object-fit:contain;position:absolute;inset:0}
#scoreSlate{position:absolute;bottom:7px;left:8px;border-radius:4px;padding:4px 7px;font-size:11px;background:#20231eda;color:#fff;line-height:1.3}
#emptyPicture{z-index:1;padding:5px 8px;border-radius:5px;font-size:12px;background:#efeee8;color:#54574e}
.score-picture,.score-labels>div:first-child{height:54px}
.score-picture canvas{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.score-picture span{border-radius:3px}.score-picture span.on-air{outline:2px solid #374e41;outline-offset:-2px;z-index:1}
.score-picture b{align-self:end;justify-self:start;margin:3px;font-size:9px;background:#23251dd4;color:#fff;padding:1px 3px;border-radius:3px}
@media(max-width:650px){.score-screening{grid-template-columns:1fr;gap:12px}.score-monitor{height:clamp(145px,24svh,240px)}.score-screening .score-voice h1{font-size:25px;margin:0 0 8px}.score-voice #scoreReply:empty{margin:0;height:0}.score-screening #command{max-width:none;width:100%}.score-picture,.score-labels>div:first-child{height:40px}.score-picture b{font-size:8px;margin:1px;padding:1px}}

.edit-viewer{display:grid;place-items:center;background:#252825;border-radius:9px;overflow:hidden}
.edit-image{position:relative;width:min(100%,78vh);aspect-ratio:16/9;overflow:hidden;isolation:isolate}
.edit-image canvas{display:block;width:100%;height:100%}
.edit-image #slate{position:absolute;top:8px;left:9px;border-radius:5px;background:#20231ed9;color:#fff;padding:4px 7px;font-size:11px;pointer-events:none}
.frame-transport{flex-wrap:wrap}
.format-picker{display:flex;gap:2px;margin-left:auto;padding:2px;background:#e6e7df;border:1px solid #cdcec5;border-radius:8px}
.format-picker button{display:flex;align-items:center;gap:5px;background:transparent;border:1px solid transparent;border-radius:6px;text-transform:capitalize;font-size:11px;padding:4px 7px;color:#555b50}
.format-picker button[aria-pressed=true]{background:#fffefb;color:#252a23;border-color:#caccbf}
.format-picker i{width:13px;height:8px;border:1.5px solid currentColor;border-radius:2px}.format-picker [data-format=vertical] i,#toggleShootGuide i{width:7px;height:12px}
#shootGuide,#cropWindow{position:absolute;inset:0 auto 0 0;width:31.640625%;border:2px solid white;box-shadow:0 0 0 140vmax #12161088}
#cropWindow{display:none;touch-action:none;cursor:ew-resize}
.crop-active #cropWindow,.crop-peek #cropWindow{display:block}.crop-peek:not(.crop-active) #cropWindow{pointer-events:none}
#cropWindow i{position:absolute;inset:0;background:linear-gradient(90deg,transparent 33%,#fff5 33%,#fff5 33.5%,transparent 33.5%,transparent 66%,#fff5 66%,#fff5 66.5%,transparent 66.5%),linear-gradient(transparent 33%,#fff5 33%,#fff5 33.5%,transparent 33.5%,transparent 66%,#fff5 66%,#fff5 66.5%,transparent 66.5%);opacity:0}
#cropWindow:hover i,#cropWindow:focus-visible i,#cropWindow:active i{opacity:1}
#cropWindow:after{content:'↔';position:absolute;left:50%;bottom:8px;transform:translateX(-50%);padding:1px 9px;border-radius:20px;background:#2228;color:white;font:14px system-ui}
.monitor #monitor{width:100%;height:auto;aspect-ratio:auto;max-height:48vh;object-fit:contain}

#shootGuide{pointer-events:none}

#pinterestPicker { flex-wrap: wrap; }
#pinterestPicker [hidden] { display: none; }
#pinterestPicker a:not([hidden]) { color: inherit; text-underline-offset: .18em; }
#pinterestPicker select { max-width: min(18rem, 60vw); }
.pinterest-status:empty { display: none; }
.canvas-pin-source { display: block; padding: .2rem .35rem; background: #f9f9f6; color: #242522; font-size: .7rem; text-underline-offset: .16em; }

/* The workspace keeps a dedicated right edge for its two resident crew members. */
body { --crew-width: 92px; padding-right: var(--crew-width); }
.director-name { font-size: 14px; }
#crew { position: fixed; inset: 0 0 0 auto; z-index: 12; width: var(--crew-width); background: #eeede7; border-left: 1px solid #c9c7be; display: flex; align-items: center; flex-direction: column; gap: 12px; }
#crew h2 { font-size: 16px; letter-spacing: -.04em; margin: 24px 0 10px; }
.crew-member { width: 100%; display: grid; justify-items: center; gap: 5px; padding: 5px 2px; border: 0; background: none; font-size: 12px; }
.crew-member:hover, .crew-member[aria-expanded=true] { background: #e2e0d7; }
.portrait { position: relative; display: block; width: 48px; aspect-ratio: 1; background-size: contain; background-repeat: no-repeat; border-radius: 24%; image-rendering: pixelated; transform-origin: top left; }
.portrait.producer { background-color: #b8cdda; background-image: url(assets/producer.png); }
.portrait.art-director { background-color: #edcba2; background-image: url(assets/art-director.png); }
#teamPanel { position: absolute; top: 72px; right: calc(100% + 6px); width: min(285px, calc(100vw - var(--crew-width) - 14px)); background: #fffef9; border: 1px solid #bbbaaf; padding: 16px; border-radius: 12px; box-shadow: 0 8px 30px #26241d20; }
#teamPanel p { font-size: 14px; }
.team-heading { display: flex; align-items: center; justify-content: space-between; }
.team-heading button { border: 0; background: none; font-size: 22px; }
#teamApply, .enter-studio { background: #252622; color: #fffefa; border: 0; border-radius: 5px; padding: 10px 14px; }
.team-roles { margin-top: 16px; padding-top: 12px; border-top: 1px solid #dedcd2; display: flex; flex-wrap: wrap; gap: 4px; }
.team-roles button { padding: 4px 7px; border: 1px solid #cac7bd; border-radius: 4px; background: transparent; font-size: 12px; }
.team-roles button[aria-pressed=true] { background: #e9e7dc; }
#pageArrow:not(.back) { right: calc(var(--crew-width) + 3px); }
body.welcoming { overflow: hidden; }
#welcome { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: none; border-radius: 0; background: #f4f3ee; color: #22231f; box-shadow: none; }
#welcome::backdrop { background: #f4f3ee; }
#welcome [hidden] { display: none; }
.signin-sheet { min-height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; padding: clamp(20px, 4vw, 58px); column-gap: 6vw; }
.welcome-brand { grid-area: 1 / 1; }
.signin-content { align-self: center; grid-area: 2 / 1; width: min(100%, 375px); margin: 35px auto 30px; }
#welcomeTitle { margin: 0; font-size: clamp(60px, 7.8vw, 120px); letter-spacing: -.075em; line-height: .91; }
#welcome h1:focus, #welcome h2:focus { outline: none; }
.signin-content > p:first-of-type { margin: 20px 0 32px; }
.provider { width: 100%; min-height: 50px; border-radius: 6px; font-weight: 700; }
.provider.pinterest { background: #ad1934; color: white; border: 1px solid #ad1934; }
.provider.google { background: #fffefa; color: #24241f; border: 1px solid #aaa99f; }
.provider-note, .signin-status { font-size: 13px; color: #585951; }
.provider-note { margin: 8px 0 19px; }
.preview-button { background: none; border: 0; padding: 6px 0; text-decoration: underline; text-underline-offset: 4px; }
.welcome-still { position: relative; margin: 0; grid-area: 1 / 2 / 3; overflow: hidden; background: #b4ae9e; min-height: 330px; }
.welcome-still img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.welcome-still figcaption { position: absolute; bottom: 14px; left: 14px; background: #f4f3ee; padding: 5px 8px; font-size: 12px; }
#welcome.introducing, #welcome.introducing::backdrop { background: transparent; }
.crew-intro { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; margin-right: var(--crew-width); padding: 35px 18px; background: #f4f3ee; }
.crew-intro h2 { font-size: clamp(40px, 5vw, 76px); letter-spacing: -.07em; line-height: 1; margin: 0 0 38px; }
.intro-cards { display: grid; grid-template-columns: repeat(2,minmax(0,260px)); gap: clamp(22px,5vw,76px); }
.intro-cards article { text-align: center; }
.intro-cards .portrait { margin: 0 auto; width: clamp(70px,10vw,134px); }
.intro-cards h3 { margin: 18px 0 6px; font-size: 22px; letter-spacing: -.04em; }
.intro-cards p { margin: 0; font-size: 16px; }
.wave-hand { position: absolute; width: 40%; height: 47%; right: -14%; bottom: 1%; background: url(assets/producer-hand.png) center / contain no-repeat; transform-origin: 45% 95%; animation: hand-wave .48s ease-in-out 5 alternate; }
@keyframes hand-wave { from { transform: rotate(-18deg); } to { transform: rotate(15deg); } }
@keyframes crew-hello { from {opacity:0; translate:0 10px;} to {opacity:1; translate:0 0;} }
.intro-cards article:nth-child(2) h3, .intro-cards article:nth-child(2) p { animation: crew-hello .4s 1.7s both; }
.enter-studio { margin-top: 32px; }
.enter-studio span { margin-left: 14px; }
.departing .crew-intro { background: transparent; transition: background .55s; }
.departing .crew-intro :is(h2,h3,p,button,.wave-hand) { opacity: 0; animation: none; }
body:has(#welcome.introducing[open]) .crew-member .portrait { visibility: hidden; }
@media(max-width: 720px) {
  body { --crew-width: 62px; }
  body > header .project, body > header > small { display: none; }
  .director-name { margin-left: auto; }
  #crew h2 { margin: 18px 0 4px; }
  .crew-member { font-size: 10px; }
  .crew-member .portrait { width: 38px; }
  .signin-sheet { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .welcome-still { display: none; }
  .signin-content { max-width: 360px; }
  .crew-intro { justify-content: safe center; }
  .intro-cards { grid-template-columns: 1fr; gap: 18px; max-width: 360px; }
  .intro-cards article { text-align: left; display: grid; grid-template-columns: 60px 1fr; column-gap: 12px; }
  .intro-cards .portrait { width: 60px; grid-row: span 2; }
  .intro-cards h3 { font-size: 18px; margin: 0 0 4px; }
  .intro-cards p { font-size: 14px; }
  .crew-intro h2 { margin-bottom: 26px; }
}
@media(prefers-reduced-motion: reduce) {
  #welcome *, #welcome *::before { animation: none; transition: none; }
}

#welcome.introducing::backdrop { backdrop-filter: none; }
.name-step label, .name-step input, .name-next { display: block; width: 100%; }
.name-step label { margin-bottom: 10px; font-size: 16px; }
.name-step input { padding: 12px 14px; border: 1px solid #97978d; border-radius: 5px; background: #fffefa; color: inherit; }
.name-step input[aria-invalid=true] { border-color: #ad1934; }
.name-step #welcomeTitle { font-size: clamp(48px, 5.4vw, 80px); }
#providerTitle { font-size: clamp(46px, 5.4vw, 76px); margin: 0; overflow-wrap: anywhere; }
#nameError { font-size: 14px; color: #93233c; margin: 8px 0; }
.name-next { padding: 12px; border: 0; border-radius: 5px; background: #252622; color: white; }
#editDirectorName { margin-right: 20px; }
.director-name { max-width: 15ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.intro-cards [data-director-name] { overflow-wrap: anywhere; }

.workbench [hidden] { display: none !important; }
.pinterest-links { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:8px 12px 0; font:13px Monument,Arial,sans-serif; }
.pinterest-links input, .pinterest-links button { font:inherit; border:1px solid #cccac4; border-radius:7px; padding:7px 10px; }
.pinterest-links input { flex:1 1 150px; min-width:0; max-width:340px; }
.pinterest-links button { background:#242522; color:white; cursor:pointer; }
#pinterestLinkStatus { color:#53534e; }
#boardBrowser { margin:8px 12px; font-size:12px; }
#boardBrowser summary { cursor:pointer; }
.canvas-object.pinterest { width:clamp(150px,24vw,234px); background:#fff; border:1px solid #cccac4; border-radius:8px; overflow:hidden; box-shadow:0 3px 10px #24252220; }
.pinterest-handle { padding:5px 9px; font:12px Monument,Arial,sans-serif; touch-action:none; }
.canvas-object.pinterest iframe { display:block; width:100%; height:clamp(90px,23vh,200px); border:0; background:#fafaf8; }
@media(max-width:650px) { .pinterest-links label {flex-basis:100%} .pinterest-links {margin:6px;gap:5px} }

.design-references { margin:7px 12px 0; min-width:0; }
.reference-tools { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:5px; }
.reference-tools [role=group] { display:flex; gap:2px; }
.reference-tools button { padding:4px 8px; border:0; border-radius:5px; font:12px Monument,Arial,sans-serif; color:#363731; background:transparent; cursor:pointer; }
.reference-tools button[aria-pressed=true] { background:#292a25; color:white; }
.reference-tools small { margin-left:auto; color:#64645d; font-size:11px; }
.design-shelf { display:flex; gap:7px; overflow-x:auto; padding:2px; }
.design-shelf button { flex:0 0 126px; min-width:0; text-align:left; padding:0; border:0; background:transparent; cursor:grab; touch-action:pan-x; user-select:none; -webkit-touch-callout:none; }
.design-shelf img { width:100%; height:88px; display:block; object-fit:cover; background:#e9e8e2; border-radius:4px; }
.design-shelf strong, .design-shelf span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:12px/1.4 Monument,Arial,sans-serif; }
.design-shelf strong { margin-top:3px; font-weight:bold; }
.design-shelf span, .design-references [role=status] { color:#54554f; font-size:11px; }
@media(max-width:650px) { .design-references{margin:5px 6px} .reference-tools{gap:4px} .reference-tools small{margin-left:0} .design-shelf button{flex-basis:100px} .design-shelf img{height:64px} }

.canvas-object.image { touch-action:none; }
.design-shelf button:active { cursor:grabbing; }

.reference-card { flex:0 0 150px; min-width:0; }
.reference-card button { width:100%; }
.reference-credit { display:flex; align-items:baseline; gap:3px; font:10px/1.4 Monument,Arial,sans-serif; color:#55564e; }
.reference-credit a { color:inherit; white-space:nowrap; }
.reference-credit a:first-child { overflow:hidden; text-overflow:ellipsis; }
.reference-credit a:last-child { flex:none; }
.reference-tools input { padding:4px 7px; min-width:95px; max-width:160px; border:1px solid #cccac4; border-radius:5px; }
.reference-pages { margin-left:auto; display:flex; align-items:center; gap:4px; font-size:11px; }
.reference-pages button:disabled { opacity:.35; }
@media(max-width:650px) { .reference-card{flex-basis:112px} .reference-tools input{width:120px} }

.file-drop-hint{position:absolute;top:52%;left:50%;transform:translate(-50%,-50%);pointer-events:none;color:#62635d;font:13px Monument,Arial,sans-serif;white-space:nowrap}
.artboard.has-items .file-drop-hint{display:none}
.artboard.file-drop-active{outline:2px solid #656952;outline-offset:-2px}
.artboard.file-drop-active .file-drop-hint{display:block;z-index:4;background:#fffefa;border-radius:6px;padding:7px 12px}
[aria-busy="true"]{cursor:progress}

#generateStoryboard {
  position: fixed;
  z-index: 8;
  top: calc(47% - 64px);
  right: calc(var(--crew-width) + 3px);
  min-height: 54px;
  padding: 10px 18px;
  border: 1px solid #252622;
  border-radius: 11px;
  background: #252622;
  color: #fffefa;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 3px 12px #17191223;
}
#generateStoryboard:hover { background: #41433c; }
#crewGuide {
  padding: 7px 6px;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: .24em;
  font-size: 12px;
}
@media (max-width: 720px) {
  #generateStoryboard { max-width: 128px; padding: 8px 12px; font-size: 14px; }
}

.picture-window:has(.frame-progress) { position: relative; }
.frame-progress {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 8px;
  background: #f8f6ecde;
  color: #39382f;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.frame-twinkle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, #ead5a2 0%, transparent 72%);
}
.frame-twinkle svg {
  width: 32px;
  height: 32px;
  fill: #80612d;
  animation: storyboard-twinkle 1.6s ease-in-out infinite;
}
@keyframes storyboard-twinkle {
  0%, 100% { transform: scale(.7) rotate(-12deg); opacity: .55; }
  50% { transform: scale(1.07) rotate(12deg); opacity: 1; }
}
@media(prefers-reduced-motion: reduce) {
  .frame-twinkle svg { animation: none; }
}

.shot-paper header .remove-frame{flex:none;border:0;background:transparent;padding:0 4px;color:inherit;font-size:1.2rem;line-height:1}.shot-paper header .remove-frame:disabled{opacity:.3;cursor:default}
