:root{--bg-root:#111116;--surface-1:#1b1b23;--surface-input:#24242f;--line:#b4abc81f;--line-strong:#9088a9;--accent:#b9a8f1;--button-fill:#7250bb;--accent-text:#fff;--text-1:#f4f2fa;--text-2:#b4b2c2;--state-ok:#82d4df;--state-bad:#ff9b9b;--selected:#2d273d;--hero-start:#202029;--hero-border:#b4abc833}.mini-app[data-theme=light]{--bg-root:#f5f4f8;--surface-1:#fff;--surface-input:#f0eef4;--line:#483b6921;--line-strong:#80738f;--accent:#66509a;--button-fill:#7250bb;--text-1:#252035;--text-2:#696079;--state-ok:#24727b;--state-bad:#b72e40;--selected:#eee7f9;--hero-start:#fff;--hero-border:#75629238}@media (forced-colors:active){:root,.mini-app[data-theme]{--bg-root:Canvas;--surface-1:Canvas;--surface-input:Canvas;--line:CanvasText;--line-strong:ButtonText;--accent:LinkText;--button-fill:ButtonFace;--accent-text:ButtonText;--text-1:CanvasText;--text-2:CanvasText;--state-ok:CanvasText;--state-bad:CanvasText;--selected:Canvas;--hero-start:Canvas;--hero-border:CanvasText}}@font-face{font-family:Golos Text;font-style:normal;font-weight:400 700;font-display:swap;src:url(/cabinet/assets/golos-cyrillic-mKek_fSS.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Golos Text;font-style:normal;font-weight:400 700;font-display:swap;src:url(/cabinet/assets/golos-latin-BS5oQT7X.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400 600;font-display:swap;src:url(/cabinet/assets/mono-latin-6fWv1k7M.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text-1);background:var(--bg-root);font-synthesis:none;font-variant-numeric:tabular-nums;font-family:Golos Text,sans-serif;font-size:100%;line-height:1.45}*{box-sizing:border-box}body{min-width:0;margin:0}button,input,select,textarea{font:inherit}a{color:var(--accent)}button,.button{background:var(--button-fill);min-height:48px;color:var(--accent-text);cursor:pointer;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:12px 20px;font-weight:500;line-height:1.35;text-decoration:none;display:inline-flex}@media (hover:hover){button:hover:not(:disabled),.button:hover{filter:brightness(1.12)}}button:disabled{opacity:.5;cursor:not-allowed}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}::selection{background:var(--selected);color:var(--text-1)}h1{letter-spacing:-.02em;overflow-wrap:anywhere;font-size:1.75rem;font-weight:600;line-height:1.25}h2{font-size:20px;font-weight:600;line-height:1.3}h3{font-size:16px;font-weight:600}p+p{margin-top:8px}p{color:var(--text-2)}small,.muted{color:var(--text-2);font-size:14px}strong{color:var(--text-1)}input,select,textarea{border:1px solid var(--line-strong);background:var(--surface-input);width:100%;min-height:48px;color:var(--text-1);border-radius:10px;padding:11px 12px;font-size:16px}input[type=checkbox],input[type=radio]{width:20px;height:20px;min-height:0;accent-color:var(--accent);flex-shrink:0}textarea{resize:vertical;overflow-wrap:anywhere;min-height:90px}label{font-size:14px;font-weight:500;display:block}label>input:not([type=radio]):not([type=checkbox]),label>select,label>textarea{margin-top:8px}fieldset{border:0;min-width:0;margin:0;padding:0}form>fieldset{margin-bottom:24px}legend{color:var(--text-2);margin-bottom:12px;padding:0;font-size:14px}summary{cursor:pointer;min-height:44px;color:var(--accent);align-items:center;gap:8px;font-size:14px;display:flex}summary:before{content:"›";font-size:22px}details[open]>summary:before{transform:rotate(90deg)}details>summary{list-style:none}summary::-webkit-details-marker{display:none}.layout{grid-template-rows:auto auto 1fr;grid-template-columns:208px minmax(0,1fr);align-items:start;gap:0 40px;max-width:1120px;min-height:100dvh;margin:auto;padding:32px;display:grid}.brand{grid-area:1/1/auto/-1;align-items:center;margin-bottom:40px;display:flex}.brand>a{color:var(--text-1);align-items:center;gap:12px;font-size:20px;font-weight:600;text-decoration:none;display:flex}.brand-mark img{object-fit:contain;width:32px;height:32px;display:block}.app-nav{flex-direction:column;grid-area:2/1;gap:4px;display:flex;position:sticky;top:32px}.app-nav button{color:var(--text-2);background:0 0;justify-content:flex-start;min-height:44px;padding:12px;font-size:15px;font-weight:500}.app-nav .selected{background:var(--selected);color:var(--accent)}.nav-icon{flex-shrink:0;width:22px;height:22px}main{grid-area:2/2;min-width:0}.page-title{align-items:center;gap:8px;min-height:44px;margin-bottom:24px;display:flex}.page-title h1{outline-offset:4px}.back-button{min-width:44px;color:var(--text-1);background:0 0;padding:0;font-size:24px}.surface,.subscription{background:var(--surface-1);border:1px solid var(--line);border-radius:16px;margin-bottom:16px;padding:24px}.subscription{border-color:var(--hero-border);background:var(--hero-start);padding:32px}.surface>h2,.surface>fieldset,.surface>label,.surface>.notice{margin-bottom:16px}.surface>h2:last-child{margin-bottom:0}.secondary{color:var(--text-1);border-color:var(--line-strong);background:0 0}.text-button{color:var(--accent);background:0 0;padding:8px;font-size:14px;font-weight:500}.danger{color:var(--state-bad)}.actions{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.actions>*{min-width:0}.wide{width:100%}.notice{background:var(--surface-input);color:var(--text-2);overflow-wrap:anywhere;border:0;border-radius:12px;margin:12px 0;padding:16px;font-size:14px}.notice p{color:inherit}[role=alert]:not(:empty){color:var(--state-bad);margin:12px 0;font-size:14px}[role=status]:not(:empty){margin-top:12px;font-size:14px}.subscription-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 24px;margin-bottom:24px;display:flex}.status{color:var(--text-2);align-items:center;gap:8px;font-size:14px;display:inline-flex}.status i{background:var(--state-ok);border-radius:50%;flex-shrink:0;width:6px;height:6px}.subscription h2{overflow-wrap:anywhere;min-width:0;font-size:2rem;font-weight:500;line-height:1.2}.subscription.disabled .status i,.subscription.expired .status i{background:var(--state-bad)}.subscription.none .status i{background:var(--text-2)}.subscription .access-until{font-size:15px}.remaining{margin-top:4px;font-size:14px}.subscription .actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px;display:grid}.subscription .actions>:only-child{grid-column:1/-1}.periods{margin-top:8px}.periods p{padding-bottom:8px;font-size:14px}.overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:24px;display:grid}.summary-tile{text-align:left;background:var(--surface-1);color:var(--text-1);border:1px solid var(--line);border-radius:16px;flex-direction:column;align-items:flex-start;gap:8px;padding:20px;font-weight:400;display:flex;position:relative}.summary-tile>span{color:var(--text-2);font-size:14px}.summary-tile strong{font-size:24px;font-weight:500;line-height:1.3}.summary-tile small{margin-left:4px;font-size:14px;font-weight:400}.summary-tile:after{content:"";border-top:1.5px solid var(--text-2);border-right:1.5px solid var(--text-2);width:8px;height:8px;position:absolute;top:24px;right:20px;transform:rotate(45deg)}.menu-list{padding:4px 16px}.menu-row{text-align:left;width:100%;min-height:60px;color:var(--text-1);background:0 0;border:0;border-radius:0;align-items:center;gap:12px;padding:12px 0;font-weight:400;text-decoration:none;display:flex}.menu-row+.menu-row{border-top:1px solid var(--line)}.menu-row:after{content:"";border-top:1.5px solid var(--text-2);border-right:1.5px solid var(--text-2);flex-shrink:0;width:7px;height:7px;margin:0 4px 0 auto;transform:rotate(45deg)}.menu-row.danger{color:var(--state-bad)}.device-list,.history-list{margin:0;padding:0;list-style:none}.device,.history-entry{border-top:1px solid var(--line);overflow-wrap:anywhere;padding:16px 0}.device:first-child,.history-entry:first-child{border:0;padding-top:0}.device-head{align-items:flex-start;gap:12px;display:flex}.device-head h3{overflow-wrap:anywhere}.device-head>div{flex:1;min-width:0}.device-trigger{flex-shrink:0;min-width:44px;margin:-8px -8px 0 0;font-size:24px}.device-list>.device:first-child{margin-top:16px}.device-actions{background:var(--surface-input);border-radius:12px;margin-top:12px;padding:12px}.device-menu{flex-shrink:0;position:relative}.device-menu>summary{width:44px;color:var(--text-1);justify-content:center}.device-menu>summary:before{display:none}.device-menu[open]{flex-shrink:1;min-width:180px}.device-menu[open]>summary{margin-left:auto}.device-menu .device-actions{gap:4px;margin-top:4px;display:grid}.device-menu button{justify-content:flex-start;width:100%}.device-date{margin-top:6px;font-size:12px;display:block}.device-meta{margin-top:3px;font-size:13px}.device-actions form{min-width:0}.device-actions .actions>button{flex:1}.confirm{background:var(--surface-input);border-radius:12px;margin-top:12px;padding:12px;font-size:14px}.count{color:var(--text-2);font-size:14px;font-weight:400}.metrics{border-block:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0 16px;padding:16px 0;display:grid}.metrics strong{font-size:22px;display:block}.metrics span{color:var(--text-2);font-size:12px}.invite-bonus{color:var(--text-1);font-size:28px;font-weight:600}.invite-terms{margin:8px 0 16px;font-size:14px}.referral-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.referral-row>span,.history-entry p{font-size:14px}.history-entry h3{margin-bottom:6px}.history-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px;display:flex}.history-heading h3{flex:1;min-width:140px;margin:0}.history-heading strong{white-space:nowrap}.history-status{background:var(--surface-input);border-radius:8px;padding:5px 8px;font-size:12px;display:inline-block}.history-entry small{margin-top:6px;font-size:13px;display:block}.history-entry code{font-size:12px}.history-pagination{align-items:center;font-size:14px}.history-pagination button{font-size:14px}.bonus-earned{color:var(--accent)}.connect-app{align-items:center;gap:16px;margin:4px 0 24px;display:flex}.app-symbol{background:var(--selected);width:52px;height:52px;color:var(--accent);border-radius:16px;flex-shrink:0;place-items:center;display:grid}.connection-actions{gap:12px;margin-bottom:24px;display:grid}.connect-alternatives label{margin-bottom:12px}.connection-guide ol{color:var(--text-2);padding-left:20px;font-size:14px}.connection-guide li{padding-bottom:10px}.qr{aspect-ratio:1;border:10px solid #fff;width:260px;max-width:100%;height:auto;margin:16px auto;display:block}.invoice-title{margin-bottom:12px}.invoice-state{color:var(--accent);margin-bottom:10px;font-weight:600}.empty{color:var(--text-2);padding:10px 0}.welcome{text-align:center;max-width:440px;margin:0 auto;padding:24px 18px}.welcome .button{margin:20px 0 12px}.skeleton div{background:var(--surface-input);border-radius:10px;height:60px;margin-top:12px}.skip-link{z-index:30;background:var(--surface-1);color:var(--text-1);padding:12px;position:fixed;top:8px;left:8px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}.layout:not(:has(.app-nav)) main{grid-column:1/-1}.mini-app .brand,.mini-app .back-button{display:none}.icon{flex-shrink:0;width:22px;height:22px}.app-bottom{display:contents}html[data-input=pointer] #page-heading:focus{outline:none}[role=status]:empty,[role=alert]:empty{display:none}.access-until strong{margin-top:8px;font-size:1.25rem;font-weight:500;display:block}.summary-tile>.icon{color:var(--text-2);width:20px;height:20px;margin-bottom:2px}.menu-row>.icon{color:var(--text-2)}.menu-label{overflow-wrap:anywhere;flex:1;min-width:0}.menu-action:after{display:none}.menu-row.danger>.icon{color:var(--state-bad)}.device-platform{color:var(--accent);margin-top:3px}.device-capacity progress{appearance:none;background:var(--surface-input);width:100%;height:4px;color:var(--accent);border:0;border-radius:4px;margin-top:12px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:var(--surface-input)}progress::-webkit-progress-value{background:var(--accent)}progress::-moz-progress-bar{background:var(--accent)}.invite-symbol,.invoice-symbol{width:48px;height:48px;color:var(--accent);background:var(--selected);border-radius:15px;place-items:center;margin-bottom:16px;display:grid}.invite-symbol .icon{width:26px;height:26px}.connect-panel{background:var(--surface-1)}.connect-app h2{font-size:24px}.app-symbol .icon{width:28px;height:28px}.connect-panel>details{border-top:1px solid var(--line)}.connect-panel>details>summary{min-height:56px;color:var(--text-1)}.connect-panel>details>summary:before{color:var(--accent)}@media (width<=760px){.layout{flex-direction:column;align-items:stretch;height:100dvh;min-height:0;padding:0;display:flex;overflow:hidden}.brand{flex-shrink:0;margin-bottom:0;padding:16px 16px 0}main{overscroll-behavior-y:contain;flex:1;min-height:0;padding:16px;scroll-padding-block:16px;overflow-y:auto}.app-bottom{padding-bottom:env(safe-area-inset-bottom,0px);background:var(--bg-root);border-top:1px solid var(--line);flex-direction:column;flex-shrink:0;display:flex}.app-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:4px 8px;display:grid;position:static}.app-nav button{border-radius:12px;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:60px;padding:8px 4px;font-size:12px;position:relative}.app-nav .selected{background:0 0}.app-nav .selected .nav-icon{background:var(--selected);box-shadow:0 0 0 5px var(--selected);border-radius:8px}.surface,.subscription{padding:20px}.subscription-top{flex-direction:column;align-items:flex-start;gap:12px}.subscription .actions{grid-template-columns:1fr}.page-title{margin-bottom:20px}.overview{gap:12px}.summary-tile{padding:16px}.summary-tile:after{top:20px;right:16px}}.mini-app .layout{max-width:720px;height:var(--mini-height,var(--tg-viewport-stable-height,100dvh));flex-direction:column;align-items:stretch;min-height:0;padding:0;display:flex;overflow:hidden}.mini-app main{overscroll-behavior-y:contain;min-height:0;padding:calc(16px + var(--mini-top,0px)) calc(16px + var(--mini-right,0px)) 8px calc(16px + var(--mini-left,0px));flex:1;scroll-padding-block:16px;overflow-y:auto}.mini-app .app-bottom{padding:0 var(--mini-right,0px) max(env(safe-area-inset-bottom,0px), var(--mini-bottom,0px)) var(--mini-left,0px);background:var(--bg-root);border-top:1px solid var(--line);flex-direction:column;flex-shrink:0;display:flex}.mini-app .app-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:4px 8px;display:grid;position:static}.mini-app .app-nav button{border-radius:12px;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:60px;padding:8px 4px;font-size:12px;position:relative}.mini-app .app-nav .selected{background:0 0}.mini-app .app-nav .selected .nav-icon{background:var(--selected);box-shadow:0 0 0 5px var(--selected);border-radius:8px}.mini-app .subscription .actions{grid-template-columns:1fr}.mini-app .subscription-top{flex-direction:column;align-items:flex-start;gap:12px}.keyboard-open .app-bottom{display:none}.keyboard-open .layout{height:var(--keyboard-height,100dvh)}button:active:not(:disabled),.button:active{filter:brightness(.88)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important}}@media (width<=359px){.overview{grid-template-columns:1fr}.surface,.subscription{padding:16px}}.purchase-progress{color:var(--text-2);align-items:center;gap:12px;margin-bottom:24px;font-size:14px;display:flex}.purchase-progress>span:not([aria-hidden]){border-radius:8px;padding:8px 12px}.purchase-progress .current{color:var(--accent);background:var(--selected)}.device-choices{background:var(--surface-input);border-radius:12px;flex-wrap:wrap;gap:4px;padding:4px;display:flex}.radio-chip,.radio-row,.method-choice{cursor:pointer;color:var(--text-1);align-items:center;gap:12px;font-size:16px;font-weight:400;display:flex;position:relative}.radio-chip input,.radio-row input,.method-choice input{z-index:1;opacity:0;cursor:pointer;width:100%;height:100%;min-height:0;margin:0;padding:0;position:absolute;inset:0}.radio-chip{border-radius:8px;flex:1;justify-content:center;gap:6px;min-width:56px;min-height:44px;padding:8px}.radio-chip .selection-check{width:15px;height:15px;display:none}.radio-chip:has(:checked) .selection-check{opacity:1;display:block}.radio-chip:has(:checked){background:var(--selected);color:var(--accent);font-weight:600}.term-choices{background:var(--surface-input);border-radius:12px;padding:4px;display:grid}.radio-row{border:1px solid #0000;border-radius:8px;min-height:56px;padding:12px}.radio-row+.radio-row{border-top-color:var(--line)}.radio-row>span{overflow-wrap:anywhere;flex:1;min-width:0}.radio-row strong{white-space:nowrap;font-size:18px;font-weight:500}.radio-row small{margin-top:3px;font-size:13px;display:block}.selection-check{width:18px;height:18px;color:var(--accent);opacity:0}:is(.radio-row:has(:checked),.method-choice:has(:checked)){background:var(--selected);border-color:var(--accent);border-radius:12px}.radio-row:has(:checked){border-radius:8px}:is(.radio-row,.radio-chip,.method-choice):has(:focus-visible){outline:3px solid var(--accent);outline-offset:-3px}html[data-input=keyboard] :is(.radio-row,.radio-chip,.method-choice):focus-within{outline:3px solid var(--accent);outline-offset:-3px}:is(.radio-row,.method-choice):has(:checked) .selection-check{opacity:1}.payment-methods{gap:8px;display:grid}.method-choice{background:var(--surface-input);border:1px solid #0000;border-radius:12px;min-height:56px;padding:16px}.method-choice>.icon:first-of-type{color:var(--text-2);width:22px;height:22px}.method-choice>span{flex:1;min-width:0;font-size:14px}.method-choice strong{white-space:nowrap;font-size:14px}.method-choice .selection-check{width:16px;height:16px}.purchase-summary{border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:16px}.purchase-summary-head{align-items:baseline;gap:8px;margin-bottom:12px;display:flex}.purchase-summary h2{overflow-wrap:anywhere;flex:1;min-width:0}.purchase-summary-head button{min-height:44px;padding:8px 0 8px 8px}.purchase-meta{margin:-4px 0 8px;font-size:14px}.summary-row{color:var(--text-2);justify-content:space-between;gap:16px;padding:8px 0;font-size:14px;display:flex}.summary-row strong{text-align:right;overflow-wrap:anywhere;font-weight:500}.purchase-preview{color:var(--text-2);border-top:1px solid var(--line);margin:16px 0 0;padding-top:16px;font-size:14px}.purchase-consent{align-items:flex-start;gap:12px;min-height:44px;margin:16px 0;font-size:14px;line-height:1.5;display:flex}.purchase-consent input{margin:2px 0 0}.purchase-total{justify-content:space-between;align-items:baseline;gap:12px;margin:20px 0 14px;display:flex}.purchase-total strong{font-size:24px}.purchase-footer{margin-top:16px;font-size:13px}.invoice-actions{margin-top:20px}.invoice-actions>.secondary{margin-bottom:12px}.invoice-actions>.menu-row{font-size:14px}#purchase-action{grid-area:3/2;min-width:0}#purchase-action:empty{display:none}.purchase-action{flex-wrap:wrap;align-items:center;gap:16px;padding:16px 0;display:flex}.purchase-action>button,.purchase-action>a{flex:1;min-width:0}.purchase-action>small{text-align:center;flex-basis:100%;margin-top:-8px;font-size:14px}.action-total{min-width:0}.action-total small{font-size:14px;display:block}.action-total strong{white-space:nowrap;font-size:20px;display:block}@media (width<=760px){.purchase-action{border-bottom:1px solid var(--line);gap:12px;padding:12px 16px}.purchase-action>button{flex:1.4}.purchase-panel{padding:16px}.method-choice{gap:8px;padding-inline:12px}}.mini-app .purchase-action{border-bottom:1px solid var(--line);gap:12px;padding:12px 16px}.mini-app .purchase-action>button{flex:1.4}@media (width<=359px){.method-choice>.icon:first-of-type{width:18px;height:18px}.method-choice{gap:6px}.method-choice>span,.method-choice strong{font-size:13px}.radio-row{gap:8px;padding-inline:12px}}@media (forced-colors:active){:is(.radio-chip,.radio-row,.method-choice):has(:checked){outline-offset:-2px;outline:2px solid highlight}}@media (pointer:coarse){.purchase-summary-head button{min-width:44px}}
