@import url("./workbench-colors.css?v=colors-5");

:root {
  --workbench-resolution-scale: 1;
  --workbench-shell-main-width: 1240px;
  --workbench-panel-title-size: 1.1rem;
  --workbench-panel-title-line-height: 1.12;
  --workbench-panel-title-eyebrow-gap: 0.4rem;
  --workbench-panel-title-block-gap: 0.67em;
  --workbench-panel-title-content-gap: 1rem;
  --workbench-watchlist-compact-row-height: 4.72rem;
  --workbench-desktop-panel-bg:
    radial-gradient(circle at 16% 0%, rgba(168, 85, 247, 0.14), transparent 28rem),
    radial-gradient(circle at 96% 12%, rgba(147, 51, 234, 0.1), transparent 26rem),
    linear-gradient(180deg, rgba(168, 85, 247, 0.06), transparent 30%),
    rgba(18, 15, 24, 0.97);
  --workbench-desktop-panel-bg-soft:
    radial-gradient(circle at 96% 0%, rgba(168, 85, 247, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(168, 85, 247, 0.045), transparent 26%),
    rgba(20, 17, 29, 0.97);
  --workbench-desktop-panel-shadow:
    0 20px 54px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(168, 85, 247, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

:root[data-workbench-display-resolution="fhd"] {
  --workbench-resolution-scale: 0.75;
  --workbench-shell-main-width: 930px;
}

:root[data-workbench-display-resolution="phone"] {
  --workbench-resolution-scale: 1.08;
  --workbench-shell-main-width: 1206px;
  --workbench-panel-title-size: 1.18rem;
  --workbench-panel-title-content-gap: 1.05rem;
  --workbench-watchlist-compact-row-height: 5.2rem;
  --workbench-phone-fixed-head-top: var(--workbench-header-height, calc(7.58rem + env(safe-area-inset-top)));
  --workbench-phone-task-head-height: 13.5rem;
  --workbench-phone-history-head-height: 5.2rem;
  --workbench-viewport-scrollbar-width: 0px;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--watch-index {
  --workbench-shell-main-width: 1360px;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index {
  --workbench-shell-main-width: 1020px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: calc(14px * var(--workbench-resolution-scale));
}

body {
  margin: 0;
  font-family: "Avenir Next", "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--workbench-text);
  background: linear-gradient(180deg, var(--workbench-page-bg-top) 0%, var(--workbench-page-bg-middle) 48%, var(--workbench-page-bg-bottom) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.workbench-shell {
  min-height: 100vh;
  position: relative;
  padding-top: 4.4rem;
  padding-bottom: 4.6rem;
}

.workbench-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, var(--workbench-page-overlay), transparent 24%);
}

.workbench-shell--auth .workbench-shell__header {
  position: static;
}

.workbench-shell--auth {
  padding-top: 0;
}

.workbench-shell__header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
  padding: 0.82rem 1.35rem;
  border-bottom: 1px solid var(--workbench-border);
  background: var(--workbench-header-surface);
  backdrop-filter: none;
}

.workbench-shell__brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.86rem;
  min-width: 0;
}

.workbench-shell__brand::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: clamp(8.8rem, 14vw, 12rem);
  z-index: 0;
  height: 2.35rem;
  pointer-events: none;
  opacity: 0.72;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 48' preserveAspectRatio='none'%3E%3Cpath d='M0 24 L18 23 L31 17 L43 34 L56 21 L76 25 L91 11 L105 40 L121 20 L140 28 L153 22 L171 24 L186 9 L202 42 L218 18 L238 31 L254 21 L273 26 L287 13 L303 38 L320 19 L339 29 L352 22 L360 24' fill='none' stroke='%23a855f7' stroke-width='2.6' stroke-linecap='butt' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 50%;
  background-size: 16rem 2.35rem;
  filter:
    drop-shadow(0 0 4px rgba(217, 180, 254, 0.34))
    drop-shadow(0 0 8px rgba(168, 85, 247, 0.34));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 94%, transparent);
  animation:
    workbench-logo-ecg-flow 6.8s linear infinite,
    workbench-logo-ecg-glow 3.8s ease-in-out infinite;
}

.workbench-shell__brand::after {
  content: "";
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 4rem;
  height: 1px;
  background: transparent;
  box-shadow: none;
}

.workbench-shell__brand a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}

.workbench-shell__logo {
  display: block;
  width: 9.14rem;
  height: auto;
  transform: none;
  filter: none;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-shell__brand::before {
  left: calc(9.14rem + 1.35rem);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4rem, #000 calc(100% - 4rem), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 4rem, #000 calc(100% - 4rem), transparent);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell__logo {
  transform: translateY(-0.08rem);
}

@keyframes workbench-logo-ecg-flow {
  0% {
    background-position: 0 50%;
  }
  100% {
    background-position: 16rem 50%;
  }
}

@keyframes workbench-logo-ecg-glow {
  0% {
    opacity: 0.46;
    filter:
      drop-shadow(0 0 3px rgba(217, 180, 254, 0.22))
      drop-shadow(0 0 6px rgba(168, 85, 247, 0.24));
  }
  50% {
    opacity: 0.86;
    filter:
      drop-shadow(0 0 5px rgba(217, 180, 254, 0.42))
      drop-shadow(0 0 11px rgba(168, 85, 247, 0.42));
  }
  100% {
    opacity: 0.46;
    filter:
      drop-shadow(0 0 3px rgba(217, 180, 254, 0.22))
      drop-shadow(0 0 6px rgba(168, 85, 247, 0.24));
  }
}

@keyframes workbench-logo-line-breathe {
  0%,
  100% {
    opacity: 0.5;
    filter: brightness(0.9);
    box-shadow: 0 0 6px rgba(168, 85, 247, 0.16);
  }
  50% {
    opacity: 0.9;
    filter: brightness(1.12);
    box-shadow:
      0 0 9px rgba(192, 132, 252, 0.28),
      0 0 18px rgba(168, 85, 247, 0.2);
  }
}

@keyframes workbench-daily-progress-flow {
  0% {
    transform: translateX(-120%) skewX(-18deg);
  }
  100% {
    transform: translateX(220%) skewX(-18deg);
  }
}

@keyframes workbench-row-action-appear {
  0% {
    opacity: 0;
    transform: var(--workbench-row-action-enter-transform, scale(0.78));
    filter: blur(1.5px) brightness(1.12);
  }
  68% {
    opacity: 1;
    transform: var(--workbench-row-action-pop-transform, scale(1.08));
    filter: blur(0) brightness(1.08);
  }
  100% {
    opacity: 1;
    transform: var(--workbench-row-action-rest-transform, scale(1));
    filter: none;
  }
}

@keyframes workbench-watch-delete-content-wipe {
  0% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
    filter: none;
  }
  52% {
    opacity: 0.72;
    clip-path: inset(28% 0 0 0);
    transform: translate3d(0, 0.22rem, 0);
    filter: blur(0.4px);
  }
  100% {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translate3d(0, 0.9rem, 0);
    filter: blur(1.2px);
  }
}

@keyframes workbench-watch-delete-row-collapse {
  0% {
    max-height: var(--workbench-watch-delete-height, 7rem);
    padding-top: var(--workbench-watch-delete-padding-top, 0.78rem);
    padding-bottom: var(--workbench-watch-delete-padding-bottom, 0.78rem);
    margin-top: 0;
    margin-bottom: 0;
    opacity: 1;
  }
  62% {
    max-height: var(--workbench-watch-delete-height, 7rem);
    padding-top: var(--workbench-watch-delete-padding-top, 0.78rem);
    padding-bottom: var(--workbench-watch-delete-padding-bottom, 0.78rem);
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0.86;
  }
  100% {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    border-width: 0;
    opacity: 0;
  }
}

@keyframes workbench-watch-delete-table-cell {
  0% {
    height: var(--workbench-watch-delete-height, 4.2rem);
    padding-top: var(--workbench-watch-delete-padding-top, 1rem);
    padding-bottom: var(--workbench-watch-delete-padding-bottom, 1rem);
    opacity: 1;
  }
  62% {
    height: var(--workbench-watch-delete-height, 4.2rem);
    padding-top: var(--workbench-watch-delete-padding-top, 1rem);
    padding-bottom: var(--workbench-watch-delete-padding-bottom, 1rem);
    opacity: 0.86;
  }
  100% {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workbench-shell__brand::before {
    animation: none;
    opacity: 0.42;
  }

  .workbench-shell__brand::after {
    animation: none;
  }

  .workbench-daily-scan-progress__fill,
  .workbench-daily-scan-progress__fill::after {
    animation: none !important;
  }

  .workbench-watch-index__remove-action,
  .workbench-watch-index__sort-handle,
  .workbench-watchlist-row__remove-action,
  .workbench-watchlist-row__sort-handle {
    animation: none !important;
  }

}

.workbench-shell__nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 2px;
  margin-top: -2px;
}

.workbench-shell__nav-link {
  padding: 0.42rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--workbench-text-muted);
  font-size: 0.86rem;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.workbench-shell__nav-link--mobile-query,
.workbench-shell__nav-link--mobile-positions {
  display: none;
}

.workbench-shell__nav-query {
  position: relative;
  display: inline-flex;
}

.workbench-shell__nav-query-toggle {
  appearance: none;
  cursor: pointer;
  background: transparent;
}

.workbench-shell__nav-link.is-active,
.workbench-shell__nav-query.is-open .workbench-shell__nav-query-toggle,
.workbench-shell__nav-link:hover,
.workbench-shell__nav-link:focus-visible {
  color: var(--workbench-text);
  border-color: var(--workbench-border-strong);
  background: #181321;
}

.workbench-shell__nav-link.is-active {
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.18),
    0 0 18px rgba(168, 85, 247, 0.34),
    inset 0 0 16px rgba(168, 85, 247, 0.08);
}

.workbench-shell__nav-link:hover,
.workbench-shell__nav-link:focus-visible {
  transform: translateY(-1px);
}

.workbench-shell__nav-link--theme-admin {
  position: relative;
  overflow: visible;
}

.workbench-shell__nav-badge {
  position: absolute;
  top: -0.32rem;
  right: -0.26rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.12rem;
  height: 1.12rem;
  padding: 0 0.24rem;
  border: 1px solid rgba(247, 185, 85, 0.4);
  border-radius: 999px;
  background: rgba(247, 185, 85, 0.16);
  color: #ffe4a5;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(14, 10, 19, 0.32);
  pointer-events: none;
}

.workbench-shell__nav-query-panel {
  position: absolute;
  top: calc(100% + 0.68rem);
  left: 50%;
  z-index: 90;
  width: min(25rem, calc(100vw - 2rem));
  transform: translateX(-50%);
}

.workbench-shell__nav-query-panel[hidden] {
  display: none;
}

.workbench-shell__nav-query-card {
  padding: 1rem;
  border: 1px solid var(--workbench-border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(168, 85, 247, 0.18), transparent 14rem),
    rgba(18, 15, 24, 0.98);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.42),
    0 0 22px rgba(168, 85, 247, 0.14);
}

.workbench-form--nav-query .workbench-form__grid {
  gap: 0.62rem;
}

.workbench-form--nav-query .workbench-button--wide {
  width: 100%;
}

.workbench-form--nav-query .workbench-form__field input[type="date"] {
  font: inherit;
  line-height: 1.25;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}

.workbench-form--nav-query .workbench-form__field input[type="date"]::-webkit-date-and-time-value {
  font: inherit;
  color: inherit;
  text-align: left;
}

.workbench-form--nav-query .workbench-form__field input[type="date"]::-webkit-datetime-edit {
  font: inherit;
  color: inherit;
}

.workbench-form__watch-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
  margin-top: 0.68rem;
}

.workbench-form__watch-action {
  width: 100%;
  min-height: 2.24rem;
  padding-inline: 0.72rem;
  font-size: 0.84rem;
}

.workbench-form__watch-action--favorite {
  border-color: rgba(245, 158, 11, 0.48);
  background: rgba(245, 158, 11, 0.08);
  color: #fcd38d;
}

.workbench-form__watch-action--position {
  border-color: rgba(245, 158, 11, 0.48);
  background: rgba(245, 158, 11, 0.08);
  color: #fcd38d;
}

.workbench-form__watch-action--favorite:hover,
.workbench-form__watch-action--favorite:focus-visible {
  border-color: rgba(251, 191, 36, 0.78);
  background: rgba(245, 158, 11, 0.15);
}

.workbench-form__watch-action--position:hover,
.workbench-form__watch-action--position:focus-visible {
  border-color: rgba(251, 191, 36, 0.78);
  background: rgba(245, 158, 11, 0.15);
}

.workbench-form__watch-action.is-active {
  border-color: rgba(247, 185, 85, 0.4);
  background: rgba(247, 185, 85, 0.12);
  color: #ffe4a5;
}

.workbench-form__watch-action.is-active:hover,
.workbench-form__watch-action.is-active:focus-visible {
  border-color: rgba(247, 185, 85, 0.54);
  background: rgba(247, 185, 85, 0.16);
  color: #ffe4a5;
}

.workbench-form--nav-query .workbench-form__watch-actions {
  gap: 0.5rem;
  margin-top: 0.56rem;
}

.workbench-form--nav-query .workbench-form__watch-action {
  min-height: 2.08rem;
  padding-inline: 0.54rem;
  font-size: 0.8rem;
}

.workbench-form--nav-query .workbench-button--wide:hover,
.workbench-form--nav-query .workbench-button--wide:focus-visible {
  transform: none;
  border-color: #a855f7;
  background: linear-gradient(180deg, #281735, #1a1123);
  color: #c084fc;
  box-shadow: none;
  filter: none;
  text-shadow: none;
}

.workbench-shell__main {
  position: relative;
  width: min(var(--workbench-shell-main-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.18rem 0 2.2rem;
}

.workbench-disclaimer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  padding: 0.42rem 1rem 0.62rem;
  background: linear-gradient(180deg, rgba(3, 6, 11, 0), rgba(3, 6, 11, 0.9) 36%, rgba(3, 6, 11, 0.96));
  pointer-events: none;
}

.workbench-disclaimer__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  width: min(14rem, 45vw);
}

.workbench-disclaimer__divider::before,
.workbench-disclaimer__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 166, 212, 0.24));
}

.workbench-disclaimer__divider::after {
  background: linear-gradient(90deg, rgba(185, 166, 212, 0.24), transparent);
}

.workbench-disclaimer__divider span {
  width: 0.24rem;
  height: 0.24rem;
  border-radius: 999px;
  background: rgba(185, 166, 212, 0.42);
  box-shadow: 0 0 0 1px rgba(185, 166, 212, 0.12);
}

.workbench-disclaimer p {
  margin: 0;
  color: rgba(178, 170, 190, 0.74);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

.workbench-notices {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.workbench-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(61, 214, 140, 0.28);
  border-radius: 8px;
  background: rgba(18, 59, 40, 0.8);
  box-shadow: var(--workbench-shadow);
}

.workbench-notice p {
  margin: 0;
}

.workbench-notice__dismiss {
  border: 0;
  background: transparent;
  color: var(--workbench-text);
  cursor: pointer;
  font-size: 1.1rem;
}

.workbench-panel,
.workbench-card,
.workbench-empty-state,
.workbench-section,
.workbench-summary-card,
.workbench-action-tile,
.workbench-history-item {
  border: 1px solid var(--workbench-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--workbench-panel-highlight), transparent 28%),
    var(--workbench-surface);
  box-shadow: var(--workbench-shadow);
  backdrop-filter: blur(18px);
}

.workbench-panel,
.workbench-section,
.workbench-card,
.workbench-empty-state {
  padding: 1.05rem;
}

.workbench-shell--task .workbench-section,
.workbench-shell--task .workbench-card,
.workbench-shell--history .workbench-section,
.workbench-shell--history .workbench-history-item {
  background: #120f18;
  backdrop-filter: none;
}

.workbench-shell--task .workbench-card,
.workbench-shell--history .workbench-history-item {
  background: #14111d;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"])
  :is(.workbench-shell--task .workbench-section, .workbench-shell--history .workbench-section, .workbench-shell--watch-index .workbench-watch-index) {
  background:
    linear-gradient(180deg, var(--workbench-panel-highlight), transparent 28%),
    var(--workbench-surface);
  box-shadow: var(--workbench-shadow);
  backdrop-filter: blur(18px);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"])
  :is(.workbench-shell--task .workbench-card, .workbench-shell--history .workbench-history-item) {
  background:
    linear-gradient(180deg, var(--workbench-panel-highlight), transparent 28%),
    var(--workbench-surface);
  box-shadow: var(--workbench-shadow);
  backdrop-filter: blur(18px);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index {
  background:
    linear-gradient(180deg, var(--workbench-panel-highlight), transparent 28%),
    var(--workbench-surface);
  box-shadow: var(--workbench-shadow);
  backdrop-filter: blur(18px);
}

.workbench-button,
.workbench-favorite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  gap: 0.3rem;
  padding: 0.52rem 0.86rem;
  border: 1px solid var(--workbench-border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--workbench-text);
  cursor: pointer;
  font-size: 0.88rem;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.workbench-button:hover,
.workbench-button:focus-visible,
.workbench-favorite-button:hover,
.workbench-favorite-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.workbench-button--primary {
  border-color: rgba(168, 85, 247, 0.55);
  background: linear-gradient(135deg, var(--workbench-accent-strong), #b05cff);
  color: #f7f2ff;
}

.workbench-position-form .workbench-favorite-button:not(.is-active):not(.is-update):not(.is-icon) {
  border-color: rgba(168, 85, 247, 0.55);
  background: linear-gradient(135deg, var(--workbench-accent-strong), #b05cff);
  color: #f7f2ff;
}

.workbench-position-form .workbench-favorite-button:not(.is-active):not(.is-update):not(.is-icon):hover,
.workbench-position-form .workbench-favorite-button:not(.is-active):not(.is-update):not(.is-icon):focus-visible {
  border-color: rgba(190, 152, 242, 0.82);
  background: linear-gradient(135deg, #a855f7, #c084fc);
}

.workbench-home-column .workbench-watchlist-row--compact .workbench-button:hover,
.workbench-home-column .workbench-watchlist-row--compact .workbench-button:focus-visible,
.workbench-hero__form .workbench-button--wide:hover,
.workbench-hero__form .workbench-button--wide:focus-visible {
  transform: none;
}

.workbench-button--wide {
  width: 100%;
}

.workbench-hero__form .workbench-button--wide {
  justify-self: center;
  width: 30%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-hero__form .workbench-button--wide {
  width: 45%;
}

.workbench-favorite-form,
.workbench-position-form {
  display: inline-flex;
}

.workbench-watchlist-refresh-form {
  display: inline-flex;
}

.workbench-favorite-button.is-active {
  border-color: rgba(247, 185, 85, 0.4);
  background: rgba(247, 185, 85, 0.12);
  color: #ffe4a5;
}

.workbench-favorite-button.is-update {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.12);
  color: #dac3ff;
}

.workbench-favorite-button.is-icon {
  width: 1.8rem;
  min-width: 1.8rem;
  min-height: 1.8rem;
  padding: 0;
  border: 0;
  background: var(--workbench-signal-b-bg);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.workbench-favorite-button.is-icon span {
  display: none;
}

.workbench-favorite-button.is-icon::before {
  content: "";
  display: block;
  width: 0.94rem;
  height: 0.94rem;
  background: currentColor;
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M6 6l1 15h10l1-15'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M6 6l1 15h10l1-15'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.workbench-favorite-button.is-icon:hover,
.workbench-favorite-button.is-icon:focus-visible {
  border-color: transparent;
  background: color-mix(in srgb, var(--workbench-signal-b-bg) 88%, #b30d22);
  color: #fff;
}

.workbench-eyebrow,
.workbench-section__eyebrow,
.workbench-empty-state__eyebrow {
  margin: 0 0 var(--workbench-panel-title-eyebrow-gap);
  color: var(--workbench-accent);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.workbench-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.workbench-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.workbench-home-layout__span {
  grid-column: 1 / -1;
}

.workbench-home-layout > .workbench-home-column--signal-board {
  grid-column: 1 / span 2;
}

.workbench-home-layout > .workbench-home-column--signal-board + .workbench-home-column--signal-board {
  grid-column: 3;
}

.workbench-home-group {
  display: grid;
  gap: 0.62rem;
}

.workbench-home-group__heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.9rem;
  margin-bottom: 0.9rem;
  min-width: 0;
}

.workbench-home-group__heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--workbench-border), transparent);
}

.workbench-home-group__heading h2 {
  margin: 0;
  color: var(--workbench-text);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: var(--workbench-panel-title-size);
  font-weight: 800;
  letter-spacing: 0;
  line-height: var(--workbench-panel-title-line-height);
}

.workbench-home-group__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.workbench-home-focus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
  overflow: visible;
}

.workbench-home-column {
  position: relative;
  display: grid;
  gap: 0.85rem;
  align-content: start;
  overflow: visible;
}

.workbench-home-column--mobile-query {
  display: none;
}

.workbench-home-column--signal-board {
  align-self: stretch;
  align-content: stretch;
}

.workbench-home-column--signal-board > .workbench-panel {
  height: 100%;
}

.workbench-quick-query-page {
  width: min(36rem, 100%);
  margin: 0 auto;
}

.workbench-hero__intro,
.workbench-hero__form {
  min-height: 100%;
}

.workbench-quick-query-page .workbench-hero__form {
  min-height: auto;
}

.workbench-quick-query-page .workbench-button--wide {
  width: 100%;
}

.workbench-position-panel {
  min-height: 100%;
}

.workbench-position-empty {
  display: grid;
  min-height: 9.35rem;
  place-items: center;
  border: 1px dashed rgba(185, 166, 212, 0.18);
  border-radius: 6px;
  background: rgba(18, 15, 24, 0.58);
}

.workbench-position-empty p {
  margin: 0;
  color: var(--workbench-text-soft);
  font-size: 0.84rem;
}

.workbench-hero h1 {
  margin: 0;
  font-size: clamp(1.95rem, 3.2vw, 2.55rem);
  line-height: 1.08;
}

.workbench-hero__intro--signals h1 {
  margin: 0 0 var(--workbench-panel-title-block-gap);
  font-size: var(--workbench-panel-title-size);
  line-height: var(--workbench-panel-title-line-height);
}

.workbench-hero__intro--signals .workbench-eyebrow {
  margin-bottom: var(--workbench-panel-title-eyebrow-gap);
}

.workbench-daily-signal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.workbench-daily-signal-title-row {
  flex: 1 1 16rem;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.workbench-daily-signal-date-search {
  flex: 0 1 25.8rem;
  align-self: flex-end;
  display: grid;
  margin-bottom: 0.74rem;
  width: min(100%, 25.8rem);
  min-width: min(100%, 25.8rem);
  max-width: 100%;
}

.workbench-daily-signal-date-search__control {
  display: grid;
  grid-template-columns: minmax(8.8rem, 1fr) repeat(3, auto);
  align-items: center;
  gap: 0.38rem;
  width: min(100%, 25.8rem);
  padding: 0.22rem;
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 15, 24, 0.96), rgba(25, 20, 34, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(67, 207, 155, 0.05);
}

.workbench-daily-signal-date-search__control:focus-within {
  border-color: rgba(67, 207, 155, 0.62);
  box-shadow:
    0 0 0 2px rgba(67, 207, 155, 0.1),
    0 10px 24px rgba(9, 20, 37, 0.22);
}

.workbench-daily-signal-date-search input {
  width: 100%;
  min-width: 0;
  height: 2rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--workbench-text);
  color-scheme: dark;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  outline: none;
}

.workbench-daily-signal-date-search input::-webkit-calendar-picker-indicator {
  opacity: 0.78;
  cursor: pointer;
}

.workbench-daily-signal-date-search__button {
  min-width: 3.2rem;
  height: 2rem;
  padding: 0 0.72rem;
  border: 1px solid rgba(168, 85, 247, 0.52);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.92), rgba(147, 51, 234, 0.98));
  color: #fff;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.workbench-daily-signal-date-search__button:hover,
.workbench-daily-signal-date-search__button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(216, 180, 254, 0.86);
  box-shadow: 0 8px 18px rgba(147, 51, 234, 0.24);
}

.workbench-daily-signal-date-search__error {
  margin: 0;
  color: #ff8a9a;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.workbench-daily-signal-head__meta--phone {
  display: none;
}

.workbench-daily-signal-head__status {
  flex: 1 1 18rem;
  min-width: 14rem;
  max-width: 30rem;
  margin-left: auto;
  display: grid;
  gap: 0.42rem;
  align-self: flex-start;
}

.workbench-daily-signal-head__status-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

:root[data-workbench-display-resolution="qhd"] .workbench-daily-signal-head__status,
:root[data-workbench-display-resolution="fhd"] .workbench-daily-signal-head__status {
  flex: 0 0 33.333%;
  width: 33.333%;
  justify-items: end;
  min-width: 0;
  max-width: 33.333%;
}

:root[data-workbench-display-resolution="fhd"] .workbench-daily-signal-date-search {
  flex: 1 1 24rem;
  width: auto;
  min-width: 0;
  max-width: none;
  margin-bottom: 0.86rem;
}

:root[data-workbench-display-resolution="qhd"] .workbench-daily-signal-date-search {
  flex: 1 1 25.8rem;
  width: auto;
  min-width: 0;
  max-width: none;
}

:root[data-workbench-display-resolution="qhd"] .workbench-daily-signal-date-search,
:root[data-workbench-display-resolution="fhd"] .workbench-daily-signal-date-search {
  margin-left: auto;
  justify-items: end;
}

:root[data-workbench-display-resolution="qhd"] .workbench-daily-signal-date-search__control,
:root[data-workbench-display-resolution="fhd"] .workbench-daily-signal-date-search__control {
  justify-self: end;
}

:root[data-workbench-display-resolution="qhd"] .workbench-daily-signal-date-search__control {
  grid-template-columns: minmax(8.8rem, 1fr) repeat(3, auto);
}

:root[data-workbench-display-resolution="fhd"] .workbench-daily-signal-date-search__control {
  grid-template-columns: minmax(7.8rem, 1fr) repeat(3, auto);
  width: min(100%, 24rem);
}

:root[data-workbench-display-resolution="qhd"] .workbench-daily-scan-progress,
:root[data-workbench-display-resolution="fhd"] .workbench-daily-scan-progress {
  width: 100%;
  justify-self: end;
}

:root[data-workbench-display-resolution="qhd"] .workbench-daily-signal-head__status-row,
:root[data-workbench-display-resolution="fhd"] .workbench-daily-signal-head__status-row {
  justify-content: flex-end;
  text-align: right;
}

:root[data-workbench-display-resolution="qhd"] .workbench-daily-signal-head__meta,
:root[data-workbench-display-resolution="fhd"] .workbench-daily-signal-head__meta {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

.workbench-daily-scan-progress {
  --workbench-progress-fill-start: rgba(88, 28, 135, 0.92);
  --workbench-progress-fill-end: rgba(192, 132, 252, 0.98);
  display: grid;
  gap: 0.16rem;
  align-content: start;
  align-items: start;
  justify-items: stretch;
}

.workbench-daily-scan-progress--not-started {
  --workbench-progress-fill-start: rgba(185, 166, 212, 0.28);
  --workbench-progress-fill-end: rgba(185, 166, 212, 0.42);
}

.workbench-daily-scan-progress--finished {
  --workbench-progress-fill-start: rgba(3, 105, 161, 0.92);
  --workbench-progress-fill-end: rgba(56, 189, 248, 0.98);
}

.workbench-daily-scan-progress--failed {
  --workbench-progress-fill-start: rgba(255, 87, 108, 0.82);
  --workbench-progress-fill-end: rgba(239, 68, 68, 0.96);
}

.workbench-daily-scan-progress--failed .workbench-daily-scan-progress__fill {
  box-shadow: 0 0 16px rgba(255, 87, 108, 0.22);
}

.workbench-daily-scan-progress__summary {
  margin: 0;
  color: var(--workbench-text-soft);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.workbench-daily-signal-head__meta {
  margin: 0;
  color: var(--workbench-text-soft);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.workbench-daily-scan-progress__track {
  position: relative;
  height: 0.38rem;
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 15, 24, 0.92), rgba(25, 20, 34, 0.84));
  box-shadow:
    inset 0 0 0 1px rgba(185, 166, 212, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.04);
}

.workbench-daily-scan-progress__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    var(--workbench-progress-fill-start),
    var(--workbench-progress-fill-end)
  );
  box-shadow: 0 0 16px rgba(147, 51, 234, 0.22);
}

.workbench-daily-scan-progress:not(.workbench-daily-scan-progress--not-started):not(.workbench-daily-scan-progress--finished):not(.workbench-daily-scan-progress--failed) .workbench-daily-scan-progress__fill {
  animation: none;
  box-shadow: none;
}

.workbench-daily-scan-progress:not(.workbench-daily-scan-progress--not-started):not(.workbench-daily-scan-progress--finished):not(.workbench-daily-scan-progress--failed) .workbench-daily-scan-progress__fill::after {
  content: "";
  position: absolute;
  top: -70%;
  bottom: -70%;
  left: 0;
  width: min(42%, 8rem);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.32),
    rgba(216, 180, 254, 0.46),
    transparent
  );
  opacity: 0.72;
  animation: workbench-daily-progress-flow 1.8s linear infinite;
}

.workbench-daily-scan-progress--running .workbench-daily-scan-progress__track {
  height: 0.5rem;
  overflow: visible;
  background: rgba(20, 10, 29, 0.94);
  box-shadow: inset 0 0 0 1px rgba(192, 132, 252, 0.5);
}

.workbench-daily-scan-progress--running .workbench-daily-scan-progress__fill::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(243, 232, 255, 0.24),
    rgba(216, 180, 254, 0.5),
    transparent
  );
}

.workbench-daily-scan-progress--running .workbench-daily-scan-progress__track::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  left: var(--workbench-progress-position);
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #e9d5ff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.82);
  transform: translate(-50%, -50%);
}

.workbench-daily-scan-progress--finished .workbench-daily-scan-progress__track {
  height: 0.5rem;
  background: rgba(5, 18, 28, 0.94);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.58);
}

.workbench-daily-scan-progress--finished .workbench-daily-scan-progress__fill {
  box-shadow: none;
}

.workbench-watchlist-update-progress {
  display: none;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--home .workbench-watchlist-update-progress {
  display: grid;
  width: min(100%, 18.5rem);
  margin: 0.46rem 0 0 auto;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--home .workbench-watchlist-update-progress .workbench-daily-scan-progress__summary {
  color: var(--workbench-text-soft);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--home .workbench-home-focus .workbench-section__header--with-progress {
  position: relative;
  padding-bottom: 1.72rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--home .workbench-home-focus .workbench-watchlist-update-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
}

.workbench-signal-trend {
  display: grid;
  grid-template-rows: auto minmax(0.82rem, 0.2fr) auto auto minmax(0.72rem, 1fr);
  align-content: stretch;
  gap: 0;
}

.workbench-signal-trend::before,
.workbench-signal-trend::after {
  content: "";
  min-height: 0;
}

.workbench-signal-trend::before {
  grid-row: 2;
}

.workbench-signal-trend::after {
  grid-row: 5;
}

.workbench-signal-trend__header {
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.workbench-signal-trend__header h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.workbench-signal-trend__header p:last-child {
  margin: 0.16rem 0 0;
  color: var(--workbench-text-soft);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.workbench-signal-trend__chart {
  position: relative;
  grid-row: 3;
  align-self: start;
  height: 15.7rem;
  min-height: 0;
  margin-top: 0;
  padding: 0.14rem 0.18rem 0.06rem;
  border: 1px solid var(--workbench-border);
  border-radius: 6px;
  background: var(--workbench-detail-surface);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"])
  .workbench-shell--home .workbench-signal-trend__chart {
  height: 18.84rem;
}

.workbench-signal-trend__chart svg {
  display: block;
  width: 100%;
  min-height: 0;
  height: 100%;
  overflow: visible;
}

.workbench-signal-trend__grid line {
  stroke: rgba(185, 166, 212, 0.14);
  stroke-width: 1;
}

.workbench-signal-trend__axis text {
  fill: var(--workbench-text-soft);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 10px;
  font-weight: 400;
}

.workbench-signal-trend__cursor {
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.workbench-signal-trend.is-hovering .workbench-signal-trend__cursor {
  opacity: 1;
}

.workbench-signal-trend__cursor-line {
  display: none;
  stroke: rgba(233, 225, 245, 0.5);
  stroke-dasharray: 4 5;
  stroke-linecap: round;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.workbench-signal-trend__cursor-date {
  fill: var(--workbench-text);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 10px;
  font-weight: 400;
  text-anchor: middle;
}

.workbench-signal-trend__line {
  display: none;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
  transition: opacity 160ms ease;
}

.workbench-signal-trend__line.is-hidden,
.workbench-signal-trend__bars.is-hidden {
  opacity: 0;
}

.workbench-signal-trend__bars {
  opacity: 1;
  transition: opacity 180ms ease;
}

.workbench-signal-trend__bar {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
  transition: filter 160ms ease, opacity 160ms ease, stroke 160ms ease, stroke-width 160ms ease;
}

.workbench-signal-trend__bar.is-active {
  filter: brightness(1.72) saturate(1.18) drop-shadow(0 0 4px color-mix(in srgb, currentColor 38%, transparent));
  opacity: 1;
  stroke: none;
}

.workbench-signal-trend__bars.is-growing .workbench-signal-trend__bar {
  animation: workbench-signal-bar-grow 620ms cubic-bezier(0.2, 0.72, 0.16, 1) both;
  animation-delay: calc(var(--workbench-signal-bar-index, 0) * 18ms);
}

@keyframes workbench-signal-bar-grow {
  0% {
    opacity: 0.22;
    transform: scaleY(0);
  }
  64% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .workbench-signal-trend__bars.is-growing .workbench-signal-trend__bar {
    animation: none;
  }
}

.workbench-signal-trend__bars--b .workbench-signal-trend__bar {
  color: var(--workbench-signal-b-bg);
  fill: var(--workbench-signal-b-bg);
}

.workbench-signal-trend__bars--v .workbench-signal-trend__bar {
  color: var(--workbench-signal-v-bg);
  fill: var(--workbench-signal-v-bg);
}

.workbench-signal-trend__bars--d .workbench-signal-trend__bar {
  color: var(--workbench-signal-d-bg);
  fill: var(--workbench-signal-d-bg);
}

.workbench-signal-trend__bars--s .workbench-signal-trend__bar {
  color: var(--workbench-signal-s-bg);
  fill: var(--workbench-signal-s-bg);
}

.workbench-signal-trend__line--b {
  stroke: var(--workbench-signal-b-bg);
}

.workbench-signal-trend__line--v {
  stroke: var(--workbench-signal-v-bg);
}

.workbench-signal-trend__line--d {
  stroke: var(--workbench-signal-d-bg);
}

.workbench-signal-trend__line--s {
  stroke: var(--workbench-signal-s-bg);
}

.workbench-signal-trend__legend {
  grid-row: 4;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.85rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 16.8rem);
  margin: 1.25rem auto 0;
  color: var(--workbench-text-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  transform: translateY(5px);
}

.workbench-signal-trend__legend-toggle {
  --workbench-trend-toggle-color: var(--workbench-accent);
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 1.1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--workbench-text);
  cursor: pointer;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1;
  transition: color 160ms ease, opacity 160ms ease;
}

.workbench-signal-trend__legend-toggle:hover,
.workbench-signal-trend__legend-toggle:focus-visible {
  color: var(--workbench-text);
}

.workbench-signal-trend__legend-toggle:focus-visible {
  outline: 0;
  outline-offset: 2px;
}

.workbench-signal-trend__legend-toggle[aria-pressed="false"] {
  color: var(--workbench-text-soft);
}

.workbench-signal-trend__legend-toggle--b {
  --workbench-trend-toggle-color: var(--workbench-signal-b-bg);
}

.workbench-signal-trend__legend-toggle--v {
  --workbench-trend-toggle-color: var(--workbench-signal-v-bg);
}

.workbench-signal-trend__legend-toggle--d {
  --workbench-trend-toggle-color: var(--workbench-signal-d-bg);
}

.workbench-signal-trend__legend-toggle--s {
  --workbench-trend-toggle-color: var(--workbench-signal-s-bg);
}

.workbench-signal-trend__switch {
  position: relative;
  box-sizing: border-box;
  display: inline-block;
  width: calc(2.38rem + 3px);
  height: 0.96rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--workbench-trend-toggle-color);
  flex: 0 0 auto;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.workbench-signal-trend__legend-toggle:hover .workbench-signal-trend__switch,
.workbench-signal-trend__legend-toggle:focus-visible .workbench-signal-trend__switch {
  border-color: transparent;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--workbench-trend-toggle-color) 76%, white 24%);
}

.workbench-signal-trend__legend-toggle:focus-visible .workbench-signal-trend__switch {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--workbench-trend-toggle-color) 76%, white 24%);
}

.workbench-signal-trend__switch::after {
  content: "";
  position: absolute;
  top: 0.13rem;
  left: calc(1.55rem + 3px);
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 2px rgba(2, 7, 17, 0.32);
  transition: left 160ms ease, background-color 160ms ease;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-signal-trend__switch::after {
  top: calc(0.13rem - 1px);
}

.workbench-signal-trend__legend-toggle[aria-pressed="false"] .workbench-signal-trend__switch {
  background: rgba(112, 126, 146, 0.56);
}

.workbench-signal-trend__legend-toggle[aria-pressed="false"] .workbench-signal-trend__switch::after {
  left: 0.13rem;
  background: rgba(222, 229, 240, 0.86);
}

.workbench-signal-trend__dot {
  display: inline-block;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
}

.workbench-signal-trend__dot--b {
  background: var(--workbench-signal-b-bg);
}

.workbench-signal-trend__dot--v {
  background: var(--workbench-signal-v-bg);
}

.workbench-signal-trend__dot--d {
  background: var(--workbench-signal-d-bg);
}

.workbench-signal-trend__dot--s {
  background: var(--workbench-signal-s-bg);
}

.workbench-signal-trend__tooltip {
  position: absolute;
  z-index: 20;
  min-width: 8.7rem;
  padding: 0.58rem 0.65rem;
  border: 1px solid var(--workbench-border-strong);
  border-radius: 6px;
  background: rgba(5, 12, 22, 0.7);
  color: var(--workbench-text);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.74rem;
  font-weight: 400;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -100%);
  transition: opacity 120ms ease;
}

.workbench-signal-trend.is-hovering .workbench-signal-trend__tooltip {
  opacity: 1;
}

.workbench-signal-trend__tooltip-date {
  display: block;
  margin: 0 0 0.42rem;
  color: var(--workbench-text);
  font-size: 0.76rem;
  font-weight: 400;
}

.workbench-signal-trend__tooltip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  line-height: 1.55;
}

.workbench-signal-trend__tooltip-label {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: var(--workbench-text-muted);
  font-weight: 400;
}

.workbench-signal-trend__tooltip-value {
  color: var(--workbench-text);
  font-weight: 400;
}

.workbench-hero__lead,
.workbench-page-head__lead,
.workbench-section__header p,
.workbench-card__headline p,
.workbench-empty-state p,
.workbench-action-tile span,
.workbench-history-item p {
  color: var(--workbench-text-muted);
  line-height: 1.55;
}

.workbench-section__header .workbench-section__eyebrow,
.workbench-section-heading .workbench-section__eyebrow {
  color: var(--workbench-accent);
  line-height: 1.45;
}

.workbench-hero__lead {
  max-width: 48rem;
  margin: 1rem 0 0;
}

.workbench-metrics,
.workbench-summary-grid {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.workbench-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workbench-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workbench-metric,
.workbench-summary-card {
  padding: 0.78rem 0.85rem;
  border: 1px solid var(--workbench-border);
  border-radius: 8px;
  background: var(--workbench-surface-soft);
}

.workbench-metric__label,
.workbench-summary-card span {
  display: block;
  color: var(--workbench-text-soft);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.workbench-metric strong,
.workbench-summary-card strong {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(1.25rem, 2.35vw, 1.7rem);
  line-height: 1;
}

.workbench-daily-signals {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 0.44rem;
  margin-top: var(--workbench-panel-title-content-gap);
}

.workbench-signal-card,
.workbench-signal-detail-panel {
  --workbench-signal-bg: var(--workbench-signal-b-bg);
  --workbench-signal-border: var(--workbench-signal-b-border);
  --workbench-signal-text: var(--workbench-signal-b-text);
  --workbench-signal-glow: var(--workbench-signal-b-glow);
  --workbench-signal-card-surface: var(--workbench-surface-soft);
  --workbench-signal-card-surface-hover: var(--workbench-surface-strong);
  --workbench-signal-active-surface: color-mix(in srgb, var(--workbench-signal-bg) 28%, #120f18);
  --workbench-signal-active-depth: color-mix(in srgb, var(--workbench-signal-bg) 15%, #120f18);
  --workbench-signal-active-gradient: linear-gradient(135deg, color-mix(in srgb, var(--workbench-signal-bg) 42%, #241b30) 0%, var(--workbench-signal-active-surface) 44%, var(--workbench-signal-active-depth) 100%);
}

.workbench-signal-card {
  --workbench-signal-marker-size: clamp(1.35rem, 2vw, 1.84rem);
  appearance: none;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 3.05rem;
  padding: 0.7rem 0.72rem;
  border: 1px solid var(--workbench-border);
  border-color: color-mix(in srgb, var(--workbench-border) 72%, var(--workbench-signal-border));
  border-radius: 15px 15px 0 0;
  background: var(--workbench-signal-card-surface);
  background-image: none;
  color: var(--workbench-text);
  cursor: pointer;
  overflow: visible;
  box-shadow: none;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.workbench-signal-card::before {
  display: none;
  content: none;
}

.workbench-signal-card[data-signal-marker="V"],
.workbench-signal-detail-panel[data-signal-marker="V"] {
  --workbench-signal-bg: var(--workbench-signal-v-bg);
  --workbench-signal-border: var(--workbench-signal-v-border);
  --workbench-signal-text: var(--workbench-signal-v-text);
  --workbench-signal-glow: var(--workbench-signal-v-glow);
}

.workbench-signal-card[data-signal-marker="D"],
.workbench-signal-detail-panel[data-signal-marker="D"] {
  --workbench-signal-bg: var(--workbench-signal-d-bg);
  --workbench-signal-border: var(--workbench-signal-d-border);
  --workbench-signal-text: var(--workbench-signal-d-text);
  --workbench-signal-glow: var(--workbench-signal-d-glow);
}

.workbench-signal-card[data-signal-marker="S"],
.workbench-signal-detail-panel[data-signal-marker="S"] {
  --workbench-signal-bg: var(--workbench-signal-s-bg);
  --workbench-signal-border: var(--workbench-signal-s-border);
  --workbench-signal-text: var(--workbench-signal-s-text);
  --workbench-signal-glow: var(--workbench-signal-s-glow);
}

.workbench-signal-card:hover {
  border-color: var(--workbench-signal-bg);
  background: var(--workbench-signal-card-surface-hover);
}

.workbench-signal-card.is-active {
  --workbench-signal-active-count-size: clamp(1.18rem, 1.86vw, 1.58rem);
  z-index: 3;
  border-color: var(--workbench-signal-bg);
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--workbench-signal-bg) 60%, #ffffff 10%) 0%, color-mix(in srgb, var(--workbench-signal-bg) 44%, #271b30) 48%, color-mix(in srgb, var(--workbench-signal-bg) 24%, #120f18) 100%);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #ffffff 28%, var(--workbench-signal-bg)),
    inset 0 0 0 1px color-mix(in srgb, var(--workbench-signal-bg) 78%, transparent),
    inset 0 -11px 20px rgba(10, 6, 14, 0.34),
    0 -1px 10px color-mix(in srgb, var(--workbench-signal-bg) 24%, transparent);
  transform: translateY(1px);
}

.workbench-signal-card.is-active::before {
  display: none;
  content: none;
}

.workbench-signal-card.is-active::after {
  display: none;
  content: none;
}

.workbench-signal-card:focus {
  outline: 2px solid transparent;
}

.workbench-signal-card:focus-visible {
  border-color: var(--workbench-accent);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12);
}

.workbench-signal-card.is-active:focus-visible {
  border-color: var(--workbench-signal-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 0 1px color-mix(in srgb, var(--workbench-signal-bg) 70%, transparent),
    inset 0 12px 24px color-mix(in srgb, var(--workbench-signal-bg) 18%, transparent),
    0 -1px 10px color-mix(in srgb, var(--workbench-signal-bg) 22%, transparent),
    0 0 0 4px rgba(168, 85, 247, 0.12);
}

.workbench-signal-card__topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-width: 0;
  width: 100%;
  padding-inline: clamp(0.36rem, 0.7vw, 0.72rem) clamp(0.42rem, 0.82vw, 0.86rem);
}

.workbench-signal-card__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--workbench-signal-bg);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: var(--workbench-signal-marker-size);
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: none;
  line-height: 1;
  transform: none;
}

.workbench-signal-card.is-active .workbench-signal-card__marker {
  color: #f7f2ff !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 18px color-mix(in srgb, var(--workbench-signal-bg) 34%, transparent);
}

.workbench-signal-card__count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.18rem;
  min-width: 0;
  margin-left: auto;
  transform: none;
}

.workbench-signal-card__count strong {
  display: inline-block;
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  line-height: 1;
}

.workbench-signal-card.is-active .workbench-signal-card__count {
  align-items: baseline;
  transform: none;
}

.workbench-signal-card.is-active .workbench-signal-card__count strong {
  color: #f7f2ff;
  font-size: var(--workbench-signal-active-count-size) !important;
  font-weight: 700;
  text-shadow: 0 8px 18px rgba(1, 8, 18, 0.34);
}

.workbench-signal-card__unit {
  color: var(--workbench-text-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.workbench-signal-card.is-active .workbench-signal-card__unit {
  color: rgba(247, 242, 255, 0.88);
  font-weight: 900;
}

.workbench-signal-details {
  position: relative;
  z-index: 1;
  margin-top: -1px;
}

.workbench-signal-detail-panel {
  min-height: 11.5rem;
  padding: 0.78rem;
  border: 1px solid color-mix(in srgb, var(--workbench-border) 78%, var(--workbench-signal-border));
  border-top-color: var(--workbench-border);
  border-radius: 0 0 8px 8px;
  background:
    linear-gradient(180deg, var(--workbench-panel-highlight), transparent 34%),
    var(--workbench-detail-surface);
  box-shadow: none;
}

.workbench-signal-detail-panel[hidden] {
  display: none;
}

.workbench-signal-detail-panel__header {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin-bottom: 0.78rem;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
}

.workbench-signal-detail-panel__header h2 {
  margin: 0;
  font-size: var(--workbench-panel-title-size);
  line-height: var(--workbench-panel-title-line-height);
}

.workbench-signal-detail-panel__header p,
.workbench-signal-detail-empty {
  color: var(--workbench-text-muted);
}

.workbench-signal-detail-panel__header p {
  margin: 0.12rem 0 0;
  font-size: 0.76rem;
}

.workbench-signal-detail-table-wrap {
  overflow-x: hidden;
  overflow-y: visible;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.46) transparent;
}

.workbench-signal-detail-table-wrap::-webkit-scrollbar {
  height: 6px;
}

.workbench-signal-detail-table-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.workbench-signal-detail-table-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.34);
}

.workbench-signal-detail-table-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.54);
}

.workbench-signal-detail-table {
  --workbench-signal-detail-row-height: 2.736rem;
  --workbench-signal-table-scrollbar-lane: 11px;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.8rem;
}

.workbench-signal-detail-table thead,
.workbench-signal-detail-table tbody {
  display: block;
}

.workbench-signal-detail-table tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.workbench-signal-detail-table thead tr {
  width: calc(100% - var(--workbench-signal-table-scrollbar-lane));
}

.workbench-signal-detail-table tbody {
  box-sizing: border-box;
  height: calc(var(--workbench-signal-detail-row-height) * 5 + 2.5px);
  overflow-x: hidden;
  overflow-y: auto;
  margin-right: 0;
  padding-right: 0;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.46) transparent;
}

.workbench-signal-detail-table tbody::-webkit-scrollbar {
  width: 6px;
}

.workbench-signal-detail-table tbody::-webkit-scrollbar-track {
  background: transparent;
}

.workbench-signal-detail-table tbody::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.34);
}

.workbench-signal-detail-table tbody::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.54);
}

.workbench-signal-detail-table th,
.workbench-signal-detail-table td {
  box-sizing: border-box;
  height: var(--workbench-signal-detail-row-height);
  padding: 0.44rem 0.38rem;
  border-bottom: 1px solid rgba(185, 166, 212, 0.13);
  line-height: 1.2;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workbench-signal-detail-table th:first-child,
.workbench-signal-detail-table td:first-child {
  padding-left: calc(0.38rem + 5px);
}

.workbench-signal-detail-table th {
  background:
    linear-gradient(180deg, rgba(25, 20, 34, 0.98), rgba(13, 11, 18, 0.98));
  color: var(--workbench-text-soft);
  font-weight: 700;
}

.workbench-signal-detail-table th:nth-child(1),
.workbench-signal-detail-table td:nth-child(1) {
  width: 14%;
}

.workbench-signal-detail-table th:nth-child(2),
.workbench-signal-detail-table td:nth-child(2) {
  width: 12%;
}

.workbench-signal-detail-table th:nth-child(3),
.workbench-signal-detail-table td:nth-child(3) {
  width: 13%;
  text-align: center;
}

.workbench-signal-detail-table th:nth-child(4),
.workbench-signal-detail-table th:nth-child(5),
.workbench-signal-detail-table th:nth-child(6),
.workbench-signal-detail-table th:nth-child(7),
.workbench-signal-detail-table td:nth-child(4),
.workbench-signal-detail-table td:nth-child(5),
.workbench-signal-detail-table td:nth-child(6),
.workbench-signal-detail-table td:nth-child(7) {
  width: 11.5%;
  text-align: center;
}

.workbench-signal-detail-table th:nth-child(8),
.workbench-signal-detail-table td:nth-child(8) {
  width: 15%;
  text-align: center;
}

.workbench-signal-detail-header-label,
.workbench-signal-detail-cell {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.workbench-signal-detail-header-label--industry,
.workbench-signal-detail-cell--industry {
  display: none;
}

.workbench-signal-detail-pct {
  font-variant-numeric: tabular-nums;
}

.workbench-signal-detail-pct--up {
  color: var(--workbench-danger);
}

.workbench-signal-detail-pct--down {
  color: var(--workbench-success);
}

.workbench-signal-detail-table a {
  color: #c084fc;
  font-weight: 700;
  text-decoration: none;
}

.workbench-signal-detail-table .workbench-signal-detail-board-link {
  min-height: 1.72rem;
  padding: 0.3rem 0.56rem;
  color: #f7f2ff;
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
}

.workbench-signal-detail-table .workbench-signal-detail-board-link:hover,
.workbench-signal-detail-table .workbench-signal-detail-board-link:focus-visible {
  color: #f7f2ff;
  transform: none;
}

.workbench-signal-detail-empty {
  margin: 0;
  line-height: 1.7;
}

.workbench-form {
  display: grid;
  gap: 0.78rem;
  margin-top: var(--workbench-panel-title-content-gap);
}

.workbench-form__grid {
  display: grid;
  gap: 0.7rem;
}

.workbench-form__field {
  display: grid;
  gap: 0.36rem;
}

.workbench-form__field label {
  color: var(--workbench-text-soft);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.workbench-form__field input {
  width: 100%;
  padding: 0.66rem 0.78rem;
  border: 1px solid var(--workbench-border);
  border-radius: 6px;
  background: var(--workbench-input-surface);
  color: var(--workbench-text);
  color-scheme: dark;
}

.workbench-hero__form .workbench-form__field input {
  font-size: calc(1em - 3px);
}

.workbench-form__field input:focus {
  outline: 2px solid transparent;
  border-color: var(--workbench-accent);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12);
}

.workbench-form__hint,
.workbench-form__error {
  margin: 0;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.68rem;
  line-height: 1.42;
}

.workbench-form__hint {
  color: var(--workbench-text-soft);
}

.workbench-form__error {
  color: #ffacb5;
}

.workbench-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.workbench-grid--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workbench-side-stack {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.workbench-section--span-2 {
  grid-column: span 2;
}

.workbench-section--span-3 {
  grid-column: span 3;
}

.workbench-section__header,
.workbench-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.workbench-section__header-side {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-height: calc(var(--workbench-panel-title-size) * var(--workbench-panel-title-line-height));
  margin-top: calc(0.95rem + var(--workbench-panel-title-eyebrow-gap));
}

.workbench-section__title-action-line {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

.workbench-section__title-action-line h2 {
  margin: 0;
}

.workbench-section__title-actions {
  position: relative;
  z-index: 24;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  transform: translateY(1px);
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-home-column .workbench-section,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-home-column .workbench-section {
  position: relative;
  overflow: visible;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-home-column .workbench-section:has(.workbench-watchlist-signal-filter.is-open),
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-home-column .workbench-section:has(.workbench-watchlist-signal-filter.is-open) {
  z-index: 90;
}

.workbench-section__meta {
  margin: 0;
  color: var(--workbench-text-soft);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.workbench-watchlist-signal-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 120;
}

.workbench-watchlist-signal-filter__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 5.1rem;
  min-height: 1.82rem;
  padding: 0 0.72rem;
  border: 1px solid rgba(185, 166, 212, 0.32);
  border-radius: 999px;
  background: rgba(29, 24, 38, 0.72);
  color: var(--workbench-text-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.workbench-watchlist-signal-filter__toggle::after {
  width: 0;
  height: 0;
  border-inline: 0.24rem solid transparent;
  border-top: 0.3rem solid currentColor;
  content: "";
  opacity: 0.78;
  transform: translateY(1px);
  transition: transform 160ms ease;
}

.workbench-watchlist-signal-filter__toggle strong {
  color: var(--workbench-text);
  font-weight: 800;
}

.workbench-watchlist-signal-filter__toggle:hover,
.workbench-watchlist-signal-filter__toggle:focus-visible,
.workbench-watchlist-signal-filter.is-open .workbench-watchlist-signal-filter__toggle {
  border-color: rgba(190, 152, 242, 0.64);
  color: var(--workbench-text);
}

.workbench-watchlist-signal-filter__toggle:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.18);
}

.workbench-watchlist-signal-filter.is-open .workbench-watchlist-signal-filter__toggle {
  background: rgba(168, 85, 247, 0.16);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.12),
    0 0 14px rgba(168, 85, 247, 0.18);
}

.workbench-watchlist-signal-filter.is-open .workbench-watchlist-signal-filter__toggle::after {
  transform: translateY(0) rotate(180deg);
}

.workbench-watchlist-signal-filter__menu {
  position: absolute;
  top: calc(100% + 0.36rem);
  left: 0;
  z-index: 500;
  display: grid;
  gap: 0.16rem;
  min-width: 7.1rem;
  padding: 0.34rem;
  border: 1px solid rgba(185, 166, 212, 0.24);
  border-radius: 10px;
  background: rgba(18, 14, 24, 0.98);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34), 0 0 18px rgba(168, 85, 247, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.25rem);
  transition: opacity 150ms ease, transform 150ms ease;
}

.workbench-watchlist-signal-filter.is-open .workbench-watchlist-signal-filter__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.workbench-watchlist-signal-filter__button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  min-height: 1.72rem;
  padding: 0 0.64rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--workbench-text-soft);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.workbench-watchlist-signal-filter__button:first-child,
.workbench-watchlist-signal-filter__button--none {
  min-width: 0;
}

.workbench-watchlist-signal-filter__button:hover,
.workbench-watchlist-signal-filter__button:focus-visible {
  background: rgba(168, 85, 247, 0.1);
  color: var(--workbench-text);
}

.workbench-watchlist-signal-filter__button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.18);
}

.workbench-watchlist-signal-filter__button[aria-pressed="true"] {
  background: rgba(168, 85, 247, 0.2);
  color: #f4ecff;
  box-shadow:
    inset 0 0 0 1px rgba(190, 152, 242, 0.24),
    0 0 12px rgba(168, 85, 247, 0.18);
}

.workbench-sort-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.45rem;
  min-height: 1.82rem;
  padding: 0 0.72rem;
  border: 1px solid rgba(185, 166, 212, 0.32);
  border-radius: 999px;
  background: rgba(29, 24, 38, 0.72);
  color: var(--workbench-text-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.workbench-sort-toggle:hover,
.workbench-sort-toggle:focus-visible {
  border-color: rgba(190, 152, 242, 0.64);
  color: var(--workbench-text);
}

.workbench-sort-toggle:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.18);
}

.workbench-sort-toggle[aria-pressed="true"] {
  border-color: rgba(168, 85, 247, 0.75);
  background: rgba(168, 85, 247, 0.18);
  color: #efe5ff;
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.14),
    0 0 14px rgba(168, 85, 247, 0.22);
}

.workbench-sort-toggle--delete[aria-pressed="true"] {
  border-color: rgba(255, 91, 111, 0.68);
  background: rgba(255, 91, 111, 0.16);
  color: #ffe7ec;
  box-shadow:
    0 0 0 1px rgba(255, 91, 111, 0.12),
    0 0 14px rgba(255, 91, 111, 0.18);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__controls [data-watchlist-sort-toggle],
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__controls [data-watchlist-delete-toggle] {
  transform: none;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-home-focus .workbench-section__header > div:first-child,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-home-focus .workbench-section__header > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-home-focus .workbench-section__title-action-line,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-home-focus .workbench-section__title-action-line {
  display: grid;
  grid-template-columns: max-content minmax(8rem, 1fr);
  column-gap: 0.8rem;
  width: 100%;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-home-focus .workbench-section__title-actions {
  justify-self: end;
  transform: translateY(-5px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-home-focus .workbench-section__title-actions {
  justify-self: end;
  transform: translateY(-5px);
}

.workbench-section-heading {
  display: flow-root;
}

.workbench-section__header h2,
.workbench-section-heading h2,
.workbench-page-head h1,
.workbench-history-panel__head h1,
.workbench-empty-state h2,
.workbench-card h3,
.workbench-history-item h3 {
  margin: 0;
}

.workbench-section__header h2,
.workbench-section-heading h2,
.workbench-page-head h1,
.workbench-history-panel__head h1,
.workbench-empty-state h2 {
  font-size: var(--workbench-panel-title-size);
  line-height: var(--workbench-panel-title-line-height);
}

.workbench-signal-trend__header h2 {
  font-size: var(--workbench-panel-title-size);
  line-height: var(--workbench-panel-title-line-height);
}

.workbench-section__header h2,
.workbench-section-heading h2,
.workbench-signal-trend__header h2 {
  margin-bottom: var(--workbench-panel-title-block-gap);
}

.workbench-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--task .workbench-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workbench-record-search {
  display: flex;
  align-items: center;
  width: min(100%, 340px);
  min-height: 2.35rem;
  margin-top: 0.82rem;
  padding: 0 0.72rem;
  border: 1px solid var(--workbench-border);
  border-radius: 8px;
  background: var(--workbench-surface);
}

.workbench-record-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--workbench-text);
  font-size: calc(0.86rem - 2px);
}

.workbench-record-search input::placeholder {
  color: var(--workbench-text-soft);
}

:is(.workbench-record-search, .workbench-watch-index__search, .workbench-signal-analysis__field) input[type="search"]::-webkit-search-cancel-button {
  width: 0.82rem;
  height: 0.82rem;
  margin-left: 0.45rem;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  opacity: 0.92;
  background: linear-gradient(135deg, #c084fc, var(--workbench-accent-strong));
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: opacity 160ms ease, filter 160ms ease, transform 160ms ease;
}

:is(.workbench-record-search, .workbench-watch-index__search, .workbench-signal-analysis__field) input[type="search"]::-webkit-search-cancel-button:hover {
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.58));
  transform: scale(1.08);
}

:is(
  .workbench-shell--watch-portfolio-preview .workbench-watch-index__search,
  .workbench-shell--stock-theme-admin .workbench-watch-index__search,
  .workbench-shell--task .workbench-record-search,
  .workbench-signal-analysis__field
) input[type="search"]::-webkit-search-cancel-button {
  background: linear-gradient(135deg, #ff718d, #ef4444);
}

:is(
  .workbench-shell--watch-portfolio-preview .workbench-watch-index__search,
  .workbench-shell--stock-theme-admin .workbench-watch-index__search,
  .workbench-shell--task .workbench-record-search,
  .workbench-signal-analysis__field
) input[type="search"]::-webkit-search-cancel-button:hover {
  filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.56));
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-record-search {
  margin-bottom: 0.55rem;
}

:root[data-workbench-display-resolution="fhd"] :is(.workbench-shell--task, .workbench-shell--history) .workbench-record-search {
  width: min(100%, 390px);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) :is(.workbench-record-search input, .workbench-watch-index__search input) {
  font-size: calc(0.86rem + 2px);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-watch-index__controls {
  margin-bottom: 0.48rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) :is(.workbench-record-search input::placeholder, .workbench-watch-index__search input::placeholder) {
  font-size: calc(0.86rem + 1px);
}

:root[data-workbench-display-resolution="qhd"] :is(.workbench-shell--task, .workbench-shell--history) .workbench-record-search input,
:root[data-workbench-display-resolution="fhd"] :is(.workbench-shell--task, .workbench-shell--history) .workbench-record-search input {
  font-size: calc(0.86rem + 1px);
}

:root[data-workbench-display-resolution="qhd"] :is(.workbench-shell--task, .workbench-shell--history) .workbench-record-search input::placeholder,
:root[data-workbench-display-resolution="fhd"] :is(.workbench-shell--task, .workbench-shell--history) .workbench-record-search input::placeholder {
  font-size: 0.86rem;
}

.workbench-account-panel {
  display: grid;
  gap: 1.15rem;
}

.workbench-account-panel__intro {
  display: grid;
  gap: 0.72rem;
}

.workbench-account-panel__intro h1 {
  margin: 0;
  font-size: var(--workbench-panel-title-size);
  line-height: var(--workbench-panel-title-line-height);
}

.workbench-account-panel__body {
  display: grid;
  gap: 0.9rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--workbench-border);
}

.workbench-account-panel__body h2 {
  margin: 0;
  font-size: var(--workbench-panel-title-size);
  line-height: var(--workbench-panel-title-line-height);
}

.workbench-account-panel__body p:not(.workbench-section__eyebrow) {
  max-width: 40rem;
  margin: 0.68rem 0 0;
  color: var(--workbench-text-muted);
  line-height: 1.7;
}

.workbench-account-panel__fields {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.workbench-account-panel__fields div {
  display: grid;
  gap: 0.28rem;
}

.workbench-account-panel__fields dt {
  color: var(--workbench-text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workbench-account-panel__fields dd {
  margin: 0;
  color: var(--workbench-text);
  font-size: 1rem;
  font-weight: 700;
}

.workbench-account-panel .workbench-empty-state__actions .workbench-button {
  min-height: calc(2.35rem - 2px);
  padding-top: 0.46rem;
  padding-bottom: 0.46rem;
  font-weight: 700;
}

.workbench-card-stack {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.workbench-watchlist-list {
  display: grid;
  gap: 0.75rem;
  margin-top: var(--workbench-panel-title-content-gap);
}

/* Shell keeps the custom indicator fixed while the list scrolls inside. */
.workbench-watchlist-scroll-shell {
  position: relative;
  margin-top: var(--workbench-panel-title-content-gap);
}

.workbench-watchlist-scroll-shell > .workbench-watchlist-list {
  margin-top: 0;
}

.workbench-watchlist-list--scrollable {
  max-height: 36rem;
  overflow-y: auto;
  padding-right: 1.05rem;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: none;
}

.workbench-watchlist-list--scrollable::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.workbench-watchlist-list--scrollable::-webkit-scrollbar-track {
  background: transparent;
}

.workbench-watchlist-list--scrollable::-webkit-scrollbar-thumb {
  background: transparent;
}

.workbench-watchlist-list--scrollable::-webkit-scrollbar-thumb:hover {
  background: transparent;
}

.workbench-watch-index {
  padding: 0.95rem 1.05rem 1.05rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 4.4rem - 4.6rem - 3.38rem);
  min-height: 0;
  overflow: hidden;
}

.workbench-watch-index-refresh {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 0.7rem;
}

.workbench-watch-index__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 1fr) auto;
  gap: 1rem;
  align-items: end;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--workbench-border-strong);
}

.workbench-watch-index__main {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.workbench-watch-index__refresh-progress {
  width: min(100%, 22rem);
  justify-self: end;
  align-self: end;
}

.workbench-watch-index__refresh-progress .workbench-daily-scan-progress__summary {
  font-size: 0.68rem;
}

.workbench-watch-index h1 {
  margin: 0;
  color: var(--workbench-text);
  font-size: var(--workbench-panel-title-size);
  line-height: var(--workbench-panel-title-line-height);
}

.workbench-watch-index__title-block {
  position: relative;
}

.workbench-watch-index__title-switch {
  position: relative;
  display: none;
}

.workbench-watch-index__title-switch-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--workbench-text);
  font: inherit;
  cursor: pointer;
}

.workbench-watch-index__title-switch-label {
  color: var(--workbench-text);
  font-size: var(--workbench-panel-title-size);
  font-weight: 800;
  line-height: var(--workbench-panel-title-line-height);
}

.workbench-watch-index__title-switch-caret {
  width: 0;
  height: 0;
  margin-top: 0.18rem;
  border-right: 0.32rem solid transparent;
  border-left: 0.32rem solid transparent;
  border-top: 0.38rem solid rgba(238, 229, 255, 0.9);
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.45));
  transition: transform 160ms ease;
}

.workbench-watch-index__title-switch.is-open .workbench-watch-index__title-switch-caret {
  transform: rotate(180deg);
}

.workbench-watch-index__title-switch-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 8.6rem;
  padding: 0.35rem;
  border: 1px solid rgba(168, 85, 247, 0.42);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(24, 18, 34, 0.98), rgba(14, 10, 22, 0.96));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(168, 85, 247, 0.18);
}

.workbench-watch-index__title-switch-menu[hidden] {
  display: none;
}

.workbench-watch-index__title-switch-option {
  min-height: 2.25rem;
  padding: 0 0.78rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--workbench-text-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.workbench-watch-index__title-switch-option:hover,
.workbench-watch-index__title-switch-option:focus-visible,
.workbench-watch-index__title-switch-option[aria-current="true"] {
  background: rgba(168, 85, 247, 0.2);
  color: #fff;
}

.workbench-watch-index__controls,
.workbench-watch-index__signals {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.workbench-watch-index__signals {
  justify-content: center;
}

.workbench-watch-index__signal-label {
  color: var(--workbench-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.workbench-watch-index__search {
  display: flex;
  flex: 0 1 340px;
  align-items: center;
  min-width: 0;
  width: min(100%, 340px);
  min-height: 2.35rem;
  padding: 0 0.72rem;
  border: 1px solid var(--workbench-border);
  border-radius: 8px;
  background: var(--workbench-surface);
}

.workbench-watch-index__search--theme {
  flex-basis: 220px;
  width: min(100%, 220px);
}

.workbench-watch-index__score-filters {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-width: 0;
}

.workbench-watch-index__search--score {
  flex: 0 0 5.2rem;
  width: 5.2rem;
  padding: 0 0.5rem;
}

.workbench-watch-index__score-separator {
  flex: 0 0 auto;
  color: var(--workbench-text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
}

.workbench-watch-index__search--score input {
  text-align: center;
}

.workbench-watch-index__search--score input::-webkit-outer-spin-button,
.workbench-watch-index__search--score input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.workbench-watch-index__search--score input {
  -moz-appearance: textfield;
}

.workbench-watch-index__search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--workbench-text);
  font-size: calc(0.86rem - 2px);
}

.workbench-watch-index__search input::placeholder {
  color: var(--workbench-text-soft);
}

.workbench-watch-index__count,
.workbench-watch-index__signal-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  border: 1px solid var(--workbench-border);
  border-radius: 999px;
  background: var(--workbench-surface);
  color: var(--workbench-text-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.workbench-watch-index__count {
  padding: 0 0.86rem;
}

.workbench-watch-index__count em,
.workbench-watch-index__signal-pill em {
  margin-left: 0.32rem;
  color: #fff;
  font-style: normal;
}

.workbench-watch-index__count-unit {
  margin-left: 0.24em;
}

.workbench-watch-index__signal-pill {
  gap: 0.28rem;
  padding: 0 0.78rem;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.workbench-watch-index__signal-pill:hover,
.workbench-watch-index__signal-pill:focus-visible,
.workbench-watch-index__signal-pill.is-active {
  border-color: var(--workbench-border-strong);
  background: var(--workbench-surface-soft);
}

.workbench-watch-index__signal-pill:hover,
.workbench-watch-index__signal-pill:focus-visible {
  transform: translateY(-1px);
}

.workbench-watch-index__signal-pill--b {
  color: var(--workbench-signal-b-bg);
}

.workbench-watch-index__signal-pill--v {
  color: var(--workbench-signal-v-bg);
}

.workbench-watch-index__signal-pill--d {
  color: var(--workbench-signal-d-bg);
}

.workbench-watch-index__signal-pill--s {
  color: var(--workbench-signal-s-bg);
}

.workbench-watch-index__signal-pill--none,
.workbench-watch-index__signal-pill--all {
  color: var(--workbench-text-muted);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__signal-pill.is-active {
  border-color: rgba(168, 85, 247, 0.75);
  background: rgba(168, 85, 247, 0.18);
  color: #efe5ff;
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.14),
    0 0 14px rgba(168, 85, 247, 0.22);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__signal-pill.is-active em {
  color: #fff;
}

.workbench-watch-index__updated {
  display: grid;
  gap: 0.2rem;
  justify-items: end;
  color: var(--workbench-text-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.78rem;
  line-height: 1.25;
  white-space: nowrap;
}

.workbench-watch-index__updated strong {
  color: var(--workbench-text);
  font-size: 0.95rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__head {
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  grid-template-areas:
    "title title progress"
    "controls signals updated";
  align-items: center;
  column-gap: 0.48rem;
  row-gap: 0.78rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__main {
  display: contents;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__main > div:first-child {
  grid-area: title;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__controls {
  grid-area: controls;
  align-self: center;
  min-width: 0;
  margin: 0;
  gap: 0.48rem;
  max-width: 100%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__refresh-progress {
  grid-area: progress;
  width: min(26rem, 100%);
  justify-self: end;
  align-self: end;
  margin-bottom: 0.1rem;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--watch-index .workbench-watch-index__refresh-progress {
  width: min(34rem, 100%);
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--watch-index .workbench-watch-index__head {
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  grid-template-areas:
    "title progress progress"
    "controls signals updated";
  column-gap: 0.7rem;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--watch-index .workbench-watch-index__signals {
  flex-wrap: nowrap;
  justify-self: end;
  min-width: max-content;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__signals {
  grid-area: signals;
  align-self: center;
  justify-content: flex-end;
  gap: 0.42rem;
  min-width: 0;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--watch-index .workbench-watch-index__signals {
  flex-wrap: nowrap;
  min-width: max-content;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__updated {
  grid-area: updated;
  align-self: center;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__search {
  flex-basis: 15rem;
  width: min(100%, 15rem);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__search--theme {
  flex-basis: 8.5rem;
  width: min(100%, 8.5rem);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__score-filters {
  flex: 0 0 auto;
  gap: 0.34rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__search--score {
  flex-basis: 5.2rem;
  width: 5.2rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index :is(.workbench-watch-index__count, .workbench-watch-index__signal-pill, .workbench-watch-index__controls .workbench-sort-toggle) {
  min-height: 2.35rem;
  line-height: 1;
}

.workbench-watch-index__table-wrap {
  overflow-x: hidden;
  border: 1px solid var(--workbench-border-strong);
  border-radius: 8px;
  background: var(--workbench-surface);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.workbench-watch-index__table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table {
  --workbench-watch-index-scrollbar-gutter: 0.72rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  table-layout: fixed;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table thead {
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding-right: var(--workbench-watch-index-scrollbar-gutter);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tbody {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.56) transparent;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tbody::-webkit-scrollbar {
  width: var(--workbench-watch-index-scrollbar-gutter);
  height: 0;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tbody::-webkit-scrollbar-track {
  background: transparent;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tbody::-webkit-scrollbar-thumb {
  border: 2px solid #120f18;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.52);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tbody::-webkit-scrollbar-thumb:hover {
  background: rgba(192, 132, 252, 0.68);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table thead tr,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tbody tr[hidden] {
  display: none !important;
}

.workbench-watch-index__table th,
.workbench-watch-index__table td {
  box-sizing: border-box;
  padding: 0.62rem 0.46rem;
  border-bottom: 1px solid var(--workbench-border);
  overflow: hidden;
  color: var(--workbench-text-muted);
  font-size: 0.8rem;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tbody td {
  color: var(--workbench-text);
}

.workbench-watch-index__table th:first-child,
.workbench-watch-index__table td:first-child {
  padding-left: calc(0.46rem + 5px);
}

.workbench-watch-index__table th:nth-child(1),
.workbench-watch-index__table td:nth-child(1) {
  width: 3%;
}

.workbench-watch-index__table th:nth-child(2),
.workbench-watch-index__table td:nth-child(2) {
  width: 9%;
}

.workbench-watch-index__table th:nth-child(3),
.workbench-watch-index__table td:nth-child(3) {
  width: 8%;
}

.workbench-watch-index__table th:nth-child(4),
.workbench-watch-index__table td:nth-child(4),
.workbench-watch-index__table th:nth-child(5),
.workbench-watch-index__table td:nth-child(5),
.workbench-watch-index__table th:nth-child(6),
.workbench-watch-index__table td:nth-child(6),
.workbench-watch-index__table th:nth-child(7),
.workbench-watch-index__table td:nth-child(7),
.workbench-watch-index__table th:nth-child(8),
.workbench-watch-index__table td:nth-child(8) {
  width: 6%;
}

.workbench-watch-index__table th:nth-child(9),
.workbench-watch-index__table td:nth-child(9) {
  width: 7%;
}

.workbench-watch-index__table th:nth-child(10),
.workbench-watch-index__table td:nth-child(10) {
  width: 6%;
}

.workbench-watch-index__table th:nth-child(11),
.workbench-watch-index__table td:nth-child(11) {
  width: 2.1%;
}

.workbench-watch-index__table th:nth-child(12),
.workbench-watch-index__table td:nth-child(12) {
  width: 29.9%;
}

.workbench-watch-index__table th:nth-child(13),
.workbench-watch-index__table td:nth-child(13) {
  width: 4%;
}

.workbench-watch-index__spacer-heading,
.workbench-watch-index__spacer-cell {
  padding-right: 0;
  padding-left: 0;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 0;
  pointer-events: none;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th:nth-child(1),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td:nth-child(1) {
  width: 4%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th:nth-child(3),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td:nth-child(3) {
  width: 10%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th:nth-child(4),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td:nth-child(4),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th:nth-child(5),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td:nth-child(5) {
  width: 8%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th:nth-child(6),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td:nth-child(6) {
  width: 7%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th:nth-child(7),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td:nth-child(7),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th:nth-child(8),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td:nth-child(8) {
  width: 6%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th:nth-child(9),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td:nth-child(9) {
  width: 8%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th:nth-child(10),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td:nth-child(10) {
  width: 6%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th:nth-child(11),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td:nth-child(11) {
  width: 2.8%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th:nth-child(12),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td:nth-child(12) {
  width: 17.2%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th:nth-child(13),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td:nth-child(13) {
  width: 5%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td {
  text-align: center;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th:first-child,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td:first-child {
  padding-left: 0.46rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table th:nth-child(12),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table td:nth-child(12) {
  text-align: left;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__note-heading .workbench-watch-index__sort-button {
  justify-content: flex-start;
  text-align: left;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__note-label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__note-heading .workbench-watch-index__sort-triangle {
  display: none;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__note-input {
  text-align: left;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th,
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td {
  padding: 0.62rem 0.2rem;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th:nth-child(1),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td:nth-child(1) {
  width: 4%;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th:nth-child(2),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td:nth-child(2) {
  width: 9%;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th:nth-child(3),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td:nth-child(3) {
  display: none;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th:nth-child(4),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td:nth-child(4),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th:nth-child(5),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td:nth-child(5) {
  width: 8%;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th:nth-child(6),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td:nth-child(6) {
  width: 7%;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th:nth-child(7),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td:nth-child(7),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th:nth-child(8),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td:nth-child(8) {
  width: 6%;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th:nth-child(9),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td:nth-child(9) {
  width: 8%;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th:nth-child(10),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td:nth-child(10) {
  width: 6%;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th:nth-child(11),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td:nth-child(11) {
  width: 1.4%;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th:nth-child(12),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td:nth-child(12) {
  width: 16.7%;
  text-align: left;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th:nth-child(13),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td:nth-child(13) {
  width: 16.7%;
  text-align: left;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes th:nth-child(14),
:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes td:nth-child(14) {
  width: 3%;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes :is(.workbench-watch-index__position-note-form, .workbench-watch-index__position-note-input) {
  width: 100%;
  max-width: none;
}

:root:not([data-workbench-display-resolution="phone"]) .workbench-watch-index__table--position-notes .workbench-watch-index__position-note-input {
  text-align: left;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table--position-notes th:nth-child(11),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table--position-notes td:nth-child(11) {
  width: 1.4%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table--position-notes th:nth-child(12),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table--position-notes td:nth-child(12) {
  width: 16.7%;
  text-align: left;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table--position-notes th:nth-child(13),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table--position-notes td:nth-child(13) {
  width: 16.7%;
  text-align: left;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table--position-notes th:nth-child(14),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table--position-notes td:nth-child(14) {
  width: 3%;
}

.workbench-watch-index__table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--workbench-surface-strong);
  color: var(--workbench-text-muted);
  font-weight: 700;
}

.workbench-watch-index__sort-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: center;
  cursor: pointer;
}

.workbench-watch-index__sort-button:hover,
.workbench-watch-index__sort-button:focus-visible {
  color: var(--workbench-accent);
}

.workbench-watch-index__sort-button:focus-visible {
  outline: 1px solid rgba(168, 85, 247, 0.72);
  outline-offset: 3px;
}

.workbench-watch-index__sort-triangle {
  width: 0;
  height: 0;
  border-right: 0.24rem solid transparent;
  border-left: 0.24rem solid transparent;
  border-bottom: 0.38rem solid rgba(185, 166, 212, 0.9);
  transform: translateY(-0.02rem);
  transition: border-bottom-color 140ms ease, transform 140ms ease;
}

.workbench-watch-index__sort-button:hover .workbench-watch-index__sort-triangle,
.workbench-watch-index__sort-button:focus-visible .workbench-watch-index__sort-triangle,
.workbench-watch-index__sort-button.is-active .workbench-watch-index__sort-triangle {
  border-bottom-color: var(--workbench-accent);
}

.workbench-watch-index__sort-button.is-desc .workbench-watch-index__sort-triangle {
  transform: translateY(0.02rem) rotate(180deg);
}

.workbench-watch-index__table tr:last-child td {
  border-bottom: 0;
}

.workbench-watch-index__table tr[data-sortable-watch-row] {
  touch-action: pan-y;
  transition:
    opacity 220ms ease,
    transform 220ms cubic-bezier(0.2, 0.82, 0.2, 1),
    filter 220ms ease;
}

/* While long-press reorder is arming or a row is being dragged, kill native
   pan on the list/page so holding a row only reorders and never scrolls. */
:root[data-workbench-display-resolution="phone"] .is-watchlist-scroll-locked,
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table-wrap.is-watchlist-scroll-locked,
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tbody.is-watchlist-scroll-locked,
:root[data-workbench-display-resolution="phone"] .workbench-watch-index.is-watchlist-scroll-locked {
  touch-action: none !important;
  overscroll-behavior: none;
}

:root[data-workbench-display-resolution="phone"].is-watchlist-scroll-locked,
:root[data-workbench-display-resolution="phone"] body.is-watchlist-scroll-locked {
  overscroll-behavior: none;
  touch-action: none;
}

.workbench-watch-index__table tr[data-sortable-watch-row].is-delete-revealed {
  transform: translateX(-3.35rem);
}

.workbench-watch-index__table tbody tr:hover td {
  background: rgba(25, 20, 34, 0.42);
}

.workbench-watch-index__table tr.is-watchlist-deleting {
  position: relative;
  z-index: 7;
  pointer-events: none;
  transform: none;
}

.workbench-watch-index__table tr.is-watchlist-deleting td {
  height: var(--workbench-watch-delete-height, auto);
  border-color: rgba(255, 91, 111, 0.26);
  background: rgba(48, 18, 34, 0.78);
  overflow: hidden;
  animation: workbench-watch-delete-table-cell var(--workbench-watch-delete-duration, 440ms) cubic-bezier(0.18, 0.86, 0.2, 1) forwards;
}

.workbench-watch-index__stock {
  color: var(--workbench-text);
  font-weight: 800;
}

.workbench-watch-index__code-value,
.workbench-watch-index__note-mobile {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workbench-watch-index__note-mobile-label,
.workbench-watch-index__note-mobile {
  display: none;
}

.workbench-watch-index__note-mobile {
  color: var(--workbench-text-muted);
  font-weight: 600;
}

.workbench-watch-index__tags {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.workbench-watch-index__tags .workbench-marker,
.workbench-watch-index__table .workbench-marker {
  width: 1.45rem;
  min-width: 1.45rem;
  height: 1.45rem;
  min-height: 1.45rem;
  padding: 0;
  font-size: 0.66rem;
}

.workbench-watch-index__board-cell {
  font-size: 0 !important;
  line-height: 0 !important;
}

.workbench-watch-index__board-cell > :is(.workbench-watch-index__link, .workbench-watch-index__muted) {
  font-size: 0.72rem !important;
  line-height: 1.2 !important;
}

.workbench-watch-index__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.6rem;
  min-height: 2rem;
  padding: 0.32rem 0.78rem;
  border: 1px solid rgba(168, 85, 247, 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--workbench-accent-strong), #b05cff);
  color: #f7f2ff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(147, 51, 234, 0.18);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.workbench-watch-index__link:hover,
.workbench-watch-index__link:focus-visible {
  transform: none;
  border-color: #a855f7;
  background: linear-gradient(180deg, #281735, #1a1123);
  color: #c084fc;
  box-shadow: none;
  filter: none;
  text-shadow: none;
}

.workbench-watch-index__muted {
  color: var(--workbench-text-soft);
}

.workbench-watch-index__table .workbench-favorite-button {
  min-height: 2rem;
  padding: 0.34rem 0.5rem;
  font-size: 0.72rem;
}

.workbench-watch-index__table .workbench-favorite-button.is-icon {
  width: 1.65rem;
  min-width: 1.65rem;
  min-height: 1.65rem;
  padding: 0;
  font-size: 0.9rem;
}

.workbench-watch-index__note-cell,
.workbench-watch-index__position-note-cell {
  position: relative;
  overflow: visible;
}

.workbench-watch-index__action-cell {
  position: relative;
  overflow: visible;
  text-align: center;
}

.workbench-watch-index__note-form {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.workbench-watch-index__note-form--mobile {
  display: none;
}

.workbench-watch-index__note-readonly {
  display: block;
  min-width: 0;
  color: var(--workbench-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workbench-watch-index__note-input {
  width: 100%;
  height: 2rem;
  padding: 0 0.5rem;
  border: 1px solid rgba(140, 118, 170, 0.18);
  border-radius: 6px;
  outline: none;
  background: rgba(13, 11, 18, 0.62);
  color: var(--workbench-text);
  font: inherit;
  text-align: center;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.workbench-watch-index__note-input::placeholder {
  color: rgba(178, 170, 190, 0.66);
}

.workbench-watch-index__note-input:focus {
  border-color: rgba(168, 85, 247, 0.82);
  background: rgba(29, 24, 38, 0.82);
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.16);
}

.workbench-watch-index__note-input.is-saving {
  border-color: rgba(249, 188, 73, 0.76);
}

.workbench-watch-index__note-input.is-saved {
  border-color: rgba(48, 209, 136, 0.76);
  background: rgba(17, 40, 30, 0.82);
  box-shadow: 0 0 0 2px rgba(48, 209, 136, 0.18);
}

.workbench-watch-index__note-input.is-error {
  border-color: rgba(255, 87, 108, 0.9);
  box-shadow: 0 0 0 2px rgba(255, 87, 108, 0.16);
}

.workbench-stock-theme-admin__table {
  --workbench-stock-theme-scrollbar-gutter: 0.72rem;
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.workbench-stock-theme-admin__table th,
.workbench-stock-theme-admin__table td {
  box-sizing: border-box;
  padding: 0.58rem 0.62rem;
  border-bottom: 1px solid var(--workbench-border);
  overflow: hidden;
  color: var(--workbench-text-muted);
  font-size: 0.8rem;
  text-align: center;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.workbench-stock-theme-admin__table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--workbench-surface-strong);
  font-weight: 700;
}

.workbench-stock-theme-admin__table tbody td {
  color: var(--workbench-text);
}

.workbench-stock-theme-admin__table tr:last-child td {
  border-bottom: 0;
}

.workbench-stock-theme-admin__table tbody tr:hover td {
  background: rgba(25, 20, 34, 0.42);
}

.workbench-stock-theme-admin__table th:nth-child(1),
.workbench-stock-theme-admin__table td:nth-child(1) {
  width: 14%;
  text-align: center;
}

.workbench-stock-theme-admin__table th:nth-child(2),
.workbench-stock-theme-admin__table td:nth-child(2) {
  width: 11%;
}

.workbench-stock-theme-admin__table th:nth-child(3),
.workbench-stock-theme-admin__table td:nth-child(3) {
  width: 12%;
}

.workbench-stock-theme-admin__table th:nth-child(4),
.workbench-stock-theme-admin__table td:nth-child(4) {
  width: 15%;
}

.workbench-stock-theme-admin__table th:nth-child(5),
.workbench-stock-theme-admin__table td:nth-child(5) {
  width: 36%;
  text-align: left;
}

.workbench-stock-theme-admin__table th:nth-child(6),
.workbench-stock-theme-admin__table td:nth-child(6) {
  width: 12%;
  text-align: center;
}

/* Keep inactive and active favorite states consistent with the rest of the workbench. */
.workbench-stock-theme-admin__action-cell {
  overflow: hidden;
}

.workbench-stock-theme-admin__action-cell .workbench-favorite-form {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

.workbench-stock-theme-admin__action-cell .workbench-favorite-button {
  width: min(100%, 5.6rem);
  min-width: 0;
  max-width: 100%;
  height: 2rem;
  min-height: 2rem;
  padding: 0 0.72rem;
  border: 1px solid var(--workbench-border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--workbench-text);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.workbench-stock-theme-admin__action-cell .workbench-favorite-button:hover,
.workbench-stock-theme-admin__action-cell .workbench-favorite-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: var(--workbench-text);
  transform: none;
  box-shadow: none;
  filter: none;
}

.workbench-stock-theme-admin__action-cell .workbench-favorite-button.is-active {
  border-color: rgba(247, 185, 85, 0.4);
  background: rgba(247, 185, 85, 0.12);
  color: #ffe4a5;
}

.workbench-stock-theme-admin__action-cell .workbench-favorite-button.is-active:hover,
.workbench-stock-theme-admin__action-cell .workbench-favorite-button.is-active:focus-visible {
  border-color: rgba(247, 185, 85, 0.54);
  background: rgba(247, 185, 85, 0.16);
  color: #ffe4a5;
}

.workbench-stock-theme-admin__stock {
  color: var(--workbench-text);
  font-weight: 800;
}

.workbench-stock-theme-admin__theme-cell {
  min-width: 0;
}

.workbench-stock-theme-admin__form {
  display: block;
  flex: 0 0 auto;
  width: 0;
  height: 0;
  min-height: 0;
  overflow: hidden;
}

.workbench-stock-theme-admin__submit {
  min-width: 4.6rem;
  height: 2.35rem;
  min-height: 2.35rem;
  padding: 0 0.86rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.workbench-stock-theme-admin__favorite-filters {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  flex: 0 0 auto;
  min-width: 0;
}

.workbench-stock-theme-admin__favorite-filter {
  min-width: 4.8rem;
  padding: 0 0.86rem;
}

.workbench-stock-theme-admin__head-label--phone {
  display: none;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table {
  display: flex;
  flex-direction: column;
  height: 100%;
  table-layout: fixed;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table thead {
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding-right: var(--workbench-stock-theme-scrollbar-gutter);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table tbody {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.56) transparent;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table tbody::-webkit-scrollbar {
  width: var(--workbench-stock-theme-scrollbar-gutter);
  height: 0;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table tbody::-webkit-scrollbar-track {
  background: transparent;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table tbody::-webkit-scrollbar-thumb {
  border: 2px solid #120f18;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.52);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table thead tr,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table tbody tr[hidden] {
  display: none !important;
}

.workbench-watch-index__row-actions {
  position: absolute;
  top: 50%;
  right: 50%;
  z-index: 4;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  pointer-events: none;
  transform: translate(50%, -50%);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index [data-watchlist-sort-root]:not([data-watchlist-sort-mode="true"]):not([data-watchlist-delete-mode="true"]) .workbench-watch-index__row-actions {
  display: none;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index [data-watchlist-sort-root]:not([data-watchlist-sort-mode="true"]):not([data-watchlist-delete-mode="true"]) .workbench-watch-index__action-cell {
  overflow: hidden;
  color: transparent;
  background: transparent;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index [data-watchlist-sort-root]:not([data-watchlist-sort-mode="true"]):not([data-watchlist-delete-mode="true"]) .workbench-watch-index__action-cell > * {
  display: none !important;
}

.workbench-watch-index__remove-action,
.workbench-watch-index__sort-handle {
  grid-area: 1 / 1;
}

.workbench-watch-index__remove-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 160ms ease, transform 160ms ease;
}

.workbench-watch-index__row-actions .workbench-watchlist-row__remove-action {
  position: static !important;
  top: auto !important;
  right: auto !important;
  z-index: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
  transition: none !important;
}

.workbench-watch-index__remove-action .workbench-favorite-button,
.workbench-watch-index__sort-handle {
  pointer-events: auto;
}

.workbench-watch-index__remove-action .workbench-favorite-button {
  pointer-events: none;
}

.workbench-watch-index__table tr.is-delete-revealed .workbench-watch-index__remove-action,
.workbench-watch-index__table tr:focus-within .workbench-watch-index__remove-action {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.workbench-watch-index__table tr.is-delete-revealed .workbench-watch-index__remove-action .workbench-favorite-button,
.workbench-watch-index__table tr:focus-within .workbench-watch-index__remove-action .workbench-favorite-button,
[data-watchlist-sort-root][data-watchlist-delete-mode="true"] .workbench-watch-index__remove-action .workbench-favorite-button {
  pointer-events: auto;
}

/* Delete mode must show remove buttons on every resolution (phone included).
   Desktop keeps the animated variant below; this is the shared visibility gate. */
[data-watchlist-sort-root][data-watchlist-delete-mode="true"] .workbench-watch-index__remove-action {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.workbench-watch-index__sort-handle {
  display: none;
}

[data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__remove-action {
  display: none;
}

[data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__row-actions {
  right: 50%;
}

[data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__sort-handle {
  display: inline-flex;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tr:focus-within:not(.is-delete-revealed) .workbench-watch-index__remove-action {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index [data-watchlist-sort-root][data-watchlist-delete-mode="true"] .workbench-watch-index__row-actions {
  right: 50%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index [data-watchlist-sort-root][data-watchlist-delete-mode="true"] .workbench-watch-index__remove-action {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  --workbench-row-action-enter-transform: scale(0.78);
  --workbench-row-action-pop-transform: scale(1.1);
  --workbench-row-action-rest-transform: scale(1);
  animation: workbench-row-action-appear 260ms cubic-bezier(0.18, 0.88, 0.2, 1.18) both;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index [data-watchlist-sort-root][data-watchlist-delete-mode="true"] .workbench-watch-index__sort-handle {
  display: none;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__sort-handle {
  --workbench-row-action-enter-transform: scale(0.78) rotate(-8deg);
  --workbench-row-action-pop-transform: scale(1.08) rotate(2deg);
  --workbench-row-action-rest-transform: scale(1) rotate(0deg);
  animation: workbench-row-action-appear 260ms cubic-bezier(0.18, 0.88, 0.2, 1.18) both;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tr[data-sortable-watch-row] {
  transition:
    opacity 220ms ease,
    transform 220ms cubic-bezier(0.2, 0.82, 0.2, 1),
    filter 180ms ease;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tr.is-watchlist-dragging,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tr.is-watchlist-drop-settling {
  position: relative;
  z-index: 8;
  filter: drop-shadow(0 13px 24px rgba(1, 8, 19, 0.3));
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tr.is-watchlist-dragging {
  pointer-events: none;
  transform: translate3d(0, var(--workbench-watch-drag-y, 0px), 0) scale(1.008);
  transition: none;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tr.is-watchlist-drop-settling {
  transform: translate3d(0, var(--workbench-watch-drag-y, 0px), 0) scale(1);
  transition: transform 180ms cubic-bezier(0.2, 0.9, 0.2, 1), filter 180ms ease;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tr.is-watchlist-dragging td,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tr.is-watchlist-drop-settling td {
  border-color: rgba(168, 85, 247, 0.28);
  background: rgba(36, 27, 48, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 -1px 0 rgba(168, 85, 247, 0.16);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tr.is-watchlist-dragging td:first-child,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tr.is-watchlist-drop-settling td:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tr.is-watchlist-dragging td:last-child,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-index .workbench-watch-index__table tr.is-watchlist-drop-settling td:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.workbench-watch-index__empty-row td {
  padding: 0;
  overflow: visible;
}

.workbench-watch-index__empty-row .workbench-empty-state {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.workbench-watchlist-scroll-indicator {
  position: absolute;
  top: 0.8rem;
  right: 0.2rem;
  bottom: 0.8rem;
  width: 0.34rem;
  border-radius: 999px;
  /* Track stays fully transparent — only the thumb should be visible. */
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  z-index: 2;
}

/* Indicator is a sibling of the scroll list (inside the shell), not a child. */
.workbench-watchlist-scroll-shell[data-watchlist-overflowing="true"] > .workbench-watchlist-scroll-indicator,
.workbench-watchlist-list--scrollable[data-watchlist-overflowing="true"] > .workbench-watchlist-scroll-indicator {
  opacity: 1;
}

.workbench-watchlist-scroll-indicator__thumb {
  display: block;
  width: 100%;
  min-height: 2.5rem;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(190, 152, 242, 0.92), rgba(168, 85, 247, 0.72));
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.22);
  transform: translateY(0);
  transition: height 160ms ease, transform 160ms ease;
}

.workbench-recent-b-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.workbench-recent-b-list--scrollable {
  max-height: 32rem;
  overflow-y: auto;
  padding-right: 0.35rem;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.52) transparent;
}

.workbench-recent-b-list--scrollable::-webkit-scrollbar {
  width: 0.45rem;
}

.workbench-recent-b-list--scrollable::-webkit-scrollbar-track {
  background: transparent;
}

.workbench-recent-b-list--scrollable::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.42);
}

.workbench-recent-b-list--scrollable::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.58);
}

.workbench-recent-b-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--workbench-border);
  border-radius: 8px;
  background: rgba(25, 20, 34, 0.58);
}

.workbench-recent-b-filter-toggle,
.workbench-recent-b-filter-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.workbench-recent-b-filter-toggle {
  color: var(--workbench-text-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
}

.workbench-recent-b-filter-toggle input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--workbench-accent);
}

.workbench-recent-b-filter-group__label {
  color: var(--workbench-text-soft);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workbench-recent-b-filter-button {
  min-height: 2.05rem;
  padding: 0.32rem 0.72rem;
  border: 1px solid var(--workbench-border);
  border-radius: 999px;
  background: var(--workbench-control-surface);
  color: var(--workbench-text-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.workbench-recent-b-filter-button:hover,
.workbench-recent-b-filter-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--workbench-border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--workbench-text);
}

.workbench-recent-b-filter-button[aria-pressed="true"] {
  border-color: rgba(168, 85, 247, 0.42);
  background: rgba(168, 85, 247, 0.14);
  color: #dac3ff;
}

.workbench-recent-b-filter-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.05rem;
  padding: 0.32rem 0.9rem;
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.1);
  color: #e6d7ff;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.workbench-recent-b-filter-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0 auto;
  color: var(--workbench-text-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.84rem;
}

.workbench-recent-b-filter-summary strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 1.8rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.14);
  color: var(--workbench-text);
  font-size: 0.9rem;
}

.workbench-recent-b-filter-empty {
  margin-top: 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px dashed rgba(185, 166, 212, 0.28);
  border-radius: 8px;
  background: rgba(18, 15, 24, 0.78);
  color: var(--workbench-text-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.86rem;
  line-height: 1.6;
}

.workbench-recent-b-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border: 1px solid var(--workbench-border);
  border-radius: 8px;
  background: rgba(25, 20, 34, 0.72);
}

.workbench-recent-b-row[hidden] {
  display: none;
}

.workbench-recent-b-row h3 {
  margin: 0;
  font-size: 1.05rem;
}

.workbench-recent-b-row p {
  margin: 0.25rem 0 0;
  color: var(--workbench-text-soft);
}

.workbench-recent-b-row__identity {
  display: grid;
  gap: 0.6rem;
}

.workbench-recent-b-row__badges,
.workbench-recent-b-row__meta,
.workbench-recent-b-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.workbench-recent-b-row__meta {
  color: var(--workbench-text-soft);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.84rem;
}

.workbench-recent-b-row__actions {
  justify-content: flex-end;
}

.workbench-recent-b-row__actions form {
  display: inline-flex;
}

.workbench-recent-b-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--workbench-border);
  border-radius: 999px;
  background: var(--workbench-control-surface);
  color: var(--workbench-text-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
}

.workbench-recent-b-badge--snapshot {
  border-color: rgba(168, 85, 247, 0.32);
  background: rgba(168, 85, 247, 0.12);
  color: #dac3ff;
}

.workbench-recent-b-badge--available {
  border-color: rgba(61, 214, 140, 0.28);
  background: rgba(61, 214, 140, 0.12);
  color: #9cf0c5;
}

.workbench-recent-b-badge--current {
  border-color: rgba(247, 185, 85, 0.3);
  background: rgba(247, 185, 85, 0.12);
  color: #ffd991;
}

.workbench-watchlist-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(120px, 0.5fr)) minmax(0, 0.9fr) auto;
  gap: 0.72rem;
  align-items: center;
  position: relative;
  padding: 0.78rem 0.85rem;
  border: 1px solid var(--workbench-border);
  border-radius: 6px;
  background: rgba(25, 20, 34, 0.72);
  touch-action: pan-y;
  transition: transform 180ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.workbench-watchlist-row[hidden] {
  display: none !important;
}

.workbench-watchlist-row.is-delete-revealed {
  transform: translateX(-3.25rem);
}

.workbench-watchlist-row.is-watchlist-deleting {
  z-index: 7;
  max-height: var(--workbench-watch-delete-height, 7rem);
  overflow: hidden;
  pointer-events: none;
  border-color: rgba(255, 91, 111, 0.28);
  background: rgba(48, 18, 34, 0.78);
  transform: none;
  animation: workbench-watch-delete-row-collapse var(--workbench-watch-delete-duration, 440ms) cubic-bezier(0.18, 0.86, 0.2, 1) forwards;
}

.workbench-watchlist-row.is-watchlist-deleting > *,
.workbench-watch-index__table tr.is-watchlist-deleting td > * {
  animation: workbench-watch-delete-content-wipe var(--workbench-watch-delete-duration, 440ms) cubic-bezier(0.18, 0.86, 0.2, 1) forwards;
}

.workbench-home-column .workbench-watchlist-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.workbench-home-column .workbench-watchlist-row__scores {
  grid-column: 1 / -1;
}

.workbench-home-column .workbench-watchlist-row__status {
  grid-column: 1 / 2;
}

.workbench-home-column .workbench-watchlist-row__actions {
  grid-column: 2 / 3;
  justify-content: flex-end;
}

.workbench-home-column .workbench-watchlist-row--compact {
  grid-template-columns: minmax(0, 7.1rem) repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 0.32rem 0.44rem;
  min-height: var(--workbench-watchlist-compact-row-height);
  padding: 0.72rem 0.78rem;
}

.workbench-home-column .workbench-watchlist-list--scrollable {
  max-height: calc((var(--workbench-watchlist-compact-row-height) * 5) + (0.75rem * 4));
  padding-right: 0.95rem;
  /* Keep native scrollbar hidden — home uses the custom indicator only. */
  scrollbar-gutter: stable;
  scrollbar-width: none;
}

.workbench-home-column .workbench-watchlist-list--scrollable::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.workbench-home-column .workbench-watchlist-list--scrollable::-webkit-scrollbar-track {
  background: transparent;
}

.workbench-home-column .workbench-watchlist-list--scrollable::-webkit-scrollbar-thumb {
  background: transparent;
}

.workbench-home-column .workbench-watchlist-list--scrollable::-webkit-scrollbar-thumb:hover {
  background: transparent;
}

.workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__identity {
  display: contents;
}

.workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__identity-text {
  grid-column: 1;
}

.workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__theme {
  grid-column: 2;
  justify-self: stretch;
  min-width: 0;
  overflow: hidden;
  color: var(--workbench-text-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.78rem;
  font-weight: 680;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__quote {
  grid-column: 3;
  justify-self: stretch;
  justify-items: center;
  width: 100%;
  text-align: center;
  transform: translateY(1px);
}

.workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__signal-marker {
  grid-column: 4;
  justify-self: center;
}

.workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__actions {
  grid-column: 5;
  align-self: center;
}

[data-home-watchlist-root] .workbench-watchlist-row.is-delete-revealed {
  transform: none;
}

[data-home-watchlist-root] .workbench-watchlist-row__remove-action,
[data-home-watchlist-root] .workbench-watchlist-row:focus-within .workbench-watchlist-row__remove-action {
  position: static;
  width: 1.92rem;
  min-width: 1.92rem;
  margin-left: 0;
  opacity: 0;
  pointer-events: none;
  transform: none;
}

[data-home-watchlist-root][data-watchlist-delete-mode="true"] .workbench-watchlist-row {
  border-color: rgba(255, 91, 111, 0.28);
}

[data-home-watchlist-root][data-watchlist-delete-mode="true"] .workbench-watchlist-row__remove-action,
[data-home-watchlist-root][data-watchlist-delete-mode="true"] .workbench-watchlist-row:focus-within .workbench-watchlist-row__remove-action {
  width: 1.92rem;
  opacity: 1;
  pointer-events: auto;
}

[data-home-watchlist-root][data-watchlist-delete-mode="true"] .workbench-watchlist-row__sort-handle {
  display: none;
}

[data-home-watchlist-root][data-watchlist-sort-mode="true"] .workbench-watchlist-row__sort-handle {
  width: 1.92rem;
  min-width: 1.92rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) [data-home-watchlist-root][data-watchlist-delete-mode="true"] .workbench-watchlist-row__remove-action,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) [data-home-watchlist-root][data-watchlist-delete-mode="true"] .workbench-watchlist-row:focus-within .workbench-watchlist-row__remove-action {
  --workbench-row-action-enter-transform: scale(0.78);
  --workbench-row-action-pop-transform: scale(1.1);
  --workbench-row-action-rest-transform: scale(1);
  animation: workbench-row-action-appear 260ms cubic-bezier(0.18, 0.88, 0.2, 1.18) both;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) [data-home-watchlist-root][data-watchlist-sort-mode="true"] .workbench-watchlist-row__sort-handle {
  --workbench-row-action-enter-transform: scale(0.78) rotate(-8deg);
  --workbench-row-action-pop-transform: scale(1.08) rotate(2deg);
  --workbench-row-action-rest-transform: scale(1) rotate(0deg);
  animation: workbench-row-action-appear 260ms cubic-bezier(0.18, 0.88, 0.2, 1.18) both;
}

.workbench-home-column .workbench-watchlist-row--compact .workbench-button {
  min-height: calc(2.05rem - 1px);
  padding: 0.38rem 0.56rem;
  font-size: 0.76rem;
}

.workbench-home-column .workbench-watchlist-row--compact h3,
.workbench-home-column .workbench-watchlist-row--compact p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__identity-text p {
  transform: translateY(3px);
}

.workbench-watchlist-row h3 {
  margin: 0;
  font-size: 0.86rem;
}

.workbench-watchlist-row__title-line {
  display: flex;
  align-items: baseline;
  gap: 0.48rem;
  min-width: 0;
}

.workbench-watchlist-row__title-line h3 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workbench-watchlist-row__name-line {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.38rem;
}

.workbench-watchlist-row__name-line h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workbench-watchlist-row p {
  margin: 0.16rem 0 0;
  color: var(--workbench-text-soft);
  font-size: 0.76rem;
}

.workbench-watchlist-row__quote {
  display: grid;
  flex: 0 0 auto;
  justify-items: start;
  align-content: center;
  gap: 0.14rem;
  color: var(--workbench-text-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.9rem;
  line-height: 1.12;
  white-space: nowrap;
}

.workbench-watchlist-row__quote-price,
.workbench-watchlist-row__quote-pct {
  font-variant-numeric: tabular-nums;
}

.workbench-watchlist-row__quote-price {
  color: var(--workbench-text);
  font-weight: 700;
}

.workbench-watchlist-row__quote-pct {
  margin-top: 5px;
  font-size: 0.8rem;
}

.workbench-watchlist-row__quote-pct--up {
  color: var(--workbench-danger);
}

.workbench-watchlist-row__quote-pct--down {
  color: var(--workbench-success);
}

.workbench-watchlist-row__quote-pct--flat {
  color: var(--workbench-text-soft);
}

.workbench-watchlist-row__identity,
.workbench-watchlist-row__actions {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.workbench-watchlist-row__actions {
  min-width: 0;
}

.workbench-watchlist-row__remove-action {
  position: absolute;
  top: 50%;
  right: -3.08rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.96);
  transition: opacity 160ms ease, transform 160ms ease;
}

.workbench-watchlist-row.is-delete-revealed .workbench-watchlist-row__remove-action,
.workbench-watchlist-row:focus-within .workbench-watchlist-row__remove-action {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.workbench-watchlist-row__sort-handle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(202, 190, 216, 0.9);
  cursor: grab;
  touch-action: none;
}

.workbench-watchlist-row__sort-handle:active {
  cursor: grabbing;
}

.workbench-watchlist-row__sort-handle span,
.workbench-watchlist-row__sort-handle span::before,
.workbench-watchlist-row__sort-handle span::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.workbench-watchlist-row__sort-handle span {
  position: relative;
}

.workbench-watchlist-row__sort-handle span::before,
.workbench-watchlist-row__sort-handle span::after {
  position: absolute;
  left: 0;
}

.workbench-watchlist-row__sort-handle span::before {
  top: -0.32rem;
}

.workbench-watchlist-row__sort-handle span::after {
  top: 0.32rem;
}

[data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watchlist-row {
  border-color: rgba(168, 85, 247, 0.34);
}

[data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watchlist-row__remove-action {
  display: none;
}

[data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watchlist-row__sort-handle {
  display: inline-flex;
}

.workbench-watchlist-row.is-watchlist-dragging,
.workbench-watchlist-row.is-watchlist-drop-settling {
  position: relative;
  z-index: 8;
  border-color: rgba(168, 85, 247, 0.74);
  background: rgba(36, 27, 48, 0.9);
  box-shadow: 0 12px 26px rgba(1, 8, 19, 0.28);
}

.workbench-watchlist-row.is-watchlist-dragging {
  pointer-events: none;
  transform: translate3d(0, var(--workbench-watch-drag-y, 0px), 0) scale(1.012);
  transition: none;
}

.workbench-watchlist-row.is-watchlist-drop-settling {
  transform: translate3d(0, var(--workbench-watch-drag-y, 0px), 0) scale(1);
  transition: transform 180ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 180ms ease;
}

.workbench-watchlist-row__identity {
  justify-content: space-between;
}

.workbench-watchlist-row__markers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.workbench-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  min-height: 1.65rem;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.workbench-marker--b {
  background: var(--workbench-signal-b-bg);
  color: var(--workbench-signal-b-text);
}

.workbench-marker--v {
  background: var(--workbench-signal-v-bg);
  color: var(--workbench-signal-v-text);
}

.workbench-marker--d {
  background: var(--workbench-signal-d-bg);
  color: var(--workbench-signal-d-text);
}

.workbench-marker--s {
  background: var(--workbench-signal-s-bg);
  color: var(--workbench-signal-s-text);
}

.workbench-marker--none {
  background: rgba(185, 166, 212, 0.24);
  color: #eee7f8;
}

.workbench-watchlist-row__action-marker,
.workbench-watchlist-row__signal-marker {
  min-width: 1.35rem;
  min-height: 1.35rem;
  padding: 0.12rem 0.34rem;
  font-size: 0.62rem;
}

.workbench-watchlist-row__signal-marker {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
}

.workbench-watchlist-row__identity-text {
  min-width: 0;
}

.workbench-watchlist-row__scores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
}

.workbench-watchlist-row__scores dt {
  color: var(--workbench-text-soft);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.68rem;
}

.workbench-watchlist-row__scores dd {
  margin: 0.16rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.workbench-watchlist-row__status {
  color: var(--workbench-text-soft);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.72rem;
}

.workbench-watchlist-row__stale {
  color: #ffd991;
}

.workbench-watchlist-row__fresh {
  color: #9cf0c5;
}

.workbench-card__topline,
.workbench-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.workbench-card__headline {
  margin-top: 1rem;
}

.workbench-card__headline h3 {
  font-size: var(--workbench-panel-title-size);
  line-height: var(--workbench-panel-title-line-height);
}

.workbench-card__headline p,
.workbench-card__meta {
  margin: 0.35rem 0 0;
}

.workbench-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--workbench-text-soft);
}

.workbench-shell--task .workbench-card--task .workbench-card__headline h3,
.workbench-shell--history .workbench-history-item h3 {
  font-size: calc(var(--workbench-panel-title-size) - 2px);
}

.workbench-shell--task .workbench-card--task .workbench-card__headline p,
.workbench-shell--task .workbench-card--task .workbench-card__meta,
.workbench-shell--history .workbench-history-item p,
.workbench-shell--history .workbench-history-item__meta {
  font-size: calc(1rem - 2px);
}

.workbench-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--task .workbench-card__actions :where(.workbench-button, .workbench-favorite-button),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--history .workbench-inline-actions :where(.workbench-button, .workbench-favorite-button) {
  min-height: calc(2.35rem * 0.9);
  padding-block: calc(0.52rem * 0.9);
  line-height: 1;
  white-space: nowrap;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--task .workbench-card__actions :where(.workbench-button, .workbench-favorite-button),
:root[data-workbench-display-resolution="qhd"] .workbench-shell--history .workbench-inline-actions :where(.workbench-button, .workbench-favorite-button) {
  width: 5.3rem;
  min-width: 5.3rem;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--task .workbench-card__actions :where(.workbench-button, .workbench-favorite-button) {
  width: calc(6.95rem * 0.8);
  min-width: calc(6.95rem * 0.8);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--history .workbench-inline-actions :where(.workbench-button, .workbench-favorite-button) {
  width: calc(6.95rem * 0.704);
  min-width: calc(6.95rem * 0.704);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--task .workbench-card__actions,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--history .workbench-inline-actions {
  flex-wrap: nowrap;
}

.workbench-shell--task .workbench-position-form .workbench-favorite-button:not(.is-active):not(.is-update):not(.is-icon),
.workbench-shell--history .workbench-position-form .workbench-favorite-button:not(.is-active):not(.is-update):not(.is-icon) {
  border-color: var(--workbench-border-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--workbench-text);
}

.workbench-shell--task .workbench-position-form .workbench-favorite-button:not(.is-active):not(.is-update):not(.is-icon):hover,
.workbench-shell--task .workbench-position-form .workbench-favorite-button:not(.is-active):not(.is-update):not(.is-icon):focus-visible,
.workbench-shell--history .workbench-position-form .workbench-favorite-button:not(.is-active):not(.is-update):not(.is-icon):hover,
.workbench-shell--history .workbench-position-form .workbench-favorite-button:not(.is-active):not(.is-update):not(.is-icon):focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: var(--workbench-text);
}

.workbench-chip,
.workbench-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

.workbench-chip--neutral {
  border: 1px solid var(--workbench-border);
  background: var(--workbench-control-surface);
  color: var(--workbench-text-muted);
}

.workbench-status-pill--queued {
  background: rgba(247, 185, 85, 0.16);
  color: #ffd991;
}

.workbench-status-pill--pending {
  background: rgba(247, 185, 85, 0.16);
  color: #ffd991;
}

.workbench-status-pill--running {
  background: rgba(168, 85, 247, 0.16);
  color: #dac3ff;
}

.workbench-status-pill--stop_requested {
  background: rgba(248, 108, 122, 0.16);
  color: #ffc1c9;
}

.workbench-status-pill--stopped {
  background: rgba(199, 140, 255, 0.16);
  color: #d9b8ff;
}

.workbench-status-pill--succeeded {
  background: rgba(61, 214, 140, 0.15);
  color: #91f0bf;
}

.workbench-status-pill--failed {
  background: rgba(248, 108, 122, 0.16);
  color: #ffacb5;
}

.workbench-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.workbench-detail-grid dt {
  color: var(--workbench-text-soft);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.82rem;
}

.workbench-detail-grid dd {
  margin: 0.35rem 0 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.workbench-quick-actions {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.workbench-action-tile {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.05rem;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.workbench-action-tile:hover,
.workbench-action-tile:focus-visible {
  transform: translateY(-1px);
  border-color: var(--workbench-border-strong);
}

.workbench-action-tile strong {
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 1rem;
}

.workbench-history-panel {
  display: grid;
  gap: 1rem;
}

.workbench-history-panel__head {
  display: grid;
}

.workbench-history-panel__head .workbench-page-head__lead {
  margin: 0.65rem 0 0;
}

.workbench-history-panel .workbench-history-list {
  margin-top: 0;
}

.workbench-history-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.workbench-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
}

.workbench-history-item p {
  margin: 0.35rem 0 0;
}

.workbench-history-item__meta {
  display: grid;
  justify-items: end;
  gap: 0.7rem;
  color: var(--workbench-text-soft);
  text-align: right;
}

.workbench-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.workbench-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--workbench-border);
}

.workbench-pagination__pages,
.workbench-pagination__jump {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.workbench-pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  min-height: 1.45rem;
  padding: 0.12rem 0.14rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--workbench-text-muted);
  font-size: 0.82rem;
  line-height: 1;
  text-decoration: none;
}

.workbench-pagination__submit,
.workbench-pagination__item--wide,
.workbench-pagination__item.is-disabled.workbench-pagination__item--wide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.1rem;
  min-height: 2.15rem;
  padding: 0.32rem 0.72rem;
  border: 1px solid var(--workbench-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--workbench-surface-strong) 78%, transparent);
  color: var(--workbench-text-muted);
  font-size: 0.82rem;
  line-height: 1;
  text-decoration: none;
}

.workbench-pagination__item.is-active {
  color: var(--workbench-accent);
  font-weight: 650;
}

.workbench-pagination__item:not(.workbench-pagination__item--wide):hover,
.workbench-pagination__item:not(.workbench-pagination__item--wide):focus-visible {
  color: var(--workbench-accent);
}

.workbench-pagination__item--wide:hover,
.workbench-pagination__item--wide:focus-visible,
.workbench-pagination__submit:hover,
.workbench-pagination__submit:focus-visible {
  border-color: var(--workbench-accent);
  background: var(--workbench-accent-soft);
  color: var(--workbench-text);
}

.workbench-pagination__item.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.workbench-pagination__item--gap {
  min-width: 1.15rem;
  border-color: transparent;
  background: transparent;
  color: var(--workbench-text-soft);
  letter-spacing: 0.02em;
}

.workbench-pagination__jump {
  color: var(--workbench-text-soft);
  font-size: 0.82rem;
}

.workbench-pagination__jump input {
  width: 3.2rem;
  min-height: 2.15rem;
  padding: 0.32rem 0.45rem;
  border: 1px solid var(--workbench-border);
  border-radius: 999px;
  background: transparent;
  color: var(--workbench-text);
  font: inherit;
  text-align: center;
  outline: none;
}

.workbench-pagination__jump input:focus {
  border-color: var(--workbench-accent);
  color: var(--workbench-accent);
  box-shadow: 0 0 0 2px var(--workbench-accent-soft);
}

.workbench-pagination__jump input::-webkit-outer-spin-button,
.workbench-pagination__jump input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.workbench-filter-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--workbench-border);
  border-radius: 999px;
  color: var(--workbench-text-muted);
  text-decoration: none;
}

.workbench-filter-link.is-active,
.workbench-filter-link:hover,
.workbench-filter-link:focus-visible {
  color: var(--workbench-text);
  border-color: var(--workbench-accent);
  background: var(--workbench-accent-soft);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--task .workbench-filter-link {
  min-height: calc(2.4rem - 2px);
  padding: 0.38rem 0.8rem;
  font-size: calc(1rem - 1px);
  line-height: 1;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--task .workbench-filter-link {
  min-height: calc(2.4rem - 4px);
  padding: 0.34rem 0.76rem;
  font-size: calc(1rem - 2px);
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--task .workbench-filter-row {
  margin-top: 0.62rem;
}

.workbench-button--disabled {
  pointer-events: none;
  cursor: default;
  color: var(--workbench-text-soft);
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--workbench-border);
}

.workbench-empty-state {
  display: grid;
  gap: 0.6rem;
  place-items: start;
  min-height: 220px;
  align-content: center;
}

.workbench-empty-state p {
  margin: 0;
  max-width: 34rem;
}

.workbench-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.workbench-auth {
  min-height: calc(100vh - 7rem);
  display: grid;
  place-items: center;
  padding: 1rem 0 2rem;
}

.workbench-auth__card {
  width: min(100%, 560px);
  padding: 2rem;
  background:
    linear-gradient(180deg, var(--workbench-panel-highlight), transparent 30%),
    var(--workbench-auth-surface);
}

.workbench-auth__intro h1 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 2.5rem);
}

.workbench-auth__lead {
  margin: 0.85rem 0 0;
  color: var(--workbench-text-muted);
  line-height: 1.65;
}

.workbench-auth__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--workbench-accent);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.workbench-auth__form {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.workbench-auth__field {
  display: grid;
  gap: 0.45rem;
}

.workbench-auth__field label {
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-weight: 600;
}

.workbench-auth__field input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--workbench-border);
  border-radius: 6px;
  background: var(--workbench-input-surface);
  color: var(--workbench-text);
}

.workbench-auth__field input:focus {
  outline: 2px solid transparent;
  border-color: var(--workbench-accent);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.workbench-auth__help,
.workbench-auth__field-errors,
.workbench-auth__errors {
  margin: 0;
  color: var(--workbench-text-muted);
  font-size: 0.92rem;
}

.workbench-auth__help ul,
.workbench-auth__field-errors ul,
.workbench-auth__errors ul {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

.workbench-auth__field-errors,
.workbench-auth__errors {
  color: #ffacb5;
}

.workbench-auth__submit {
  width: 100%;
  min-height: 3rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .workbench-hero,
  .workbench-home-layout,
  .workbench-home-group__grid,
  .workbench-grid--home {
    grid-template-columns: 1fr;
  }

  .workbench-home-focus {
    grid-template-columns: 1fr;
  }

  .workbench-section--span-2,
  .workbench-section--span-3 {
    grid-column: auto;
  }

  .workbench-metrics,
  .workbench-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workbench-recent-b-row {
    grid-template-columns: 1fr;
  }

  .workbench-home-column .workbench-watchlist-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .workbench-home-column .workbench-watchlist-row__status,
  .workbench-home-column .workbench-watchlist-row__actions {
    grid-column: 1 / -1;
  }

  .workbench-home-column .workbench-watchlist-row__actions {
    justify-content: flex-start;
  }

  .workbench-home-column .workbench-watchlist-row--compact {
    grid-template-columns: minmax(0, 7.1rem) repeat(3, minmax(0, 1fr)) auto;
  }

  .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__identity {
    display: contents;
  }

  .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__theme {
    grid-column: 2;
  }

  .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__quote {
    grid-column: 3;
  }

  .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__signal-marker {
    grid-column: 4;
  }

  .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__actions {
    grid-column: 5;
    justify-content: flex-end;
  }

  .workbench-recent-b-filter-summary {
    margin-left: 0;
    width: 100%;
  }

  .workbench-home-layout > .workbench-home-column--signal-board,
  .workbench-home-layout > .workbench-home-column--signal-board + .workbench-home-column--signal-board {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .workbench-home-layout,
  .workbench-home-focus {
    grid-template-columns: 1fr;
  }

  .workbench-home-column .workbench-watchlist-row--compact {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__identity {
    display: grid;
    grid-template-columns: minmax(0, 7.1rem) 4.35rem 1.35rem;
    align-items: center;
    column-gap: 0.32rem;
    min-width: 0;
    justify-content: start;
  }

  .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__signal-marker {
    grid-column: 3;
  }

  .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__theme {
    display: none;
  }

  .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__actions {
    grid-column: 2 / 3;
  }
}

@media (max-width: 720px) {
  .workbench-shell__header,
  .workbench-section__header,
  .workbench-page-head,
  .workbench-history-item,
  .workbench-watchlist-row__identity,
  .workbench-watchlist-row__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .workbench-shell__main {
    width: min(100% - 1rem, 1240px);
    padding-top: 1rem;
  }

  .workbench-daily-signal-head {
    flex-direction: column;
    gap: 0.55rem;
  }

  .workbench-daily-signal-head__status {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-left: 0;
  }

  .workbench-daily-signal-head__status-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .workbench-daily-scan-progress__summary {
    text-align: left;
    white-space: normal;
  }

  .workbench-daily-signal-head__meta {
    white-space: normal;
  }

  .workbench-watch-index__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .workbench-watch-index__signals {
    justify-content: flex-start;
  }

  .workbench-watch-index__updated {
    justify-items: start;
  }

  .workbench-history-item__meta {
    justify-items: start;
    text-align: left;
  }

  .workbench-recent-b-row__actions {
    justify-content: flex-start;
  }

  .workbench-recent-b-toolbar {
    align-items: flex-start;
  }

  .workbench-recent-b-list--scrollable {
    max-height: 26rem;
    padding-right: 0.2rem;
  }

  .workbench-metrics,
  .workbench-summary-grid,
  .workbench-detail-grid,
  .workbench-watchlist-row,
  .workbench-watchlist-row__scores {
    grid-template-columns: 1fr;
  }

  .workbench-auth {
    min-height: auto;
    padding-top: 0;
  }
}

:root[data-workbench-display-resolution="fhd"] .workbench-hero {
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
}

:root[data-workbench-display-resolution="fhd"] .workbench-home-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, 1fr);
}

:root[data-workbench-display-resolution="fhd"] .workbench-home-group__grid {
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
}

:root[data-workbench-display-resolution="fhd"] .workbench-home-focus {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-home-column--mobile-query {
  display: none;
}

:root[data-workbench-display-resolution="fhd"] .workbench-home-column .workbench-watchlist-row--compact {
  margin-right: 0.58rem;
}

:root[data-workbench-display-resolution="fhd"] .workbench-grid--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

:root[data-workbench-display-resolution="fhd"] .workbench-home-layout > .workbench-home-column--signal-board {
  grid-column: 1 / span 2;
}

:root[data-workbench-display-resolution="fhd"] .workbench-home-layout > .workbench-home-column--signal-board + .workbench-home-column--signal-board {
  grid-column: 3;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home {
  font-size: calc(1rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell .workbench-shell__nav-link {
  font-size: calc(0.86rem + 2px);
  font-weight: 600;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell .workbench-shell__nav-link {
  font-weight: 600;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell .workbench-disclaimer p {
  font-size: calc(0.72rem + 2px);
  font-weight: 600;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell .workbench-disclaimer p {
  font-size: calc(0.72rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-home-group__heading h2,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-hero__intro--signals h1,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-section__header h2,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-section-heading h2,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__header h2,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-card__headline h3,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-card h3 {
  font-size: calc(var(--workbench-panel-title-size) + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-eyebrow,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-section__eyebrow {
  font-size: calc(0.68rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-daily-scan-progress__summary,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-daily-signal-head__meta,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__header p:last-child {
  font-size: calc(0.72rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-card {
  --workbench-signal-marker-size: calc(0.78rem + 5px);
  --workbench-signal-active-count-size: calc(clamp(1.18rem, 1.86vw, 1.58rem) - 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-card__marker {
  font-size: var(--workbench-signal-marker-size);
  transform: translateY(1px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-card.is-active .workbench-signal-card__marker {
  font-size: calc(var(--workbench-signal-marker-size) + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-card.is-active .workbench-signal-card__count strong {
  font-size: calc(var(--workbench-signal-active-count-size) + 2px) !important;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-card__count strong {
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-card__count {
  transform: translateY(1px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-card__unit {
  font-size: 9px;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-detail-table {
  font-size: calc(0.8rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-detail-header-label--code,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-detail-cell--code,
:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-detail-header-label--code,
:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-detail-cell--code {
  display: none;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-detail-header-label--industry,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-detail-cell--industry,
:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-detail-header-label--industry,
:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-detail-cell--industry {
  display: inline-block;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-detail-table .workbench-signal-detail-board-link,
:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-home-column .workbench-watchlist-row--compact .workbench-button {
  min-width: 4.35rem;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-detail-table .workbench-signal-detail-board-link,
:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-detail-table .workbench-signal-detail-board-link > span,
:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-home-column .workbench-watchlist-row--compact .workbench-button,
:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-home-column .workbench-watchlist-row--compact .workbench-button > span,
:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-button--wide {
  font-weight: 700 !important;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-card {
  --workbench-signal-marker-size: calc(clamp(1.24rem, 1.8vw, 1.68rem) - 4px);
  --workbench-signal-active-count-size: clamp(1.08rem, 1.66vw, 1.44rem);
  min-height: 2.72rem;
  padding-block: 0.54rem;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-card__topline {
  padding-inline: clamp(0.58rem, 0.96vw, 0.92rem) clamp(0.64rem, 1.08vw, 1rem);
  transform: translateY(1px);
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-card__marker {
  font-weight: 680;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-card__count strong {
  font-size: clamp(1rem, 1.52vw, 1.3rem);
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-card.is-active .workbench-signal-card__count strong {
  font-size: clamp(1rem, 1.52vw, 1.3rem) !important;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-card__unit {
  font-size: 11px;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-detail-table .workbench-signal-detail-board-link,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-home-column .workbench-watchlist-row--compact .workbench-button {
  min-width: 57.2px;
  font-size: calc(0.72rem + 2px);
  font-weight: 800;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-detail-table .workbench-signal-detail-board-link > span {
  display: inline-block;
  transform: translateY(1px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__axis text,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__cursor-date {
  font-size: 12px;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__legend,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__legend-toggle {
  font-size: calc(0.72rem + 2px);
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-trend__switch,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__switch {
  height: calc(0.96rem + 3px);
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-trend__switch::after,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__switch::after {
  top: 0.13rem;
  left: 1.55rem;
  width: calc(0.7rem + 3px);
  height: calc(0.7rem + 3px);
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--home .workbench-signal-trend__legend-toggle[aria-pressed="false"] .workbench-signal-trend__switch::after,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__legend-toggle[aria-pressed="false"] .workbench-signal-trend__switch::after {
  left: 0.13rem;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__tooltip {
  font-size: calc(0.74rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__tooltip-date {
  font-size: calc(0.76rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-section__meta,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-card__meta,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-form__field label {
  font-size: calc(0.78rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-form__hint,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-form__error {
  font-size: calc(0.68rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-button,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-favorite-button {
  font-size: calc(0.88rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-watchlist-row h3 {
  font-size: calc(0.86rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-watchlist-row p {
  font-size: calc(0.76rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-watchlist-row__theme {
  font-size: calc(0.78rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-watchlist-row__quote {
  font-size: calc(0.9rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-watchlist-row__quote-pct {
  font-size: calc(0.8rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-marker {
  font-size: calc(0.72rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-watchlist-row__action-marker,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-watchlist-row__signal-marker {
  font-size: calc(0.62rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-watchlist-row__scores dt {
  font-size: calc(0.68rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-watchlist-row__scores dd {
  font-size: calc(0.9rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-watchlist-row__status {
  font-size: calc(0.72rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-chip,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-status-pill {
  font-size: calc(0.82rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-detail-grid dt {
  font-size: calc(0.82rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-detail-grid dd {
  font-size: calc(1.1rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-recent-b-filter-group__label,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-recent-b-filter-button,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-recent-b-filter-value {
  font-size: calc(0.78rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-recent-b-filter-summary {
  font-size: calc(0.84rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-recent-b-filter-summary strong {
  font-size: calc(0.9rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home :where(a, button, label, input, p, h1, h2, h3, th, td, span, strong, dt, dd, em):not(.workbench-signal-detail-board-link):not(.workbench-signal-detail-board-link *):not(.workbench-watchlist-row__actions .workbench-button):not(.workbench-watchlist-row__actions .workbench-button *) {
  font-weight: 600;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-home-group__heading h2,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-hero__intro--signals h1,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-section__header h2,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-section-heading h2,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__header h2,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-card__headline h3,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-card h3 {
  font-weight: 850 !important;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-eyebrow,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-section__eyebrow,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-daily-scan-progress__summary,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-daily-signal-head__meta,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__header p:last-child,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-section__meta,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-form__field label,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-detail-table th,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-watchlist-row h3,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-watchlist-row__quote-price,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-recent-b-filter-group__label {
  font-weight: 800 !important;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-card__marker,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-card__unit,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-marker,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-favorite-button.is-icon {
  font-weight: 900 !important;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-card__marker {
  font-weight: 800 !important;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-card__count strong,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-detail-table a:not(.workbench-signal-detail-board-link),
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-button--wide,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-recent-b-filter-button,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-recent-b-filter-value,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-recent-b-filter-summary strong {
  font-weight: 800 !important;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-muted-number {
  font-weight: 600 !important;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__axis text,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-signal-trend__cursor-date {
  font-weight: 600;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index {
  font-size: calc(1rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index h1 {
  font-size: calc(var(--workbench-panel-title-size) + 2px);
  font-weight: 850 !important;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-section__eyebrow {
  font-size: calc(0.68rem + 2px);
  font-weight: 800 !important;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__signal-label,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__count,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__signal-pill,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__updated {
  font-size: calc(0.78rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__search input {
  font-size: calc(0.86rem + 1px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__search input::placeholder {
  font-size: 0.86rem;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__table th,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__table td,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__muted {
  font-size: calc(0.8rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__updated strong {
  font-size: calc(0.95rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__table .workbench-marker {
  font-size: calc(0.66rem + 2px);
  font-weight: 900 !important;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__table .workbench-favorite-button {
  font-size: calc(0.72rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__board-cell > :is(.workbench-watch-index__link, .workbench-watch-index__muted) {
  font-size: calc(0.72rem + 2px) !important;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index :where(a, button, label, input, p, h1, h2, h3, th, td, span, strong, dt, dd, em) {
  font-weight: 600;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__signal-label,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__count,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__signal-pill,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__table th,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__stock,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__link,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__table .workbench-favorite-button,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__updated strong {
  font-weight: 800 !important;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell :where(.workbench-eyebrow, .workbench-section__eyebrow, .workbench-empty-state__eyebrow, .workbench-auth__eyebrow) {
  font-size: calc(0.68rem + 2px);
  font-weight: 700 !important;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell :where(.workbench-eyebrow, .workbench-section__eyebrow, .workbench-empty-state__eyebrow, .workbench-auth__eyebrow) {
  font-weight: 700 !important;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell :where(
  .workbench-daily-signal-head > div:has(> .workbench-eyebrow) h1,
  .workbench-signal-trend__header > div:has(> .workbench-eyebrow) h2,
  .workbench-section__header > div:has(> .workbench-section__eyebrow) h2,
  .workbench-section-heading:has(> .workbench-section__eyebrow) > h2,
  .workbench-watch-index__main > div:has(> .workbench-section__eyebrow) h1,
  .workbench-history-panel__head:has(> .workbench-eyebrow) > h1,
  .workbench-account-panel__intro:has(> .workbench-eyebrow) > h1,
  .workbench-auth__intro:has(> .workbench-auth__eyebrow) > h1
) {
  font-weight: 1000 !important;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--watch-index .workbench-watch-index__table td,
:root[data-workbench-display-resolution="qhd"] .workbench-shell--watch-index .workbench-watch-index__note-input {
  font-weight: 500;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--watch-index .workbench-watch-index__table th {
  font-weight: 800;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--watch-index .workbench-watch-index__search input {
  font-size: calc(0.86rem + 1px);
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--watch-index .workbench-watch-index__search input::placeholder {
  font-size: 0.86rem;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--watch-index .workbench-watch-index__controls {
  flex-wrap: nowrap;
  gap: 0.4rem;
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--watch-index .workbench-watch-index__search {
  flex: 0 1 15rem;
  width: min(100%, 15rem);
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--watch-index .workbench-watch-index__search--theme {
  flex: 0 1 8.5rem;
  width: min(100%, 8.5rem);
}

:root[data-workbench-display-resolution="qhd"] .workbench-shell--watch-index .workbench-watch-index__search--score {
  flex: 0 0 5.2rem;
  width: 5.2rem;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell :where(
  .workbench-daily-signal-head > div:has(> .workbench-eyebrow) h1,
  .workbench-signal-trend__header > div:has(> .workbench-eyebrow) h2,
  .workbench-section__header > div:has(> .workbench-section__eyebrow) h2,
  .workbench-section-heading:has(> .workbench-section__eyebrow) > h2,
  .workbench-watch-index__main > div:has(> .workbench-section__eyebrow) h1,
  .workbench-history-panel__head:has(> .workbench-eyebrow) > h1,
  .workbench-account-panel__intro:has(> .workbench-eyebrow) > h1,
  .workbench-auth__intro:has(> .workbench-auth__eyebrow) > h1
) {
  font-weight: 1000 !important;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-marker,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-watchlist-row__signal-marker,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__table .workbench-marker {
  font-weight: 720 !important;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-home-focus .workbench-section__title-action-line {
  column-gap: 0.5rem;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-home-focus .workbench-section__title-actions {
  flex-wrap: nowrap;
  gap: 0.34rem;
  transform: translate(-0.35rem, -5px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-home-focus .workbench-watchlist-signal-filter__toggle,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-home-focus .workbench-sort-toggle {
  min-height: 2.12rem;
  font-size: calc(0.78rem + 2px);
  line-height: 1;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-home-focus .workbench-watchlist-signal-filter__toggle {
  min-width: 5.45rem;
  padding-inline: 0.72rem;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--home .workbench-home-focus .workbench-sort-toggle {
  min-width: 3.82rem;
  padding-inline: 0.72rem;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__head {
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  grid-template-areas:
    "title title progress"
    "controls signals updated";
  column-gap: 0.48rem;
  row-gap: 0.78rem;
  align-items: center;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__refresh-progress {
  grid-area: progress;
  width: min(24rem, 100%);
  justify-self: end;
  align-self: end;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__controls {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__signals {
  flex-wrap: nowrap;
  gap: 0.42rem;
  justify-content: flex-end;
  justify-self: end;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__search {
  width: min(100%, 210px);
  flex: 0 1 210px;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__search--theme {
  width: min(100%, 120px);
  flex: 0 1 120px;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__search--score {
  flex: 0 0 5.2rem;
  width: 5.2rem;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__count {
  justify-self: auto;
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__signal-pill,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__count,
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__controls .workbench-sort-toggle {
  min-height: 2.35rem;
  font-size: calc(0.78rem + 2px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__controls [data-watchlist-sort-toggle],
:root[data-workbench-display-resolution="fhd"] .workbench-shell--watch-index .workbench-watch-index__controls [data-watchlist-delete-toggle] {
  transform: none;
}

:root[data-workbench-display-resolution="phone"] body {
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell {
  padding-top: var(--workbench-phone-fixed-head-top);
  padding-bottom: calc(5.4rem + env(safe-area-inset-bottom));
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--watch-index {
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin {
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--auth {
  padding-top: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0.78rem;
  padding:
    calc(0.72rem + env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    0.72rem
    max(1rem, env(safe-area-inset-left));
}

:root[data-workbench-display-resolution="phone"] .workbench-shell__brand {
  width: 100%;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell__brand::after {
  min-width: 2.4rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell__logo {
  width: 8.2rem;
  height: auto;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell__nav {
  display: grid;
  /* 首页/查询/关注/分析/任务/账户 */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.32rem;
  width: 100%;
  overflow: visible;
  margin: -0.22rem 0 -0.1rem;
  padding: 0.22rem 0;
  scrollbar-width: none;
  touch-action: pan-y;
  transform: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell__nav--staff {
  /* + 题材 */
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

:root[data-workbench-display-resolution="phone"] .workbench-shell__nav-link--mobile-query {
  display: inline-flex;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell__nav-link--mobile-positions {
  display: none !important;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell__nav-query {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell__nav::-webkit-scrollbar {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .is-mobile-drag-scrollable {
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

:root[data-workbench-display-resolution="phone"] .is-mobile-drag-scrollable.is-mobile-drag-scrolling {
  cursor: grabbing;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell__nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  min-width: 0;
  max-width: 100%;
  min-height: 2.18rem;
  padding: 0.38rem 0.44rem;
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell__nav-link:hover,
:root[data-workbench-display-resolution="phone"] .workbench-shell__nav-link:focus-visible,
:root[data-workbench-display-resolution="phone"] .workbench-shell__nav-link.is-active {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.36);
  color: var(--workbench-text);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell__main {
  width: min(var(--workbench-shell-main-width), calc(100% - 2rem));
  padding-top: 1.08rem;
}

/* Avoid phone tab-switch flash: do not fade main content from opacity 0 on every full navigation. */

:root[data-workbench-display-resolution="phone"] .workbench-shell--watch-index .workbench-shell__main {
  display: flex;
  flex-direction: column;
  height: calc(100svh - var(--workbench-header-height, calc(7.58rem + env(safe-area-inset-top))) - calc(5.4rem + env(safe-area-inset-bottom)));
  min-height: 0;
  overflow: hidden;
}

:root[data-workbench-display-resolution="phone"] .workbench-disclaimer {
  padding:
    0.42rem
    max(1rem, env(safe-area-inset-right))
    calc(0.64rem + env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
}

:root[data-workbench-display-resolution="phone"] .workbench-disclaimer p {
  max-width: min(58rem, calc(100vw - 2rem));
  font-size: 0.78rem;
  line-height: 1.55;
}

:root[data-workbench-display-resolution="phone"] .workbench-account-panel .workbench-empty-state__actions .workbench-button {
  font-size: calc(0.88rem - 2px);
}

:root[data-workbench-display-resolution="phone"] .workbench-panel,
:root[data-workbench-display-resolution="phone"] .workbench-section,
:root[data-workbench-display-resolution="phone"] .workbench-card,
:root[data-workbench-display-resolution="phone"] .workbench-empty-state {
  min-width: 0;
  max-width: 100%;
  padding: 1.08rem;
  border-radius: 12px;
}

:root[data-workbench-display-resolution="phone"] .workbench-hero,
:root[data-workbench-display-resolution="phone"] .workbench-home-layout,
:root[data-workbench-display-resolution="phone"] .workbench-home-group__grid,
:root[data-workbench-display-resolution="phone"] .workbench-home-focus,
:root[data-workbench-display-resolution="phone"] .workbench-grid,
:root[data-workbench-display-resolution="phone"] .workbench-grid--home {
  grid-template-columns: minmax(0, 1fr);
}

:root[data-workbench-display-resolution="phone"] .workbench-home-layout {
  gap: 1.05rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-home-layout > .workbench-home-column--signal-board,
:root[data-workbench-display-resolution="phone"] .workbench-home-layout > .workbench-home-column--signal-board + .workbench-home-column--signal-board,
:root[data-workbench-display-resolution="phone"] .workbench-home-layout__span,
:root[data-workbench-display-resolution="phone"] .workbench-section--span-2,
:root[data-workbench-display-resolution="phone"] .workbench-section--span-3 {
  grid-column: auto;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-home-column--signal-board {
  align-self: start;
  align-content: start;
}

:root[data-workbench-display-resolution="phone"] .workbench-home-column--signal-board > .workbench-panel {
  height: auto;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-home-column--signal-board > .workbench-hero__intro--signals {
  height: auto;
  min-height: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-home-column,
:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-summary,
:root[data-workbench-display-resolution="phone"] .workbench-signal-details,
:root[data-workbench-display-resolution="phone"] .workbench-signal-trend,
:root[data-workbench-display-resolution="phone"] .workbench-watch-index {
  min-width: 0;
  max-width: 100%;
}

:root[data-workbench-display-resolution="phone"] .workbench-home-group__heading {
  margin-top: 1.15rem;
  margin-bottom: 1.05rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-home-group__heading,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-home-focus > .workbench-home-column:nth-child(1),
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-home-focus > .workbench-home-column:nth-child(2) {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-quick-query-page {
  width: 100%;
  margin: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--quick-query .workbench-quick-query-page {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--quick-query .workbench-section-heading h1 {
  margin: 0 0 var(--workbench-panel-title-block-gap);
  font-size: var(--workbench-panel-title-size);
  line-height: var(--workbench-panel-title-line-height);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home {
  --workbench-bg: #100d15;
  --workbench-page-bg-top: #121018;
  --workbench-page-bg-middle: #0f0d14;
  --workbench-page-bg-bottom: #09080d;
  --workbench-page-overlay: rgba(168, 85, 247, 0.035);
  --workbench-page-glow-left: rgba(168, 85, 247, 0.08);
  --workbench-page-glow-right: rgba(88, 28, 135, 0.07);
  --workbench-header-surface: #0d0b12;
  --workbench-surface: rgba(18, 15, 24, 0.96);
  --workbench-surface-strong: rgba(25, 20, 34, 0.98);
  --workbench-surface-soft: rgba(29, 24, 38, 0.86);
  --workbench-panel-highlight: rgba(168, 85, 247, 0.045);
  --workbench-control-surface: rgba(255, 255, 255, 0.055);
  --workbench-input-surface: rgba(12, 10, 17, 0.92);
  --workbench-detail-surface: rgba(13, 11, 18, 0.88);
  --workbench-border: rgba(185, 166, 212, 0.15);
  --workbench-border-strong: rgba(190, 152, 242, 0.32);
  --workbench-shadow: 0 16px 46px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  --workbench-text: #f4f1f8;
  --workbench-text-muted: #b2aabe;
  --workbench-text-soft: #80788a;
  --workbench-accent: #a855f7;
  --workbench-accent-strong: #9333ea;
  --workbench-accent-soft: rgba(168, 85, 247, 0.18);
  background: linear-gradient(180deg, #121018 0%, #0f0d14 48%, #09080d 100%);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home::before {
  background:
    radial-gradient(circle at 88% 12%, rgba(168, 85, 247, 0.08), transparent 26rem),
    linear-gradient(120deg, rgba(168, 85, 247, 0.035), transparent 28%);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-shell__header {
  background: #0d0b12;
  border-bottom-color: rgba(185, 166, 212, 0.12);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home :where(.workbench-panel, .workbench-section, .workbench-card, .workbench-empty-state) {
  background:
    linear-gradient(180deg, rgba(168, 85, 247, 0.045), transparent 24%),
    rgba(18, 15, 24, 0.96);
  border-color: rgba(185, 166, 212, 0.16);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  backdrop-filter: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-panel,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-trend__chart,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-position-empty,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-watchlist-row {
  background: rgba(14, 12, 19, 0.86);
  border-color: rgba(185, 166, 212, 0.15);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-form__field input,
:root[data-workbench-display-resolution="phone"] .workbench-shell--quick-query .workbench-form__field input {
  background: rgba(10, 9, 14, 0.92);
  border-color: rgba(185, 166, 212, 0.16);
  color: #f4f1f8;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-form__field input:is([id$="target_date"], [id$="obs_days"]),
:root[data-workbench-display-resolution="phone"] .workbench-shell--quick-query .workbench-form__field input:is([id$="target_date"], [id$="obs_days"]),
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table tbody td,
:root[data-workbench-display-resolution="phone"] .workbench-shell--watch-index .workbench-watch-index__table tbody td {
  color: var(--workbench-text-muted);
}

:root[data-workbench-display-resolution="phone"] .workbench-quick-query-page :is(.workbench-form, .workbench-form__grid, .workbench-form__field) {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

:root[data-workbench-display-resolution="phone"] .workbench-quick-query-page .workbench-form__field input[type="date"] {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  justify-self: stretch;
  -webkit-appearance: none;
  appearance: none;
  overflow: hidden;
  text-align: left;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--quick-query .workbench-form__field input:is([id$="target_date"], [id$="obs_days"]):not(:focus) {
  font-size: 13px !important;
}

:root[data-workbench-display-resolution="phone"] .workbench-quick-query-page .workbench-form__field input[type="date"]::-webkit-date-and-time-value {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  font-size: 13px;
  text-align: left;
}

:root[data-workbench-display-resolution="phone"] .workbench-quick-query-page .workbench-form__field input[type="date"]::-webkit-datetime-edit {
  min-width: 0;
  max-width: 100%;
  font-size: 13px;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-form__field input:focus,
:root[data-workbench-display-resolution="phone"] .workbench-shell--quick-query .workbench-form__field input:focus {
  border-color: rgba(168, 85, 247, 0.62);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.14);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-button--wide,
:root[data-workbench-display-resolution="phone"] .workbench-shell--quick-query .workbench-button--wide {
  border-color: rgba(168, 85, 247, 0.48);
  background: linear-gradient(180deg, #b05cff, #9437ee);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(147, 51, 234, 0.18);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-button--wide:hover,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-button--wide:focus-visible,
:root[data-workbench-display-resolution="phone"] .workbench-shell--quick-query .workbench-button--wide:hover,
:root[data-workbench-display-resolution="phone"] .workbench-shell--quick-query .workbench-button--wide:focus-visible {
  border-color: rgba(190, 152, 242, 0.66);
  background: linear-gradient(180deg, #bd72ff, #a855f7);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-button--primary,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-board-link,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-home-column .workbench-watchlist-row--compact .workbench-button {
  border-color: rgba(168, 85, 247, 0.48);
  background: linear-gradient(180deg, #b05cff, #9437ee);
  color: #f7f2ff;
  box-shadow: 0 10px 24px rgba(147, 51, 234, 0.16);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-button--primary:hover,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-button--primary:focus-visible,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-board-link:hover,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-board-link:focus-visible,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-home-column .workbench-watchlist-row--compact .workbench-button:hover,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-home-column .workbench-watchlist-row--compact .workbench-button:focus-visible {
  border-color: rgba(190, 152, 242, 0.66);
  background: linear-gradient(180deg, #bd72ff, #a855f7);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-trend__grid line,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table tr,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-watchlist-row {
  border-color: rgba(185, 166, 212, 0.13);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-trend__tooltip {
  background: rgba(18, 15, 24, 0.72);
  border-color: rgba(190, 152, 242, 0.28);
}

:root[data-workbench-display-resolution="phone"] .workbench-section__header,
:root[data-workbench-display-resolution="phone"] .workbench-page-head,
:root[data-workbench-display-resolution="phone"] .workbench-history-item {
  align-items: flex-start;
}

:root[data-workbench-display-resolution="phone"] .workbench-section__header-side {
  margin-top: calc(0.94rem + var(--workbench-panel-title-eyebrow-gap));
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-head {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.28rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-title-row {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto max-content;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.42rem;
  width: 100%;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-title-row > div:first-child {
  min-width: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-hero__intro--signals h1 {
  margin-bottom: 0;
  white-space: nowrap;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-date-search {
  flex: none;
  justify-self: end;
  width: min(17.4rem, 100%);
  min-width: 0;
  max-width: 17.4rem;
  margin-bottom: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-date-search__control {
  grid-template-columns: minmax(0, 1fr) repeat(3, auto);
  gap: 0.24rem;
  padding: 0.16rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-date-search input {
  height: 1.62rem;
  text-align: left;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-date-search input::-webkit-date-and-time-value {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-size: 0.72rem;
  text-align: left;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-date-search input::-webkit-datetime-edit {
  min-width: 0;
  font-size: 0.72rem;
  text-align: left;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-date-search__button {
  min-width: 2.62rem;
  height: 1.62rem;
  padding: 0 0.46rem;
  font-size: 0.7rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-head__status {
  flex: 0 0 auto;
  align-self: stretch;
  align-content: start;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin-left: 0;
  gap: 0.38rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-head__status-row {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-head__meta--desktop {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-head__meta--phone {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  color: var(--workbench-text-soft);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-scan-progress {
  min-height: 0;
  gap: 0.22rem;
  align-content: start;
  grid-auto-rows: max-content;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-scan-progress__summary,
:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-head__meta,
:root[data-workbench-display-resolution="phone"] .workbench-signal-trend__header p:last-child,
:root[data-workbench-display-resolution="phone"] .workbench-section__meta {
  white-space: normal;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-signal-head__meta--phone {
  white-space: nowrap;
}

:root[data-workbench-display-resolution="phone"] .workbench-daily-scan-progress__summary {
  text-align: right;
  line-height: 1.18;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-section__header {
  flex-direction: column;
  gap: var(--workbench-panel-title-eyebrow-gap);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task::after,
:root[data-workbench-display-resolution="phone"] .workbench-shell--history::after {
  content: none;
  pointer-events: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task::after {
  top: var(--workbench-phone-fixed-head-top);
  height: 9.45rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--history::after {
  top: var(--workbench-phone-fixed-head-top);
  height: 4.7rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-section {
  animation: none;
  padding-top: 0;
  transform: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-task-sticky-head {
  position: fixed;
  top: var(--workbench-phone-fixed-head-top);
  left: calc((100vw - var(--workbench-viewport-scrollbar-width)) / 2);
  z-index: 72;
  width: min(var(--workbench-shell-main-width), calc(100vw - 2rem - var(--workbench-viewport-scrollbar-width)));
  margin: 0;
  padding: calc(1.08rem + 1px) calc(1.08rem + 1px) 0.9rem;
  border: 1px solid var(--workbench-border);
  border-bottom: 0;
  border-radius: 0;
  background: #120f18;
  box-shadow: none;
  transform: translateX(-50%);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-card-grid {
  margin-top: calc(var(--workbench-phone-task-head-height) + 0.78rem);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-task-sticky-head::before {
  content: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-task-sticky-head > * {
  position: relative;
  z-index: 1;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-task-sticky-head::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: calc(1.05rem - 1px);
  bottom: 0;
  left: calc(1.05rem - 1px);
  height: 1px;
  background: var(--workbench-border);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--history .workbench-history-panel {
  animation: none;
  padding-top: 0;
  transform: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--history .workbench-history-panel__head {
  position: fixed;
  top: var(--workbench-phone-fixed-head-top);
  left: calc((100vw - var(--workbench-viewport-scrollbar-width)) / 2);
  z-index: 72;
  width: min(var(--workbench-shell-main-width), calc(100vw - 2rem - var(--workbench-viewport-scrollbar-width)));
  margin: 0;
  padding: calc(1.08rem + 1px) calc(1.08rem + 1px) 0.9rem;
  border: 1px solid var(--workbench-border);
  border-bottom: 0;
  border-radius: 0;
  background: #120f18;
  box-shadow: none;
  transform: translateX(-50%);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--history .workbench-history-list {
  margin-top: calc(var(--workbench-phone-history-head-height) + 0.78rem);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--history .workbench-history-panel__head::before {
  content: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--history .workbench-history-panel__head > * {
  position: relative;
  z-index: 1;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--history .workbench-history-panel__head::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: calc(1.05rem - 1px);
  bottom: 0;
  left: calc(1.05rem - 1px);
  height: 1px;
  background: var(--workbench-border);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-section__header h2 {
  margin-bottom: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-section__header-side {
  min-height: 0;
  margin-top: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-filter-link {
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-filter-row {
  margin-top: 1.15rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-card--task .workbench-card__headline h3 {
  font-size: calc(var(--workbench-panel-title-size) - 4px);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-card--task .workbench-card__headline p,
:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-card--task .workbench-card__meta {
  font-size: calc(1rem - 4px);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-card--task .workbench-button,
:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-card--task .workbench-favorite-button,
:root[data-workbench-display-resolution="phone"] .workbench-shell--history .workbench-history-item .workbench-button,
:root[data-workbench-display-resolution="phone"] .workbench-shell--history .workbench-history-item .workbench-favorite-button {
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-pagination__item,
:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-pagination__submit,
:root[data-workbench-display-resolution="phone"] .workbench-shell--task .workbench-pagination__jump,
:root[data-workbench-display-resolution="phone"] .workbench-shell--history .workbench-pagination__item,
:root[data-workbench-display-resolution="phone"] .workbench-shell--history .workbench-pagination__submit,
:root[data-workbench-display-resolution="phone"] .workbench-shell--history .workbench-pagination__jump {
  font-size: calc(0.82rem - 2px);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-daily-signals {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.42rem;
  margin-top: 0.78rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-card {
  --workbench-signal-marker-size: calc(1.02rem - 1px);
  min-height: 2.25rem;
  padding: 0.5rem 0.46rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-card__topline {
  gap: 0.46rem;
  padding-inline: 0.1rem 0.26rem;
  transform: translateY(2px);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-card.is-active {
  --workbench-signal-active-count-size: 0.98rem;
  transform: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-card__marker {
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  border-radius: 0;
  background: transparent;
  font-size: var(--workbench-signal-marker-size);
  font-weight: 760;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-card.is-active .workbench-signal-card__marker {
  font-size: 1.02rem;
  font-weight: 760;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-card__count strong {
  font-size: 1rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-card.is-active .workbench-signal-card__count strong {
  font-size: 1rem !important;
  font-weight: 700;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-card__unit {
  font-size: 0.62rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-card.is-active .workbench-signal-card__unit {
  font-weight: 800;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-details {
  overflow: visible;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-detail-panel {
  min-height: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-detail-table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 0.12rem;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-detail-table {
  width: max(58rem, 100%);
  min-width: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-detail-table tbody {
  height: auto;
  max-height: calc(var(--workbench-signal-detail-row-height) * 5 + 2.5px);
  overflow-y: auto;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table-wrap {
  overflow-x: hidden;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table {
  width: 100%;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-header-label--code,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-cell--code {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-header-label--industry,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-cell--industry {
  display: inline-block;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table th:nth-child(3),
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table td:nth-child(3),
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table th:nth-child(4),
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table td:nth-child(4),
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table th:nth-child(5),
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table td:nth-child(5),
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table th:nth-child(6),
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table td:nth-child(6) {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table th:nth-child(1),
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table td:nth-child(1) {
  width: 30%;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table th:nth-child(2),
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table td:nth-child(2) {
  width: 28%;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table th:nth-child(7),
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table td:nth-child(7) {
  width: 18%;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table th:nth-child(8),
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table td:nth-child(8) {
  width: 24%;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table th,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table td {
  padding-right: 0.24rem;
  padding-left: 0.24rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table th:first-child,
:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-table td:first-child {
  padding-left: calc(0.24rem + 5px);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-empty {
  font-size: 0.68rem;
  line-height: 1.55;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-trend {
  min-height: 18.6rem;
  grid-template-rows: auto minmax(0.42rem, 0.08fr) auto auto minmax(0.32rem, 0.16fr);
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-trend__header {
  gap: 1rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-trend__chart {
  height: clamp(11.4rem, 25.8vw, 16.2rem);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-trend__legend {
  width: min(100%, 17.2rem);
  gap: 0.8rem 1.18rem;
  margin-top: 0.72rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-trend__switch {
  height: calc(0.96rem + 2px);
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-trend__switch::after {
  left: calc(1.55rem + 1px);
  width: calc(0.7rem + 2px);
  height: calc(0.7rem + 2px);
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-trend__legend-toggle[aria-pressed="false"] .workbench-signal-trend__switch::after {
  left: 0.13rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-form__grid {
  grid-template-columns: minmax(0, 1fr);
}

/* iOS Safari zooms focused form fields under 16px and may not restore after blur. */
:root[data-workbench-display-resolution="phone"] .workbench-shell :is(input, textarea, select) {
  font-size: 16px !important;
}

:root[data-workbench-display-resolution="phone"] :is(
  .workbench-record-search input,
  .workbench-shell--watch-index .workbench-watch-index__search input,
  .workbench-shell--quick-query [data-quick-query-stock-input]
):not(:focus) {
  font-size: 13px !important;
}

:root[data-workbench-display-resolution="phone"] :is(
  .workbench-record-search input,
  .workbench-shell--watch-index .workbench-watch-index__search input,
  .workbench-shell--quick-query [data-quick-query-stock-input]
):focus {
  font-size: 16px !important;
}

:root[data-workbench-display-resolution="phone"] .workbench-record-search input::placeholder,
:root[data-workbench-display-resolution="phone"] .workbench-shell--watch-index .workbench-watch-index__search input::placeholder,
:root[data-workbench-display-resolution="phone"] .workbench-shell--quick-query [data-quick-query-stock-input]::placeholder {
  font-size: 13px;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--quick-query .workbench-form__field input:focus {
  font-size: 13px !important;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--watch-portfolio-preview .workbench-watch-index__search input:focus {
  font-size: 13px !important;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__note-input::placeholder {
  font-size: 13px;
}

:root[data-workbench-display-resolution="phone"] .workbench-hero__form .workbench-button--wide {
  width: min(100%, 11rem);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--quick-query .workbench-hero__form .workbench-button--wide {
  width: 100%;
  max-width: 100%;
}

:root[data-workbench-display-resolution="phone"] .workbench-home-focus {
  gap: 1.05rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-section__title-actions {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-home-column .workbench-watchlist-list--scrollable {
  max-height: calc((var(--workbench-watchlist-compact-row-height) * 5) + (0.75rem * 4));
  padding-right: 0.72rem;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

:root[data-workbench-display-resolution="phone"] .workbench-home-column .workbench-watchlist-row--compact {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.54rem;
  padding: 0.78rem;
  margin-right: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(4.8rem, auto) 1.65rem;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__identity-text {
  grid-column: 1;
}

:root[data-workbench-display-resolution="phone"] .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__theme {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__quote {
  grid-column: 2;
  justify-items: start;
  text-align: left;
}

:root[data-workbench-display-resolution="phone"] .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__signal-marker {
  grid-column: 3;
}

:root[data-workbench-display-resolution="phone"] .workbench-home-column .workbench-watchlist-row--compact .workbench-watchlist-row__actions {
  grid-column: 2;
  gap: 0.44rem;
  justify-content: flex-end;
}

:root[data-workbench-display-resolution="phone"] .workbench-home-column .workbench-watchlist-row--compact .workbench-button {
  min-width: 5.6rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--home .workbench-signal-detail-board-link {
  min-width: 4.2rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index-refresh,
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__signals {
  justify-content: flex-start;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--watch-index .workbench-watch-index {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__head {
  flex: 0 0 auto;
  position: relative;
  top: auto;
  z-index: 12;
  grid-template-columns: minmax(0, 1fr) auto auto;
  column-gap: 0.6rem;
  row-gap: 0.78rem;
  align-items: start;
  margin: calc(-1.05rem + 1px) calc(-1.05rem + 1px) 0;
  padding: calc(1.05rem - 1px) calc(1.05rem - 1px) 0.9rem;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #120f18;
  box-shadow: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__head::after {
  content: "";
  position: absolute;
  right: calc(1.05rem - 1px);
  bottom: 0;
  left: calc(1.05rem - 1px);
  height: 1px;
  background: var(--workbench-border);
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__main {
  display: contents;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__main > div:first-child {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__controls {
  display: contents;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__count {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  min-height: 1.9rem;
  padding: 0 0.66rem;
  margin-top: 0.08rem;
  transform: translateX(-20px);
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__controls .workbench-sort-toggle {
  grid-column: 3;
  grid-row: 4;
  align-self: center;
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__refresh-progress {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  justify-self: stretch;
  margin-top: 0.08rem;
  margin-bottom: -0.04rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__signals {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.32rem;
  justify-content: stretch;
  justify-items: center;
  overflow: visible;
  padding-bottom: 0;
  scrollbar-width: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__signals::-webkit-scrollbar {
  width: 0;
  height: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__signal-pill {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 2.1rem;
  padding: 0 0.24rem;
  font-size: 0.74rem;
  white-space: nowrap;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__updated {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  justify-items: end;
  padding-top: 0.08rem;
  text-align: right;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__search {
  grid-column: 1 / -1;
  grid-row: 4;
  width: min(100%, 32rem);
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__search--theme {
  grid-row: 5;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__score-filters {
  grid-column: 1 / -1;
  grid-row: 6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.42rem;
  width: min(100%, 32rem);
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__score-filters .workbench-watch-index__search--score {
  width: 100%;
  flex-basis: auto;
  grid-column: auto;
  grid-row: auto;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table-wrap {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  overflow: hidden;
  border-top: 0;
  padding-bottom: 0.15rem;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table-wrap::-webkit-scrollbar {
  width: 0;
  height: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table {
  --workbench-watch-index-scrollbar-gutter: 0.72rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-width: 0;
  min-height: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table thead {
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding-right: var(--workbench-watch-index-scrollbar-gutter);
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tbody {
  display: block;
  flex: 1 1 auto;
  box-sizing: border-box;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.56) transparent;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table thead tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tbody tr[hidden] {
  display: none !important;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tbody::-webkit-scrollbar {
  display: block;
  width: var(--workbench-watch-index-scrollbar-gutter);
  height: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tbody::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tbody::-webkit-scrollbar-thumb {
  border: 2px solid #120f18;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.78);
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tbody::-webkit-scrollbar-thumb:hover {
  background: rgba(192, 132, 252, 0.9);
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(1),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(1),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(4),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(4),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(5),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(5),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(6),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(6),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(7),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(7),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(8),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(8),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(11),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(11),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(12),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(12) {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th,
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td {
  padding: 0.7rem 0.36rem;
  vertical-align: middle;
  transition:
    width 220ms cubic-bezier(0.2, 0.85, 0.24, 1),
    padding 220ms cubic-bezier(0.2, 0.85, 0.24, 1),
    transform 180ms ease,
    background-color 160ms ease;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(2),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(2) {
  padding-left: calc(0.36rem + 5px);
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(1),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(1) {
  width: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(2),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(2) {
  width: 25%;
  padding-left: 0.36rem;
  text-align: center;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(3),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(3) {
  width: 35%;
  text-align: center;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(9),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(9) {
  width: 18%;
  text-align: center;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(10),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(10) {
  width: 22%;
  text-align: center;
  position: relative;
  overflow: visible;
  z-index: 1;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__link {
  position: relative;
  z-index: 2;
  touch-action: manipulation;
  min-width: 3.9rem;
  min-height: 1.86rem;
  padding: 0.28rem 0.58rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__board-cell > :is(.workbench-watch-index__link, .workbench-watch-index__muted) {
  font-size: 0.8rem !important;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__code-label,
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__code-value {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__note-mobile-label,
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__note-mobile {
  display: block;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__note-mobile {
  font-size: 0.8rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(11),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(11) {
  width: 0;
  padding-right: 0;
  padding-left: 0;
  overflow: visible;
  text-align: center;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(12),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(12) {
  width: 0;
  padding-right: 0;
  padding-left: 0;
  overflow: visible;
  text-align: center;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table th:nth-child(13),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table td:nth-child(13) {
  width: 0;
  padding-right: 0;
  padding-left: 0;
  overflow: visible;
  text-align: center;
}

/* Position notes are desktop-only by design: hide the remark column on phone. */
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table--position-notes th:nth-child(13),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table--position-notes td:nth-child(13) {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table--position-notes th:nth-child(14),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table--position-notes td:nth-child(14) {
  width: 0;
  padding-right: 0;
  padding-left: 0;
  overflow: visible;
  text-align: center;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__note-heading .workbench-watch-index__sort-button {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__note-form--desktop {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__note-readonly {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__note-form--mobile {
  display: block;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__empty-row td {
  display: table-cell !important;
  width: auto !important;
  padding: 0 !important;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__note-cell {
  position: relative;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__action-cell {
  position: relative;
  z-index: 0;
  pointer-events: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__row-actions {
  right: 0.18rem;
  width: 2.48rem;
  height: 2.48rem;
  transform: translateY(-50%);
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__remove-action {
  position: absolute;
  inset: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr.is-delete-revealed .workbench-watch-index__action-cell {
  z-index: 3;
  pointer-events: auto;
}

:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-delete-mode="true"] .workbench-watch-index__action-cell,
:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__action-cell {
  z-index: 3;
  pointer-events: auto;
}

:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root]:not([data-watchlist-delete-mode="true"]) .workbench-watch-index__table tr[data-sortable-watch-row]:not(.is-delete-revealed) .workbench-watch-index__remove-action,
:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root]:not([data-watchlist-delete-mode="true"]) .workbench-watch-index__table tr[data-sortable-watch-row]:not(.is-delete-revealed) .workbench-watch-index__remove-action .workbench-watchlist-row__remove-action,
:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root]:not([data-watchlist-delete-mode="true"]) .workbench-watch-index__table tr[data-sortable-watch-row]:not(.is-delete-revealed) .workbench-watch-index__remove-action .workbench-favorite-button {
  pointer-events: none !important;
}

:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table th:nth-child(2),
:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table td:nth-child(2) {
  width: 29%;
}

:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table th:nth-child(3),
:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table td:nth-child(3) {
  width: 27%;
}

:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table th:nth-child(8),
:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table td:nth-child(8) {
  width: 17%;
}

:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table th:nth-child(10),
:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table td:nth-child(10) {
  width: 17%;
}

:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table th:nth-child(11),
:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table td:nth-child(11) {
  width: 0;
}

:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table th:nth-child(12),
:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table td:nth-child(12) {
  width: 0;
}

:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table th:nth-child(13),
:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table td:nth-child(13) {
  width: 10%;
}

:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__remove-action {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr[data-sortable-watch-row].is-delete-revealed {
  transform: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr[data-sortable-watch-row]:focus-within:not(.is-delete-revealed) .workbench-watch-index__remove-action {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr[data-sortable-watch-row] td:not(:last-child) {
  transition:
    width 220ms cubic-bezier(0.2, 0.85, 0.24, 1),
    padding 220ms cubic-bezier(0.2, 0.85, 0.24, 1),
    transform 180ms ease,
    background-color 160ms ease;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr[data-sortable-watch-row].is-delete-revealed td:not(:last-child) {
  transform: translateX(-3.42rem);
}

:root[data-workbench-display-resolution="phone"] [data-watchlist-sort-root][data-watchlist-sort-mode="true"] .workbench-watch-index__table tr[data-sortable-watch-row].is-delete-revealed td:not(:last-child) {
  transform: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr.is-watchlist-dragging,
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr.is-watchlist-drop-settling {
  position: relative;
  z-index: 8;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr.is-watchlist-dragging {
  pointer-events: none;
  transform: translate3d(0, var(--workbench-watch-drag-y, 0px), 0) scale(1.012);
  transition: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr.is-watchlist-drop-settling {
  transform: translate3d(0, var(--workbench-watch-drag-y, 0px), 0) scale(1);
  transition: transform 180ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr.is-watchlist-dragging td,
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr.is-watchlist-drop-settling td {
  background: rgba(36, 27, 48, 0.96);
  box-shadow: 0 10px 24px rgba(1, 8, 19, 0.28);
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr.is-watchlist-dragging td:first-child,
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr.is-watchlist-drop-settling td:first-child,
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr.is-watchlist-dragging td:nth-child(2),
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr.is-watchlist-drop-settling td:nth-child(2) {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr.is-watchlist-dragging td:last-child,
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table tr.is-watchlist-drop-settling td:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

:root[data-workbench-display-resolution="phone"] .workbench-watchlist-row.is-watchlist-dragging,
:root[data-workbench-display-resolution="phone"] .workbench-watchlist-row.is-watchlist-drop-settling {
  position: relative;
  z-index: 8;
  box-shadow: 0 16px 30px rgba(1, 8, 19, 0.34);
}

:root[data-workbench-display-resolution="phone"] .workbench-watchlist-row.is-watchlist-dragging {
  pointer-events: none;
  transform: translate3d(0, var(--workbench-watch-drag-y, 0px), 0) scale(1.018);
  transition: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-watchlist-row.is-watchlist-drop-settling {
  transform: translate3d(0, var(--workbench-watch-drag-y, 0px), 0) scale(1);
  transition: transform 180ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 180ms ease;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table .workbench-marker {
  width: 1.58rem;
  min-width: 1.58rem;
  height: 1.58rem;
  min-height: 1.58rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table .workbench-favorite-form,
:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table .workbench-position-form {
  justify-content: center;
}

:root[data-workbench-display-resolution="phone"] .workbench-watch-index__table .workbench-favorite-button.is-active {
  width: 1.72rem;
  min-width: 1.72rem;
  height: 1.72rem;
  min-height: 1.72rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--workbench-danger);
  color: #fff;
  font-size: 0;
  font-weight: 900;
  line-height: 1;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-shell__main {
  height: calc(100svh - var(--workbench-header-height, calc(7.58rem + env(safe-area-inset-top))) - calc(5.4rem + env(safe-area-inset-bottom)));
  min-height: 0;
  overflow-x: hidden;
  overflow-y: hidden;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid var(--workbench-border-strong);
  padding: 0.58rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-width: 0;
  min-height: 0;
  table-layout: fixed;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__favorite-filters {
  grid-column: 1 / -1;
  grid-row: 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
  width: min(100%, 32rem);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-watch-index__search--theme {
  grid-column: 1 / -1;
  grid-row: 5;
  width: min(100%, 32rem);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-watch-index__search input:focus,
:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-watch-index__search input:not(:focus) {
  font-size: 13px !important;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-watch-index__search input::placeholder {
  font-size: 13px;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__favorite-filter {
  width: 100%;
  min-width: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table thead {
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding-right: var(--workbench-stock-theme-scrollbar-gutter);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table tbody {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.56) transparent;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table :is(thead, tbody) tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table tbody tr[hidden] {
  display: none !important;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table tbody::-webkit-scrollbar {
  display: block;
  width: var(--workbench-stock-theme-scrollbar-gutter);
  height: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table tbody::-webkit-scrollbar-track {
  background: transparent;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table tbody::-webkit-scrollbar-thumb {
  border: 2px solid #120f18;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.52);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table th,
:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table td {
  padding: 0.58rem 0.38rem;
  overflow: visible;
  text-align: center;
  white-space: normal;
  vertical-align: middle;
  overflow-wrap: anywhere;
  word-break: break-word;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table th:nth-child(2),
:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table td:nth-child(2),
:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table th:nth-child(3),
:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table td:nth-child(3),
:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table th:nth-child(4),
:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table td:nth-child(4) {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table th:nth-child(1),
:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table td:nth-child(1) {
  width: 31%;
  text-align: center;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table th:nth-child(5),
:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table td:nth-child(5) {
  width: 41%;
  text-align: center;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table th:nth-child(6),
:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__table td:nth-child(6) {
  width: 28%;
  text-align: center;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__head-label--desktop {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__head-label--phone {
  display: inline;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__stock {
  font-size: 0.8rem;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__theme-cell {
  min-width: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__theme-cell :is(.workbench-watch-index__note-input, .workbench-watch-index__note-readonly) {
  display: block;
  width: 100%;
  font-size: 0.8rem !important;
  line-height: 1.3;
  text-align: center;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__action-cell {
  min-width: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__action-cell .workbench-favorite-form {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  justify-content: stretch;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__action-cell .workbench-favorite-button {
  width: min(100%, 4.8rem);
  min-width: 0;
  max-width: 100%;
  height: 2.1rem;
  min-height: 2.1rem;
  font-size: 0.8rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--stock-theme-admin .workbench-stock-theme-admin__submit {
  grid-column: 1 / -1;
  grid-row: 7;
  width: 100%;
}

:root[data-workbench-display-resolution="phone"] .workbench-history-item {
  flex-direction: column;
  gap: 0.72rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--history .workbench-history-item h3 {
  font-size: calc(var(--workbench-panel-title-size) - 4px);
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--history .workbench-history-item p,
:root[data-workbench-display-resolution="phone"] .workbench-shell--history .workbench-history-item__meta span {
  font-size: calc(1rem - 4px);
}

:root[data-workbench-display-resolution="phone"] .workbench-history-item__meta {
  justify-items: start;
  text-align: left;
}

:root[data-workbench-display-resolution="phone"] .workbench-pagination {
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-pagination__pages,
:root[data-workbench-display-resolution="phone"] .workbench-pagination__jump {
  justify-content: center;
}

:root[data-workbench-display-resolution="phone"] .workbench-pagination__pages {
  width: 100%;
  flex-wrap: nowrap;
  gap: 0.18rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-pagination__jump {
  width: 100%;
  gap: 0.28rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-pagination__item {
  min-width: 0.88rem;
  min-height: 1.55rem;
  padding: 0.08rem 0.1rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-pagination__submit,
:root[data-workbench-display-resolution="phone"] .workbench-pagination__item--wide,
:root[data-workbench-display-resolution="phone"] .workbench-pagination__item.is-disabled.workbench-pagination__item--wide {
  min-width: 3.15rem;
  min-height: 1.85rem;
  padding: 0.24rem 0.4rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-pagination__jump input {
  width: 2.85rem;
  min-height: 1.85rem;
  padding: 0.24rem 0.35rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-auth {
  min-height: auto;
  padding: 1rem 0 2rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-auth__card {
  width: 100%;
  padding: 1.35rem;
}

.workbench-shell--home .workbench-button--primary:not(.workbench-button--wide):hover,
.workbench-shell--home .workbench-button--primary:not(.workbench-button--wide):focus-visible,
.workbench-shell--home .workbench-signal-detail-board-link:hover,
.workbench-shell--home .workbench-signal-detail-board-link:focus-visible {
  transform: none;
  border-color: #a855f7;
  background: linear-gradient(180deg, #281735, #1a1123);
  color: #c084fc;
  box-shadow: none;
  filter: none;
  text-shadow: none;
}

a.workbench-button[href*="dashboard-detail-preview.html"],
a.workbench-signal-detail-board-link[href*="dashboard-detail-preview.html"],
a.workbench-watch-index__link[href*="dashboard-detail-preview.html"],
.workbench-shell--home .workbench-hero__form .workbench-button--wide {
  border-color: rgba(168, 85, 247, 0.48) !important;
  background: linear-gradient(180deg, #b05cff, #9437ee) !important;
  color: #f7f2ff !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

a.workbench-button[href*="dashboard-detail-preview.html"]:hover,
a.workbench-button[href*="dashboard-detail-preview.html"]:focus-visible,
a.workbench-signal-detail-board-link[href*="dashboard-detail-preview.html"]:hover,
a.workbench-signal-detail-board-link[href*="dashboard-detail-preview.html"]:focus-visible,
a.workbench-watch-index__link[href*="dashboard-detail-preview.html"]:hover,
a.workbench-watch-index__link[href*="dashboard-detail-preview.html"]:focus-visible,
.workbench-shell--home .workbench-hero__form .workbench-button--wide:hover,
.workbench-shell--home .workbench-hero__form .workbench-button--wide:focus-visible {
  border-color: #a855f7 !important;
  background: linear-gradient(180deg, #281735, #1a1123) !important;
  color: #c084fc !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

[data-watchlist-sort-root][data-watchlist-delete-mode="true"] :is(.workbench-watch-index__remove-action, .workbench-watchlist-row__remove-action),
[data-watchlist-sort-root][data-watchlist-delete-mode="true"] :is(.workbench-watch-index__remove-action, .workbench-watchlist-row__remove-action) .workbench-favorite-button,
.workbench-watch-index__table tr.is-delete-revealed .workbench-watch-index__remove-action,
.workbench-watch-index__table tr.is-delete-revealed .workbench-watch-index__remove-action .workbench-favorite-button,
.workbench-watchlist-row.is-delete-revealed .workbench-watchlist-row__remove-action,
.workbench-watchlist-row.is-delete-revealed .workbench-watchlist-row__remove-action .workbench-favorite-button {
  pointer-events: auto !important;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) [data-home-watchlist-root]:not([data-watchlist-delete-mode="true"]) .workbench-watchlist-row__remove-action,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) [data-home-watchlist-root]:not([data-watchlist-delete-mode="true"]) .workbench-watchlist-row:focus-within .workbench-watchlist-row__remove-action {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) [data-home-watchlist-root][data-watchlist-delete-mode="true"] .workbench-watchlist-row__remove-action {
  visibility: visible !important;
}

.workbench-market-state {
  display: block;
  min-width: 0;
}

.workbench-market-state__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0.85rem;
  min-width: 0;
}

.workbench-market-state__group {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  overflow: hidden;
}

.workbench-market-state__header,
.workbench-market-state__chart-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.workbench-market-state__header h2,
.workbench-market-state__chart-heading h3 {
  margin: 0;
  color: var(--workbench-text);
  font-weight: 800;
  line-height: 1.2;
}

.workbench-market-state__header h2 {
  font-size: var(--workbench-panel-title-size);
}

.workbench-market-state__meta,
.workbench-market-state__unit {
  margin: 0.14rem 0 0;
  color: var(--workbench-text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.workbench-market-state__plot {
  position: relative;
  min-width: 0;
}

.workbench-market-state__charts {
  display: grid;
  gap: 0.72rem;
  min-width: 0;
}

.workbench-market-state__chart {
  position: relative;
  display: grid;
  gap: 0.26rem;
  min-width: 0;
  min-height: 13rem;
  padding: 0.72rem 0.82rem 0.58rem;
  border: 1px solid var(--workbench-border);
  border-radius: 6px;
  background: rgba(9, 8, 14, 0.64);
}

.workbench-market-state__chart-heading h3 {
  font-size: 0.84rem;
  font-weight: 600;
}

.workbench-market-state__info-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.26rem;
  height: 1.26rem;
  padding: 0;
  border: 1px solid rgba(185, 166, 212, 0.28);
  border-radius: 999px;
  background: rgba(25, 20, 34, 0.88);
  color: #b2aabe;
  font-size: calc(0.76rem - 2.5px);
  font-weight: 760;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: pointer;
  touch-action: manipulation;
}

.workbench-market-state__info-button:hover,
.workbench-market-state__info-button:focus-visible,
.workbench-market-state__info-button[aria-expanded="true"] {
  color: #f4f1f8;
  border-color: rgba(190, 152, 242, 0.58);
  background: #181321;
  outline: none;
}

.workbench-market-state__info-popover {
  position: absolute;
  top: 2.42rem;
  right: 0.54rem;
  z-index: 32;
  width: min(calc(100% - 1.08rem), 22rem);
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(185, 166, 212, 0.34);
  border-radius: 0.72rem;
  background: rgba(18, 15, 24, 0.97);
  color: #b2aabe;
  font-size: calc(0.76rem - 1px);
  line-height: 1.55;
  white-space: normal;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.workbench-market-state__info-popover[hidden] {
  display: none;
}

.workbench-market-state__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
  color: var(--workbench-text-muted);
  font-size: 0.68rem;
  white-space: nowrap;
}

.workbench-market-state__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.workbench-market-state__legend-dot {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
}

.workbench-market-state__legend-dot--sentiment { background: var(--workbench-signal-b-bg); }
.workbench-market-state__legend-dot--index { background: var(--workbench-accent); }

.workbench-market-state__chart canvas {
  display: block;
  width: 100%;
  height: 10.4rem;
  min-width: 0;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.workbench-market-state__crosshair {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  width: 1px;
  border-left: 1px dashed rgba(233, 225, 245, 0.62);
  pointer-events: none;
}

.workbench-market-state__tooltip {
  position: absolute;
  top: 0.28rem;
  z-index: 8;
  display: grid;
  min-width: 13rem;
  gap: 0.18rem;
  padding: 0.55rem 0.68rem;
  border: 1px solid var(--workbench-border-strong);
  border-radius: 6px;
  background: rgba(8, 7, 13, 0.93);
  color: var(--workbench-text-muted);
  font-size: 0.68rem;
  line-height: 1.4;
  pointer-events: none;
  transform: translateX(-50%);
}

.workbench-market-state__tooltip[hidden],
.workbench-market-state__crosshair[hidden] {
  display: none;
}

.workbench-market-state__tooltip strong {
  margin-bottom: 0.12rem;
  color: var(--workbench-text);
  font-size: 0.72rem;
  font-weight: 700;
}

.workbench-market-state__tooltip span {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
}

.workbench-market-state__tooltip i {
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.28rem;
  border-radius: 999px;
}

.workbench-market-state__tooltip b {
  color: var(--workbench-text);
  font-weight: 700;
}

.workbench-shell--home .workbench-market-state__crosshair {
  width: 0;
  border-left-width: 1px;
  border-left-style: none;
  opacity: 0.72;
}

.workbench-shell--home .workbench-market-state__crosshair-segment {
  position: absolute;
  left: 0;
  width: 0;
  border-left: 1px dashed rgba(233, 225, 245, 0.62);
  pointer-events: none;
}

.workbench-shell--home .workbench-market-state__tooltip {
  background: rgba(5, 12, 22, 0.7);
}

.workbench-shell--home .workbench-market-state__tooltip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  line-height: 1.55;
}

.workbench-shell--home .workbench-market-state__tooltip-label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.32rem;
  min-width: 0;
  color: var(--workbench-text-muted);
}

.workbench-shell--home .workbench-market-state__tooltip-row b {
  flex: 0 0 auto;
  white-space: nowrap;
}

.workbench-shell--home .workbench-market-state__chart-heading {
  margin-bottom: 0.72rem;
}

.workbench-shell--home [data-market-state].is-market-state-loading .workbench-market-state__chart canvas {
  animation: workbench-market-state-reveal 620ms cubic-bezier(0.2, 0.72, 0.16, 1) both;
}

.workbench-shell--home [data-market-state].is-market-state-loading .workbench-market-state__chart:nth-child(2) canvas {
  animation-delay: 100ms;
}

.workbench-shell--home [data-market-state].is-market-state-loading .workbench-market-state__chart:nth-child(3) canvas {
  animation-delay: 200ms;
}

.workbench-shell--home [data-market-state].is-market-state-loading .workbench-market-state__chart:nth-child(4) canvas {
  animation-delay: 300ms;
}

@keyframes workbench-market-state-reveal {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0.24;
  }
  64% {
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workbench-shell--home [data-market-state].is-market-state-loading .workbench-market-state__chart canvas {
    animation: none;
  }
}

.workbench-market-state__empty-state {
  display: grid;
  min-height: 10rem;
  place-items: center;
  border: 1px dashed var(--workbench-border);
  border-radius: 6px;
  background: rgba(9, 8, 14, 0.46);
}

.workbench-market-state__empty-state p {
  margin: 0;
  color: var(--workbench-text-soft);
  font-size: 0.82rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-market-state {
  display: block;
}

:root[data-workbench-display-resolution="phone"] .workbench-market-state__groups {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.72rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-market-state__group {
  gap: 0.72rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-market-state__header {
  gap: 0.65rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-market-state__meta {
  max-width: 10rem;
  white-space: normal;
}

:root[data-workbench-display-resolution="phone"] .workbench-market-state__chart {
  min-height: 12.2rem;
  padding: 0.62rem 0.54rem 0.42rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-market-state__chart canvas {
  height: 9.35rem;
  touch-action: pan-y;
}

:root[data-workbench-display-resolution="phone"] .workbench-market-state__chart-heading h3 {
  font-size: 0.78rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-market-state__legend,
:root[data-workbench-display-resolution="phone"] .workbench-market-state__unit {
  font-size: 0.62rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-market-state__tooltip {
  min-width: 11.4rem;
  font-size: 0.64rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-market-state__chart {
  min-height: 15rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-market-state__chart canvas {
  height: 12.3rem;
}

/* Home signal board: split desktop into stock, sector, and trend columns. */
.workbench-shell--signal-category-layout .workbench-home-column--signal-category {
  display: none;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-layout > :is(.workbench-home-column--daily-signal, .workbench-home-column--signal-category, .workbench-home-column--signal-trend) {
  display: grid;
  grid-column: auto;
  min-width: 0;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal {
  grid-column: 1;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--signal-category {
  grid-column: 2;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--signal-trend {
  grid-column: 3;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--signal-trend .workbench-signal-trend {
  /* header | gap | chart | flexible area (legend vertically centered) */
  grid-template-rows: auto 0.78rem auto minmax(0.72rem, 1fr);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--signal-trend .workbench-signal-trend::after {
  content: none;
  display: none;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--signal-trend .workbench-signal-trend__header {
  min-height: 6.55rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--signal-trend .workbench-signal-trend__chart {
  height: 14.13rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-signal-trend__legend {
  justify-content: center;
  justify-self: center;
  width: max-content;
  max-width: 100%;
  gap: 0.85rem 1.35rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--signal-trend .workbench-signal-trend__legend {
  grid-row: 4;
  align-self: center;
  margin-top: 0;
  transform: none;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-daily-signal-head {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.28rem;
  min-height: 6.55rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-daily-signal-title-row {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  justify-content: space-between;
  gap: 0.42rem;
  width: 100%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-hero__intro--signals h1 {
  margin-bottom: 0;
  white-space: nowrap;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-daily-signal-date-search {
  flex: none;
  justify-self: end;
  width: min(17.4rem, 100%);
  min-width: 0;
  max-width: 17.4rem;
  margin: 0;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-daily-signal-date-search__control {
  grid-template-columns: minmax(0, 1fr) repeat(3, auto);
  justify-self: stretch;
  width: 100%;
  gap: 0.24rem;
  padding: 0.16rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-daily-signal-date-search input {
  height: 1.62rem;
  font-size: 0.72rem;
  text-align: left;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-daily-signal-date-search__button {
  min-width: 2.62rem;
  height: 1.62rem;
  padding: 0 0.46rem;
  font-size: 0.7rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-daily-signal-head__status {
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin-left: 0;
  gap: 0.38rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-daily-signal-head__status-row,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-daily-signal-head__meta--desktop {
  display: none;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-daily-signal-head__meta--phone {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  font-size: 0.7rem;
  text-align: right;
  white-space: nowrap;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout :is(.workbench-home-column--daily-signal, .workbench-home-column--signal-category) .workbench-daily-signals {
  gap: 0.42rem;
  margin-top: 0.78rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout :is(.workbench-home-column--daily-signal, .workbench-home-column--signal-category) .workbench-signal-card {
  --workbench-signal-marker-size: calc(1.02rem - 1px);
  min-height: 2.25rem;
  padding: 0.5rem 0.46rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout :is(.workbench-home-column--daily-signal, .workbench-home-column--signal-category) .workbench-signal-card__topline {
  gap: 0.46rem;
  padding-inline: 0.1rem 0.26rem;
  transform: translateY(2px);
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout :is(.workbench-home-column--daily-signal, .workbench-home-column--signal-category) .workbench-signal-card__count strong,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout :is(.workbench-home-column--daily-signal, .workbench-home-column--signal-category) .workbench-signal-card.is-active .workbench-signal-card__count strong {
  font-size: 1rem !important;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout :is(.workbench-home-column--daily-signal, .workbench-home-column--signal-category) .workbench-signal-card__unit {
  font-size: 0.62rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-signal-detail-header-label--code,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-signal-detail-cell--code,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-signal-detail-table :is(th, td):nth-child(3),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-signal-detail-table :is(th, td):nth-child(4),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-signal-detail-table :is(th, td):nth-child(5),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-signal-detail-table :is(th, td):nth-child(6) {
  display: none;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-signal-detail-header-label--industry,
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-signal-detail-cell--industry {
  display: inline-block;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-signal-detail-table :is(th, td):nth-child(1) { width: 30%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-signal-detail-table :is(th, td):nth-child(2) { width: 28%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-signal-detail-table :is(th, td):nth-child(7) { width: 18%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--signal-category-layout .workbench-home-column--daily-signal .workbench-signal-detail-table :is(th, td):nth-child(8) { width: 24%; }

.workbench-signal-category {
  display: grid;
  align-content: start;
  min-width: 0;
}

.workbench-signal-category__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 6.55rem;
}

.workbench-signal-category__header h2 {
  margin: 0;
  font-size: var(--workbench-panel-title-size);
  line-height: var(--workbench-panel-title-line-height);
}

.workbench-signal-category__header > p {
  margin: 0.12rem 0 0;
  color: var(--workbench-text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

.workbench-signal-category__table :is(th, td):nth-child(1) {
  width: 68%;
}

.workbench-signal-category__table :is(th, td):nth-child(2) {
  width: 32%;
  text-align: center;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--signal-category-layout .workbench-home-column--signal-category {
  display: grid;
  grid-column: auto;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--signal-category-layout .workbench-signal-category__header {
  min-height: 0;
}

/* Combined watchlist and position page.
   Generic phone watch-index locks shell/main to one viewport with overflow:hidden,
   which clips the second panel (positions). Keep the shell as the scroll container
   and let main grow so both panels are reachable. */
:root[data-workbench-display-resolution="phone"] .workbench-shell--watch-index.workbench-shell--watch-portfolio-preview {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--watch-index.workbench-shell--watch-portfolio-preview::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--watch-index.workbench-shell--watch-portfolio-preview .workbench-shell__main {
  display: block;
  height: auto;
  min-height: 0;
  overflow: visible;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-index {
  min-width: 0;
  scroll-margin-top: 5.2rem;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-index__head {
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 15rem);
  grid-template-areas:
    "title progress"
    "controls controls"
    "signals updated";
  align-items: center;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-index__refresh-progress {
  width: 100%;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-index__signals {
  flex-wrap: wrap;
  justify-content: flex-start;
  justify-self: start;
  min-width: 0;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__watchlist .workbench-watch-index__table :is(th, td):nth-child(1),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__watchlist .workbench-watch-index__table :is(th, td):nth-child(3),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__watchlist .workbench-watch-index__table :is(th, td):nth-child(4),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__watchlist .workbench-watch-index__table :is(th, td):nth-child(5),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__watchlist .workbench-watch-index__table :is(th, td):nth-child(6),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__watchlist .workbench-watch-index__table :is(th, td):nth-child(7),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__positions .workbench-watch-index__table :is(th, td):nth-child(1),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__positions .workbench-watch-index__table :is(th, td):nth-child(3),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__positions .workbench-watch-index__table :is(th, td):nth-child(4),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__positions .workbench-watch-index__table :is(th, td):nth-child(5),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__positions .workbench-watch-index__table :is(th, td):nth-child(6),
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__positions .workbench-watch-index__table :is(th, td):nth-child(7) {
  display: none;
}

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__watchlist .workbench-watch-index__table :is(th, td):nth-child(2) { width: 22%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__watchlist .workbench-watch-index__table :is(th, td):nth-child(8) { width: 14%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__watchlist .workbench-watch-index__table :is(th, td):nth-child(9) { width: 14%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__watchlist .workbench-watch-index__table :is(th, td):nth-child(10) { width: 12%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__watchlist .workbench-watch-index__table :is(th, td):nth-child(11) { width: 3%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__watchlist .workbench-watch-index__table :is(th, td):nth-child(12) { width: 28%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__watchlist .workbench-watch-index__table :is(th, td):nth-child(13) { width: 7%; }

:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__positions .workbench-watch-index__table :is(th, td):nth-child(2) { width: 17%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__positions .workbench-watch-index__table :is(th, td):nth-child(8) { width: 12%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__positions .workbench-watch-index__table :is(th, td):nth-child(9) { width: 13%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__positions .workbench-watch-index__table :is(th, td):nth-child(10) { width: 11%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__positions .workbench-watch-index__table :is(th, td):nth-child(11) { width: 3%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__positions .workbench-watch-index__table :is(th, td):nth-child(12) { width: 16%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__positions .workbench-watch-index__table :is(th, td):nth-child(13) { width: 21%; }
:root:is([data-workbench-display-resolution="qhd"], [data-workbench-display-resolution="fhd"]) .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview__positions .workbench-watch-index__table :is(th, td):nth-child(14) { width: 7%; }

:root[data-workbench-display-resolution="phone"] .workbench-shell--watch-portfolio-preview .workbench-watch-portfolio-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.05rem;
  align-items: start;
  height: auto;
  min-height: 0;
  overflow: visible;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--watch-portfolio-preview .workbench-watch-index {
  width: 100%;
  min-width: 0;
  /* One viewport per panel so list tables keep internal scroll; page shell scrolls between panels. */
  height: calc(100svh - var(--workbench-header-height, calc(7.58rem + env(safe-area-inset-top))) - calc(5.4rem + env(safe-area-inset-bottom)));
  min-height: 34rem;
  max-height: none;
  overflow: hidden;
  scroll-margin-top: 7rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--watch-portfolio-preview [data-watch-portfolio-panel][data-watch-portfolio-active="false"] {
  display: none !important;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--watch-portfolio-preview .workbench-watch-index__title-static {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-shell--watch-portfolio-preview .workbench-watch-index__title-switch {
  display: inline-flex;
}

/* Signal analysis page. */
.workbench-signal-analysis {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4.4rem - 4.6rem - 3.38rem);
  overflow: hidden;
}

.workbench-signal-analysis__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.workbench-signal-analysis__head h1 {
  margin: 0;
  color: var(--workbench-text);
  font-size: var(--workbench-panel-title-size);
  line-height: var(--workbench-panel-title-line-height);
}

.workbench-signal-analysis__filters {
  display: grid;
  grid-template-columns: minmax(12rem, 1.45fr) repeat(5, minmax(7rem, 1fr));
  gap: 0.62rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--workbench-border-strong);
}

.workbench-signal-analysis__field {
  display: grid;
  gap: 0.38rem;
  min-width: 0;
}

.workbench-signal-analysis__field > span {
  color: var(--workbench-text-muted);
  font-size: calc(0.86rem - 2px);
  font-weight: 700;
  white-space: nowrap;
}

.workbench-signal-analysis__field :is(input, select) {
  width: 100%;
  min-width: 0;
  height: 2.35rem;
  padding: 0 0.68rem;
  border: 1px solid var(--workbench-border);
  border-radius: 8px;
  outline: none;
  background: var(--workbench-surface);
  color: var(--workbench-text);
  font-size: calc(0.86rem - 2px);
}

.workbench-signal-analysis__field input::placeholder {
  color: var(--workbench-text-soft);
  font-size: calc(0.86rem - 2px);
}

.workbench-signal-analysis__numeric-control {
  position: relative;
  display: block;
  min-width: 0;
}

.workbench-signal-analysis__range-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
}

.workbench-signal-analysis__range-separator {
  color: var(--workbench-text-muted);
  font-size: calc(0.86rem - 2px);
  font-weight: 700;
}

.workbench-signal-analysis__field .workbench-signal-analysis__numeric-control input {
  padding-right: 1.8rem;
  -moz-appearance: textfield;
}

.workbench-signal-analysis__numeric-control input::-webkit-outer-spin-button,
.workbench-signal-analysis__numeric-control input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.workbench-signal-analysis__numeric-suffix {
  position: absolute;
  top: 50%;
  right: 0.68rem;
  pointer-events: none;
  color: var(--workbench-text-soft);
  font-size: calc(0.86rem - 2px);
  font-weight: 700;
  transform: translateY(-50%);
}

.workbench-signal-analysis__date-control {
  display: grid;
  width: 100%;
  min-width: 0;
  padding: 0.22rem;
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 15, 24, 0.96), rgba(25, 20, 34, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(67, 207, 155, 0.05);
  cursor: pointer;
}

.workbench-signal-analysis__date-control:focus-within {
  border-color: rgba(67, 207, 155, 0.62);
  box-shadow:
    0 0 0 2px rgba(67, 207, 155, 0.1),
    0 10px 24px rgba(9, 20, 37, 0.22);
}

.workbench-signal-analysis__field--date .workbench-signal-analysis__date-control input {
  height: 2rem;
  padding: 0 0.42rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--workbench-text);
  color-scheme: dark;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: calc(0.82rem - 1px);
  font-weight: 700;
  box-shadow: none;
  cursor: pointer;
}

.workbench-signal-analysis__field--date .workbench-signal-analysis__date-control input:focus {
  border: 0;
  box-shadow: none;
}

.workbench-signal-analysis__field--date input::-webkit-calendar-picker-indicator {
  opacity: 0.78;
  cursor: pointer;
}

.workbench-signal-analysis__field :is(input, select):focus {
  border-color: rgba(168, 85, 247, 0.66);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

.workbench-signal-analysis__table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 0.9rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.56) transparent;
}

.workbench-signal-analysis__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.workbench-signal-analysis__table th,
.workbench-signal-analysis__table td {
  padding: 0.72rem 0.64rem;
  border-bottom: 1px solid var(--workbench-border);
  text-align: center;
}

.workbench-signal-analysis__table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #120f18;
  color: var(--workbench-text-soft);
  font-size: 0.74rem;
}

.workbench-signal-analysis__table td {
  color: var(--workbench-text-muted);
  font-size: 0.82rem;
}

.workbench-signal-analysis__head-label--phone {
  display: none;
}

.workbench-signal-analysis__table :is(th, td):first-child {
  width: 8.96%;
  padding-left: 0.64rem;
  text-align: center;
}

.workbench-signal-analysis__table :is(th, td):nth-child(2) {
  width: 11%;
}

.workbench-signal-analysis__table :is(th, td):nth-child(3) {
  width: 12%;
}

.workbench-signal-analysis__table :is(th, td):nth-child(4) {
  width: 8%;
}

.workbench-signal-analysis__table :is(th, td):nth-child(5) {
  width: 16.74%;
}

.workbench-signal-analysis__table :is(th, td):nth-child(6) {
  width: 11%;
}

.workbench-signal-analysis__table :is(th, td):nth-child(7) {
  width: 11%;
}

.workbench-signal-analysis__table :is(th, td):nth-child(8) {
  width: 10.8%;
}

.workbench-signal-analysis__table :is(th, td):nth-child(9) {
  width: 10.5%;
}

.workbench-signal-analysis__table tr[hidden] {
  display: none;
}

.workbench-signal-analysis__change.is-up {
  color: #ff718d;
}

.workbench-signal-analysis__change.is-down {
  color: #43cf9b;
}

@media (max-width: 1180px) and (min-width: 721px) {
  .workbench-signal-analysis__filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

:root[data-workbench-display-resolution="fhd"] .workbench-signal-analysis__field > span,
:root[data-workbench-display-resolution="fhd"] .workbench-signal-analysis__field :is(input, select) {
  font-size: calc(0.86rem + 1px);
}

:root[data-workbench-display-resolution="fhd"] .workbench-signal-analysis__field input::placeholder {
  font-size: 0.86rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis-page {
  /* Match other pages: fill main width, do not re-apply shell width (causes right gutter). */
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  overflow: visible;
  box-sizing: border-box;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  max-height: none;
  overflow: visible;
  box-sizing: border-box;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__head {
  align-items: center;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__filters {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__field--stock {
  grid-column: 1 / -1;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__field--range {
  grid-column: 1 / -1;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__field > span {
  font-size: 13px;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__field :is(input, select):not(:focus) {
  font-size: 13px !important;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__field :is(input, select):focus {
  font-size: 13px !important;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__field input::placeholder {
  font-size: 13px;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__field :is(
  input[data-signal-analysis-stock],
  input[data-signal-analysis-sector],
  select[data-signal-analysis-type],
  input[data-signal-analysis-min],
  input[data-signal-analysis-max]
) {
  font-size: 12px !important;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__field :is(
  input[data-signal-analysis-stock],
  input[data-signal-analysis-sector],
  input[data-signal-analysis-min],
  input[data-signal-analysis-max]
)::placeholder {
  font-size: 12px;
}

:root[data-workbench-display-resolution="qhd"] :is(
  .workbench-shell--watch-portfolio-preview .workbench-watch-index__search input,
  .workbench-shell--stock-theme-admin .workbench-watch-index__search input,
  .workbench-shell--task .workbench-record-search input
) {
  font-size: calc(0.86rem - 2px);
}

:root[data-workbench-display-resolution="qhd"] :is(
  .workbench-shell--watch-portfolio-preview .workbench-watch-index__search input::placeholder,
  .workbench-shell--stock-theme-admin .workbench-watch-index__search input::placeholder,
  .workbench-shell--task .workbench-record-search input::placeholder
) {
  font-size: calc(0.86rem - 2px);
}

:root[data-workbench-display-resolution="fhd"] :is(
  .workbench-shell--watch-portfolio-preview .workbench-watch-index__search input,
  .workbench-shell--stock-theme-admin .workbench-watch-index__search input,
  .workbench-shell--task .workbench-record-search input
) {
  font-size: calc(0.86rem + 1px);
}

:root[data-workbench-display-resolution="fhd"] :is(
  .workbench-shell--watch-portfolio-preview .workbench-watch-index__search input::placeholder,
  .workbench-shell--stock-theme-admin .workbench-watch-index__search input::placeholder,
  .workbench-shell--task .workbench-record-search input::placeholder
) {
  font-size: 0.86rem;
}

:root[data-workbench-display-resolution="phone"] :is(
  .workbench-shell--watch-portfolio-preview .workbench-watch-index__search input,
  .workbench-shell--stock-theme-admin .workbench-watch-index__search input,
  .workbench-shell--task .workbench-record-search input
) {
  font-size: 12px !important;
}

:root[data-workbench-display-resolution="phone"] :is(
  .workbench-shell--watch-portfolio-preview .workbench-watch-index__search input::placeholder,
  .workbench-shell--stock-theme-admin .workbench-watch-index__search input::placeholder,
  .workbench-shell--task .workbench-record-search input::placeholder
) {
  font-size: 12px;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__date-control {
  padding: 0.16rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__field--date .workbench-signal-analysis__date-control input {
  height: 1.62rem;
  text-align: left;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__field--date input::-webkit-date-and-time-value,
:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__field--date input::-webkit-datetime-edit {
  min-width: 0;
  font-size: calc(0.72rem - 1px);
  text-align: left;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__table-wrap {
  /* Document scroll only: nested overflow + sticky thead white-screens iOS Safari on large tables. */
  flex: none;
  max-height: none;
  overflow: visible;
  -webkit-overflow-scrolling: auto;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__table th {
  position: static;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__table th,
:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__table td {
  padding: 0.66rem 0.28rem;
  font-size: 0.72rem;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__table :is(th, td):first-child {
  width: 18.4%;
  padding-left: 0.36rem;
  text-align: left;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__head-label--desktop {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__head-label--phone {
  display: inline;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__table :is(th, td):nth-child(2) {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__table :is(th, td):nth-child(3) {
  width: 21%;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__table :is(th, td):nth-child(4) {
  width: 17%;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__table th:nth-child(4) {
  white-space: nowrap;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__table :is(th, td):nth-child(5) {
  width: 24.4%;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__table :is(th, td):nth-child(6) {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__table :is(th, td):nth-child(7) {
  display: none;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__table :is(th, td):nth-child(8) {
  width: 19.2%;
}

:root[data-workbench-display-resolution="phone"] .workbench-signal-analysis__table :is(th, td):nth-child(9) {
  display: none;
}
