:root{color-scheme:dark;--bg:#090a0c;--panel:#111214;--line:#292b30;--muted:#8c919b;--mint:#2871ff;--text:#eef0f4;--surface:#121316;--surface-alt:#18191d;--border:#292b31;--ink:#eff0f4;--secondary:#a2a6b0;--quiet:#707681;--blue:#3579ff;--blue-soft:#172849}html[data-theme=light]{color-scheme:light;--bg:#f5f6f8;--panel:#fff;--line:#e2e5eb;--muted:#6b7280;--mint:#1761ef;--text:#171b25;--surface:#fff;--surface-alt:#f0f2f6;--border:#e0e4eb;--ink:#171b25;--secondary:#616a78;--quiet:#89919e;--blue:#1761ef;--blue-soft:#eaf1ff}body{background:var(--bg);color:var(--ink)}body>div:first-child{background:var(--surface-alt)!important;color:var(--secondary)!important;font-size:10px!important;letter-spacing:.5px;padding:8px!important;border-bottom:1px solid var(--border)}.site-header{background:var(--bg);border-color:var(--border);backdrop-filter:none}.logo,.logo b{color:var(--ink)}.brand-mark{color:var(--blue)}.primary-links>a{color:var(--secondary)}.primary-links>a[aria-current=page]{color:var(--blue)}.primary-links>a[aria-current=page]:after{background:var(--blue)}.qa-pill{border-color:var(--border);color:var(--quiet)}#neutral-theme{display:flex;gap:7px;align-items:center;border:1px solid var(--border);border-radius:20px;background:var(--surface-alt);color:var(--ink);font-size:11px;padding:7px 12px;white-space:nowrap}.indicator-menu>a{background:var(--surface);color:var(--secondary);border-color:var(--border)}.indicator-menu>a[aria-current=page]{background:var(--blue);color:white;border-color:var(--blue)}.eyebrow{color:var(--quiet)}.first-layout .breadcrumb,.muted,.help{color:var(--secondary)}.first-plans{background:var(--surface);border-color:var(--border)}.first-intro>p{color:var(--secondary)}.first-plans .pricing-pane{border-color:var(--border)}.feature-chips span{background:var(--surface-alt);color:var(--secondary);border-color:var(--border)}.btn{background:var(--blue);color:#fff;border-radius:6px}.btn:hover{background:#4b86ff}.btn.secondary{background:var(--surface-alt);border-color:var(--border);color:var(--ink)}.period-choice{background:var(--surface-alt);border-color:var(--border);color:var(--ink)}.period-choice:has(input:checked){background:var(--blue-soft);border-color:var(--blue)}.period-choice input{accent-color:var(--blue)}.tl-section{border-color:var(--border)}.hero-video{background:#111214;border-color:var(--border)}.hero-video-bar,.hero-video-caption{border-color:#2c2e33;color:#a2a6b0;background:#121316}.hero-video-bar>span:first-child{color:#d4d8df}.hero-video-caption button{color:#e1e5ec;background:#24262b;border-color:#383b43}.hero-video-note{background:#121316;color:#777e89}.detail-hint{color:var(--secondary)}.feature-explorer{background:var(--surface);border-color:var(--border)}.explorer-tabs{background:var(--surface);border-color:var(--border)}.explorer-tabs button{color:var(--secondary);background:transparent}.explorer-tabs button:hover{background:var(--surface-alt)}.explorer-tabs button[aria-selected=true]{background:var(--blue-soft);border-color:var(--blue);color:var(--ink)}.explorer-tabs button>span,.explorer-tabs small{color:var(--quiet)}.explorer-tabs button[aria-selected=true]>span{color:var(--blue)}.explorer-toolbar{background:var(--surface-alt);color:var(--secondary);border-color:var(--border)}.explorer-toolbar>span:first-child{color:var(--secondary)}.explorer-description{background:var(--surface);color:var(--ink)}.explorer-description p,.explorer-description aside p{color:var(--secondary)}.explorer-description aside{border-color:var(--border)}.explorer-footnote{background:var(--surface-alt);color:var(--quiet);border-color:var(--border)}.method-tabs button{background:var(--surface);border-color:var(--border);color:var(--secondary)}.method-tabs button:hover{border-color:#536173}.method-tabs button[aria-selected=true]{background:var(--blue-soft);border-color:var(--blue);color:var(--ink)}.method-tabs span,.method-tabs small{color:var(--quiet)}.method-tabs button[aria-selected=true]>span{color:var(--blue)}.method-panel{background:var(--surface);border-color:var(--border)}.method-side{background:var(--surface-alt);border-color:var(--border)}.method-side button{color:var(--secondary)}.method-side button[aria-pressed=true]{background:#173d3b;color:#8ae2d5}.method-side button[data-side=short][aria-pressed=true]{background:#492943;color:#e2a6d7}.method-status,.method-status.neutral{background:var(--surface-alt);border-color:var(--border)}.method-status p{color:var(--secondary)}.method-pill{color:var(--secondary);border-color:var(--border)}.method-neutral{color:var(--secondary);border-color:var(--border);background:var(--surface-alt)}.method-image-head,.method-figure figcaption{background:var(--surface-alt);color:var(--quiet)}.method-image-head a{color:var(--blue)}.method-rule-grid{border-color:var(--border)}.method-rule,.method-rule.exit-rule{background:var(--surface)}.method-rule+.method-rule{border-color:var(--border)}.method-rule .eyebrow{color:var(--quiet)}.method-rule p{color:var(--ink)}.method-symbol{background:#12332f;border-color:#386e63;color:#7dd9c2}.method-symbol.exit{background:#352b1a;border-color:#7a6131;color:#e5c17c}.method-rule.exit-rule p{color:var(--ink)}.method-clarifiers p{color:var(--secondary)}.method-clarifiers b{color:var(--ink)}.method-glossary{background:var(--surface-alt);border-color:var(--border)}.method-glossary>b{color:var(--quiet)}.method-glossary p{color:var(--secondary)}.method-glossary span{color:var(--ink)}.range-entry,.range-entry.short{background:var(--surface);border-color:var(--border)}.range-entry p,.range-entry.short p{color:var(--secondary)}.range-entry>span{color:#45b4a8}.range-entry.short>span{color:#be79b9}.boundary-line{border-color:#317970;color:#45b4a8}.range-entry.short .boundary-line{border-color:#9c5e96;color:#be79b9}.method-unfinished{background:var(--surface-alt);border-color:var(--border)}.method-unfinished span{color:var(--secondary)}.method-unfinished b{color:var(--quiet)}.method-unfinished p{color:var(--quiet)}.method-disclaimer{color:var(--quiet)}.tl-faq details{border-color:var(--border)}.tl-faq details p{color:var(--secondary)}.tl-closing{color:var(--quiet)}.tl-closing a{color:var(--blue)}.site-footer{border-color:var(--border);background:var(--surface)}.site-footer a,.site-footer p,.footer-row>span{color:var(--secondary)}html[data-theme=light] .aqua{color:#007c80}html[data-theme=light] .pink{color:#a42aa7}html[data-theme=light] .green{color:#23733e}html[data-theme=light] .red{color:#b14055}html[data-theme=light] .method-side button[aria-pressed=true]{background:#d9f2e9;color:#176c52}html[data-theme=light] .method-side button[data-side=short][aria-pressed=true]{background:#f4e2f0;color:#963984}html[data-theme=light] .method-symbol{background:#ddf2e8;border-color:#97c5ae;color:#22764f}html[data-theme=light] .method-symbol.exit{background:#fbefd9;border-color:#d3b47b;color:#987020}html[data-theme=light] .method-pill.long{color:#087f7e;border-color:#9ac9c6}html[data-theme=light] .method-pill.short{color:#a53f9e;border-color:#d6acd2}html[data-theme=light] .range-entry>span,html[data-theme=light] .boundary-line{color:#137d74}html[data-theme=light] .range-entry.short>span,html[data-theme=light] .range-entry.short .boundary-line{color:#a13c98}@media(max-width:760px){.site-nav{flex-wrap:wrap;padding:9px 0;gap:10px}.primary-links{height:42px}.site-nav #neutral-theme{margin-left:auto;font-size:10px;padding:6px 9px}.site-nav .logo{font-size:22px}.site-nav .qa-pill{display:none}}
.language-control{background:var(--surface-alt);color:var(--ink);border-color:var(--border)}.language-control option{background:var(--surface);color:var(--ink)}.theme-toggle{background:var(--surface-alt);border-color:var(--border);color:var(--quiet)}.theme-toggle span:last-child{background:#e7e9ef;color:#16181e}html[data-theme=light] .theme-toggle span:first-child{border-radius:50%;background:#fff;color:#1e293b}html[data-theme=light] .theme-toggle span:last-child{background:transparent;color:#717988}.product-card,.card,.balance-card,.detail-feature,.bottom-cta{background:var(--surface);border-color:var(--border)}.product-card p,.catalog-intro p{color:var(--secondary)}.product-body .tag{color:var(--blue);border-color:var(--border);background:var(--blue-soft)}.catalog-count,.product-price,.how-section{border-color:var(--border)}.catalog-faq details{border-color:var(--border)}.catalog-faq p,.how-step p{color:var(--secondary)}.demo-chip{color:var(--secondary);border-color:var(--border);background:var(--surface-alt)}.card input,.card textarea{background:var(--surface-alt);color:var(--ink);border-color:var(--border)}.card h2,.card h3{color:var(--ink)}.demo-explorer .explorer-description{background:var(--surface)}.site-footer .logo,.site-footer .logo b{color:var(--ink)}
/* White canvas with subtle neutral surfaces. */
html[data-theme=light]{--bg:#ffffff;--panel:#f8f9fb;--line:#e8ebf0;--muted:#697386;--text:#111827;--surface:#f8f9fb;--surface-alt:#f2f4f7;--border:#e6e9ef;--ink:#111827;--secondary:#647084;--quiet:#7b8495;--blue:#1460ff;--blue-soft:#eef3ff}
html[data-theme=light] body,html[data-theme=light] .site-header{background:#fff}
html[data-theme=light] .site-header{border-bottom-color:#eef0f4}
html[data-theme=light] .first-plans,html[data-theme=light] .product-card,html[data-theme=light] .card,html[data-theme=light] .balance-card{background:#f8f9fb;border-color:#e6e9ef}
html[data-theme=light] .indicator-menu>a{background:#f8f9fb;border-color:#e6e9ef;color:#647084}
html[data-theme=light] .indicator-menu>a[aria-current=page]{background:#1460ff;border-color:#1460ff;color:#fff;box-shadow:0 3px 9px #1460ff14}
html[data-theme=light] .period-choice{background:#f2f4f7;border-color:#e5e9f0}
html[data-theme=light] .period-choice:has(input:checked){background:#eef3ff;border-color:#aac4ff;color:#174ed0}
html[data-theme=light] .explorer-tabs,html[data-theme=light] .explorer-description,html[data-theme=light] .method-header,html[data-theme=light] .method-panel{background:#f8f9fb}
html[data-theme=light] .explorer-tabs button[aria-selected=true],html[data-theme=light] .method-tabs button[aria-selected=true]{background:#edf2fc;border-color:#b4ccff;color:#1b4bcc}
html[data-theme=light] .method-tabs button{background:#f8f9fb;border-color:#e5e9ef}
html[data-theme=light] .method-rule,html[data-theme=light] .method-rule.exit-rule{background:#f8f9fb}
html[data-theme=light] .method-side,html[data-theme=light] .language-control,html[data-theme=light] .theme-toggle{background:#f4f5f8;border-color:#e8ebf0}
html[data-theme=light] .site-footer{background:#f8f9fb;border-top-color:#e8ebf0}
html[data-theme=light] .btn.secondary{background:#f1f3f7;color:#172033;border-color:#e4e8ef}
html[data-theme=light] .tl-faq details,html[data-theme=light] .tl-section{border-color:#e9ecf1}
html[data-theme=light] .feature-chips span{background:#f2f4f7;border-color:#e5e9ef;color:#667187}
html[data-theme=light] .card input,html[data-theme=light] .card textarea{background:#f1f3f6;border-color:#e4e8ef;color:#172033}
/* Align header controls to the same 32px vertical rhythm. */
.site-nav{align-items:center}.display-preferences{display:flex;align-items:center;gap:10px;height:32px;flex-shrink:0}.site-nav .language-control{display:flex;align-items:center;justify-content:center;height:32px;min-height:32px;margin:0;padding:0 9px;line-height:1;border-radius:7px;box-sizing:border-box}.site-nav .language-control>span{display:flex;align-items:center;justify-content:center;width:14px;height:14px;line-height:1}.site-nav .language-control select{display:block;height:30px;margin:0;padding:0 2px;border:0;line-height:normal;align-self:center}.site-nav .theme-toggle{display:flex;align-items:center;justify-content:center;gap:2px;height:32px;min-height:32px;width:54px;min-width:54px;padding:3px;margin:0;box-sizing:border-box;line-height:1;border-radius:18px}.site-nav .theme-toggle span{display:flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;margin:0;padding:0;font-family:Arial,sans-serif;font-size:16px;line-height:1}.site-nav .qa-pill{display:inline-flex;align-items:center;justify-content:center;height:32px;min-height:32px;margin:0;padding:0 10px;box-sizing:border-box;line-height:1;border-radius:7px}.site-nav .primary-links{align-items:center}.site-nav .primary-links>a{align-items:center;line-height:1}@media(max-width:760px){.site-nav .qa-pill{display:none}.site-nav .display-preferences{gap:7px;height:32px}.site-nav .language-control{height:32px;min-height:32px;padding:0 7px}.site-nav .language-control select{height:30px;padding:0 2px}.site-nav .theme-toggle{height:32px;min-height:32px;width:54px;min-width:54px}}
/* Keep the radio and duration on a shared center line above the price. */
.pricing-pane .period-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:78px;padding:13px 8px;margin:0;text-align:center;line-height:1.2}.pricing-pane .period-heading{display:flex;align-items:center;justify-content:center;gap:6px;min-height:16px;white-space:nowrap;line-height:16px}.pricing-pane .period-choice input[type=radio]{display:block;position:static;flex:0 0 14px;width:14px;height:14px;min-height:0;margin:0;padding:0;vertical-align:initial;accent-color:var(--blue)}.pricing-pane .period-label{display:block;line-height:16px;font-size:11px;font-weight:400}.pricing-pane .period-choice>b{display:block;margin:0;padding:0;line-height:20px;font-size:14px;font-weight:500}.pricing-pane .period-choice:focus-within{outline:2px solid var(--blue);outline-offset:3px}@media(max-width:760px){.pricing-pane .period-choice{padding:12px 5px;min-height:76px;gap:9px}.pricing-pane .period-heading{gap:5px}.pricing-pane .period-label{font-size:10px}}
/* Account and admin surfaces share the same theme tokens, including dialogs. */
body[data-surface] :is(.tabs,.plan-card,.indicator-intro,.memo-box,.account-support-actions,.surface-nav){background:var(--surface-alt);border-color:var(--border);color:var(--ink)}
body[data-surface] :is(.tab,.meta,.label-small,.pending-amount,.legacy-note,.search-results,.audit,.ref,.funding){color:var(--secondary)}
body[data-surface] .tab[aria-selected=true]{background:var(--blue-soft);color:var(--blue)}
body[data-surface] :is(label,.check,.step-list,.card p,.money-row){color:var(--ink)}
body[data-surface] :is(.help,.muted,.meta,.card .help,.card .muted,.card .meta){color:var(--secondary)}
body[data-surface] :is(input,textarea,select,option){background:var(--surface-alt);color:var(--ink);border-color:var(--border);color-scheme:inherit}
body[data-surface] :is(input,textarea)::placeholder{color:var(--secondary);opacity:1}
body[data-surface] input[readonly]{color:var(--ink)}
body[data-surface] :is(.stat,.order,.ledger-row,.profile-line,.money-row,.mini-summary,.empty){border-color:var(--border)}
body[data-surface] .stat{background:var(--surface);color:var(--ink)}
body[data-surface] .stat span{color:var(--secondary)}
body[data-surface] :is(.stat b,.credit,.plan-price,.now-balance){color:var(--blue)}
body[data-surface] dialog{background:var(--surface);color:var(--ink);border-color:var(--border)}
body[data-surface] :is(dialog .close,.help-icon){color:var(--ink);background:var(--surface-alt);border-color:var(--border)}
body[data-surface] .dialog-header{border-color:var(--border)}
body[data-surface] :is(.ticket-line,.ticket-related,.thread-messages,.message-bubble){border-color:var(--border);color:var(--ink)}
body[data-surface] .message-bubble{background:var(--surface-alt)}
body[data-surface] .message-bubble.admin{background:var(--blue-soft);border-color:var(--border)}
body[data-surface] :is(.message-bubble .content,.message-bubble strong){color:var(--ink)}
body[data-surface] :is(.message-bubble small,.ticket-related){color:var(--secondary)}
html[data-theme=light] body[data-surface] .test-banner{background:#edf3ff;color:#25446c;border-color:#d9e4f7}
html[data-theme=light] body[data-surface] .wallet-info{background:#edf3ff;color:#25446c;border-color:#b9cef1}
html[data-theme=light] body[data-surface] .deposit-warning{background:#fff6e5;color:#78520b;border-color:#b87b17}
html[data-theme=light] body[data-surface] :is(.badge,.support-badge){background:#fff4d9;color:#74500a;border-color:#d5bb78}
html[data-theme=light] body[data-surface] :is(.badge.approved,.badge.active,.support-badge.answered,.support-badge.resolved){background:#e5f4eb;color:#1a6540;border-color:#9ac9ad}
html[data-theme=light] body[data-surface] :is(.badge.rejected,.btn.danger){background:#fcebef;color:#9d2344;border-color:#e5b3bf}
html[data-theme=light] body[data-surface] .badge.refunded{background:#eaf0ff;color:#304e96;border-color:#b3c3ea}
html[data-theme=light] body[data-surface] .notice{background:#e5f4eb;color:#1a6540;border-color:#9ac9ad}
html[data-theme=light] body[data-surface] .notice.error{background:#fcebef;color:#9d2344;border-color:#e5b3bf}
html[data-theme=light] body[data-surface] .debit{color:#8c461e}
body[data-surface] .check input{accent-color:var(--blue)}
body[data-surface] select:not(#site-language){appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23708095' stroke-width='1.5'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:36px}
@media(prefers-reduced-motion:no-preference){body[data-surface] :is(.tabs,.card,dialog,.stat){transition:background-color .15s,color .15s,border-color .15s}}
.notification-options{border:1px solid var(--border);border-radius:8px;margin:22px 0;padding:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}.notification-options legend{color:var(--ink);padding:0 8px;font-size:16px}.notification-options .check{margin:0;font-size:14px}#telegram-settings label{font-size:14px}#telegram-settings p{font-size:14px}#telegram-settings h2{font-size:24px}#telegram-locale{max-width:260px}#telegram-settings .wallet-info{margin-top:20px}#telegram-admin-setup{padding:20px;border:1px solid var(--border);border-radius:8px;background:var(--surface-alt);margin:20px 0}#telegram-token{max-width:600px}#telegram-history{margin-top:12px}@media(max-width:620px){.notification-options{grid-template-columns:1fr}}
