.theme-toggle{position:fixed;z-index:9;right:18px;bottom:18px;border:1px solid #7776;border-radius:30px;padding:10px 14px;background:#fff;color:#222;box-shadow:0 4px 18px #0002;font:600 11px Manrope,Arial,sans-serif;cursor:pointer}.home-footer{padding:38px 5.2%;display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;background:#141414;color:#ddd}.home-footer-logo{font-size:24px;font-weight:800;letter-spacing:-.08em}.home-footer-logo span{font-size:13px;vertical-align:top;margin-left:3px}.home-footer nav{display:flex;flex-wrap:wrap;gap:22px;font-size:12px}.home-footer>span{font-size:11px;color:#999}.registration-consent a{text-decoration:underline}.brand,.home-brand,.home-footer-logo{position:relative}.brand:after,.home-brand:after,.home-footer-logo:after{content:'';position:absolute;left:0;right:0;top:-5px;height:5px;background:radial-gradient(circle,#e7b26c 1.5px,transparent 2px) 0 0/15px 5px,radial-gradient(circle,#b98077 1.5px,transparent 2px) 7px 0/15px 5px;opacity:.85;pointer-events:none}.sidebar-snow{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}.sidebar-snow i{position:absolute;top:-8px;left:var(--left);width:3px;height:3px;background:#fff;border-radius:50%;opacity:0;animation:snowfall var(--duration) linear var(--delay) infinite}.sidebar>*:not(.sidebar-snow){position:relative;z-index:1}@keyframes snowfall{0%{transform:translateY(-10px) translateX(0);opacity:0}8%{opacity:.35}90%{opacity:.25}100%{transform:translateY(100vh) translateX(16px);opacity:0}}@media(prefers-reduced-motion:reduce){.sidebar-snow{display:none}}@media(max-width:700px){.theme-toggle{right:10px;bottom:10px;font-size:10px;padding:9px 11px}.home-footer{padding:32px 20px 75px}.home-footer nav{width:100%;gap:15px}}
html[data-theme="dark"]{color-scheme:dark}html[data-theme="dark"] body:not(.home){background:#141414;color:#eee}html[data-theme="dark"] .auth-body{background:#141414}html[data-theme="dark"] .workspace,html[data-theme="dark"] .chat-page,html[data-theme="dark"] .partner-page{background:#191919;color:#eee}html[data-theme="dark"] .topbar,html[data-theme="dark"] .partner-list,html[data-theme="dark"] .chat-head{background:#202020;color:#eee;border-color:#393939}html[data-theme="dark"] .auth-card,html[data-theme="dark"] .account-card,html[data-theme="dark"] .document-body,html[data-theme="dark"] .documents-list>a,html[data-theme="dark"] .vpn-state,html[data-theme="dark"] .vpn-checkout,html[data-theme="dark"] .vpn-details,html[data-theme="dark"] .plan:not(.featured),html[data-theme="dark"] .partner-dialog,html[data-theme="dark"] .message.assistant,html[data-theme="dark"] .ai-form,html[data-theme="dark"] .composer{background:#262626;color:#eee;border-color:#454545}html[data-theme="dark"] .auth-card input:not([type=checkbox]),html[data-theme="dark"] .partner-prompt,html[data-theme="dark"] .partner-name-input,html[data-theme="dark"] .vpn-email-label input{background:#1c1c1c;color:#eee;border-color:#555}html[data-theme="dark"] .ai-form textarea{color:#eee}html[data-theme="dark"] .document-body h2,html[data-theme="dark"] .subscription-details summary,html[data-theme="dark"] .subscription-details li span{color:#eee}html[data-theme="dark"] .document-body,html[data-theme="dark"] .subscription-details li,html[data-theme="dark"] .payment-consent{color:#c5c5c5}html[data-theme="dark"] .contact,html[data-theme="dark"] .vpn-test-notice,html[data-theme="dark"] .vpn-state>span{background:#303030;color:#ddd;border-color:#444}html[data-theme="dark"] .ai-tools button.selected,html[data-theme="dark"] .ai-tools #partner-settings-open{background:#3a3a3a;color:#eee}html[data-theme="dark"] .choices button{color:#ddd;border-color:#666}html[data-theme="dark"] .choices button[aria-pressed=true]{background:#eee;color:#171717}html[data-theme="dark"] .checkout-row,html[data-theme="dark"] .details-grid{border-color:#444}html[data-theme="dark"] .primary,html[data-theme="dark"] .vpn-button,html[data-theme="dark"] .dialog-done,html[data-theme="dark"] .ai-form button{background:#eee;color:#171717}html[data-theme="dark"] .dialog-header button{background:#444;color:#eee}html[data-theme="dark"] .theme-toggle{background:#2d2d2d;color:#fff;border-color:#777}html[data-theme="dark"] .auth-card p,html[data-theme="dark"] .lead,html[data-theme="dark"] .partner-welcome p,html[data-theme="dark"] .chat-welcome p{color:#bbb}html[data-theme="light"] .home .home-card{background:#f2f2ef;color:#171717}html[data-theme="light"] .home .home-card:nth-child(2),html[data-theme="light"] .home .home-card:nth-child(3){background:#e3e3df}html[data-theme="light"] .home .card-light,html[data-theme="light"] .home .home-card:nth-child(2) .card-light,html[data-theme="light"] .home .home-card:nth-child(3) .card-light{background:radial-gradient(450px circle at var(--x,50%) var(--y,50%),#0002,transparent 70%)}html[data-theme="dark"] .home .home-card{background:#161616;color:#eee}html[data-theme="dark"] .home .home-card:nth-child(2),html[data-theme="dark"] .home .home-card:nth-child(3){background:#292929;color:#eee}html[data-theme="dark"] .home .card-light,html[data-theme="dark"] .home .home-card:nth-child(2) .card-light,html[data-theme="dark"] .home .home-card:nth-child(3) .card-light{background:radial-gradient(450px circle at var(--x,50%) var(--y,50%),#fff3,transparent 70%)}
html[data-theme="dark"] .auth-switch a,html[data-theme="dark"] .auth-card label,html[data-theme="dark"] .document-body a,html[data-theme="dark"] .subscription-details summary{color:#ededed}html[data-theme="dark"] .auth-switch,html[data-theme="dark"] .auth-card p,html[data-theme="dark"] .payment-note,html[data-theme="dark"] .vpn-connect p,html[data-theme="dark"] .section-note,html[data-theme="dark"] .footnote,html[data-theme="dark"] .document-note,html[data-theme="dark"] .overline,html[data-theme="dark"] .status{color:#b8b8b8}html[data-theme="dark"] .error{background:#572e2e;color:#fff}html[data-theme="dark"] .plan:not(.featured) .choose-vpn{background:#eee;color:#171717}html[data-theme="dark"] .chat-page .message.user{background:#4b4b4b;color:#fff}html[data-theme="dark"] .account-header p,html[data-theme="dark"] .account-card p{color:#c5c5c5}
.savings{margin-top:12px;padding-top:10px;border-top:1px solid #444}.savings strong{font-size:14px;margin-top:5px}.savings small:last-child{font-size:9px;color:#888}.topbar .theme-toggle{position:static;margin-left:auto;box-shadow:none;background:transparent;color:inherit;border-color:#8886}.theme-toggle{top:18px;bottom:auto}.site-snow{position:fixed;inset:0;z-index:8;pointer-events:none}.brand,.home-brand,.home-footer-logo{animation:garland-glow 6s ease-in-out infinite}.brand:after,.home-brand:after,.home-footer-logo:after{height:7px;top:-6px;background:radial-gradient(circle,#ffd776 1.8px,transparent 2.5px) 0 0/20px 7px,radial-gradient(circle,#ff8c9e 1.8px,transparent 2.5px) 6px 0/20px 7px,radial-gradient(circle,#92d4bb 1.8px,transparent 2.5px) 13px 0/20px 7px;filter:drop-shadow(0 0 4px #ffd68a);animation:lights-glow 3s ease-in-out infinite alternate;opacity:1}@keyframes garland-glow{0%,100%{text-shadow:0 0 8px #e7b36b66}33%{text-shadow:0 0 9px #ed829466}66%{text-shadow:0 0 9px #8acdb566}}@keyframes lights-glow{from{filter:drop-shadow(0 0 3px #ffd68a);opacity:.75}to{filter:drop-shadow(0 0 7px #ff9caa);opacity:1}}@media(max-width:700px){.theme-toggle{top:10px;bottom:auto;right:10px}.topbar .theme-toggle{position:static;font-size:10px}.home .theme-toggle{background:#222;color:#fff}.home-card{padding-top:48px}}@media(prefers-reduced-motion:reduce){.brand,.home-brand,.home-footer-logo,.brand:after,.home-brand:after,.home-footer-logo:after{animation:none}}
.text-star{display:inline-block;width:.8em;height:.8em;vertical-align:baseline;fill:currentColor}.home .home-brand,.home .home-footer-logo{animation:none;text-shadow:none}.home .home-brand:after,.home .home-footer-logo:after{display:none}.sidebar-close{display:none}.savings small:last-child{line-height:1.45}@media(max-width:800px){.sidebar-close{display:grid;place-items:center;position:absolute!important;top:22px;right:16px;z-index:4!important;width:36px;height:36px;border:1px solid #666;border-radius:8px;color:#eee;background:#262626;font-size:24px;line-height:1}.sidebar .brand{padding-right:45px}.site-snow{z-index:4}.theme-toggle{z-index:9}}
.ui-icon{width:18px;height:18px;display:inline-block;vertical-align:middle;flex:none}.delete-account-link,.documents-link,.logout{display:flex;align-items:center;gap:10px}.theme-toggle{display:inline-flex;align-items:center;gap:6px}.theme-toggle .ui-icon{width:15px;height:15px}.trash-icon{width:18px;height:18px;display:block}.trash-lid{transform-origin:5px 6px;transition:transform .2s}.chat-delete:hover{color:#e36363}.chat-delete:hover .trash-lid{transform:rotate(-24deg) translateY(-1px)}.dialog-actions{display:flex;gap:10px;margin-top:24px}.dialog-actions button{border:0;border-radius:8px;padding:12px 20px;background:#eee;color:#222}.dialog-actions #delete-chat-confirm{background:#952f31;color:#fff}html[data-theme=dark] .dialog-actions button{background:#444;color:#fff}html[data-theme=dark] .dialog-actions #delete-chat-confirm{background:#a73b3d}.sidebar .site-snow{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}.sidebar .brand{display:inline-block;align-self:flex-start;width:max-content;max-width:calc(100% - 25px)}.sidebar .brand:after{right:0;left:0}.sidebar .brand .admin-brand{width:max-content}
.sidebar .brand:after{left:12px;right:12px}
.back-control{display:flex;align-items:center;gap:7px;color:#777;font-size:12px;margin-bottom:25px}.back-control .ui-icon{transition:transform .25s ease}.back-control:hover .ui-icon{transform:translateX(-5px) rotate(-10deg)}.admin-back{margin:0}.wallet-icon{margin-left:auto;display:inline-flex;color:#ddd}.wallet-icon .wallet-lid{transform-origin:4px 7px;transition:transform .25s}.account-info:hover .wallet-lid{transform:rotate(-19deg) translateY(-1px)}.ui-icon,.nav-icon svg,.attach-button svg,.text-star{transition:transform .25s ease,color .25s ease}.documents-link:hover .ui-icon,.delete-account-link:hover .ui-icon,.logout:hover .ui-icon,.nav-item:hover svg,.attach-button:hover svg{transform:translateY(-2px) rotate(-6deg)}.theme-toggle .ui-icon{transition:transform .45s ease}.theme-toggle:hover .ui-icon{transform:rotate(35deg) scale(1.15)}body,.workspace,.topbar,.auth-card,.account-card,.document-body,.partner-dialog,.ai-form,.plan,.sidebar{transition:background-color .35s ease,color .35s ease,border-color .35s ease}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:0.01ms!important}}

/* Native menus inherit the active site theme, including their options. */
html[data-theme=light]{color-scheme:light}html[data-theme=dark]{color-scheme:dark}
select:not([hidden]){color:#222!important;background-color:#fff!important;border:1px solid #bcbcb5;border-radius:8px;padding:10px 38px 10px 12px;min-height:42px;max-width:100%;font:inherit;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}select:not([hidden]) option,select:not([hidden]) optgroup{background-color:#fff;color:#222}html[data-theme=dark] select:not([hidden]){color:#f1f1ee!important;background-color:#292929!important;border-color:#626262;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23eee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}html[data-theme=dark] select:not([hidden]) option,html[data-theme=dark] select:not([hidden]) optgroup{background-color:#292929;color:#f1f1ee}select:not([hidden]):focus-visible{outline:2px solid #777;outline-offset:2px}
/* Separate floating controls on pages without a top navigation bar. */
body:not(.home):not(.service-dashboard):not(.support-body):not(.projects-body) > .theme-toggle{top:16px;right:16px}
body:not(.home):not(.service-dashboard):not(.support-body):not(.projects-body) > .notification-floating{top:16px;right:170px}
@media(max-width:800px){
 body:not(.home):not(.service-dashboard):not(.support-body):not(.projects-body) > .theme-toggle{top:auto;bottom:calc(16px + env(safe-area-inset-bottom));right:16px}
 body:not(.home):not(.service-dashboard):not(.support-body):not(.projects-body) > .notification-floating{top:16px;right:16px}
 .support-body .support-back{margin-right:0}
 .support-body > .theme-toggle{top:auto;bottom:calc(12px + env(safe-area-inset-bottom));right:12px}
}

.telegram-open{display:grid;place-items:center;width:38px;height:38px;padding:8px;border:0;border-radius:9px;background:transparent;color:inherit;cursor:pointer;flex:none}.telegram-open:hover{background:#8882}.telegram-open svg{width:21px;height:21px;display:block}.topbar .telegram-open{order:3}.topbar .top-support{order:4}.topbar .top-account{order:5}.telegram-floating{position:fixed;top:16px;right:185px;z-index:8;background:#7772}.telegram-dialog{width:min(440px,calc(100vw - 32px));padding:26px;border:1px solid #8885;border-radius:18px;background:#fff;color:#222;box-shadow:0 25px 80px #0004}.telegram-dialog::backdrop{background:#0009}.telegram-dialog-head{display:flex;align-items:start;gap:14px;justify-content:space-between}.telegram-dialog h2{font-size:22px;line-height:1.25;margin:0}.telegram-dialog p,.telegram-links small{color:#777;line-height:1.5}.telegram-close{border:0;background:none;color:inherit;font-size:26px;cursor:pointer}.telegram-links{display:grid;gap:8px;margin-top:20px}.telegram-links a,.telegram-links div{display:grid;gap:5px;padding:14px;border:1px solid #8884;border-radius:10px;color:inherit;text-decoration:none}.telegram-links a:hover{background:#8882}.telegram-links small{font-size:12px}html[data-theme=dark] .telegram-dialog{background:#242424;color:#fff}html[data-theme=dark] .telegram-dialog p,html[data-theme=dark] .telegram-links small{color:#bbb}@media(max-width:800px){.topbar .telegram-open{width:34px;height:36px;padding:7px}.telegram-floating{top:16px;right:58px}body.home .telegram-floating{right:155px}.projects-body .telegram-floating{top:18px;right:110px}.menu-open .telegram-open{z-index:2}}

body:not(.home):not(.service-dashboard):not(.support-body):not(.projects-body) > .telegram-floating{right:218px} @media(max-width:800px){body:not(.home):not(.service-dashboard):not(.support-body):not(.projects-body) > .telegram-floating{right:64px}}
.notification-item .notification-gift-button{display:inline-block;padding:8px 12px;border-radius:7px;background:#d2b574;color:#211b10;text-decoration:none;font-weight:700;margin:0 10px 8px 0}.notification-item .notification-gift-button:hover{background:#e0c68e}

/* Логотип без сезонной подсветки; снег остаётся в боковом меню. */
.brand::after,.home-brand::after,.home-footer-logo::after{content:none!important;display:none!important}.brand,.home-brand,.home-footer-logo{animation:none!important;text-shadow:none!important}
