html{--lhb-space-scale:1}
html[data-global-font-scale='90']{--lhb-space-scale:.85}
html[data-global-font-scale='100']{--lhb-space-scale:1}
html[data-global-font-scale='110']{--lhb-space-scale:1.07}
html[data-global-font-scale='120']{--lhb-space-scale:1.14}
html[data-global-font-scale='150']{--lhb-space-scale:1.28}
html[data-global-font-scale='200']{--lhb-space-scale:1.42}
html[data-global-font-scale='250']{--lhb-space-scale:1.55}

html:has(.lhb-page),body:has(.lhb-page){height:100dvh;max-height:100dvh;margin:0;padding:0;overflow:hidden}
.lhb-page{display:flex;flex-direction:column;height:100dvh;max-height:100dvh;min-height:0;padding:clamp(8px,1vw,14px) clamp(12px,1.6vw,24px) clamp(10px,1.2vw,16px);background:var(--ui-canvas,#f5f8fc);color:var(--ui-text,#243b58);box-sizing:border-box;overflow:hidden;overflow:clip}
.lhb-shell{display:flex;flex-direction:column;flex:1 1 0;width:100%;height:100%;max-width:none;min-height:0;margin:0 auto}
.lhb-header{position:relative;z-index:10;flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:calc(8px * var(--lhb-space-scale,1)) calc(16px * var(--lhb-space-scale,1));margin-bottom:calc(8px * var(--lhb-space-scale,1))}
.lhb-heading{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:calc(6px * var(--lhb-space-scale,1)) calc(10px * var(--lhb-space-scale,1));min-width:0;flex:1 1 280px}
.lhb-kicker{flex:none;color:#6c87a7;font-size:11px;font-weight:800;letter-spacing:.14em}
.lhb-title{margin:0;color:#1f3858;font-size:22px;line-height:1.25;white-space:nowrap}
.lhb-subtitle{min-width:0;margin:0;color:#71839a;font-size:13px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lhb-refresh{display:inline-flex;align-items:center;justify-content:center;min-height:calc(32px * var(--global-font-scale,1));height:auto;padding:calc(4px * var(--lhb-space-scale,1)) calc(12px * var(--lhb-space-scale,1));border:1px solid #c8dced;border-radius:7px;background:#fff;color:#2873b9;font-size:12px;font-weight:700;line-height:1.25;white-space:nowrap;cursor:pointer}
.lhb-refresh:hover:not(:disabled){border-color:#6da5d8;background:#edf6ff}
.lhb-scale-control{display:inline-flex;align-items:center;gap:calc(5px * var(--lhb-space-scale,1));min-height:calc(32px * var(--global-font-scale,1));height:auto;padding:calc(2px * var(--lhb-space-scale,1)) calc(10px * var(--lhb-space-scale,1));border:1px solid #c8dced;border-radius:7px;background:#fff;color:#2873b9;box-shadow:none}
.lhb-scale-control .global-font-scale-label{position:static;width:auto;height:auto;clip-path:none;overflow:visible;font-size:12px;font-weight:700;line-height:1.2;color:inherit;opacity:.85}
.lhb-scale-control .global-font-scale-select{width:auto!important;min-width:calc(58px * var(--global-font-scale,1));min-height:calc(24px * var(--global-font-scale,1))!important;height:auto!important;padding:0 calc(4px * var(--lhb-space-scale,1))!important;border:0!important;background:transparent!important;box-shadow:none!important;color:inherit;font-size:12px;font-weight:700;line-height:1.25;cursor:pointer}
.lhb-card{border:1px solid #dce6f1;background:#fff;box-shadow:0 5px 16px rgba(31,63,96,.06)}
.lhb-tabs{display:flex;gap:calc(2px * var(--lhb-space-scale,1));border-bottom:1px solid #e0eaf3;padding:calc(4px * var(--lhb-space-scale,1)) calc(12px * var(--lhb-space-scale,1)) 0;overflow-x:auto;scrollbar-width:thin}
.lhb-tab{flex:0 0 auto;padding:calc(8px * var(--lhb-space-scale,1)) calc(14px * var(--lhb-space-scale,1));border:0;border-bottom:3px solid transparent;background:transparent;color:#71849c;font-size:13px;font-weight:700;line-height:1.3;white-space:nowrap;cursor:pointer}
.lhb-tab:hover{color:#2474bd}
.lhb-tab.active{border-bottom-color:#2474bd;color:#1767b9}
.lhb-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:calc(8px * var(--lhb-space-scale,1)) calc(12px * var(--lhb-space-scale,1));padding:calc(8px * var(--lhb-space-scale,1)) calc(14px * var(--lhb-space-scale,1));color:#6d829b;font-size:12px;line-height:1.35}
#lhb-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lhb-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}
.lhb-table th,.lhb-table td{padding:calc(8px * var(--lhb-space-scale,1)) calc(10px * var(--lhb-space-scale,1));border-bottom:1px solid #e8eef5;text-align:left;line-height:1.35;white-space:nowrap}
.lhb-table thead th{position:sticky;top:0;z-index:3;background:#f4f8fc;color:#6c819a;font-size:11px}
.lhb-table td:first-child,.lhb-table th:first-child{width:calc(52px * var(--global-font-scale,1));text-align:center;color:#8999aa;font-variant-numeric:tabular-nums}
.lhb-name{font-weight:700;color:#315b85}
.lhb-change{font-weight:800;font-variant-numeric:tabular-nums}
.lhb-up{color:#d84b4b}
/* 顶部龙虎榜入口与主题、趋势图标保持一致。 */
body .header .lhb-header-shortcut {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(137, 157, 175, 0.24);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.56);
  color: #40556c;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 220ms ease, transform 180ms cubic-bezier(0.22, 0.8, 0.24, 1);
}

body .header .lhb-header-shortcut:hover,
body .header .lhb-header-shortcut:focus-visible {
  border-color: rgba(24, 112, 91, 0.62);
  background: rgba(255, 255, 255, 0.86);
  color: #126a57;
  box-shadow: 0 5px 13px rgba(31, 55, 76, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transform: translateY(-1px);
}

html[data-table-theme='dark'] body .header .lhb-header-shortcut {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #b8bbc3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

html[data-table-theme='dark'] body .header .lhb-header-shortcut:hover,
html[data-table-theme='dark'] body .header .lhb-header-shortcut:focus-visible {
  border-color: rgba(94, 106, 210, 0.3);
  background: rgba(94, 106, 210, 0.13);
  color: #dfe2ff;
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.35), 0 0 28px rgba(94, 106, 210, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body .header .lhb-header-shortcut svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.lhb-column-menu{display:inline-flex;position:relative;flex:none;vertical-align:middle}
.lhb-column-menu>button{display:inline-flex;align-items:center;justify-content:center;min-width:calc(28px * var(--global-font-scale,1));min-height:calc(28px * var(--global-font-scale,1));width:auto;height:auto;padding:2px 6px;border:1px solid #c9d9ec;border-radius:6px;background:#f7fbff;color:#4e759a;font-size:13px;font-weight:700;line-height:1;cursor:pointer}
.lhb-column-menu>button:hover{border-color:#78a9d1;background:#edf6ff;color:#2474bd}
.lhb-column-menu>div{position:absolute;top:calc(100% + 6px);left:0;z-index:30;display:grid;grid-template-columns:repeat(auto-fit,minmax(calc(124px * var(--global-font-scale,1)),1fr));gap:calc(6px * var(--lhb-space-scale,1)) calc(10px * var(--lhb-space-scale,1));width:min(calc(340px * var(--global-font-scale,1)),calc(100vw - 28px));min-width:0;max-height:min(65vh,420px);overflow:auto;padding:calc(10px * var(--lhb-space-scale,1));border:1px solid #c9d9ec;border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(31,63,96,.16)}
.lhb-column-menu>div[hidden]{display:none!important}
.lhb-column-option{display:flex;align-items:center;gap:6px;color:#3f5e7e;font-size:12px;line-height:1.35;cursor:pointer}
.lhb-column-option input{accent-color:#2474bd;flex:none}
.lhb-actions{display:flex;flex-wrap:wrap;align-items:center;gap:calc(8px * var(--lhb-space-scale,1));flex:0 0 auto}
.lhb-action,.lhb-stock-actions > :where(.stock-list-rk-button){min-width:32px;height:30px;padding:0 8px;border:1px solid #c8dced;border-radius:6px;background:#fff;color:#4e759a;font-weight:800;cursor:pointer}
html[data-global-font-scale]:not([data-global-font-scale='100']) .lhb-action,
html[data-global-font-scale]:not([data-global-font-scale='100']) .lhb-stock-actions > :where(.stock-list-rk-button){min-width:calc(32px * var(--global-font-scale,1));min-height:calc(30px * var(--global-font-scale,1));height:auto;padding:calc(4px * var(--lhb-space-scale,1)) calc(8px * var(--lhb-space-scale,1))}
button.lhb-action,.lhb-stock-actions > :where(.stock-list-rk-button){font-family:inherit;font-size:13px;font-weight:900;line-height:1}
.lhb-action:hover,.lhb-action.active,.lhb-stock-actions > :where(.stock-list-rk-button[aria-pressed="false"]):hover{border-color:#2474bd;background:#edf6ff;color:#1767b9}
.lhb-stock-actions > .stock-list-rk-button{--stock-list-rk-accent:#2474bd}
.lhb-down{color:#15935b}
.lhb-favorite{color:#c89418;font-size:16px;cursor:pointer}
.lhb-table :is(th,td)[data-column-key="marketCap"],
.lhb-table :is(th,td)[data-column-key="totalRevenue"],
.lhb-table :is(th,td)[data-column-key="grossProfit"],
.lhb-table :is(th,td)[data-column-key="grossMargin"],
.lhb-table :is(th,td)[data-column-key="totalProfit"],
.lhb-table :is(th,td)[data-column-key="deductedNetProfit"],
.lhb-table :is(th,td)[data-column-key="change"],
.lhb-table :is(th,td)[data-column-key="distanceChange"],
.lhb-table :is(th,td)[data-column-key="nextOpenChange"],
.lhb-table :is(th,td)[data-column-key="nextCloseChange"],
.lhb-table :is(th,td)[data-column-key="change5"],
.lhb-table :is(th,td)[data-column-key="change20"],
.lhb-table :is(th,td)[data-column-key="maxDrawdown"]{text-align:right;font-variant-numeric:tabular-nums}
.lhb-table th[data-column-key="marketCap"] .lhb-sort-head,
.lhb-table th[data-column-key="totalRevenue"] .lhb-sort-head,
.lhb-table th[data-column-key="grossProfit"] .lhb-sort-head,
.lhb-table th[data-column-key="grossMargin"] .lhb-sort-head,
.lhb-table th[data-column-key="totalProfit"] .lhb-sort-head,
.lhb-table th[data-column-key="deductedNetProfit"] .lhb-sort-head,
.lhb-table th[data-column-key="change"] .lhb-sort-head,
.lhb-table th[data-column-key="distanceChange"] .lhb-sort-head,
.lhb-table th[data-column-key="nextOpenChange"] .lhb-sort-head,
.lhb-table th[data-column-key="nextCloseChange"] .lhb-sort-head,
.lhb-table th[data-column-key="change5"] .lhb-sort-head,
.lhb-table th[data-column-key="change20"] .lhb-sort-head,
.lhb-table th[data-column-key="maxDrawdown"] .lhb-sort-head{justify-content:flex-end;width:100%}
.lhb-table th[data-column-key="favorite"],.lhb-table td[data-column-key="favorite"]{text-align:center}

@media(min-width:641px){
  html:not([data-global-font-scale='200']):not([data-global-font-scale='250']) .lhb-table th[data-column-key="name"],
  html:not([data-global-font-scale='200']):not([data-global-font-scale='250']) .lhb-table td[data-column-key="name"]{position:sticky;left:0;box-shadow:1px 0 0 var(--ui-border,#e8eef5)}
  html:not([data-global-font-scale='200']):not([data-global-font-scale='250']) .lhb-table thead th[data-column-key="name"]{z-index:4}
  html:not([data-global-font-scale='200']):not([data-global-font-scale='250']) .lhb-table tbody td[data-column-key="name"]{z-index:2;background:var(--ui-surface,#fff)}
  html:not([data-global-font-scale='200']):not([data-global-font-scale='250']) .lhb-table tbody tr:hover td[data-column-key="name"]{background:var(--ui-hover,#f1f7fe)}
  html:not([data-global-font-scale='200']):not([data-global-font-scale='250']) .lhb-table tbody tr.is-selected td[data-column-key="name"]{background:var(--ui-selected,#eaf4ff)}
}

.lhb-workspace{--lhb-list-width:50%;flex:1 1 0;display:grid;width:100%;height:100%;grid-template-columns:minmax(0,var(--lhb-list-width,50%)) 12px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;align-items:stretch;min-width:0;min-height:0;overflow:hidden}
.lhb-list-card,.lhb-detail-card{width:100%;height:100%;max-height:100%;min-width:0;min-height:0;box-sizing:border-box}
.lhb-list-card{display:flex;flex-direction:column;overflow:hidden!important;overflow:clip!important}
.lhb-list-card>.lhb-date-toolbar,.lhb-list-card>.lhb-tabs,.lhb-list-card>.lhb-toolbar,.lhb-list-card>.lhb-eval-summary,.lhb-list-card>.lhb-cluster-bar{flex:0 0 auto}
.lhb-table-scroll{flex:1 1 0;height:auto;max-height:none;min-width:0;min-height:0;overflow-y:auto;overflow-x:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.lhb-table tbody tr{cursor:pointer;transition:background-color .15s ease,box-shadow .15s ease}
.lhb-table tbody tr:hover{background:#f1f7fe}
.lhb-table tbody tr.is-selected{background:#eaf4ff;box-shadow:inset 3px 0 #2474bd}
.lhb-table tbody tr:focus-visible{outline:2px solid #2474bd;outline-offset:-2px}
.lhb-resizer{position:relative;width:12px;min-height:100%;touch-action:none;cursor:col-resize;outline:0}
.lhb-resizer::before{content:"";position:absolute;top:0;bottom:0;left:5px;width:2px;border-radius:999px;background:#d5dfeb;transition:width .15s ease,left .15s ease,background .15s ease,box-shadow .15s ease}
.lhb-resizer:hover::before,.lhb-resizer:focus-visible::before,.lhb-workspace.is-resizing .lhb-resizer::before{left:3px;width:6px;background:#6da9eb;box-shadow:0 0 0 2px rgba(36,116,229,.12)}
.lhb-workspace.is-resizing{cursor:col-resize;user-select:none}
.lhb-workspace.is-resizing *{cursor:col-resize!important}

.lhb-detail-card{display:flex;flex-direction:column;border:1px solid #dce6f1;background:#fff;box-shadow:0 5px 16px rgba(31,63,96,.06);overflow:hidden}
.lhb-detail-heading{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:calc(6px * var(--lhb-space-scale,1)) calc(12px * var(--lhb-space-scale,1));padding:calc(10px * var(--lhb-space-scale,1)) calc(14px * var(--lhb-space-scale,1));border-bottom:1px solid #e0eaf3}
.lhb-detail-heading h2{margin:2px 0 0;color:#1f3858;font-size:17px;line-height:1.3}
.lhb-detail-kicker{color:#6c87a7;font-size:10px;font-weight:800;letter-spacing:.14em}
.lhb-detail-heading>span{max-width:52%;overflow:hidden;color:#71839a;font-size:12px;line-height:1.35;text-align:right;text-overflow:ellipsis;white-space:nowrap}
.lhb-detail-host{display:flex;flex-direction:column;flex:1 1 0;width:100%;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;background:var(--ui-canvas,#f5f8fc)}
.lhb-detail-host.is-loading{cursor:progress}
.lhb-detail-host [hidden]{display:none!important}
.lhb-detail-empty{display:grid;place-items:center;flex:1 1 auto;width:100%;min-width:0;min-height:260px;padding:28px;box-sizing:border-box;color:#7d8ea3;font-size:13px;line-height:1.5;text-align:center}
#lhb-detail-host>.stock-detail-inline-panel{display:flex!important;flex:0 0 auto!important;flex-direction:column;width:100%;max-width:none!important;height:auto!important;min-width:0;min-height:100%;overflow:visible!important;padding:0 0 18px;box-sizing:border-box;background:var(--ui-canvas,#f5f8fc)}
#lhb-detail-host>.stock-detail-inline-panel>.stock-detail-page-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;flex:0 0 auto;width:100%;max-width:none!important;min-width:0;padding:calc(8px * var(--lhb-space-scale,1)) calc(12px * var(--lhb-space-scale,1));margin:0;border-bottom:1px solid var(--ui-border,#e0eaf3);box-sizing:border-box;background:var(--ui-surface,#fff)}
#lhb-detail-host>.stock-detail-inline-panel>.stock-detail-page-header .stock-detail-header-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;width:100%;min-width:0;gap:8px}
#lhb-detail-host>.stock-detail-inline-panel>.stock-detail-related-stocks:not([hidden]){flex:0 0 auto;width:100%;max-width:none!important;max-height:none;margin:0;padding:8px 12px;overflow:visible;box-sizing:border-box}
#lhb-detail-host>.stock-detail-inline-panel>.stock-detail-view:not([hidden]){display:flex;flex-direction:column;flex:0 0 auto!important;width:100%;max-width:none!important;height:auto!important;min-width:0;min-height:0;border-left:0;border-right:0;border-radius:0;overflow:visible!important;box-sizing:border-box}
#lhb-detail-host>.stock-detail-inline-panel>.stock-detail-view>.stock-detail-content{flex:none!important;width:100%;max-width:none!important;height:auto!important;min-width:0;min-height:0;overflow:visible!important;scrollbar-gutter:auto;box-sizing:border-box}
#lhb-detail-host>.stock-detail-inline-panel>.stock-detail-technical-view:not([hidden]){display:block!important;flex:0 0 auto!important;width:100%;max-width:none!important;height:auto!important;min-width:0;min-height:0;border-left:0;border-right:0;overflow:visible!important;box-sizing:border-box}
#lhb-detail-host .technical-analysis-inline-panel{display:block!important;flex:none!important;width:100%;height:auto!important;min-height:0;padding:8px 12px 16px;overflow:visible!important;box-sizing:border-box}
#lhb-detail-host .technical-chart-shell{flex:none!important;width:100%;height:var(--technical-chart-height,780px)!important;min-height:560px}
#lhb-detail-host .technical-chart{width:100%;height:100%!important;min-height:560px}
#lhb-detail-host .stock-detail-statement-scroll,#lhb-detail-host .stock-detail-financial-overview-table-scroll,#lhb-detail-host .stock-detail-dividend-table-wrap{max-height:none!important;overflow-x:auto;overflow-y:hidden}
#lhb-detail-host .stock-detail-financial-toolbar,#lhb-detail-host .stock-detail-statement-section,#lhb-detail-host .stock-detail-statement-scroll,#lhb-detail-host .stock-detail-metric-chart{width:100%;max-width:none;box-sizing:border-box}

html[data-global-font-scale='150'] .lhb-subtitle,
html[data-global-font-scale='200'] .lhb-subtitle,
html[data-global-font-scale='250'] .lhb-subtitle{white-space:normal}
html[data-global-font-scale='150'] .lhb-eval-summary,
html[data-global-font-scale='200'] .lhb-eval-summary,
html[data-global-font-scale='250'] .lhb-eval-summary,
html[data-global-font-scale='150'] .lhb-cluster-bar,
html[data-global-font-scale='200'] .lhb-cluster-bar,
html[data-global-font-scale='250'] .lhb-cluster-bar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
html[data-global-font-scale='150'] .lhb-date-toolbar.stock-workbench-filter,
html[data-global-font-scale='200'] .lhb-date-toolbar.stock-workbench-filter,
html[data-global-font-scale='250'] .lhb-date-toolbar.stock-workbench-filter{margin:6px 8px 2px;padding:6px 8px;gap:4px}
html[data-global-font-scale='150'] .lhb-date-toolbar.stock-workbench-filter .stock-workbench-days,
html[data-global-font-scale='200'] .lhb-date-toolbar.stock-workbench-filter .stock-workbench-days,
html[data-global-font-scale='250'] .lhb-date-toolbar.stock-workbench-filter .stock-workbench-days{grid-template-columns:repeat(auto-fill,minmax(calc(24px * var(--global-font-scale,1)),1fr));gap:3px}
html[data-global-font-scale='200'] #lhb-date-days,
html[data-global-font-scale='250'] #lhb-date-days{max-height:112px;overflow-y:auto}
@media(max-height:820px){
  .lhb-page{padding:6px 12px 8px}
  .lhb-header{margin-bottom:6px}
  .lhb-date-toolbar.stock-workbench-filter{margin:6px 8px 2px;padding:6px 8px;gap:4px}
  .lhb-tabs{padding:2px 10px 0}
  .lhb-tab{padding:6px 12px}
  .lhb-toolbar,.lhb-eval-summary,.lhb-cluster-bar{padding:5px 10px}
  .lhb-eval-summary,.lhb-cluster-bar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
}

.lhb-date-toolbar.stock-workbench-filter{display:flex;flex-direction:column;align-items:stretch;gap:calc(6px * var(--lhb-space-scale,1));margin:calc(10px * var(--lhb-space-scale,1)) calc(12px * var(--lhb-space-scale,1)) 2px;padding:calc(8px * var(--lhb-space-scale,1)) calc(10px * var(--lhb-space-scale,1));border:1px solid #e2e9f2;border-radius:10px;background:#fff;box-sizing:border-box;color:#6d829b;font-size:12px}
.lhb-date-toolbar.stock-workbench-filter .stock-workbench-period{display:grid;grid-template-columns:auto minmax(92px,1fr) minmax(80px,1fr) auto;gap:calc(6px * var(--lhb-space-scale,1));width:100%;margin:0;align-items:center}
.lhb-date-toolbar.stock-workbench-filter .stock-workbench-select{width:100%;min-width:0;min-height:calc(34px * var(--global-font-scale,1));height:auto;padding:calc(4px * var(--lhb-space-scale,1)) calc(26px * var(--lhb-space-scale,1)) calc(4px * var(--lhb-space-scale,1)) calc(10px * var(--lhb-space-scale,1));font-size:13px;line-height:1.3}
.lhb-date-toolbar.stock-workbench-filter .stock-workbench-days{display:grid;grid-template-columns:repeat(auto-fill,minmax(calc(28px * var(--global-font-scale,1)),1fr));gap:calc(4px * var(--lhb-space-scale,1));width:100%;margin-top:0;padding-top:calc(5px * var(--lhb-space-scale,1));border-top:1px solid #edf1f6}
.lhb-date-toolbar.stock-workbench-filter .lhb-date-status{display:block;width:100%;margin:0;min-height:1.45em;color:#7d899a;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.lhb-date-toolbar.stock-workbench-filter input[hidden]{display:none!important}

.lhb-xi,.lhb-volatility{font-weight:800;text-align:center!important;font-variant-numeric:tabular-nums}
.lhb-xi{color:#8b294d}
.lhb-volatility{color:#365b91}
.lhb-industry{max-width:calc(140px * var(--global-font-scale,1));overflow:hidden;color:#526e8d;text-overflow:ellipsis}
.lhb-concepts{max-width:calc(180px * var(--global-font-scale,1));overflow:hidden;color:#3d6089;font-size:12px;text-overflow:ellipsis}
.lhb-distance-change,.lhb-eval-metric{font-weight:800;text-align:right;font-variant-numeric:tabular-nums}
.lhb-sort-head{display:inline-flex;align-items:center;gap:calc(4px * var(--lhb-space-scale,1));min-width:max-content}
.lhb-sort-label{line-height:1.25}
.lhb-sort-controls{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;margin:-2px 0;line-height:1}
.lhb-sort-button{width:calc(14px * var(--global-font-scale,1));height:calc(11px * var(--global-font-scale,1));padding:0;border:0;background:transparent;color:#9aaabd;font-size:10px;font-weight:800;line-height:1;cursor:pointer}
.lhb-sort-button:hover,.lhb-sort-button:focus-visible{color:#2474bd}
.lhb-sort-button.active{color:#1767b9}
.lhb-sort-button:focus-visible{outline:2px solid rgba(36,116,229,.25);outline-offset:1px;border-radius:2px}
html[data-table-theme='dark'] body .lhb-sort-button{color:#727681}
html[data-table-theme='dark'] body .lhb-sort-button:hover,html[data-table-theme='dark'] body .lhb-sort-button:focus-visible,html[data-table-theme='dark'] body .lhb-sort-button.active{color:#dfe2ff}

.lhb-stock-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:calc(6px * var(--lhb-space-scale,1));margin-left:auto}
.lhb-stock-actions #lhb-count{white-space:nowrap;font-variant-numeric:tabular-nums}
.lhb-action:disabled,.lhb-refresh:disabled,.lhb-nav-day-btn:disabled{opacity:.48;cursor:default}
.lhb-detail-host[hidden],.lhb-multi-host[hidden],.lhb-eval-summary[hidden],.lhb-cluster-bar[hidden],.lhb-multi-alpha[hidden]{display:none!important}
.lhb-multi-host{flex:1 1 0;width:100%;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.lhb-multi-host>.sector-theme-multi-chart{height:max(100%,560px);min-height:560px}
.lhb-nav-day-btn{display:inline-flex;align-items:center;justify-content:center;min-height:calc(34px * var(--global-font-scale,1));height:auto;padding:calc(4px * var(--lhb-space-scale,1)) calc(10px * var(--lhb-space-scale,1));border:1px solid #d5e1ee;border-radius:8px;background:#f8fbff;color:#2e5a88;font-size:12px;font-weight:700;line-height:1.25;white-space:nowrap;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,color .15s ease}
.lhb-nav-day-btn:hover:not(:disabled),.lhb-nav-day-btn:focus-visible{border-color:#6da5d8;background:#edf6ff;color:#1767b9}
#lhb-date-days .stock-workbench-day{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:calc(25px * var(--global-font-scale,1));height:auto;padding:2px 0;font-size:11px;line-height:1.2;font-variant-numeric:tabular-nums}
#lhb-date-days .stock-workbench-day.is-non-trading:not(.active){opacity:.42;color:#8fa0b3;background:transparent;border-style:dashed}
#lhb-date-days .stock-workbench-day.is-saved:not(.active){border-color:rgba(36,116,189,.42);background:rgba(36,116,189,.07);color:#1a5c9e;font-weight:700}
#lhb-date-days .stock-workbench-day.is-saved::after{content:"";position:absolute;bottom:2px;left:50%;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:currentColor;opacity:.75}

.lhb-list-card .lhb-eval-summary,.lhb-list-card .lhb-cluster-bar{flex:0 0 auto}
.lhb-eval-summary{display:flex;flex-wrap:wrap;align-items:center;gap:calc(5px * var(--lhb-space-scale,1)) calc(14px * var(--lhb-space-scale,1));padding:calc(6px * var(--lhb-space-scale,1)) calc(14px * var(--lhb-space-scale,1));border-top:1px solid #e8eef5;border-bottom:1px solid #e8eef5;background:#f7faff;font-size:12px;line-height:1.4;color:#526984;font-variant-numeric:tabular-nums}
.lhb-eval-item{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.lhb-eval-label{color:#6e839b;font-weight:600}
.lhb-eval-value{font-weight:800;color:#203a58}
.lhb-cluster-bar{display:flex;flex-wrap:wrap;align-items:center;gap:calc(6px * var(--lhb-space-scale,1));padding:calc(6px * var(--lhb-space-scale,1)) calc(14px * var(--lhb-space-scale,1));border-bottom:1px solid #e8eef5;background:#fcfdff}
.lhb-cluster-modes{display:inline-flex;border:1px solid #d4e2f0;border-radius:6px;overflow:hidden;flex:0 0 auto}
.lhb-cluster-mode{display:inline-flex;align-items:center;justify-content:center;min-height:calc(24px * var(--global-font-scale,1));padding:calc(3px * var(--lhb-space-scale,1)) calc(8px * var(--lhb-space-scale,1));border:0;background:#fff;color:#5c7490;font-size:11px;font-weight:700;line-height:1.25;cursor:pointer}
.lhb-cluster-mode.active{background:#2474bd;color:#fff}
.lhb-cluster-pill{display:inline-flex;align-items:center;gap:4px;min-height:calc(24px * var(--global-font-scale,1));height:auto;padding:calc(2px * var(--lhb-space-scale,1)) calc(9px * var(--lhb-space-scale,1));border:1px solid #d3e2f1;border-radius:999px;background:#f4f9ff;color:#2a5885;font-size:11px;font-weight:700;line-height:1.3;cursor:pointer;white-space:nowrap;transition:all .14s ease}
.lhb-cluster-pill:hover{border-color:#74a9dc;background:#e8f3ff}
.lhb-cluster-pill.active{border-color:#1767b9;background:#1767b9;color:#fff}
.lhb-cluster-pill-meta{opacity:.82;font-weight:600;font-variant-numeric:tabular-nums}
.lhb-cluster-clear{border-color:#e0c2c2;background:#fff5f5;color:#b53838}
.lhb-cluster-empty{color:#8395a9;font-size:11px;line-height:1.35}
.lhb-multi-alpha{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:calc(6px * var(--lhb-space-scale,1)) calc(12px * var(--lhb-space-scale,1));padding:calc(8px * var(--lhb-space-scale,1)) calc(16px * var(--lhb-space-scale,1));border-bottom:1px solid #e0eaf3;background:#f7faff;color:#3f5b7a;font-size:12px;font-weight:700;line-height:1.4;font-variant-numeric:tabular-nums}

html[data-table-theme='dark'] body .lhb-refresh,
html[data-table-theme='dark'] body .lhb-scale-control,
html[data-table-theme='dark'] body .lhb-nav-day-btn{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#d0d5e0}
html[data-table-theme='dark'] body .lhb-refresh:hover:not(:disabled),
html[data-table-theme='dark'] body .lhb-scale-control:hover,
html[data-table-theme='dark'] body .lhb-nav-day-btn:hover:not(:disabled){border-color:rgba(94,106,210,.45);background:rgba(94,106,210,.16);color:#eef0ff}
html[data-table-theme='dark'] body #lhb-date-days .stock-workbench-day.is-non-trading:not(.active){opacity:.36;color:#767c89}
html[data-table-theme='dark'] body #lhb-date-days .stock-workbench-day.is-saved:not(.active){border-color:rgba(94,106,210,.45);background:rgba(94,106,210,.14);color:#c7d0ff}
html[data-table-theme='dark'] body .lhb-eval-summary,html[data-table-theme='dark'] body .lhb-cluster-bar,html[data-table-theme='dark'] body .lhb-multi-alpha{border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.03);color:#b8c0cc}
html[data-table-theme='dark'] body .lhb-eval-value{color:#e5eaf3}
html[data-table-theme='dark'] body .lhb-cluster-modes{border-color:rgba(255,255,255,.14)}
html[data-table-theme='dark'] body .lhb-cluster-mode{background:rgba(255,255,255,.04);color:#a9b2c0}
html[data-table-theme='dark'] body .lhb-cluster-mode.active{background:#5e6ad2;color:#fff}
html[data-table-theme='dark'] body .lhb-cluster-pill{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#cbd4e6}
html[data-table-theme='dark'] body .lhb-cluster-pill.active{border-color:#5e6ad2;background:#5e6ad2;color:#fff}
html[data-table-theme='dark'] body .lhb-concepts{color:#9fb4d1}

html[data-global-font-scale='200'] .lhb-date-toolbar.stock-workbench-filter .stock-workbench-period,
html[data-global-font-scale='250'] .lhb-date-toolbar.stock-workbench-filter .stock-workbench-period{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
html[data-global-font-scale='200'] .lhb-date-toolbar.stock-workbench-filter #lhb-date-year,
html[data-global-font-scale='250'] .lhb-date-toolbar.stock-workbench-filter #lhb-date-year,
html[data-global-font-scale='200'] .lhb-date-toolbar.stock-workbench-filter #lhb-date-month,
html[data-global-font-scale='250'] .lhb-date-toolbar.stock-workbench-filter #lhb-date-month{order:1}
html[data-global-font-scale='200'] .lhb-date-toolbar.stock-workbench-filter .lhb-nav-day-btn,
html[data-global-font-scale='250'] .lhb-date-toolbar.stock-workbench-filter .lhb-nav-day-btn{order:2}
@media(max-width:1120px){
  html[data-global-font-scale='150'] .lhb-date-toolbar.stock-workbench-filter .stock-workbench-period{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  html[data-global-font-scale='150'] .lhb-date-toolbar.stock-workbench-filter #lhb-date-year,
  html[data-global-font-scale='150'] .lhb-date-toolbar.stock-workbench-filter #lhb-date-month{order:1}
  html[data-global-font-scale='150'] .lhb-date-toolbar.stock-workbench-filter .lhb-nav-day-btn{order:2}
}

@media(max-width:860px){
  .lhb-kicker{display:none}
  .lhb-subtitle{white-space:normal;flex-basis:100%}
}
@media(max-width:768px){
  html:has(.lhb-page),body:has(.lhb-page){height:auto;max-height:none;overflow-y:auto;overflow-x:hidden}
  .lhb-page{height:auto;max-height:none;min-height:100dvh;overflow-y:visible;overflow-x:clip;padding:10px 10px 24px}
  .lhb-shell{height:auto;flex:none}
  .lhb-workspace{height:auto;flex:none;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:14px;overflow:visible}
  .lhb-resizer{display:none}
  .lhb-list-card{height:min(78dvh,640px);max-height:78dvh;overflow:hidden!important;overflow:clip!important}
  .lhb-detail-card{height:min(82dvh,720px);max-height:82dvh;overflow:hidden}
  .lhb-date-toolbar.stock-workbench-filter .stock-workbench-period{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .lhb-date-toolbar.stock-workbench-filter #lhb-date-year,
  .lhb-date-toolbar.stock-workbench-filter #lhb-date-month{order:1}
  .lhb-date-toolbar.stock-workbench-filter .lhb-nav-day-btn{order:2}
}
@media(max-width:640px){
  .lhb-header{align-items:stretch;flex-direction:column;gap:8px}
  .lhb-actions{width:100%;justify-content:flex-start}
  .lhb-date-toolbar.stock-workbench-filter{margin:8px 8px 2px;padding:8px}
  .lhb-tabs{padding:4px 8px 0}
  .lhb-tab{padding:8px 10px}
  .lhb-toolbar,.lhb-eval-summary,.lhb-cluster-bar{padding:8px 10px}
  .lhb-stock-actions{margin-left:0;width:100%;justify-content:flex-start}
  .lhb-table th,.lhb-table td{padding:7px 8px}
  .lhb-detail-heading{align-items:flex-start;flex-direction:column}
  .lhb-detail-heading>span{max-width:100%;text-align:left}
  #lhb-detail-host>.stock-detail-inline-panel>.stock-detail-page-header{padding:8px}
  #lhb-detail-host>.stock-detail-inline-panel>.stock-detail-company-profile{display:none!important}
}
