.loops-container {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

.loops-intro {
  margin-bottom: 1.75rem;
}

.loops-intro h1 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.55rem 0 0.65rem;
  line-height: 1.15;
}

.loops-intro h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #c4b5fd 0%, #7c6cfa 55%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loops-intro p {
  color: var(--text-secondary);
  max-width: 720px;
  font-size: 0.98rem;
}

/* Toolbar */
.loops-toolbar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.loops-select-group {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.loops-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.loops-field span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.loops-field select,
.loops-filter-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--bg-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 2.15rem 0.6rem 0.75rem;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
}

.loops-field select:focus,
.loops-filter-select:focus,
.loops-year-trigger:focus,
.loops-year-trigger[aria-expanded="true"] {
  border-color: var(--accent);
}

.loops-year-dropdown {
  position: relative;
}

.loops-year-trigger {
  width: 100%;
  text-align: left;
  background-color: var(--bg-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 2.15rem 0.6rem 0.75rem;
  font-size: 0.88rem;
  font-family: inherit;
  line-height: 1.2;
  outline: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loops-year-trigger > span {
  font-size: inherit;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: inherit;
}

.loops-year-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 180px;
  max-height: 260px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  padding: 0.35rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.loops-year-menu.hidden {
  display: none;
}

.loops-year-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.84rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}

.loops-year-option:hover {
  background: rgba(255, 255, 255, 0.06);
}

.loops-year-option input[type="checkbox"] {
  accent-color: var(--accent);
  width: 14px;
  height: 14px;
  cursor: pointer;
  margin: 0;
}

.loops-year-divider {
  height: 1px;
  background: var(--border);
  margin: 0.25rem 0.4rem;
}

/* Blueprint KPI Grid */
.loops-blueprint-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.loops-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.loops-kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.kpi-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.kpi-value {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.kpi-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.kpi-outcome-bar {
  display: flex;
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  margin: 0.15rem 0 0.2rem;
}

.kpi-outcome-seg {
  height: 100%;
  transition: width 0.35s ease;
}

.kpi-seg-selected { background: var(--easy); }
.kpi-seg-downleveled { background: var(--medium); }
.kpi-seg-rejected { background: var(--hard); }
.kpi-seg-other { background: rgba(255, 255, 255, 0.2); }

/* Stage Flow */
.loops-stage-flow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
}

.stage-flow-header h3 {
  font-size: 0.98rem;
  font-weight: 600;
}

.stage-flow-header p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
  margin-bottom: 0.9rem;
}

.stage-flow-track {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.stage-step-card {
  flex: 1 0 155px;
  min-width: 155px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stage-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stage-step-total {
  color: var(--text-muted);
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
}

.stage-chip-list {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.stage-chip-btn {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.15rem 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

.stage-chip-btn:hover .stage-chip-name {
  color: #d8d2ff;
}

.stage-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.stage-chip-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  transition: color 0.15s ease;
}

.stage-chip-pct {
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.stage-mini-bar {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.stage-mini-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #38bdf8);
  border-radius: 999px;
}

/* Question Bank */
.loops-bank-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}

.loops-bank-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.loops-bank-header h2 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.loops-bank-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.loops-reset-btn {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.loops-reset-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent);
}

.loops-topics-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.8rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.topics-bar-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.topic-chip {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.26rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.topic-chip:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.22);
}

.topic-chip.active {
  background: var(--accent-glow);
  color: #e4e0ff;
  border-color: var(--accent);
}

.loops-count-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.loops-round-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.round-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-deep);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.round-tab.is-empty {
  opacity: 0.48;
}

.round-tab-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.round-tab.active .round-tab-count {
  color: #c4b5fd;
}

.round-tab:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.round-tab.active {
  background: var(--accent-glow);
  color: #e4e0ff;
  border-color: var(--accent);
}

.loops-question-filters {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.loops-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 0.8rem;
  color: var(--text-muted);
}

.loops-search-wrap input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.88rem;
  padding: 0.6rem 0;
  outline: none;
}

.loops-questions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.loop-q-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  transition: border-color 0.15s ease;
}

.loop-q-card:hover {
  border-color: var(--border-glow);
}

.loop-q-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.loop-q-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.badge-round {
  color: #d8d2ff;
  border-color: rgba(124, 108, 250, 0.4);
  background: rgba(124, 108, 250, 0.14);
  text-transform: uppercase;
}

.badge-diff-easy { color: var(--easy); border-color: rgba(0, 230, 118, 0.3); }
.badge-diff-medium { color: var(--medium); border-color: rgba(255, 171, 64, 0.3); }
.badge-diff-hard { color: var(--hard); border-color: rgba(255, 82, 82, 0.3); }

.badge-outcome-selected,
.badge-outcome-accepted,
.badge-outcome-offer_declined {
  color: var(--easy);
  border-color: rgba(0, 230, 118, 0.3);
}

.badge-outcome-rejected,
.badge-outcome-downleveled_rejected {
  color: var(--hard);
  border-color: rgba(255, 82, 82, 0.3);
}

.badge-outcome-downleveled_to_sde1 {
  color: var(--medium);
  border-color: rgba(255, 171, 64, 0.3);
}

.loop-q-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.loop-q-text {
  font-size: 0.94rem;
  color: var(--text-primary);
  line-height: 1.55;
  margin-bottom: 0.7rem;
  white-space: pre-line;
}

.loop-q-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.loop-q-topic-btn {
  font-size: 0.76rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.loop-q-topic-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent);
}

.loop-q-topic-plain {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.loop-q-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.loop-action-btn,
.loop-lc-link {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.32rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
}

.loop-action-btn:hover,
.loop-lc-link:hover {
  border-color: var(--accent);
  color: #d8d2ff;
}

.loops-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.loops-error {
  color: var(--hard);
}

.loops-loading-inline {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.loops-pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.loops-load-more-btn {
  background: var(--bg-deep);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.loops-load-more-btn:hover {
  border-color: var(--accent);
}

/* Loop Detail Modal */
.loop-detail-modal {
  max-width: 760px;
  max-height: 85vh;
  overflow-y: auto;
}

.loop-modal-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-hover);
  margin-bottom: 0.2rem;
}

.loop-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 1.15rem;
}

.loop-modal-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-left: 1.1rem;
  border-left: 2px solid rgba(124, 108, 250, 0.25);
}

.timeline-round-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
}

.timeline-round-card.is-highlighted {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(124, 108, 250, 0.25);
}

.timeline-round-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.timeline-round-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 0.55rem;
}

.timeline-round-questions {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: var(--text-primary);
}

.loop-modal-footer {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-end;
}

.loop-source-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-hover);
  text-decoration: none;
}

.loop-source-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .loops-select-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .loops-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .loops-question-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .loops-select-group {
    grid-template-columns: 1fr;
  }
  .loops-kpi-grid {
    grid-template-columns: 1fr;
  }
}


/* ─── Unified Linear / Vercel Workspace Overrides ────────────────────────── */
.loops-container {
  max-width: 1280px;
  padding: 24px 24px 64px;
}

.loops-workspace-header {
  margin-bottom: 16px;
}

.loops-workspace-header h1 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 0;
}

.loops-toolbar {
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

/* Flat 4-Cell KPI Strip */
.loops-kpi-grid {
  gap: 0;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.loops-kpi-card {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  padding: 14px 18px;
}

.loops-kpi-card:last-child {
  border-right: 0;
}

.kpi-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  font-weight: 600;
}

.loops-stage-flow-card,
.loops-bank-section {
  border-radius: 10px;
}

.loops-bank-section {
  padding: 0;
  overflow: hidden;
}

.loops-bank-header {
  padding: 18px 20px 0;
}

.loops-topics-bar {
  margin: 0 20px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.loops-round-tabs {
  padding: 0 20px;
  margin-bottom: 12px;
}

.loops-question-filters {
  padding: 0 20px 14px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}

/* Hairline Question List (No Card-ception or Pill Overload) */
.loops-questions-list {
  gap: 0;
}

.loop-q-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  padding: 14px 20px;
  transition: background 0.14s ease;
}

.loop-q-card:last-child {
  border-bottom: 0;
}

.loop-q-card:hover {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.06);
}

.loop-q-top {
  margin-bottom: 6px;
}

.loop-q-meta-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.meta-round-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: #c4b5fd;
  letter-spacing: 0.02em;
}

.meta-dot-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  color: var(--text-secondary);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-easy,
.dot-selected,
.dot-accepted,
.dot-offer_declined {
  background: var(--easy);
}

.dot-medium,
.dot-downleveled_to_sde1 {
  background: var(--medium);
}

.dot-hard,
.dot-rejected,
.dot-downleveled_rejected {
  background: var(--hard);
}

.dot-unknown,
.dot-ghosted {
  background: var(--text-muted);
}

.meta-sep {
  color: var(--text-muted);
}

.loop-q-text {
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.loop-q-links {
  opacity: 0.72;
  transition: opacity 0.14s ease;
}

.loop-q-card:hover .loop-q-links {
  opacity: 1;
}

.loop-action-btn,
.loop-lc-link {
  background: transparent;
  border-color: var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.74rem;
}

.loops-pagination {
  padding: 16px 20px;
  margin-top: 0;
  border-top: 1px solid var(--border);
}

/* Centered Peek Modal */
.loop-drawer-backdrop {
  justify-content: center !important;
  align-items: center !important;
  padding: 24px !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.loop-detail-drawer {
  width: min(820px, 92vw);
  max-width: 820px;
  height: auto;
  max-height: 86vh;
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d0d10;
  padding: 26px 28px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (max-width: 600px) {
  .loop-drawer-backdrop {
    padding: 12px !important;
  }
  .loop-detail-drawer {
    width: 100%;
    max-height: 90vh;
    padding: 20px 18px;
    border-radius: 12px;
  }
}

@media (max-width: 900px) {
  .loops-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .loops-kpi-card:nth-child(2) {
    border-right: 0;
  }
  .loops-kpi-card:nth-child(1),
  .loops-kpi-card:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 600px) {
  .loops-container {
    padding: 16px 12px 48px;
  }
  .loops-kpi-grid {
    grid-template-columns: 1fr;
  }
  .loops-kpi-card {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .loops-kpi-card:last-child {
    border-bottom: 0;
  }
  .loops-bank-header,
  .loops-round-tabs,
  .loops-question-filters,
  .loop-q-card {
    padding-left: 14px;
    padding-right: 14px;
  }
  .loops-topics-bar {
    margin-left: 14px;
    margin-right: 14px;
  }
  .loop-q-links {
    opacity: 1;
  }
}

.loops-question-filters {
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
}

.loops-generic-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 36px;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  color: var(--text-secondary);
  font-size: 0.78rem;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.loops-generic-toggle input {
  accent-color: var(--accent);
  cursor: pointer;
}

@media (max-width: 900px) {
  .loops-question-filters {
    grid-template-columns: 1fr;
  }
}

/* ─── Unified Linear Theme & Custom Dropdowns ────────────────────────────── */
.loops-container {
  max-width: 1280px;
  padding: 24px 24px 64px;
}

.loops-toolbar {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 16px;
}

.loops-filter-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.loops-dropdown,
.loops-year-dropdown {
  position: relative;
}

.loops-dropdown-trigger {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border-radius: 7px;
  background: var(--bg-deep);
  background-image: none;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.loops-dropdown-trigger:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.loops-dropdown.open .loops-dropdown-trigger,
.loops-dropdown-trigger[aria-expanded="true"] {
  border-color: rgba(124, 108, 250, 0.55);
}

.loops-dropdown-trigger.is-filtered {
  border-color: rgba(124, 108, 250, 0.45);
  color: #e4ddff;
}

.loops-dropdown-trigger .filter-label {
  color: var(--text-muted);
  font-weight: 500;
}

.loops-dropdown-trigger .dropdown-label {
  color: inherit;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loops-dropdown-trigger .custom-select-arrow {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-left: 2px;
}

.loops-dropdown-menu,
.loops-year-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 195px;
  max-width: 300px;
  max-height: 280px;
  overflow-y: auto;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  padding: 4px;
  z-index: 120;
}

.loops-dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 1px;
}

.loops-dropdown.open .loops-dropdown-menu {
  display: flex;
}

.loops-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.loops-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.loops-dropdown-item.active {
  background: rgba(124, 108, 250, 0.18);
  color: #e4ddff;
}

.loops-dropdown-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  flex-shrink: 0;
}

.loops-year-option {
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  gap: 9px;
}

.loops-year-option:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.loops-year-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  margin: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.loops-year-option input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.loops-year-option input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}

.loops-reset-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  height: 34px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 0.76rem;
  cursor: pointer;
}

.loops-reset-btn:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.25);
}

/* Collapsible Stage Flow */
.stage-flow-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.stage-flow-summary::-webkit-details-marker {
  display: none;
}

.stage-flow-summary p {
  margin-bottom: 0;
}

.loops-stage-flow-card[open] .stage-flow-summary {
  margin-bottom: 0.9rem;
}

.stage-flow-toggle-hint {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.18s ease;
}

.loops-stage-flow-card:not([open]) .stage-flow-toggle-hint {
  transform: rotate(-90deg);
}

/* Flat Question Bank Canvas & Hairline Rows */
.loops-bank-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 8px;
}

.loops-bank-header {
  padding: 0 0 12px;
  border-bottom: 0;
}

.loops-bank-header h2 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.loops-topics-bar {
  margin: 0 0 12px;
}

.loops-round-tabs {
  padding: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.loops-question-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.loops-search-wrap {
  flex: 1;
  min-width: 240px;
  height: 34px;
  border-radius: 7px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
}

.loops-search-wrap:focus-within {
  border-color: rgba(124, 108, 250, 0.55);
}

.loops-generic-toggle {
  margin-left: auto;
  height: 34px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.78rem;
  gap: 8px;
  position: relative;
}

.loops-generic-toggle .toggle-switch-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.loops-generic-toggle .toggle-switch-track {
  width: 30px;
  height: 17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border);
  position: relative;
  flex-shrink: 0;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.loops-generic-toggle .toggle-switch-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d4d4d8;
  transition: transform 0.18s ease, background 0.18s ease;
}

.loops-generic-toggle .toggle-switch-input:checked + .toggle-switch-track {
  background: var(--accent);
  border-color: var(--accent);
}

.loops-generic-toggle .toggle-switch-input:checked + .toggle-switch-track::after {
  transform: translateX(13px);
  background: #fff;
}

.loop-q-card {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  transition: background 0.14s ease;
}

.loop-q-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Modal Surface Match */
.loop-detail-drawer {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

@media (max-width: 600px) {
  .loops-container {
    padding: 16px 12px 48px;
  }
  .loops-filter-strip {
    gap: 6px;
  }
  .loops-dropdown,
  .loops-year-dropdown {
    flex: 1 1 calc(50% - 6px);
  }
  .loops-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
  }
  .loops-search-wrap {
    width: 100%;
    flex: 1 1 100%;
  }
  .loops-generic-toggle {
    margin-left: 0;
  }
}

/* ─── Underline Tabs, Flat Hot Topics, and Linear Question Rows ─────────── */
.loops-topics-bar {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 10px;
  gap: 6px;
}

.loops-topics-bar .topic-chip {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 0.72rem;
}

.loops-round-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.loops-round-tabs .round-tab {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 9px 13px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.loops-round-tabs .round-tab:hover {
  color: var(--text-primary);
  background: transparent;
}

.loops-round-tabs .round-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent);
  background: transparent;
  box-shadow: none;
}

.loops-round-tabs .round-tab .round-tab-count {
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  margin-left: 5px;
}

.loop-q-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
}

.loop-row-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.loop-row-round {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: #c4b5fd;
  background: rgba(124, 108, 250, 0.12);
  border: 1px solid rgba(124, 108, 250, 0.24);
  border-radius: 5px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.loop-row-body {
  min-width: 0;
  flex: 1;
}

.loop-row-prompt {
  color: #f4f4f5;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.loop-row-round.round-dsa {
  color: #c4b5fd;
  background: rgba(124, 108, 250, 0.12);
  border-color: rgba(124, 108, 250, 0.24);
}
.loop-row-round.round-lld {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.24);
}
.loop-row-round.round-hld {
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.24);
}
.loop-row-round.round-oa {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.24);
}
.loop-row-round.round-behavioural_all {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.24);
}
.loop-row-round.round-hybrid {
  color: #f0abfc;
  background: rgba(217, 70, 239, 0.1);
  border-color: rgba(217, 70, 239, 0.24);
}

.loop-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.loop-row-outcome {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 500;
}

.loop-outcome-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.loop-row-outcome.outcome-pos { color: var(--easy); }
.loop-row-outcome.outcome-neg { color: #f87171; }
.loop-row-outcome.outcome-warn { color: var(--medium); }
.loop-row-outcome.outcome-muted { color: var(--text-secondary); }

.loop-row-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.loop-row-topic {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 2px 8px;
  font-family: inherit;
  font-size: 0.73rem;
  color: var(--text-secondary);
  cursor: pointer;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.loop-row-topic:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.loop-ghost-lc {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}

.loop-ghost-primary {
  color: #c4b5fd;
  border-color: rgba(124, 108, 250, 0.25);
  background: rgba(124, 108, 250, 0.08);
}

.loop-row-diff {
  width: 54px;
  text-align: right;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

.loop-row-diff.diff-easy { color: var(--easy); }
.loop-row-diff.diff-medium { color: var(--medium); }
.loop-row-diff.diff-hard { color: var(--hard); }
.loop-row-diff.diff-unknown { color: var(--text-muted); }

.loop-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.loop-ghost-action {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 4px 7px;
  font-family: inherit;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

.loop-ghost-action:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.loop-ghost-primary {
  color: #c4b5fd;
}

.loop-ghost-primary:hover {
  color: #fff;
  background: rgba(124, 108, 250, 0.16);
  border-color: rgba(124, 108, 250, 0.35);
}

@media (max-width: 900px) {
  .loop-q-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .loop-row-right {
    width: 100%;
    padding-left: 0;
    justify-content: space-between;
  }
  .loop-row-diff {
    width: auto;
    text-align: left;
  }
}

/* ─── GitHub / Vercel Style Vertical Rail Timeline in Loop Modal ─────────── */
.loop-modal-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.loop-modal-meta-sep,
.loop-modal-meta-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.loop-modal-timeline {
  position: relative;
  padding-left: 34px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.loop-modal-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: rgba(255, 255, 255, 0.09);
}

.timeline-round-card {
  position: relative;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  padding: 12px 12px 14px;
}

.timeline-round-card:last-child {
  border-bottom: 0;
}

.timeline-round-card.is-highlighted {
  background: rgba(124, 108, 250, 0.06);
  border-left: 2px solid var(--accent);
  border-bottom-color: transparent;
  border-radius: 6px;
}

.timeline-node {
  position: absolute;
  left: -34px;
  top: 13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #16161b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-node.is-highlighted {
  background: rgba(124, 108, 250, 0.22);
  border-color: var(--accent);
  color: #e4ddff;
}

.timeline-round-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.timeline-round-title-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-round-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f4f4f5;
}

.timeline-result-pill {
  font-size: 0.71rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 5px;
  white-space: nowrap;
}

.timeline-result-pill.result-pos {
  color: var(--easy);
  background: rgba(0, 230, 118, 0.1);
}

.timeline-result-pill.result-warn {
  color: var(--medium);
  background: rgba(255, 171, 64, 0.12);
}

.timeline-result-pill.result-neg {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

.timeline-result-pill.result-muted {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
}

.timeline-round-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 8px;
}

.timeline-round-questions {
  margin: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.timeline-round-questions li {
  font-size: 0.82rem;
  color: #e4e4e7;
  line-height: 1.45;
}

.timeline-round-questions li .loop-ghost-lc {
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 0.69rem;
}

/* ─── Rich Interactive Round-by-Round Stage Pipeline ─────────────────────── */
.loops-stage-flow-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
}

.loops-stage-flow-card .stage-flow-header p {
  margin-bottom: 14px;
}

.stage-flow-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 10px;
  position: relative;
}

.stage-step-card {
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 11px 12px;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.stage-step-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.stage-step-card.is-active {
  border-color: rgba(124, 108, 250, 0.65);
  background: rgba(124, 108, 250, 0.08);
}

.stage-step-head-btn {
  width: 100%;
  background: none;
  border: 0;
  padding: 0 0 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.stage-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #f4f4f5;
}

.stage-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.stage-step-card.is-active .stage-step-num {
  background: rgba(124, 108, 250, 0.24);
  color: #e4ddff;
}

.stage-step-total {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.stage-chip-btn {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 4px 5px;
  margin: 0 -5px;
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.14s ease;
}

.stage-chip-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.stage-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.stage-chip-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: #e4e4e7;
  white-space: nowrap;
}

.stage-chip-pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.69rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  white-space: nowrap;
}

.stage-mini-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.stage-mini-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.stage-mini-fill.fill-dsa { background: #7c6cfa; }
.stage-mini-fill.fill-lld { background: #38bdf8; }
.stage-mini-fill.fill-hld { background: #fbbf24; }
.stage-mini-fill.fill-oa { background: #10b981; }
.stage-mini-fill.fill-behavioural_all { background: #fb7185; }
.stage-mini-fill.fill-hybrid { background: #e879f9; }
.stage-mini-fill.fill-all { background: #a78bfa; }

.loops-round-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(124, 108, 250, 0.16);
  border: 1px solid rgba(124, 108, 250, 0.4);
  color: #e4ddff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  cursor: pointer;
}

.loops-round-filter-chip:hover {
  background: rgba(124, 108, 250, 0.25);
  color: #fff;
}
