@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800;900&display=swap');
:root{--bg:#11121a;--panel:#1a1c27;--panel2:#222432;--text:#f6f5ef;--muted:#a3a5b4;--line:#353747;--yellow:#f7e34a;--aqua:#85e8df;--pink:#d9a5f5;--orange:#ff9c69}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Manrope,system-ui,sans-serif}.shell{max-width:1240px;margin:auto;padding:0 28px}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;letter-spacing:.08em}.brand-mark{font-size:35px;color:var(--yellow)}.brand small,.status,.eyebrow,.mode-cta,.engine-grid small,footer,.timeline-head{font-family:'DM Mono',monospace;letter-spacing:.08em}.brand small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.top-actions,.head-actions{display:flex;align-items:center;gap:12px}.status{font-size:10px;color:var(--muted)}.status i{display:inline-block;width:7px;height:7px;background:#73e2a6;border-radius:50%;margin-right:7px}.btn{border:0;border-radius:9px;padding:12px 15px;font:700 12px Manrope;cursor:pointer}.btn-ghost{background:#292b39;color:var(--text);border:1px solid var(--line)}.btn-primary{background:var(--yellow);color:#171717}.btn-dark{background:#393b4b;color:white}.hero{padding:66px 0 46px;display:flex;align-items:center;justify-content:space-between;gap:30px}.eyebrow{font-size:10px;color:var(--aqua);margin-bottom:13px}.hero h1{font-size:clamp(42px,7vw,78px);line-height:.98;letter-spacing:-.07em;margin:0;font-weight:900}.hero h1 em{font-style:normal;color:var(--yellow)}.hero p{max-width:540px;color:var(--muted);line-height:1.7;font-size:14px}.hero-sticker{width:175px;height:175px;border-radius:50%;background:var(--pink);color:#18131e;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(9deg);flex-shrink:0}.hero-sticker span,.hero-sticker small{font:10px 'DM Mono'}.hero-sticker strong{font-size:30px;letter-spacing:-2px}.hero-sticker small{font-size:8px;margin-top:5px}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mode-card{border:0;border-radius:16px;padding:24px;text-align:left;color:#171717;min-height:185px;display:flex;flex-direction:column;align-items:flex-start;cursor:pointer;transition:.2s}.mode-card:hover{transform:translateY(-4px)}.yellow{background:var(--yellow)}.aqua{background:var(--aqua)}.mode-icon{font-size:30px}.mode-card b{font-size:22px;letter-spacing:-.04em;margin:12px 0 4px}.mode-card small{font-size:12px}.mode-cta{font-size:9px;font-weight:700;margin-top:auto;padding-top:20px}.workspace,.engines{padding:58px 0 0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.section-head h2{font-size:26px;letter-spacing:-.05em;margin:0}.empty{border:1px dashed #45485a;border-radius:14px;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);gap:8px}.empty-icon{font-size:28px;color:var(--yellow)}.empty b{color:var(--text)}.empty span{font-size:12px}.project-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.project-card{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:18px;cursor:pointer}.project-card:hover{border-color:var(--yellow)}.project-card small{color:var(--aqua);font:10px 'DM Mono'}.project-card b{display:block;margin:10px 0 6px}.project-card p{font-size:12px;color:var(--muted);margin:0}.editor{padding-top:55px}.hidden{display:none!important}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:20px}.panel h3{margin:0 0 18px;font-size:15px}.panel label:not(.file-drop){display:block;font-size:11px;color:var(--muted);margin-bottom:12px}.panel input,.panel textarea,.panel select{display:block;width:100%;margin-top:6px;background:#11131c;color:var(--text);border:1px solid var(--line);border-radius:8px;padding:11px;font:12px Manrope;outline:none}.panel textarea{resize:vertical}.file-drop{border:1px dashed #62667b;border-radius:12px;min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;cursor:pointer}.file-drop span{font-size:27px;color:var(--yellow)}.file-drop small,.muted{color:var(--muted);font-size:11px;line-height:1.6}.media-info{font-size:11px;color:var(--aqua);padding:12px 0;overflow-wrap:anywhere}.notice{background:#28283a;border-left:3px solid var(--orange);padding:12px;font-size:11px;line-height:1.6;color:#d5d5df;border-radius:4px}.timeline-panel{margin-top:14px}.timeline-head,.scene-row{display:grid;grid-template-columns:100px 190px 1fr 35px;gap:10px;align-items:center}.timeline-head{font-size:9px;color:var(--muted);padding:10px 0;border-bottom:1px solid var(--line)}.scene-row{padding:9px 0;border-bottom:1px solid var(--line)}.scene-row input,.scene-row select{min-width:0;width:100%;background:#11131c;color:white;border:1px solid var(--line);border-radius:7px;padding:9px;font:11px Manrope}.scene-row button{background:transparent;border:0;color:#ff9c69;font-size:18px;cursor:pointer}.timeline-footer{display:flex;justify-content:space-between;align-items:center;padding-top:16px}.engine-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.engine-grid article{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:18px;min-height:190px}.engine-num{font:11px 'DM Mono';color:var(--yellow);display:block;margin-bottom:22px}.engine-grid b{font-size:14px}.engine-grid p{font-size:11px;color:var(--muted);line-height:1.6}.engine-grid small{font-size:8px;color:var(--aqua)}footer{display:flex;justify-content:space-between;color:#777b8e;font-size:9px;padding:50px 0 25px}
@media(max-width:760px){.shell{padding:0 16px}.topbar{height:70px}.top-actions .status{display:none}.hero{padding:48px 0 30px}.hero-sticker{width:105px;height:105px}.hero-sticker strong{font-size:20px}.hero-sticker span,.hero-sticker small{font-size:7px}.mode-grid,.editor-grid{grid-template-columns:1fr}.mode-card{min-height:160px}.project-list{grid-template-columns:1fr}.engine-grid{grid-template-columns:1fr 1fr}.timeline-head{display:none}.scene-row{grid-template-columns:1fr 1fr}.scene-row input:last-of-type{grid-column:1/-1}.scene-row button{grid-column:2;justify-self:end}.section-head{align-items:flex-start}.head-actions{flex-wrap:wrap}.btn{padding:10px 11px}footer{font-size:8px}}


/* GPT-first production workflow */
.intro-panel h3,.panel h3{letter-spacing:-.03em}.intro-panel{border-color:#5a506a}.action-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.topic-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.topic-card{min-width:0}.topic-card h3{margin:8px 0}.topic-card .muted{overflow-wrap:anywhere}.audio-box{background:#11131c;border:1px solid var(--line);border-radius:10px;padding:13px;margin-top:14px}.audio-box>b{font-size:12px}.file-drop.compact{min-height:92px;margin-top:9px;padding:10px;text-align:center}.file-drop.compact span{font-size:21px}.file-drop.compact b{font-size:11px}.file-drop.video-audio{border-color:#5a9d98;background:#142321}.audio-status{padding:10px 0 0;overflow-wrap:anywhere}.topic-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.topic-actions .btn{font-size:10px}.deliver-row{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.pill{font-size:10px;color:var(--aqua);background:#23323a;padding:5px 8px;border-radius:20px}.notice{margin:15px 0}.media-info{overflow-wrap:anywhere}
@media(max-width:760px){.topic-grid{grid-template-columns:1fr}.topic-actions .btn{flex:1}.action-row .btn{flex:1}.hero{gap:12px}.hero p{max-width:100%}}


/* Single-topic audio cleanup workspace */
.field-label{display:block;font-size:12px;font-weight:700;color:var(--text);margin:15px 0 7px}.panel>input:not([type=range]),.panel>textarea,.panel>select{width:100%;display:block;background:#11131c;color:var(--text);border:1px solid var(--line);border-radius:9px;padding:13px;font:13px Manrope;outline:none;margin:0 0 12px}.panel>textarea{resize:vertical;line-height:1.65}.panel>input:focus,.panel>textarea:focus,.panel>select:focus{border-color:var(--aqua)}.action-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.audio-preview,.result-area audio{width:100%;margin-top:14px}.panel input[type=range]{width:100%;accent-color:var(--yellow);margin:10px 0}.range-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin-top:-4px;margin-bottom:15px}.panel>button:disabled{opacity:.45;cursor:not-allowed}.result-area{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.trim-stats{font-size:12px;color:var(--aqua);line-height:1.7;margin:12px 0}.result-area .btn{width:100%;margin-top:10px}.history{display:grid;gap:9px}.history-item{display:flex;flex-direction:column;gap:5px;padding:14px;background:var(--panel);border:1px solid var(--line);border-radius:10px}.history-item b{font-size:13px}.history-item span{font-size:10px;color:var(--muted)}.editor>.panel{margin-bottom:14px}.editor>.panel h3{margin-bottom:10px}.file-drop{margin:12px 0}.editor .notice{margin:18px 0}.editor .panel>.btn{margin-top:8px}
@media(max-width:760px){.editor>.panel{padding:17px}.field-label{font-size:12px}.action-row .muted{font-size:10px}.hero{align-items:flex-start}}

/* Single-topic Voice Studio */
.settings-panel{margin:12px 0 22px;border-color:#74648d}.settings-panel h3{margin:0 0 8px}.settings-panel input{width:100%;display:block;background:#11131c;color:var(--text);border:1px solid var(--line);border-radius:9px;padding:13px;font:13px Manrope;margin:6px 0 12px}.settings-panel .action-row{margin-top:8px}.editor>.panel{margin-bottom:14px}.step-label{display:flex;align-items:center;gap:13px;margin-bottom:18px}.step-label>span{width:34px;height:34px;border-radius:10px;background:var(--yellow);color:#171717;display:grid;place-items:center;font:700 13px 'DM Mono'}.step-label h3{margin:0!important}.step-label .eyebrow{margin-bottom:5px}.field-label{display:block;font-size:12px;font-weight:800;color:var(--text);margin:14px 0 7px}.field-label small{font-weight:400;color:var(--muted)}#topicTitle,#scriptText{display:block;width:100%;background:#11131c;color:var(--text);border:1px solid var(--line);border-radius:10px;padding:13px;font:13px Manrope;outline:none}#scriptText{line-height:1.7;resize:vertical;min-height:190px}#topicTitle:focus,#scriptText:focus,.settings-panel input:focus{border-color:var(--aqua)}.file-drop.compact{min-height:112px;padding:14px;margin:12px 0 6px;text-align:center}.file-drop.compact span{font-size:24px}.file-drop.compact b{font-size:12px}.media-info{font-size:11px;color:var(--aqua);padding:10px 0;overflow-wrap:anywhere}.action-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.btn-wide{width:100%;margin:8px 0}.audio-preview{display:block;width:100%;margin:14px 0}.progress-track{width:100%;height:10px;background:#303241;border-radius:20px;overflow:hidden;margin:14px 0}.progress-fill{width:0;height:100%;background:linear-gradient(90deg,#F7E34A,#85E8DF,#D9A5F5);transition:width .3s}.hidden{display:none!important}.result-preview{margin:15px 0;border-radius:12px;overflow:hidden;background:#090a10}.result-preview video{display:block;width:100%;max-height:70vh;background:#090a10}.trim-stats{font-size:12px;line-height:1.6;color:var(--aqua);margin:12px 0}.download-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.download-grid .btn:first-child{grid-column:1/-1}.history{display:grid;gap:9px}.history-item{display:flex;flex-direction:column;gap:5px;padding:14px;background:var(--panel);border:1px solid var(--line);border-radius:10px}.history-item b{font-size:13px}.history-item span{font-size:10px;color:var(--muted)}.notice{margin:16px 0}
@media(max-width:760px){.shell{padding:0 16px}.hero{gap:10px}.hero-sticker{width:100px;height:100px}.hero-sticker strong{font-size:19px}.mode-grid{grid-template-columns:1fr}.mode-card{min-height:155px}.editor>.panel{padding:17px}.download-grid{grid-template-columns:1fr}.download-grid .btn:first-child{grid-column:auto}.settings-panel .action-row>*{width:100%}.action-row .btn{flex:1}}
