:root{color-scheme:light;--ground:#f4f3ef;--surface:#fff;--raised:#eeefeb;--line:#d9dad6;--text:#0b0d10;--muted:#646972;--error:#b04138;--radius:18px}
body{background:var(--ground);color:var(--text);font-size:14px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:#646972}h1{font-weight:500;font-size:42px;letter-spacing:-.045em}h2{letter-spacing:-.035em}strong{font-weight:500}.button{border-radius:10px;min-height:48px;font-size:13px;gap:10px}.button svg{width:18px;height:18px;flex-shrink:0}.button.primary{background:#0b0d10;color:#fff}.button.primary:hover:not(:disabled){background:#2a2e34}.button.secondary{background:#fff;border-color:#d9dad6;color:#22262c}.button.secondary:hover:not(:disabled){background:#e9eae5}.button.small{min-height:42px;font-size:12px}.text-button{color:#646972;min-height:36px;font-size:13px}.text-button:hover{color:#0b0d10}.text-button svg{width:17px;height:17px}.field input,.field textarea,.field select{background:#fafaf7;color:#0b0d10;border:1px solid #c9cbc5;border-radius:10px}.field input::placeholder,.field textarea::placeholder{color:#848a91}.field label{font-size:13px}.field input{height:52px}.field{margin-top:24px;gap:8px}.form-status{font-size:13px}.notice{background:#fff;border:1px solid #d9dad6;font-size:13px}.inline-balance{color:var(--muted)}.intro{font-size:14px;line-height:1.7}.note{font-size:12px}.cabinet-shell{grid-template-columns:230px minmax(0,1fr);max-width:1600px}.sidebar{border-color:#ddded9;background:#eeefea;padding:36px 24px 26px;gap:46px}.brand{padding-left:12px}.sidebar .logo{filter:invert(1);width:118px;height:30px}.account-nav{gap:7px}.account-nav a{border-radius:10px;font-size:13px;min-height:48px;padding:12px 14px;color:#6b7077;gap:12px}.account-nav a[aria-current]{background:#fff;color:#0b0d10;box-shadow:0 2px 7px #0b0d1005}.account-nav a:hover{color:#0b0d10;background:#ffffff80}.account-nav svg{width:19px;height:19px}.sidebar-bottom{padding:0 12px;font-size:11px;color:#6d7279;gap:8px}.sidebar-bottom .text-button{font-size:12px}.cabinet-main{max-width:1220px;padding:48px clamp(28px,3.6vw,64px) 70px}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.workspace-heading p{color:var(--muted);font-size:12px;margin-bottom:9px}.workspace-heading h1{font-size:44px;line-height:1.2}.workspace-heading>.button{align-self:flex-end;margin-bottom:3px}.page-heading{margin-bottom:28px}.page-heading p{font-size:14px;margin-top:14px}.page-heading h1{font-size:38px}.vpn-workspace{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:30px;align-items:start}.key-list{gap:24px}.key-card{background:#fff;border-color:#dcddd8;border-radius:18px;padding:28px}.key-card::before,.key-card::after{display:none}.key-top{gap:20px;align-items:flex-start;margin-bottom:26px}.key-top h2{font-size:29px;line-height:1.3;letter-spacing:-.035em}.key-details{gap:25px 35px;display:grid;grid-template-columns:1.2fr 1fr}.key-details div{gap:6px}.key-details small{font-size:11px}.key-details strong{font-size:15px;font-weight:500}.badge{font-size:11px;color:#527464;border-color:#d3dfd7;background:#f1f5f1;padding:4px 9px;margin-bottom:18px}.badge::before{background:#719983}.badge.expired{color:#8a6256;background:#f4eeeb;border-color:#e5d6cf}.badge.expired::before{background:#ad8575}.key-card .actions{gap:10px;margin-top:30px}.key-card .actions>.button{font-size:12px;padding:12px 16px}.key-bottom{border-color:#e0e2dc;margin-top:24px;padding-top:12px;gap:12px}.key-bottom .text-button{font-size:11px;min-height:36px}.key-bottom .text-button svg{width:16px;height:16px}.flight-card{background:#12161d;color:#fff;border-color:#22272e;position:relative;isolation:isolate;overflow:hidden}.flight-card::before{display:block;background:url('/assets/cinematic/404-takeoff/sky.webp') center right / auto 100% no-repeat;opacity:.55}.flight-card::after{display:block;background:linear-gradient(90deg,#11151be8 35%,#11151b30),linear-gradient(0deg,#11151b 0%,transparent 80%)}.flight-card .badge{background:#ffffff0d;border-color:#ffffff30;color:#d8dbe0}.flight-card .badge::before{background:#d8dbe0}.flight-card .text-button{color:#b9bfc9}.flight-card .text-button:hover{color:#fff}.flight-card .key-details small{color:#b0b6c0}.flight-card .key-details strong{color:#e5e8ed}.flight-card .primary{background:#f4f3ef;color:#0b0d10}.flight-card .primary:hover:not(:disabled){background:#fff}.flight-card .secondary{background:#ffffff0a;border-color:#ffffff35;color:#e4e7ed}.flight-card .secondary:hover:not(:disabled){background:#ffffff20}.flight-card .key-bottom{border-color:#ffffff25}.connection-note{font-size:11px;color:#7b8087;line-height:1.8;margin-top:20px}.workspace-aside{padding-top:3px}.journey-note{padding:4px 0 24px;border-bottom:1px solid var(--line)}.aside-icon{display:block;width:32px;height:32px;margin-bottom:20px;color:#5c646f}.journey-note h2,.aside-help h2{font-size:17px;letter-spacing:-.02em;line-height:1.4}.journey-note>p,.aside-help p{font-size:12px;color:var(--muted);line-height:1.7;margin-top:10px}.journey-note ol{margin:20px 0 16px;padding:0;list-style:none;counter-reset:route;display:grid;gap:12px}.journey-note li{counter-increment:route;display:flex;align-items:center;gap:10px;font-size:12px;color:#525860}.journey-note li:before{content:counter(route);display:grid;place-items:center;border:1px solid #caced0;border-radius:50%;width:19px;height:19px;font-size:10px;color:#6a7078}.journey-note .text-button,.aside-help .text-button{font-size:12px;color:#24282e;gap:15px}.aside-help{padding-top:24px}.aside-help .text-button{margin-top:12px}.aside-balance{border-top:1px solid var(--line);margin-top:24px;padding-top:20px;font-size:12px;color:var(--muted)}.aside-balance strong{display:block;color:#22262c;margin-top:5px}.empty-vpn{min-height:365px;padding:32px}.empty-vpn h2{font-size:29px;max-width:400px}.empty-vpn>p{font-size:14px;line-height:1.8;color:var(--muted);margin-top:18px}.empty-symbol{display:block;width:35px;height:35px;margin-bottom:26px;color:#606975}.existing-key{font-size:12px;margin-top:20px}.panel-card{padding:26px;border-color:var(--line)}.email-prompt{margin-top:30px}.email-prompt h3{font-size:18px}.email-prompt p{font-size:12px;max-width:450px}.email-prompt .button{font-size:12px}.data-row{border-color:var(--line)}.data-row strong{font-size:14px}.data-row small{font-size:12px}.row-value strong{font-size:16px}.dialog-close{color:#6d737d;font-size:28px}.dialog-close:hover{color:#111}.choice{background:#fff;color:#4e555d;border-color:#cdd0c9}.choice[aria-pressed=true],.choice.selected{background:#0b0d10;color:#fff;border-color:#0b0d10}.choice small{color:inherit;opacity:.7}.price-preview{background:#f0f1ed;border-color:#d7dad3;color:var(--text)}.invite-link input{background:#f9faf6;color:#353b42}.referral-terms strong{color:#101317}.button.danger{background:#b94940;color:#fff;border-color:#b94940}.danger-text{color:#aa4b3e}.otp{color:#14171b}.setup-step .step-number{border-color:#c6cbd0}.key-disclosure .copy-key{background:#f1f2ee;color:#22272e;border-color:#cdd1cb}.copy-result{color:#3b6650}.key-field-note{color:var(--muted)}.help-list li:before{border-color:#bec3c5}.help-list p{color:var(--muted)}.help-grid{gap:22px}.help-grid h2{font-size:24px}.unread-pill{background:#e5efe7;color:#315c41;border-color:#bbcfbe}.chat-message{background:#f0f2ee;border-color:#d9dfd6}.chat-message.from-customer{background:#e7ebe4;border-color:#cad5c6}.chat-meta strong{color:#505d4e}.support-chat textarea{background:#fafaf7;color:#1b2025;border-color:#cbd0c6}.chat-photo{color:#343b42}.photo-preview{background:#f1f3ed}.photo-error{color:#b04138}.photo-picker-row small{color:#70766f}
dialog{background:#fff;color:#101419;border:1px solid #d2d5ce;border-radius:22px;padding:42px;width:min(530px,calc(100% - 40px));box-shadow:0 24px 100px #0b0d1024}dialog::backdrop{background:#0b0e1469;backdrop-filter:blur(5px)}dialog h2{font-size:28px;line-height:1.25}dialog .intro{margin-top:16px}.login-header{top:38px;left:48px}.login-header .logo{width:118px}.login-layout{grid-template-columns:1.05fr 1fr}.login-story{margin:20px;border-radius:20px;padding:90px 48px 64px;background:#0a0e14;color:#fff}.login-story::after{background:linear-gradient(0deg,#0b0e14 0%,#0b0e1490 45%,transparent 100%)}.login-aircraft{opacity:.85;object-position:64% 30%}.login-story-copy h1{font-size:52px;line-height:1.1}.login-story p{font-size:15px;margin-top:20px;max-width:280px}.login-entry{padding:80px 40px}.login-entry-inner{max-width:375px}.entry-label{font-size:12px;color:#777e86;margin-bottom:20px}.login-entry h2{font-size:38px;letter-spacing:-.04em}.login-entry .intro{font-size:14px;margin-top:16px}.login-entry .divider{color:#92978e}.login-entry .divider:before,.login-entry .divider:after{background:#d8dbd3}.telegram-login .note{font-size:11px;line-height:1.8;margin-top:18px}.login-entry .button{font-size:14px;min-height:52px}
@media(max-width:1180px){.cabinet-shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:32px 16px}.cabinet-main{padding:40px 28px 60px}.vpn-workspace{grid-template-columns:minmax(0,1fr) 190px;gap:24px}.key-card{padding:25px}.key-details{gap:22px}.key-top h2{font-size:27px}.key-card .actions{flex-wrap:wrap}.key-card .actions>.primary{flex:1}.workspace-heading h1{font-size:40px}}
@media(max-width:1000px){.vpn-workspace{grid-template-columns:1fr}.workspace-aside{display:grid;grid-template-columns:1fr 1fr;gap:28px}.journey-note{border:0}.aside-help{border-left:1px solid var(--line);padding:4px 0 0 28px}.aside-balance{grid-column:1/-1}.key-card .actions>.primary{flex:none}.key-details{grid-template-columns:1fr 1fr}.flight-card{min-height:325px}.login-story{padding:80px 32px 50px}.login-story-copy h1{font-size:42px}}
@media(max-width:720px){.cabinet-shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:24px 22px 10px;background:var(--ground);border:0;gap:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.sidebar .brand{padding:0}.sidebar .logo{width:106px;height:26px}.sidebar-bottom{display:none}.account-nav{position:fixed;left:0;right:0;bottom:0;z-index:10;background:#f9faf6f5;border-top:1px solid #d9dcd2;backdrop-filter:blur(15px);display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:8px 8px max(8px,env(safe-area-inset-bottom));border-radius:0}.account-nav a{flex-direction:column;justify-content:center;gap:5px;min-height:51px;border-radius:10px;font-size:10px;line-height:1.4;padding:7px 3px;color:#646972}.account-nav a[aria-current]{background:#e8e8e6;color:#17191c;box-shadow:none}.account-nav svg{width:20px;height:20px}.cabinet-main{padding:25px 20px 120px}.workspace-heading{margin-bottom:26px;gap:14px;align-items:flex-end}.workspace-heading p{font-size:10px;margin-bottom:9px}.workspace-heading h1{font-size:34px}.workspace-heading>.button{font-size:11px;min-height:39px;padding:10px 11px;gap:6px;white-space:nowrap}.workspace-heading>.button svg{width:14px;height:14px}.key-card{padding:23px 20px;border-radius:16px}.key-top{gap:12px;margin-bottom:27px}.key-top h2{font-size:27px;max-width:240px}.badge{font-size:10px;margin-bottom:17px;padding:4px 8px}.key-details{gap:25px 14px;grid-template-columns:1fr 1fr}.key-details small{font-size:10px}.key-details strong{font-size:14px}.key-card .actions{margin-top:29px;display:grid;grid-template-columns:1fr;gap:10px}.key-card .actions>.button{font-size:13px;min-height:49px;padding:12px 15px}.key-card .actions>.secondary{min-height:43px}.key-bottom{margin-top:20px;gap:10px;padding-top:12px}.key-bottom .text-button{font-size:10px;gap:6px;min-height:35px}.key-bottom .text-button svg{width:16px;height:16px}.flight-card{min-height:0}.flight-card:before{opacity:.38;background-position:65% center}.flight-card:after{background:linear-gradient(90deg,#11151bcc 5%,#11151b30),linear-gradient(0deg,#11151b 8%,transparent)}.connection-note{margin:17px 4px 0;font-size:10px;line-height:1.8}.vpn-workspace{gap:29px}.workspace-aside{display:block;background:#ececea;border-radius:14px;padding:24px}.journey-note{padding:0 0 23px;border-bottom:1px solid #cfd5c7}.journey-note h2,.aside-help h2{font-size:17px}.aside-icon{display:none}.journey-note>p,.aside-help p{font-size:12px}.journey-note ol{grid-template-columns:1fr;gap:11px;margin-block:20px 16px}.journey-note li{font-size:12px}.aside-help{border-left:0;padding:23px 0 0}.aside-help .text-button{margin-top:9px}.empty-vpn{padding:27px 23px}.empty-vpn h2{font-size:27px}.empty-vpn>p{font-size:13px}.empty-vpn .existing-key{font-size:11px}.panel-card{padding:24px 20px;border-radius:15px}.email-prompt{align-items:stretch;gap:18px}.email-prompt h3{font-size:18px}.email-prompt p{font-size:12px}.email-prompt .button{font-size:13px;min-height:47px}.page-heading{margin-bottom:26px}.page-heading h1{font-size:33px}.page-heading p{font-size:13px;line-height:1.8}.data-row{gap:18px;padding:24px 0}.data-row strong{font-size:13px}.data-row small{font-size:11px;line-height:1.8}.field input{font-size:16px}.help-grid{grid-template-columns:1fr}.help-grid h2{font-size:24px}.chat-message p{font-size:13px}.support-chat textarea{font-size:16px}.support-chat{padding:22px 17px}.support-request strong{font-size:15px}.support-request small{font-size:11px}.invite-link input{font-size:13px}dialog{width:calc(100% - 28px);padding:38px 24px 28px;max-height:calc(100svh - 28px);border-radius:18px}dialog h2{font-size:26px}.dialog-close{top:9px;right:10px}.login-header{left:24px;top:25px}.login-header .logo{filter:invert(1);width:106px}.login-layout{display:block;min-height:100svh}.login-story{display:none}.login-entry{padding:112px 26px 50px;min-height:100svh;align-items:flex-start}.login-entry-inner{max-width:410px}.login-entry h2{font-size:34px}.entry-label{font-size:11px;margin-bottom:17px}.login-entry .intro{font-size:14px;margin-top:17px}.telegram-login .note{font-size:12px;line-height:1.8}.login-entry .field input{font-size:16px}.otp{font-size:26px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* Editing belongs to the name; device management is a separate, useful sheet. */
.key-top>div{min-width:0;width:100%}.key-title{display:flex;align-items:center;gap:7px}.key-title h2{min-width:0;overflow-wrap:anywhere;max-width:none}.key-title .key-rename{flex-shrink:0;width:44px;min-width:44px;height:44px;padding:12px;border:0;border-radius:50%;background:transparent}.key-title .key-rename:hover{background:#00000008}.key-title .key-rename svg{width:17px;height:17px}.flight-card .key-title .key-rename:hover{background:#ffffff0d}
.devices-dialog{width:min(480px,calc(100% - 24px));padding:38px 32px 30px}.devices-dialog h2{padding-right:20px;overflow-wrap:anywhere;outline:none}.device-key-name{font-size:13px;color:var(--muted);margin-top:9px;overflow-wrap:anywhere}.device-count{font-size:12px;color:var(--muted);margin-top:28px}.managed-devices{list-style:none;margin:10px 0 28px;padding:0}.managed-device{display:flex;align-items:center;gap:14px;padding:20px 0;border-bottom:1px solid var(--line)}.managed-device>div{min-width:0;flex:1}.managed-device strong{display:block;font-size:14px;overflow-wrap:anywhere}.managed-device small{display:block;margin-top:5px;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.managed-device-icon{width:36px;flex:none;color:#666b73}.managed-device-icon svg{width:25px;height:25px}.managed-device .text-button{font-size:12px;min-height:44px;padding:0 4px}.device-limit-note{font-size:13px;line-height:1.7;color:var(--muted)}.devices-empty{padding:36px 0}.devices-empty p{font-size:16px}.devices-empty span{display:block;margin-top:10px;color:var(--muted);font-size:13px;line-height:1.7}
/* The step itself is the heading. Only the current action carries a fill. */
dialog.setup-dialog{padding:0;width:min(480px,calc(100% - 24px));max-height:calc(100dvh - 24px);border-color:#dadce0;border-radius:20px}.setup-dialog .dialog-close{top:14px;right:14px;width:44px;height:44px;font-size:28px}.setup-shell{padding:24px 32px 18px}.setup-top{display:flex;align-items:center;gap:20px;height:36px;margin:0 42px 26px 0}.setup-top .text-button{min-height:44px;font-size:12px}.setup-progress{display:flex;gap:5px;width:74px;margin-left:auto}.setup-progress>span{height:3px;flex:1;background:#e0e1e3;border-radius:3px}.setup-progress>span.complete{background:#21252a}.setup-body{min-height:250px}.setup-body h2{font-size:30px;line-height:1.2;font-weight:500;letter-spacing:-.04em;outline:none}.setup-intro{font-size:14px;color:var(--muted);line-height:1.7;margin-top:17px}.setup-devices{display:grid;gap:10px;margin-top:27px}.setup-devices>button{display:flex;align-items:center;gap:16px;text-align:left;min-height:65px;padding:15px 18px;border:1px solid #dedfe2;border-radius:11px;background:#fff;color:#22262c;transition:border-color .15s,background .15s}.setup-devices>button:hover{border-color:#858b92;background:#f8f8f8}.setup-devices svg{width:25px;height:25px;flex:none}.setup-devices button>span:first-of-type{flex:1;font-size:14px;line-height:1.4}.setup-devices button>span:last-of-type{color:#646972}.setup-devices small{font-size:11px;color:#646972;display:block;margin-top:4px}.setup-actions{display:flex;flex-direction:column;gap:8px;margin-top:30px}.setup-actions .button{font-size:14px;min-height:52px}.setup-actions .primary{order:0}.setup-actions .setup-secondary{order:1}.setup-secondary{justify-content:center;text-align:center;min-height:44px;font-size:13px}.setup-footer{margin-top:26px;padding-top:12px;border-top:1px solid #e5e6e8}.setup-footer .text-button{font-size:12px;min-height:44px}.setup-manual{margin-top:20px;color:var(--muted);font-size:12px}.setup-manual summary{cursor:pointer;min-height:44px;align-content:center;line-height:1.5}.setup-manual p{font-size:13px;line-height:1.7;margin:12px 0}.setup-manual .text-button{font-size:12px;min-height:44px;margin-top:7px}.setup-manual .copy-key{width:100%;min-width:0;border:1px solid #cbd0d5;border-radius:8px;background:#f8f8f8;color:#1d2228;font:inherit;padding:12px}.setup-manual #setup-copy-status:empty{display:none}.setup-check{font-size:13px;line-height:1.7;color:var(--muted);margin-top:24px}.setup-body:has(#setup-done){min-height:245px}
@media(max-width:720px){.key-bottom .text-button{min-height:44px}.devices-dialog{padding:38px 24px 28px}.managed-device{gap:10px}.managed-device-icon{width:29px}.managed-device .text-button{font-size:12px}.setup-shell{padding:24px 24px 16px}.setup-body h2{font-size:29px}.setup-top{margin-bottom:28px}.setup-manual .copy-key{font-size:16px}}

.login-method-switch{justify-content:center;width:100%;margin-top:18px;min-height:44px}.telegram-login:has(.login-method-switch){margin-top:30px}

.setup-apps{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.setup-apps button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 16px;border:1px solid #dedfe2;border-radius:10px;background:#fff;color:#646972;font-size:14px}.setup-apps button:hover{border-color:#858b92}.setup-apps button[aria-pressed=true]{border-color:#25292f;color:#12161c;background:#f8f8f8}.setup-apps svg{width:17px;height:17px;visibility:hidden}.setup-apps button[aria-pressed=true] svg{visibility:visible}
.setup-downloads .text-button{display:flex;justify-content:space-between;align-items:center;gap:14px;text-align:left;padding:8px 0;line-height:1.5}.setup-downloads small{display:block;margin-top:3px;color:#747981;font-size:11px;line-height:1.5}.setup-downloads .setup-source{border-top:1px solid #e5e6e8;margin-top:14px;padding-top:14px}.setup-download-note{font-size:12px;color:var(--muted);line-height:1.6;margin-top:15px}

/* Telegram WebView keeps native controls clear of the account navigation. */
.telegram-webapp body{padding-top:var(--tg-top,0px)}
.telegram-webapp .cabinet-main{padding-bottom:calc(110px + var(--tg-bottom,0px))}
.telegram-webapp .account-nav{padding-bottom:var(--tg-bottom,0px)}
.telegram-webapp dialog{max-height:calc(100dvh - var(--tg-top,0px) - var(--tg-bottom,0px) - 24px)}
.telegram-webapp .sidebar-bottom [data-action=logout]{min-height:44px}

/* Let every menu label keep its own width, including wheel and gifts. */
.account-nav a{min-width:0}
.account-nav a>span{white-space:nowrap}
@media(max-width:720px){
  .account-nav,.account-nav.has-wheel{display:flex;align-items:stretch;justify-content:flex-start;gap:4px;overflow-x:auto;overscroll-behavior-x:contain}
  .account-nav a,.account-nav.has-wheel a{flex:0 0 auto;min-width:76px;min-height:60px;padding:8px 12px;gap:6px;font-size:11px;line-height:1.4;text-align:center}
  .account-nav svg{flex:0 0 20px}
}
