@font-face{font-family:Onest;src:url('assets/fonts/onest-cyrillic.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Onest;src:url('assets/fonts/onest-latin.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+2010-2027,U+2030-2039,U+2122,U+2190-2193,U+2212}
@font-face{font-family:Unbounded;src:url('assets/fonts/unbounded-cyrillic.woff2') format('woff2');font-weight:200 900;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Unbounded;src:url('assets/fonts/unbounded-latin.woff2') format('woff2');font-weight:200 900;font-display:swap;unicode-range:U+0000-00FF,U+2010-2027,U+2030-2039,U+2122,U+2190-2193,U+2212}
:root{--bg:#141415;--nav:#18191b;--panel:#1e1f22;--raised:#27292d;--line:#33353b;--text:#eef1f2;--muted:#a9b0b5;--soft:#8a9197;--button:#f3f5f6;--button-ink:#141415;--good:#90caa2;--error:#ffa4a4;--rainbow:linear-gradient(90deg,#ff0008 0 20%,#ff7401 20% 40%,#34ba47 40% 60%,#0083ce 60% 80%,#9171ff 80%);color-scheme:dark}
:root[data-theme=light]{--bg:#f4f5f6;--nav:#fff;--panel:#fff;--raised:#eceef1;--line:#d8dce0;--text:#1c1e22;--muted:#575e67;--soft:#656d77;--button:#1c1e22;--button-ink:#fff;--good:#287941;--error:#a22727;color-scheme:light}
*{box-sizing:border-box}
body{margin:0;padding-top:env(safe-area-inset-top);background:var(--bg);color:var(--text);font:400 16px/1.55 Onest,system-ui,sans-serif}
button,input,select{font:inherit;color:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{color:inherit}
button:disabled{opacity:.55;cursor:wait}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--text);outline-offset:4px}
[hidden]{display:none!important}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.skip{position:fixed;top:-80px;left:20px;z-index:20;background:var(--button);color:var(--button-ink);padding:12px}
.skip:focus{top:10px}
.rainbow{height:4px;background:var(--rainbow);position:relative;z-index:2}
.app-shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:calc(100vh - 4px)}
.sidebar{background:var(--nav);border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:calc(100vh - 4px)}
.brand{display:flex;gap:13px;align-items:center;text-decoration:none}
.brand-mark{width:48px;height:48px;display:grid;place-items:center;background:var(--raised);border-radius:13px;position:relative;overflow:hidden}
.brand-mark:before{display:none}
.brand-mark img{height:100%;width:100%;display:block}
[data-theme=light] .brand-mark img,[data-theme=light] .phone-art img{filter:none}
.brand b{font:650 24px/1.1 Unbounded,system-ui,sans-serif;letter-spacing:-1px}
.brand small{display:block;font-size:11px;color:var(--muted);margin-top:5px}
.brand-caption{font-size:13px;color:var(--muted);margin:22px 0 30px}
.navigation{display:flex;flex-direction:column;gap:8px}
.nav-item{display:flex;gap:11px;align-items:center;border:0;text-align:left;border-radius:12px;background:none;padding:13px 12px;color:var(--muted);font-size:14px;min-height:48px}
.nav-item.active{background:var(--raised);color:var(--text)}
.nav-item:hover{color:var(--text);background:var(--raised)}
.count{font-size:11px;padding:1px 6px;border:1px solid var(--line);border-radius:6px;margin-left:auto}
.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--soft)}
.sidebar-bottom a{text-decoration:none}
.workspace{min-width:0;display:flex;flex-direction:column}
.topbar{min-height:87px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 42px}
.page-context{font-size:13px;color:var(--muted)}
.topbar-actions{display:flex;align-items:center;gap:18px}
.connection{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px}
.connection i{width:6px;height:6px;border-radius:50%;background:var(--soft)}
.connection.online i{background:var(--good)}
.icon-button{display:grid;place-items:center;width:42px;height:42px;background:var(--raised);border:1px solid var(--line);border-radius:12px}
.install-button{display:flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:none;font-size:13px;min-height:42px}
main{width:100%;max-width:1360px;margin:0 auto;padding:42px 42px 26px;flex:1}
.heading{margin:0 0 30px}
h1{font:600 clamp(27px,3vw,42px)/1.2 Unbounded,system-ui,sans-serif;letter-spacing:-1.5px;margin:0 0 12px}
.heading p{margin:0;color:var(--muted);font-size:17px}
h2{font-size:19px;line-height:1.35;font-weight:600;margin:0}
h3{font-size:16px;line-height:1.4;margin:0;font-weight:600}
.download-layout{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:28px;align-items:start}
.download-main{min-width:0}
.url-panel{background:var(--panel);padding:28px;border:1px solid var(--line);border-radius:24px;position:relative;overflow:hidden}
.url-panel:before{content:'';position:absolute;inset:0 0 auto;height:3px;background:var(--rainbow)}
.panel-heading{display:flex;align-items:center;gap:12px;margin-bottom:27px}
.round-icon{width:38px;height:38px;border:1px solid var(--line);border-radius:11px;display:grid;place-items:center;flex-shrink:0}
label{display:block;font-size:13px;color:var(--muted);margin-bottom:9px}
.url-input{position:relative;margin-bottom:15px}
.url-input input{width:100%;height:60px;border:1px solid var(--line);background:var(--bg);border-radius:12px;padding:0 54px 0 17px;font-size:16px}
.url-input input::placeholder{color:var(--soft)}
.url-input button{position:absolute;right:8px;top:9px;width:42px;height:42px;display:grid;place-items:center;background:none;border:0;border-radius:8px;color:var(--muted)}
.url-input button:hover{background:var(--raised);color:var(--text)}
.button{display:flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;border:1px solid transparent;padding:13px 20px;border-radius:12px;min-height:50px;line-height:1.35;font-size:15px;font-weight:600;transition:transform .2s,background .2s}
.button:hover{transform:translateY(-1px)}
.primary{background:var(--button);color:var(--button-ink)}
#url-form>.button,#format-form>.button{width:100%}
.secondary{background:transparent;color:var(--text);border-color:var(--line)}
.secondary:hover{background:var(--raised)}
.supported{border-top:1px solid var(--line);margin-top:27px;padding-top:20px;color:var(--muted);font-size:12px}
.supported>span{display:block;margin-bottom:10px}
.supported>div{display:flex;flex-wrap:wrap;gap:7px}
.supported>div span{border:1px solid var(--line);padding:4px 9px;border-radius:6px;color:var(--text);font-size:11px}
.supported small{font-size:11px;display:block;margin-top:12px;color:var(--soft)}
.status-message{font-size:13px;line-height:1.5;border:1px solid var(--line);padding:12px 14px;border-radius:10px;margin-top:16px;overflow-wrap:anywhere}
.status-message.error{color:var(--error)}
.status-message.busy{color:var(--muted);display:flex;gap:9px;align-items:center}
.status-message.busy:before{content:'';width:14px;height:14px;flex-shrink:0;border:2px solid var(--line);border-top-color:var(--text);border-radius:50%;animation:spin .9s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.iphone-panel{background:var(--panel);border:1px solid var(--line);border-radius:24px;padding:25px 24px;text-align:center}
.phone-art{width:102px;height:170px;border:2px solid var(--soft);border-radius:23px;position:relative;margin:0 auto 25px;background:var(--bg);display:grid;place-items:center;transform:rotate(-7deg);box-shadow:13px 14px 0 var(--raised)}
.phone-speaker{position:absolute;top:8px;width:34px;height:7px;border-radius:5px;background:var(--raised)}
.phone-art img{height:64px;width:64px;border-radius:15px}
.phone-bar{position:absolute;left:12px;right:12px;bottom:15px;height:5px;display:flex;gap:4px}
.phone-bar span{flex:1;border-radius:3px;background:var(--line)}
.phone-bar span:first-child{background:var(--rainbow)}
.iphone-panel h2{font-size:19px}
.iphone-panel p{font-size:13px;color:var(--muted);line-height:1.65;margin:12px 0 20px}
.iphone-panel .button{font-size:13px;min-height:44px;padding:10px}
.test-panel{display:flex;align-items:flex-start;gap:13px;padding:25px 3px 20px}
.test-icon{width:31px;height:31px;border:1px solid var(--line);display:grid;place-items:center;border-radius:9px;flex-shrink:0}
.test-icon .icon{height:17px;width:17px}
.test-panel p{color:var(--muted);font-size:12px;line-height:1.7;margin:8px 0 11px}
.text-button{background:none;border:0;padding:3px 0;color:var(--text);font-size:12px;text-align:left;line-height:1.5;min-height:30px;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--line)}
.text-button:hover{text-decoration-color:var(--text)}
.source-note{margin:0;border-top:1px solid var(--line);padding-top:17px;color:var(--soft);font-size:11px;line-height:1.65}
.recent-panel{margin-top:30px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}
.section-heading h2{font-size:17px}
.empty-state{padding:27px 20px;text-align:center;border:1px dashed var(--line);border-radius:15px;color:var(--muted)}
.empty-state>.icon{margin:0 auto 10px;color:var(--soft)}
.empty-state p{font-size:13px;margin:0 0 4px}
.empty-state small{font-size:12px;color:var(--soft)}
.result-panel{margin-top:22px;background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:24px}
.result-summary{display:flex;align-items:center;gap:16px;margin-bottom:22px;min-width:0}
.result-summary>div:last-child{min-width:0}
.video-symbol{position:relative;overflow:hidden;background:var(--raised);width:64px;height:64px;border-radius:14px;flex-shrink:0;display:grid;place-items:center}
.media-thumbnail{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.video-symbol.has-thumbnail{width:128px;height:76px;border-radius:11px}
.job-icon.has-thumbnail{width:72px;height:44px;border-radius:8px}
.result-summary h2{font-size:16px;overflow-wrap:anywhere}
.muted{font-size:12px;color:var(--muted);margin:4px 0}
.result-warnings{color:var(--muted);font-size:12px;border-left:2px solid var(--soft);padding:2px 0 2px 12px;margin-bottom:18px}
select{width:100%;min-height:48px;border:1px solid var(--line);background:var(--bg);border-radius:10px;padding:9px 12px;font-size:14px;margin-bottom:13px}
.job-list{display:flex;flex-direction:column;gap:10px}
.job-card{padding:17px;background:var(--panel);border:1px solid var(--line);border-radius:14px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:13px}
.job-icon{position:relative;overflow:hidden;flex-shrink:0;width:40px;height:40px;border-radius:10px;background:var(--raised);display:grid;place-items:center}
.job-title{margin:0 0 4px;font-size:14px;font-weight:550;overflow-wrap:anywhere}
.job-meta{margin:0;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.job-meta.error{color:var(--error)}
.job-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}
.job-actions .button{padding:8px 13px;min-height:39px;border-radius:8px;font-size:12px}
.job-actions .icon{width:16px;height:16px}
.progress-track{height:4px;border-radius:4px;background:var(--line);margin-top:12px;overflow:hidden}
.progress-fill{height:100%;background:var(--rainbow);transition:width .5s}
.progress-fill.indeterminate{width:35%;animation:indeterminate 2s ease-in-out infinite}
@keyframes indeterminate{0%{transform:translateX(-100%)}100%{transform:translateX(400%)}}
.library-note{border-left:2px solid var(--soft);padding:6px 0 6px 17px;font-size:14px;color:var(--muted);margin:0 0 25px}
.steps{counter-reset:step;list-style:none;margin:0 0 30px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.steps li{counter-increment:step;border-top:1px solid var(--line);padding:22px 0}
.steps li:before{content:counter(step);font:500 32px/1 Unbounded,sans-serif;color:var(--soft);display:block;margin-bottom:20px}
.steps h2{font-size:17px}
.steps p,.help-details p{font-size:14px;color:var(--muted);line-height:1.7}
.help-details{max-width:840px}
.help-details>h2{margin-bottom:18px}
details{border-bottom:1px solid var(--line);padding:18px 0}
summary{cursor:pointer;font-size:15px;padding-right:15px}
details p{margin-bottom:0}
.app-footer{display:flex;justify-content:space-between;gap:15px;color:var(--soft);font-size:11px;padding:20px 42px 25px}
dialog{color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:24px;padding:32px;max-width:460px;width:calc(100% - 32px);max-height:calc(100dvh - 50px);overflow:auto}
dialog::backdrop{background:rgba(0,0,0,.7);backdrop-filter:blur(5px)}
.dialog-close{position:absolute;right:18px;top:18px;width:34px;height:34px}
dialog>.round-icon{margin-bottom:24px}
dialog h2{font:500 20px/1.4 Unbounded,sans-serif;margin-bottom:16px;max-width:320px}
dialog p,dialog ol{font-size:14px;line-height:1.7;color:var(--muted)}
dialog ol{padding-left:22px}
dialog li{padding:5px 0 5px 4px}
.dialog-note{border-top:1px solid var(--line);padding-top:17px;font-size:12px}
.toast{position:fixed;z-index:10;bottom:30px;left:50%;transform:translateX(-50%);background:var(--button);color:var(--button-ink);padding:13px 20px;border-radius:12px;font-size:13px;max-width:calc(100% - 32px);box-shadow:0 4px 30px #0003}
@media(min-width:1550px){main{padding-top:55px}.download-layout{grid-template-columns:minmax(0,1fr) 310px;gap:35px}.url-panel{padding:35px}.iphone-panel{padding:32px}}
@media(max-width:1160px){.app-shell{grid-template-columns:212px minmax(0,1fr)}.sidebar{padding:26px 15px}.topbar{padding-inline:28px}main{padding:32px 28px}.download-layout{grid-template-columns:minmax(0,1fr) 225px;gap:20px}.url-panel{padding:22px}.iphone-panel{padding:23px 17px}.topbar-actions{gap:12px}.page-context{display:none}.topbar{justify-content:flex-end}.app-footer{padding-inline:28px}.brand small{font-size:10px}}
@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{height:auto;position:static;padding:18px 28px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{width:max-content}.brand-mark{width:40px;height:44px}.brand-mark img{height:31px}.brand b{font-size:21px}.brand-caption,.sidebar-bottom{display:none}.navigation{flex-direction:row;margin:18px 0 0;gap:12px}.nav-item{border-radius:10px 10px 0 0;padding:11px 14px}.topbar{min-height:70px;justify-content:space-between}.page-context{display:block}.download-layout{grid-template-columns:minmax(0,1fr) 225px}.steps{grid-template-columns:1fr}.steps li{padding:20px 0}.steps li:before{float:left;width:55px;margin-bottom:40px}.steps li p{margin-bottom:0}}
@media(max-width:600px){.sidebar{padding:16px 20px 0}.brand small{font-size:10px}.brand-mark{width:38px;height:38px}.navigation{margin-top:17px;gap:5px;justify-content:space-between}.nav-item{padding:11px 10px;gap:7px;font-size:12px;min-height:47px}.nav-item .icon{width:18px;height:18px}.nav-item .count{display:none}.topbar{padding:12px 20px;min-height:63px}.topbar-actions{gap:9px}.page-context{font-size:11px}.connection{font-size:11px}.connection>span{max-width:80px}.install-button{font-size:12px;padding:7px 9px;min-height:36px}.install-button>.icon{height:17px;width:17px}.icon-button{width:36px;height:36px;border-radius:10px}main{padding:27px 20px 20px}.heading{margin-bottom:24px}h1{font-size:26px;letter-spacing:-1px}.heading p{font-size:14px}.download-layout{display:flex;flex-direction:column;gap:27px}.download-main,.guide-rail{width:100%}.url-panel{padding:22px 19px;border-radius:20px}.panel-heading{margin-bottom:24px;gap:10px}.panel-heading h2{font-size:17px}.url-input input{height:56px}.url-input button{top:7px}.supported{margin-top:24px;padding-top:18px}.supported>div{gap:6px}.supported>div span{font-size:10px;padding:4px 7px}.guide-rail{display:grid;grid-template-columns:1fr;gap:0}.iphone-panel{display:grid;grid-template-columns:70px minmax(0,1fr);text-align:left;gap:0 22px;padding:21px 24px;align-items:center}.phone-art{grid-row:1/4;width:65px;height:109px;border-radius:16px;margin:0;box-shadow:7px 8px 0 var(--raised)}.phone-art img{height:40px;width:40px;border-radius:9px}.phone-speaker{width:24px;height:5px;top:5px}.phone-bar{left:8px;right:8px;bottom:10px;height:4px;gap:2px}.iphone-panel h2{font-size:17px}.iphone-panel p{font-size:12px;margin:8px 0 12px;line-height:1.55}.iphone-panel .button{justify-self:start;min-height:35px;padding:7px 12px;font-size:12px}.test-panel{padding:23px 4px 20px}.test-panel p{margin:5px 0 8px}.test-panel h3{font-size:14px}.source-note{font-size:11px}.app-footer{padding:10px 20px calc(22px + env(safe-area-inset-bottom));font-size:10px}.app-footer span:last-child{display:none}.recent-panel{margin-top:26px}.empty-state{padding:24px 16px}.section-heading h2{font-size:16px}.section-heading .text-button{font-size:11px}.result-panel{padding:20px 17px}.result-summary{gap:11px}.video-symbol{width:48px;height:48px}.video-symbol.has-thumbnail{width:84px;height:52px}.job-icon.has-thumbnail{width:60px;height:40px}.result-summary h2{font-size:14px}.job-card{padding:14px;gap:10px}.job-title{font-size:13px}.job-meta{font-size:11px}.help-details h2{font-size:17px}.steps h2{font-size:16px}.steps p,.help-details p{font-size:13px}.library-note{font-size:13px}.toast{bottom:20px;width:max-content;max-width:calc(100% - 32px)}dialog{padding:28px 23px}dialog h2{font-size:19px}.topbar .connection.offline{color:var(--error)}}
@media(max-width:359px){.nav-item{padding-inline:6px;font-size:11px}.nav-item .icon{display:none}.topbar{gap:8px}.page-context{display:none}.topbar-actions{margin-left:auto}h1{font-size:23px}.iphone-panel{padding:20px 17px;gap:0 17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px){.topbar .page-context{display:none}.topbar-actions{width:100%;justify-content:flex-end}.topbar .connection{margin-right:auto}.install-button{white-space:nowrap}.nav-item{white-space:nowrap}}
@media(max-width:600px){.connection>span{max-width:none;white-space:nowrap}.steps li{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:15px;row-gap:8px}.steps li:before{float:none;width:auto;grid-row:1/3;margin:0}.steps li h2,.steps li p{grid-column:2}.steps li p{margin:0}}
.auth-screen{min-height:calc(100dvh - 4px);display:grid;place-items:center;padding:34px 20px calc(34px + env(safe-area-inset-bottom))}
.auth-card{width:100%;max-width:430px;background:var(--panel);border:1px solid var(--line);border-radius:24px;padding:36px;position:relative;overflow:hidden}
.auth-card:before{content:'';position:absolute;inset:0 0 auto;height:3px;background:var(--rainbow)}
.auth-wolf{width:48px;height:48px;border-radius:12px}
[data-theme=light] .auth-wolf{filter:none}
.auth-brand{display:flex;align-items:center;gap:15px;text-decoration:none;font:600 23px/1.15 Unbounded,system-ui,sans-serif;letter-spacing:-.5px}
.auth-brand small{display:block;font:400 11px/1.5 Onest,system-ui,sans-serif;letter-spacing:0;color:var(--muted);margin-top:4px}
.auth-card h1{font-size:25px;letter-spacing:-.8px;margin:25px 0 12px}
.auth-card p{font-size:14px;color:var(--muted)}
.auth-card .auth-caption{font-size:12px;margin:20px 0 0}
.auth-card form{margin-top:25px}
.auth-card input{width:100%;height:52px;background:var(--bg);border:1px solid var(--line);border-radius:11px;padding:12px 15px;font-size:16px;margin-bottom:18px}
.auth-card .button{width:100%}
.auth-note{display:block;margin-top:24px;padding-top:20px;border-top:1px solid var(--line);font-size:11px;line-height:1.6;color:var(--soft)}
.auth-card .status-message.error{color:var(--error)}
.format-note{font-size:12px;color:var(--muted);margin:0 0 17px;line-height:1.6}
.update-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 42px;border-bottom:1px solid var(--line);background:var(--raised);font-size:13px}
.update-banner .button{min-height:36px;padding:8px 13px;font-size:12px;white-space:nowrap}
@media(max-width:600px){.auth-card{padding:29px 24px;border-radius:20px}.auth-card h1{font-size:24px}.update-banner{padding:13px 20px;gap:10px;font-size:12px}.topbar-actions{gap:8px}.format-note{font-size:11px}}
