/* Telegram reference pass. Presentation only: routes, data and gesture contracts stay intact. */
:root{
  --bg:#f1f3f5;--card:#fff;--ink:#17212b;--muted:#707f8d;--line:#e8edf0;
  --brand:#3390ec;--brand-soft:#e8f3ff;--positive:#208a65;--negative:#d14b5a;
  --glass:#fff;--shadow:none;--radius:12px;--ease:cubic-bezier(.2,.75,.25,1);
  --tg-hover:#f3f6f8;--tg-input:#fff;--tg-divider:#dfe5e9;
}
html.dark{
  color-scheme:dark;--bg:#17212b;--card:#1e2c38;--ink:#f1f5f8;--muted:#9aabba;
  --line:#2b3b49;--brand:#64b5f6;--brand-soft:#273f55;--positive:#60c69b;
  --negative:#ee8391;--glass:#1e2c38;--tg-hover:#263745;--tg-input:#233340;
  --tg-divider:#30414f;--shadow:none;
}
html,body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-weight:400;letter-spacing:normal;background:var(--bg);color:var(--ink);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
body{padding:0}
.app{font-size:16px;font-weight:400;background:var(--bg);border-radius:0;box-shadow:none;padding-bottom:calc(88px + env(safe-area-inset-bottom))}
.app :is(h1,h2,h3,h4){font-weight:600;letter-spacing:normal;line-height:1.35}
.app :is(p,li,dt,dd,label,small,summary,time,figcaption,.fine-print,.empty-state,.message-meta,.list-toolbar,.table-head,.instrument small,.secondary-text,.strategy-name small,.performance span,.group p,.release-notes){font-size:14px!important;font-weight:400!important;line-height:1.6}
.app :is(button,.text-button,.hero-link,.quick button,.nav,.desktop-breadcrumb,.desktop-search){font-size:14px!important;font-weight:500;letter-spacing:normal}
.app :is(input,select,textarea){font-size:16px!important;font-weight:400;color:var(--ink)}
.app :is(input,textarea)::placeholder{color:var(--muted);font-weight:400}
.app :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 38%,transparent);outline-offset:3px}
button,a{transition:background-color .16s,color .16s,box-shadow .16s,transform .18s var(--ease)}
button:active{transform:scale(.985)}
.top,.app.is-scrolled .top,.dark .app.is-scrolled .top{min-height:64px;padding:10px 20px;background:var(--card);border-bottom:1px solid var(--line);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;gap:5px}
.top:after,.app.is-scrolled .top:after{display:none}
.brand{font-size:18px;font-weight:600;letter-spacing:normal;gap:10px}
.brand img,.app.is-scrolled .brand img{width:36px;height:36px}
.brand small,.app .brand small,.demo{font-size:11px!important;font-weight:400!important;line-height:1.4;color:var(--muted)}
.app.is-scrolled .brand small{max-height:20px;opacity:1}
.demo{gap:4px;white-space:nowrap}
.demo i{background:#62b58d}
.icon-button{width:38px;height:38px;flex-basis:38px;color:var(--muted)}
.profile-button,.dark .profile-button{background:var(--brand-soft);color:var(--brand)}
.content{padding-top:20px;padding-bottom:24px}
.page-heading h1,.detail-heading h1{font-size:25px;letter-spacing:normal}
.page-heading{margin-top:0;margin-bottom:22px}
.page-heading p,.app .page-heading p,.app .section-head p{color:var(--muted);font-size:14px!important;font-weight:400!important}
.card,.dark .card{box-shadow:none;border-color:var(--line);border-radius:12px;background:var(--card)}
.section-head h2{font-size:18px}
.bottom,.dark .bottom{bottom:0;width:100%;max-width:520px;min-height:68px;padding:5px 7px calc(5px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);border-radius:0;background:var(--card);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;--nav-on:var(--brand);--nav-off:var(--muted);--nav-highlight:var(--brand-soft)}
.nav,.app .nav{min-height:56px;gap:3px;font-size:12px!important;font-weight:500;border-radius:0}
.navicon{width:52px;height:30px;display:grid;place-items:center}
.navicon svg{width:23px;height:23px}
.nav-indicator{top:5px;bottom:auto;height:30px;border-radius:18px}
.toast{bottom:calc(88px + env(safe-area-inset-bottom));border-radius:10px;background:#253747;color:#fff;box-shadow:0 4px 20px #0002;font-weight:400}
.modalback{background:#0006;backdrop-filter:none;-webkit-backdrop-filter:none}
.modal,.dark .modal{border-radius:14px;background:var(--card);border:1px solid var(--line);box-shadow:0 16px 50px #0002;padding:22px}
.modal h2{font-size:21px;font-weight:600}
.modal p,.modal li{color:var(--muted);font-size:15px;line-height:1.65}
.modal-actions{gap:8px}
.modal-actions button,.dark .modal-actions button{min-height:44px;border-radius:8px;background:transparent;color:var(--brand);font-size:14px!important}
.modal-actions button.primary,.dark .modal-actions button.primary{background:#3390ec;color:#fff}
.sheet-handle{width:32px;height:4px;background:var(--tg-divider);margin-bottom:14px}
.connection-banner{background:var(--card);border-color:var(--line);border-radius:10px;font-size:14px;color:var(--ink);box-shadow:0 3px 16px #0001}

/* Business pages: continuous lists and restrained, readable groups. */
.biz-page{--biz-blue:var(--brand);--biz-soft:var(--brand-soft);--biz-mid:var(--muted);--biz-radius:12px;font-size:16px;font-weight:400;line-height:1.6}
.biz-page :is(p,li,dt,dd,label,small,summary,time,figcaption,.biz-note,.biz-section-head p,.biz-heading p,.biz-card p,.biz-notice,.biz-facts>div,.biz-row dt,.biz-row dd,.biz-table th,.biz-table td,.biz-prose),.dark .biz-page :is(p,li,dt,dd,label,small,summary,time,figcaption,.biz-note,.biz-section-head p,.biz-heading p,.biz-card p,.biz-notice,.biz-facts>div,.biz-row dt,.biz-row dd,.biz-table th,.biz-table td,.biz-prose){font-size:14px!important;font-weight:400!important;line-height:1.65;color:var(--muted)}
.biz-page :is(h1,h2,h3,h4),.biz-page .biz-card :is(h2,h3){font-weight:600;letter-spacing:normal;color:var(--ink)}
.biz-page :is(.biz-btn,.biz-link,.biz-quick button,.biz-tool-link){font-size:14px!important;font-weight:500!important;letter-spacing:normal}
.biz-heading{gap:16px;margin:0 0 24px;align-items:center}
.biz-heading h1{font-size:26px;font-weight:600}
.biz-heading p{margin-top:6px}
.biz-page .biz-eyebrow{font-size:11px!important;font-weight:500!important;letter-spacing:.08em;color:var(--muted);margin-bottom:7px}
.biz-back,.dark .biz-back{width:38px;height:38px;border-radius:50%;background:var(--card);color:var(--brand);border-color:var(--line);margin-bottom:14px}
.biz-back svg{width:20px;height:20px}
.biz-section{margin-top:24px}
.biz-section-head{margin-bottom:12px;gap:12px}
.biz-section-head h2{font-size:18px;font-weight:600;letter-spacing:normal}
.biz-page .biz-card,.dark .biz-page .biz-card{border:1px solid var(--line);border-radius:12px;box-shadow:none;background:var(--card)}
.biz-card h3{font-size:17px}
.biz-pad{padding:20px}
.biz-grid,.biz-stack{gap:16px}
.biz-page .biz-btn{min-height:44px;border-radius:8px;padding:10px 16px;background:#3390ec;border-color:transparent;color:#fff}
.biz-page .biz-btn-secondary,.dark .biz-page .biz-btn-secondary{background:var(--card);color:var(--brand);border-color:var(--tg-divider)}
.biz-page .biz-btn-soft,.dark .biz-page .biz-btn-soft{background:var(--brand-soft);border-color:transparent;color:var(--brand)}
.biz-actions{gap:10px;margin-top:18px}
.biz-page .biz-link{color:var(--brand)}
.biz-page :is(.biz-badge,.biz-pill){border-radius:5px;font-size:12px!important;font-weight:500!important;line-height:1.5;padding:3px 7px}
.biz-badge{background:#edf1f4;color:#677888}
.biz-badge-blue{background:#e8f3ff;color:#2780cc}.biz-badge-green{background:#e8f5ef;color:#27845f}.biz-badge-amber{background:#fff3d9;color:#9b711d}.biz-badge-red{background:#fcebed;color:#c24c5d}
.dark .biz-badge{background:#2d3e4c;color:#adbdca}.dark .biz-badge-blue{background:#263f55;color:#79bbef}.dark .biz-badge-green{background:#244238;color:#7bd0a9}.dark .biz-badge-amber{background:#493f2a;color:#e5c281}.dark .biz-badge-red{background:#492f3a;color:#ef9daa}
.biz-notice,.dark .biz-notice{border:0;border-radius:8px;background:var(--brand-soft);color:var(--muted);padding:15px 16px}
.biz-notice strong,.dark .biz-notice strong{color:var(--ink);font-weight:500}
.biz-notice>svg{color:var(--brand);width:19px;height:19px}
.biz-warning,.dark .biz-warning{background:color-mix(in srgb,#e5ad45 12%,var(--card))}
.biz-warning>svg{color:#c08b29}
.biz-intro,.dark .biz-intro{border:1px solid var(--line);border-radius:12px;background:var(--card);padding:26px;box-shadow:none}
.biz-intro h2{font-size:28px;line-height:1.4;letter-spacing:normal;font-weight:600}
.biz-intro>p{max-width:740px;color:var(--muted)}
.biz-intro>img{width:112px;height:112px;opacity:.13}
.biz-facts{gap:14px;border-color:var(--line)}
.biz-facts>div strong{font-size:16px;font-weight:500;color:var(--ink);line-height:1.5;margin-top:5px}
.biz-resource-symbol,.dark .biz-resource-symbol{width:44px;height:44px;flex-basis:44px;border-radius:50%;border:0;background:var(--brand-soft);color:var(--brand)}
.biz-resource-symbol.quant,.dark .biz-resource-symbol.quant{background:color-mix(in srgb,#8c77d6 16%,var(--card));color:#9681e1}
.biz-resource-symbol.signal,.dark .biz-resource-symbol.signal{background:color-mix(in srgb,#42ab83 16%,var(--card));color:#42ab83}
.biz-resource-head{gap:12px;align-items:center;margin-bottom:12px}
.biz-resource-head h3{font-size:17px;margin:0 0 6px}
.biz-resource-card .biz-resource-head,.biz-resource-card>p,.biz-resource-card>.biz-actions{margin-left:18px;margin-right:18px}
.biz-resource-card .biz-resource-head{margin-top:18px}
.biz-resource-card>.biz-actions{margin-bottom:16px}
.biz-resource-card>p{margin-bottom:14px}
.biz-resource-card-image,.biz-resource-card-placeholder{background:var(--brand-soft)}
.biz-course-cover,.dark .biz-course-cover{background:var(--brand-soft);padding:22px;min-height:142px}
.biz-course-cover h3{font-size:22px;font-weight:600;letter-spacing:normal}
.biz-course-cover p{color:var(--muted)}
.biz-course-body{padding:20px}
.biz-price-line{padding-top:16px;border-color:var(--line)}
.biz-price{font-size:26px;font-weight:600;letter-spacing:normal;color:var(--ink)}
.biz-course-meta{color:var(--muted)}
.biz-tool-card,.dark .biz-tool-card{border-radius:12px;background:var(--card);border-color:var(--line);padding:22px;box-shadow:none}
.biz-tool-card .biz-resource-symbol{margin-bottom:16px}
.biz-tool-card strong{font-size:18px;font-weight:600;letter-spacing:normal}
.biz-tool-card .biz-link{color:var(--brand)}
.biz-tool-link,.dark .biz-tool-link{border-radius:10px;background:var(--card);border-color:var(--line);color:var(--ink);min-height:58px}
.biz-tool-link>svg:first-child{color:var(--brand)}
.biz-plan-card,.dark .biz-plan-card,.biz-point-hero,.dark .biz-point-hero{background:var(--card);border-color:var(--line);border-radius:12px;box-shadow:none}
.biz-page :is(.biz-stat,.biz-ib-stat){background:var(--card);border:1px solid var(--line);border-radius:12px;padding:20px}
.biz-stat strong,.biz-ib-stat strong{font-weight:600;color:var(--ink);letter-spacing:normal}
.biz-step-number,.dark .biz-step-number{border-radius:50%;background:var(--brand-soft);color:var(--brand);border:0}
.biz-step{border-color:var(--line)}
.biz-page :is(.biz-menu,.biz-table-wrap,.biz-record,.biz-material,.biz-broker,.biz-teacher,.biz-release-banner){border-radius:12px;box-shadow:none;border-color:var(--line);background:var(--card)}
.biz-menu-item,.dark .biz-menu-item{min-height:64px;padding:12px 18px;gap:14px;border-color:var(--line);color:var(--ink)}
.biz-menu-item strong{font-size:16px;font-weight:500}
.biz-menu-icon,.biz-message-icon,.dark .biz-menu-icon,.dark .biz-message-icon{width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:var(--brand-soft);color:var(--brand);border:0}
.biz-user-avatar,.biz-teacher-avatar,.dark .biz-user-avatar,.dark .biz-teacher-avatar{border-radius:50%;background:#51a3e6;color:#fff}
.biz-mine-head,.dark .biz-mine-head{border:0;border-radius:12px;background:var(--card);padding:24px;box-shadow:none}
.biz-mine-head h2{font-size:22px;font-weight:600}
.biz-mine-head p{color:var(--muted)}
.biz-record-head{border-color:var(--line)}
.biz-record-highlight,.dark .biz-record-highlight,.biz-referral,.dark .biz-referral,.biz-status-note,.dark .biz-status-note{border-radius:8px;background:var(--brand-soft);border-color:var(--line);color:var(--ink)}
.biz-record-id{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.biz-table th,.biz-table td{padding:13px 16px;border-color:var(--line)}
.biz-page .biz-table th{font-size:13px!important;font-weight:500!important;background:var(--tg-hover);color:var(--muted)}
.biz-page .biz-table td,.biz-page .biz-row dd{color:var(--ink)}
.biz-page .biz-table td strong{font-weight:500}
.biz-number{font-variant-numeric:tabular-nums}
.biz-row{border-color:var(--line)}
.biz-page .biz-form{gap:18px}
.biz-page .biz-form :is(label,.biz-field){font-size:14px!important;font-weight:500!important;color:var(--ink);gap:8px}
.biz-page .biz-form :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.dark .biz-page .biz-form :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border:1px solid var(--tg-divider);background:var(--tg-input);border-radius:8px;padding:13px 14px;min-height:50px;color:var(--ink);box-shadow:none;line-height:1.5}
.biz-page .biz-form textarea{min-height:110px;resize:vertical}
.biz-page .biz-form :is(input,select,textarea):focus{border-color:var(--brand);outline:2px solid color-mix(in srgb,var(--brand) 15%,transparent);outline-offset:0}
.biz-check{align-items:flex-start;gap:10px}
.biz-check input{width:19px;height:19px;flex:0 0 19px;margin-top:3px;accent-color:#3390ec}
.biz-page .biz-check span{font-size:13px;color:var(--muted);font-weight:400;line-height:1.6}
.biz-material summary{padding:16px;color:var(--ink)}
.biz-prose h3{font-size:18px;color:var(--ink);font-weight:600}
.biz-prose{overflow-wrap:anywhere}
.biz-page .biz-prose :is(p,li){font-size:15px!important;line-height:1.75}
.biz-empty{min-height:220px;padding:35px 22px}
.biz-empty>span,.dark .biz-empty>span{border-radius:50%;width:56px;height:56px;background:var(--brand-soft);color:var(--brand)}
.biz-empty h2{font-size:19px;font-weight:500;margin-top:16px}
.biz-release-banner,.dark .biz-release-banner{padding:16px;background:var(--card)}
.biz-release-icon{border-radius:50%;background:var(--brand-soft);color:var(--brand)}
.biz-release-banner strong{font-size:15px!important;font-weight:500!important}
.biz-release-meta time,.biz-release-banner small,.biz-quant-gallery figcaption{font-size:13px!important;font-weight:400!important;color:var(--muted)}
.biz-message-title h3{font-size:16px;font-weight:500}
.biz-page .biz-quant-grid{gap:16px}
.biz-quant-grid>.biz-resource-card{flex-basis:calc((100% - 32px)/3)}
.biz-quant-filters{gap:8px;padding-bottom:8px;scroll-padding-inline:4px}
.biz-quant-filters>.biz-btn{border-radius:20px;min-height:38px;padding:7px 16px;background:var(--card);color:var(--muted);border:1px solid var(--line)}
.biz-quant-filters>.biz-btn[aria-current=page],.biz-quant-filters>.biz-btn.current{background:var(--brand-soft);color:var(--brand);border-color:transparent}
.biz-page .biz-quant-filters>.biz-btn-soft{background:var(--brand-soft);color:var(--brand);border-color:transparent}
.biz-signal-cover,.dark .biz-signal-cover{background:var(--brand-soft);border-color:var(--line);padding:22px 22px 16px}
.biz-signal-cover-label,.biz-signal-cover-period,.dark .biz-signal-cover-label,.dark .biz-signal-cover-period{color:var(--muted)}
.biz-signal-cover-value,.dark .biz-signal-cover-value{font-size:31px;font-weight:600;color:var(--brand);letter-spacing:normal}
.biz-signal-cover-empty,.dark .biz-signal-cover-empty{background:var(--tg-hover);color:var(--ink)}
.biz-signal-cover-empty strong,.dark .biz-signal-cover-empty strong{color:var(--ink)}
.biz-signal-cover-empty span,.dark .biz-signal-cover-empty span{color:var(--muted)}
.biz-performance-chart,.dark .biz-performance-chart{background:var(--card);border-color:var(--line);border-radius:8px}
.biz-performance-summary{color:var(--muted);padding-left:0;padding-right:0}
.biz-performance-summary strong{font-weight:600;color:var(--brand)}
.biz-performance-grid line{stroke:var(--line)}
.biz-performance-grid text,.biz-performance-date{fill:var(--muted);stroke:none}
.biz-performance-line{stroke:var(--brand);stroke-width:2.5}
.biz-performance-area{fill:var(--brand);fill-opacity:.1;stroke:none}
.biz-performance-empty,.dark .biz-performance-empty{background:var(--tg-hover);border-color:var(--tg-divider);border-radius:8px}
.biz-performance-empty strong,.dark .biz-performance-empty strong{color:var(--ink)}
.biz-page .biz-performance-disclaimer{color:var(--muted)!important;font-size:13px!important}
.biz-quant-credentials span,.biz-quant-credentials strong,.dark .biz-quant-credentials span,.dark .biz-quant-credentials strong{font-size:14px!important;color:var(--ink);font-weight:500!important}
.biz-indicator-preview,.biz-indicator-description,.biz-indicator-apply,.biz-indicator-media,.dark .biz-indicator-preview{border-radius:12px;border-color:var(--line);box-shadow:none}
.biz-indicator-preview figcaption,.dark .biz-indicator-preview figcaption{background:var(--card);color:var(--muted)}

/* Home entries retain their exact links, descriptions and pending counters. */
.biz-home-page{max-width:960px;margin-inline:auto}
.biz-home-page .biz-heading{margin-bottom:22px}
.biz-home-launcher{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--card);box-shadow:none}
.biz-home-entry,.dark .biz-home-entry{position:relative;display:flex;min-height:86px;gap:15px;padding:17px 20px;background:var(--card);border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;color:var(--ink);transform:none}
.biz-home-entry:nth-child(odd){border-right:1px solid var(--line)}
.biz-home-entry:nth-last-child(-n+2){border-bottom:0}
.biz-home-entry-icon,.dark .biz-home-entry-icon{width:48px;height:48px;flex:0 0 48px;border-radius:50%;background:#5aa4e8;color:#fff;border:0}
.biz-home-entry-icon svg{width:24px;height:24px;stroke-width:1.7}
.biz-home-entry:nth-child(2) .biz-home-entry-icon{background:#8f78d8}.biz-home-entry:nth-child(3) .biz-home-entry-icon{background:#5aaf8a}.biz-home-entry:nth-child(4) .biz-home-entry-icon{background:#e1a352}.biz-home-entry:nth-child(5) .biz-home-entry-icon{background:#5a9bc5}.biz-home-entry:nth-child(6) .biz-home-entry-icon{background:#6f8ed7}.biz-home-entry:nth-child(7) .biz-home-entry-icon{background:#cf7e9c}.biz-home-entry:nth-child(8) .biz-home-entry-icon{background:#5eb7b5}
.biz-home-entry-copy{gap:4px}
.biz-page .biz-home-entry-copy strong{font-size:16px!important;font-weight:500!important;line-height:1.4;letter-spacing:normal;color:var(--ink)}
.biz-page .biz-home-entry-copy small{font-size:13px!important;font-weight:400!important;line-height:1.5;color:var(--muted)}
.biz-home-entry-trailing,.dark .biz-home-entry-trailing{color:var(--muted);gap:8px}
.biz-home-entry-trailing>svg{width:14px;height:14px}
.biz-home-entry-trailing b{font-size:12px!important;font-weight:500!important;background:#3390ec;color:#fff;min-width:21px;padding:2px 6px;border-radius:12px}
.biz-page .biz-home-entry:hover{transform:none;box-shadow:none;background:var(--tg-hover);border-color:var(--line)}
.biz-page .biz-home-entry:active{transform:none;background:var(--brand-soft)}

/* Desktop workspace: a compact white navigation rail and a calm reading canvas. */
.desktop{--sidebar-width:260px;--desktop-space:32px;--desktop-edge:var(--line)}
.desktop .app,.desktop .app.detail-mode{padding-bottom:28px;background:var(--bg);border-radius:0}
.desktop .sidebar,.dark.desktop .sidebar{padding:14px 12px 12px;background:var(--card);border-color:var(--line);scrollbar-width:thin;scrollbar-color:var(--tg-divider) transparent}
.desktop .sidebar .sidebar-brand{margin:0 0 22px;padding:8px 10px 12px;gap:11px;font-size:18px}
.desktop .sidebar-brand img{width:42px;height:42px}
.desktop .sidebar-brand small{font-size:12px!important;font-weight:400!important;margin-top:3px}
.desktop .sidebar-heading{font-size:12px;font-weight:500;color:var(--muted);letter-spacing:normal;margin:0 14px 10px}
.desktop .sidebar .sidebar-nav{gap:3px}
.desktop .sidebar .sidebar-item{gap:12px;min-height:46px;padding:7px 12px;border-radius:8px;font-size:15px!important;font-weight:400;color:var(--ink)}
.desktop .sidebar-item>svg{width:23px;height:23px;flex-basis:23px;color:var(--muted);stroke-width:1.7}
.desktop .sidebar-item.active,.dark.desktop .sidebar-item.active{background:#3390ec;color:#fff;font-weight:500}
.desktop .sidebar-item.active>svg{color:#fff}
.desktop .sidebar-item.active:before{display:none}
.desktop .sidebar-item i{background:#fff;width:5px;height:5px}
.desktop .sidebar-item:hover{background:var(--tg-hover)}
.desktop .sidebar-item.active:hover{background:#2c83d8}
.desktop .sidebar .sidebar-item{font-weight:400!important}
.desktop .sidebar .sidebar-item.active{font-weight:500!important}
.desktop :is(.desktop-breadcrumb,.desktop-search,.desktop-link,.desktop-secondary){font-weight:500!important}
.desktop .sidebar .sidebar-bottom{padding-top:18px}
.desktop .sidebar-user{padding:17px 10px 5px;margin-top:12px;border-color:var(--line);gap:11px}
.desktop .sidebar-avatar{width:40px;height:40px;flex-basis:40px;border-radius:50%;background:#5aa4e8;color:#fff}
.desktop .sidebar-user strong{font-size:14px;font-weight:500}
.desktop .sidebar-user small{font-size:12px!important;font-weight:400!important;color:var(--muted)}
.desktop .top,.desktop .app.is-scrolled .top,.dark.desktop .top,.dark.desktop .app.is-scrolled .top{min-height:64px;padding:10px var(--desktop-space);background:var(--card);border-color:var(--line);box-shadow:none;gap:14px;backdrop-filter:none;-webkit-backdrop-filter:none}
.desktop .desktop-breadcrumb{gap:12px;color:var(--muted);font-size:14px!important;font-weight:400}
.desktop .desktop-breadcrumb strong{font-weight:500;color:var(--ink)}
.desktop .desktop-search,.dark.desktop .desktop-search{width:225px;min-height:40px;border:0;border-radius:22px;background:var(--bg);color:var(--muted);font-size:13px!important;font-weight:400;padding:0 16px;gap:10px}
.desktop .demo{font-size:12px!important;font-weight:400!important;color:var(--muted)}
.desktop .content{padding:30px var(--desktop-space);max-width:1280px;min-width:0}
.desktop .view{animation:tg-page-in .2s var(--ease)}
.desktop .biz-heading h1,.desktop .page-heading h1{font-size:27px}
.desktop .biz-page .biz-heading .biz-eyebrow{font-size:11px!important}
.desktop .biz-heading{margin-bottom:25px}
.desktop .biz-detail-aside{top:85px}
.desktop .biz-intro{padding:28px}
.desktop .biz-intro h2{font-size:30px}
.desktop .biz-tool-card{padding:24px}
.desktop .biz-resource-card{padding:0}
.desktop .biz-course-card{padding:0}
.desktop .biz-mine-layout{gap:22px}
.desktop .biz-mine-head{padding:25px}
.desktop .biz-resource-head h3{font-size:17px}
.desktop .toast{bottom:28px}

/* Authentication keeps every field and connection control, with Telegram-like type and inputs. */
.os-auth-page{--auth-blue:#3390ec;--auth-muted:var(--muted);--auth-edge:var(--tg-divider);--auth-ink:var(--ink);font-size:15px;font-weight:400;letter-spacing:normal}
.os-auth-page :is(p,label,small,.os-auth-eyebrow,.os-auth-switch,.os-auth-notice,.os-auth-status,.os-auth-connection-footer p,.os-auth-feedback,.os-auth-account p,.os-auth-account-role,.os-auth-connection-label,.os-auth-server strong,.os-auth-server p,.os-auth-email-feedback,.os-auth-footer,.os-auth-offline p){font-size:13px!important;font-weight:400!important;line-height:1.65;color:var(--muted)}
.os-auth-page :is(.os-auth-btn,.os-auth-link,.os-auth-connection-actions .os-auth-btn,.os-auth-connection-actions .os-auth-link,.os-auth-email-row .os-auth-send-code){font-size:14px!important;font-weight:500!important}
.os-auth-page :is(h1,h2){font-weight:500;letter-spacing:normal;color:var(--ink)}
.os-auth-heading h1,.desktop .os-auth-heading h1{font-size:28px}
.os-auth-heading>p{margin-top:12px}
.os-auth-form{gap:20px}
.os-auth-form label{color:var(--ink)!important;gap:8px}
.os-auth-page .os-auth-form input,.dark .os-auth-page .os-auth-form input,.dark.desktop .os-auth-page .os-auth-form input,.desktop .os-auth-page .os-auth-form input{background:var(--tg-input);border:1px solid var(--tg-divider);border-radius:8px;min-height:52px;padding:14px;font-weight:400;font-size:16px!important;color:var(--ink);box-shadow:none}
.os-auth-page .os-auth-form input:focus{border-color:var(--brand);outline:2px solid color-mix(in srgb,var(--brand) 15%,transparent);outline-offset:0}
.os-auth-page .os-auth-form input::placeholder{font-size:15px!important;color:var(--muted)}
.os-auth-btn{background:#3390ec;color:#fff;border-radius:8px;min-height:48px}
.os-auth-btn-secondary,.dark .os-auth-btn-secondary{background:var(--card);border-color:var(--tg-divider);color:var(--brand)}
.os-auth-notice,.os-auth-feedback,.dark .os-auth-notice,.dark .os-auth-feedback{border:0;border-radius:8px;background:var(--brand-soft);padding:14px 16px;color:var(--muted)}
.os-auth-link,.dark .os-auth-link{color:var(--brand)}
.os-auth-email-row .os-auth-send-code{min-height:52px}
.os-auth-mobile-brand img{width:58px;height:58px}
.os-auth-mobile-brand{font-weight:500;letter-spacing:normal;gap:14px;margin-bottom:32px}
.os-auth-connection-card,.os-auth-account,.dark .os-auth-connection-card,.dark .os-auth-account{background:var(--card);border-color:var(--line);border-radius:12px;box-shadow:none}
.os-auth-avatar,.dark .os-auth-avatar{border-radius:50%;background:#5aa4e8;color:#fff}
.os-auth-account-role,.dark .os-auth-account-role{background:var(--brand-soft);color:var(--brand)}
.os-auth-connection-footer{border-color:var(--line)}
.os-auth-page .os-auth-email-feedback.is-error{color:var(--negative)}
.desktop .os-auth-page,.os-auth-page.os-auth-wide,.dark.desktop .os-auth-page{max-width:1000px;min-height:620px;margin:4px auto 0;border:1px solid var(--line);border-radius:14px;background:var(--card);box-shadow:none;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.desktop .os-auth-intro,.os-auth-wide .os-auth-intro,.dark .os-auth-intro{background:var(--brand-soft);border-color:var(--line);padding:32px}
.os-auth-intro-brand{font-size:18px;font-weight:500;letter-spacing:normal}
.os-auth-intro-brand small,.os-auth-intro-footer{color:var(--muted)}
.os-auth-intro-copy{margin-top:68px}
.os-auth-intro-copy h2{font-size:30px;font-weight:500;line-height:1.5;letter-spacing:normal}
.os-auth-intro-copy>p,.dark .os-auth-intro-copy>p{color:var(--muted);font-size:15px}
.os-auth-intro-mark{width:150px;height:150px;opacity:.3}
.desktop .os-auth-main,.os-auth-wide .os-auth-main{padding:36px}
.desktop .os-auth-page[data-auth-view=register]{min-height:730px}

/* Existing market, chart and conversation views share the same visual language. */
.search-field,.dark .search-field{border:0;border-radius:24px;background:var(--card);color:var(--muted);min-height:46px}
.segmented,.dark .segmented{border-radius:9px;background:var(--line)}
.segmented button[aria-pressed=true],.dark .segmented button[aria-pressed=true]{background:var(--card);color:var(--brand);box-shadow:none}
.category-tabs button,.dark .category-tabs button{color:var(--muted)}
.category-tabs button[aria-pressed=true],.dark .category-tabs button[aria-pressed=true]{color:var(--brand)}
.category-tabs button[aria-pressed=true]:after{background:var(--brand);height:3px;border-radius:3px 3px 0 0}
.strategy,.desktop .strategy{border-radius:12px;box-shadow:none}
.avatar,.desktop .compact-strategy .avatar{border-radius:50%;background:var(--brand-soft);color:var(--brand)}
.strategy-name strong{font-size:16px;font-weight:500}
.performance strong{font-weight:500}
.table,.desktop .desktop-table{border-radius:12px}
.quote-row,.asset-row,.setting{border-color:var(--line)}
.instrument strong{font-weight:500;font-size:15px}
.instrument small,.table-head,.secondary-text{color:var(--muted)}
.change{border-radius:5px}
.account,.ledger,.profile-summary,.settings,.group{border-radius:12px;box-shadow:none}
.profile-avatar,.chat-avatar,.group-logo,.desktop .sidebar-avatar{border-radius:50%}
.setting{min-height:62px;padding:12px 16px}
.setting-icon{border-radius:9px;background:var(--brand-soft);color:var(--brand)}
.chat,.dark .chat{border-radius:23px;background:var(--card);border-color:var(--line);box-shadow:none}
.chat button{border-radius:50%;background:#3390ec;color:#fff}
.bubble,.dark .bubble{background:var(--card);border:0;border-radius:12px 12px 12px 3px;box-shadow:0 1px 2px #0001;color:var(--ink);font-size:15px;padding:11px 15px}
.mine .bubble,.dark .mine .bubble{background:var(--brand-soft);color:var(--ink);border-radius:12px 12px 3px 12px}
.desktop .desktop-community{border-radius:12px;border-color:var(--line)}
.desktop .desktop-community-list{background:var(--card);border-color:var(--line)}
.desktop .desktop-conversation{background:var(--bg)}
.desktop .desktop-community-current{border-radius:8px;background:var(--brand-soft);border-color:transparent}
.desktop .desktop-conversation .bubble{font-size:15px}
.desktop .desktop-conversation .group{border-color:var(--line);background:var(--card)}
.desktop .desktop-conversation .chat{border-radius:24px}
.chart-wrap,.dark .chart-wrap{border-color:var(--line);background:var(--card);border-radius:12px}
.chart-periods button{color:var(--muted)}
.chart-periods button[aria-pressed=true],.dark .chart-periods button[aria-pressed=true]{background:var(--brand-soft);color:var(--brand)}

@keyframes tg-page-in{from{opacity:.4;transform:translate3d(0,7px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@media(hover:hover){.biz-page .biz-card:hover,.biz-tool-card:hover{box-shadow:none;border-color:var(--tg-divider)}.biz-menu-item:hover,.setting:hover,.quote-row:hover{background:var(--tg-hover)}.biz-page .biz-btn:hover,.os-auth-btn:hover{filter:brightness(.97);box-shadow:none}.icon-button:hover{background:var(--brand-soft)}}
@media(min-width:640px) and (max-width:1100px){.desktop{--sidebar-width:216px;--desktop-space:24px}.desktop .sidebar .sidebar-brand{font-size:16px;gap:8px;padding-inline:5px}.desktop .sidebar-brand img{width:36px;height:36px}.desktop .sidebar .sidebar-item{font-size:14px!important;padding-inline:10px;gap:10px}.desktop .desktop-search{width:180px}.desktop .os-auth-page{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.desktop .os-auth-intro,.desktop .os-auth-main{padding:26px}.biz-home-launcher{grid-template-columns:1fr}.biz-home-entry:nth-child(odd){border-right:0}.biz-home-entry:nth-last-child(2){border-bottom:1px solid var(--line)}}
@media(min-width:640px) and (max-width:850px){.desktop{--sidebar-width:76px;--desktop-space:22px}.desktop .sidebar{padding:14px 8px}.desktop .sidebar .sidebar-brand{justify-content:center;margin-bottom:18px;padding:6px 0}.desktop .sidebar .sidebar-item{justify-content:center;padding:10px;min-height:47px}.desktop .sidebar .sidebar-item svg{width:24px;height:24px}.desktop .sidebar-user{justify-content:center;padding-inline:0}.desktop .os-auth-page{grid-template-columns:1fr;min-height:0!important}.desktop .os-auth-intro{display:none}.desktop .os-auth-main{padding:30px}.desktop .os-auth-mobile-brand{display:flex}.desktop .top{gap:8px}.desktop .desktop-search{width:145px}.desktop .demo{font-size:11px!important}}
@media(min-width:851px){.desktop .sidebar-brand>span,.desktop .sidebar-item>span,.desktop .sidebar-user>span:not(.sidebar-avatar){display:block}.desktop .sidebar-heading{display:block}.desktop .sidebar-item>i{display:block}.desktop .sidebar-user>svg{display:block}.desktop .sidebar-item{justify-content:flex-start}.desktop .sidebar-user{justify-content:flex-start}}
@media(min-width:640px) and (max-width:850px){.dark.desktop .os-auth-page{grid-template-columns:1fr}}
@media(max-width:639px){
  .app{border-radius:0;box-shadow:none;min-height:100dvh}
  .top,.app.is-scrolled .top{padding:8px 16px;min-height:62px}
  .brand{font-size:17px;gap:8px}.brand img,.app.is-scrolled .brand img{width:34px;height:34px}
  .brand small,.app .brand small{font-size:11px!important}
  .demo{font-size:10px!important;gap:3px;margin-right:0}
  .top .icon-button{width:34px;height:36px;flex-basis:34px}.top .icon-button svg{width:20px;height:20px}
  .content{padding-top:20px}
  .app .nav{font-size:12px!important}
  .biz-heading{align-items:flex-start;gap:12px;margin-bottom:20px;flex-wrap:wrap}
  .biz-heading>div{min-width:0;flex:1 1 180px}.biz-heading> :is(a,button){max-width:100%}
  .biz-heading h1{font-size:24px}.biz-heading p{font-size:14px!important}
  .biz-heading .biz-eyebrow{font-size:10px!important}
  .biz-intro,.dark .biz-intro{padding:22px 20px}.biz-intro h2{font-size:25px;line-height:1.4}
  .biz-intro>img{width:84px;height:84px;opacity:.1}
  .biz-page .biz-card :is(h2,h3){font-weight:600}
  .biz-grid,.biz-stack{gap:14px}.biz-section{margin-top:23px}
  .biz-section-head{align-items:flex-start}.biz-section-head h2{font-size:18px}
  .biz-page .biz-btn{font-size:14px!important;min-height:44px}
  .biz-home-page .biz-heading{margin-bottom:20px}
  .biz-home-launcher{grid-template-columns:1fr;margin-inline:-20px;border-width:1px 0;border-radius:0}
  .biz-home-entry,.dark .biz-home-entry{gap:14px;padding:14px 20px;min-height:78px;border-right:0}
  .biz-home-entry:nth-last-child(2){border-bottom:1px solid var(--line)}
  .biz-home-entry-icon,.dark .biz-home-entry-icon{width:48px;height:48px;flex-basis:48px}
  .biz-home-entry-copy{gap:4px}.biz-page .biz-home-entry-copy strong{font-size:16px!important}
  .biz-page .biz-home-entry-copy small{font-size:13px!important;font-weight:400!important}
  .biz-tool-card{padding:20px;flex-direction:row;flex-wrap:wrap;column-gap:14px;align-items:center}
  .biz-tool-card .biz-resource-symbol{margin:0;width:44px;height:44px;flex-basis:44px}
  .biz-tool-card strong{font-size:17px;flex:1}
  .biz-tool-card p{width:100%;margin-top:14px;margin-bottom:12px}
  .biz-tool-card .biz-link{margin-left:auto}
  .biz-tool-links{gap:9px}.biz-tool-link{font-size:13px!important;padding:13px 12px;gap:8px}
  .biz-course-body{padding:18px}.biz-course-cover{padding:20px}
  .biz-mine-head{padding:22px 20px;margin-inline:-20px;border-radius:0;border-block:1px solid var(--line)}
  .biz-menu-item{padding:13px 16px;min-height:64px;gap:12px}
  .biz-page .biz-quant-grid>.biz-resource-card{flex-basis:100%;min-width:0}
  .biz-signal-cover-value{font-size:30px}.biz-signal-cover-graph svg{height:125px}
  .biz-performance-chart svg{min-height:160px}
  .biz-form-row{gap:16px}
  .os-auth-page{padding-top:8px}.os-auth-heading h1{font-size:27px}
  .os-auth-mobile-brand{margin:0 0 30px;font-size:19px}.os-auth-mobile-brand img{width:60px;height:60px}
  .os-auth-form-row{gap:18px}.os-auth-form{gap:20px}
  .os-auth-email-row{gap:8px}.os-auth-email-row .os-auth-send-code{min-width:98px;font-size:13px!important;padding-inline:10px}
  .modalback{align-items:center;padding:22px}.modal,.dark .modal{border-radius:14px;padding:20px;max-height:calc(100dvh - 44px);overflow-y:auto}
  .modal-actions{justify-content:flex-end}.modal-actions button{flex:0 1 auto;padding-inline:16px}
  .sheet-handle{display:none}
  .chat{bottom:calc(79px + env(safe-area-inset-bottom))}
}
@media(max-width:360px){.top,.app.is-scrolled .top{padding-inline:12px}.brand{font-size:16px;gap:6px}.brand img{width:30px;height:30px}.brand small,.app .brand small{font-size:10px!important}.top .icon-button{width:30px;flex-basis:30px}.demo{display:flex;font-size:9px!important}.content{padding-inline:16px}.biz-home-launcher,.biz-mine-head{margin-inline:-16px}.biz-home-entry{padding-inline:16px;gap:12px}.biz-home-entry-icon{width:44px;height:44px;flex-basis:44px}.biz-page .biz-home-entry-copy small{font-size:12px!important}.biz-tool-links{grid-template-columns:1fr}.biz-intro{padding:20px 18px}.biz-heading h1{font-size:23px}.biz-home-entry-copy strong{font-size:15px!important}.modalback{padding:16px}.modal{max-height:calc(100dvh - 32px)}.swipe-neighbor{left:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.desktop .view{animation:none}.biz-page .biz-home-entry:hover,.biz-page .biz-home-entry:active{transform:none}}
