:root{color-scheme:dark;--bg:#0d131b;--panel:#141d28;--line:#293442;--text:#e8edf5;--muted:#93a1b4;--accent:#d1bbff;--green:#8fd9c3;--gold:#e8c586;--red:#f4a0a0}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 'Segoe UI',system-ui,sans-serif}button,input,select,textarea{font:inherit}button,.button{border:1px solid #3a4657;border-radius:8px;color:var(--text);background:#202b39;padding:8px 13px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}button:hover,.button:hover{background:#2c394b;border-color:#657287}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.primary{background:var(--accent);color:#221933;border-color:var(--accent);font-weight:650}.primary:hover{background:#ddcdff;border-color:#ddcdff}.subtle{background:transparent;border-color:var(--line);color:#bdc9d7}.text-button{padding:3px 7px;border:0;background:transparent;color:var(--accent);font-size:12px}.text-button:hover{background:#30283c}input,select,textarea{background:#0f1721;color:var(--text);border:1px solid #364352;border-radius:7px;padding:8px 10px;min-width:0}input:focus,textarea:focus,select:focus{outline:1px solid var(--accent)}input[type=checkbox]{accent-color:#c5a9fd;width:15px;height:15px;vertical-align:middle;margin:0 6px 0 0}textarea{width:100%;resize:vertical}a{color:var(--accent)}[hidden]{display:none!important}.muted,small{color:var(--muted)}h1,h2,p{margin:0}h2{font-size:16px;font-weight:650}h1{font-size:30px;letter-spacing:-.7px;line-height:1.25}small{font-size:12px}.wide{width:100%}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:#101923;border-right:1px solid var(--line);padding:27px 18px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:9px;color:var(--text);font-size:22px;font-weight:720;text-decoration:none;margin-bottom:32px}.brand small{font-size:9px;letter-spacing:1.3px;color:var(--accent);margin-left:auto}.logo{color:var(--accent);font-size:29px}.side-title{font-size:10px;color:var(--muted);letter-spacing:1.6px;margin:30px 8px 12px;display:flex;justify-content:space-between}#projects{overflow:auto;flex:1}.project-item{display:block;width:100%;text-align:left;white-space:normal;background:transparent;border:1px solid transparent;margin:5px 0;padding:12px 10px}.project-item.active{background:#252439;border-color:#514466}.project-item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:550}.project-item small{display:flex;justify-content:space-between;font-size:10px;margin-top:6px}.sidebar-bottom{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.sidebar-bottom button{margin-top:16px;font-size:12px}.connection{font-size:12px;margin-bottom:4px}.connection i{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;margin-right:7px}main{margin-left:230px;padding:0 32px;max-width:2200px}.topbar{height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.topbar>div{display:flex;align-items:center;gap:18px}.pill{border:1px solid #3f4c50;border-radius:4px;padding:4px 7px;letter-spacing:.8px;font-size:9px;color:var(--green)}.eyebrow{font-size:10px;font-weight:600;color:var(--muted);letter-spacing:1.8px;margin-bottom:10px}.eyebrow span{color:#596b7e;font-size:9px;margin-left:10px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 0 20px}.heading>div:first-child{min-width:0}.heading h1{overflow-wrap:anywhere;max-width:1100px;font-size:26px}.heading p{color:var(--muted);margin-top:10px;font-size:12px}.actions,.controls{display:flex;align-items:center;gap:9px}.actions{flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}.statusline{display:flex;align-items:center;gap:12px;margin-bottom:22px;color:#b6c2d2;font-size:12px}.statusline .text-button{margin-left:auto}.status-badge{border-radius:5px;background:#273446;color:#b6cce5;padding:4px 9px;white-space:nowrap}.status-badge.done{background:#173a32;color:var(--green)}.status-badge.error,.status-badge.review{background:#442c2c;color:var(--red)}.panel{border:1px solid var(--line);background:var(--panel);border-radius:12px;margin-bottom:24px;overflow:hidden}.panel-heading{padding:18px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:15px}.count{font-weight:400;background:#2a3442;color:var(--muted);padding:1px 6px;border-radius:5px;margin-left:7px;font-size:11px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;font-weight:550;letter-spacing:.7px;color:var(--muted);padding:12px 20px;background:#111b26}td{padding:14px 20px;font-size:12px;border-top:1px solid #25303e;vertical-align:middle}td small{display:block;font-size:10px;margin-top:3px}tr.clickable{cursor:pointer}tr.clickable:hover{background:#202b39}tr.selected{background:#24283c}.language-name{display:flex;align-items:center;gap:11px;white-space:nowrap}.lang-code{background:#28323f;border-radius:6px;padding:6px;min-width:32px;text-align:center;font-size:10px;letter-spacing:.5px;color:#d0c2e5}.progress-row{display:flex;align-items:center;gap:10px;font-size:11px}.progress{height:5px;width:120px;background:#2c3745;border-radius:5px;overflow:hidden}.progress i{display:block;height:100%;background:var(--accent);transition:width .3s}.progress.done i{background:var(--green)}.tabs{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);margin:30px 0 22px}.tabs button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 0 14px;color:var(--muted);font-size:13px}.tabs button.active{color:var(--accent);border-color:var(--accent)}#usage{margin-left:auto;font-size:10px;color:var(--muted)}.transport{padding:14px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.play{background:var(--accent);color:#23182e;width:36px;height:34px}.clock{font:12px 'Consolas',monospace;margin:0 7px;color:var(--muted);min-width:122px}.clock b{color:var(--text);font-weight:500}.listen{display:flex;background:#0e1721;padding:3px;border-radius:7px}.listen button{background:transparent;border:0;font-size:11px;padding:5px 10px;color:var(--muted)}.listen button.active{background:#353047;color:#dccbff}.transport label{font-size:11px;color:var(--muted)}.transport select{font-size:11px}.timeline-shell{display:flex;background:#101822}.track-labels{width:140px;flex-shrink:0;border-right:1px solid var(--line);z-index:1;background:#141e29}.ruler-spacer{height:34px;border-bottom:1px solid var(--line)}.track-label{height:135px;padding:19px 15px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start;gap:7px;font-size:11px}.track-label small{font-size:9px}.badge{font-size:9px;border:1px solid #43606a;border-radius:3px;padding:1px 5px;color:var(--green)}.badge.target{border-color:#655482;color:var(--accent)}.timeline-scroll{overflow-x:auto;overflow-y:hidden;flex:1;min-width:0;scrollbar-color:#455267 #111923}#timeline{position:relative;min-width:100%;height:304px}.ruler{height:34px;position:relative;border-bottom:1px solid var(--line);cursor:crosshair}.ruler span{position:absolute;top:0;padding:8px 0 0 6px;border-left:1px solid #344051;color:var(--muted);font:10px 'Consolas',monospace;height:100%}.lane{height:135px;position:relative;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to right,transparent 0,transparent 99px,#202a36 100px)}.clip{position:absolute;top:14px;height:106px;border-radius:7px;padding:8px;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;min-width:6px;overflow:hidden;text-align:left;white-space:nowrap;font-size:11px;cursor:pointer;background:#2f2940;border:1px solid #6c5b8f;color:#d9c8f8}.clip.source{background:#17343d;border-color:#3c6470;color:#b4deda}.clip.adjusted{background:#3a3020;border-color:#8c7145;color:#efd097}.clip.slowed{background:#24362f;border-color:#54745a;color:#b5dfc1}.clip.review{background:#462930;border-color:#aa6271;color:#ffb7c0}.clip.selected{outline:2px solid #e9e9f3;outline-offset:0;z-index:2}.clip strong{overflow:hidden;text-overflow:ellipsis;font-weight:600}.clip svg{width:100%;height:42px;flex:1;min-height:20px;margin:6px 0;opacity:.72}.clip small{font:10px 'Consolas',monospace;color:inherit;opacity:.8}.ghost{position:absolute;top:8px;height:117px;border:1px dashed #42505f;border-radius:8px;pointer-events:none}.playhead{position:absolute;top:0;height:100%;width:1px;background:#f2e0be;z-index:5;pointer-events:none}.playhead i{display:block;position:absolute;left:-4px;width:9px;height:9px;background:#f2e0be;clip-path:polygon(0 0,100% 0,100% 50%,50% 100%,0 50%)}.legend{padding:12px 20px;display:flex;flex-wrap:wrap;gap:16px;font-size:10px;color:var(--muted)}.legend span:first-child{margin-right:auto}.legend i{display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:6px}.legend .natural{background:#ae98d1}.legend .adjusted{background:var(--gold)}.legend .slowed{background:var(--green)}.legend .review{background:var(--red)}.inspector h2 small{font-weight:400;margin-left:14px}.segment-tags{display:flex;flex-wrap:wrap;gap:7px;padding:14px 20px 0}.tag{font-size:10px;background:#2b3142;color:#c8c3d9;padding:4px 8px;border-radius:5px}.text-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:16px 20px 20px}.text-pair article{padding:15px 17px;border:1px solid var(--line);border-radius:8px;background:#111b25}.text-pair article:first-child{border-top:2px solid #608d8b}.text-pair article:last-child{border-top:2px solid #a38cb8}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;margin-bottom:10px}.text-pair p{font-size:15px;line-height:1.7;margin-bottom:16px;white-space:pre-wrap}.text-pair small{font-size:10px}.inspector details{margin:0 20px;padding:14px 0;border-top:1px solid var(--line)}summary{cursor:pointer;font-size:12px;color:#c4cfdf}details[open]>summary{margin-bottom:14px}details p{margin:10px 0}details .controls{justify-content:space-between;margin:10px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#0c151f;padding:14px;border-radius:7px;font:11px/1.7 'Consolas',monospace;color:#a4b9ca}.version{display:flex;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);align-items:center}.version>div{flex:1;font-size:12px}.version small{display:block;font-size:10px}.segments-panel td{vertical-align:top}.segments-panel td:nth-child(2),.segments-panel td:nth-child(3){width:30%;line-height:1.6}.segments-panel th:first-child{width:95px}.segments-panel td:last-child{font-size:10px;color:#bfaed4;min-width:150px}.segments-panel input{font-size:11px;width:200px}.segments-panel select{font-size:11px}.empty{text-align:center;padding:50px 20px;color:var(--muted);font-size:13px}.panel-note{padding:15px 20px;color:var(--muted);font-size:12px}.panel-note button{margin-right:12px}.log-list{max-height:620px;overflow:auto;padding:0 20px 20px}.log-line{padding:10px 0;border-bottom:1px solid #28313f;font-size:12px;display:grid;grid-template-columns:65px 65px 95px 1fr;gap:12px}.log-line time{color:var(--muted);font:11px Consolas,monospace}.log-line .level{font:10px Consolas,monospace;color:var(--green)}.log-line.warning .level{color:var(--gold)}.log-line.error .level{color:var(--red)}.log-line details{grid-column:4}.log-line summary{font-size:10px}.log-stage{color:#aea0c7;font-size:11px}.file-list{padding:0 20px 20px;max-height:650px;overflow:auto}.file-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #273343;font:11px Consolas,monospace}.file-row a{overflow-wrap:anywhere}.file-row span{color:var(--muted);white-space:nowrap}footer{color:#586b7f;font-size:10px;display:flex;justify-content:space-between;gap:20px;padding:26px 0 30px}.welcome{padding:9vh 5vw;min-height:70vh;background:radial-gradient(ellipse at 65% 40%,#30253e50,transparent 60%)}.welcome h1{font-size:clamp(40px,5vw,70px);line-height:1.13;letter-spacing:-2px;margin:25px 0}.welcome em{font-style:normal;color:var(--accent)}.welcome p{color:#aeb9c9;font-size:16px;line-height:1.8;margin-bottom:30px}.welcome-flow{display:flex;gap:40px;margin-top:70px;font:12px Consolas,monospace;color:#816b9c}.welcome-flow b{font:12px 'Segoe UI',sans-serif;color:#a2aec0;margin-left:10px}dialog{background:#151e2a;border:1px solid #48516a;border-radius:15px;color:var(--text);width:760px;max-width:calc(100vw - 40px);max-height:90vh;padding:26px;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#050910b8;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.dialog-heading h2{font-size:22px}.close-dialog{border:0;background:transparent;padding:0 5px;font-size:26px;color:var(--muted)}#drop-zone{border:1px dashed #665879;border-radius:10px;background:#222137;text-align:center;padding:22px;display:flex;flex-direction:column;align-items:center;gap:5px;cursor:pointer;outline-offset:3px}#drop-zone.dragging{border-color:var(--accent);background:#38304c}#drop-zone span:not(.drop-icon){color:var(--muted);font-size:11px}.drop-icon{font-size:30px;color:var(--accent)}#drop-zone strong{font-size:14px}.pending-file{display:flex;align-items:center;gap:12px;background:#1c2b37;border-radius:7px;margin-top:7px;padding:9px 12px;font-size:12px}.pending-file span{overflow-wrap:anywhere;flex:1}.pending-file small{white-space:nowrap}.pending-file button{border:0;background:transparent;padding:2px 5px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0}.form-row label,.block-label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}.language-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;max-height:195px;overflow:auto;padding:3px 3px 8px}.language-option{border:1px solid #34404e;background:#19232f;border-radius:7px;padding:9px 7px;font-size:12px;cursor:pointer}.language-option:has(input:checked){border-color:#8f79b0;background:#302b40}.language-option input{width:12px;height:12px}.preset-tools{display:flex;gap:8px;margin:12px 0 20px}.preset-tools input{flex:1;font-size:12px}.preset-tools button{font-size:11px}.checkbox-row{display:flex;flex-direction:column;gap:12px;margin:18px 0;font-size:12px}.rights{font-size:11px;line-height:1.7;display:block;margin:20px 0;color:#a9b6c7}.dialog-footer{border-top:1px solid var(--line);padding-top:20px;margin-top:22px;display:flex;justify-content:space-between;align-items:center;gap:20px}.dialog-footer small{font-size:10px}.block-label{margin:16px 0}.folder-example{background:#101925;padding:18px;border-radius:8px;font:12px/2 Consolas,monospace;margin:20px 0;color:#a6b9c9}.folder-example b{color:#d7c7ef;font-weight:400}.issue{background:#402a2a;border:1px solid #875558;color:#f0b3b3;border-radius:7px;padding:12px 16px;font-size:12px;overflow-wrap:anywhere;margin:12px 20px}#new-error{margin:12px 0}#error{padding:14px 18px;background:#432b31;border-radius:8px;margin:16px 0;color:#ffc0cb;font-size:13px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#e2d6f4;color:#231931;padding:12px 22px;border-radius:8px;box-shadow:0 8px 30px #0007;z-index:100;font-size:13px;max-width:80vw}body.dragging::after{content:'Отпустите аудиофайлы, чтобы создать проекты';position:fixed;inset:20px;border:2px dashed var(--accent);border-radius:20px;background:#17172fee;display:grid;place-items:center;font-size:24px;z-index:1000;pointer-events:none}@media(min-width:1600px){main{padding:0 48px}.sidebar{width:250px}main{margin-left:250px}.heading h1{font-size:30px}.panel-heading{padding:20px 24px}}@media(max-width:1150px){.sidebar{width:195px;padding:22px 12px}main{margin-left:195px;padding:0 20px}.brand small{display:none}.heading{display:block}.actions{justify-content:flex-start;margin-top:18px}.tabs{gap:14px}#usage{display:none}.track-labels{width:110px}.track-label{padding:18px 10px}.topbar .pill{display:none}.panel-heading>.muted{font-size:10px}th,td{padding:12px 14px}.progress{width:80px}}@media(max-width:780px){.sidebar{position:static;width:auto;padding:12px 18px;display:block}.brand{margin:0}.sidebar>.wide,.side-title,.sidebar-bottom,#projects{display:none}main{margin:0;padding:0 14px}.topbar{height:55px}.heading h1{font-size:21px}.text-pair{grid-template-columns:1fr}.panel-heading{flex-wrap:wrap}.transport{flex-wrap:wrap;gap:12px}.track-labels{width:85px}.track-label small{display:none}.language-grid{grid-template-columns:repeat(3,1fr)}.preset-tools{flex-wrap:wrap}.tabs{gap:12px}.tabs button{font-size:11px}.segments-panel input{width:150px}.welcome{padding:40px 10px}.welcome-flow{gap:14px}.welcome-flow span{display:flex;flex-direction:column}.welcome-flow b{margin:7px 0 0}.log-line{grid-template-columns:50px 45px 1fr;gap:8px}.log-stage{display:none}.log-line details{grid-column:3}footer span:last-child{display:none}}
