@font-face{font-family:Bricolage;src:url(/assets/bricolage-latin-ext.woff2) format("woff2");font-weight:400 800;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Bricolage;src:url(/assets/bricolage-latin.woff2) format("woff2");font-weight:400 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{color-scheme:light;--paper:#fff;--surface:#fff;--ink:#182d28;--muted:#53635c;--pine:#165540;--deep:#103f31;--pale:#e5ede3;--clay:#a64a2f;--edge:#d5d9ce;--heading:Bricolage,"DM Sans","Segoe UI",sans-serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-height:100svh;background:#f5f5f5 url("/assets/gwpnw-las.svg") repeat-x center bottom / auto clamp(110px,16vw,210px);color:var(--ink);font:16px/1.5 "DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif}
h1,h2,h3,p,figure{margin:0}h1,h2,h3,.brand{font-family:var(--heading)}
h1,h2,h3{line-height:1.09;text-wrap:balance}
h1{font-size:clamp(2.65rem,6.5vw,5.35rem);font-weight:650;letter-spacing:-.032em}
h2{font-size:clamp(1.55rem,3vw,2.05rem);letter-spacing:-.025em;font-weight:650}
h3{font-weight:650;letter-spacing:-.035em;font-size:1.23rem}
a{color:inherit}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}
button{color:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.65}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.file-label:focus-within{outline:3px solid #b66a35;outline-offset:3px}
button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}
::selection{background:#d1dfad;color:var(--deep)}
.skip{position:fixed;z-index:20;left:12px;top:12px;padding:8px;background:white;transform:translateY(-180%)}.skip:focus{transform:none}
.brand{display:inline-flex;align-items:center;gap:.65em;text-decoration:none;font-size:1.42rem;font-weight:740;letter-spacing:-.035em}
.brand-icon{display:block;flex:none;width:42px;height:42px}
.masthead{border-bottom:1px solid var(--edge);background:var(--surface)}.mast-inner,.canvas{width:min(calc(100% - 72px),1140px);margin:auto}
.mast-inner{height:76px;display:flex;align-items:center;gap:clamp(24px,5vw,64px)}
.main-nav{display:flex;height:100%;gap:26px}.main-nav a{display:grid;align-content:center;text-decoration:none;color:var(--muted);position:relative;font-size:.94rem;font-weight:600}.main-nav a[aria-current]{color:var(--pine)}
.main-nav a[aria-current]::after{content:"";position:absolute;inset:auto 0 -1px;height:3px;background:var(--pine);border-radius:3px 3px 0 0}
.identity{margin-left:auto;display:flex;align-items:center;gap:16px;font-size:.88rem}.identity span{font-weight:650}.logout,.text-link,.back{color:var(--pine);font-weight:650;text-underline-offset:4px;background:none;border:0;padding:4px 0}
.logout{color:var(--muted);font-size:.85rem}.text-link{text-decoration:underline;text-decoration-color:#9faf9c}.text-link span{margin-left:4px}.back{display:inline-block;margin-bottom:22px;font-size:.9rem;text-decoration:none}
.logout:hover,.back:hover,.text-link:hover{text-decoration:underline;color:var(--deep)}
.canvas{min-height:75vh;padding-bottom:65px;outline:none}.page{padding-top:clamp(33px,6vw,72px)}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:36px}
.eyebrow,.card-meta{font-weight:720;letter-spacing:.11em;text-transform:uppercase;font-size:.69rem;line-height:1.35}
.eyebrow{display:flex;align-items:center;gap:9px;color:var(--pine);margin-bottom:11px}.signal-dot{height:8px;width:8px;border-radius:50%;background:var(--clay)}
.type-dot{color:var(--clay)}.intro,.helper,.notes-list .muted,.take p,.recording p,.card-detail p:not(.card-meta){color:var(--muted)}
.intro{margin-top:12px;font-size:1.03rem}.intro.small{margin-top:7px}
.btn,.file-label{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 17px;border:1px solid transparent;border-radius:7px;text-decoration:none;font-size:.9rem;font-weight:650;line-height:1.3;text-align:center}
.btn b{font-size:1.1rem;line-height:0;font-weight:500}.primary{color:#fff;background:var(--pine)}.primary:hover{background:var(--deep)}.outline,.file-label{border-color:#bcc8ba;color:var(--deep);background:transparent}.outline:hover,.file-label:hover{background:#e9eee4}.wide{width:100%}.compact{padding:8px 13px;min-height:38px}
.materials-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.material-card{display:block;text-decoration:none;background:var(--surface);border:1px solid var(--edge);border-radius:13px;overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease}
.material-card:hover{border-color:#8ea696;box-shadow:0 7px 18px #283e2f10}.card-image{position:relative;aspect-ratio:2.05;background:#d7dac8;overflow:hidden}.card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .24s ease}.material-card:hover img{transform:scale(1.025)}.market img{object-position:50% 45%}.valley img{object-position:50% 45%}
.card-mode{display:inline-flex;align-items:center;gap:6px;position:absolute;top:15px;left:15px;border:1px solid #ffffff50;background:#192c24ce;color:#fff;font-size:.72rem;line-height:1.35;font-weight:600;padding:5px 9px;border-radius:5px}
.play-glyph{width:0;height:0;border-left:7px solid currentColor;border-top:4px solid transparent;border-bottom:4px solid transparent}.lines-glyph{width:10px;height:8px;background:repeating-linear-gradient(currentColor 0 1px,transparent 1px 3px)}
.card-detail{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 23px 23px}.card-meta{color:var(--clay);margin:0 0 9px}.card-meta span{margin:0 .32em}.card-detail h2{font-size:clamp(1.4rem,2.55vw,2rem)}.card-detail p:not(.card-meta){font-size:.91rem;line-height:1.45;margin-top:7px}
.open-arrow{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--edge);font-size:1.1rem;flex:none}.material-card:hover .open-arrow{background:var(--pale)}
.notes-section{margin-top:clamp(30px,5.25vw,62px)}.section-bar,.story-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}.section-bar.top{margin:0}
.notes-list,.notes-section>h2+div{margin-top:15px}
.empty-state{border:1px dashed #c9d2c6;background:#f2f4eb;border-radius:9px;padding:24px;color:var(--muted);font-size:.93rem}
.empty-state strong{font-family:var(--heading);font-size:1.02rem;color:var(--ink);display:block;margin-bottom:3px}
.note{padding:18px 1px;border-top:1px solid var(--edge);overflow-wrap:anywhere}.note:last-child{border-bottom:1px solid var(--edge)}.note-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.note-head time,.note-material,.helper,small,.file-label+audio{font-size:.86rem}.note-head time,.note-material,.helper,small{color:var(--muted)}.category{display:inline-block;background:var(--pale);color:var(--deep);font-size:.71rem;font-weight:700;border-radius:4px;padding:2px 7px}.category.blad{color:#81351d;background:#f4dfcf}.category.pomysl{color:#63522a;background:#ece7cc}
.note-body{margin:8px 0 4px;white-space:pre-wrap}.note-material{display:flex;align-items:center;gap:12px}.note-material a{text-underline-offset:3px}.time-link{background:#e0e8da;border-radius:4px;color:var(--pine);padding:2px 6px;text-decoration:none;font-variant-numeric:tabular-nums;font-weight:700}
.filter-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.filter-row select{width:auto}.filter-row label{margin:0}.filter-row .text-link{margin-left:auto}
.detail-heading h1{font-size:clamp(2.3rem,5vw,4.3rem)}.detail-heading{margin-bottom:26px}
.reel-workspace{display:grid;grid-template-columns:minmax(215px,345px) minmax(0,1fr);gap:clamp(30px,7vw,92px);align-items:start;max-width:960px}
.video-col{display:grid;gap:12px}video{display:block;max-height:67svh;min-height:180px;aspect-ratio:9/16;width:100%;object-fit:contain;background:#13251e;border-radius:10px}
.reel-side{padding-top:8px}.take{display:grid;grid-template-columns:33px minmax(0,1fr);gap:12px;border-top:1px solid var(--edge);padding:20px 0}.take:first-of-type{margin-top:14px}
.take-id{width:32px;height:32px;display:grid;place-items:center;border-radius:6px;background:var(--pale);color:var(--pine);font-weight:750}.take-id.variant{background:#f1dfcf;color:var(--clay)}.take p,.recording p{font-size:.91rem;margin:5px 0 10px}.take audio,.recording audio,.record-row audio{width:100%;height:39px;display:block}
.story-head{margin:24px 0 12px}.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.story-block{border:1px solid var(--edge);border-radius:10px;background:var(--surface);overflow:hidden}.story-images{display:flex;gap:2px;height:145px;background:#d9dbc9}.story-images figure{min-width:0;flex:1;position:relative;overflow:hidden}.story-images img{width:100%;height:100%;object-fit:cover;object-position:50% 42%}.story-images figcaption{position:absolute;left:5px;bottom:5px;max-width:95%;color:white;font-size:.64rem;font-weight:650;background:#14241ed9;border-radius:3px;padding:2px 4px}
.scene-edit{padding:14px}.scene-edit label{margin:0 0 7px}.scene-edit textarea{width:100%;min-height:9em;font-size:.94rem}.draft-actions{margin:17px 0 8px;display:flex;gap:10px;flex-wrap:wrap}.helper{margin-top:6px}.recording{margin:30px 0;display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:24px;border:1px solid var(--edge);border-radius:10px;background:#eaf0e4;padding:22px}.recording p{margin-bottom:0}.record-controls{display:grid;gap:9px;justify-items:start;min-width:0}.record-controls small{max-width:100%;overflow-wrap:anywhere}.file-label{position:relative;overflow:hidden;cursor:pointer;min-height:40px;background:var(--surface)}.file-label input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.record-row{border-top:1px solid var(--edge);padding:15px 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:15px}.record-row strong,.record-row small{display:block;overflow-wrap:anywhere}.record-row strong{font-size:.93rem}.record-row button{font-size:.82rem}
label{display:block;font-weight:600;font-size:.9rem;margin:0 0 6px}input:not([type=checkbox]):not([type=file]),select,textarea{border:1px solid #aebcaf;background:var(--surface);color:var(--ink);border-radius:6px;padding:10px 11px;width:100%;min-height:43px}
textarea{resize:vertical;line-height:1.45}select{font-size:.92rem}.checkbox{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:.86rem}.checkbox input{accent-color:var(--pine);width:16px;height:16px}.form-status{min-height:1.2em;color:var(--clay);font-size:.88rem;margin-top:6px}
.global-error{background:#e8ede0;border:1px solid #c5d0bc;color:var(--deep);border-radius:6px;padding:10px 14px;margin-top:12px;font-size:.92rem}
dialog{border:1px solid var(--edge);background:var(--surface);color:var(--ink);border-radius:13px;width:min(calc(100% - 28px),500px);padding:clamp(18px,4vw,28px);max-height:90svh;overflow:auto;box-shadow:0 20px 80px #142a2233}
dialog::backdrop{background:#11271ed0}dialog .eyebrow{margin-bottom:5px}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:22px}.close-x{width:36px;height:36px;border:1px solid var(--edge);border-radius:50%;display:grid;place-content:center;font-size:1.4rem;background:transparent}.form-pair{display:grid;grid-template-columns:1.25fr 1fr;gap:12px;margin-bottom:15px}.dialog-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}#reader{width:min(calc(100% - 26px),670px)}#reader-text{font-family:var(--heading);font-size:clamp(1.5rem,4vw,2.1rem);line-height:1.35;letter-spacing:-.025em}#reader-text p+p{margin-top:.7em}
.login-page{min-height:100svh;display:grid;align-items:center}.login-layout{margin:35px auto;width:min(calc(100% - 54px),1000px);min-height:min(620px,82svh);display:grid;grid-template-columns:1.02fr 1fr;background:var(--surface);border:1px solid var(--edge);border-radius:15px;overflow:hidden}
.login-cover{display:grid;place-items:center;padding:clamp(28px,4vw,56px)}
.login-cover h1{width:min(100%,350px);line-height:0}
.cover-logo{display:block;width:100%;height:auto}
.login-panel{display:grid;align-items:center;padding:clamp(26px,4.8vw,62px)}.login-panel h2{text-align:center;margin-bottom:24px;font-size:clamp(2rem,4.3vw,3.35rem);letter-spacing:-.025em}.login-panel input{width:100%;min-height:47px}.login-panel label:not(:first-child){margin-top:15px}.password-wrap{position:relative}.password-wrap input{padding-right:63px!important}.reveal{position:absolute;right:5px;top:5px;height:calc(100% - 10px);padding:0 8px;background:transparent;border:0;color:var(--pine);font-size:.8rem;font-weight:650}.login-submit{width:100%;justify-content:space-between;margin:22px 0 0;min-height:46px}.login-submit span{font-size:1.2em}
@media(max-width:740px){.mast-inner,.canvas{width:calc(100% - 32px)}.mast-inner{height:66px;gap:22px}.main-nav{gap:13px}.identity{gap:10px}.materials-grid{gap:13px}.card-detail{padding:15px;align-items:flex-start}.open-arrow{display:none}.card-image{aspect-ratio:1.6}.story-grid{grid-template-columns:1fr}.story-block{display:grid;grid-template-columns:minmax(120px,32%) 1fr}.story-images{height:100%;min-height:150px}.scene-edit textarea{min-height:7.8em}.reel-workspace{gap:24px;grid-template-columns:minmax(155px,.8fr) minmax(0,1fr)}}
@media(max-width:560px){.mast-inner{flex-wrap:wrap;height:auto;min-height:82px;gap:0}.brand{font-size:1.23rem}.identity{order:1;min-height:46px}.main-nav{order:2;flex-basis:100%;height:36px;gap:20px}.main-nav a{font-size:.85rem}.page{padding-top:26px}.page-heading{gap:12px;align-items:flex-start;flex-direction:column;margin-bottom:21px}.page-heading>.btn{min-height:39px}.intro{font-size:.94rem}.materials-grid{grid-template-columns:1fr;gap:16px}.card-image{aspect-ratio:2.25}.card-detail{padding:15px 16px}.card-mode{left:10px;top:10px}.open-arrow{display:grid}.section-bar{align-items:center}.section-bar .text-link{font-size:.82rem}.reel-workspace{display:block}.video-col{max-width:340px;margin:0 auto}.video-col video{height:min(58svh,470px);width:100%}.reel-side{margin-top:26px}.back{margin-bottom:15px}.detail-heading h1{font-size:2.5rem}.recording{grid-template-columns:1fr;padding:16px;gap:12px}.record-row{grid-template-columns:1fr auto}.record-row audio{grid-column:1/-1;grid-row:2}.filter-row{gap:7px}.filter-row select{max-width:calc(100% - 70px)}.filter-row .text-link{margin-left:0}.story-block{display:block}.story-images{min-height:0;height:115px}.scene-edit textarea{min-height:6.5em}.login-layout{width:calc(100% - 26px);margin:16px auto;grid-template-columns:1fr;min-height:auto}.login-cover{padding:16px}.login-cover h1{width:146px}.brand-icon{width:34px;height:34px}.login-panel{padding:24px 22px}.login-panel h2{margin-bottom:18px}.form-pair{grid-template-columns:1fr}.dialog-head{margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.team-drafts{margin-top:16px;border-top:1px solid var(--edge);padding-top:14px}.team-drafts summary{cursor:pointer;font-weight:640;color:var(--pine);width:fit-content}.team-version{max-width:720px;padding:14px 0;border-bottom:1px solid var(--edge)}.team-version p{margin:8px 0;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.team-version h3{font-size:1.07rem}

#compare-pl .take{display:block}#compare-pl audio{max-width:100%}
#full-film{display:inline-block;margin-top:12px}
@media (max-width:700px) and (orientation:portrait) {
  #reel .reel-workspace { display:block; }
  #reel .video-col { width:100%; max-width:none; }
  #reel-video { width:100%; height:auto; max-height:none; aspect-ratio:9 / 16; }
  #reel .reel-side { margin-top:24px; }
}

.voice-recording{align-items:start}
.mic-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.mic-actions time{font-variant-numeric:tabular-nums;font-weight:700;color:var(--clay)}
.mic-dot{width:10px;height:10px;border-radius:50%;background:currentColor;flex:none}
[data-active=true] .mic-dot{border-radius:2px}
[data-active=true].primary{background:#833e32}
.voice-file{margin-top:2px;min-height:40px}
[data-mic-status]:empty{display:none}
.reader-recording{position:sticky;bottom:0;background:var(--surface);border-top:1px solid var(--edge);padding:12px 0 max(4px,env(safe-area-inset-bottom));margin-top:1rem}
.reader-recording .record-controls{gap:6px}
.draft-player{width:100%;max-width:430px;height:40px}
@media(max-width:560px){
  .voice-recording{display:flex;flex-direction:column}
  .voice-recording .record-controls{width:100%}
  .reader-recording small{font-size:.78rem}
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.project-form,.project-block{padding:clamp(16px,3vw,29px);border-radius:13px;border:1px solid var(--edge);background:var(--surface);min-width:0}
.project-form{max-width:740px;background:#eef2e9;margin-bottom:28px}
.project-form>label,.project-brief>label{display:block;margin:16px 0 5px;font-weight:650}
.project-form>input,.project-form>textarea,.project-block textarea{width:100%;max-width:100%;font:inherit;color:var(--ink);border:1px solid #b9c4b8;background:var(--surface);border-radius:7px;padding:10px 12px}
.project-form .optional{font-weight:400;color:var(--muted)}
.project-actions,.upload-pick{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px}
.upload-pick small{color:var(--muted)}
.file-selection,.project-assets{list-style:none;margin:0;padding:0}
.file-selection li{display:flex;align-items:center;gap:10px;padding:6px 0}
.file-selection li span,.project-list-item strong,.project-assets summary span,.shot-list strong{overflow-wrap:anywhere}
.file-selection li small{white-space:nowrap;color:var(--muted)}
.file-selection li button{margin-left:auto}
.project-list-section{max-width:820px;margin-bottom:28px}
.project-list-item{border-top:1px solid var(--edge);padding:13px 0;display:flex;align-items:center;justify-content:space-between;gap:14px;text-decoration:none;color:var(--ink)}
.project-list-item:last-child{border-bottom:1px solid var(--edge)}
.project-list-item strong,.project-list-item small{display:block}
.project-list-item:hover strong,.project-open{color:var(--pine)}
.project-block{margin:0 0 16px;max-width:820px}
.project-block .section-bar{margin:0 0 10px;align-items:baseline}
.project-block h3{margin:16px 0 6px;font-size:1.05rem}
.project-assets li+li{border-top:1px solid var(--edge)}
.project-assets summary{padding:9px 0;cursor:pointer;overflow-wrap:anywhere}
.project-assets summary small{margin-left:8px;color:var(--muted);white-space:nowrap}
.project-assets img,.project-assets video{display:block;max-width:100%;max-height:260px;margin:4px auto 12px;object-fit:contain;border-radius:6px}
.project-brief,.project-plan{border-top:1px solid var(--edge);margin-top:15px;padding:10px 0 0}
.project-brief summary,.project-plan summary{cursor:pointer;font-weight:650;color:var(--pine)}
.project-brief .btn{margin-top:8px}
.project-block small[role=status]{display:block;margin-top:6px}
#project-context-edit,#project-text{resize:vertical;line-height:1.48}
#project-status:empty,#project-analysis-state:empty,#project-preview-status:empty{display:none}
.project-sound{margin-top:10px}
.project-sound strong{display:block;margin-bottom:4px;font-size:.88rem}
.project-sound audio{display:block;width:100%;max-width:450px;height:38px}
.shot-list{padding-left:22px}.shot-list li{margin:9px 0}.shot-list p{margin:2px 0}
.script-proposal,#project-reader-text{white-space:pre-line}
#project-reader{width:min(calc(100% - 26px),670px)}
#project-reader-text{font-family:var(--heading);font-size:clamp(1.5rem,4vw,2.1rem);line-height:1.35;letter-spacing:-.025em}
@media(max-width:560px){
  .project-form input,.project-form textarea,.project-block textarea{font-size:16px}
  .project-assets summary small{display:block;margin:2px 0 0 16px}
  .project-actions{align-items:stretch}
  .project-form .section-bar{gap:6px}.project-form .section-bar h2{font-size:1.32rem}
  #project-reader .record-controls>.file-label{font-size:.82rem;min-height:32px}
}
.sound-text{margin:5px 0 13px;font-size:.9rem;color:var(--muted)}
.sound-text summary{cursor:pointer}
.record-row .text-link{overflow-wrap:anywhere}

.cue-session{margin:18px 0 8px;padding:clamp(12px,2.5vw,20px);border:1px solid var(--edge);border-radius:10px;background:#f3f5ed;min-width:0}
.cue-session .section-bar{margin-bottom:6px;display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}
.cue-session .section-bar h3{margin:0;font-size:1.25rem}
#cue-version-label{font-size:.84rem;color:var(--muted)}
#cue-version{font-size:.9rem;color:var(--ink);border:1px solid var(--edge);border-radius:5px;padding:4px;background:var(--surface)}
#cue-start{margin:10px 8px 8px 0}
#cue-progress,#reader-nav-status,#cue-status{margin:3px 0}
#cue-status:empty,#reader-nav-status:empty{display:none}
.cue-row{border-top:1px solid var(--edge)}
.cue-row summary{display:flex;align-items:baseline;gap:.55rem;cursor:pointer;padding:9px 1px;line-height:1.37}
.cue-row summary::before{content:"▸";color:var(--pine);flex:none}
.cue-row[open] summary::before{content:"▾"}
.cue-caption{flex:1;min-width:0;font-size:.94rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cue-index{font-weight:680;color:var(--pine);font-variant-numeric:tabular-nums}
.cue-done{color:var(--pine);font-size:.88rem}
.cue-row-body{margin:2px 0 14px;padding-left:1.15rem}
.cue-words{margin-bottom:8px;white-space:pre-line;overflow-wrap:anywhere}
.cue-dubs .project-sound{border-left:2px solid #bacbbb;padding-left:12px;margin:12px 0}
.cue-dubs .text-link{margin-top:4px}
.cue-dubs .helper{display:block;margin-top:4px;color:var(--pine)}
#cue-mix .project-sound{margin:6px 0 12px}
#cue-mix .text-link{display:inline-block;margin-top:6px}
.prompter-options,.reader-steps{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap}
.prompter-options{font-size:.89rem;color:var(--muted);margin:0 0 10px}
#reader-size[aria-pressed="true"]{text-decoration:underline}
#project-reader-text{max-height:40svh;overflow:auto;overflow-wrap:anywhere;line-height:1.4}
#project-reader-text.large-copy{font-size:clamp(2rem,6vw,2.65rem)}
.reader-shot{margin:10px 0;font-size:.88rem;color:var(--muted)}
.reader-shot summary{cursor:pointer}
.reader-steps{margin:12px 0 0}
.reader-steps button:disabled{cursor:default}
.mic-meter{display:grid;grid-template-columns:auto minmax(50px,1fr);align-items:center;gap:.25rem .7rem}
.mic-meter meter{width:100%;height:1rem}
.mic-meter small{grid-column:1/-1}
.mic-meter[hidden]{display:none}
@media(max-height:550px){#project-reader .reader-recording{position:static}#project-reader-text{max-height:50svh}}

.project-synthesis{margin:18px 0 0;padding:16px;border-radius:10px;background:#edf3e9;border:1px solid #bdcfba;scroll-margin-top:80px}
.project-synthesis h3{margin:0 0 8px;color:var(--pine)}
[data-speech-panel]{min-width:0}
.speech-controls{display:flex;gap:8px 12px;align-items:center;flex-wrap:wrap}
.speech-controls .text-link,.speech-variant{min-height:36px}
.speech-player{display:block;width:100%;max-width:460px;height:38px;margin:8px 0}
.speech-variant select{max-width:100%;margin:2px 0 7px}
.speech-note,.speech-error{display:block;font-size:.85rem;margin:6px 0;color:var(--muted)}
.speech-error{color:#85391f}
.reader-voice,.cue-voice{border-top:1px solid var(--edge);padding-top:9px;margin-top:12px}

.studio-entry-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
#quick-voice form{max-width:760px}
#quick-voice-count{margin:5px 0 16px}
#quick-voice-status:not(:empty){margin-top:12px}

#generator-script-choice label,.render-settings>label{display:block;font-weight:650;margin:14px 0 5px}
#generator-draft{width:100%;font:inherit;border:1px solid #b9c4b8;border-radius:7px;padding:10px 12px;background:var(--surface)}
#project-inputs,#project-reel{scroll-margin:15px}#project-inputs:focus,#project-reel:focus{outline:0}
#project-reel {max-width:940px}
.render-settings select,#reel-export-select {width:100%;max-width:34ch}
#reel-settings>summary {font:650 1.3rem/1.35 var(--heading);color:var(--ink);cursor:pointer}
#reel-settings[open]>summary {margin-bottom:10px}
#project-reel-result:not([hidden])+#reel-settings {margin-top:20px;padding-top:15px;border-top:1px solid var(--edge)}
#reel-audio-note:not(:empty),#project-reel-status:not(:empty) {display:block;margin-top:6px}
#project-reel-status:empty,#reel-language-status:empty {display:none}
.film-workspace {display:grid;grid-template-columns:minmax(210px,.78fr) minmax(260px,1fr);gap:clamp(20px,4vw,44px);align-items:start}
.film-preview {min-width:0}
#project-reel-result h2 {font-size:clamp(1.55rem,2.6vw,2rem);margin:0}
#project-reel-result-label {margin:4px 0 10px}
#project-reel-video {display:block;max-height:44svh;max-width:100%;width:auto;aspect-ratio:9/16;background:#17261e;border-radius:9px}
.film-controls {display:flex;flex-wrap:wrap;align-items:end;gap:6px 14px;margin-top:8px}
.film-controls label,#reel-export-select-wrap {display:block;font-size:.83rem;color:var(--muted)}
.film-controls select,#reel-export-select-wrap select {display:block;max-width:100%;font-size:.95rem;color:var(--ink)}
#reel-export-select-wrap {margin:8px 0}
#project-reel-hold,#project-reel-timing,#reel-language-status {font-size:.84rem;margin-top:8px}
#reel-languages h3 {font-size:1.35rem;margin:2px 0 4px}
#dub-usage {font-size:.88rem;line-height:1.4;margin:0 0 10px}
#reel-language-list {padding:0;margin:0 0 12px;list-style:none}
.dub-row {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;min-height:49px;border-bottom:1px solid var(--edge);padding:5px 0}
.dub-row strong {font-size:.96rem;color:var(--ink)}
.dub-row small {display:block;font-size:.83rem;color:var(--muted);line-height:1.3}
.dub-row .dub-actions {display:flex;align-items:center;gap:10px}
.dub-row .text-link {white-space:nowrap;font-size:.88rem;min-height:40px;display:inline-flex;align-items:center}
.dub-error {grid-column:1/-1;color:#863d27;font-size:.85rem;overflow-wrap:anywhere}
#reel-language-all {min-height:38px;font-size:.9rem}
#reel-language-list .dub-status[data-state="ready"] {color:var(--pine)}
@media(max-width:640px){
  .film-workspace {grid-template-columns:1fr;gap:18px}
  .film-preview {display:block}
  #project-reel-video {width:min(100%,245px,28.1svh);max-height:50svh;margin-inline:auto}
  .film-controls {align-items:end;justify-content:center;gap:8px 16px;margin-top:8px}
  #project-reel-hold,#project-reel-timing{margin:7px 0 0}
  #reel-languages{border-top:1px solid var(--edge);padding-top:13px}
}
#speech-to-reel{display:inline-block;margin:6px 0 0}
.library-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,260px);gap:16px;margin-bottom:12px}
.library-tools label{font-size:.84rem}
#library-results{scroll-margin-top:12px;outline:none}
#library-count{font-variant-numeric:tabular-nums;text-align:right;margin:0 0 7px}
#library-status:empty,#library-count:empty,#library-edit-status:empty{display:none}
#library-status{margin:8px 0}
#library-fallback{display:grid;gap:6px}
.library-list,.library-tags{padding:0;list-style:none;margin:0}
.library-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:14px;align-items:center;min-height:68px;padding:9px 4px;border-bottom:1px solid var(--edge)}
.library-row:first-child{border-top:1px solid var(--edge)}
.library-thumb{display:grid;place-items:center;width:64px;height:44px;overflow:hidden;border-radius:5px;background:#e0e7df;color:var(--pine)}
.library-thumb img{width:100%;height:100%;object-fit:cover}
.library-row-info{min-width:0}
.library-title{color:var(--ink);font:640 1.08rem/1.25 var(--heading);text-decoration:none;overflow-wrap:anywhere}
.library-title:hover,.library-title:focus-visible{text-decoration:underline;text-underline-offset:3px}
.library-tags{display:flex;flex-wrap:wrap;gap:4px 6px;margin:4px 0 0;align-items:center}
.library-row .library-tags li,.library-remove{padding:1px 7px;border-radius:4px;background:var(--pale);color:var(--deep);overflow-wrap:anywhere;max-width:100%;font-size:.75rem}
.library-edit-tags{background:none;border:0;border-radius:4px;color:var(--pine);font-size:.81rem;font-weight:600;min-height:40px;padding:5px;text-underline-offset:3px}
.library-edit-tags:hover,.library-edit-tags:focus-visible{text-decoration:underline}
#library-pagination{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-top:15px}
#library-pagination span{font-size:.85rem;color:var(--muted)}
#library-pagination button:disabled{cursor:default}
#library-edit-title{overflow-wrap:anywhere}
#library-edit-list{margin:0 0 16px}
.library-remove{font:inherit;font-size:.88rem;border:1px solid #bcc8ba;min-height:36px;text-align:left;padding:4px 10px}
.library-remove span{margin-left:8px;font-size:1rem}
.library-tag-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}
@media(max-width:560px){
  .library-tools{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:10px}
  .library-tools input,.library-tools select{font-size:1rem}
  .library-row{grid-template-columns:52px minmax(0,1fr) auto;gap:8px;min-height:60px;padding-inline:0}
  .library-thumb{width:52px;height:42px}
  .library-title{font-size:1rem}
  .library-edit-tags{padding-inline:2px}
  #library-pagination{gap:5px}
}
#recording-archive-link{display:inline-block;margin-top:14px;font-size:.9rem}
.link-reel-intro{margin:0 0 18px;color:var(--muted)}
.link-reel-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr);gap:16px}
#link-reels form,#link-reels .notes-section{max-width:860px}
#link-reel-status:empty,#link-reel-list-status:empty{display:none}
#link-reel-list-status{margin-bottom:12px}
#link-reel-list{display:grid;gap:12px}
.link-reel-job{padding:clamp(14px,2.5vw,22px);overflow-wrap:anywhere}
.link-reel-job-head,.link-reel-downloads,.link-reel-progress{display:flex;gap:6px 14px;align-items:center;flex-wrap:wrap}
.link-reel-job-head{justify-content:space-between}
.link-reel-job-head a{text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:#aab7ad}
.link-reel-job-head a:hover{color:var(--pine)}
.link-reel-message{margin:10px 0 0}
.link-reel-progress{margin-top:.55rem;font-variant-numeric:tabular-nums}
.link-reel-progress progress{accent-color:var(--pine);max-width:78%;width:220px;height:.65rem}
.link-reel-downloads{margin-top:8px}
.link-reel-job .text-link,.link-reel-extra summary{display:inline-flex;align-items:center;min-height:40px;font-size:.9rem}
.link-reel-extra{margin-top:7px}
.link-reel-extra summary{display:list-item;align-content:center;width:fit-content;cursor:pointer;font-weight:600}
.link-reel-extra .link-reel-downloads{margin-top:0}
.link-reel-correction{margin-top:8px}
.link-reel-correction input{display:block;width:100%;max-width:35rem;margin:0 0 12px}
.link-reel-correction .helper:empty{display:none}
@media(max-width:600px){.link-reel-fields{grid-template-columns:minmax(0,1fr);gap:14px}}
@media(min-width:561px) and (max-width:800px){
  .mast-inner{height:auto;flex-wrap:wrap;gap:0}
  .identity{order:1;min-height:52px}
  .main-nav{order:2;flex-basis:100%;height:40px;gap:22px}
}
.render-settings .btn:disabled{cursor:default}
@media(max-width:650px){.main-nav{gap:14px}}

@media(max-width:370px){.main-nav{gap:12px}.main-nav a{font-size:.79rem}}

#shot-plan-panel {margin:.45rem 0 1.2rem}
#shot-plan-panel .helper {margin:.4rem 0 .6rem}
#shot-plan-status:empty, #shot-plan-summary:empty {display:none}
#shot-plan-board {margin:.8rem 0 1.4rem;border:1px solid var(--edge);border-radius:12px;padding:0 clamp(.8rem,2vw,1.3rem);background:var(--surface)}
#shot-plan-board summary {display:list-item;cursor:pointer;padding:.9rem 0;color:var(--pine);font-weight:680}
#shot-plan-version {margin-left:.6rem;color:var(--muted);font-size:.82rem;font-weight:500}
#shot-plan-summary {color:var(--muted);max-width:80ch;line-height:1.45;padding-bottom:.8rem}
#shot-plan-list {margin:0;padding:0;list-style:none}
.cut-card {display:grid;grid-template-columns:clamp(82px,12vw,145px) minmax(0,1fr);align-items:start;gap:clamp(10px,2vw,23px);padding:15px 0;border-top:1px solid var(--edge)}
.cut-frame {padding:0;position:relative;display:block;width:100%;height:clamp(108px,15vw,160px);border:0;border-radius:7px;overflow:hidden;background:#1d2d28;color:white}
.cut-frame img {display:block;width:100%;height:100%;object-fit:contain}
.cut-frame:hover {box-shadow:0 0 0 2px var(--pine)}
.cut-fallback {font-size:.78rem}
.cut-copy {min-width:0;overflow-wrap:anywhere}
.cut-copy blockquote {margin:.15rem 0 .45rem;font-family:var(--heading);font-weight:650;font-size:clamp(1.01rem,2vw,1.19rem);line-height:1.29}
.cut-copy p {font-size:.91rem;line-height:1.4}
.cut-copy .cut-reason {margin-top:.3rem;color:var(--muted)}
.cut-copy .cut-interpretation {font-weight:620;color:#864026;margin-bottom:.25rem}
.cut-source {font-size:.82rem;text-align:left;line-height:1.35;max-width:100%;overflow-wrap:anywhere}
#shot-plan-notes {border-top:1px solid var(--edge);padding:12px 0}
#shot-plan-notes h4,#shot-plan-notes ul {margin:.3rem 0}
#shot-plan-notes ul {padding-left:1.1rem}
#shot-plan-brief {margin-bottom:.8rem}
#shot-preview-dialog {width:min(calc(100% - 24px),600px)}
#shot-preview-dialog .dialog-head {margin-bottom:.6rem}
#shot-preview-dialog h2 {font-size:1.4rem;overflow-wrap:anywhere}
#shot-preview-media :is(video,img) {display:block;width:100%;max-height:58svh;object-fit:contain;background:#172c25;border-radius:8px}
#shot-preview-media .text-link {display:inline-block;margin-top:.5rem}
#shot-preview-caption {margin-top:.4rem;font-size:.95rem}
@media(max-width:430px){#shot-plan-board{padding:0 10px}.cut-card{grid-template-columns:74px minmax(0,1fr);gap:10px}.cut-frame{height:102px}.cut-copy p{font-size:.86rem}#shot-plan-version{display:block;margin:.15rem 0 0 1.12rem}}

/* White woodland silhouettes, shared with the Studio page background. */
.forest-backdrop {
  background: #e7e7e7 url("/assets/gwpnw-las.svg") no-repeat bottom center / 760px auto;
}
.page-heading.forest-backdrop {
  padding: clamp(22px, 3.2vw, 40px);
  color: #242424;
  border-radius: 13px;
  background-position: right bottom;
  background-size: min(76%, 620px) auto;
}
.page-heading.forest-backdrop h1 { font-size: clamp(2.1rem, 5.4vw, 4.6rem); overflow-wrap: anywhere; }
#library.page { padding-top: clamp(16px, 2.5vw, 32px); }
#library > .page-heading {
  align-items: center;
  padding: 14px clamp(16px, 2.3vw, 28px);
  margin-bottom: 18px;
  background-size: min(50%, 340px) auto;
}
#library > .page-heading h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
#library > .page-heading .text-link {
  border: 0;
  background: none;
  padding: 6px 0;
  font-size: .83rem;
  text-align: right;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 560px) {
  #library > .page-heading { flex-direction: row; align-items: center; gap: 10px; }
}
.forest-backdrop .btn.primary { color: white; background: #303030; }
.forest-backdrop .btn.primary:hover { background: #171717; }
.forest-backdrop .text-link {
  padding: 7px 13px;
  border: 1px solid #828282;
  border-radius: 999px;
  background: white;
  color: #303030;
  text-decoration: none;
}
.forest-backdrop .text-link:hover { text-decoration: underline; }
.forest-backdrop :focus-visible { outline-color: #373737; outline-offset: 4px; }
body:has(#voice-page:not([hidden]) #project-home:not([hidden]) #generator-hero:not([hidden])) {
  background-color: #f8f7f1;
}
#generator-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: clamp(12px, 2.4vw, 28px);
  color: #1e312c;
}
#generator-hero h1 {
  font-size: clamp(2.25rem, 6.82vw, 5.35rem);
  line-height: 1.1;
}
#generator-new {
  min-height: 38px;
  padding: 8px 13px;
  font-size: .78rem;
  background: #1c5642;
}
#generator-new:hover { background: var(--deep); }
@media (max-width: 560px) {
  #generator-new { min-height: 44px; }
}
@media (max-width: 560px) {
  .login-cover.forest-backdrop { background-size: 540px auto; }
  .page-heading.forest-backdrop { background-size: 80% auto; }
}

#shot-plan-list .cut-edit {min-height:44px;margin-top:.55rem}
#shot-edit-dialog {width:min(calc(100% - 20px),590px);overscroll-behavior:contain}
#shot-edit-dialog .dialog-head {margin-bottom:.55rem}
#shot-edit-dialog h2 {font-size:1.45rem}
#shot-edit-dialog .close-x {flex:none;width:44px;height:44px}
#shot-edit-narration {margin:0 0 1rem;padding-left:.75rem;border-left:3px solid var(--edge);overflow-wrap:anywhere}
#shot-edit-fields {border:0;margin:0;padding:0;min-width:0}
#shot-edit-dialog .cut-times {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:.75rem}
#shot-edit-dialog .cut-times label {margin:0}
#shot-edit-dialog .cut-times input {display:block;margin-top:4px}
#shot-edit-dialog .checkbox {min-height:44px;margin:.3rem 0 0}
#shot-edit-dialog .checkbox input {flex:none;width:19px;height:19px}
#shot-edit-dialog .cut-previews {display:flex;gap:.4rem 1rem;align-items:center;flex-wrap:wrap;margin-top:.7rem}
#shot-edit-dialog .cut-previews button,#shot-edit-dialog .dialog-foot button {min-height:44px}
#shot-edit-dialog .cut-remember {margin-top:1rem;border-top:1px solid var(--edge);padding-top:.5rem}
#shot-edit-dialog .form-status:empty,#shot-edit-dialog .helper:empty {display:none}
#shot-edit-dialog .dialog-foot {flex-wrap:wrap}
@media(max-width:560px){
  #shot-edit-dialog :is(input,textarea,select){font-size:16px}
  #shot-edit-tip {scroll-margin-bottom:72px}
  #shot-edit-dialog .cut-editor-footer {position:sticky;bottom:-18px;margin:12px -18px -18px;padding:10px 18px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--edge);background:var(--surface)}
  #shot-edit-dialog .dialog-foot {margin-top:0}
  #shot-edit-dialog .form-status {margin:0 0 6px}
}

#profile-tips{margin-top:.75rem}#profile-tip-list{list-style:none;padding:0;margin:.5rem 0}#profile-tip-list li{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;padding:.35rem 0}#profile-tip-list li span{overflow-wrap:anywhere}

.trim-station {
  --trim-accent:#f7cf79; --trim-canvas:#17241f; --trim-ink:#f9f6ed;
  margin-top:.7rem; overflow:hidden; border:1px solid #26382f; border-radius:14px;
  background:var(--trim-canvas); color:var(--trim-ink); font-variant-numeric:tabular-nums;
}
.trim-screen {background:#101814}
#shot-trim-video,#shot-trim-frame-fallback {display:block;width:100%;height:clamp(148px,26vh,252px);height:clamp(148px,26dvh,252px);object-fit:contain}
.trim-command,.trim-boundaries {display:flex;justify-content:space-between;align-items:center;gap:.55rem;padding:0 14px}
.trim-command {border-top:1px solid #435047;min-height:46px}
#shot-trim-play {
  display:inline-flex;align-items:center;gap:.5rem;min-height:44px;padding:4px 6px 4px 0;
  border:0;background:none;color:var(--trim-ink);font-weight:700;font-size:.9rem;cursor:pointer;white-space:nowrap;text-align:left;
}
#shot-trim-play::before {content:"";width:0;height:0;border-block:6px solid transparent;border-left:10px solid currentColor}
#shot-trim-play.is-playing::before {width:10px;height:12px;border:0;border-inline:3px solid currentColor}
#shot-trim-play:disabled {opacity:.55}
.trim-length {font-size:.86rem;color:#ced8cd;white-space:nowrap}
.trim-length strong {color:var(--trim-ink)}
#shot-trim-hint,#shot-trim-media-status {padding:0 14px;font-size:.84rem;color:#e5ebdf}
#shot-trim-hint {margin:1px 0 7px}
#shot-trim-media-status:not(:empty) {margin:4px 0 8px}
.trim-rail {padding:0 22px}
#shot-trim-track {
  --trim-in:0%;--trim-out:100%;--trim-playhead:0%;position:relative;height:90px;
  touch-action:pan-y;user-select:none;-webkit-user-select:none;isolation:isolate;
}
.trim-film,.trim-mask,#shot-trim-selection {position:absolute;top:15px;bottom:15px;pointer-events:none}
.trim-film {inset-inline:0;background:#324039;overflow:hidden;border-radius:4px}
#shot-trim-strip {display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}
#shot-trim-film-canvas {display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#shot-trim-strip:not([src]) {visibility:hidden}
.trim-mask {background:rgba(7,12,9,.72)}
#shot-trim-left-mask {left:0;right:calc(100% - var(--trim-in))}
#shot-trim-right-mask {left:var(--trim-out);right:0}
#shot-trim-selection {left:var(--trim-in);right:calc(100% - var(--trim-out));border-block:3px solid var(--trim-accent)}
#shot-trim-playhead {position:absolute;left:var(--trim-playhead);top:15px;bottom:15px;width:2px;background:white;box-shadow:0 0 2px #17241f;pointer-events:none}
.trim-handle {
  position:absolute;top:0;bottom:0;transform:translateX(-50%);width:44px;min-width:44px;
  padding:0;border:0;border-radius:5px;background:transparent;color:#253123;cursor:ew-resize;
  touch-action:none;z-index:1;-webkit-tap-highlight-color:transparent;
}
#shot-trim-start {left:var(--trim-in)}
#shot-trim-end {left:var(--trim-out)}
.trim-handle::before,.trim-handle::after {content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.trim-handle::before {width:15px;height:66px;border-radius:5px;background:var(--trim-accent);box-shadow:0 0 0 1px #382c1a88}
.trim-handle::after {width:4px;height:15px;border-inline:1px solid currentColor}
.trim-handle:focus-visible {outline:0}
.trim-handle:focus-visible::before {outline:3px solid white;outline-offset:2px}
#shot-trim-track.is-crowded #shot-trim-start {top:0;bottom:50%}
#shot-trim-track.is-crowded #shot-trim-end {top:50%;bottom:0}
#shot-trim-track.is-crowded .trim-handle::before {height:44px}
.trim-boundaries {padding-bottom:10px;font-size:.79rem;color:#cad5ca}
.trim-boundaries strong {color:var(--trim-ink);margin-left:3px}
.trim-secondary {float:right}
#shot-trim-reset,#shot-trim-precise summary {min-height:44px;align-content:center;font-size:.88rem}
#shot-trim-reset:disabled {opacity:.48}
#shot-trim-precise {margin:.2rem 0 .3rem}
#shot-trim-precise summary {cursor:pointer;width:fit-content;max-width:55%}
#shot-trim-precise[open] .cut-times {clear:both;margin-top:0}
#shot-trim-precise p {margin:.35rem 0}
@media (max-width:600px){
  .trim-command,.trim-boundaries {padding-inline:11px}
  #shot-trim-video, #shot-trim-frame-fallback {height:clamp(122px,21vh,185px);height:clamp(122px,21dvh,185px)}
  #shot-edit-narration {margin-bottom:.6rem}
}

.trim-nudges {display:flex;gap:4px;margin-top:4px}
.trim-nudges button {min-width:44px;min-height:44px;padding:.2rem .45rem;border:1px solid var(--edge);border-radius:6px;background:var(--surface);color:var(--pine);font-size:.85rem;font-variant-numeric:tabular-nums}

.film-moment-actions {display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;margin:9px 0 2px}
.film-moment-actions button {min-height:44px}
#reel-moment-status:empty {display:none}
#reel-moment-notes {margin:10px 0}
#shot-edit-moment-info {margin:0 0 12px}
@media(max-width:640px){.film-moment-actions {justify-content:center}}
.note-material:has(.time-link + button){flex-wrap:wrap}
.note-material textarea{flex-basis:100%;min-width:0}

.library-row-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:2px 13px}
.library-publish{font-size:.81rem;color:var(--pine);text-underline-offset:3px}
#pub-selection{max-width:790px}
.pub-picker,.pub-actions,.pub-result-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.pub-picker select{flex:1 1 240px;min-width:0}
.pub-upload{position:relative;overflow:hidden;margin:0;cursor:pointer}
.pub-upload input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.pub-upload:focus-within{outline:3px solid var(--pine);outline-offset:2px}
.pub-layout{display:grid;grid-template-columns:minmax(210px,1fr) minmax(0,1.8fr);gap:clamp(22px,5vw,70px);margin-top:24px;align-items:start}
.pub-watch{position:sticky;top:12px;min-width:0}
.pub-watch h2{font-size:clamp(1.15rem,2vw,1.55rem);line-height:1.2;margin:0 0 10px;overflow-wrap:anywhere}
#pub-film{display:block;width:100%;height:auto;max-height:55svh;background:#16251e;border-radius:10px;object-fit:contain}
.pub-content{padding:clamp(15px,2.5vw,32px);border:1px solid var(--edge);border-radius:14px;background:var(--surface);min-width:0}
#publication :is(select,input,textarea){max-width:100%;font-size:1rem}
#publication textarea{resize:vertical;line-height:1.5}
#publication details{margin:10px 0}
#publication summary{width:fit-content;max-width:100%;cursor:pointer;min-height:40px;align-content:center;font-weight:640}
#publication .form-status:empty{display:none}
#publication button,#publication .pub-upload{min-height:42px}
.pub-controls{max-width:380px}
.pub-controls label,.pub-content label{display:block;margin:10px 0 4px}
.pub-content label small{font-weight:400}
.pub-options-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pub-actions{margin-top:14px}
.pub-result-head{align-items:baseline;justify-content:space-between;border-top:1px solid var(--edge);padding-top:16px;margin-top:14px}
.pub-result-head h2,.pub-callout h2{margin:0;font-size:clamp(1.16rem,2.2vw,1.55rem)}
.pub-callout{background:var(--pale);border-left:3px solid var(--pine);border-radius:4px;padding:14px;margin:14px 0}
.pub-callout p{margin:5px 0 8px}
.pub-field{padding:12px 0 8px}
.pub-field-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
#publication .pub-field-head label{font-weight:690;margin:0}
#publication .pub-field-head button{font-size:.83rem;min-height:38px}
#publication .pub-evidence{margin:2px 0;font-size:.87rem}
.pub-evidence ul,#pub-scope-list,#pub-example-list,#pub-history-list,#pub-disclosure-body ul{margin:4px 0;padding-left:1.25rem}
.pub-evidence li,#pub-example-list li{padding-bottom:5px;overflow-wrap:anywhere}
.pub-evidence button{margin-right:.45em;font-variant-numeric:tabular-nums;text-decoration:underline}
.pub-evidence .pub-claim{font-weight:650}
.pub-check,.pub-style-box{border-top:1px solid var(--edge);padding-top:4px}
.pub-decision{min-width:0;margin:15px 0;padding:0;border:0}
.pub-decision legend{font-weight:650}
#publication .pub-decision select{width:auto;min-width:10rem;margin-top:5px}
.pub-content output,.pub-content .helper{overflow-wrap:anywhere}
#pub-example-form,#pub-example-add,#pub-style-save{margin-top:10px}
#pub-context[open]{padding-bottom:12px;border-bottom:1px solid var(--edge)}
#pub-context textarea{width:100%}
#pub-context input[type=date]{width:auto}
#pub-history-list button{text-align:left}
@media(max-width:830px){.main-nav{max-width:100%;min-width:0;overflow:auto}.main-nav a{white-space:nowrap;flex-shrink:0}}
@media(max-width:650px){
  .pub-layout{grid-template-columns:1fr;gap:16px}.pub-watch{position:static}.pub-watch video{max-height:32svh}
  #pub-film{max-height:32svh}.pub-controls{max-width:none}.pub-result-head{gap:3px}.pub-options-grid{grid-template-columns:1fr}
  .library-row-actions{flex-direction:column;align-items:flex-end;gap:0}
}

.motion-cuts {display:grid;gap:12px;margin:12px 0 16px}
.motion-cut {display:grid;justify-items:start;gap:5px;padding:12px 14px;border-left:3px solid var(--pine);background:var(--surface);border-radius:5px}
.motion-cut label {display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}
.motion-cut input[type="checkbox"] {width:1.15rem;height:1.15rem;flex-shrink:0;margin:0}
.motion-cut video {width:min(100%,22rem);max-height:320px;background:#17231f;border-radius:8px}

#shot-fit-review:not(:empty) {padding:8px 0 12px;border-bottom:1px solid var(--edge);margin-bottom:12px}
#shot-fit-review .btn {margin:4px 8px 0 0}
#shot-edit-dialog label:has(#shot-pause-before) {display:flex;align-items:center;gap:8px;min-height:44px}
#shot-pause-before {width:1.15rem;height:1.15rem;flex-shrink:0;margin:0}

#social h1{font-size:clamp(2.7rem,6vw,4.85rem)}
#social h2{font-size:clamp(1.4rem,2.5vw,1.85rem)}
#social :is(p,dd,a,strong,summary,li){overflow-wrap:anywhere}
#social-status:empty,#social-freshness:empty{display:none}
#social-status,#social-retry{margin:0 0 14px}
.social-panel,.social-report-section{border-top:1px solid var(--edge);padding-top:22px;margin-bottom:32px}
.social-section-head,.social-account-row,.social-post-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.social-section-head{margin-bottom:8px}
.social-providers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;margin-top:18px}
.social-provider{border:1px solid var(--edge);border-radius:10px;padding:16px 18px;background:var(--surface);min-width:0}
.social-provider h3{display:flex;align-items:center;gap:10px;margin:0}
.social-provider h3::before{content:"";flex:none;width:5px;height:20px;border-radius:4px;background:var(--pine)}
.social-provider[data-platform=youtube] h3::before{background:#c83332}
.social-provider[data-platform=instagram] h3::before{background:#ab4772}
.social-provider[data-platform=tiktok] h3::before{background:#303438}
.social-provider[data-platform=facebook] h3::before{background:#315ea0}
.social-provider .helper{margin-top:6px}
.social-provider :is(button,.btn),.social-setup{margin-top:10px}
#social :is(summary,label){font-weight:625}
#social summary{cursor:pointer;min-height:32px;align-content:center}
.social-setup{border-top:1px solid var(--edge);padding-top:4px;color:var(--deep)}
.social-setup ol,.social-setup ul{padding-left:1.3em;margin:6px 0}
.social-setup code{font-size:.88em;white-space:normal;overflow-wrap:anywhere}
.social-setup .social-callback{display:block;padding:8px 10px;margin:4px 0 8px;background:#f4f5f1;border-radius:5px;user-select:all}
.social-account-row{border-bottom:1px solid var(--edge);padding:12px 0}
.social-account-row>div{min-width:0}
.social-account-row .text-link,.social-provider button,.social-toolbar button{flex:none}
.social-account-row p{font-size:.88rem;color:var(--muted);margin-top:2px}
.social-pending-form{margin:15px 0;border-left:3px solid var(--pine);background:var(--pale);padding:14px 16px}
.social-pending-form fieldset{border:0;margin:0 0 8px;padding:0}
.social-pending-form legend{font-weight:650;margin-bottom:6px}
#social .social-pending-form label{display:flex;align-items:center;gap:10px;font-weight:500;min-height:40px}
.social-pending-form input{margin:0;width:1.15rem;height:1.15rem}
.social-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:12px 20px}
.social-toolbar>div{min-width:0}
#social :is(.social-toolbar,.social-section-head) label{display:block;color:var(--muted);font-size:.84rem;margin-bottom:4px}
#social select{width:auto;max-width:100%;min-height:42px}
#social-freshness{margin:9px 0 0}
.social-warnings p{margin-top:9px;color:#78422a}
#social-report{margin-top:22px}
.social-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(171px,100%),1fr));gap:1px;background:var(--edge);border:1px solid var(--edge);border-radius:10px;overflow:hidden;margin:.75rem 0 1.2rem}
.social-metrics div{padding:13px 15px;background:var(--surface);min-width:0}
.social-metrics:has(>div:only-child){display:block;max-width:22rem}
.social-metrics dt{color:var(--muted);font-size:.85rem;line-height:1.35}
.social-metrics dd{margin:4px 0 0;font:650 clamp(1.4rem,3vw,1.95rem)/1.2 var(--heading);font-variant-numeric:tabular-nums}
.social-post-list{list-style:none;padding:0;margin:12px 0}
.social-post-list>li{border-bottom:1px solid var(--edge)}
.social-post-row{align-items:flex-start;padding:12px 0}
.social-post-row>div:first-child{min-width:0}
.social-post-row strong{display:block;line-height:1.4}
.social-post-row a{text-decoration-thickness:1px;text-underline-offset:3px}
.social-post-row .helper{margin:3px 0 0;font-size:.82rem}
.social-post-score{min-width:5em;max-width:40%;text-align:right;font-variant-numeric:tabular-nums}
.social-post-score strong{font-size:1.1rem}
.social-post-detail{margin:0 0 8px}
.social-post-detail summary,.social-report-section>details>summary{font-size:.88rem;color:var(--muted)}
.social-inline-stats{display:flex;gap:10px 24px;flex-wrap:wrap;margin:4px 0 14px}
.social-inline-stats dt{color:var(--muted);font-size:.82rem}
.social-inline-stats dd{margin:1px 0 0;font-variant-numeric:tabular-nums}
.social-pages{display:flex;align-items:center;gap:15px;flex-wrap:wrap}
.social-snapshots{border-collapse:collapse;margin:12px 0;max-width:32rem;width:100%;font-variant-numeric:tabular-nums}
.social-snapshots th,.social-snapshots td{padding:5px 10px 5px 0;text-align:left;border-bottom:1px solid var(--edge)}
.social-snapshots :is(th,td):last-child{text-align:right}
.social-finding{padding:12px 0;border-bottom:1px solid var(--edge)}
.social-finding p{margin:.4em 0}
.social-finding details{color:var(--muted);font-size:.88rem}
.social-finding ul{margin:0 0 6px;padding-left:1.2em}
@media(min-width:801px) and (max-width:1040px){
  .mast-inner{height:auto;flex-wrap:wrap;gap:0}.identity{order:1;min-height:52px}
  .main-nav{order:2;flex-basis:100%;height:40px;gap:22px}.main-nav a{white-space:nowrap}
}
@media(max-width:570px){
  .main-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 6px;height:auto;overflow:visible}
  .main-nav a{min-height:34px;width:fit-content;white-space:normal;line-height:1.15}
}
@media(max-width:650px){
  #social>.page-heading{flex-direction:row;justify-content:space-between;align-items:center}
  .social-providers{grid-template-columns:minmax(0,1fr)}
  .social-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .social-toolbar>div:first-child{grid-column:1/-1}
  .social-toolbar select{width:100%!important}
  .social-section-head{align-items:flex-start;flex-wrap:wrap;gap:8px}
  .social-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .social-account-row{gap:8px}
}
.social-permissions{margin:12px 0;color:var(--muted)}
.social-history-selector{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:9px 0}
.social-post-row>div:first-child strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.social-finding h3{font-family:inherit;font-weight:650;font-size:.84rem;line-height:1.4;letter-spacing:normal;margin-top:10px}
.social-daily canvas{display:block;width:100%;height:clamp(96px,13vw,154px);margin-top:12px}
.social-daily-dates{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:.8rem}
.social-daily details{margin-top:6px}
.social-daily canvas{cursor:pointer}
.social-daily canvas:focus-visible{outline:3px solid #b66a35;outline-offset:3px}
.social-chart-value{display:block;font-size:.91rem;font-weight:600;margin-top:7px;font-variant-numeric:tabular-nums}
