@charset "UTF-8";
/**
 * VoxDiff Admin Design System
 * Aesthetic: Precision technical interface — Swiss typography, modular scale
 * All values derived from fundamental units for consistency and maintainability
 */
/**
 * VoxDiff Admin Mixins Library
 * Reusable patterns for consistency across all admin interfaces
 */
/**
 * VoxDiff Admin Design System
 * Aesthetic: Precision technical interface — Swiss typography, modular scale
 * All values derived from fundamental units for consistency and maintainability
 */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scale-pop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes vxd-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes vxd-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes vxd-fade-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes vxd-shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
/**
 * VoxDiff Admin Design System
 * Aesthetic: Precision technical interface — Swiss typography, modular scale
 * All values derived from fundamental units for consistency and maintainability
 */
/**
 * VoxDiff Admin Mixins Library
 * Reusable patterns for consistency across all admin interfaces
 */
/**
 * VoxDiff Admin Design System
 * Aesthetic: Precision technical interface — Swiss typography, modular scale
 * All values derived from fundamental units for consistency and maintainability
 */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scale-pop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes vxd-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes vxd-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes vxd-fade-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes vxd-shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
/**
 * Status Bar Component
 *
 * Renders ProcessState steps as an animated timeline of pill-shaped segments.
 * Each step is color-coded by status (pending, active, done, failed).
 * Steps animate in with stagger timing to suggest real work in progress.
 */
.vxd-status-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  background: hsl(0, 0%, 16%);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.04);
  min-height: 33.71875px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
  /* Scrollbar styling — subtle track */
  scrollbar-width: thin;
  scrollbar-color: hsla(0, 0%, 100%, 0.08) transparent;
}
.vxd-status-bar::-webkit-scrollbar {
  height: 4px;
}
.vxd-status-bar::-webkit-scrollbar-track {
  background: transparent;
}
.vxd-status-bar::-webkit-scrollbar-thumb {
  background: hsla(0, 0%, 100%, 0.08);
  border-radius: 2px;
}
.vxd-status-bar::-webkit-scrollbar-thumb:hover {
  background: hsla(0, 0%, 100%, 0.15);
}
.vxd-status-bar {
  /* Hide status bar in reduced motion contexts */
}
@media (prefers-reduced-motion: reduce) {
  .vxd-status-bar .vxd-status-step {
    animation: none !important;
  }
}

/* ── Step Pills ─────────────────────────────────────────────────────────── */
.vxd-status-step {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12.4444444444px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: default;
  user-select: none;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
  /* Base state: pending (muted, in queue) */
  background: rgba(183.6, 183.6, 183.6, 0.12);
  color: hsl(0, 0%, 54%);
  border: 1px solid hsla(0, 0%, 100%, 0.04);
  /* Animation: staggered entry with spring easing */
  animation: vxd-status-slide-in 320ms cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  /* Status modifiers */
}
.vxd-status-step[data-status=active] {
  background: rgba(77.673, 158.1, 238.527, 0.2);
  color: hsl(227, 88%, 66%);
  border-color: hsl(227, 88%, 66%);
  box-shadow: 0 0 8px rgba(77.673, 158.1, 238.527, 0.2);
  animation: vxd-status-pulse 1s ease-in-out infinite;
}
.vxd-status-step[data-status=done] {
  background: rgba(77.673, 238.527, 128.6101, 0.15);
  color: hsl(139, 83%, 62%);
  border-color: hsl(139, 83%, 62%);
}
.vxd-status-step[data-status=failed] {
  background: rgba(238.527, 77.673, 77.673, 0.15);
  color: hsl(0, 83%, 62%);
  border-color: hsl(0, 83%, 62%);
}
.vxd-status-step[data-status=cancelled] {
  background: rgba(153, 153, 153, 0.1);
  color: hsl(0, 0%, 54%);
  border-color: hsla(0, 0%, 100%, 0.08);
  opacity: 0.6;
}
.vxd-status-step {
  /* Indicator dot for active steps */
}
.vxd-status-step[data-status=active]::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(227, 88%, 66%);
  animation: vxd-status-pulse-dot 1.5s ease-in-out infinite;
}
.vxd-status-step {
  /* Checkmark for completed steps */
}
.vxd-status-step[data-status=done]::before {
  content: "✓";
  display: inline-block;
  font-size: 11.0617283951px;
  font-weight: bold;
  margin-right: -2px;
}
.vxd-status-step {
  /* Indicator for failed steps */
}
.vxd-status-step[data-status=failed]::before {
  content: "✕";
  display: inline-block;
  font-size: 11.0617283951px;
  font-weight: bold;
  margin-right: -2px;
}
.vxd-status-step {
  /* Truncate long labels on mobile */
}
.vxd-status-step .vxd-status-step-label {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) {
  .vxd-status-step .vxd-status-step-label {
    max-width: 180px;
  }
}
@media (min-width: 1200px) {
  .vxd-status-step .vxd-status-step-label {
    max-width: 240px;
  }
}
.vxd-status-step {
  /* Optional: brief lane ID marker for per-lane steps */
}
.vxd-status-step .vxd-status-step-lane {
  font-size: 11.0617283951px;
  opacity: 0.75;
  display: none;
}
@media (min-width: 768px) {
  .vxd-status-step .vxd-status-step-lane {
    display: inline;
  }
}
.vxd-status-step .vxd-status-step-lane::before {
  content: " · ";
}

/* ── Empty State ────────────────────────────────────────────────────────── */
.vxd-status-empty {
  color: hsl(0, 0%, 54%);
  font-size: 12.4444444444px;
  padding: 4px 8px;
}

/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes vxd-status-slide-in {
  from {
    opacity: 0;
    transform: translateX(-12px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes vxd-status-pulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(77.673, 158.1, 238.527, 0.2);
  }
  50% {
    box-shadow: 0 0 12px rgba(77.673, 158.1, 238.527, 0.35);
  }
}
@keyframes vxd-status-pulse-dot {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}
/* ── Phase Indicators (optional: header styling per phase) ─────────────── */
.vxd-status-bar[data-phase=creating],
.vxd-status-bar[data-phase=streaming],
.vxd-status-bar[data-phase=saving],
.vxd-status-bar[data-phase=judging],
.vxd-status-bar[data-phase=backfilling] {
  border-bottom-color: hsla(0, 0%, 100%, 0.15);
}

.vxd-status-bar[data-phase=error] {
  border-bottom-color: rgba(238.527, 77.673, 77.673, 0.3);
  background: rgba(238.527, 77.673, 77.673, 0.05);
}

/* ── Accessibility ──────────────────────────────────────────────────────── */
.vxd-status-bar-aria {
  /* Hidden but available to screen readers */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@keyframes vxd-portrait-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes vxd-lane-card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.vxd-comparison {
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  font-size: 14px;
  color: hsl(225, 27%, 95%);
  background: hsl(220, 22%, 4%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  border-radius: 0;
  overflow-y: scroll;
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  grid-template-columns: 1fr;
}

/*
 * Mobile (default): single column stack
 *   row 1 = topbar
 *   row 2 = status-bar
 *   row 3 = lanes-wrap (config + lanes, scrolls internally)
 *           — info-wrap follows lanes-wrap in the scroll, but on mobile
 *             it's below the fold; user scrolls to it
 *   row 4 = input-bar
 *
 * The info-wrap sits in the normal flow after lanes-wrap on mobile.
 */
/* ── Wide landscape: lanes left, info right ───────────────────── */
@media (min-width: 1200px) and (orientation: landscape) {
  .vxd-comparison {
    /* 3 columns: lanes | handle | info — handle is 5px, panels split via custom property */
    grid-template-columns: var(--vxd-left-w, 1fr) 5px var(--vxd-right-w, 1fr);
    grid-template-rows: auto auto 1fr auto;
    overflow-y: hidden;
  }
  /* Topbar spans all columns */
  .vxd-topbar {
    grid-column: 1/-1;
    grid-row: 1;
  }
  /* Status bar spans all columns */
  .vxd-status-bar {
    grid-column: 1/-1;
    grid-row: 2;
  }
  /* Left column: lanes-wrap (config + lane responses) */
  .vxd-lanes-wrap {
    grid-column: 1;
    grid-row: 3;
    overflow-y: auto;
    min-height: 0;
  }
  /* Center: drag handle */
  .vxd-split-handle {
    grid-column: 2;
    grid-row: 3;
    z-index: 90;
  }
  /* Right column: info-wrap (analysis + findings + phase-space + timeline) */
  .vxd-info-wrap {
    grid-column: 3;
    grid-row: 3;
    overflow-y: auto;
    min-height: 0;
    min-width: 0;
  }
  /* Input bar spans all columns, pinned to bottom */
  .vxd-input-bar {
    grid-column: 1/-1;
    grid-row: 4;
    min-width: 0;
    position: sticky;
    bottom: 0;
    z-index: 20;
    background: hsl(220, 21%, 7%);
    border-top: 1px solid hsla(0, 0%, 100%, 0.13);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.4);
  }
}
.vxd-comparison.is-readonly .vxd-input-bar,
.vxd-comparison.is-readonly .vxd-config-bar,
.vxd-comparison.is-readonly .vxd-mobile-nav {
  display: none !important;
}

.vxd-comparison * {
  box-sizing: border-box;
}

.vxd-prompt-display {
  max-height: 4em;
}

.vxd-topbar {
  grid-row: 1;
}

.vxd-status-bar {
  grid-row: 2;
}

.vxd-lanes-wrap {
  grid-row: 3;
}

.vxd-info-wrap {
  grid-row: 3;
}

.vxd-input-bar {
  grid-row: 4;
}

.vxd-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.13);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.07), 0 1px 0 rgba(0, 0, 0, 0.4);
  background: hsl(220, 21%, 7%);
  position: relative;
  z-index: 10;
  min-height: 40px;
}

@media (min-width: 600px) {
  .vxd-topbar {
    padding: 8px 20px;
  }
}
.vxd-topbar-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.vxd-wordmark {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 17.71875px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.03em;
  color: hsl(225, 27%, 95%);
  line-height: 1;
  white-space: nowrap;
}

.vxd-wordmark span {
  color: hsl(163, 83%, 62%);
}

.vxd-topbar-meta {
  font-size: 12.4444444444px;
  color: hsl(213, 19%, 29%);
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 480px) {
  .vxd-topbar-meta {
    display: none;
  }
}
.vxd-topbar-meta .vxd-badge {
  display: flex;
  align-items: center;
  gap: 4px;
}

.vxd-prompt-display {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: hsla(0, 0%, 100%, 0.13) transparent;
}

.vxd-prompt-display-label {
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  font-size: 11.0617283951px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(163, 83%, 62%);
  opacity: 0.7;
  flex-shrink: 0;
  padding: 2px 5px;
  border: 1px solid rgba(61, 232, 184, 0.25);
  border-radius: 2px;
  line-height: 1.4;
}

.vxd-prompt-display-text {
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  font-size: 12.4444444444px;
  color: hsl(216, 19%, 82%);
  white-space: nowrap;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: hsla(0, 0%, 100%, 0.13) transparent;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
  line-height: 1.4;
  mask-image: linear-gradient(to right, hsl(225, 27%, 95%) 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, hsl(225, 27%, 95%) 85%, transparent 100%);
}

.vxd-config-bar {
  padding: 24px 24px 16px;
  background: hsl(220, 21%, 7%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.13);
}

@media (min-width: 600px) {
  .vxd-config-bar {
    padding: 24px 24px 16px;
    gap: 20px;
  }
}
.vxd-prompt-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vxd-prompt-label {
  font-size: 12.4444444444px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(216, 19%, 82%);
}

.vxd-prompt-input {
  background: hsl(217, 22%, 11%);
  border: 1px solid hsla(0, 0%, 100%, 0.13);
  border-radius: 4px;
  color: hsl(225, 27%, 95%);
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  transition: border-color 150ms cubic-bezier(0.4, 0, 1, 1);
  width: 100%;
  resize: vertical;
  min-height: 72px;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 12px;
}

.vxd-prompt-input:focus {
  outline: none;
  border-color: hsl(163, 83%, 62%);
  box-shadow: 0 0 0 3px rgba(61, 232, 184, 0.1);
}

.vxd-prompt-input::placeholder {
  color: hsl(213, 12%, 52%);
  opacity: 0.5;
}

.vxd-lane-configs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 480px) {
  .vxd-lane-configs {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .vxd-lane-configs {
    grid-template-columns: repeat(4, 1fr);
  }
}
.vxd-lanes .vxd-lane:nth-child(1) {
  animation: vxd-lane-card-in 280ms 0ms cubic-bezier(0, 0, 0.2, 1) both;
}

.vxd-lanes .vxd-lane:nth-child(2) {
  animation: vxd-lane-card-in 280ms 50ms cubic-bezier(0, 0, 0.2, 1) both;
}

.vxd-lanes .vxd-lane:nth-child(3) {
  animation: vxd-lane-card-in 280ms 100ms cubic-bezier(0, 0, 0.2, 1) both;
}

.vxd-lanes .vxd-lane:nth-child(4) {
  animation: vxd-lane-card-in 280ms 150ms cubic-bezier(0, 0, 0.2, 1) both;
}

.vxd-lanes .vxd-lane:nth-child(5) {
  animation: vxd-lane-card-in 280ms 200ms cubic-bezier(0, 0, 0.2, 1) both;
}

.vxd-lanes .vxd-lane:nth-child(6) {
  animation: vxd-lane-card-in 280ms 250ms cubic-bezier(0, 0, 0.2, 1) both;
}

.vxd-lane-config-panel {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vxd-lane-config-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vxd-lane-config-label {
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  font-size: 12.4444444444px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lane-color, hsl(213, 12%, 52%));
  opacity: 0.9;
  font-weight: 600;
}

.vxd-lane-label-input {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid hsla(0, 0%, 100%, 0.13);
  border-radius: 4px;
  color: hsl(225, 27%, 95%);
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  transition: border-color 150ms cubic-bezier(0.4, 0, 1, 1), box-shadow 150ms cubic-bezier(0.4, 0, 1, 1);
  font-size: 11.0617283951px;
  padding: 5px 8px;
  width: 100%;
}

.vxd-lane-label-input:focus {
  outline: none;
  border-color: var(--lane-color, hsl(163, 83%, 62%));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--lane-color, hsl(163, 83%, 62%)) 15%, transparent);
}

.vxd-lane-label-input::placeholder {
  color: hsl(213, 12%, 52%);
  opacity: 0.35;
  font-style: italic;
}

.vxd-lane-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.vxd-lane-config-panel .vxd-color-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 100ms ease, border-color 100ms ease, box-shadow 100ms ease;
  flex-shrink: 0;
}
.vxd-lane-config-panel .vxd-color-swatch:hover, .vxd-lane-config-panel .vxd-color-swatch:focus-visible {
  transform: scale(1.25);
  outline: none;
}
.vxd-lane-config-panel .vxd-color-swatch.vxd-swatch--active {
  border-color: rgba(255, 255, 255, 0.85);
  transform: scale(1.15);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.vxd-color-custom-wrap {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.vxd-color-custom-wrap .vxd-color-swatch--custom {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: conic-gradient(hsl(0, 70%, 55%), hsl(60, 70%, 55%), hsl(120, 70%, 55%), hsl(180, 70%, 55%), hsl(240, 70%, 55%), hsl(300, 70%, 55%), hsl(0, 70%, 55%));
  border: 2px solid transparent;
  transition: transform 100ms ease, border-color 100ms ease;
}
.vxd-color-custom-wrap .vxd-color-swatch--custom:hover {
  transform: scale(1.25);
}
.vxd-color-custom-wrap .vxd-color-swatch--custom.vxd-swatch--active {
  border-color: rgba(255, 255, 255, 0.85);
  transform: scale(1.15);
}
.vxd-color-custom-wrap input[type=color] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.vxd-lane-selectors {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vxd-selector-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vxd-selector-label {
  font-size: 11.0617283951px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(213, 12%, 52%);
  font-weight: 500;
}

.vxd-lane-config-panel .vxd-selector-label {
  color: var(--lane-color, hsl(213, 12%, 52%));
  opacity: 0.75;
  font-weight: 600;
}

.vxd-lane-config-panel .vxd-model-group {
  margin-bottom: 4px;
}

.vxd-lane-config-panel .vxd-model-group-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 4px 0 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
  gap: 4px;
  transition: opacity 100ms ease;
  font-size: 125%;
}
.vxd-lane-config-panel .vxd-model-group-toggle:hover {
  opacity: 0.85;
}
.vxd-lane-config-panel .vxd-model-group-toggle .vxd-model-group-label {
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(213, 12%, 72%);
  border-bottom: none;
  padding-bottom: 0;
  flex: 1;
}
.vxd-lane-config-panel .vxd-model-group-toggle .vxd-model-group-count {
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.07);
  padding: 1px 5px;
  border-radius: 8px;
  color: hsl(213, 12%, 52%);
  margin-left: 0;
  padding-left: 5px;
}
.vxd-lane-config-panel .vxd-model-group-toggle .vxd-model-group-arrow {
  font-size: 1rem;
  color: hsl(240, 69%, 59%);
  transform: rotate(-90deg);
}

.vxd-lane-config-panel .vxd-model-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: 100%;
}

.vxd-lane-config-panel .vxd-model-group-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 1.5rem;
  flex-direction: column;
}
.vxd-lane-config-panel .vxd-model-group-btns[hidden] {
  display: none;
}

.vxd-select-wrap {
  position: relative;
}

.vxd-select-wrap::after {
  content: "▾";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(213, 12%, 52%);
  font-size: 11.0617283951px;
  pointer-events: none;
}

.vxd-select-wrap select {
  background: hsl(217, 22%, 11%);
  border: 1px solid hsla(0, 0%, 100%, 0.13);
  border-radius: 4px;
  color: hsl(225, 27%, 95%);
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  transition: border-color 150ms cubic-bezier(0.4, 0, 1, 1);
  -webkit-appearance: none;
  appearance: none;
  font-size: 12.4444444444px;
  padding: 6px 28px 6px 8px;
  width: 100%;
}

.vxd-select-wrap select:focus {
  outline: none;
  border-color: hsl(163, 83%, 62%);
  box-shadow: 0 0 0 3px rgba(61, 232, 184, 0.1);
}

.vxd-select-wrap select::placeholder {
  color: hsl(213, 12%, 52%);
}

.vxd-lane-config-panel input[type=text] {
  background: hsl(217, 22%, 11%);
  border: 1px solid hsla(0, 0%, 100%, 0.13);
  border-radius: 4px;
  color: hsl(225, 27%, 95%);
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  transition: border-color 150ms cubic-bezier(0.4, 0, 1, 1);
  width: 100%;
  font-size: 12.4444444444px;
  padding: 6px 8px;
}

.vxd-lane-config-panel input[type=text]:focus {
  outline: none;
  border-color: hsl(163, 83%, 62%);
  box-shadow: 0 0 0 3px rgba(61, 232, 184, 0.1);
}

.vxd-lane-config-panel input[type=text]::placeholder {
  color: hsl(213, 12%, 52%);
}

.vxd-advanced-toggle {
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  font-size: 12.4444444444px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(213, 12%, 52%);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: color 150ms cubic-bezier(0.4, 0, 1, 1);
}

.vxd-advanced-toggle:hover {
  color: hsl(216, 19%, 82%);
}

.vxd-advanced-toggle[aria-expanded=true] {
  color: hsl(163, 83%, 62%);
}

.vxd-advanced-toggle[aria-expanded=true] .vxd-advanced-toggle-icon {
  transform: rotate(90deg);
}

.vxd-advanced-toggle .vxd-advanced-toggle-icon {
  display: inline-block;
  transition: transform 150ms cubic-bezier(0.4, 0, 1, 1);
  font-style: normal;
}

.vxd-advanced-panel {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: hsla(0, 0%, 100%, 0.13) transparent;
  max-height: 0;
  transition: max-height 380ms cubic-bezier(0.4, 0, 0.2, 1), opacity 280ms ease;
  opacity: 0;
}

.vxd-advanced-panel.is-open {
  max-height: 900px;
  opacity: 1;
}

.vxd-advanced-inner {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vxd-param-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: hsla(0, 0%, 100%, 0.13);
  border: 1px solid hsla(0, 0%, 100%, 0.13);
  border-radius: 4px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: hsla(0, 0%, 100%, 0.13) transparent;
}

@media (min-width: 480px) {
  .vxd-param-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.vxd-param-grid--duo {
  grid-template-columns: 1fr;
}

@media (min-width: 360px) {
  .vxd-param-grid--duo {
    grid-template-columns: 1fr 1fr;
  }
}
.vxd-param-grid--duo .vxd-param:nth-child(1) .vxd-param-value {
  color: hsl(163, 83%, 62%);
  text-shadow: 0 0 8px rgba(74, 240, 196, 0.35);
}

.vxd-param-grid--duo .vxd-param:nth-child(2) .vxd-param-value {
  color: #f0c44a;
  text-shadow: 0 0 8px rgba(240, 196, 74, 0.35);
}

.vxd-param-grid--duo .vxd-param:nth-child(1) .vxd-slider {
  background: linear-gradient(to right, hsl(163, 83%, 62%) var(--pct, 0%), #1e2530 var(--pct, 0%));
}

.vxd-param-grid--duo .vxd-param:nth-child(1) .vxd-slider::-webkit-slider-thumb {
  background: hsl(163, 83%, 62%);
  box-shadow: 0 0 0 2px hsl(220, 22%, 4%), 0 0 0 3px hsl(163, 83%, 62%), 0 0 6px rgba(74, 240, 196, 0.5);
}

.vxd-param-grid--duo .vxd-param:nth-child(2) .vxd-slider {
  background: linear-gradient(to right, #f0c44a var(--pct, 0%), #1e2530 var(--pct, 0%));
}

.vxd-param-grid--duo .vxd-param:nth-child(2) .vxd-slider::-webkit-slider-thumb {
  background: #f0c44a;
  box-shadow: 0 0 0 2px hsl(220, 22%, 4%), 0 0 0 3px #f0c44a, 0 0 6px rgba(240, 196, 74, 0.5);
}

.vxd-param {
  background: hsl(217, 22%, 11%);
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 150ms cubic-bezier(0.4, 0, 1, 1);
}

.vxd-param:hover {
  background: #1e2530;
}

.vxd-param-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.vxd-param-name {
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  font-size: 11.0617283951px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(216, 19%, 82%);
  white-space: nowrap;
}

.vxd-param-value {
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  font-size: 14px;
  font-weight: 500;
  color: hsl(163, 83%, 62%);
  letter-spacing: 0.04em;
  min-width: 3.5ch;
  text-align: right;
  text-shadow: 0 0 8px rgba(74, 240, 196, 0.35);
  transition: color 150ms cubic-bezier(0.4, 0, 1, 1), text-shadow 150ms cubic-bezier(0.4, 0, 1, 1);
}

.vxd-param-desc {
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  font-size: 11.0617283951px;
  letter-spacing: 0.05em;
  color: hsl(213, 12%, 52%);
  opacity: 0.55;
  line-height: 1.3;
}

.vxd-param-desc--scoped {
  opacity: 0.45;
  color: hsl(33, 83%, 62%);
}

.vxd-param-desc--inline {
  display: inline;
  margin-left: 8px;
  text-transform: none;
  letter-spacing: 0.03em;
}

.vxd-slider-wrap {
  position: relative;
  margin-top: 4px;
}

.vxd-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(to right, hsl(163, 83%, 62%) var(--pct, 0%), #1e2530 var(--pct, 0%));
}

.vxd-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: hsl(163, 83%, 62%);
  cursor: pointer;
  box-shadow: 0 0 0 2px hsl(220, 22%, 4%), 0 0 0 3px hsl(163, 83%, 62%), 0 0 6px rgba(74, 240, 196, 0.5);
  transition: box-shadow 150ms cubic-bezier(0.4, 0, 1, 1);
}

.vxd-slider:hover::-webkit-slider-thumb, .vxd-slider:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 2px hsl(220, 22%, 4%), 0 0 0 3px hsl(163, 83%, 62%), 0 0 12px rgba(74, 240, 196, 0.7);
}

.vxd-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: hsl(163, 83%, 62%);
  cursor: pointer;
  border: 2px solid hsl(220, 22%, 4%);
  box-shadow: 0 0 6px rgba(74, 240, 196, 0.5);
}

.vxd-slider::-moz-range-progress {
  background: hsl(163, 83%, 62%);
  height: 2px;
  border-radius: 1px;
}

.vxd-param-rail-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
}

.vxd-param-rail-labels span {
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  font-size: 8px;
  letter-spacing: 0.06em;
  color: hsl(213, 12%, 52%);
  opacity: 0.35;
}

.vxd-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vxd-system-prompt-field textarea {
  background: hsl(217, 22%, 11%);
  border: 1px solid hsla(0, 0%, 100%, 0.13);
  border-radius: 4px;
  color: hsl(225, 27%, 95%);
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  transition: border-color 150ms cubic-bezier(0.4, 0, 1, 1);
  width: 100%;
  font-size: 12.4444444444px;
  padding: 8px 10px;
  resize: vertical;
  min-height: 56px;
  line-height: 1.5;
}

.vxd-system-prompt-field textarea:focus {
  outline: none;
  border-color: hsl(163, 83%, 62%);
  box-shadow: 0 0 0 3px rgba(61, 232, 184, 0.1);
}

.vxd-system-prompt-field textarea::placeholder {
  color: hsl(213, 12%, 52%);
}

.vxd-config-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 360px) {
  .vxd-config-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
.vxd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: none;
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  font-size: 12.4444444444px;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 1, 1);
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.vxd-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.vxd-btn-primary {
  background: hsl(163, 83%, 62%);
  color: hsl(220, 22%, 4%);
}

.vxd-btn-primary:hover:not(:disabled) {
  background: rgb(106.5944700461, 237.4055299539, 200.6866359447);
  box-shadow: 0 0 20px rgba(74, 240, 196, 0.3);
}

.vxd-start-btn {
  box-shadow: 0 0 16px rgba(74, 240, 196, 0.12), 0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12.4444444444px;
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  padding: 10px 24px;
  animation: vxd-start-pulse 3s ease-in-out infinite;
}

.vxd-start-btn:hover:not(:disabled) {
  box-shadow: 0 0 32px rgba(74, 240, 196, 0.3), 0 4px 16px rgba(0, 0, 0, 0.4);
  animation: none;
  transform: translateY(-2px);
}

.vxd-start-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 0 16px rgba(74, 240, 196, 0.2);
}

@keyframes vxd-start-pulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(74, 240, 196, 0.1), 0 2px 8px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 24px rgba(74, 240, 196, 0.22), 0 2px 8px rgba(0, 0, 0, 0.4);
  }
}
.vxd-btn-ghost {
  background: transparent;
  color: hsl(216, 19%, 82%);
  border: 1px solid hsla(0, 0%, 100%, 0.13);
}

.vxd-btn-ghost:hover:not(:disabled) {
  border-color: hsla(0, 0%, 100%, 0.26);
  color: hsl(225, 27%, 95%);
}

.vxd-btn-warn {
  background: rgba(240, 168, 74, 0.1);
  color: hsl(33, 83%, 62%);
  border: 1px solid rgba(240, 168, 74, 0.2);
}

.vxd-btn-warn:hover:not(:disabled) {
  background: rgba(240, 168, 74, 0.2);
}

.vxd-lane-count-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

@media (max-width: 480px) {
  .vxd-lane-count-controls {
    margin-left: 0;
    justify-content: space-between;
  }
}
.vxd-lane-count-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(217, 22%, 11%);
  border: 1px solid hsla(0, 0%, 100%, 0.13);
  border-radius: 4px;
  color: hsl(216, 19%, 82%);
  font-size: 17.71875px;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 1, 1);
  line-height: 1;
  padding: 0;
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
}

.vxd-lane-count-btn:hover:not(:disabled) {
  border-color: hsl(163, 83%, 62%);
  color: hsl(163, 83%, 62%);
}

.vxd-lane-count-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.vxd-lane-count-label {
  font-size: 12.4444444444px;
  color: hsl(213, 12%, 52%);
  min-width: 52px;
  text-align: center;
}

.vxd-session-stats {
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 8;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: hsla(0, 0%, 100%, 0.13) transparent;
}

.vxd-session-stats .vxd-stats-strip {
  width: 100%;
}

.vxd-session-stats .vxd-sbar-value {
  font-size: 12.4444444444px;
}

.vxd-energy-info-icon {
  cursor: help;
  opacity: 0.5;
  font-style: normal;
  font-size: 12.4444444444px;
}

.vxd-lanes-wrap {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: hsla(0, 0%, 100%, 0.13) transparent;
  position: relative;
  display: flex;
  flex-direction: column;
}

.vxd-info-wrap {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.vxd-info-wrap #comparison-container {
  flex: 1 1 0;
  min-height: 0;
}

/* ── Lane-row drag handle (radar ↔ body boundary) ─────────────── */
.vxd-lane-row-handle {
  position: absolute;
  height: 5px;
  cursor: row-resize;
  background: hsla(0, 0%, 100%, 0.13);
  z-index: 20;
  transition: background 150ms cubic-bezier(0.4, 0, 1, 1);
}
.vxd-lane-row-handle::before {
  content: "";
  position: absolute;
  inset: -4px 0;
}
.vxd-lane-row-handle::after {
  content: "⸽";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  color: hsl(213, 12%, 52%);
  font-size: 14px;
  pointer-events: none;
  line-height: 1;
}
.vxd-lane-row-handle:hover, .vxd-lane-row-handle:focus-visible, .vxd-lane-row-handle.is-dragging {
  background: hsl(163, 83%, 62%);
  box-shadow: 0 0 8px rgba(74, 240, 196, 0.3);
  outline: none;
}

/* ── Split handle (desktop only) ──────────────────────────────────── */
.vxd-split-handle {
  display: none; /* hidden on mobile */
  /* Vertical handle: between lanes and info panels (left/right drag) */
}
.vxd-split-handle[aria-orientation=vertical] {
  display: none;
}
@media (min-width: 1200px) and (orientation: landscape) {
  .vxd-split-handle[aria-orientation=vertical] {
    display: block;
    grid-column: 2;
    grid-row: 3;
    width: 5px;
    cursor: col-resize;
    background: hsla(0, 0%, 100%, 0.13);
    position: relative;
    z-index: 15;
    transition: background 150ms cubic-bezier(0.4, 0, 1, 1);
  }
  .vxd-split-handle[aria-orientation=vertical]::before {
    content: "";
    position: absolute;
    inset: 0 -4px; /* expand hit area */
  }
  .vxd-split-handle[aria-orientation=vertical]:hover, .vxd-split-handle[aria-orientation=vertical]:active, .vxd-split-handle[aria-orientation=vertical].is-dragging {
    background: hsl(163, 83%, 62%);
    box-shadow: 0 0 8px rgba(74, 240, 196, 0.3);
  }
  .vxd-split-handle[aria-orientation=vertical] {
    /* Grip dots */
  }
  .vxd-split-handle[aria-orientation=vertical]::after {
    content: "⸽";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: hsl(213, 12%, 52%);
    font-size: 14px;
    letter-spacing: 2px;
    pointer-events: none;
  }
}
.vxd-split-handle {
  /* Horizontal handle: between findings and viz rows (top/bottom drag) */
}
.vxd-split-handle[aria-orientation=horizontal] {
  display: none;
}
@media (min-width: 1200px) and (orientation: landscape) {
  .vxd-split-handle[aria-orientation=horizontal] {
    display: block;
    height: 5px;
    cursor: row-resize;
    background: hsla(0, 0%, 100%, 0.13);
    position: relative;
    z-index: 15;
    transition: background 150ms cubic-bezier(0.4, 0, 1, 1);
    margin: 0;
  }
  .vxd-split-handle[aria-orientation=horizontal]::before {
    content: "";
    position: absolute;
    inset: -4px 0; /* expand hit area vertically */
  }
  .vxd-split-handle[aria-orientation=horizontal]:hover, .vxd-split-handle[aria-orientation=horizontal]:active, .vxd-split-handle[aria-orientation=horizontal].is-dragging {
    background: hsl(163, 83%, 62%);
    box-shadow: 0 0 8px rgba(74, 240, 196, 0.3);
  }
  .vxd-split-handle[aria-orientation=horizontal] {
    /* Grip dots */
  }
  .vxd-split-handle[aria-orientation=horizontal]::after {
    content: "⸽";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: hsl(213, 12%, 52%);
    font-size: 14px;
    letter-spacing: 2px;
    pointer-events: none;
  }
}

/* ── When session is running, hide config bar chrome ── */
.vxd-comparison[data-state=running] .vxd-config-bar {
  padding: 0;
  gap: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}
.vxd-comparison[data-state=running] .vxd-config-bar .vxd-prompt-block,
.vxd-comparison[data-state=running] .vxd-config-bar > div:has(.vxd-advanced-toggle),
.vxd-comparison[data-state=running] .vxd-config-bar .vxd-config-actions {
  display: none;
}
.vxd-comparison[data-state=running] .vxd-config-bar .vxd-lane-configs {
  display: none;
}

.vxd-lane-running-head {
  border-top: 3px solid var(--lane-color, hsla(0, 0%, 100%, 0.13));
  background: color-mix(in srgb, var(--lane-color, hsl(220, 21%, 7%)) 8%, hsl(220, 21%, 7%));
  flex-shrink: 0;
  order: 2;
  z-index: 3;
  display: flex;
  flex-direction: column;
  position: relative;
}

.vxd-lane-running-head .vxd-lane-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 4px 12px;
  min-width: 0;
}

.vxd-lane-running-head .vxd-lane-label {
  font-size: 12.4444444444px;
  font-weight: 600;
  color: hsl(225, 27%, 95%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.vxd-lane-running-head .vxd-lane-model {
  font-size: 12.4444444444px;
  color: hsl(213, 12%, 52%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.vxd-lane-running-head .vxd-lane-color-btn {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  padding: 0;
  background: var(--lane-color, hsl(213, 12%, 52%));
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease;
}
.vxd-lane-running-head .vxd-lane-color-btn:hover, .vxd-lane-running-head .vxd-lane-color-btn:focus-visible {
  transform: scale(1.35);
  border-color: rgba(255, 255, 255, 0.7);
  outline: none;
}

.vxd-lane-color-picker {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: hsl(220, 21%, 7%);
  border: 1px solid hsla(0, 0%, 100%, 0.13);
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.35);
}
.vxd-lane-color-picker .vxd-color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 100ms ease, border-color 100ms ease;
}
.vxd-lane-color-picker .vxd-color-swatch:hover, .vxd-lane-color-picker .vxd-color-swatch:focus-visible {
  transform: scale(1.2);
  outline: none;
}
.vxd-lane-color-picker .vxd-color-swatch.is-active {
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.15);
}



/*# sourceMappingURL=layout.css.map */
