/* Screening room. Physical depth belongs to media and pages, not every control. */
@media screen{
:root{--bg:#101112;--panel:#191a1c;--line:#ffffff20;--amber:#c6b38e;--muted:#a4a4a2}
body,main{background:#101112;color:#eeece6}main{background:radial-gradient(ellipse at 80% 0,#33302a22,transparent 55%),#101112}
aside{background:linear-gradient(90deg,#101010f5,#1b1a18f7),url('/app/static/studio-walnut.png');border-right:1px solid #ffffff12;box-shadow:none}
.brand{background:none;border:0;outline:0;box-shadow:none;color:#d6c5a4;font:18px/1.45 Georgia,serif;letter-spacing:3px;text-align:left;text-shadow:none;padding:14px 0}
header{background:#101112ed;border-color:#ffffff14}nav button{background:transparent;color:#aaa9a3;border:0;box-shadow:none;border-radius:3px}nav button.selected{background:#ffffff09;color:#f0e5cb;box-shadow:inset 2px 0 #c6b38e}
button,.button{border:1px solid #ffffff26;background:linear-gradient(#292a2b,#202123);color:#e8e6e0;border-radius:4px;box-shadow:inset 0 1px #ffffff08;transition:background .18s,transform .18s}
button:hover,.button:hover{background:#343536;border-color:#ffffff50}button:active:not(:disabled){transform:translateY(1px)}.primary{background:#d0bd98;color:#22201b;border-color:#d0bd98;box-shadow:none}.primary:hover{background:#e4d3b2;color:#181815}
input,textarea,select{background:#131416;border-color:#ffffff28;color:#e7e5de}#content{max-width:1600px;margin:auto;padding:32px 40px 64px}
.production-hero{min-height:520px;padding:48px;border:1px solid #ffffff20;border-radius:3px;outline:0;box-shadow:0 24px 60px #0007;background:#202224}.production-hero h1{font:400 clamp(48px,7vw,104px)/.98 Georgia,serif;letter-spacing:-.055em;max-width:12ch;color:#faf6eb}.production-hero:after{background:linear-gradient(90deg,#080a0cbb,transparent 85%),linear-gradient(0deg,#08090deb,transparent 85%)}.project-cover{background:radial-gradient(ellipse at 65% 30%,#62605a,#22282a 45%,#121519)}.project-cover img{opacity:1}.studio-promise{color:#d5d3cc;max-width:36ch}.production-slate{border-color:#ffffff25}.production-slate strong{color:#dfd7c8}
.eyebrow{color:#c7b89d;letter-spacing:.16em}.department-strip{margin:0 0 32px;border-bottom:1px solid #ffffff20;gap:0}.department-strip button{border:0;border-radius:0;background:none;box-shadow:none;padding:22px 16px}.department-strip button:hover{background:#ffffff05}.department-strip small{color:#959590}
#film-contact-sheet{padding:0;margin:32px 0;gap:14px}.contact-frame{background:#0b0c0e;border:0;border-radius:2px;box-shadow:0 12px 25px #0006;overflow:hidden}.contact-frame:hover{background:#202124;border:0}.contact-frame img{aspect-ratio:16/10;object-fit:cover}.contact-frame span{background:#1b1d1f;color:#c7c4bc;padding:14px;font:11px/1.5 -apple-system,sans-serif}
.crew-promise{display:none}.desk-next{background:none;border:0;border-bottom:1px solid #ffffff1d;outline:0;border-radius:0;box-shadow:none;padding:30px 0;margin:0}.desk-next h2{font:30px Georgia,serif;color:#eee9df}.desk-metrics{border:0;margin:18px 0 36px}.desk-metrics button{background:none;box-shadow:none;border-color:#ffffff18}.desk-metrics strong{font-size:26px;color:#c7b89d}.desk-metrics span{color:#a9aaa6}
.studio-drawer{border-top:1px solid #ffffff26}.studio-drawer>summary{list-style:none;display:flex;align-items:center;gap:24px;padding:26px 0;cursor:pointer}.studio-drawer>summary::-webkit-details-marker{display:none}.studio-drawer>summary>span{font:26px Georgia,serif;color:#e5dfd3}.studio-drawer>summary>small{color:#999b97;margin-left:auto}.studio-drawer>summary:after{content:'+';font:26px sans-serif;color:#c6b38e}.studio-drawer[open]>summary:after{content:'−'}.studio-drawer[open]{padding-bottom:26px}
.act-card{display:block;background:transparent;border:0;border-top:1px solid #ffffff22;border-radius:0;box-shadow:none;text-align:left;padding:24px 8px}.act-card:before{display:none}.act-card:hover{background:#ffffff05}.act-card h3{font:24px Georgia,serif;color:#e0d8c9}.act-card p{color:#a7aaa6}.act-card .act-number{position:static;color:#a6926e}.desk-inbox{background:none;border-color:#ffffff22;box-shadow:none;outline:0}.desk-inbox h2{color:#e5dfd3}
#production-office,#editorial-desk{background:#17191a;border:1px solid #ffffff16;border-radius:3px;padding:28px;margin:0;box-shadow:0 12px 25px #0003}#production-office>h2,#editorial-desk>h2{font:28px Georgia,serif;color:#e7dfd0}#production-office p,#editorial-desk p{color:#afb2ab;line-height:1.65;max-width:75ch}
#office-form summary{cursor:pointer;padding:15px 0;color:#d5c09b}#office-form form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;background:#ece8dc;color:#302d28;border:0;border-radius:1px;padding:28px;box-shadow:2px 3px #a9a598,0 14px 28px #0004;margin-bottom:28px}#office-form label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#48473f}#office-form input,#office-form textarea{width:100%;box-sizing:border-box;background:#f9f7ef;color:#262620;border:1px solid #c5c2b4;border-radius:2px;padding:12px}#office-form label:has(textarea){grid-column:1/-1}#office-form textarea{min-height:90px;resize:vertical}#office-form button{justify-self:start}#office-sheets .card{background:#202325;border-color:#ffffff20;padding:22px}#office-sheets a{display:block;color:#d4be98;margin:14px 0}#office-sheets button{margin:6px 8px 0 0}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #ddc79c;outline-offset:4px}
@media(max-width:800px){#content{padding:18px 16px 40px}.production-hero{min-height:420px;padding:26px}.production-hero h1{font-size:58px}.department-strip{display:grid;grid-template-columns:1fr 1fr}.studio-drawer>summary{gap:12px;flex-wrap:wrap}.studio-drawer>summary>small{order:3;width:100%;margin:0}.studio-drawer>summary:after{margin-left:auto}#office-form form{grid-template-columns:1fr;padding:18px}#production-office,#editorial-desk{padding:20px}.contact-frame{max-width:none;min-width:0}}
@media(prefers-reduced-motion:reduce){button,.button{transition:none}button:active:not(:disabled){transform:none}}
}
/* Working reference board. The photographs remain real project assets. */
@media screen{
#film-contact-sheet:not(:empty){background:linear-gradient(#392a1538,#25180840),url('/app/static/studio-cork.png') center/460px;border:10px solid #352820;border-radius:5px;box-shadow:inset 0 3px 15px #000b,0 2px 0 #98704a,0 20px 36px #0005;padding:28px 24px;gap:24px}
#film-contact-sheet .contact-frame{position:relative;overflow:visible;padding:9px 9px 0;background:#e9e4d7;box-shadow:2px 8px 10px #21160988;transform:rotate(-1deg);transition:transform .2s,box-shadow .2s}
#film-contact-sheet .contact-frame:nth-child(even){transform:rotate(1deg)}
#film-contact-sheet .contact-frame:before{content:'';position:absolute;z-index:1;top:-15px;left:calc(50% - 27px);width:54px;height:26px;background:linear-gradient(115deg,#d8cbaa99,#eee1c4ca,#c9bea0aa);box-shadow:0 1px 3px #0002;transform:rotate(-5deg);pointer-events:none;clip-path:polygon(2% 0,97% 4%,100% 91%,94% 100%,3% 96%,0 20%)}
#film-contact-sheet .contact-frame img{display:block;border:1px solid #8a8372}
#film-contact-sheet .contact-frame span{background:transparent;color:#39352e;font:12px/1.5 'Courier New',monospace;padding:13px 4px}
#film-contact-sheet .contact-frame:hover,#film-contact-sheet .contact-frame:focus-visible{transform:translateY(-5px) rotate(0);box-shadow:4px 13px 18px #211609aa;z-index:2}
#office-form form{position:relative;border-top:16px solid #ddd6c4;padding-top:34px;background:repeating-linear-gradient(0deg,#ffffff06 0 2px,#b0a58006 2px 3px),#ece8dc}
#office-form form:before,#office-form form:after{content:'';position:absolute;top:1px;width:14px;height:14px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#fff0b6,#c7a65f 40%,#6c4b24 82%);box-shadow:1px 2px 3px #0006,inset 0 0 0 1px #9d7b40;pointer-events:none}#office-form form:before{left:22px}#office-form form:after{right:22px}
@media(max-width:800px){#film-contact-sheet:not(:empty){padding:23px 14px;border-width:7px;gap:20px}}
@media(prefers-reduced-motion:reduce){#film-contact-sheet .contact-frame{transition:none}#film-contact-sheet .contact-frame:hover{transform:none}}
}
/* The working production board, with readable department-colored stock. */
@media screen{
.production-board{padding:32px;gap:24px;background:linear-gradient(#34241335,#34241335),url('/app/static/studio-cork.png') center/460px;border:12px solid #36281f;border-radius:5px;box-shadow:inset 0 3px 12px #0009,0 2px 0 #8d6a49,0 20px 40px #0005;align-items:start;min-height:180px}
.production-board:empty:before{content:'Your production board is ready. Add a card or populate it from the breakdown.';display:block;background:#eee6cf;color:#473e31;padding:24px;font:16px/1.6 Georgia,serif;box-shadow:2px 4px 8px #0005;max-width:36ch}
.production-board .production-card{position:relative;background:#eee8d8;color:#302e28;border:0;border-top:22px solid #e0d6bc;border-radius:1px;padding:20px;box-shadow:2px 5px 9px #24170c80;min-width:0;transition:box-shadow .18s,transform .18s}
.production-board .production-card:before{content:'';position:absolute;top:-16px;left:calc(50% - 5px);width:10px;height:10px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff0bb,#c09c4f 45%,#73502b);box-shadow:1px 2px 3px #0007;pointer-events:none}
.production-board .production-card[data-kind='schedule']{border-top-color:#c6d5d0;background:#e4ece6}.production-board .production-card[data-kind='budget']{border-top-color:#d0c2a4;background:#efe6cf}.production-board .production-card[data-kind='task']{border-top-color:#decc89;background:#f5ebbc}.production-board .production-card[data-kind='shot']{border-top-color:#aabec7;background:#e2e8e7}
.production-board .production-card p{color:#444238;line-height:1.6}.production-board .production-card small{display:block;color:#5a5346;line-height:1.6;font:11px/1.6 monospace}.production-board .production-card .card-open{background:none;border:0;box-shadow:none;color:#272a26;font:24px/1.15 Georgia,serif;padding:0 0 15px;text-align:left}.production-board .production-card button:not(.card-open){background:#ffffff60;color:#3a3b32;border:1px solid #81796370;margin-top:12px;font-size:11px}.production-board .production-card.stale{outline:3px solid #ae592c;outline-offset:3px}.production-board .production-card:focus-within{box-shadow:4px 9px 15px #24170c99;transform:translateY(-2px)}
.writing-surface{background:linear-gradient(90deg,#101213,#202321 45%,#101213);border:1px solid #ffffff12;border-radius:3px;padding-top:24px}.visual-paper,.screenplay-paper{background:#f8f5ea;box-shadow:0 18px 36px #0008,2px 2px #cdc6b5,4px 4px #aaa28e;border-radius:1px}.scene-nav{background:#191b1a;border:1px solid #ffffff18}.editor-tools{background:#1b1d1cf5;border-color:#ffffff20}
@media(max-width:700px){.production-board{padding:20px 14px;gap:20px;border-width:7px;grid-template-columns:1fr}.production-board .production-card{padding:18px}.writing-surface{padding-top:8px}.production-board .production-card .card-open{font-size:22px}}
@media(prefers-reduced-motion:reduce){.production-board .production-card{transition:none}.production-board .production-card:focus-within{transform:none}}
}
/* Control hardware: responsive travel without moving surrounding layout. */
@media screen{
button:not(.card-open):not(:disabled),.button{position:relative;transition:transform 140ms ease,box-shadow 140ms ease,background 140ms ease,border-color 140ms ease;box-shadow:inset 0 1px 0 #ffffff18,0 2px 0 #080909,0 3px 5px #0003;touch-action:manipulation}
@media(hover:hover){button:not(.card-open):not(:disabled):hover,.button:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 #ffffff28,0 3px 0 #080909,0 6px 10px #0004}}
button:not(.card-open):not(:disabled):active,.button:active{transform:translateY(2px);box-shadow:inset 0 2px 4px #0005,0 0 0 #0000;transition-duration:60ms}
button:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:inset 0 1px 3px #0003}
button:focus-visible,.button:focus-visible{outline:3px solid #eac785;outline-offset:4px}
button[aria-pressed='true'],button[aria-selected='true']{box-shadow:inset 0 2px 4px #0005;border-color:#c5aa76;background:#363125;color:#f3e3bd}
.production-board .production-card button:not(.card-open){border-radius:4px;background:linear-gradient(#fffdf5,#ded8c9);border-color:#aaa08a;box-shadow:inset 0 1px #fff,0 2px 0 #a19781,0 3px 4px #30271930;padding:9px 12px;margin-right:7px;min-height:36px}
.production-board .production-card button:not(.card-open):hover{background:linear-gradient(#fffef9,#e9dfca);box-shadow:inset 0 1px #fff,0 3px 0 #a19781,0 5px 7px #30271940}
.production-board .production-card button:not(.card-open):active{box-shadow:inset 0 2px 4px #78674750;transform:translateY(2px)}
.production-board .production-card .card-open:hover{color:#78541d;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}.production-board .production-card .card-open:active{transform:translateY(1px)}
nav button,.department-strip button,.desk-metrics button{box-shadow:none!important}nav button:active,.department-strip button:active,.desk-metrics button:active{background:#ffffff12}
@media(prefers-reduced-motion:reduce){button:not(.card-open):not(:disabled),.button{transition:none}button:not(.card-open):not(:disabled):hover,button:not(.card-open):not(:disabled):active,.button:hover,.button:active{transform:none}.production-board .production-card .card-open:active{transform:none}}
}
