:root {
  --wb-ink: #10243b;
  --wb-copy: #5d7085;
  --wb-muted: #8a99aa;
  --wb-line: #e2e8ef;
  --wb-soft: #f5f8fb;
  --wb-blue: #2474e5;
  --wb-red: #ef3e46;
  --wb-green: #12a164;
  --wb-amber: #d98a16;
}

body.workbench-page,
body.workbench-page > .layout,
body.workbench-page .main-area { background: #f3f6f9 !important; }

body.workbench-page .main-area .content.workbench-content {
  width: min(1600px, calc(100% - 40px)) !important;
  padding-top: 14px !important;
  gap: 10px !important;
}

.workbench-page .global-footer { display: none; }
.workbench-page a { text-decoration: none; }
.workbench-page button { font: inherit; }

.wb-tape {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 94px;
  align-items: stretch;
  min-height: 68px;
  overflow: visible;
  border: 1px solid var(--wb-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(29, 55, 84, .045);
}

.wb-tape-heading { display: flex; flex-direction: column; justify-content: center; min-width: 0; border-right: 1px solid var(--wb-line); }
.wb-tape-title { display: flex; flex-direction: column; justify-content: center; padding: 5px 18px 1px; color: var(--wb-ink); }
.wb-tape-title span { font-size: 15px; font-weight: 850; }
.wb-tape-title small { margin-top: 2px; color: var(--wb-muted); font-size: 11px; }
.wb-index-customize { display: inline-flex; align-items: center; gap: 3px; align-self: flex-start; margin: 1px 0 5px 15px; padding: 2px 5px; border: 0; border-radius: 5px; color: #6c7f93; background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }
.wb-index-customize span { color: var(--wb-blue); font-size: 11px; }
.wb-index-customize:hover, .wb-index-customize[aria-expanded="true"] { color: var(--wb-blue); background: #edf5ff; }
.wb-tape-track { display: flex; align-items: stretch; gap: 6px; min-width: 0; padding: 4px 5px; overflow-x: auto; scrollbar-width: none; }
.wb-tape-track::-webkit-scrollbar { display: none; }
.wb-index-group { position: relative; flex: 1 0 var(--wb-index-group-width, 116px); min-width: var(--wb-index-group-width, 116px); overflow: hidden; border: 1px solid #ccdaea; border-radius: 9px; background: #f8fbff; }
.wb-index-group-overseas { border-color: #d8dce8; background: #fbfbfd; }
.wb-index-group-label { position: absolute; z-index: 2; top: 3px; left: 9px; padding: 0 4px; border-radius: 4px; color: #3971ad; background: #eaf3ff; font-size: 9px; font-weight: 850; line-height: 14px; letter-spacing: .04em; pointer-events: none; }
.wb-index-group-overseas .wb-index-group-label { color: #68748d; background: #eef0f5; }
.wb-index-group-items { display: grid; grid-template-columns: repeat(var(--wb-index-count), minmax(116px, 1fr)); height: 100%; }
.wb-index { display: flex; flex-direction: column; justify-content: center; min-width: 116px; padding: 15px 14px 5px; border: 0; border-right: 1px solid #e4ebf3; color: var(--wb-ink); background: transparent; text-align: left; cursor: pointer; transition: background .18s ease; }
.wb-index-group-overseas .wb-index { border-right-color: #e8e9ee; }
.wb-index-group-items .wb-index:last-child { border-right: 0; }
.wb-index:hover { background: #f7faff; }
.wb-index.is-active { background: #f3f8ff; box-shadow: inset 0 -2px var(--wb-blue); }
.wb-index:focus-visible { position: relative; z-index: 1; outline: 2px solid #77a9e8; outline-offset: -2px; }
.wb-index:disabled { cursor: default; }
.wb-index span { color: #748497; font-size: 11px; }
.wb-index b { margin-top: 2px; font-size: 17px; font-variant-numeric: tabular-nums; }
.wb-index em { margin-top: 1px; font-size: 12px; font-style: normal; font-weight: 800; }
.wb-index-missing b { color: #a4afba; }
.wb-up { color: var(--wb-red) !important; }
.wb-down { color: var(--wb-green) !important; }
.wb-flat { color: var(--wb-muted) !important; }
.wb-tape-more { display: grid; place-items: center; padding: 0 12px; color: var(--wb-blue); background: #f8fbff; font-size: 12px; font-weight: 800; }
.wb-loading-line { display: grid; flex: 1; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: center; padding: 18px 24px; }
.wb-loading-line i, .wb-kpi-skeleton { border-radius: 9px; background: linear-gradient(90deg, #f0f3f6 25%, #fafbfc 50%, #f0f3f6 75%); background-size: 200% 100%; animation: wbShimmer 1.35s infinite; }
.wb-loading-line i { height: 34px; }
@keyframes wbShimmer { to { background-position: -200% 0; } }

.wb-index-picker {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: min(520px, calc(100vw - 44px));
  overflow: hidden;
  border: 1px solid #cedbea;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(19, 45, 75, .18);
}
.wb-index-picker[hidden] { display: none !important; }
.wb-index-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 14px; border-bottom: 1px solid #e8edf3; background: #f8fbff; }
.wb-index-picker-head > div { display: flex; align-items: baseline; gap: 9px; }
.wb-index-picker-head b { color: var(--wb-ink); font-size: 12px; }
.wb-index-picker-head span { color: var(--wb-muted); font-size: 9px; }
.wb-index-picker-head > button { padding: 0 4px; border: 0; color: #8291a1; background: transparent; font-size: 19px; line-height: 1; cursor: pointer; }
.wb-index-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 12px; }
.wb-index-option { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: center; gap: 7px; min-width: 0; padding: 9px; border: 1px solid #e0e7ef; border-radius: 9px; background: #fff; cursor: pointer; }
.wb-index-option:has(input:checked) { border-color: #9fc1eb; background: #f2f7ff; box-shadow: inset 0 0 0 1px rgba(36, 116, 229, .08); }
.wb-index-option input { width: 14px; height: 14px; margin: 0; accent-color: var(--wb-blue); }
.wb-index-option span { min-width: 0; }
.wb-index-option b { display: block; overflow: hidden; color: var(--wb-ink); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.wb-index-option small { display: block; margin-top: 2px; color: var(--wb-muted); font-size: 8px; }
.wb-index-picker-actions { display: flex; justify-content: flex-end; gap: 7px; padding: 9px 12px 12px; border-top: 1px solid #edf1f5; }
.wb-index-picker-actions button { padding: 7px 11px; border: 1px solid #d5dee8; border-radius: 7px; color: #637589; background: #fff; font-size: 10px; font-weight: 800; cursor: pointer; }
.wb-index-picker-actions button.primary { border-color: var(--wb-blue); color: #fff; background: var(--wb-blue); }
.wb-index-picker-actions button:disabled { opacity: .45; cursor: not-allowed; }

.wb-index-modal[hidden] { display: none !important; }
.wb-index-modal { position: absolute; z-index: 30; top: calc(100% + 8px); left: var(--popover-left, 8px); width: min(560px, calc(100vw - 44px)); }
.wb-index-modal::before { position: absolute; z-index: 1; top: -7px; left: var(--arrow-left, 40px); width: 13px; height: 13px; border-top: 1px solid #d8e2ec; border-left: 1px solid #d8e2ec; background: #fff; content: ""; transform: rotate(45deg); }
.wb-index-modal-card { position: relative; width: 100%; overflow: hidden; border: 1px solid #d8e2ec; border-radius: 14px; background: #fff; box-shadow: 0 16px 38px rgba(20, 48, 77, .16); }
.wb-index-modal-card > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 14px 9px; border-bottom: 1px solid #e8edf2; }
.wb-index-modal-card > header span { display: block; color: var(--wb-muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.wb-index-modal-card > header h2 { margin: 2px 0 0; color: var(--wb-ink); font-size: 17px; }
.wb-index-modal-card > header button { width: 28px; height: 28px; border: 0; border-radius: 8px; color: #718398; background: #f0f4f8; font-size: 19px; line-height: 1; cursor: pointer; }
.wb-index-modal-quote { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 10px 14px 4px; }
.wb-index-modal-quote > div { display: flex; align-items: baseline; gap: 12px; }
.wb-index-modal-quote strong { color: var(--wb-ink); font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.wb-index-modal-quote em { font-size: 13px; font-style: normal; font-weight: 850; }
.wb-index-modal-quote > span { color: var(--wb-muted); font-size: 11px; text-align: right; }
.wb-index-chart { height: 220px; margin: 0 5px; }
.wb-index-chart-loading { display: grid; place-items: center; align-content: center; gap: 10px; height: 100%; color: var(--wb-muted); font-size: 11px; }
.wb-index-chart-loading i { width: 28px; height: 28px; border: 3px solid #dce6f0; border-top-color: var(--wb-blue); border-radius: 50%; animation: wbSpin .8s linear infinite; }
.wb-index-chart-empty { display: grid; place-items: center; height: 100%; color: var(--wb-muted); font-size: 12px; }
@keyframes wbSpin { to { transform: rotate(360deg); } }

.wb-kpis { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 8px; }
.wb-kpi-skeleton { min-height: 90px; }
.wb-kpi {
  position: relative;
  min-width: 0;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid var(--wb-line);
  border-radius: 13px;
  color: var(--wb-ink);
  background: #fff;
  box-shadow: 0 4px 14px rgba(29, 55, 84, .035);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.wb-kpi:hover { border-color: #c8d7e7; box-shadow: 0 8px 22px rgba(29, 55, 84, .065); transform: translateY(-1px); }
.wb-kpi:first-child { border-color: #cbdcf4; background: linear-gradient(135deg, #f7fbff, #edf5ff); }
.wb-kpi > span { display: block; color: #7c8b9d; font-size: 12px; }
.wb-kpi strong { display: block; margin: 5px 0 2px; font-size: 23px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.wb-kpi small { display: block; overflow: hidden; color: var(--wb-copy); font-size: 11px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.wb-kpi .wb-kpi-pair { display: flex; align-items: baseline; gap: 6px; }
.wb-kpi .wb-kpi-pair i { color: #a3aeba; font-size: 13px; font-style: normal; }

.wb-route {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 11px 15px;
  border: 1px solid #dfe6ee;
  border-radius: 12px;
  background: rgba(255,255,255,.7);
}
.wb-route-head { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.wb-route-head b { color: #3d5269; font-size: 12px; }
.wb-route-badge { padding: 4px 8px; border-radius: 999px; color: #936111; background: #fff2d8; font-size: 10px; font-weight: 850; }
.wb-route nav { display: flex; align-items: center; flex: 1; min-width: 0; }
.wb-route nav > * { position: relative; display: flex; align-items: center; gap: 9px; flex: 1; color: var(--wb-ink); }
.wb-route nav > *:not(:last-child)::after { position: absolute; right: 15px; width: 28px; height: 1px; background: #dbe3ec; content: ""; }
.wb-route nav i { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #ccd8e5; border-radius: 50%; color: var(--wb-blue); background: #fff; font-size: 11px; font-style: normal; font-weight: 850; }
.wb-route nav span { font-size: 12px; font-weight: 800; }
.wb-route nav small { display: block; margin-top: 1px; color: var(--wb-muted); font-size: 10px; font-weight: 500; }

.wb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.wb-column, .wb-layout-column { display: grid; gap: 12px; min-width: 0; align-content: start; }
.wb-layout-column { transition: background .16s ease; }
.wb-panel { min-width: 0; overflow: hidden; border: 1px solid var(--wb-line); border-radius: 15px; background: #fff; box-shadow: 0 6px 20px rgba(29, 55, 84, .045); scroll-margin-top: 84px; }
.wb-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 69px; padding: 15px 17px 13px; border-bottom: 1px solid #edf1f5; }
.wb-panel-head > div { position: relative; min-width: 0; padding-left: 30px; }
.wb-panel-head h2 { display: inline; margin: 0; color: var(--wb-ink); font-size: 17px; font-weight: 850; letter-spacing: -.025em; }
.wb-panel-head small { margin-left: 8px; color: var(--wb-muted); font-size: 11px; }
.wb-panel-head a { flex: 0 0 auto; color: var(--wb-blue); font-size: 11px; font-weight: 800; }

.wb-layout-bar {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid #dce4ed;
  border-radius: 13px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 16px rgba(29, 55, 84, .035);
  scroll-margin-top: 76px;
}
.wb-layout-summary, .wb-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 13px; }
.wb-layout-summary[hidden] { display: none !important; }
.wb-layout-summary > div, .wb-editor-head > div:first-child { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.wb-layout-summary b, .wb-editor-head b { color: var(--wb-ink); font-size: 12px; }
.wb-layout-summary span, .wb-editor-head span { color: var(--wb-muted); font-size: 10px; }
.wb-customize-btn, .wb-layout-editor button {
  padding: 7px 11px;
  border: 1px solid #d5dee8;
  border-radius: 8px;
  color: #536579;
  background: #fff;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.wb-customize-btn:hover, .wb-layout-editor button:hover { border-color: #9ebce2; color: var(--wb-blue); background: #f8fbff; }
.wb-customize-btn span { color: var(--wb-blue); }
.wb-editor-head { min-height: 51px; border-bottom: 1px solid #edf1f5; }
.wb-editor-actions { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.wb-layout-editor .wb-editor-actions .primary { border-color: var(--wb-blue); color: #fff; background: var(--wb-blue); }
.wb-editor-options { display: flex; align-items: center; gap: 8px; padding: 10px 13px 7px; }
.wb-option-label { margin-right: 2px; color: #6f7e8e; font-size: 10px; }
.wb-column-options { display: flex; gap: 6px; }
.wb-layout-editor .wb-column-options button.active { border-color: var(--wb-blue); color: var(--wb-blue); background: #edf5ff; box-shadow: inset 0 0 0 1px rgba(36, 116, 229, .08); }
.wb-hidden-row { display: flex; align-items: center; gap: 8px; min-height: 31px; padding: 0 13px 9px; color: var(--wb-muted); font-size: 10px; }
.wb-hidden-row > span { flex: 0 0 auto; }
#wbHiddenModules { display: flex; flex-wrap: wrap; gap: 6px; }
#wbHiddenModules small { color: #a4afba; }
.wb-layout-editor #wbHiddenModules button { padding: 4px 8px; border-style: dashed; color: var(--wb-blue); font-size: 10px; }
.wb-layout-editor .wb-add-module-btn { margin-left: auto; border-color: #a9c6e9; color: var(--wb-blue); background: #f4f9ff; }
.wb-module-library { margin: 0 13px 12px; overflow: hidden; border: 1px solid #dbe5f0; border-radius: 11px; background: #f8fbff; }
.wb-module-library[hidden] { display: none !important; }
.wb-library-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-bottom: 1px solid #e2eaf3; background: #fff; }
.wb-library-head > div { display: flex; align-items: baseline; gap: 9px; }
.wb-library-head b { color: var(--wb-ink); font-size: 11px; }
.wb-library-head span { color: var(--wb-muted); font-size: 9px; }
.wb-library-head button { padding: 3px 7px; border: 0; color: #8795a5; background: transparent; font-size: 15px; }
.wb-library-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px; }
.wb-layout-editor .wb-library-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border-color: #dce5ef;
  text-align: left;
}
.wb-layout-editor .wb-library-item > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #1768ca; background: #e8f2ff; font-size: 11px; font-weight: 900; }
.wb-library-item > div { min-width: 0; }
.wb-library-item b { display: block; overflow: hidden; color: var(--wb-ink); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.wb-library-item small { display: -webkit-box; margin-top: 3px; overflow: hidden; color: var(--wb-muted); font-size: 8px; font-weight: 500; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wb-library-item em { display: inline-block; margin-top: 5px; color: #7a8fa7; font-size: 8px; font-style: normal; }
.wb-library-item > i { color: var(--wb-blue); font-size: 9px; font-style: normal; font-weight: 800; }
.wb-library-empty { grid-column: 1 / -1; padding: 18px; color: var(--wb-muted); font-size: 10px; text-align: center; }
.wb-module-controls { display: none; align-items: center; gap: 6px; flex: 0 0 auto; min-width: auto !important; padding-left: 0 !important; }
.wb-module-controls button { padding: 5px 7px; border: 1px solid #cddbeb; border-radius: 7px; color: #627a94; background: #f8fbff; font-size: 9px; font-weight: 800; cursor: pointer; }
.wb-module-controls .wb-drag-handle { color: var(--wb-blue); cursor: grab; }
.wb-module-controls .wb-drag-handle:active { cursor: grabbing; }
.wb-column-resizer { display: none; position: relative; align-self: stretch; min-height: 140px; cursor: col-resize; touch-action: none; }
.wb-column-resizer::before { position: absolute; inset: 5px 4px; border: 1px dashed #69a5ef; border-radius: 5px; background: rgba(36, 116, 229, .035); content: ""; transition: .15s ease; }
.wb-column-resizer:hover::before, .wb-column-resizer.active::before { border-style: solid; background: rgba(36, 116, 229, .11); box-shadow: 0 0 0 2px rgba(36, 116, 229, .08); }
.wb-layout-editing .wb-grid { gap: 0; }
.wb-layout-editing .wb-column-resizer { display: block; }
.wb-layout-editing .wb-module-controls { display: flex; }
.wb-layout-editing .wb-panel-head > a { display: none; }
.wb-layout-editing .wb-panel { border-style: dashed; border-color: #b8cee8; }
.wb-layout-editing .wb-panel-head { flex-wrap: wrap; cursor: grab; background: #fbfdff; }
.wb-layout-editing .wb-panel-head > div:first-child { flex: 1 1 100%; cursor: grab; }
.wb-layout-editing .wb-module-controls { margin-left: auto; }
.wb-layout-editing .wb-layout-column { min-height: 130px; padding: 4px; border: 1px dashed transparent; border-radius: 12px; }
.wb-layout-editing .wb-layout-column.wb-drop-target { border-color: #72a9ec; background: rgba(36, 116, 229, .055); }
.wb-layout-editing .wb-panel.wb-dragging { opacity: .42; box-shadow: none; }
.wb-resizing, .wb-resizing * { cursor: col-resize !important; user-select: none !important; }

.wb-feature-body { display: grid; place-items: center; min-height: 218px; padding: 24px 18px; text-align: center; }
.wb-feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #1768ca; background: linear-gradient(145deg, #edf6ff, #e1efff); font-size: 17px; font-weight: 900; }
.wb-feature-body p { max-width: 270px; margin: 12px 0 10px; color: var(--wb-copy); font-size: 11px; line-height: 1.6; }
.wb-feature-body > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.wb-feature-body > div small { padding: 4px 7px; border-radius: 999px; color: #718398; background: #eef2f6; font-size: 8px; }
.wb-feature-body > a { margin-top: 15px; padding: 8px 12px; border: 1px solid #b9d0eb; border-radius: 8px; color: var(--wb-blue); background: #f7fbff; font-size: 10px; font-weight: 800; }
.wb-feature-body > a b { margin-left: 8px; }
.wb-section-no { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: #557088; background: #edf2f7; font-size: 9px; font-weight: 900; }

.wb-cycle-preview { padding: 15px 16px 16px; }
.wb-cycle-current { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
.wb-cycle-current > div:first-child { padding: 12px; border-radius: 11px; background: #fff5f5; }
.wb-cycle-current span { display: block; color: var(--wb-muted); font-size: 9px; }
.wb-cycle-current strong { display: block; margin-top: 5px; color: var(--wb-red); font-size: 30px; line-height: 1; }
.wb-cycle-current strong small { margin-left: 2px; font-size: 12px; }
.wb-cycle-current em { display: block; margin-top: 7px; color: var(--wb-copy); font-size: 9px; font-style: normal; }
.wb-cycle-leaders { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.wb-cycle-leaders > b { display: block; margin-top: 8px; overflow: hidden; color: var(--wb-ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.wb-cycle-leaders > small { display: block; margin-top: 7px; color: var(--wb-muted); font-size: 8px; }
.wb-cycle-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 13px; padding-top: 13px; border-top: 1px dashed #dfe6ee; }
.wb-cycle-mini { min-width: 0; overflow: hidden; border: 1px solid #e2e8ef; border-radius: 9px; color: var(--wb-ink); background: #fbfcfe; transition: border-color .15s ease, transform .15s ease; }
.wb-cycle-mini:last-child { grid-column: 1 / -1; }
.wb-cycle-mini:hover { border-color: #aec9e8; transform: translateY(-1px); }
.wb-cycle-mini > header { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 7px 8px 1px; }
.wb-cycle-mini > header b { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.wb-cycle-mini > header span { overflow: hidden; max-width: 55%; color: var(--wb-red); font-size: 8px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.wb-cycle-mini > div { height: 82px; }

.wb-board-strength-list { padding: 5px 15px 11px; }
.wb-board-strength-head, .wb-board-strength-row { display: grid; grid-template-columns: 28px minmax(62px, 1fr) 46px 50px 65px; align-items: center; gap: 5px; }
.wb-board-strength-head { padding: 7px 0 6px; border-bottom: 1px solid #dfe6ee; color: var(--wb-muted); font-size: 8px; font-weight: 750; }
.wb-board-strength-head span:nth-child(n+3) { text-align: right; }
.wb-board-strength-row { padding: 10px 0; border-bottom: 1px solid #edf1f5; color: var(--wb-ink); }
.wb-board-strength-row:last-child { border-bottom: 0; }
.wb-board-strength-row > i { color: #98a5b4; font-size: 9px; font-style: normal; font-weight: 850; }
.wb-board-strength-row:nth-child(-n+4) > i { color: #d88716; }
.wb-board-strength-row > b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.wb-board-strength-row > em { color: #536579; font-size: 8px; font-style: normal; font-weight: 750; text-align: right; }
.wb-board-strength-row > span { font-size: 10px; font-weight: 850; text-align: right; }
.wb-board-strength-row > small { overflow: hidden; font-size: 8px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.wb-board-strength-row:hover > b { color: var(--wb-blue); }

.wb-coming-badge { flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; color: #8b6c2d; background: #fff3d8; font-size: 9px; font-weight: 800; }
.wb-coming-body { display: grid; place-items: center; min-height: 205px; padding: 25px; text-align: center; }
.wb-coming-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #9a7a38; background: #fff5df; font-size: 20px; }
.wb-coming-body b { margin-top: 11px; color: var(--wb-ink); font-size: 13px; }
.wb-coming-body p { max-width: 260px; margin: 6px 0 0; color: var(--wb-copy); font-size: 10px; line-height: 1.6; }

.wb-stock-hot-list { padding: 4px 15px 7px; }
.wb-stock-hot-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; width: 100%; padding: 9px 1px; border: 0; border-bottom: 1px solid #edf1f5; color: var(--wb-ink); background: transparent; text-align: left; cursor: pointer; }
.wb-stock-hot-row:last-child { border-bottom: 0; }
.wb-stock-hot-row:hover .wb-stock-hot-name b { color: var(--wb-blue); }
.wb-stock-hot-rank { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #8a6a2c; background: #fff3d8; font-size: 9px; font-weight: 900; }
.wb-stock-hot-rank.top { color: #fff; background: var(--wb-red); }
.wb-stock-hot-name { min-width: 0; }
.wb-stock-hot-name b { display: block; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.wb-stock-hot-name small { display: block; margin-top: 2px; overflow: hidden; color: var(--wb-muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.wb-stock-hot-quote { text-align: right; }
.wb-stock-hot-quote b { display: block; font-size: 10px; }
.wb-stock-hot-quote small { display: block; margin-top: 2px; color: var(--wb-muted); font-size: 8px; white-space: nowrap; }
.wb-stock-hot-action { margin-top: 4px; }

.wb-ai-review-panel { position: relative; overflow: visible; }
.wb-ai-review-panel:focus-within { z-index: 10; }
.wb-ai-review-body { display: grid; gap: 13px; min-height: 196px; padding: 14px; }
.wb-ai-view-group { min-width: 0; }
.wb-ai-market-group { padding-top: 12px; border-top: 1px dashed #dddff0; }
.wb-ai-view-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.wb-ai-view-label b { color: var(--wb-ink); font-size: 11px; }
.wb-ai-view-label span { color: var(--wb-muted); font-size: 8px; }
.wb-ai-view-select { width:100%; height:36px; padding:0 34px 0 10px; border:1px solid #dddfe8; border-radius:8px; outline:0; color:#52657b; background:#fafbfd; font-size:10px; font-weight:750; cursor:pointer; transition:border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.wb-ai-view-select:hover { border-color:#b9b2ee; background:#f8f7ff; }
.wb-ai-view-select:focus { border-color:#8c82df; background:#fff; box-shadow:0 0 0 2px rgba(98,85,217,.10); }
.wb-ai-view-select:disabled { color:var(--wb-muted); cursor:default; opacity:.72; }
.wb-ai-stock-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; margin-top: 8px; }
.wb-ai-stock-picker { min-width: 0; }
.wb-ai-stock-form input { min-width: 0; height: 33px; padding: 0 9px; border: 1px solid #dfe4eb; border-radius: 7px; outline: 0; color: var(--wb-ink); background: #fff; font-size: 10px; }
.wb-ai-stock-picker input { width: 100%; }
.wb-ai-stock-form input:focus { border-color: #8f87e3; box-shadow: 0 0 0 2px rgba(98, 85, 217, .09); }
.wb-ai-stock-picker .ac-panel { top: calc(100% + 5px); max-height: 240px; padding: 4px; border-radius: 9px; }
.wb-ai-stock-picker .ac-opt { gap: 7px; padding: 7px 8px; border-radius: 6px; }
.wb-ai-stock-picker .ac-opt b { font-size: 11px; }
.wb-ai-stock-picker .ac-opt .ac-code { font-size: 9px; }
.wb-ai-stock-picker .ac-opt .ac-ind { padding: 2px 6px; font-size: 8px; }
.wb-ai-market-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.wb-ai-stock-form button, .wb-ai-market-form button { padding: 0 10px; border: 0; border-radius: 7px; color: #fff; background: #6255d9; font-size: 9px; font-weight: 850; white-space: nowrap; cursor: pointer; }
.wb-ai-market-form button { min-height: 36px; }
.wb-ai-stock-form button:disabled, .wb-ai-market-form button:disabled { opacity: .45; cursor: not-allowed; }
.wb-ai-billing-note { display: block; margin-top: 7px; color: #9794aa; font-size: 8px; line-height: 1.4; }

.wb-ai-result[hidden] { display: none !important; }
.wb-ai-result { border-top: 1px solid #dddff0; background: #fff; }
.wb-ai-result-card { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; background: #fff; }
.wb-ai-result-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px 11px; border-bottom: 1px solid #e8ecf1; background: linear-gradient(135deg, #fbfaff, #fff); }
.wb-ai-result-card > header span { display: block; color: #756cbf; font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.wb-ai-result-card > header h2 { margin: 2px 0 0; color: var(--wb-ink); font-size: 15px; line-height: 1.25; }
.wb-ai-result-card > header button { flex: 0 0 auto; width: 27px; height: 27px; border: 0; border-radius: 8px; color: #728399; background: #eef2f6; font-size: 18px; line-height: 1; cursor: pointer; }
.wb-ai-result-body { min-height: 180px; max-height: 620px; padding: 15px 16px 20px; overflow: auto; color: #334a63; font-size: 11px; line-height: 1.7; }
.wb-ai-result-body h3, .wb-ai-result-body h4, .wb-ai-result-body h5, .wb-ai-result-body h6 { margin: 20px 0 8px; color: var(--wb-ink); }
.wb-ai-result-body h3:first-child, .wb-ai-result-body h4:first-child { margin-top: 0; }
.wb-ai-result-body p { margin: 8px 0; }
.wb-ai-result-body blockquote { margin: 10px 0; padding: 10px 13px; border-left: 3px solid #8378dd; color: #56677a; background: #f7f6ff; }
.wb-ai-result-body table { width: 100%; margin: 12px 0; border-collapse: collapse; font-size: 10px; }
.wb-ai-result-body th, .wb-ai-result-body td { padding: 8px 9px; border: 1px solid #e1e6ec; text-align: left; }
.wb-ai-result-body th { color: var(--wb-ink); background: #f4f7fa; }
.wb-ai-result-body ul, .wb-ai-result-body ol { padding-left: 22px; }
.wb-ai-result-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px; border-top: 1px solid #e8ecf1; color: var(--wb-muted); background: #fafbfd; font-size: 8px; }
.wb-ai-result-card > footer a { color: #6255d9; font-size: 9px; font-weight: 800; }
.wb-ai-result-loading { display: grid; place-items: center; align-content: center; gap: 9px; min-height: 180px; color: var(--wb-copy); text-align: center; }
.wb-ai-result-loading i { width: 27px; height: 27px; border: 3px solid #e2e0f4; border-top-color: #6255d9; border-radius: 50%; animation: wbSpin .8s linear infinite; }
.wb-ai-result-loading b { color: var(--wb-ink); font-size: 11px; }
.wb-ai-result-loading span { color: var(--wb-muted); font-size: 9px; }
.wb-ai-result-error { display: grid; place-items: center; min-height: 180px; color: #b64d55; text-align: center; }
.wb-discovery-panel .wb-panel-head h2 { font-size: 15px; }
.wb-discovery-panel .wb-panel-head small, .wb-discovery-panel .wb-panel-head a { font-size: 9px; }
.wb-discovery-feed { min-height: 240px; padding: 9px 10px 10px; background: #f8fafc; }
.wb-discovery-feed.is-loading { opacity: .66; }
.wb-feed-livebar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border: 1px solid #d8e6f8; border-radius: 10px; background: linear-gradient(135deg, #f6faff, #edf4ff); }
.wb-feed-livebar > div { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; min-width: 0; }
.wb-feed-livebar i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--wb-red); }
.wb-feed-livebar i::after { position: absolute; inset: -3px; border: 1px solid rgba(239, 62, 70, .35); border-radius: 50%; content: ""; animation: wbFeedPulse 1.6s ease-out infinite; }
@keyframes wbFeedPulse { from { opacity: 1; transform: scale(.55); } to { opacity: 0; transform: scale(1.45); } }
.wb-feed-livebar b { color: var(--wb-ink); font-size: 8px; }
.wb-feed-livebar span { color: var(--wb-muted); font-size: 7px; }
.wb-feed-livebar button { flex: 0 0 auto; padding: 5px 7px; border: 1px solid #cddbeb; border-radius: 7px; color: var(--wb-blue); background: #fff; font-size: 7px; font-weight: 800; cursor: pointer; }
.wb-feed-filters { display: flex; gap: 5px; margin: 8px 0; overflow-x: auto; scrollbar-width: none; }
.wb-feed-filters::-webkit-scrollbar { display: none; }
.wb-feed-filters button { flex: 0 0 auto; padding: 4px 8px; border: 1px solid #dae2eb; border-radius: 999px; color: #708195; background: #fff; font-size: 7px; font-weight: 750; cursor: pointer; }
.wb-feed-filters button.active { border-color: var(--wb-blue); color: #fff; background: var(--wb-blue); }
.wb-feed-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 0 4px 6px; color: #617489; font-size: 7px; font-weight: 800; }
.wb-feed-columns span:last-child { padding-left: 5px; }
.wb-feed-stream { display: grid; gap: 8px; }
.wb-feed-item { overflow: hidden; border: 1px solid #dfe6ee; border-radius: 10px; background: #fff; box-shadow: 0 3px 9px rgba(29, 55, 84, .035); }
.wb-feed-source { padding: 9px 10px 8px; }
.wb-feed-meta { display: flex; align-items: center; gap: 6px; }
.wb-feed-meta time { margin-left: auto; color: var(--wb-muted); font-size: 7px; font-variant-numeric: tabular-nums; }
.wb-feed-kind { padding: 2px 5px; border-radius: 4px; color: #62758b; background: #edf1f5; font-size: 7px; font-weight: 800; }
.wb-feed-source h3 { margin: 6px 0 0; color: var(--wb-ink); font-size: 12px !important; font-weight: 800; line-height: 1.45; }
.wb-feed-source > p { display: -webkit-box; margin: 4px 0 0; overflow: hidden; color: var(--wb-copy); font-size: 12px !important; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wb-feed-refs { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #dfe5ec; }
.wb-feed-refs small { display: block; color: var(--wb-muted); font-size: 7px; font-weight: 750; }
.wb-feed-refs > div { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.wb-feed-refs a, .wb-feed-refs span { padding: 2px 5px; border-radius: 4px; color: #49647f; background: #edf4fb; font-size: 7px; font-weight: 700; }
.wb-feed-refs a b { margin-right: 2px; color: var(--wb-blue); font-size: 6px; }
.wb-feed-ai { padding: 8px 10px 9px; border-top: 1px dashed #cdddf0; background: #fbfdff; }
.wb-feed-ai > div:first-child { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.wb-feed-ai > div:first-child > b { margin-left: auto; font-size: 7px; }
.wb-feed-stance, .wb-feed-confidence { padding: 2px 5px; border-radius: 4px; font-size: 7px; font-weight: 850; }
.wb-feed-stance.is-positive { color: #df3540; background: #ffeceb; }
.wb-feed-stance.is-risk { color: #0f926c; background: #e8f8f1; }
.wb-feed-stance.is-neutral { color: #66778a; background: #edf1f5; }
.wb-feed-confidence { color: #b87517; background: #fff3dd; }
.wb-feed-ai > p { margin: 5px 0 0; color: #263c53; font-size: 12px !important; line-height: 1.5; }
.wb-feed-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.wb-feed-sector, .wb-feed-stock { padding: 2px 5px; border-radius: 4px; font-size: 7px; font-weight: 700; }
.wb-feed-sector { color: var(--wb-blue); background: #eaf3ff; }
.wb-feed-stock { border: 1px solid #d9e2ec; color: #53677d; background: #fff; }
.wb-feed-locked, .wb-feed-more { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 8px 9px; border-radius: 8px; font-size: 8px; }
.wb-feed-locked { border: 1px solid #f0d8ad; color: #876222; background: #fff8eb; }
.wb-feed-locked span { font-size: 7px; }
.wb-feed-more { border: 1px solid #d7e4f3; color: var(--wb-copy); background: #fff; }
.wb-feed-more b { color: var(--wb-blue); font-size: 8px; }

.wb-theme-list { display: grid; gap: 0; padding: 5px 16px 10px; }
.wb-theme { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #f0f3f6; color: var(--wb-ink); }
.wb-theme:last-child { border-bottom: 0; }
.wb-theme > i { color: #97a5b4; font-size: 10px; font-style: normal; font-weight: 850; }
.wb-theme:first-child > i { color: #d88716; }
.wb-theme b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.wb-theme span { color: var(--wb-red); font-size: 11px; font-weight: 800; }
.wb-theme:hover b { color: var(--wb-blue); }
.wb-panel-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 14px 14px; padding: 10px 12px; border: 1px solid #dae5f2; border-radius: 9px; color: var(--wb-copy); background: #f7faff; font-size: 10px; }
.wb-panel-action b { color: var(--wb-blue); font-size: 11px; }

.wb-ladder-panel { min-height: 0; }
.wb-risk-strip { display: flex; align-items: center; gap: 10px; margin: 13px 15px 6px; padding: 9px 11px; border: 1px solid #f1d8ad; border-radius: 8px; color: #795b31; background: #fff8ec; font-size: 10px; }
.wb-risk-strip b { flex: 0 0 auto; padding-right: 10px; border-right: 1px solid #ebd3aa; color: #b56e0c; }
.wb-ladder { padding: 3px 15px 8px; }
.wb-ladder-row { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px dashed #dfe6ee; }
.wb-ladder-row:last-child { border-bottom: 0; }
.wb-ladder-level { padding-top: 2px; text-align: center; }
.wb-ladder-level b { display: block; color: var(--wb-red); font-size: 21px; line-height: 1; }
.wb-ladder-level b small { font-size: 12px; }
.wb-ladder-level span { display: block; margin-top: 5px; color: var(--wb-muted); font-size: 9px; }
.wb-ladder-stocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 108px), 1fr)); gap: 7px; }
.wb-stock { min-width: 0; padding: 8px 5px; border: 1px solid #e1e7ee; border-radius: 8px; color: var(--wb-ink); background: #fafbfd; cursor: pointer; transition: .16s ease; }
.wb-stock:hover { border-color: #aac9ee; background: #f5f9ff; transform: translateY(-1px); }
.wb-stock:focus-visible { outline: 2px solid #77a9e8; outline-offset: 2px; }
.wb-stock > span { display: flex; align-items: center; justify-content: space-between; gap: 2px; }
.wb-stock-name { min-width: 0; padding: 0; border: 0; color: var(--wb-ink); background: transparent; font-size: 9px; font-weight: 800; line-height: 1.35; text-align: left; white-space: nowrap; cursor: pointer; }
.wb-stock-name:hover { color: var(--wb-blue); text-decoration: underline; text-underline-offset: 2px; }
.wb-stock strong { flex: 0 0 auto; color: var(--wb-red); font-size: 8px; }
.wb-stock-themes { display: flex; min-width: 0; flex-wrap: wrap; gap: 3px; margin-top: 5px; }
.wb-stock-theme, .wb-stock-oneword-tag { display: inline-block; max-width: 100%; overflow: hidden; padding: 1px 4px; border-radius: 4px; color: var(--wb-red); background: #fff0f1; font-size: 8px; font-weight: 700; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.wb-stock-oneword-tag { color: #b56e0c; background: #fff2d9; }
.wb-stock-oneword { border-color: #f1d6a9; background: #fffaf1; }
.wb-ladder-more { display: grid; place-items: center; min-height: 48px; border: 1px dashed #d8e0e8; border-radius: 8px; color: var(--wb-muted); background: #fafbfd; font-size: 10px; }
.wb-ladder-action { margin-top: 8px; }

.wb-reason-mask { position: fixed; z-index: 11000; inset: 0; display: flex; justify-content: flex-end; background: rgba(15, 23, 42, .45); opacity: 0; transition: opacity .2s ease; }
.wb-reason-mask.show { opacity: 1; }
.wb-reason-drawer { display: flex; width: min(440px, 92vw); height: 100%; overflow: hidden; flex-direction: column; background: #f6f8fc; box-shadow: -8px 0 30px rgba(15, 23, 42, .2); transform: translateX(30px); transition: transform .2s ease; }
.wb-reason-mask.show .wb-reason-drawer { transform: translateX(0); }
.wb-reason-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--wb-line); background: #fff; }
.wb-reason-head h3 { margin: 0; color: var(--wb-ink); font-size: 18px; }
.wb-reason-head p { display: flex; gap: 8px; margin: 4px 0 0; color: var(--wb-muted); font-size: 12px; }
.wb-reason-close { padding: 0 4px; border: 0; color: var(--wb-muted); background: transparent; font-size: 24px; line-height: 1; cursor: pointer; }
.wb-reason-body { flex: 1; padding: 18px 20px; overflow-y: auto; color: var(--wb-ink); font-size: 14px; line-height: 1.7; }
.wb-reason-loading, .wb-reason-pending { padding: 30px 0; color: var(--wb-muted); text-align: center; }
.wb-reason-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.wb-reason-tag { padding: 4px 10px; border-radius: 8px; color: var(--wb-red); background: #fff0f1; font-size: 12px; font-weight: 700; }
.wb-reason-list { margin: 0; padding: 0; list-style: none; counter-reset: wb-reason; }
.wb-reason-list li { position: relative; margin-bottom: 12px; padding-left: 28px; counter-increment: wb-reason; }
.wb-reason-list li::before { position: absolute; top: 2px; left: 0; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 6px; color: var(--wb-blue); background: #eaf3ff; content: counter(wb-reason); font-size: 12px; font-weight: 800; }
.wb-reason-text { margin: 0; }

.wb-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 12px 15px 6px; padding: 4px; border-radius: 9px; background: #eef2f6; }
.wb-tabs button { padding: 7px; border: 0; border-radius: 7px; color: #77889a; background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }
.wb-tabs button.active { color: var(--wb-blue); background: #fff; box-shadow: 0 1px 4px rgba(20, 45, 72, .1); }
.wb-tab-panel { min-height: 250px; padding: 4px 15px 14px; }
.wb-watch-row, .wb-news-row { display: grid; align-items: center; gap: 9px; padding: 11px 2px; border-bottom: 1px solid #edf1f5; color: var(--wb-ink); }
.wb-watch-row { grid-template-columns: minmax(0, 1fr) auto 18px; }
.wb-watch-row:last-child, .wb-news-row:last-child { border-bottom: 0; }
.wb-watch-row b { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.wb-watch-row small { color: var(--wb-muted); font-size: 9px; }
.wb-watch-quote { text-align: right; }
.wb-watch-quote strong { display: block; font-size: 12px; }
.wb-watch-quote small { font-size: 10px; font-weight: 800; }
.wb-watch-row > i { color: #a4afba; font-size: 13px; font-style: normal; }
.wb-news-row { grid-template-columns: 52px minmax(0, 1fr) 18px; }
.wb-news-row > span { overflow: hidden; padding: 3px 5px; border-radius: 4px; color: #6e7f91; background: #edf1f5; font-size: 9px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.wb-news-row b { display: -webkit-box; overflow: hidden; font-size: 11px; font-weight: 700; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wb-news-row small { display: block; margin-top: 3px; color: var(--wb-muted); font-size: 9px; }
.wb-news-row > i { color: #a4afba; font-size: 13px; font-style: normal; }
.wb-login-card, .wb-empty-state { display: grid; place-items: center; min-height: 225px; padding: 25px; text-align: center; }
.wb-login-card .icon, .wb-empty-state .icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 14px; color: var(--wb-blue); background: #eaf3ff; font-size: 20px; }
.wb-login-card b, .wb-empty-state b { color: var(--wb-ink); font-size: 13px; }
.wb-login-card p, .wb-empty-state p { max-width: 230px; margin: 6px 0 12px; color: var(--wb-copy); font-size: 10px; line-height: 1.55; }
.wb-login-card a, .wb-empty-state a { padding: 8px 13px; border-radius: 8px; color: #fff; background: var(--wb-blue); font-size: 10px; font-weight: 800; }

.wb-next-list { display: grid; padding: 5px 15px 10px; }
.wb-next-list a { display: grid; grid-template-columns: 34px minmax(0, 1fr) 16px; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #edf1f5; color: var(--wb-ink); }
.wb-next-list a:last-child { border-bottom: 0; }
.wb-next-list > a > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; font-size: 10px; font-weight: 900; }
.wb-next-list .violet { color: #6255d9; background: #efedff; }
.wb-next-list .cyan { color: #087f95; background: #e4f7fa; font-size: 18px; }
.wb-next-list .teal { color: #07856c; background: #e5f7f2; font-size: 16px; }
.wb-next-list b { display: block; font-size: 11px; }
.wb-next-list small { display: block; margin-top: 2px; color: var(--wb-muted); font-size: 9px; }
.wb-next-list i { color: #a4afba; font-style: normal; }
.wb-next-list a:hover b { color: var(--wb-blue); }

.wb-empty { display: grid; place-items: center; min-height: 120px; color: var(--wb-muted); font-size: 11px; }
.wb-disclaimer { margin: 2px 0 0; color: #8d9aaa; font-size: 10px; text-align: center; }

@media (max-width: 1320px) {
  .wb-kpis { grid-template-columns: repeat(3, 1fr); }
  .wb-library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  body.workbench-page .main-area .content.workbench-content { width: min(100% - 24px, 760px) !important; }
  .wb-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .wb-column-resizer { display: none !important; }
  .wb-route { align-items: flex-start; flex-direction: column; gap: 10px; }
  .wb-route nav { width: 100%; }
  .wb-layout-editing .wb-layout-column { padding: 3px; }
  .wb-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body.workbench-page .main-area .content.workbench-content { width: calc(100% - 20px) !important; padding-top: 10px !important; gap: 10px !important; }
  .wb-tape { grid-template-columns: 88px minmax(0, 1fr); min-height: 68px; }
  .wb-tape-title { padding: 0 12px; }
  .wb-tape-title span { font-size: 13px; }
  .wb-index-customize { margin: 2px 0 5px 9px; }
  .wb-tape-more { display: none; }
  .wb-tape-track { gap: 5px; padding: 4px; }
  .wb-index-group { flex-basis: var(--wb-index-group-mobile-width, 108px); min-width: var(--wb-index-group-mobile-width, 108px); }
  .wb-index-group-items { grid-template-columns: repeat(var(--wb-index-count), minmax(108px, 1fr)); }
  .wb-index { min-width: 108px; padding: 9px 12px; }
  .wb-index-group .wb-index { padding-top: 15px; padding-bottom: 4px; }
  .wb-index b { font-size: 15px; }
  .wb-index-picker { left: -1px; width: calc(100vw - 22px); }
  .wb-index-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-index-modal { width: min(560px, calc(100vw - 44px)); }
  .wb-index-modal-card { border-radius: 13px; }
  .wb-index-modal-card > header { padding: 10px 12px 8px; }
  .wb-index-modal-card > header h2 { font-size: 16px; }
  .wb-index-modal-quote { display: block; padding: 9px 12px 3px; }
  .wb-index-modal-quote strong { font-size: 23px; }
  .wb-index-modal-quote > span { display: block; margin-top: 5px; text-align: left; }
  .wb-index-chart { height: 210px; margin: 0; }
  .wb-kpis { grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .wb-kpi { padding: 13px; }
  .wb-kpi strong { font-size: 21px; }
  .wb-route { display: block; overflow-x: auto; padding: 10px; }
  .wb-route-head { margin-bottom: 10px; }
  .wb-route nav { min-width: 560px; }
  .wb-layout-summary, .wb-editor-head { align-items: flex-start; }
  .wb-layout-summary > div, .wb-editor-head > div:first-child { display: block; }
  .wb-layout-summary span, .wb-editor-head span { display: block; margin-top: 3px; }
  .wb-editor-head { display: block; }
  .wb-editor-actions { margin-top: 10px; }
  .wb-editor-options { flex-wrap: wrap; }
  .wb-option-label { width: 100%; }
  .wb-layout-editor .wb-add-module-btn { margin-left: 0; }
  .wb-library-head > div { display: block; }
  .wb-library-head span { display: block; margin-top: 2px; }
  .wb-library-grid { grid-template-columns: 1fr; }
  .wb-panel-head { align-items: flex-start; min-height: 64px; padding: 13px; }
  .wb-panel-head small { display: block; margin: 3px 0 0; }
  .wb-ladder-panel { min-height: 0; }
  .wb-ladder-stocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-ladder-row { grid-template-columns: 46px minmax(0, 1fr); gap: 8px; }
  .wb-ai-result-card > header { padding: 12px; }
  .wb-ai-result-body { max-height: 70vh; padding: 13px; font-size: 11px; }
  .wb-ai-result-card > footer { align-items: flex-start; padding: 9px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .wb-loading-line i, .wb-kpi-skeleton { animation: none; }
  .wb-kpi, .wb-stock { transition: none; }
}
