:root{--ink:#172033;--muted:#667085;--line:#dfe3ea;--bg:#f5f6f8;--blue:#2256d8;--green:#16835d}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}.shell{width:min(1120px,calc(100% - 40px));margin:auto}button,input,textarea,select{font:inherit}.site-header{height:72px;background:rgba(255,255,255,.95);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5;backdrop-filter:blur(12px)}.header-inner,.header-meta,.brand{height:100%;display:flex;align-items:center}.header-inner{justify-content:space-between}.brand{gap:11px;text-decoration:none;color:var(--ink)}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--ink);color:#fff;font-size:11px}.brand strong,.brand small{display:block}.brand strong{font-size:14px}.brand small{font-size:11px;color:var(--muted)}.header-meta{gap:22px}.header-meta>a,.site-footer a{font-size:12px;font-weight:600;color:#475467;text-decoration:none}.status-indicator{display:flex;align-items:center;gap:7px;font-size:12px;color:#475467}.status-dot{width:7px;height:7px;border-radius:50%;background:#d29b22}.status-indicator.online .status-dot{background:var(--green)}.status-indicator.error .status-dot{background:#d04444}.page-layout{padding:76px 0 90px}.intro{max-width:760px;margin-bottom:43px}.eyebrow,.step-label{text-transform:uppercase;color:var(--blue);font-size:11px;font-weight:700;letter-spacing:.12em}.intro h1{font-size:clamp(38px,5vw,58px);line-height:1.05;letter-spacing:-.045em;margin:15px 0 18px}.intro p{color:#596275;font-size:18px;line-height:1.65;margin:0}.studio{background:#fff;border:1px solid #d9dee7;border-radius:14px;padding:36px;box-shadow:0 12px 35px #141e320d}.studio-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;padding-bottom:27px}.studio-heading>div{display:flex;align-items:center;gap:13px}.studio h2,.process-note h2{font-size:20px;letter-spacing:-.025em;margin:0}.studio-heading p{font-size:13px;color:var(--muted);margin:0}.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.upload-card{border:1px solid var(--line);border-radius:10px;padding:20px;transition:.2s}.upload-card.dragover{border-color:var(--blue);box-shadow:0 0 0 3px #2256d81a}.card-heading{display:flex;align-items:center;gap:12px;margin-bottom:17px}.card-heading h3{font-size:14px;margin:0}.card-heading p{font-size:11px;color:var(--muted);margin:2px 0 0}.field-icon{display:grid;place-items:center;width:36px;height:36px;background:#eef3ff;color:var(--blue);border-radius:8px;font-size:18px}.file-preview{position:relative;height:190px;border:1px dashed #ccd3de;border-radius:8px;background:#f8fafc;overflow:hidden;display:grid;place-items:center;margin-bottom:12px}.empty-preview{text-align:center}.empty-preview span,.empty-preview small{display:block}.empty-preview span{font-size:13px;font-weight:600;color:#475467}.empty-preview small{font-size:11px;color:#8991a0;margin-top:4px}.preview-media{width:100%;height:100%;object-fit:contain;background:#eef1f5}.preview-info{position:absolute;left:8px;right:8px;bottom:8px;display:flex;justify-content:space-between;gap:8px;background:#121926e8;color:white;padding:9px 11px;border-radius:6px}.preview-info span{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-info button{border:0;background:none;color:#fff;cursor:pointer}.audio-selected{width:100%;padding:20px}.audio-selected strong,.audio-selected small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audio-selected small{font-size:11px;color:var(--muted);margin:3px 0 15px}.audio-selected audio{width:100%;height:36px}.file-button{width:100%;height:40px;border:1px solid #cbd1db;background:#fff;border-radius:7px;font-size:12px;font-weight:600;cursor:pointer}.divider{display:flex;align-items:center;gap:14px;color:#8a93a2;font-size:11px;margin:28px 0}.divider:before,.divider:after{content:"";height:1px;background:var(--line);flex:1}.script-section{background:#f8fafc;border:1px solid var(--line);border-radius:10px;padding:20px}.script-header,.voice-row{display:flex;justify-content:space-between;gap:20px}.script-header{margin-bottom:12px}.script-header label,.voice-row label{font-size:13px;font-weight:600}.script-header p,.voice-row p{font-size:11px;color:var(--muted);margin:3px 0 0}.script-header>span{font-size:10px;color:#8b93a0}textarea{width:100%;min-height:120px;resize:vertical;border:1px solid #cdd3dd;border-radius:7px;padding:13px;background:#fff;outline:none;line-height:1.6}.voice-row{align-items:end;margin-top:14px}.voice-row>div{min-width:230px}.voice-row label{display:block;margin-bottom:6px}.voice-row select{width:100%;height:40px;border:1px solid #cdd3dd;border-radius:7px;background:white;padding:0 10px}.settings-block{border:1px solid var(--line);border-radius:10px;margin-top:18px;overflow:hidden}.options-toggle{width:100%;height:54px;padding:0 17px;border:0;background:white;display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;cursor:pointer}.chevron{transition:.2s}.options-content{display:none;border-top:1px solid var(--line);padding:6px 17px;background:#fbfcfd}.options-content.active{display:block}.check-row,.text-setting{display:flex;align-items:center;gap:12px;min-height:65px;border-bottom:1px solid #e7eaf0}.check-row input{accent-color:var(--blue)}.check-row span,.text-setting span{flex:1}.check-row strong,.check-row small,.text-setting strong,.text-setting small{display:block}.check-row strong,.text-setting strong{font-size:12px}.check-row small,.text-setting small{font-size:10px;color:var(--muted)}.text-setting{border:0}.text-setting input{width:130px;height:36px;border:1px solid #cdd3dd;border-radius:6px;padding:0 10px}.action-area{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px}.requirements{display:flex;gap:18px}.requirements span{font-size:11px;color:#8a93a2}.requirements .ready{color:var(--green);font-weight:600}.generate-btn{height:48px;min-width:210px;border:0;border-radius:8px;background:var(--blue);color:#fff;font-size:13px;font-weight:700;cursor:pointer}.generate-btn:disabled{background:#aeb6c3;cursor:not-allowed}.progress-section,.result-section{display:none;margin-top:28px;border-top:1px solid var(--line);padding-top:28px}.progress-section.active,.result-section.active{display:block}.progress-copy{display:flex;justify-content:space-between;font-size:12px;margin-bottom:10px}.progress-copy span{color:var(--muted)}.progress-bar{height:7px;background:#e9edf2;border-radius:8px;overflow:hidden}.progress-fill{height:100%;width:0;background:var(--blue);transition:.3s}.result-heading{display:flex;align-items:center;gap:12px}.result-heading h2{font-size:19px}.result-heading p{font-size:12px;color:var(--muted);margin:3px 0}.success-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e8f5ef;color:var(--green);font-weight:700}.video-player-container{margin:20px 0;background:#10141b;border-radius:9px;overflow:hidden}.video-player{display:block;width:100%;max-height:620px}.result-actions{display:flex;gap:10px;justify-content:flex-end}.result-actions button{height:42px;padding:0 18px;border-radius:7px;font-size:12px;font-weight:700;cursor:pointer}.download-btn{border:0;background:var(--blue);color:#fff}.secondary-btn{border:1px solid #cbd1db;background:#fff}.process-note{display:grid;grid-template-columns:45px 1fr;max-width:760px;gap:9px;margin:45px auto 0}.process-note p{font-size:13px;color:var(--muted);line-height:1.7}.site-footer{border-top:1px solid var(--line);background:#fff}.site-footer .shell{height:76px;display:flex;align-items:center;justify-content:space-between}.site-footer p{font-size:11px;color:#70798a}@media(max-width:760px){.shell{width:calc(100% - 28px)}.header-meta>a{display:none}.status-indicator span:last-child{display:none}.page-layout{padding:50px 0 65px}.intro h1{font-size:39px}.intro p{font-size:16px}.studio{padding:22px 16px}.studio-heading,.script-header,.voice-row,.action-area{display:block}.studio-heading p{margin-top:8px}.upload-grid{grid-template-columns:1fr}.voice-row>div{min-width:0}.voice-row p{margin-top:10px}.requirements{margin-bottom:15px;flex-wrap:wrap}.generate-btn{width:100%}.result-actions{flex-direction:column}.process-note{padding:0}.site-footer .shell{height:auto;padding:20px 0}}.audio-selected button{margin-top:10px;border:0;background:none;color:var(--blue);font-size:11px;font-weight:700;cursor:pointer}.form-error{display:none;margin-top:20px;padding:12px 14px;border:1px solid #f0c6c6;border-radius:8px;background:#fff4f4;color:#a83b3b;font-size:12px}.form-error.active{display:block}