@charset "UTF-8";
/**
 * VoxDiff Finding Cards & Pattern Signals
 * Narrative layer: turn-by-turn claims, pattern signal bars, sidebar states.
 */
/**
 * 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%);
  }
}
.vxd-finding-card {
  background: hsl(220, 18%, 12%);
  border: 1px solid hsla(0, 0%, 100%, 0.13);
  border-radius: 4px;
  margin-bottom: 6px;
  padding: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  font-size: 12.4444444444px;
  line-height: 1.55;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  overflow: hidden;
}
.vxd-finding-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
.vxd-finding-card:last-child {
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────────────────────── */
/* CARD HEADER: Turn Label + Timestamp                            */
/* ─────────────────────────────────────────────────────────────── */
.vxd-finding-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.13);
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.2);
  gap: 4px;
}

.vxd-turn-label {
  font-weight: 700;
  font-size: 15.75px;
  color: hsl(216, 19%, 82%);
  flex-shrink: 0;
  /* Turn-specific coloring via data-turn attribute */
}
.vxd-finding-card[data-turn="1"] .vxd-turn-label {
  color: hsl(0, 100%, 70%); /* Turn 1: prominent red */
}
.vxd-finding-card[data-turn="2"] .vxd-turn-label {
  color: hsl(14, 100%, 72%); /* Turn 2: softer red */
}
.vxd-finding-card[data-turn="3"] .vxd-turn-label {
  color: hsl(163, 83%, 62%); /* Turn 3+: teal */
}
.vxd-finding-card[data-turn="4"] .vxd-turn-label, .vxd-finding-card[data-turn="5"] .vxd-turn-label {
  color: hsl(163, 83%, 62%); /* Consistent Turn 3+ color */
}

.vxd-turn-ts {
  display: none;
}

.vxd-finding-div {
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  font-size: 11.0617283951px;
  letter-spacing: 0.08em;
  color: hsl(213, 12%, 52%);
  padding: 1px 6px;
  border: 1px solid hsla(0, 0%, 100%, 0.13);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
}

.vxd-axes-table {
  display: flex;
  flex-direction: row;
  height: 8px;
  gap: 2px;
  border-top: 1px solid hsla(0, 0%, 100%, 0.13);
  margin-top: 8px;
  border-radius: 3px;
  overflow: hidden;
}

.vxd-ax-segment {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 1px;
}

.vxd-ax-bar-fill {
  flex: 1;
  height: 8px;
}

/* ─────────────────────────────────────────────────────────────── */
/* CARD BODY: Claim Text + Pattern Signals                        */
/* ─────────────────────────────────────────────────────────────── */
.vxd-finding-body {
  padding: 8px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vxd-turn-claim {
  color: hsl(216, 19%, 82%);
  margin: 0;
  font-weight: 400;
  font-size: 12.4444444444px;
  line-height: 1.6;
}

.vxd-session-summary {
  font-size: 11.0617283951px;
  color: hsl(213, 12%, 52%);
  line-height: 1.5;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid rgba(74, 240, 196, 0.3);
  border-radius: 0 2px 2px 0;
}
.vxd-session-summary p {
  margin: 0;
}
.vxd-session-summary strong {
  color: hsl(216, 19%, 82%);
  font-weight: 600;
}

.unique-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid hsla(0, 0%, 100%, 0.13);
  margin-top: 4px;
}

.unique-lane {
  font-size: 11.0617283951px;
  color: hsl(213, 12%, 52%);
  line-height: 1.55;
  padding: 6px 10px;
  border-top: 2px solid transparent;
  border-right: 1px solid hsla(0, 0%, 100%, 0.13);
}
.unique-lane:last-child {
  border-right: none;
}
.unique-lane strong {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(216, 19%, 82%);
  font-weight: 600;
  margin-bottom: 4px;
}
.unique-lane ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.unique-lane ul li {
  line-height: 1.5;
  padding-left: 10px;
  position: relative;
}
.unique-lane ul li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: hsl(213, 19%, 29%);
}

/* ─────────────────────────────────────────────────────────────── */
/* PATTERN SIGNALS: Turn 3+ Visualization (Bars)                  */
/* ─────────────────────────────────────────────────────────────── */
.vxd-pattern-signals {
  margin: 0.75rem 0;
  padding: 12px;
  background: hsl(220, 18%, 12%);
  border-left: 3px solid #FF6B6B;
  border-radius: 0 4px 4px 0;
  display: grid;
  gap: 4px;
}

.vxd-signal {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 12.4444444444px;
}
.vxd-signal .label {
  font-weight: 500;
  color: hsl(213, 12%, 52%);
  font-size: 12.4444444444px;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}
.vxd-signal .bar {
  height: 20px;
  background: linear-gradient(to right, hsl(0, 100%, 70%), color-mix(in srgb, hsl(0, 100%, 70%) 50%, white));
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  color: white;
  font-size: 11.0617283951px;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-width: 60px;
  transition: all 0.3s ease;
  /* Color coding by signal type */
}
.vxd-signal.consistency .vxd-signal .bar {
  background: linear-gradient(to right, hsl(163, 83%, 62%), color-mix(in srgb, hsl(163, 83%, 62%) 60%, white));
}
.vxd-signal.sycophancy .vxd-signal .bar {
  background: linear-gradient(to right, hsl(33, 83%, 62%), color-mix(in srgb, hsl(33, 83%, 62%) 50%, white));
}
.vxd-signal.revision .vxd-signal .bar {
  background: linear-gradient(to right, hsl(286, 83%, 62%), color-mix(in srgb, hsl(286, 83%, 62%) 50%, white));
}
.vxd-signal.collapse .vxd-signal .bar {
  background: linear-gradient(to right, hsl(0, 83%, 62%), color-mix(in srgb, hsl(0, 83%, 62%) 50%, white));
}

/* ─────────────────────────────────────────────────────────────── */
/* SESSION SUMMARY: Turn 3+ Only                                  */
/* ─────────────────────────────────────────────────────────────── */
.vxd-session-summary {
  margin-top: 0.75rem;
  padding: 12px;
  background: hsl(220, 17%, 9%);
  border-left: 3px solid #4ECDC4;
  border-radius: 0 4px 4px 0;
  font-size: 12.4444444444px;
  color: hsl(216, 19%, 82%);
  line-height: 1.5;
}
.vxd-session-summary p {
  margin: 0;
}
.vxd-session-summary p strong {
  color: hsl(163, 83%, 62%);
}

/* ─────────────────────────────────────────────────────────────── */
/* CARD FOOTER: Next Turn Prompt                                  */
/* ─────────────────────────────────────────────────────────────── */
.vxd-finding-footer {
  padding-top: 0.5rem;
  border-top: 1px solid hsla(0, 0%, 100%, 0.07);
}

.vxd-next-turn-prompt {
  margin: 0;
  font-size: 12.4444444444px;
  color: hsl(213, 12%, 52%);
  font-style: italic;
  line-height: 1.4;
}
.vxd-next-turn-prompt em {
  margin-right: 0.4rem;
  color: hsl(163, 83%, 62%);
}

/* ─────────────────────────────────────────────────────────────── */
/* FINDINGS SIDEBAR: Container & State Transitions                */
/* ─────────────────────────────────────────────────────────────── */
#findings-sidebar {
  display: flex;
  flex-direction: column;
}
#findings-sidebar .findings-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
#findings-sidebar .findings-sidebar-header h3 {
  margin: 0;
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(213, 12%, 52%);
}
#findings-sidebar .findings-sidebar-header .findings-sidebar-minimize-btn {
  background: none;
  border: 1px solid hsla(0, 0%, 100%, 0.13);
  border-radius: 2px;
  color: hsl(213, 12%, 52%);
  font-size: 14px;
  line-height: 1;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease;
  padding: 0;
}
#findings-sidebar .findings-sidebar-header .findings-sidebar-minimize-btn:hover {
  border-color: hsla(0, 0%, 100%, 0.26);
  color: hsl(216, 19%, 82%);
}
#findings-sidebar .findings-sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  flex: 1 1 0;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}
#findings-sidebar .findings-sidebar-content .vxd-finding-card {
  flex-shrink: 0;
  margin-bottom: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  box-shadow: none;
}
#findings-sidebar .findings-sidebar-content .vxd-finding-card:not(:last-child) {
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.13);
}
#findings-sidebar .findings-sidebar-content .vxd-finding-card:last-child {
  border-bottom: none;
}

#vxd-findings-sidebar-content {
  display: flex;
  flex-direction: column;
}

/* ─────────────────────────────────────────────────────────────── */
/* MINIMIZED MODE: Tab Navigation                                 */
/* ─────────────────────────────────────────────────────────────── */
.vxd-findings-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  overflow-y: auto;
  max-height: calc(100vh - 120px);
}

.vxd-findings-tab {
  background: hsl(220, 18%, 12%);
  border: 1px solid #999;
  border-radius: 4px;
  padding: 4px 2px;
  cursor: pointer;
  font-size: 12.4444444444px;
  font-weight: 600;
  text-align: center;
  color: hsl(216, 19%, 82%);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.vxd-findings-tab:hover {
  background: hsl(220, 19%, 15%);
  border-color: hsla(0, 0%, 100%, 0.26);
}
.vxd-findings-tab.active {
  background: hsl(0, 100%, 70%);
  color: white;
  border-color: hsl(0, 83%, 62%);
  box-shadow: 0 2px 4px color-mix(in srgb, hsl(0, 100%, 70%) 30%, transparent);
}

/* ─────────────────────────────────────────────────────────────── */
/* MINIMIZED SIDEBAR: Collapsed State (60px width)                */
/* ─────────────────────────────────────────────────────────────── */
#vxd-findings-sidebar.minimized {
  width: 60px !important;
  min-width: 60px;
}
#vxd-findings-sidebar.minimized #vxd-findings-sidebar-header-label {
  display: none;
}
#vxd-findings-sidebar.minimized #vxd-findings-sidebar-content {
  display: none;
}
#vxd-findings-sidebar.minimized .vxd-findings-tabs {
  display: flex;
}

/* ─────────────────────────────────────────────────────────────── */
/* EXPANDED SIDEBAR: Default State (300px width)                  */
/* EXPANDED SIDEBAR: Default State (300px width)                  */
/* ─────────────────────────────────────────────────────────────── */
#vxd-findings-sidebar:not(.minimized) #vxd-findings-sidebar-content {
  display: flex;
}
#vxd-findings-sidebar:not(.minimized) .vxd-findings-tabs {
  display: none;
}

/* ─────────────────────────────────────────────────────────────── */
/* POPOVER: For minimized mode card inspection                    */
/* POPOVER: For minimized mode card inspection                    */
/* ─────────────────────────────────────────────────────────────── */
.vxd-finding-popover {
  position: fixed;
  bottom: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: hsl(220, 21%, 7%);
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 4px 8px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  padding: 24px;
  z-index: 9999;
  animation: popoverSlideUp 0.2s ease;
}
@keyframes popoverSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
.vxd-finding-popover .vxd-finding-card {
  margin: 0;
  box-shadow: none;
  border: none;
}
.vxd-finding-popover .vxd-finding-card:hover {
  box-shadow: none;
}
.vxd-finding-popover .popover-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 19.93359375px;
  cursor: pointer;
  color: hsl(213, 12%, 52%);
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s ease;
}
.vxd-finding-popover .popover-close:hover {
  color: hsl(216, 19%, 82%);
}

.vxd-finding-popover-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: hsla(0, 0%, 0%, 0.5);
  z-index: 9998;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ─────────────────────────────────────────────────────────────── */
/* RESPONSIVE ADJUSTMENTS                                         */
/* ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .vxd-finding-card {
    font-size: 12.4444444444px;
    padding: 12px;
  }
  .vxd-finding-header {
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
  }
  .vxd-turn-claim {
    margin: 0 0 0.5rem 0;
    font-size: 0.92rem;
  }
  .vxd-pattern-signals {
    margin: 0.5rem 0;
    padding: 4px;
  }
  .vxd-signal {
    grid-template-columns: 85px 1fr;
    gap: 4px;
    font-size: 12.4444444444px;
  }
}
@media (max-width: 768px) {
  .vxd-finding-card {
    font-size: 0.88rem;
    padding: 0.6rem;
  }
  .vxd-turn-claim {
    font-size: 12.4444444444px;
  }
  .vxd-pattern-signals {
    padding: 0.4rem;
  }
  .vxd-signal {
    grid-template-columns: 75px 1fr;
    font-size: 12.4444444444px;
  }
  .vxd-signal .bar {
    height: 18px;
    min-width: 50px;
    font-size: 0.7rem;
    padding-right: 4px;
  }
}

/*# sourceMappingURL=finding-cards.css.map */
