/* Desktop client shares the approved mobile Pulse palette. Layout stays unchanged. */
@media(min-width:761px){
 body[data-app=client] :is(.topbar-actions,.login-brand-row)>.leaf-theme{display:inline-flex;width:44px;height:44px;min-height:44px;align-items:center;justify-content:center;padding:10px;border:0;border-radius:50%;background:transparent;color:var(--muted)}
 body[data-app=client] :is(.topbar-actions,.login-brand-row)>.leaf-theme:hover{background:#edf2e8}
 body[data-app=client] .login-brand-row>.leaf-theme{margin-left:auto;order:2}
 html[data-client-theme=dark]:has(body[data-app=client]){background:#171c19;color-scheme:dark}
 html[data-client-theme=dark] body[data-app=client]{
  --desk-bg:#171c19;--desk-surface:#222a24;--desk-raised:#242e27;--desk-soft:#2c382c;
  --desk-text:#f0f4eb;--desk-muted:#a0afa2;--desk-line:#354038;--desk-accent:#c0df8a;--desk-accent-ink:#202c17;--desk-hero:#263226;
  --lf-bg:#171c19;--lf-surface:#222a24;--lf-raised:#242e27;--lf-text:#f0f4eb;--lf-muted:#a0afa2;--lf-line:#354038;--lf-accent:#c0df8a;--lf-accent-ink:#202c17;--lf-soft:#2c382c;--lf-hero:#263226;--lf-warning:#edbf7c;--lf-error:#ffb29b;
  --muted:#a0afa2;--line:#354038;--text:#f0f4eb;--ink:#f0f4eb;--card:#222a24;--green:#c0df8a;--accent:#c0df8a;--deep:#171c19;--danger:#ffb29b;--text-secondary:#a0afa2;--text-on-sage:#c7d3bf;
  background:var(--desk-bg);color:var(--desk-text);color-scheme:dark;
 }
 html[data-client-theme=dark] body[data-app=client] :is(.client-shell,.workspace,.main-content){background:var(--desk-bg);color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] .sidebar{background:#1b241e;color:var(--desk-muted);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] .sidebar .brand-wordmark{color:#d2e7b5}
 html[data-client-theme=dark] body[data-app=client] .sidebar :is(.nav-item,.sidebar-account){background:transparent;color:var(--desk-muted);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] .sidebar :is(.nav-item.active,.nav-item:hover,.sidebar-account:hover){background:var(--desk-soft);color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] .sidebar :is(.nav-item.active [data-icon],.nav-item.active svg){color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] .sidebar :is(.sidebar-account strong,.nav-count){color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] .sidebar :is(.nav-section-label,.sidebar-account small){color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] .nav-count{background:var(--desk-soft);color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] :is(.topbar,.workspace-topbar){background:var(--desk-bg);color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(.breadcrumb,.breadcrumb strong,.topbar .icon-btn){color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] .topbar-separator{background:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(.profile-avatar,.sidebar-avatar){background:var(--desk-soft);color:var(--desk-accent);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(.icon-btn:hover,.leaf-theme:hover,.notification-btn.has-unread){background:var(--desk-soft);color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] .notification-btn i{background:var(--desk-accent);color:var(--desk-accent-ink);border-color:var(--desk-bg)}
 html[data-client-theme=dark] body[data-app=client] :is(.page-heading h1,.page-heading h2,.section-heading h2){color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] :is(.heading-dot,.page-heading .eyebrow,.status-tag){color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] :is(.page-heading p,.section-heading p,.page-footer){color:var(--desk-muted);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(.panel,.card,.identity-banner,.pending-banner,.remaining-card,.social-hero,.notification-center,.product-dialog){background:var(--desk-surface);color:var(--desk-text);border-color:var(--desk-line);box-shadow:none}
 html[data-client-theme=dark] body[data-app=client] :is(.connection-card,.subscription-card){background:var(--desk-hero);color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] #view :is(h1,h2,h3,strong){color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] #view :is(p,small,label,li,.muted,.helper,.kicker,.overline,.empty,.notice,.count-label){color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] :is(.hero-message h2,.hero-card-top,.plan-label,.plan-price,.balance-amount){color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] :is(.hero-message p,.plan-price>span,.balance-amount>span,.renewal-line,.balance-foot,.balance-last-operation){color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] .remaining-card .days-number{color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] :is(.days-track,.device-slot-progress){background:var(--desk-soft)}
 html[data-client-theme=dark] body[data-app=client] :is(.days-track>span,.device-slot-progress>span){background:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] :is(.service-signal.is-active,.service-signal.is-active svg){background:var(--desk-soft);color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] .service-signal.is-pending{background:var(--desk-soft);color:#edbf7c}
 html[data-client-theme=dark] body[data-app=client] .service-signal.is-inactive{background:var(--desk-soft);color:#e6aa8e}
 html[data-client-theme=dark] body[data-app=client] :is(.status-tag,.hero-pill){background:var(--desk-soft);color:var(--desk-accent);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] .status-tag.warning{color:#edbf7c}
 html[data-client-theme=dark] body[data-app=client] .status-tag.neutral{color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] :is(.btn,.button-link,button[type=submit]){background:var(--desk-accent);color:var(--desk-accent-ink);border-color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] :is(.btn:hover:not(:disabled),.button-link:hover){background:#cae69e;color:var(--desk-accent-ink);border-color:#cae69e}
 html[data-client-theme=dark] body[data-app=client] :is(button.secondary,.btn.secondary,.button-link.secondary){background:var(--desk-surface);color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(button.secondary:hover:not(:disabled),.btn.secondary:hover:not(:disabled),.button-link.secondary:hover){background:var(--desk-soft);color:var(--desk-text);border-color:#526247}
 html[data-client-theme=dark] body[data-app=client] #view :is(.btn,.button-link) strong{color:inherit}
 html[data-client-theme=dark] body[data-app=client] :is(.hero-link,.text-link,.subscription-text-button,.subscription-text-link,.support-back,.email-link-back,.email-link-resend){background:transparent;color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] :is(.hero-card-bottom .button-link){background:var(--desk-accent);color:var(--desk-accent-ink);border-color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] :is(.new-device-row,.device-row,.device-slot-row,.subscription-history-row,.social-gift-row,.gift-personal-action){border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(.device-symbol,.feature-icon,.identity-banner-icon,.small-icon,.email-link-mark){background:var(--desk-soft);color:var(--desk-accent);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] .new-device-row>button{background:transparent;color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] :is(.device-row-copy small,.new-device-row small,.device-identity span,.device-details,.device-lines,.device-footnote,.device-stats span,.social-referral-stats span,.social-gift-info span,.social-gift-expiry,.social-status,.gift-personal-action>span){color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] :is(.device-removal-note,.device-row-note){color:#edbf7c}
 html[data-client-theme=dark] body[data-app=client] :is(.device-row-actions,.device-action-menu[open],.device-details,.count-label){background:var(--desk-soft);border-color:var(--desk-line);color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] .count-label{color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] :is(.add-device-row,.dashboard-action-list>button){background:transparent;color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(.add-device-row:hover,.dashboard-action-list>button:hover){background:var(--desk-soft)}
 html[data-client-theme=dark] body[data-app=client] :is(.add-device-row>span,.feature-copy small,.feature-arrow){color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] .dashboard-action-list>button+button{border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(button.subscription-period,.plan-option){background:var(--desk-surface);border-color:var(--desk-line);color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] button.subscription-period:hover:not(:disabled){background:var(--desk-soft);border-color:#526247}
 html[data-client-theme=dark] body[data-app=client] :is(.subscription-period small,.subscription-period .plan-option-price>[data-icon]){color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] :is(.subscription-features,.subscription-features li,.subscription-history summary,.subscription-history-row>span){color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] .subscription-card .subscription-actions button.secondary{background:var(--desk-surface);color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(input,textarea,select){background:var(--desk-raised);color:var(--desk-text);border-color:var(--desk-line);color-scheme:dark}
 html[data-client-theme=dark] body[data-app=client] :is(input,textarea)::placeholder{color:var(--desk-muted);opacity:1}
 html[data-client-theme=dark] body[data-app=client] :is(input,textarea,select):focus{outline-color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] :is(input[type=checkbox],input[type=radio]){accent-color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] :is(.social-filters,.auth-mode-switch){background:var(--desk-soft);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(.social-filter,.auth-mode-switch button){background:transparent;color:var(--desk-muted);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(.social-filter.selected,.auth-mode-switch button[aria-pressed=true]){background:var(--desk-raised);color:var(--desk-text);border-color:var(--desk-line);box-shadow:none}
 html[data-client-theme=dark] body[data-app=client] :is(.social-gift-code,.telegram-link-flow output){background:var(--desk-soft);color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(.social-terms summary,.social-terms ol){color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] :is(.email-link-intro>strong,.email-link-intro p strong){color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] .email-link-cells>span{background:var(--desk-raised);color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] .email-link-otp.focused .current{background:var(--desk-soft);border-color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] :is(.support-inbox,.support-conversation,.support-chat-head,.support-composer,.support-chat-thread){background:var(--desk-surface);color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(.support-inbox-head,.support-chat-head,.support-ticket-row){border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] .support-ticket-row{background:transparent;color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] :is(.support-ticket-row:hover,.support-ticket-row.selected,.support-chat-message.from-support){background:var(--desk-soft);color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] :is(.support-preview,.support-ticket-meta,.support-chat-message time){color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] .support-unread-dot{background:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] .support-chat-message{background:var(--desk-raised);color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] .support-chat-message :is(p,b){color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] .support-quick-links :is(a,button){background:var(--desk-soft);color:var(--desk-accent);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] .notification-center{background:var(--desk-raised);border-color:var(--desk-line);box-shadow:0 20px 60px #0005}
 html[data-client-theme=dark] body[data-app=client] :is(.notification-center-head,.notification-entry,.notification-controls){border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(.notification-entry.unread,.notification-kind){background:var(--desk-soft)}
 html[data-client-theme=dark] body[data-app=client] :is(.notification-read-all,.notification-title,.notification-copy b){color:var(--desk-text);background:transparent}
 html[data-client-theme=dark] body[data-app=client] :is(.notification-center-head span,.notification-body,.notification-time,.notification-copy p,.notification-copy time){color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] .notification-open{background:transparent;color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] :is(.xc-overlay,.social-modal,.device-payment-overlay,.renewal-drawer){background:#020704b5}
 html[data-client-theme=dark] body[data-app=client] :is(.xc-panel,.xc-header,.xc-summary,.xc-main,.xc-success){background:var(--desk-raised);color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] .xc-panel{box-shadow:0 28px 100px #0006}
 html[data-client-theme=dark] body[data-app=client] .xc-total strong{color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] :is(.xc-period strong,.xc-package strong,.xc-package b,.xc-line strong,.xc-line b){color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] :is(.xc-period,.xc-package-card,.xc-method){background:var(--desk-surface);color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(.xc-period.active,.xc-package-card.active,.xc-method.active){background:var(--desk-soft);border-color:var(--desk-accent);box-shadow:none}
 html[data-client-theme=dark] body[data-app=client] :is(.xc-package,.xc-package.active,.xc-package:hover){color:var(--desk-text);background:transparent}
 html[data-client-theme=dark] body[data-app=client] .xc-package i{border-color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] .xc-package.active i{background:var(--desk-accent);color:var(--desk-accent-ink);border-color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] :is(.xc-quantities,.xc-quantities button,.xc-term,.xc-secondary){background:var(--desk-surface);color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(.xc-quantities button.active,.xc-term.active,.xc-primary){background:var(--desk-accent);color:var(--desk-accent-ink);border-color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] .xc-primary:hover:not(:disabled){background:#cae69e;color:var(--desk-accent-ink);border-color:#cae69e}
 html[data-client-theme=dark] body[data-app=client] .xc-success h2{color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] .xc-success p{color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] .xc-check{background:var(--desk-soft);color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] .xc-gift-link label{color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] :is(.product-dialog,.social-modal-panel,.device-payment-panel,.renewal-drawer-panel){background:var(--desk-raised);color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] .product-dialog::backdrop{background:#020704b5}
 html[data-client-theme=dark] body[data-app=client] .product-dialog :is(h2,.dialog-copy,label){color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] :is(.toast,.telegram-link-flow output){background:var(--desk-raised);color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] :is(.message.error,.form-error,.xc-error,.xc-promo-error,.social-error){color:#ffb29b}
 html[data-client-theme=dark] body[data-app=client] :is(.message.success,.xc-discount,.social-status.is-done){color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] #login.login{background:var(--desk-bg);color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] #login .auth-story{background:#1b241e;color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] #login .auth-story:after{border-color:var(--desk-line);background:transparent}
 html[data-client-theme=dark] body[data-app=client] #login .auth-story :is(h2,.brand-wordmark){color:#d2e7b5}
 html[data-client-theme=dark] body[data-app=client] #login .auth-story :is(.kicker,p,li,.auth-story-footer){color:var(--desk-muted)}
 html[data-client-theme=dark] body[data-app=client] #login .auth-features span{background:var(--desk-soft);color:var(--desk-accent);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] #login :is(.auth-form-side,.login-card){background:var(--desk-bg);color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] #login :is(h1,h2,label,.login-brand-row .brand-wordmark,#login-code-email){color:var(--desk-text)}
 html[data-client-theme=dark] body[data-app=client] #login :is(p,.divider,.login-footnote,.login-back,.login-text-button){color:var(--desk-muted);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] #login .login-telegram{background:var(--desk-accent);color:var(--desk-accent-ink);border-color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] #login .login-telegram :is(svg,.login-arrow){color:var(--desk-accent-ink)}
 html[data-client-theme=dark] body[data-app=client] #login :is(.login-mail-icon,.login-otp-cells span,.login-bot-code,.login-bot-pending){background:var(--desk-surface);color:var(--desk-text);border-color:var(--desk-line)}
 html[data-client-theme=dark] body[data-app=client] #login :is(.login-otp.focused .current,.login-otp-cells .current){border-color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] #login :is(#email-start,#email-verify){background:var(--desk-accent);color:var(--desk-accent-ink);border-color:var(--desk-accent)}
 html[data-client-theme=dark] body[data-app=client] #login #login-result.error{color:#ffb29b}
}

@media(min-width:761px){html[data-client-theme=dark] body[data-app=client] #view .remaining-card .days-number{color:var(--desk-accent)}}
@media(min-width:761px){
 body[data-app=client] #login .auth-form-side{position:relative}
 body[data-app=client] #login .login-brand-row{display:block;position:absolute;right:24px;top:22px;margin:0;padding:0}
 body[data-app=client] #login .login-brand-row>.brand{display:none}
}
@media(min-width:761px){
 html[data-client-theme=dark] body[data-app=client] #view button.danger{background:#3d2928;color:#ffb29b;border-color:#6b4841}
 html[data-client-theme=dark] body[data-app=client] #view button.danger:hover:not(:disabled){background:#4c302d;color:#ffb29b;border-color:#8a5549}
 html[data-client-theme=dark] body[data-app=client] #view :is(.message.error,.form-error,.social-error){color:#ffb29b}
}
