.quote-symbol {
  position: relative;
}
.watchlist-heading > button {
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  flex: 0 0 26px;
}
.watchlist-heading > button > svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.quote-row {
  position: relative;
  transition: none;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "lnum", "tnum";
}
.quote-symbol b {
  line-height: 14px;
}
html[data-theme="dark"] .quote-symbol b {
  color: #b8b8b8;
}
html[data-theme="dark"] .quote-row td.positive {
  color: #22ab94;
}
.quote-row::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  pointer-events: none;
  content: "";
}
.quote-row:hover::after {
  border-color: var(--control-line);
}
html[data-theme] .quote-row.selected {
  box-shadow: none;
  color: var(--text);
}
.quote-row.selected::after,
.quote-row:focus-visible::after {
  border-color: var(--text);
}
.watchlist-flag {
  position: absolute;
  left: -16px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 27px;
  padding: 2px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--flag-color, var(--muted, #9598a1));
  opacity: 0;
  touch-action: manipulation;
}
.watchlist-flag svg {
  width: 14px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.watchlist-flag.is-marked svg {
  fill: currentColor;
}
.watchlist-flag.is-marked,
.quote-row:hover .watchlist-flag,
.quote-row:focus-within .watchlist-flag {
  opacity: 1;
}
.watchlist-context-menu {
  min-width: 0;
  max-height: calc(100dvh - 12px);
  overflow: auto;
}
.watchlist-flag-palette {
  display: flex;
  justify-content: space-between;
  gap: 2px;
  padding: 8px;
}
.watchlist-flag-palette > button {
  display: grid;
  place-items: center;
  flex: 0 1 30px;
  width: 30px;
  min-width: 24px;
  height: 30px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--muted, #9598a1);
}
.watchlist-flag-palette > button > span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--flag-color);
}
.watchlist-flag-palette > button[aria-checked="true"] > span {
  outline: 1px solid var(--text, #d1d4dc);
  outline-offset: 3px;
}
.watchlist-flag-palette > button:focus-visible {
  outline: none;
}
.watchlist-flag-palette > button:focus-visible > :is(span, svg) {
  border-radius: 50%;
  outline: 2px solid var(--accent, #2962ff);
  outline-offset: 3px;
}
.watchlist-flag-palette > button[aria-checked="true"]:focus-visible > span {
  box-shadow:
    0 0 0 2px var(--surface, #131722),
    0 0 0 3px var(--text, #d1d4dc);
  outline-offset: 4px;
}
.watchlist-flag-palette > button:hover:not(:disabled) {
  background: var(--surface-hover, #2a2e39);
}
.watchlist-unflag svg,
.watchlist-flag-filter svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.watchlist-list-picker {
  margin-right: auto;
  min-width: 0;
}
.watchlist-list-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 28px;
  padding: 2px;
  border: 0;
  background: transparent;
  color: var(--text, #d1d4dc);
  font-size: 14px;
  font-weight: 550;
}
.watchlist-list-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.watchlist-list-chevron {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  fill: none;
  stroke: currentColor;
}
.watchlist-list-marker {
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}
.watchlist-list-marker svg {
  width: 14px;
  height: 12px;
  fill: currentColor;
}
.watchlist-list-marker .watchlist-all-icon {
  fill: none;
  stroke: currentColor;
}
.watchlist-lists-menu {
  position: fixed;
  z-index: 55;
  width: 240px;
  max-width: calc(100vw - 16px);
  overflow: auto;
  padding: 5px;
  border: 1px solid var(--control-line);
  border-radius: 6px;
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: 0 4px 18px var(--shadow);
}
.watchlist-lists-menu > button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 34px;
  padding: 5px 9px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  text-align: left;
}
.watchlist-list-count {
  margin-left: auto;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.watchlist-lists-menu > button[aria-checked="true"] {
  background: var(--surface-selected);
}
.watchlist-lists-divider {
  border-top: 1px solid var(--line);
  margin: 5px 4px;
}
.watchlist-flag:focus-visible,
.watchlist-list-trigger:focus-visible,
.watchlist-lists-menu button:focus-visible {
  outline: 2px solid var(--accent, #2962ff);
  outline-offset: -2px;
}
.watchlist-flag-palette button:disabled,
.watchlist-list-trigger:disabled,
.watchlist-lists-menu button:disabled {
  opacity: 0.4;
  cursor: default;
}
@media (hover: none), (pointer: coarse) {
  .quote-row td:first-child {
    padding-left: 28px;
  }
  .watchlist-flag {
    opacity: 1;
    left: -28px;
    width: 26px;
    height: 30px;
  }
  .watchlist-list-trigger,
  .watchlist-lists-menu > button {
    min-height: 36px;
  }
  .watchlist-flag-palette > button {
    height: 36px;
  }
}
