/* Coming from WaniKani landing page — /coming-from-wanikani/ */

body.yomikamo-coming-from-wanikani {
  background: var(--yk-cream, #faf8f5);
  color: var(--yk-ink, #13121a);
  font-family: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ---- Staggered pain-row reveals ---- */
.yk-wk__pain-row {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-visible .yk-wk__pain-row { opacity: 1; transform: translateY(0); }
.is-visible .yk-wk__pain-row:nth-child(1) { transition-delay: 0s; }
.is-visible .yk-wk__pain-row:nth-child(2) { transition-delay: 0.06s; }
.is-visible .yk-wk__pain-row:nth-child(3) { transition-delay: 0.12s; }
.is-visible .yk-wk__pain-row:nth-child(4) { transition-delay: 0.18s; }
.is-visible .yk-wk__pain-row:nth-child(5) { transition-delay: 0.24s; }
.is-visible .yk-wk__pain-row:nth-child(6) { transition-delay: 0.30s; }
.is-visible .yk-wk__pain-row:nth-child(7) { transition-delay: 0.36s; }
.is-visible .yk-wk__pain-row:nth-child(8) { transition-delay: 0.42s; }
.is-visible .yk-wk__pain-row:nth-child(9) { transition-delay: 0.48s; }

/* ---- Animated bar fills ---- */
.yk-wk__bar-fill {
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.yk-wk__bar-fill[data-width] { width: 0; }
.is-visible .yk-wk__day-bar:nth-child(1) .yk-wk__bar-fill { transition-delay: 0.1s; }
.is-visible .yk-wk__day-bar:nth-child(2) .yk-wk__bar-fill { transition-delay: 0.2s; }
.is-visible .yk-wk__day-bar:nth-child(3) .yk-wk__bar-fill { transition-delay: 0.3s; }
.is-visible .yk-wk__day-bar:nth-child(4) .yk-wk__bar-fill { transition-delay: 0.4s; }
.is-visible .yk-wk__day-bar:nth-child(5) .yk-wk__bar-fill { transition-delay: 0.5s; }
.is-visible .yk-wk__day-bar:nth-child(6) .yk-wk__bar-fill { transition-delay: 0.6s; }
.is-visible .yk-wk__day-bar:nth-child(7) .yk-wk__bar-fill { transition-delay: 0.7s; }

/* ---- Staggered checklist row reveals ---- */
.yk-wk__check-row:not(.yk-wk__check-row--header) {
  opacity: 0;
  transform: translateX(-0.5rem);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-visible .yk-wk__check-row:not(.yk-wk__check-row--header) { opacity: 1; transform: translateX(0); }
.is-visible .yk-wk__check-row:nth-child(2) { transition-delay: 0.04s; }
.is-visible .yk-wk__check-row:nth-child(3) { transition-delay: 0.08s; }
.is-visible .yk-wk__check-row:nth-child(4) { transition-delay: 0.12s; }
.is-visible .yk-wk__check-row:nth-child(5) { transition-delay: 0.16s; }
.is-visible .yk-wk__check-row:nth-child(6) { transition-delay: 0.20s; }
.is-visible .yk-wk__check-row:nth-child(7) { transition-delay: 0.24s; }
.is-visible .yk-wk__check-row:nth-child(8) { transition-delay: 0.28s; }
.is-visible .yk-wk__check-row:nth-child(9) { transition-delay: 0.32s; }
.is-visible .yk-wk__check-row:nth-child(10) { transition-delay: 0.36s; }
.is-visible .yk-wk__check-row:nth-child(11) { transition-delay: 0.40s; }

/* ---- Import step stagger ---- */
.yk-wk__import-step {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-visible .yk-wk__import-step { opacity: 1; transform: translateY(0); }
.is-visible .yk-wk__import-step:nth-child(1) { transition-delay: 0s; }
.is-visible .yk-wk__import-step:nth-child(3) { transition-delay: 0.15s; }
.is-visible .yk-wk__import-step:nth-child(5) { transition-delay: 0.30s; }

.yk-wk__import-arrow {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.is-visible .yk-wk__import-arrow { opacity: 0.3; }
.is-visible .yk-wk__import-arrow:nth-child(2) { transition-delay: 0.08s; }
.is-visible .yk-wk__import-arrow:nth-child(4) { transition-delay: 0.23s; }

@media (prefers-reduced-motion: reduce) {
  .yk-wk__pain-row,
  .yk-wk__check-row:not(.yk-wk__check-row--header),
  .yk-wk__import-step,
  .yk-wk__import-arrow {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .yk-wk__bar-fill {
    transition: none;
  }
}

/* ---- Pain points — compact table ---- */

.yk-wk__pain-table {
  margin-top: 2rem;
}
.yk-wk__pain-header {
  display: grid;
  grid-template-columns: 2.5rem 1fr 1fr;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--yk-rp-sand, #ece4da);
}
.yk-wk__pain-col-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.yk-wk__pain-col-label--wk {
  color: var(--yk-rp-rose, #d86d62);
}
.yk-wk__pain-col-label--yk {
  color: var(--yk-rp-teal, #1b7f7a);
}
.yk-wk__pain-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  align-items: start;
}
.yk-wk__pain-row:last-child {
  border-bottom: none;
}
.yk-wk__pain-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yk-rp-teal, #1b7f7a);
  opacity: 0.7;
}
.yk-wk__pain-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}
.yk-wk__pain-before {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--yk-rp-muted, #666);
}
.yk-wk__pain-after {
  font-size: 0.95rem;
}
@media (max-width: 700px) {
  .yk-wk__pain-header,
  .yk-wk__pain-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .yk-wk__pain-header div:first-child,
  .yk-wk__pain-icon {
    display: none;
  }
}

/* ---- Comparison table ---- */

.yk-wk__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.yk-wk__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.55;
}

.yk-wk__table th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  text-align: left;
  background: var(--yk-sand, #ece4da);
  color: var(--yk-ink-soft, #30303a);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Column-tinted header cells — three-way (4-col): Yomikamo column only */
.yk-wk__three-way thead th:nth-child(4) {
  background: rgba(27, 127, 122, 0.13);
  color: var(--yk-ink, #13121a);
}

.yk-wk__three-way tbody tr > td:nth-child(4) {
  background: rgba(27, 127, 122, 0.06);
  font-weight: 500;
}

.yk-wk__table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  vertical-align: top;
  color: var(--yk-ink, #13121a);
}

.yk-wk__table td > span {
  vertical-align: middle;
}

.yk-wk__table tr:last-child td {
  border-bottom: none;
}

/* Table inline icons */

.yk-wk__table-icon {
  width: 1.1rem;
  height: 1.1rem;
  vertical-align: middle;
  margin-right: 0.5rem;
  flex-shrink: 0;
  position: relative;
  top: -0.05em;
}

.yk-wk__table-icon--x {
  color: var(--yk-coral, #b0503e);
  opacity: 0.5;
}

.yk-wk__table-icon--check {
  color: var(--yk-teal, #1b7f7a);
}

/* ---- Info tooltips on comparison table ---- */

.yk-wk__info-tip {
  display: inline-block;
  margin-left: 0.3em;
  font-size: 0.85em;
  opacity: 0.5;
  cursor: help;
  vertical-align: middle;
}

.yk-wk__info-tip:hover {
  opacity: 0.85;
}

/* ---- Checklist comparison ---- */

.yk-wk__checklist {
  margin-top: 2rem;
}
.yk-wk__check-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  align-items: center;
  font-size: 0.95rem;
}
.yk-wk__check-row--header {
  border-bottom: 2px solid var(--yk-rp-sand, #ece4da);
  padding-bottom: 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--yk-rp-muted, #666);
}
.yk-wk__check-feature {
  font-weight: 600;
}
.yk-wk__check-wk {
  color: var(--yk-rp-muted, #666);
  font-size: 0.9rem;
}
.yk-wk__check-yk {
  color: var(--yk-rp-ink, #13121a);
  font-size: 0.9rem;
}
@media (max-width: 700px) {
  .yk-wk__check-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .yk-wk__check-row--header span:nth-child(2),
  .yk-wk__check-row--header span:nth-child(3) {
    display: none;
  }
  .yk-wk__check-wk::before { content: 'WK: '; font-weight: 600; }
  .yk-wk__check-yk::before { content: 'YK: '; font-weight: 600; }
}

/* ---- Import steps ---- */

.yk-wk__import-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.yk-wk__import-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.yk-wk__import-step-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  color: var(--yk-teal, #1b7f7a);
  opacity: 0.5;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 0.1rem;
}

/* ---- Import arrows ---- */

.yk-wk__import-arrow {
  text-align: center;
  color: var(--yk-rp-teal, #1b7f7a);
  opacity: 0.3;
  padding: 0.25rem 0 0.25rem 1.125rem;
  font-size: 1.25rem;
}

/* ---- Tradeoffs — stacked card ---- */

.yk-wk__tradeoff-card {
  background: var(--yk-rp-cream, #f7f3ee);
  border-radius: 1rem;
  overflow: hidden;
  margin-top: 2rem;
}
.yk-wk__tradeoff-gains {
  padding: 1.75rem 1.75rem 1rem;
}
.yk-wk__tradeoff-loses {
  padding: 1rem 1.75rem 1.75rem;
  background: rgba(0,0,0,0.02);
  border-top: 1px solid rgba(0,0,0,0.04);
}
.yk-wk__tradeoff-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.yk-wk__tradeoff-gains .yk-wk__tradeoff-label {
  color: var(--yk-rp-teal, #1b7f7a);
}
.yk-wk__tradeoff-loses .yk-wk__tradeoff-label {
  color: var(--yk-rp-muted, #666);
}

/* Inline check and dash icons */

.yk-wk__check {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--yk-teal, #1b7f7a);
  flex-shrink: 0;
  margin-top: 0.15em;
}

.yk-wk__dash {
  color: var(--yk-ink-soft, #30303a);
  flex-shrink: 0;
  opacity: 0.5;
}

/* ---- Burnout day-by-day bars ---- */

.yk-wk__bar-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 600px) {
  .yk-wk__bar-compare { grid-template-columns: 1fr; }
}
.yk-wk__bar-col {
  background: var(--yk-rp-cream, #f7f3ee);
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem;
}
.yk-wk__bar-header {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 1rem;
}
.yk-wk__bar-col--bad .yk-wk__bar-header {
  color: var(--yk-rp-rose, #d86d62);
}
.yk-wk__bar-col--good .yk-wk__bar-header {
  color: var(--yk-rp-teal, #1b7f7a);
}
.yk-wk__day-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}
.yk-wk__day-label {
  width: 3rem;
  flex-shrink: 0;
  font-weight: 500;
}
.yk-wk__bar-track {
  flex: 1;
  height: 0.75rem;
  border-radius: 0.375rem;
  background: rgba(0,0,0,0.06);
  overflow: hidden;
}
.yk-wk__bar-fill {
  height: 100%;
  border-radius: 0.375rem;
}
.yk-wk__bar-col--bad .yk-wk__bar-fill {
  background: var(--yk-rp-rose, #d86d62);
}
.yk-wk__bar-col--good .yk-wk__bar-fill {
  background: var(--yk-rp-teal, #1b7f7a);
}
.yk-wk__bar-num {
  width: 2.5rem;
  text-align: right;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---- Three-way comparison table ---- */

.yk-wk__three-way-row-header {
  font-weight: 600;
  white-space: nowrap;
  color: var(--yk-ink-soft, #30303a);
  padding: 1rem 1.25rem;
  background: var(--yk-sand, #ece4da);
  font-size: 0.875rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.yk-wk__three-way td {
  min-width: 9rem;
}

/* ---- Responsive ---- */

/* (responsive rules for pain table, checklist, and bar-compare are inline above) */

/* ---- Dark mode (system preference) ---- */

@media (prefers-color-scheme: dark) {
  html:not(.yk-theme-light):not(.yk-theme-dark) body.yomikamo-coming-from-wanikani {
    background: #0f1117;
    color: var(--yk-ink, #c0caf5);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__pain-row {
    border-bottom-color: rgba(192, 202, 245, 0.08);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__pain-header {
    border-bottom-color: rgba(192, 202, 245, 0.15);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__import-step {
    background: rgba(21, 25, 33, 0.92);
    border-color: rgba(192, 202, 245, 0.12);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__pain-icon {
    color: #7aa2f7;
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__pain-before {
    color: var(--yk-ink-soft, rgba(192, 202, 245, 0.72));
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__pain-after {
    color: var(--yk-ink, #c0caf5);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__checklist {
    color: var(--yk-ink, #c0caf5);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__check-row {
    border-bottom-color: rgba(192, 202, 245, 0.06);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__check-row--header {
    border-bottom-color: rgba(192, 202, 245, 0.15);
    color: var(--yk-ink-soft, rgba(192, 202, 245, 0.72));
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__check-wk {
    color: var(--yk-ink-soft, rgba(192, 202, 245, 0.55));
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__check-yk {
    color: var(--yk-ink, #c0caf5);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__table-wrap {
    border-color: rgba(192, 202, 245, 0.12);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__table th {
    background: rgba(21, 25, 33, 0.92);
    color: var(--yk-ink-soft, rgba(192, 202, 245, 0.72));
    border-bottom-color: rgba(192, 202, 245, 0.08);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__three-way thead th:nth-child(4) {
    background: rgba(115, 218, 202, 0.1);
    color: #73daca;
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__three-way tbody tr > td:nth-child(4) {
    background: rgba(115, 218, 202, 0.06);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__table td {
    color: var(--yk-ink, #c0caf5);
    border-bottom-color: rgba(192, 202, 245, 0.04);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__import-step-num {
    color: rgba(122, 162, 247, 0.5);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__import-arrow {
    color: #7aa2f7;
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__check {
    color: var(--yk-teal, #7aa2f7);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__dash {
    color: var(--yk-ink-soft, rgba(192, 202, 245, 0.72));
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__bar-col {
    background: rgba(21, 25, 33, 0.92);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__bar-track {
    background: rgba(192, 202, 245, 0.08);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__bar-col--bad .yk-wk__bar-fill {
    background: #f7768e;
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__bar-col--good .yk-wk__bar-fill {
    background: #73daca;
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__bar-col--bad .yk-wk__bar-header {
    color: #f7768e;
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__bar-col--good .yk-wk__bar-header {
    color: #73daca;
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__tradeoff-card {
    background: rgba(21, 25, 33, 0.92);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__tradeoff-loses {
    background: rgba(0, 0, 0, 0.15);
    border-top-color: rgba(192, 202, 245, 0.08);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__tradeoff-gains .yk-wk__tradeoff-label {
    color: #73daca;
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__tradeoff-loses .yk-wk__tradeoff-label {
    color: var(--yk-ink-soft, rgba(192, 202, 245, 0.72));
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-wk__three-way-row-header {
    background: rgba(21, 25, 33, 0.92);
    color: var(--yk-ink-soft, rgba(192, 202, 245, 0.72));
    border-bottom-color: rgba(192, 202, 245, 0.04);
  }
}

/* ---- Dark mode (explicit toggle) ---- */

html.yk-theme-dark body.yomikamo-coming-from-wanikani {
  background: #0f1117;
  color: var(--yk-ink, #c0caf5);
}

html.yk-theme-dark .yk-wk__pain-row {
  border-bottom-color: rgba(192, 202, 245, 0.08);
}

html.yk-theme-dark .yk-wk__pain-header {
  border-bottom-color: rgba(192, 202, 245, 0.15);
}

html.yk-theme-dark .yk-wk__import-step {
  background: rgba(21, 25, 33, 0.92);
  border-color: rgba(192, 202, 245, 0.12);
}

html.yk-theme-dark .yk-wk__pain-icon {
  color: #7aa2f7;
}

html.yk-theme-dark .yk-wk__pain-before {
  color: var(--yk-ink-soft, rgba(192, 202, 245, 0.72));
}

html.yk-theme-dark .yk-wk__pain-after {
  color: var(--yk-ink, #c0caf5);
}

html.yk-theme-dark .yk-wk__checklist {
  color: var(--yk-ink, #c0caf5);
}

html.yk-theme-dark .yk-wk__check-row {
  border-bottom-color: rgba(192, 202, 245, 0.06);
}

html.yk-theme-dark .yk-wk__check-row--header {
  border-bottom-color: rgba(192, 202, 245, 0.15);
  color: var(--yk-ink-soft, rgba(192, 202, 245, 0.72));
}

html.yk-theme-dark .yk-wk__check-wk {
  color: var(--yk-ink-soft, rgba(192, 202, 245, 0.55));
}

html.yk-theme-dark .yk-wk__check-yk {
  color: var(--yk-ink, #c0caf5);
}

html.yk-theme-dark .yk-wk__table-wrap {
  border-color: rgba(192, 202, 245, 0.12);
}

html.yk-theme-dark .yk-wk__table th {
  background: rgba(21, 25, 33, 0.92);
  color: var(--yk-ink-soft, rgba(192, 202, 245, 0.72));
  border-bottom-color: rgba(192, 202, 245, 0.08);
}

html.yk-theme-dark .yk-wk__three-way thead th:nth-child(4) {
  background: rgba(115, 218, 202, 0.1);
  color: #73daca;
}

html.yk-theme-dark .yk-wk__three-way tbody tr > td:nth-child(4) {
  background: rgba(115, 218, 202, 0.06);
}

html.yk-theme-dark .yk-wk__table td {
  color: var(--yk-ink, #c0caf5);
  border-bottom-color: rgba(192, 202, 245, 0.04);
}

html.yk-theme-dark .yk-wk__import-step-num {
  color: rgba(122, 162, 247, 0.5);
}

html.yk-theme-dark .yk-wk__import-arrow {
  color: #7aa2f7;
}

html.yk-theme-dark .yk-wk__check {
  color: var(--yk-teal, #7aa2f7);
}

html.yk-theme-dark .yk-wk__dash {
  color: var(--yk-ink-soft, rgba(192, 202, 245, 0.72));
}

html.yk-theme-dark .yk-wk__bar-col {
  background: rgba(21, 25, 33, 0.92);
}

html.yk-theme-dark .yk-wk__bar-track {
  background: rgba(192, 202, 245, 0.08);
}

html.yk-theme-dark .yk-wk__bar-col--bad .yk-wk__bar-fill {
  background: #f7768e;
}

html.yk-theme-dark .yk-wk__bar-col--good .yk-wk__bar-fill {
  background: #73daca;
}

html.yk-theme-dark .yk-wk__bar-col--bad .yk-wk__bar-header {
  color: #f7768e;
}

html.yk-theme-dark .yk-wk__bar-col--good .yk-wk__bar-header {
  color: #73daca;
}

html.yk-theme-dark .yk-wk__tradeoff-card {
  background: rgba(21, 25, 33, 0.92);
}

html.yk-theme-dark .yk-wk__tradeoff-loses {
  background: rgba(0, 0, 0, 0.15);
  border-top-color: rgba(192, 202, 245, 0.08);
}

html.yk-theme-dark .yk-wk__tradeoff-gains .yk-wk__tradeoff-label {
  color: #73daca;
}

html.yk-theme-dark .yk-wk__tradeoff-loses .yk-wk__tradeoff-label {
  color: var(--yk-ink-soft, rgba(192, 202, 245, 0.72));
}

html.yk-theme-dark .yk-wk__three-way-row-header {
  background: rgba(21, 25, 33, 0.92);
  color: var(--yk-ink-soft, rgba(192, 202, 245, 0.72));
  border-bottom-color: rgba(192, 202, 245, 0.04);
}
