@font-face{font-family:Roboto Condensed;font-weight:400;font-display:swap;src:url(/fonts/poster/roboto-condensed-latin-400-normal.woff)format("woff");unicode-range:U+??,U+2000-206F,U+20AC,U+2122}@font-face{font-family:Roboto Condensed;font-weight:400;font-display:swap;src:url(/fonts/poster/roboto-condensed-cyrillic-400-normal.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Condensed;font-weight:400;font-display:swap;src:url(/fonts/poster/roboto-condensed-cyrillic-ext-400-normal.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F}@font-face{font-family:Roboto Condensed;font-weight:700;font-display:swap;src:url(/fonts/poster/roboto-condensed-latin-700-normal.woff)format("woff");unicode-range:U+??,U+2000-206F,U+20AC,U+2122}@font-face{font-family:Roboto Condensed;font-weight:700;font-display:swap;src:url(/fonts/poster/roboto-condensed-cyrillic-700-normal.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Condensed;font-weight:700;font-display:swap;src:url(/fonts/poster/roboto-condensed-cyrillic-ext-700-normal.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F}:root{--night:#05276f;--brand:#12489a;--gold:#d4a64a;--gold-soft:#f2c14e;--ink:#0a224e;--muted:#52627a;--line:#d9e2f0;--paper:#eef4fb;--surface:#fff;--danger:#c0392b;--ok:#1f7a3d;--top-h:56px;--bar-h:68px;color:var(--ink);-webkit-text-size-adjust:100%;font-family:Roboto Condensed,system-ui,-apple-system,Segoe UI,sans-serif;font-size:16px}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--paper);overscroll-behavior:none}button,input,textarea{font:inherit;color:inherit}h1,h2,p{margin:0}.app{flex-direction:column;height:100dvh;min-height:100%;display:flex}.top{height:var(--top-h);padding:0 16px;padding-left:max(16px, env(safe-area-inset-left));padding-right:max(16px, env(safe-area-inset-right));background:linear-gradient(90deg, #041d55, var(--night) 55%, #0a358c);color:#fff;flex:none;align-items:center;gap:12px;display:flex}.top-logo{width:auto;height:34px}.top-rule{background:#ffffff73;width:1px;height:22px}.top-title{letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;font-size:17px}.top-close{color:#fff;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #fff6;border-radius:999px;margin-left:auto;padding:8px 14px;font-size:15px}.top-close:hover{border-color:var(--gold-soft);color:var(--gold-soft)}.workspace{flex:1;grid-template:"stage side"minmax(0,1fr)"bar bar"/minmax(0,1fr) 400px;min-height:0;display:grid}.stage{background:radial-gradient(circle at 20% 15%, #12489a1a, transparent 55%), radial-gradient(circle at 85% 90%, #d4a64a1f, transparent 50%), var(--paper);grid-area:stage;justify-content:center;align-items:center;min-height:0;padding:24px;display:flex}.side{background:var(--surface);border-left:1px solid var(--line);flex-direction:column;grid-area:side;min-height:0;display:flex}.preview{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.preview-frame{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:10px;flex:none;position:relative;overflow:hidden;box-shadow:0 18px 50px #05276f47,0 2px 6px #05276f2e}.preview-frame:active{cursor:grabbing}.preview-layer{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.preview-picture{object-fit:cover;object-position:center}.preview-error{background:repeating-linear-gradient(45deg,#c0392b1f 0 12px,#0000 12px 24px);position:absolute;inset:0}.controls{flex-direction:column;flex:1;min-height:0;display:flex}.tabs{border-bottom:1px solid var(--line);flex:none;grid-template-columns:repeat(4,1fr);display:grid}.tab{color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:14px 4px 12px;font-size:16px}.tab.on{color:var(--brand);border-bottom-color:var(--gold);font-weight:700}.panel{-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;gap:16px;min-height:0;padding:16px;display:flex;overflow-y:auto}.field{flex-direction:column;gap:6px;display:flex}.field-label,.group-label{color:var(--muted);letter-spacing:.02em;font-size:14px}.group{flex-direction:column;gap:8px;display:flex}.input{border:1px solid var(--line);resize:vertical;background:#fff;border-radius:10px;width:100%;padding:10px 12px;font-size:16px;line-height:1.35}.input:focus{border-color:var(--brand);outline:none;box-shadow:0 0 0 3px #12489a29}.input:disabled{background:#f4f6fa}.hint{color:var(--muted);font-size:13.5px;line-height:1.35}.link{color:var(--brand);cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:0;font-size:14.5px;text-decoration:underline}.stack{flex-wrap:wrap;gap:8px;display:flex}.segments{grid-auto-columns:1fr;grid-auto-flow:column;gap:6px;display:grid}.segment,.format,.cell{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:10px}.segment{padding:10px 6px;font-size:15px}.segment.on,.format.on,.cell.on{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand);background:#12489a14}.formats{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.format{flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;min-height:78px;padding:8px 2px 6px;display:flex}.format-shape{border:2px solid var(--brand);border-radius:3px;margin-bottom:2px}.format-name{text-align:center;font-size:13.5px;line-height:1.1}.format-ratio{color:var(--muted);font-size:12px}.grid9,.grid6{grid-template-columns:repeat(3,1fr);gap:6px;max-width:220px;display:grid}.cell{height:44px;position:relative}.cell-mark{background:var(--brand);border-radius:2px;width:46%;height:4px;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 -8px #12489a59,0 8px #12489a59}.cell-mark.mark-left{left:14%}.cell-mark.mark-center{left:27%}.cell-mark.mark-right{right:14%}.cell-dot{background:var(--brand);border-radius:3px;width:14px;height:10px;position:absolute}.cell-dot.top-left,.cell-dot.top-center,.cell-dot.top-right{top:7px}.cell-dot.bottom-left,.cell-dot.bottom-center,.cell-dot.bottom-right{bottom:7px}.cell-dot.top-left,.cell-dot.bottom-left{left:8px}.cell-dot.top-right,.cell-dot.bottom-right{right:8px}.cell-dot.top-center,.cell-dot.bottom-center{left:calc(50% - 7px)}.colors{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.swatch{cursor:pointer;border:1px solid #0a224e38;border-radius:50%;width:34px;height:34px}.swatch.on{box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--brand)}.swatch-input{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;width:42px;height:36px;padding:0}.slider{width:100%;height:28px;accent-color:var(--brand)}.btn{cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;min-height:44px;padding:10px 18px;font-size:16px;text-decoration:none;display:inline-flex}.btn.primary{background:linear-gradient(180deg, #1b5bc0, var(--brand));color:#fff;font-weight:700}.btn.ghost{border-color:var(--line);color:var(--brand);background:#fff}.btn.ghost.danger{color:var(--danger)}.btn:disabled{opacity:.45;cursor:default}.bar{min-height:var(--bar-h);padding:10px 16px;padding-bottom:max(10px, env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);grid-area:bar;align-items:center;gap:12px;display:flex}.bar-status{flex:1;min-width:0;font-size:15px}.bar-actions{gap:8px;display:flex}.note{color:var(--ink);flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.note.ok{color:var(--ok)}.note.error{color:var(--danger)}.note.muted{color:var(--muted)}.notice{border-radius:10px;padding:10px 12px;font-size:14.5px;line-height:1.35}.notice.warn{color:#7a5200;background:#fff6e0}.working{color:var(--brand);align-items:center;gap:10px;display:inline-flex}.spinner{border:3px solid #12489a33;border-top-color:var(--brand);border-radius:50%;width:34px;height:34px;animation:.8s linear infinite spin}.spinner.small{border-width:2px;flex:none;width:18px;height:18px}@keyframes spin{to{transform:rotate(360deg)}}.center{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;padding:32px 24px;display:flex}.center h1{color:var(--night);font-size:26px}.center p{max-width:440px;color:var(--muted);font-size:17px;line-height:1.45}.backdrop{z-index:10;background:#04143c80;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.dialog{background:#fff;border-radius:18px;flex-direction:column;gap:14px;width:100%;max-width:440px;padding:22px;display:flex;box-shadow:0 24px 60px #04143c59}.dialog h2{color:var(--night);font-size:21px}.dialog p{color:var(--muted);font-size:15.5px;line-height:1.4}.dialog-actions{justify-content:flex-end;gap:8px;display:flex}@media (max-width:860px){.workspace{grid-template:"stage"minmax(190px,42dvh)"side"minmax(0,1fr)"bar"/minmax(0,1fr)}.stage{padding:12px}.side{border-left:0;border-top:1px solid var(--line)}.top-title{font-size:15px}.top-logo{height:30px}.bar{padding:8px 12px;padding-bottom:max(8px, env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px}.bar-status{flex-basis:100%;font-size:14px}.bar-status:empty{display:none}.bar-actions{width:100%}.bar-actions .btn{flex:1;padding:10px 8px;font-size:15px}.bar-actions .btn.primary{flex:1.2}}@media (max-width:400px){.top-rule,.top-title{display:none}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:2.4s}}.voice-stage{align-items:flex-start;overflow-y:auto}.voice-board{flex-direction:column;gap:16px;width:100%;max-width:860px;display:flex}.transport{align-items:center;gap:14px;display:flex}.transport .btn{min-width:120px}.transport-time{font-variant-numeric:tabular-nums;color:var(--ink);font-size:18px}.timeline{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:10px;padding:16px;display:flex;box-shadow:0 10px 30px #0a224e14}.track{grid-template-columns:104px minmax(0,1fr);align-items:center;gap:12px;display:grid}.track-name{color:var(--muted);font-size:14.5px}.track-lane{cursor:pointer;background:#edf2f9;border-radius:10px;height:38px;position:relative;overflow:hidden}.clip{border-radius:7px;min-width:3px;position:absolute;top:4px;bottom:4px;box-shadow:inset 0 0 0 1px #ffffff59}.clip.speech{background:linear-gradient(180deg, #2a6bd0, var(--brand))}.clip.recording{background:linear-gradient(#17988c,#0f766e)}.clip.music{background:linear-gradient(180deg, var(--gold-soft), var(--gold))}.playhead{background:var(--danger);pointer-events:none;width:2px;margin-left:-1px;position:absolute;top:0;bottom:0}.card{border:1px solid var(--line);background:#fff;border-radius:14px;flex-direction:column;gap:12px;padding:14px;display:flex}.card-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.card-title{font-size:17px;font-weight:700}.card-meta{color:var(--muted);font-variant-numeric:tabular-nums;font-size:14px}.row3{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:8px;display:grid}.row3 .input{padding:9px 8px}select.input{appearance:auto;resize:none}.check{cursor:pointer;align-items:center;gap:10px;min-height:32px;font-size:15.5px;display:flex}.check input{width:20px;height:20px;accent-color:var(--brand)}.btn.off{opacity:.45;pointer-events:none}.rec-now{width:100%;color:var(--danger);font-variant-numeric:tabular-nums;align-items:center;gap:8px;font-size:16px;display:inline-flex}.rec-dot{background:var(--danger);border-radius:50%;width:10px;height:10px;animation:1.1s ease-in-out infinite rec-pulse}@keyframes rec-pulse{50%{opacity:.25}}@media (max-width:860px){.workspace[data-kind=voice]{grid-template-rows:auto minmax(0,1fr) auto}.voice-stage{padding:12px}.voice-board{gap:10px}.timeline{gap:7px;padding:10px}.track{grid-template-columns:84px minmax(0,1fr);gap:8px}.track-lane{height:30px}.transport .btn{min-height:40px;padding:8px 14px}}@media (prefers-reduced-motion:reduce){.rec-dot{animation:none}}
