:root {
  --selection-brand: #0aa6a6;
  --selection-brand-dark: #087e83;
  --selection-ink: #0b1720;
  --selection-body: #34424c;
  --selection-muted: #7f8b95;
  --selection-line: #e5ecef;
  --selection-soft: #f5f8f9;
  --selection-up: #e5484d;
  --selection-down: #079461;
}

/* On-demand multi-model stock research */
.multi-model-research {
  display: grid;
  gap: 16px;
}

.research-consensus {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.research-consensus > span,
.research-model-empty {
  padding: 12px;
  border: 1px solid var(--line, #dfe5ec);
  border-radius: 12px;
  background: var(--surface-soft, #f7f9fb);
}

.research-consensus small,
.research-consensus strong {
  display: block;
}

.research-consensus strong {
  margin-top: 4px;
}

.research-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.research-model-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line, #dfe5ec);
  border-radius: 14px;
  background: #fff;
  overflow-wrap: anywhere;
}

.research-model-card.ai {
  border-color: color-mix(in srgb, var(--accent, #2f6fed) 34%, #dfe5ec);
  background: color-mix(in srgb, var(--accent, #2f6fed) 4%, #fff);
}

.research-model-card-head,
.research-ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.research-model-card-head em {
  color: var(--accent, #2f6fed);
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 800;
}

.research-model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0;
}

.research-model-tags span {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--surface-soft, #f1f4f8);
  color: var(--muted, #667085);
  font-size: .72rem;
}

.research-model-list {
  margin-top: 10px;
  font-size: .8rem;
}

.research-model-list ul {
  margin: 5px 0 0;
  padding-left: 18px;
}

.research-model-time,
.research-ai-head small {
  display: block;
  margin-top: 9px;
  color: var(--muted, #667085);
  overflow-wrap: anywhere;
}

.research-ai-section {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line, #dfe5ec);
}

.research-ai-error {
  margin: 0;
  color: var(--danger, #b42318);
}

@media (max-width: 900px) {
  .research-model-grid,
  .research-consensus {
    grid-template-columns: 1fr;
  }

  .research-ai-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

body.is-selection-page {
  --sidebar: 184px;
  background: #fff !important;
  color: var(--selection-ink);
}

.is-selection-page .sidebar {
  width: 184px !important;
  gap: 12px;
  padding: 16px 12px;
  border-color: var(--selection-line);
  background: #fff !important;
  backdrop-filter: none;
}

.is-selection-page .brand {
  padding: 4px 6px 16px;
}

.is-selection-page .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--selection-brand);
  color: #fff;
  box-shadow: none;
}

.is-selection-page .brand-name {
  color: var(--selection-ink);
  font-size: 16px;
  font-weight: 800;
}

.is-selection-page .brand-kicker {
  color: var(--selection-muted);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.is-selection-page .nav-list {
  gap: 3px;
}

.is-selection-page .nav-button {
  grid-template-columns: 22px 1fr auto;
  min-height: 44px;
  border-radius: 7px;
  color: #53616b;
  padding: 10px;
}

.is-selection-page .nav-button:hover,
.is-selection-page .nav-button.active {
  background: #eff8f8;
  color: var(--selection-brand-dark);
}

.is-selection-page .nav-button.active {
  box-shadow: inset 3px 0 0 var(--selection-brand);
}

.is-selection-page .nav-icon {
  color: var(--selection-brand);
}

.is-selection-page .nav-count {
  color: #9aa5ad;
}

.is-selection-page .sidebar-panel {
  display: none;
}

.is-selection-page .topbar {
  min-height: 64px;
  padding: 10px 18px;
  border-color: var(--selection-line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.is-selection-page .topbar-title {
  min-width: 74px;
}

.is-selection-page .topbar-title .eyebrow {
  display: none;
}

.is-selection-page .topbar h1 {
  color: var(--selection-ink);
  font-size: 22px;
  letter-spacing: 0;
}

.is-selection-page .toolbar {
  width: min(760px, calc(100vw - 300px));
  flex-wrap: nowrap;
}

.is-selection-page .search {
  width: min(560px, 100%);
  min-height: 42px;
  margin-right: auto;
  border-color: #dce5e8;
  border-radius: 7px;
  background: #f8fafb;
  box-shadow: none;
}

.is-selection-page .theme-button,
.is-selection-page #exportButton,
.is-selection-page #importButton,
.is-selection-page #settingsButton {
  display: none;
}

.is-selection-page #refreshButton {
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  background: var(--selection-brand);
  color: #fff;
  box-shadow: none;
}

.is-selection-page .workspace {
  display: block;
  padding: 0;
}

.is-selection-page .content-column,
.is-selection-page .module-panel {
  display: block;
}

.is-selection-page .market-strip,
.is-selection-page .module-toolbar,
.is-selection-page .detail-panel,
.is-selection-page .disclaimer {
  display: none !important;
}

.selection-queue-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 16px;
  min-height: calc(100vh - 64px);
  padding: 24px 18px 28px;
  background: #fff;
}

.selection-queue-main {
  min-width: 0;
}

.selection-queue-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 2px 2px 18px;
}

.selection-queue-heading span,
.mobile-selection-head span,
.mobile-selection-header span {
  color: var(--selection-brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.selection-queue-heading h2 {
  margin: 4px 0 7px;
  color: var(--selection-ink);
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
}

.selection-queue-heading p {
  margin: 0;
  color: var(--selection-muted);
  font-size: 14px;
  line-height: 1.5;
}

.selection-freshness {
  flex: 0 0 auto;
  text-align: right;
}

.selection-freshness strong,
.selection-freshness span {
  display: block;
}

.selection-freshness strong {
  color: var(--selection-body);
  font-size: 13px;
}

.selection-freshness span {
  margin-top: 4px;
  color: var(--selection-muted);
  font-size: 11px;
}

.selection-status {
  margin-bottom: 12px;
  border-left: 3px solid #d69b2d;
  background: #fff8e8;
  color: #72551f;
  padding: 9px 12px;
  font-size: 12px;
  line-height: 1.45;
}

.selection-status.loading {
  border-left-color: var(--selection-brand);
  background: #f0fbfa;
  color: #32666a;
}

.selection-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  margin-bottom: 14px;
  border: 1px solid var(--selection-line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
}

.selection-market-tabs,
.selection-preset-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.selection-market-tabs {
  padding: 3px;
  border-radius: 7px;
  background: var(--selection-soft);
}

.selection-filter-bar button,
.selection-market-tabs button,
.selection-preset-tabs button {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #5e6972;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
}

.selection-market-tabs button.active,
.selection-preset-tabs button.active {
  border-color: #c6e7e5;
  background: #eaf8f7;
  color: var(--selection-brand-dark);
}

.selection-preset-tabs {
  margin-left: 4px;
}

.selection-filter-bar .selection-filter-secondary {
  margin-left: auto;
  border-color: var(--selection-line);
  background: #fff;
}

.selection-filter-bar .selection-filter-primary {
  min-width: 92px;
  background: var(--selection-brand);
  color: #fff;
}

.candidate-list {
  overflow: hidden;
  border: 1px solid var(--selection-line);
  border-radius: 8px;
  background: #fff;
}

.candidate-list-head,
.candidate-row {
  display: grid;
  grid-template-columns: 28px minmax(100px, .9fr) 90px 54px minmax(90px, .75fr) minmax(120px, 1fr) 70px 78px;
  gap: 8px;
  align-items: center;
}

.candidate-list-head {
  min-height: 42px;
  border-bottom: 1px solid var(--selection-line);
  background: #fafcfc;
  color: var(--selection-muted);
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
}

.candidate-row {
  min-height: 126px;
  border-bottom: 1px solid var(--selection-line);
  padding: 13px 12px;
  cursor: pointer;
  transition: background .16s ease;
}

.candidate-row:last-child {
  border-bottom: 0;
}

.candidate-row:hover {
  background: #fbfdfd;
}

.candidate-rank {
  color: var(--selection-brand);
  font-size: 22px;
  font-weight: 850;
  text-align: center;
}

.candidate-stock,
.candidate-quote,
.candidate-score,
.candidate-actions {
  min-width: 0;
}

.candidate-stock strong,
.candidate-stock span,
.candidate-quote strong,
.candidate-quote span,
.candidate-score strong,
.candidate-score span {
  display: block;
}

.candidate-stock strong {
  overflow: hidden;
  color: var(--selection-ink);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-stock span {
  overflow: hidden;
  margin-top: 6px;
  color: var(--selection-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-quote strong {
  color: var(--selection-ink);
  font-size: 14px;
}

.candidate-quote > span {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 800;
}

.candidate-quote .mobile-sparkline {
  width: 72px;
  height: 28px;
  margin-top: 8px;
}

.selection-queue-page .up,
.mobile-candidate-queue .up {
  color: var(--selection-up) !important;
}

.selection-queue-page .down,
.mobile-candidate-queue .down {
  color: var(--selection-down) !important;
}

.selection-queue-page .mobile-sparkline.up path,
.mobile-candidate-queue .mobile-sparkline.up path {
  stroke: var(--selection-up) !important;
}

.selection-queue-page .mobile-sparkline.down path,
.mobile-candidate-queue .mobile-sparkline.down path {
  stroke: var(--selection-down) !important;
}

.candidate-score {
  text-align: center;
}

.candidate-score strong {
  color: var(--selection-brand);
  font-size: 22px;
}

.candidate-score span {
  margin-top: 4px;
  color: var(--selection-muted);
  font-size: 10px;
}

.candidate-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.candidate-signals span {
  border: 1px solid #c9e5e4;
  border-radius: 5px;
  background: #f4fbfa;
  color: #28747a;
  padding: 4px 6px;
  font-size: 10px;
  line-height: 1;
}

.candidate-reason {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--selection-body);
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.candidate-risk {
  justify-self: start;
  border: 1px solid #f0c9a6;
  border-radius: 5px;
  background: #fff8ef;
  color: #b56a24;
  padding: 5px 7px;
  font-size: 10px;
  line-height: 1.2;
}

.candidate-actions {
  display: grid;
  gap: 7px;
}

.candidate-actions button {
  min-height: 34px;
  border: 1px solid var(--selection-line);
  border-radius: 6px;
  background: #fff;
  color: var(--selection-brand-dark);
  padding: 0 5px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: none;
}

.candidate-actions button.primary {
  border-color: var(--selection-brand);
  background: var(--selection-brand);
  color: #fff;
}

.candidate-actions button.tracked {
  border-color: #c7e6e4;
  background: #edf9f8;
}

.tracking-queue {
  align-self: start;
  position: sticky;
  top: 82px;
  overflow: hidden;
  border: 1px solid var(--selection-line);
  border-radius: 8px;
  background: #fff;
}

.tracking-queue > header,
.mobile-tracking-preview > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--selection-line);
  padding: 16px;
}

.tracking-queue > header span,
.tracking-queue > header strong {
  display: block;
}

.tracking-queue > header span {
  color: var(--selection-ink);
  font-size: 16px;
  font-weight: 850;
}

.tracking-queue > header strong {
  margin-top: 4px;
  color: var(--selection-muted);
  font-size: 11px;
}

.tracking-queue > header button,
.mobile-tracking-preview > header button {
  border: 0;
  background: transparent;
  color: var(--selection-brand-dark);
  padding: 6px;
  font-size: 12px;
  font-weight: 800;
}

.tracking-queue-list {
  padding: 0 16px;
}

.tracking-queue-item {
  border-bottom: 1px solid var(--selection-line);
  padding: 16px 0;
  cursor: pointer;
}

.tracking-queue-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.tracking-queue-item-head span {
  border-radius: 4px;
  background: #eaf8f7;
  color: var(--selection-brand-dark);
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 800;
}

.tracking-queue-item-head span.verify {
  background: #fff5e8;
  color: #b56a24;
}

.tracking-queue-item-head span.holding {
  background: #f3efff;
  color: #7159a6;
}

.tracking-queue-item-head small {
  color: var(--selection-muted);
  font-size: 10px;
}

.tracking-queue-item > strong {
  color: var(--selection-ink);
  font-size: 14px;
}

.tracking-queue-item > p {
  margin: 7px 0 11px;
  color: #65717a;
  font-size: 11px;
  line-height: 1.5;
}

.tracking-next-action {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 7px;
  align-items: start;
}

.tracking-next-action span,
.tracking-next-action b {
  font-size: 11px;
}

.tracking-next-action span {
  color: var(--selection-muted);
}

.tracking-next-action b {
  color: var(--selection-body);
  font-weight: 700;
}

.tracking-queue-add {
  width: calc(100% - 32px);
  min-height: 40px;
  margin: 16px;
  border: 1px solid #b9dddb;
  border-radius: 6px;
  background: #fff;
  color: var(--selection-brand-dark);
  font-weight: 800;
  box-shadow: none;
}

.tracking-queue-empty,
.selection-queue-empty {
  padding: 26px 18px;
  color: var(--selection-muted);
  text-align: center;
}

.tracking-queue-empty strong,
.selection-queue-empty strong {
  color: var(--selection-ink);
}

.tracking-queue-empty p,
.selection-queue-empty p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.selection-queue-empty button {
  margin-top: 14px;
  border-color: var(--selection-brand);
  color: var(--selection-brand-dark);
}

@media (max-width: 1180px) and (min-width: 821px) {
  .selection-queue-page {
    grid-template-columns: 1fr;
  }

  .tracking-queue {
    position: static;
  }

  .tracking-queue-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }
}

@media (max-width: 820px) {
  body.is-selection-page {
    background: #f6f9fa;
  }

  .is-selection-page .topbar,
  .is-selection-page .sidebar,
  .is-selection-page .market-strip,
  .is-selection-page .module-toolbar,
  .is-selection-page .disclaimer {
    display: none !important;
  }

  .is-selection-page .app-shell {
    margin-left: 0;
  }

  .is-selection-page .workspace,
  .is-selection-page .content-column,
  .is-selection-page .module-panel {
    display: block !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 !important;
  }

  .mobile-candidate-queue {
    display: grid;
    gap: 13px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    padding: 16px 12px calc(var(--mobile-nav-safe, 112px) + 16px);
  }

  .mobile-candidate-queue > * {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }

  .mobile-selection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 1px;
  }

  .mobile-selection-header h1 {
    margin: 3px 0 0;
    color: var(--selection-ink);
    font-size: 23px;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .mobile-selection-header button {
    min-width: 48px;
    min-height: 44px;
    border: 1px solid #cbe6e5;
    border-radius: 8px;
    background: #fff;
    color: var(--selection-brand-dark);
    font-weight: 800;
  }

  .selection-status.mobile {
    margin: 0;
    border-radius: 6px;
  }

  .mobile-selection-filters {
    display: grid;
    gap: 10px;
    border-bottom: 1px solid var(--selection-line);
    padding-bottom: 12px;
  }

  .mobile-selection-filters nav,
  .mobile-selection-filters > div {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mobile-selection-filters nav::-webkit-scrollbar,
  .mobile-selection-filters > div::-webkit-scrollbar {
    display: none;
  }

  .mobile-selection-filters button {
    flex: 0 0 auto;
    min-height: 38px;
    border: 1px solid var(--selection-line);
    border-radius: 7px;
    background: #fff;
    color: #5f6c75;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 750;
  }

  .mobile-selection-filters nav button.active {
    border-color: var(--selection-brand);
    background: var(--selection-brand);
    color: #fff;
  }

  .mobile-candidate-list {
    display: grid;
    gap: 10px;
  }

  .mobile-selection-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 1px 2px;
  }

  .mobile-selection-head h2 {
    margin: 3px 0 0;
    color: var(--selection-ink);
    font-size: 19px;
    line-height: 1.15;
  }

  .mobile-selection-head small {
    color: var(--selection-muted);
    font-size: 11px;
  }

  .mobile-candidate-card {
    overflow: hidden;
    border: 1px solid var(--selection-line);
    border-radius: 8px;
    background: #fff;
    padding: 13px;
  }

  .mobile-candidate-top {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: start;
  }

  .mobile-candidate-rank {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #e9f8f7;
    color: var(--selection-brand-dark);
    font-size: 13px;
    font-weight: 850;
  }

  .mobile-candidate-top h3 {
    overflow-wrap: anywhere;
    margin: 1px 0 4px;
    color: var(--selection-ink);
    font-size: 16px;
  }

  .mobile-candidate-top p {
    margin: 0;
    color: var(--selection-muted);
    font-size: 11px;
    line-height: 1.35;
  }

  .mobile-candidate-quote {
    text-align: right;
  }

  .mobile-candidate-quote strong,
  .mobile-candidate-quote span {
    display: block;
  }

  .mobile-candidate-quote strong {
    color: var(--selection-ink);
    font-size: 15px;
  }

  .mobile-candidate-quote span {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-candidate-scoreline {
    display: grid;
    grid-template-columns: auto 78px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    margin-top: 12px;
    border-top: 1px solid #edf1f2;
    padding-top: 10px;
  }

  .mobile-candidate-scoreline > strong {
    color: var(--selection-brand);
    font-size: 20px;
  }

  .mobile-candidate-scoreline > strong small {
    display: block;
    margin-top: 2px;
    color: var(--selection-muted);
    font-size: 9px;
    font-weight: 700;
  }

  .mobile-candidate-scoreline .mobile-sparkline {
    width: 78px;
    height: 32px;
  }

  .mobile-candidate-scoreline > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
  }

  .mobile-candidate-scoreline > div span {
    border: 1px solid #cae5e4;
    border-radius: 4px;
    color: #28747a;
    padding: 3px 5px;
    font-size: 9px;
  }

  .mobile-candidate-reason {
    margin: 10px 0 8px;
    color: var(--selection-body);
    font-size: 12px;
    line-height: 1.55;
  }

  .mobile-candidate-risk {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--selection-muted);
    font-size: 10px;
  }

  .mobile-candidate-risk b {
    color: #b56a24;
    font-size: 10px;
  }

  .mobile-candidate-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
  }

  .mobile-candidate-actions button {
    min-width: 0;
    min-height: 44px;
    border: 1px solid #cfe3e4;
    border-radius: 7px;
    background: #fff;
    color: var(--selection-brand-dark);
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-candidate-actions button.primary {
    border-color: var(--selection-brand);
    background: var(--selection-brand);
    color: #fff;
  }

  .mobile-candidate-actions button.tracked {
    background: #edf8f7;
  }

  .mobile-tracking-preview {
    border: 1px solid var(--selection-line);
    border-radius: 8px;
    background: #fff;
  }

  .mobile-tracking-preview > header {
    padding: 13px;
  }

  .mobile-tracking-preview > header span {
    color: var(--selection-brand-dark);
    font-size: 11px;
    font-weight: 800;
  }

  .mobile-tracking-preview > header h2 {
    margin: 3px 0 0;
    color: var(--selection-ink);
    font-size: 17px;
  }

  .mobile-tracking-preview > div {
    padding: 0 13px;
  }

  .mobile-tracking-preview > div > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 62px;
    border: 0;
    border-bottom: 1px solid var(--selection-line);
    border-radius: 0;
    background: transparent;
    padding: 10px 0;
    text-align: left;
  }

  .mobile-tracking-preview > div > button:last-child {
    border-bottom: 0;
  }

  .mobile-tracking-preview button span,
  .mobile-tracking-preview button strong,
  .mobile-tracking-preview button small {
    display: block;
  }

  .mobile-tracking-preview button strong {
    color: var(--selection-ink);
    font-size: 13px;
  }

  .mobile-tracking-preview button small {
    margin-top: 4px;
    color: var(--selection-muted);
    font-size: 10px;
  }

  .mobile-tracking-preview button b {
    max-width: 42%;
    color: var(--selection-brand-dark);
    font-size: 10px;
    text-align: right;
  }

  .mobile-tracking-empty {
    margin: 0;
    color: var(--selection-muted);
    padding: 18px 0;
    font-size: 12px;
    text-align: center;
  }

  .is-selection-page .mobile-nav {
    border-top: 1px solid var(--selection-line);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -8px 24px rgba(14, 33, 42, .06);
  }

  .is-selection-page .mobile-nav .mobile-tab-button.active {
    color: var(--selection-brand-dark);
    background: transparent;
  }
}

@media (max-width: 380px) {
  .mobile-candidate-scoreline {
    grid-template-columns: auto 70px 1fr;
    gap: 6px;
  }

  .mobile-candidate-scoreline .mobile-sparkline {
    width: 70px;
  }
}

.recommendation-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-width: 0;
  color: var(--selection-muted, #64748b);
  font-size: 12px;
}

.recommendation-meta span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.recommendation-meta span:first-child {
  color: var(--selection-ink, #0f172a);
  font-weight: 700;
}

.load-more-recommendations {
  display: block;
  width: min(100%, 360px);
  margin: 18px auto 0;
  padding: 11px 18px;
  border: 1px solid rgba(15, 118, 110, .26);
  border-radius: 12px;
  background: rgba(20, 184, 166, .08);
  color: #0f766e;
  font-weight: 700;
  cursor: pointer;
}

.load-more-recommendations:disabled {
  cursor: wait;
  opacity: .62;
}

.recommendation-complete {
  margin: 14px 0 0;
  color: var(--selection-muted, #64748b);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 760px) {
  .recommendation-meta.mobile {
    align-items: flex-start;
    flex-direction: column;
    padding: 0 2px;
  }

  .load-more-recommendations.mobile {
    width: 100%;
  }
}
