:root{font-family:DM Sans,PingFang SC,Microsoft YaHei,sans-serif;color:#181d26;background:#fafbf8;font-synthesis:none;--ink: #181d26;--muted: #59635f;--line: #dce1da;--forest: #153c2d;--coral: #aa2d00;--soft: #e4efe7;--cream: #f6ead4}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,label{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled,fieldset:disabled{cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #4779b0;outline-offset:3px}p{line-height:1.7}strong{font-weight:600}button:disabled,.btn:has(input:disabled){opacity:.48;cursor:not-allowed}svg{flex-shrink:0}.mono,.time,.timeBtn,.shotNo{font-family:IBM Plex Mono,Consolas,monospace}.topbar{height:70px;background:#fff;border-bottom:1px solid var(--line)}.navWrap{height:100%;max-width:1270px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 48px}.brand,.brandIcon,nav,nav a,.btn,.back,.sectionHeading h2,.paper h2,.fine,.pending,.notice,.shotHead,.settingsFooter,.beatTop,.captionRow,.exampleLabel,.actionBar,.checkLine{display:flex;align-items:center}.brand{gap:10px}.brandIcon{width:34px;height:34px;background:var(--forest);color:#fff;justify-content:center;border-radius:9px}.brand strong{font-size:22px;letter-spacing:.05em}.brandSub{border-left:1px solid var(--line);padding-left:13px;margin-left:4px;font-size:13px;color:var(--muted)}nav{gap:8px}nav a{gap:7px;padding:9px 14px;font-size:14px;color:var(--muted);border-radius:8px}nav a.current{color:var(--forest);background:#edf2ed}.wrap{max-width:1270px;margin:0 auto;padding:38px 48px 65px}.narrow{max-width:830px}.settings{max-width:1100px}h1,h2,h3,figure,p{margin:0}h1{font-size:clamp(32px,4vw,46px);line-height:1.2;letter-spacing:-.045em;font-weight:500}h2{font-size:22px;line-height:1.4;letter-spacing:-.035em;font-weight:500;gap:9px}.pageHeading{display:flex;align-items:end;justify-content:space-between;margin:9px 0 27px}.pageHeading p{margin-top:10px;color:var(--muted);font-size:15px}.home{padding-top:48px}.homeGrid{display:grid;grid-template-columns:1.06fr 1fr;gap:18px}.startCard,.exampleCard{border-radius:12px;min-height:286px;overflow:hidden}.startCard{background:#e6eee4;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:32px 36px;gap:18px;border:1px solid #d5e1d5}.startIcon,.dropIcon{display:grid;place-items:center;width:50px;height:50px;border-radius:12px;background:#fff;color:var(--forest)}.startCard h2{font-size:29px;color:#143a2a}.startCard p{max-width:38ch;margin-top:9px;color:#43574a;font-size:14px}.btn{justify-content:center;gap:8px;border-radius:9px;padding:12px 17px;min-height:43px;width:max-content;border:1px solid transparent;font-size:14px;font-weight:550;line-height:1.3}.primary{color:#fff;background:var(--ink)}.primary:active{background:#020404}.secondary{background:#fff;border-color:#cbd1cb;color:var(--ink)}.btn.full{width:100%}.exampleCard{position:relative;background:#193729;isolation:isolate;min-width:0}.exampleCard>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 52%;z-index:-1}.exampleCard figcaption{display:flex;min-height:100%;height:100%;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:19px;color:#fff}.exampleLabel{gap:7px;background:#163426ed;padding:7px 10px;border-radius:6px;font-size:12px}.captionRow{gap:10px;background:#16291fde;padding:9px 14px;border-radius:6px;font-size:15px}.time{font-size:12px;color:#d9efdc}.history{margin-top:38px}.sectionHeading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.fine,small,.muted{color:var(--muted)}.fine{font-size:12px;gap:5px;line-height:1.6}.empty,.historyEmpty,.paper,.projectList{border:1px solid var(--line);border-radius:12px;background:#fff}.empty{padding:27px;color:var(--muted)}.historyEmpty{display:flex;align-items:center;gap:17px}.historyEmpty>svg{color:#607b65}.historyEmpty strong{font-size:15px;color:var(--ink)}.historyEmpty p{font-size:13px;margin-top:4px}.historyEmpty>a{display:grid;place-items:center;width:40px;height:40px;margin-left:auto;border:1px solid var(--line);border-radius:50%}.projectRow{display:flex;align-items:center;gap:15px;padding:16px 20px}.projectRow+.projectRow{border-top:1px solid var(--line)}.projectRow>div,.asset>div{min-width:0;flex:1}.projectRow strong,.asset strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.projectRow small,.asset small{display:block;margin-top:5px;font-size:12px}.badge{font-size:12px;background:var(--soft);color:var(--forest);border-radius:5px;padding:5px 9px;white-space:nowrap}.paper{padding:24px;min-width:0}.paper+.paper{margin-top:18px}.paper h2{margin:0 0 16px}.paper .sectionHeading h2{margin:0}.paper>p,.materials>p{font-size:14px}.paper p+p{margin-top:10px}.back{gap:6px;font-size:13px;color:var(--muted);width:max-content;margin-bottom:18px}.dropZone{width:100%;padding:52px 18px;display:grid;justify-items:center;gap:12px;border:1.5px dashed #a6b6a9;background:#f3f7f1;border-radius:10px;color:var(--forest)}.dropZone strong{max-width:100%;word-break:break-word;font-size:19px}.dropZone span:last-child{font-size:13px;color:var(--muted)}.dropIcon{background:#e1ebe0}.dragOver{background:#d1e6d2}.actions{display:flex;justify-content:flex-end;margin-top:18px}.notice{border:1px solid var(--line);border-radius:8px;padding:12px 15px;font-size:14px;gap:8px;line-height:1.6;margin:12px 0;flex-wrap:wrap}.notice.error{color:#842907;background:#fff2e9;border-color:#edcfbc}.notice.success,.notice.storage{background:#eaf3eb;color:#1f4b35}.linkBtn{background:none;border:0;text-decoration:underline;color:inherit;padding:3px}.steps{display:flex;gap:22px;border-bottom:1px solid var(--line);margin:20px 0 24px}.steps a,.steps span{padding:10px 2px;font-size:14px;border-bottom:2px solid transparent}.steps .selected{border-color:var(--forest);font-weight:600}.disabled{color:#69746e}.projectTitle{font-size:32px;overflow-wrap:anywhere}.detailGrid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr);gap:18px;align-items:start}.preview{width:100%;max-height:420px;display:block;background:#111c17;aspect-ratio:16/9;object-fit:contain;border-radius:8px}.hook{display:flex;gap:10px;background:var(--cream);padding:15px;border-radius:8px;margin-bottom:14px}.hook p,.beat dd{font-size:14px}.hook p{margin-top:5px}.beat{margin-top:19px;border-top:1px solid var(--line);padding-top:17px}.beatTop{gap:10px;flex-wrap:wrap}.timeBtn{display:flex;gap:6px;align-items:center;background:var(--soft);color:var(--forest);border:0;border-radius:5px;padding:6px 8px;font-size:12px}dl{display:grid;grid-template-columns:78px 1fr;gap:7px 10px;margin-bottom:0}dt{font-size:12px;color:var(--muted);padding-top:2px}dd{margin:0;line-height:1.6}.pending{gap:10px;color:var(--forest);padding:15px 0}.paper.pending{padding:25px}.spin{animation:turn 1s linear infinite}@keyframes turn{to{transform:rotate(360deg)}}.fileButtons{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 8px}.fileButtons label{position:relative;overflow:hidden;cursor:pointer}.fileButtons input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.assetList{display:grid;gap:8px}.asset{display:flex;align-items:center;gap:10px;font-size:13px}.asset img,.assetPick img{width:48px;height:36px;object-fit:cover;border-radius:4px}.field{display:block;font-size:14px;font-weight:550;margin:16px 0}.field .fine{display:inline;margin-left:5px;font-weight:400}.field small{display:block;font-size:12px;line-height:1.6;margin-top:5px;font-weight:400}.field input:not([type=checkbox]),textarea{display:block;padding:11px 12px;margin-top:6px;border:1px solid #cbd2cc;border-radius:6px;background:#fff;width:100%;color:var(--ink);font-size:14px;font-weight:400;line-height:1.5}textarea{resize:vertical}.materials>.fine{margin-top:10px}.castPanel h2,.shotLines>strong{margin-bottom:8px}.voiceRow{display:grid;grid-template-columns:minmax(6rem,.32fr) minmax(0,1fr);gap:16px;padding:14px 0;border-top:1px solid #e2e6df}.voiceRow>strong{overflow-wrap:anywhere}.voiceRow .checkLine{margin:0}.voiceOptions{display:grid;gap:8px;margin-top:8px}.voiceOptions audio{width:min(100%,320px);height:36px}.shotLines{margin:16px 0}.shotLines>small{display:block;margin:5px 0;color:#52605a}.dialogueRow{display:grid;grid-template-columns:minmax(6rem,.4fr) minmax(0,1fr) auto;gap:10px;align-items:center}.dialogueRow .field{min-width:0}.transcript,.clipVoice{padding:12px 0;border-top:1px solid #e2e6df}.transcript summary,.clipVoice summary{cursor:pointer;font-weight:600;padding:5px 0}.transcriptLine{display:flex;gap:12px;align-items:baseline;margin:10px 0}.transcriptLine .timeBtn{flex:none}.clipVoice .linkBtn{justify-self:start}@media(max-width:600px){.dialogueRow,.voiceRow{grid-template-columns:1fr;gap:3px}.dialogueRow .linkBtn{justify-self:start}.transcriptLine{flex-wrap:wrap;gap:4px}}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.two>.paper+.paper{margin:0}fieldset{border:0;margin:0;padding:0;min-width:0}.shotHead{gap:16px;align-items:end}.shotHead .field{margin:0}.shotNo{align-self:center;color:var(--forest);font-size:14px}.grow{flex:1}.duration{width:95px}.assetPicks{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.assetPick{display:flex;gap:7px;align-items:center;max-width:100%;padding:5px 9px 5px 5px;border:1px solid var(--line);border-radius:6px;font-size:12px}.assetPick.picked{border-color:#3e7652;background:var(--soft)}.assetPick span{overflow-wrap:anywhere}.assetPick img{width:36px;height:29px}.actionBar,.settingsFooter{gap:10px;justify-content:flex-end;padding:18px 0}.actionBar>.fine{margin-right:auto}.result .btn{margin-top:17px}.result progress{width:100%;accent-color:var(--forest)}.settings .storage{align-items:flex-start;flex-wrap:nowrap;margin-bottom:16px}.providerGrid{margin-top:16px}.providerGrid h2{font-size:19px}.field select{display:block;width:100%;min-height:44px;padding:8px 11px;margin-top:6px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:6px;font:inherit}.renderPicker .field{margin:0 0 10px}.renderPicker .fine{margin:7px 0}.providerGrid .fine{flex-wrap:wrap}@media(min-width:900px){.two.providerGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}.modelProbe{border-top:1px solid var(--line);padding-top:15px;margin-top:18px}.mobileStage{display:none}@media(max-width:720px){.mobileStage{display:inline}}.stopControl{display:grid;gap:4px;justify-items:start}.btn.stopBtn{color:#832e19;border-color:#d7b5a9;white-space:nowrap}.projectRow .stopBtn{font-size:13px;min-height:37px;padding:8px 11px}.projectRow>.stopControl{flex:0 0 auto}.stopError{max-width:25ch;color:#842907}.clipChoices{display:grid;gap:5px;margin-top:14px}.clipChoice,.chooseClip,.clipChoice a{display:flex;align-items:center;gap:9px}.clipChoice{border:1px solid var(--line);border-radius:7px;padding:2px 8px;justify-content:space-between}.clipChoice.chosen{border-color:#9cbaa6;background:var(--soft)}.chooseClip{background:transparent;color:var(--ink);border:0;flex:1;min-width:0;min-height:42px;text-align:left;font-weight:500;font-size:14px}.chooseClip span{overflow-wrap:anywhere}.clipChoice a{color:var(--forest);font-size:13px;white-space:nowrap;min-height:40px}@media(max-width:520px){.projectRow:has(.stopControl){flex-wrap:wrap}.projectRow:has(.stopControl) .rowProject{min-width:54%}}.rowProject,.billHeading,.billHead,.costOverviewRow,.billPager{display:flex;align-items:center;gap:12px}.rowProject{flex:1;min-width:0}.rowProject>div{flex:1;min-width:0}.rowCost{font-size:13px;color:var(--forest);padding:8px;border-left:1px solid var(--line);white-space:nowrap}.billHeading,.billHead,.costOverviewRow{justify-content:space-between}.billHeading{flex-wrap:wrap}.billHead{align-items:flex-start}.billHead .badge{margin-left:8px}.costTotals{display:grid;grid-template-columns:1.4fr repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.costTotal{background:#fff;border:1px solid var(--line);border-radius:10px;padding:17px;min-width:0}.costTotal.main{background:#e6eee4}.costTotal span,.costTotal strong,.costTotal small,.billHead small,.costOverviewRow small{display:block}.costTotal strong{font-size:clamp(16px,2vw,27px);margin:8px 0;overflow-wrap:anywhere}.costTotal small,.billHead small,.costOverviewRow small{font-size:12px;line-height:1.6}.billPaper{margin-top:15px}.costNote{background:var(--cream);color:#5b4e35}.costBasis{margin:0 0 15px}.billRow{padding:17px 0;border-top:1px solid var(--line)}.billRow dd{overflow-wrap:anywhere}.billAmount{text-align:right}.billPager{justify-content:flex-end;margin-top:18px}.costOverviewRow{padding:15px 0;border-top:1px solid var(--line)}.costOverviewRow>div:first-child{min-width:0;flex:1;overflow-wrap:anywhere}.promptSettings{margin-top:18px}.pricing .checkLine{margin:16px 0}.rateFields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.rateFields .field{margin:0}@media(max-width:720px){.costTotals{grid-template-columns:1fr 1fr}.rateFields{grid-template-columns:1fr}.settings .pageHeading{align-items:start;flex-direction:column;gap:12px}.rowProject{gap:8px}.rowProject>.badge{display:none}.billHead{flex-wrap:wrap}}.modelProbe>small{display:block;margin-top:7px;line-height:1.6}.probeResult{margin-top:12px;padding:10px 12px;border-radius:6px;font-size:13px;overflow-wrap:anywhere}.probeResult.connected{color:#1f4b35;background:#eaf3eb}.probeResult.unverified{color:#654b13;background:#fbf2dc}.probeResult.failed,.probeResult.denied{color:#842907;background:#fff2e9}.probeResult .mono{margin-left:8px;font-size:12px}.probeResult p{margin:3px 0 0}.checkLine{gap:7px;font-size:13px}.keyReveal{border:1px solid var(--line);padding:10px;margin:10px 0;border-radius:6px}.keyReveal code{display:block;margin-top:7px;overflow-wrap:anywhere}.lockBox{display:grid;justify-items:start;gap:10px}.lockBox h2{margin:0}.lockBox p{color:var(--muted);margin:0 0 8px}.srOnly{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:800px){.wrap{padding:25px 20px 45px}.navWrap{padding:0 20px}.topbar{height:62px}.brandSub{display:none}.homeGrid,.detailGrid,.providerGrid{grid-template-columns:1fr}.exampleCard,.exampleCard figcaption{min-height:205px}.startCard{min-height:230px;padding:25px}.home{padding-top:28px}.paper{padding:18px}.shotHead{flex-wrap:wrap}.shotHead .grow{min-width:160px}.actionBar{flex-wrap:wrap}.actionBar .fine{width:100%}.steps{gap:14px}.history{margin-top:25px}.pageHeading p{font-size:14px}nav a{padding:8px}.sectionHeading{flex-wrap:wrap}.two{gap:10px}.homeGrid{gap:12px}}@media(max-width:460px){.wrap{padding-left:14px;padding-right:14px}.navWrap{padding:0 12px}.two{grid-template-columns:1fr}.two .field{margin:7px 0}.badge{font-size:11px}.historyEmpty{padding:18px 12px;gap:10px}.projectRow{gap:8px;padding:14px 12px}.settingsFooter .btn{padding:12px}.homeGrid .exampleCard,.homeGrid .exampleCard figcaption{min-height:180px}}@media(prefers-reduced-motion:reduce){.spin{animation:none}}
