:root{color-scheme:dark;--bg:#101016;--side:#13131b;--panel:#191921;--edge:#2b2a36;--text:#f7f5fc;--muted:#a19dac;--purple:#aa88ff;--focus:#bc9aff;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--focus);outline-offset:3px}button,a{-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}svg{width:20px;height:20px;display:block;flex:none}button{color:inherit}h1,h2,h3,p{margin:0}.sidebar{width:233px;inset:0 auto 0 0;position:fixed;display:flex;flex-direction:column;padding:31px 18px 22px;background:var(--side);border-right:1px solid #252430;z-index:2}.brand{border:0;background:none;display:inline-flex;align-items:center;gap:12px;padding:0 10px;color:#faf8ff;font-size:34px;font-weight:790;letter-spacing:-.085em;line-height:1;width:max-content}.brand-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#a383fb;color:#171026;box-shadow:0 5px 16px #a383fb36}.brand-icon svg{width:24px;height:24px}.brand-dot{color:#a586ff}.sidebar-label{margin:41px 11px 12px;color:#9e97ae;font-size:10px;font-weight:750;letter-spacing:.11em;text-transform:uppercase}.sidebar nav,.sidebar-bottom{display:grid;gap:4px}.nav-link{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:none;border:1px solid transparent;border-radius:10px;padding:11px 12px;font-size:13px;font-weight:620;color:#b9b4c7;min-height:44px}.nav-link svg{width:17px;height:17px}.nav-link:hover{background:#201c2b;color:#f5efff}.nav-link.active{background:#28203b;color:#d4beff;border-color:#39304e}.sidebar-bottom{margin-top:auto;border-top:1px solid #2b2936;padding-top:13px}.workspace{margin-left:233px}.topbar{display:flex;align-items:center;gap:17px;min-height:75px;border-bottom:1px solid #252430;padding:10px max(34px,calc((100% - 1220px)/2));background:#121219}.top-title{margin-right:auto;font-size:14px;color:#d7d2e0;font-weight:650;white-space:nowrap}.search{display:flex;align-items:center;gap:10px;background:#1a1a23;border:1px solid #2c2a38;border-radius:10px;padding:0 10px 0 13px;width:min(34vw,301px);height:39px;color:#aaa4b8}.search:focus-within{border-color:var(--focus)}.search svg{width:16px;height:16px}.search input{padding:0;min-width:0;width:100%;font-size:13px;color:var(--text);border:0;background:transparent;outline:none}.search input:focus-visible{outline:none}.search input::placeholder{color:#aba6b9}.search kbd{font-family:inherit;color:#b3adbf;background:#23222d;border:1px solid #363443;border-radius:5px;font-size:12px;padding:1px 5px}.max-tag{display:flex;align-items:center;gap:7px;padding:0 11px;height:35px;background:#20192c;border:1px solid #392e4e;border-radius:8px;color:#d8c6ff;font-size:11px;font-weight:760;letter-spacing:.07em}.max-tag>span{width:6px;height:6px;background:#b58dff;border-radius:50%;box-shadow:0 0 11px #c79fff85}.mobile-brand,.mobile-nav{display:none}main{max-width:1288px;margin:auto;padding:30px 34px 52px}.hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:362px;border:1px solid #3c2a54;border-radius:23px;overflow:hidden;background:#1a102a url(/assets/hero-Cd1gbEm7.webp) right 52% / auto 143% no-repeat}.hero:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:linear-gradient(90deg,#1c122d 0%,#1c122d 20%,#1c122dfc 31%,#1a102a73 47%,transparent 66%)}.hero-content{padding:37px clamp(28px,4vw,60px);position:relative}.hero-label{display:flex;align-items:center;gap:8px;color:#d0b6ff;font-size:11px;font-weight:780;letter-spacing:.12em;text-transform:uppercase;margin-bottom:16px}.hero-label svg{width:14px;height:14px}.hero h1{font-size:clamp(38px,4.24vw,69px);font-weight:770;line-height:1.04;letter-spacing:-.066em}.hero h1 em{font-style:normal;color:#c1a2ff}.hero p{margin:17px 0 24px;color:#d0c4e0;font-size:14px;line-height:1.57}.primary,.secondary{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 15px;border:1px solid transparent;text-decoration:none;border-radius:10px;font-size:13px;font-weight:730}.primary{background:#ad8aff;color:#1b102c;box-shadow:0 5px 15px #8b5fe64d}.primary:hover{background:#c2a7ff}.secondary{background:#22202d;color:#e3daf3;border-color:#373343}.secondary:hover{background:#2c2739}.primary svg,.secondary svg{width:16px;height:16px}.hero-cta [data-icon=arrow]{margin-left:5px}.catalog{margin-top:30px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px}.section-head h2{font-size:29px;letter-spacing:-.045em;line-height:1.2}.section-head p{margin-top:6px;font-size:13px;color:var(--muted);line-height:1.4}.count{white-space:nowrap;margin-bottom:2px;color:#a8a2b3;font-size:12px}.tabs{display:flex;gap:7px;overflow-x:auto;padding:3px 3px 5px;margin:17px -3px 12px;scrollbar-width:none}.tab{border:1px solid #2c2b39;background:#181820;color:#c6c1d1;padding:8px 12px;border-radius:8px;display:flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap;font-weight:650}.tab svg{width:14px;height:14px}.tab:hover,.tab.active{color:#e1d0ff;background:#27203a;border-color:#493666}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.card{--tone:#b591ff;--tint:#2b213e;position:relative;display:flex;align-items:start;flex-direction:column;justify-content:flex-start;gap:0;min-height:132px;width:100%;padding:14px;background:#191921;border:1px solid #2b2937;border-radius:13px;text-align:left;transition:background .16s,border-color .16s,translate .16s}.card:hover{background:#211d2b;border-color:#55406b;translate:0 -2px}.card .tool-icon,.modal-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--tint,#2b213e);color:var(--tone,#b591ff)}.card .tool-icon svg{width:19px;height:19px}.tool-arrow{position:absolute;right:13px;top:15px;color:#92889f}.tool-arrow svg{width:15px;height:15px}.card strong{display:block;margin:10px 0 4px;font-size:14px;letter-spacing:-.015em;line-height:1.2}.card small{color:#aaa4b7;font-size:11.5px;line-height:1.35}.mint{--tone:#79e3bc;--tint:#1b3733}.blue{--tone:#8ebeff;--tint:#1e3048}.peach{--tone:#ffb489;--tint:#3d292b}.pink{--tone:#f394e3;--tint:#3c233c}.violet{--tone:#b591ff;--tint:#2b213e}.more{display:flex;margin:17px auto 0}.empty{grid-column:1/-1;color:var(--muted);border:1px dashed var(--edge);text-align:center;padding:33px 16px;border-radius:13px;font-size:14px}.catalog.solo{margin-top:0}#dialog{width:min(550px,calc(100% - 28px));max-height:calc(100% - 28px);padding:0;border:1px solid #403451;border-radius:20px;background:#191820;color:var(--text);box-shadow:0 20px 100px #0009;overscroll-behavior:contain}#dialog::backdrop{background:#08060bc9}.dialog-inner{padding:24px}.dialog-top{display:flex;gap:12px;align-items:start;padding-right:2px;margin-bottom:19px}.dialog-top h2{font-size:22px;letter-spacing:-.035em}.dialog-top p{color:var(--muted);font-size:13px;margin-top:3px;line-height:1.4}.dialog-top>div{flex:1}.modal-icon{flex:none}.icon-btn{display:grid;place-items:center;background:#252331;border:1px solid #363244;border-radius:9px;width:34px;height:34px;padding:0;color:#d1c7df;flex:none}.icon-btn:hover,.icon-btn.active{color:#efd8ff;background:#3c2b52}.icon-btn svg{width:16px;height:16px}.form{display:grid;gap:14px}.form label:not(.drop){display:grid;gap:6px;font-size:13px;font-weight:630}.field{width:100%;border:1px solid #373345;background:#15141c;color:var(--text);padding:10px 11px;border-radius:9px;font-size:14px;min-height:40px}.field::placeholder{color:#9690a5}.field:is(textarea){resize:vertical;min-height:68px}.drop{position:relative;display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;min-height:94px;padding:12px;border:1px dashed #665380;background:#221c2e;border-radius:12px;cursor:pointer;text-align:center}.drop:hover,.drop:focus-within,.drop.drag{border-color:#c3a0ff;background:#2e2241}.drop [data-icon]{color:var(--purple)}.drop strong{font-size:13px}.drop small,.note{color:#b3acc1;font-size:12px;line-height:1.5}.drop input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;height:100%;cursor:pointer}.file-list{display:grid;gap:5px}.file-row{display:flex;gap:9px;align-items:center;justify-content:space-between;border:1px solid #343141;border-radius:9px;padding:5px 7px;font-size:12px}.file-row img{width:32px;height:32px;object-fit:cover;border-radius:5px}.file-row span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-row button{width:27px;height:27px}.empty-files{display:none}.error{color:#ffb1bf;font-size:13px;line-height:1.4}.alert{background:#2b2435;border:1px solid #453654;border-radius:9px;padding:10px;color:#d9cbe7;font-size:12px;line-height:1.5}.actions{display:flex;flex-wrap:wrap;gap:8px}.form>.primary{width:100%}.result{display:grid;gap:14px}.preview{display:grid;place-items:center;border:1px solid #363145;border-radius:12px;overflow:hidden;min-height:110px;background:#121118}.preview img{display:block;max-width:100%;max-height:min(58vh,510px);object-fit:contain}.preview.checker{background:repeating-conic-gradient(#23212b,#23212b 25%,#191821 0%,#191821 50%) 0 0/24px 24px}.result-text{max-height:48vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;border:1px solid #363145;background:#13121a;padding:14px;margin:0;border-radius:9px;font-size:14px}.loading{display:grid;justify-items:center;gap:14px;padding:20px;text-align:center}.spinner{width:34px;height:34px;border:3px solid #3b2b50;border-top-color:#bd9cff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{rotate:360deg}}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%);z-index:5;padding:10px 16px;max-width:90%;background:#272136;color:#efdefe;border:1px solid #4d3964;border-radius:10px;font-size:13px}.crop-box{display:grid;justify-items:center;gap:9px}.crop-box canvas{height:195px;width:auto;max-width:100%;border:1px solid #514464}.crop-box label{width:100%}.crop-box input{accent-color:#bfa2ff;width:100%}.markup{position:relative;isolation:isolate;display:grid;justify-items:center;background:#121118;overflow:hidden}.markup img,.markup canvas{grid-area:1/1;width:100%;height:auto}.markup canvas{touch-action:none;cursor:crosshair;z-index:1}.help-copy{display:grid;gap:12px;font-size:14px;line-height:1.55;color:#d4cce0}@media(max-width:1120px){.hero{background-size:auto 131%}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:890px){.sidebar{width:183px;padding-inline:12px}.workspace{margin-left:183px}.topbar{padding-inline:22px}main{padding-inline:22px}.hero{min-height:320px;background-size:auto 117%}.hero-content{padding-inline:27px}.hero:before{background:linear-gradient(90deg,#1c122d 0%,#1c122d 25%,#1c122dc9 42%,transparent 78%)}}@media(max-width:700px){.sidebar,.top-title{display:none}.workspace{margin-left:0}.topbar{position:sticky;top:0;z-index:2;min-height:59px;padding:8px 14px;gap:10px}.mobile-brand{display:inline-flex;padding:0;gap:7px;font-size:25px}.brand-icon{width:29px;height:29px;border-radius:8px}.brand-icon svg{width:18px;height:18px}.search{margin-left:auto;width:min(46vw,250px);height:34px;padding-inline:8px;gap:6px}.search kbd{display:none}.search input{font-size:12px}.max-tag{height:32px;padding:0 8px}main{padding:15px 14px calc(88px + env(safe-area-inset-bottom))}.hero{min-height:287px;border-radius:17px;background-position:68% 50%;background-size:auto 111%}.hero-content{padding:24px 16px}.hero:before{background:linear-gradient(90deg,#1c122d,#1c122df4 23%,#1c122dc2 45%,#1c122d38 82%)}.hero h1{font-size:clamp(32px,8.5vw,47px)}.hero p{max-width:225px;font-size:12px;margin:12px 0 18px}.hero-break{display:none}.hero-label{font-size:9px;margin-bottom:13px}.hero-cta{font-size:12px;min-height:39px}.catalog{margin-top:22px}.section-head h2{font-size:24px}.section-head p{font-size:12px}.count{font-size:10px}.tabs{margin-top:12px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.card{padding:11px;min-height:120px}.card strong{font-size:13px}.card small{font-size:11px}.tool-arrow{right:10px;top:12px}.mobile-nav{display:flex;position:fixed;z-index:3;inset:auto 0 0;justify-content:space-around;align-items:stretch;padding:4px 4px calc(4px + env(safe-area-inset-bottom));background:#14131c;border-top:1px solid #312d3e}.mobile-nav .nav-link{width:auto;min-width:46px;padding:4px 5px;min-height:43px;justify-content:center;gap:3px;flex-direction:column;font-size:9px;text-align:center}.mobile-nav .nav-link svg{width:16px;height:16px}.toast{bottom:calc(63px + env(safe-area-inset-bottom))}.dialog-inner{padding:17px}.dialog-top{gap:8px}.dialog-top h2{font-size:19px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}.spinner{animation:none}}.form details summary{cursor:pointer;color:var(--text);font-size:.875rem;font-weight:650;margin-bottom:.5rem}.form input[type=range]{width:100%;accent-color:#bca2fe}.secondary[aria-pressed=true]{border-color:#bca2fe;color:#e5d6ff}.file-list>button.secondary{justify-content:flex-start}.secondary:disabled,.primary:disabled{opacity:.48;cursor:default}.admin-main{max-width:980px;margin:0 auto;padding:32px 22px}.admin-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.admin-title strong{color:#c6a9ff}.admin-login{max-width:360px}.admin-filters{margin-bottom:20px;align-items:end}.admin-filters label{display:grid;gap:6px;min-width:140px}.admin-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-bottom:16px}.admin-panel{padding:18px;border:1px solid #ffffff20;background:#211a30;border-radius:20px}.admin-panel dl div{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #ffffff18}.admin-panel dt{color:#d5c9e8}.admin-panel dd{margin:0;font-variant-numeric:tabular-nums}.telegram-continue{max-width:440px;padding-top:clamp(28px,12vh,110px)}.telegram-continue h1{margin-bottom:12px}.telegram-continue .form{margin-top:20px}.telegram-code{font-variant-numeric:tabular-nums;letter-spacing:.13em;font-size:1.3rem}.admin-costs{display:grid;gap:14px;margin-top:20px}.admin-costs article{display:grid;gap:10px;padding-block:12px;border-top:1px solid var(--edge)}.admin-costs summary{cursor:pointer;font-size:13px;font-weight:650;margin-bottom:8px}.admin-table{max-width:100%;overflow-x:auto;margin-block:6px}.admin-table table{border-collapse:collapse;min-width:100%;font-size:13px}.admin-table th,.admin-table td{text-align:left;padding:7px 10px;border-bottom:1px solid var(--edge)}.admin-table th{color:#d0b6ff}.admin-table meter{width:7rem}#account-code{overflow-wrap:anywhere}#partner-stats{white-space:pre-line}.pdf-redaction{display:block;max-width:100%;height:auto;max-height:62vh;border:1px solid var(--edge);background:#fff;cursor:crosshair;touch-action:none}
