/* Shared studio finish. The warm paper surfaces keep controls readable beside dark footage. */
:root {
  --bg:#f5f3ed; --panel:#fffefb; --panel2:#f1f0e9; --line:#d9d9ce;
  --text:#1e2c29; --mute:#56615b; --ink:#172c29; --ink2:#29443e;
  --shadow:0 2px 5px -4px #26372d33;
}
html { scrollbar-color:#a4aba2 var(--bg) }
button, input, select, textarea { font-variant-numeric:tabular-nums }
input, textarea { caret-color:#28735d }
textarea::placeholder,input::placeholder { color:#656e68; font-style:normal }
input[type=file]::file-selector-button { background:var(--panel2); border:1px solid var(--line); color:var(--text); border-radius:5px; padding:5px 10px; margin-right:9px }
#view:not(.public-page) { padding-top:clamp(22px,3vw,44px) }
.rail { background:#192925; padding-inline:16px; border-right:1px solid #34423c }
.rail .logo { padding:9px 8px 27px }
.rail h4 { color:#bbcac1; padding-inline:9px; margin-bottom:8px }
.rail button.nv.on { background:#30473e; box-shadow:inset 3px 0 #ffc491; border-radius:4px 8px 8px 4px }
.rail .foot { border-color:#3a4c44 }
.rail button.new { background:#f3cdab; border-color:#f3cdab; color:#292922; font-weight:650 }
.rail button.new:hover { background:#ffdfc3; color:#242c26 }
.rail .new::before { color:inherit }
.card, .modal .box { border-radius:12px }
.card { box-shadow:var(--shadow) }
.card .card { box-shadow:none }
.card>h2,.song-card>h2 { font-size:21px; letter-spacing:-.025em }
#view>h1,.episode-head h1,.library-head h1,#newSeries>h2 {
  font-family:var(--editorial); font-weight:400; letter-spacing:-.038em; line-height:1.06
}
#view>h1 { font-size:clamp(38px,4vw,58px); margin-bottom:10px }
#view>h1+.mute { margin-bottom:24px }
.library-head { min-height:158px; padding:clamp(23px,3vw,44px); color:#fffaf2;
  background:#182b27 linear-gradient(92deg,#152925 0%,#172c28f5 33%,#1428236b 78%,#17262288);
  background-image:linear-gradient(92deg,#142a25 0%,#172c28f0 32%,#172c2866 75%,#1b292099),url('/showcase/mountain-panorama.jpg');
  background-size:cover; background-position:center 49%; border-radius:12px }
.library-head h1 { font-size:clamp(38px,4vw,60px) }
.library-head .mute { color:#eeeae0 }
.library-head .btn.ghost { background:#192723dc }
.scard .meta { padding:15px 16px 18px }
.scard:focus-visible,.film-styles button:focus-visible { outline-offset:4px }
#newSeries { max-width:none!important; padding:clamp(16px,2.5vw,34px) }
#newSeries>h2 { font-size:clamp(30px,3vw,44px) }
.format-picker { gap:7px; padding-bottom:16px; border-bottom:1px solid var(--line) }
.format-picker label { padding:9px 12px; font-weight:600 }
.brief-production section { background:#faf9f4; border-color:#dddfd5; border-radius:9px }
.brief-production h3 { color:var(--text); font-size:17px }
.brief-role,fieldset,.brief-production section { min-width:0 }
.brief-est,.review-budget { background:#1d312c; border:1px solid #334a42 }
.preview-first.on { animation:none; background:#3b4234; border-color:#edbe8d }
.review-budget .amount,.brief-est .amount,.big { font-variant-numeric:tabular-nums; letter-spacing:-.035em }
.qlevel .qcost { margin-top:7px }
.episode-head { background:#ebece3; border:1px solid #d5dbcf; padding:clamp(19px,2.5vw,34px) }
.reels { padding-block:4px 10px }
.reel.on { background:#243e35; color:white }
#pbody,.card,.char,.row,.reels,.grid>* { min-width:0 }
.card p,.modal p { overflow-wrap:anywhere }
.tbl { scrollbar-color:#aeb5aa transparent }
.tbl th { background:#f1f2eb; color:#46554b; font-weight:650 }
.tbl td { border-bottom-color:#e7e8df }
.tbl tbody tr:hover td { background:#f8f8f1 }
details>summary { text-underline-offset:4px }
details>summary:hover { text-decoration:underline }
.modal .box { box-shadow:0 24px 80px #15211c4d }
.modal .box h2 { font:400 30px/1.14 var(--editorial); letter-spacing:-.025em }
.media,.share-pick video,.timeline-layout video { background:#141c19 }
.btn:focus-visible,summary:focus-visible,.reel:focus-visible { outline:3px solid #297256; outline-offset:2px }
.rail :focus-visible,.review-budget .btn:focus-visible,.brief-est .btn:focus-visible { outline-color:#ffca96 }

/* Public screening room and account entry */
.public-hero h1 { font:400 clamp(60px,7.3vw,96px)/.93 var(--editorial); letter-spacing:-.04em }
.public-hero p { max-width:40ch; line-height:1.55 }
.public-hero::before { background:linear-gradient(90deg,#101a17dd,transparent 79%),linear-gradient(0deg,#111916bd,transparent 64%) }
.public-film h2 { font:400 clamp(29px,3.1vw,46px)/1.15 var(--editorial); letter-spacing:-.035em }
.film-thumb img { transition:transform .38s ease-out }
@media(hover:hover) and (prefers-reduced-motion:no-preference) { .film-styles button:hover img { transform:scale(1.035) } }
.public-auth { position:relative; isolation:isolate; display:grid; align-content:center; justify-items:center;
  width:100%; max-width:1160px; min-height:clamp(460px,66vh,680px); margin:18px auto 42px;
  background:#202924; border:1px solid #3e463f; border-radius:14px; padding:38px 3% 38px 49%; overflow:hidden }
.public-auth::before { content:""; position:absolute; z-index:-1; inset:0 55% 0 0;
  background:#34413a url('/showcase/mountain-panorama.jpg') 60% center/cover }
.public-auth h1 { max-width:15ch; font:400 clamp(34px,3.6vw,53px)/1.06 var(--editorial); letter-spacing:-.035em }
#signinBox { width:100%; min-width:0; max-width:420px }
#signinBox>* { max-width:100% }
@media(max-width:900px) { .rail { padding-inline:13px } }
@media(max-width:700px) {
  #view:not(.public-page) { padding-top:64px }
  .library-head { min-height:126px; padding:21px 18px; gap:12px }
  .public-hero h1 { font-size:clamp(52px,12vw,74px) }
  .public-auth { min-height:390px; padding:124px 14px 30px; margin:6px auto 24px }
  .public-auth::before { inset:0 0 auto; height:100px; background-position:center 42% }
  .public-auth h1 { font-size:34px }
  .card { padding:16px; border-radius:10px }
  .modal .box { padding:16px }
  #view .row>* { max-width:100% }
  #view input,#view select { max-width:100% }
  #view .row { row-gap:8px }
}

/* Production and account surfaces share the same field and table rhythms. */
.admin-fold>summary { font-size:16px; font-weight:650; padding-block:3px }
.admin-fold[open]>summary { padding-bottom:14px; margin-bottom:12px; border-bottom:1px solid var(--line) }
.presets .preset { padding:13px 14px; text-align:left; align-content:start; border-radius:8px }
.presets .preset span { color:var(--mute); line-height:1.45 }
.presets .preset.on,.qopt:has(input:checked) { background:#edf3ed; border-color:#567969; box-shadow:inset 0 -2px #456751 }
.keyrow+.keyrow { border-top:1px solid var(--line) }
.card:has(>.big)>.big { color:#265540; margin:8px 0 12px; font-size:clamp(38px,4.4vw,60px) }
.review-frames .review-frame { border:0; border-left:3px solid #b6c7b8; border-radius:0; background:#f5f5ee }
.timeline-list { scrollbar-color:#9aa99b transparent }
.timeline-row.selected { border-color:#63836e; background:#eef4eb }
.story-check { background:#f2f4ed; border-color:#c6d4c6 }
.share-tile.on { border-color:#386446; box-shadow:inset 0 0 0 1px #386446 }
@media(min-width:701px) and (max-width:900px) { #view:not(.public-page) { padding-top:66px } }
