/* Tally Labs (crates/tally-web/src/labs): the index and the living customer ecosystem.
   Every rule is scoped to .labs or .eco, so nothing else on the site changes.

   The ecosystem's colours are tokens here, read by labs-ecosystem.js too, so the picture,
   the legend and the table always agree:
   - customers' health: coral for money (renewing, a filled disc), amber (quiet, a ring)
     and grey (lost, a thin ring);
   - everyone else's engagement: one hue that deepens (light) or brightens (dark) from
     cold to hot, blue into violet, as our visitor colour does.
   Hues are drawn from colour-blind-safe pairs (blue against orange and coral), every step
   of the ramp differs in lightness, and the shapes repeat the customer states, so nothing
   rests on hue alone. */

.labs {
  --eco-renewing: #e5607b;
  --eco-quiet: #d08a0b;
  --eco-lost: #8a909c;
  --eco-hot: #4b2fc9;
  --eco-warm: #3b6fd8;
  --eco-cool: #7ea4e4;
  --eco-cold: #b7c1d1;
  --eco-trail: #5a6b8c;
  --eco-halo: #3b78d8;
  --eco-stage: #fbfcfe;
  --eco-grid: rgba(11, 13, 18, .055);
  --eco-label-bg: rgba(255, 255, 255, .86);
  --eco-art-cool: #9cb8ea;
  --eco-art-warm: #3b78d8;
}

:where(:root[data-theme="dark"]) .labs {
  --eco-renewing: #f2788f;
  --eco-quiet: #f0b030;
  --eco-lost: #7a7a82;
  --eco-hot: #d2b8ff;
  --eco-warm: #a07aff;
  --eco-cool: #6577c9;
  --eco-cold: #3b3f55;
  --eco-trail: #8f86c9;
  --eco-halo: #8b5cf6;
  --eco-stage: #0b0b0d;
  --eco-grid: rgba(255, 255, 255, .045);
  --eco-label-bg: rgba(20, 20, 22, .82);
  --eco-art-cool: #4d4a7a;
  --eco-art-warm: #9d6bff;
}

@media (prefers-color-scheme: dark) {
  :where(:root:not([data-theme="light"])) .labs {
    --eco-renewing: #f2788f;
    --eco-quiet: #f0b030;
    --eco-lost: #7a7a82;
    --eco-hot: #d2b8ff;
    --eco-warm: #a07aff;
    --eco-cool: #6577c9;
    --eco-cold: #3b3f55;
    --eco-trail: #8f86c9;
    --eco-halo: #8b5cf6;
    --eco-stage: #0b0b0d;
    --eco-grid: rgba(255, 255, 255, .045);
    --eco-label-bg: rgba(20, 20, 22, .82);
    --eco-art-cool: #4d4a7a;
    --eco-art-warm: #9d6bff;
  }
}

/* ------------------------------------------------------------------ the badge */

.labs-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-bar);
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}

/* ------------------------------------------------------------------ the index */

.labs-head {
  margin: 4px 0 22px;
}

.labs-title,
.eco-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.015em;
}

.labs-lede {
  margin-top: 8px;
  max-width: 64ch;
  color: var(--muted);
  font-size: 15.5px;
}

.labs-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.labs-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: border-color .2s ease, transform .35s var(--ease-out);
}

.labs-card:hover {
  border-color: var(--faint);
}

.labs-card:focus-visible {
  outline-offset: 3px;
}

.labs-art {
  display: block;
  border-bottom: 1px solid var(--line-2);
  background:
    radial-gradient(circle at 1px 1px, var(--eco-grid) 1px, transparent 1.2px) 0 0 / 18px 18px,
    var(--eco-stage);
}

.labs-art svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 150;
}

.labs-art-halo circle {
  fill: var(--eco-halo);
  opacity: .07;
}

.labs-art-cool circle {
  fill: var(--eco-art-cool);
}

.labs-art-warm circle {
  fill: var(--eco-art-warm);
}

.labs-art-money circle {
  fill: var(--eco-renewing);
}

.labs-art-trail path {
  fill: none;
  stroke: var(--eco-trail);
  stroke-width: 1;
  stroke-dasharray: 2 4;
  opacity: .5;
}

.labs-art-ribbon path {
  fill: none;
  stroke-linecap: round;
}

.labs-art-r1 {
  stroke: var(--visitors);
  stroke-width: 14;
  opacity: .35;
}

.labs-art-r2 {
  stroke: var(--revenue);
  stroke-width: 9;
  opacity: .55;
}

.labs-art-r3 {
  stroke: var(--eco-art-cool);
  stroke-width: 6;
  opacity: .7;
}

.labs-art-nodes rect {
  fill: var(--ink);
  opacity: .7;
}

.labs-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
}

.labs-card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
}

.labs-card-text {
  color: var(--muted);
  font-size: 14.5px;
}

.labs-card-go {
  margin-top: auto;
  padding-top: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.labs-card-go::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  transition: transform .3s var(--ease-out);
}

.labs-card:hover .labs-card-go::after {
  transform: translateX(3px);
}

.labs-foot {
  margin-top: 18px;
  color: var(--faint);
  font-size: 13px;
}

/* -------------------------------------------------------------- the ecosystem */

.eco-head {
  margin: 2px 0 16px;
}

.eco-crumbs {
  font-size: 13.5px;
  color: var(--faint);
}

.eco-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 2px;
}

.eco-sub {
  margin-top: 8px;
  max-width: 78ch;
  color: var(--muted);
  font-size: 15px;
}

.eco-unit-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
}

.eco-empty {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.eco-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.eco-stage-panel {
  padding: 0;
  overflow: hidden;
}

.eco-stage {
  position: relative;
  height: clamp(440px, 64vh, 660px);
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, var(--eco-grid) 1px, transparent 1.2px) 0 0 / 22px 22px,
    var(--eco-stage);
  outline-offset: -3px;
}

.eco-canvas {
  position: absolute;
  inset: 0;
}

.eco-gl {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
  opacity: 0;
  animation: eco-in .9s var(--ease-out) .05s forwards;
}

.eco-gl[data-pointing] {
  cursor: pointer;
}

.eco[data-dragging] .eco-gl {
  cursor: grabbing;
}

@keyframes eco-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.eco-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.eco-label {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  max-width: 260px;
  padding: 4px 9px 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--eco-label-bg);
  color: var(--ink);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color .2s ease, opacity .3s ease;
}

.eco-label:hover,
.eco-label[data-lit] {
  border-color: var(--faint);
}

.eco-label-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.eco-label-count {
  color: var(--muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.eco[data-dragging] .eco-label {
  pointer-events: none;
}

.eco-pulse {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--eco-renewing);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

.eco-card {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: grid;
  gap: 2px;
  min-width: 190px;
  max-width: 260px;
  padding: 10px 12px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  box-shadow: var(--shadow-menu);
  font-size: 13px;
  pointer-events: none;
}

.eco-card[data-touch] {
  pointer-events: auto;
}

.eco-card-name {
  color: var(--ink);
  font-size: 14px;
}

.eco-card-cluster,
.eco-card-meta {
  color: var(--muted);
}

.eco-card-line {
  color: var(--ink-2);
}

.eco-card-open {
  margin-top: 6px;
  color: var(--ink);
  font-weight: 600;
}

.eco-axis {
  position: absolute;
  max-width: min(46%, 340px);
  color: var(--faint);
  font-size: 12px;
  line-height: 1.35;
  pointer-events: none;
}

.eco-axis-x {
  right: 14px;
  bottom: 12px;
  text-align: right;
}

.eco-axis-y {
  top: 12px;
  left: 14px;
}

.eco-axis-dir {
  color: var(--muted);
}

.eco:not([data-enhanced]) .eco-axis {
  display: none;
}

.eco-tools {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  gap: 6px;
}

.eco-tool {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease;
}

.eco-tool:hover {
  border-color: var(--faint);
}

.eco-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eco-status {
  position: absolute;
  left: 14px;
  bottom: 12px;
  max-width: 50%;
  color: var(--muted);
  font-size: 12.5px;
  pointer-events: none;
}

.eco-note {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.eco[data-loading] .eco-note {
  opacity: 0;
}

/* The time bar: play, the weeks, the week shown, live. */
.eco-time {
  display: grid;
  /* Fixed columns for the week and the live button, so their words never move the slider. */
  grid-template-columns: auto minmax(0, 1fr) 8.4em 8.6em;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 10px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.eco-play {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--button-bg);
  border-radius: var(--radius-control);
  background: var(--button-bg);
  color: var(--button-ink);
  cursor: pointer;
  transition: background-color .15s ease, opacity .2s ease;
}

.eco-play:hover {
  background: var(--button-hover);
}

.eco-play[disabled] {
  opacity: .45;
  cursor: default;
}

.eco-play .eco-icon {
  fill: currentColor;
  stroke: none;
}

.eco-play .eco-icon-pause,
.eco-play[data-playing] .eco-icon-play {
  display: none;
}

.eco-play[data-playing] .eco-icon-pause {
  display: block;
}

.eco-scrub-wrap {
  min-width: 0;
}

.eco-scrub {
  position: relative;
  height: 28px;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  border-radius: 4px;
}

.eco-time[data-loading] .eco-scrub {
  cursor: progress;
  opacity: .55;
}

.eco-scrub:focus-visible {
  outline-offset: 3px;
}

.eco-scrub-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}

.eco-scrub-fill {
  position: absolute;
  inset: 0;
  background: var(--visitors);
  transform-origin: left center;
  transform: scaleX(1);
}

.eco-ticks {
  position: absolute;
  inset: 0;
}

.eco-tick {
  position: absolute;
  top: 9px;
  width: 1px;
  height: 10px;
  margin-left: -.5px;
  background: var(--faint);
  opacity: .55;
}

.eco-thumb {
  position: absolute;
  top: 6px;
  left: 100%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border: 2px solid var(--visitors);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(11, 13, 18, .18);
  pointer-events: none;
}

.eco-scrub-axis {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--faint);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

.eco-week {
  min-width: 0;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.eco-live {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.eco-live[data-on] {
  color: var(--live-ink);
}

.eco-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
}

.eco-live[data-on] .eco-live-dot {
  background: var(--live);
  animation: eco-breathe 2.4s ease-in-out infinite;
}

@keyframes eco-breathe {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: .35;
  }
}

/* The side: clusters, or the members of the one zoomed into. */
.eco-side {
  padding: 18px 16px 16px;
  max-height: calc(clamp(440px, 64vh, 660px) + 62px);
  overflow-y: auto;
}

.eco-side-title {
  font-size: 16px;
  font-weight: 650;
}

.eco-side-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.eco-clusters {
  display: grid;
  gap: 2px;
  margin: 12px -8px 0;
  padding: 0;
  list-style: none;
}

.eco-cluster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  padding: 10px 10px 11px;
  border-radius: var(--radius-control);
  color: inherit;
  text-decoration: none;
  transition: background-color .15s ease, opacity .3s ease;
}

.eco-cluster:hover,
.eco-cluster:focus-visible {
  background: var(--surface-2);
}

.eco-cluster:focus-visible {
  outline-offset: -2px;
}

.eco-cluster[data-gone] {
  opacity: .45;
}

.eco-cluster-name {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 620;
  line-height: 1.3;
}

.eco-cluster-count {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.eco-bar {
  grid-column: 1 / -1;
  display: flex;
  height: 4px;
  margin: 3px 0 2px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--line-2);
}

.eco-bar-part {
  display: block;
  height: 100%;
  width: 0;
  background: var(--eco-cold);
}

.eco-cluster-money {
  grid-column: 1 / -1;
  color: var(--revenue-ink);
  font-size: 12.5px;
  font-weight: 600;
}

/* Money and drivers are now's; while a past week shows, they step back (in place). */
.eco[data-past] .eco-cluster-money,
.eco[data-past] .eco-bar {
  visibility: hidden;
}

.eco-cluster-lead {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.eco-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: -4px 0 10px -6px;
  padding: 4px 8px 4px 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.eco-back:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.eco-back span {
  display: inline-grid;
}

.eco-drivers {
  display: grid;
  gap: 4px;
  margin: 10px 0 12px;
  padding: 0 0 0 16px;
  color: var(--ink-2);
  font-size: 13px;
}

.eco-member-list {
  display: grid;
  gap: 1px;
  margin: 0 -8px;
  padding: 0;
  list-style: none;
}

.eco-member {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: var(--radius-control);
  color: inherit;
  text-decoration: none;
  opacity: 0;
  animation: eco-in .45s var(--ease-out) forwards;
}

.eco-member:hover,
.eco-member:focus-visible {
  background: var(--surface-2);
}

.eco-member-av .av {
  display: block;
  width: 30px;
  height: 30px;
}

.eco-member-body {
  display: grid;
  min-width: 0;
}

.eco-member-name {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eco-member-line {
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eco-member-seen {
  color: var(--faint);
  font-size: 12px;
  white-space: nowrap;
}

/* Swatches: colour and shape, as the particles are drawn. */
.eco-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--eco-cold);
  vertical-align: -1px;
  flex: none;
}

.eco-h-renewing {
  background: var(--eco-renewing);
}

.eco-h-quiet {
  background: transparent;
  box-shadow: inset 0 0 0 2.6px var(--eco-quiet);
}

.eco-h-lost {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--eco-lost);
}

.eco-h-hot {
  background: var(--eco-hot);
}

.eco-h-warm {
  background: var(--eco-warm);
}

.eco-h-cool {
  background: var(--eco-cool);
}

.eco-h-cold {
  background: var(--eco-cold);
}

.eco-bar-part.eco-h-quiet {
  background: var(--eco-quiet);
  box-shadow: none;
  opacity: .7;
}

.eco-bar-part.eco-h-lost {
  background: var(--eco-lost);
  box-shadow: none;
  opacity: .7;
}

/* The legend. */
.eco-legend {
  margin-top: 16px;
  padding: 0;
}

.eco-legend-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.eco-legend-summary::-webkit-details-marker {
  display: none;
}

.eco-legend-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 620;
}

.eco-legend[open] .chevron {
  transform: rotate(180deg);
}

.eco-legend-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.1fr;
  gap: 22px 28px;
  padding: 2px 20px 20px;
  border-top: 1px solid var(--line-2);
}

.eco-legend-part h3 {
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .02em;
  color: var(--ink);
}

.eco-legend-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 13px;
}

.eco-signal {
  color: var(--ink);
  font-weight: 600;
}

.eco-keys {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eco-key {
  display: grid;
  grid-template-columns: 12px auto;
  align-items: baseline;
  gap: 2px 9px;
  font-size: 13px;
}

.eco-key .eco-swatch {
  align-self: center;
}

.eco-key-name {
  color: var(--ink);
  font-weight: 600;
}

.eco-key-rule {
  grid-column: 2;
  color: var(--muted);
  font-size: 12.5px;
}

.eco-legend-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
}

/* The table. */
.eco-table {
  margin-top: 16px;
}

.eco-table-scroll {
  margin-top: 14px;
  overflow-x: auto;
}

.eco-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.eco-grid caption {
  padding: 0 0 8px;
  color: var(--ink);
  font-weight: 620;
  text-align: left;
  scroll-margin-top: 20px;
}

.eco-grid th,
.eco-grid td {
  padding: 7px 12px 7px 0;
  border-bottom: 1px solid var(--line-2);
  text-align: left;
  vertical-align: top;
}

.eco-grid thead th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.eco-grid tbody th {
  font-weight: 600;
  white-space: nowrap;
}

.eco-grid a {
  color: var(--ink);
}

.eco-num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.eco-grid:target caption {
  color: var(--brand);
}

/* ------------------------------------------------------------------ narrower */

@media (max-width: 1080px) {
  .eco-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .eco-side {
    max-height: none;
  }

  .eco-legend-body {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .labs-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .eco-legend-body {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .labs-title,
  .eco-title {
    font-size: 24px;
  }

  .eco-stage {
    height: 360px;
  }

  .eco-time {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 10px 12px 8px;
  }

  .eco-week {
    grid-column: 1 / 3;
    grid-row: 2;
    min-width: 0;
    text-align: left;
  }

  .eco-live {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
  }

  .eco-scrub-mid {
    display: none;
  }

  .eco-axis {
    max-width: 62%;
    font-size: 11px;
  }

  .eco-status {
    display: none;
  }

  .eco-label {
    max-width: 180px;
    font-size: 12px;
  }

  .eco-side {
    padding: 16px 14px 14px;
  }

  .eco-legend-summary {
    padding: 14px 16px;
  }

  .eco-legend-body {
    padding: 2px 16px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eco-gl,
  .eco-member {
    opacity: 1;
    animation: none;
  }

  .eco-live[data-on] .eco-live-dot {
    animation: none;
  }

  .labs-card,
  .labs-card-go::after,
  .eco-label,
  .eco-cluster {
    transition: none;
  }
}
