@charset "UTF-8";
/**
 * VoxDiff Axis Timeline Styling
 * Per-turn axis scores with volatility indicators and signal strength metering
 */
/**
 * 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%);
  }
}
#timeline-sidebar {
  background: hsl(220, 21%, 7%);
  overflow-x: hidden;
  overflow-y: visible;
  display: flex;
  flex-direction: column;
  font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Code", "Fira Code", monospace;
  color: hsl(216, 19%, 82%);
  font-size: 11.0617283951px;
}

#timeline-header {
  padding: 7px 12px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
#timeline-header h3 {
  margin: 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(213, 12%, 52%);
}
#timeline-header .timeline-config {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 3px;
  transition: background-color 200ms ease;
}
#timeline-header .timeline-config:hover {
  background: hsla(0, 0%, 100%, 0.07);
}
#timeline-header .timeline-config:active {
  background: hsla(0, 0%, 100%, 0.13);
}

#timeline-content {
  overflow-y: auto;
  overflow-x: auto;
  flex: 1;
}
#timeline-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
#timeline-content::-webkit-scrollbar-track {
  background: hsla(0, 0%, 100%, 0.07);
}
#timeline-content::-webkit-scrollbar-thumb {
  background: hsla(0, 0%, 100%, 0.26);
  border-radius: 4px;
}
#timeline-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

.timeline-grid {
  display: grid;
  grid-template-columns: 80px repeat(auto-fit, 60px);
  gap: 0;
  min-width: min-content;
}

.axis-row {
  display: contents;
}
.axis-label {
  padding: 0.5rem;
  text-align: left;
  border-right: 1px solid hsla(0, 0%, 100%, 0.13);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.13);
  background: hsl(220, 21%, 7%);
  font-weight: 600;
  white-space: nowrap;
  min-width: 80px;
}
.axis-row.header .axis-label {
  background: hsl(220, 17%, 9%);
  border-bottom: 2px solid #999;
  position: sticky;
  top: 0;
  z-index: 10;
  font-weight: bold;
}

.axis-cell {
  padding: 0.5rem;
  border-right: 1px solid hsla(0, 0%, 100%, 0.13);
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: hsl(220, 21%, 7%);
  min-width: 60px;
  position: relative;
}
.axis-cell .value {
  font-weight: 600;
  color: hsl(216, 19%, 82%);
}
.axis-cell .volatility {
  margin-left: 0.25rem;
  font-size: 0.8em;
  opacity: 0.8;
}
.axis-cell .lane-values {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  width: 100%;
}
.axis-cell .lane-values .lane-value {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}
.axis-cell .lane-values .lane-value .value {
  font-weight: 600;
}
.axis-cell .lane-values .lane-value .signal-meter {
  font-size: 0.9em;
  letter-spacing: 2px;
  opacity: 0.9;
}
.axis-row:nth-child(odd) .axis-cell {
  background: hsl(220, 18%, 12%);
}

.axis-cell.hypothesis {
  background: color-mix(in srgb, hsl(286, 83%, 62%) 8%, hsl(220, 21%, 7%));
}
.axis-cell.hypothesis .lane-values {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.axis-cell.hypothesis .lane-values .lane-value {
  width: 100%;
  gap: 0.5rem;
}

.axis-row:nth-child(odd) .axis-cell.hypothesis {
  background: color-mix(in srgb, hsl(286, 83%, 62%) 5%, hsl(220, 21%, 7%));
}

.timeline-config-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
}
.timeline-config-modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.modal-content {
  position: relative;
  z-index: 1001;
  background: hsl(220, 21%, 7%);
  border-radius: 8px;
  box-shadow: 0 4px 20px hsla(0, 0%, 100%, 0.26);
  margin: auto;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}
.modal-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.modal-header .modal-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  color: hsl(213, 12%, 52%);
  transition: color 200ms ease;
}
.modal-header .modal-close:hover {
  color: #000;
}

.modal-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}

.modal-section {
  margin-bottom: 20px;
}
.modal-section:last-child {
  margin-bottom: 0;
}
.modal-section h5 {
  margin: 0 0 12px 0;
  font-size: 12.4444444444px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(213, 12%, 52%);
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  cursor: pointer;
}
.checkbox-item input[type=checkbox] {
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: #3c8cc8;
}
.checkbox-item label {
  margin: 0;
  cursor: pointer;
  flex: 1;
  user-select: none;
}

@media (max-width: 1024px) {
  #timeline-sidebar {
    width: 280px;
    font-size: 10px;
  }
  .axis-label {
    min-width: 70px;
  }
  .axis-cell {
    min-width: 55px;
    padding: 0.4rem;
  }
}
@media (max-width: 768px) {
  #timeline-sidebar {
    width: 250px;
    font-size: 9px;
  }
  #timeline-header {
    padding: 0.5rem;
  }
  #timeline-header h3 {
    font-size: 11.0617283951px;
  }
  .axis-label {
    padding: 0.35rem;
    min-width: 60px;
    font-size: 9px;
  }
  .axis-cell {
    padding: 0.35rem;
    min-width: 50px;
  }
  .axis-cell .lane-values {
    font-size: 0.9em;
  }
  .axis-cell .signal-meter {
    letter-spacing: 1px;
  }
}
@media (max-width: 600px) {
  #timeline-sidebar {
    width: 100%;
    border-left: none;
    border-top: 1px solid hsla(0, 0%, 100%, 0.13);
    max-height: 300px;
  }
  .timeline-grid {
    grid-template-columns: 60px repeat(2, 50px);
  }
  .axis-label,
  .axis-cell {
    font-size: 9px;
    padding: 0.3rem;
    min-width: auto;
  }
  .modal-content {
    max-width: 90vw;
  }
}
@media (prefers-color-scheme: dark) {
  #timeline-sidebar {
    background: #1a1a1a;
    border-left-color: hsl(216, 19%, 82%);
  }
  #timeline-header {
    border-bottom-color: hsl(216, 19%, 82%);
  }
  #timeline-header .timeline-config:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  .axis-label {
    background: #222;
    border-right-color: hsl(216, 19%, 82%);
    border-bottom-color: hsl(216, 19%, 82%);
    color: #e0e0e0;
  }
  .axis-row.header .axis-label {
    background: #2a2a2a;
    border-bottom-color: #555;
  }
  .axis-cell {
    background: #1f1f1f;
    border-right-color: hsl(216, 19%, 82%);
    border-bottom-color: #2a2a2a;
    color: #e0e0e0;
  }
  .axis-cell .value {
    color: #e0e0e0;
  }
  .axis-row:nth-child(odd) .axis-cell {
    background: #1a1a1a;
  }
  .axis-cell.hypothesis {
    background: #2a1a3a;
  }
  .axis-cell.hypothesis .value {
    color: #d8b8ff;
  }
  .axis-row:nth-child(odd) .axis-cell.hypothesis {
    background: #25153a;
  }
  .modal-content {
    background: #2a2a2a;
    color: #e0e0e0;
  }
  .modal-content .modal-header {
    border-bottom-color: hsl(216, 19%, 82%);
  }
  .modal-content .modal-header .modal-close {
    color: #999;
  }
  .modal-content .modal-header .modal-close:hover {
    color: #e0e0e0;
  }
  .modal-section h5 {
    color: #999;
  }
  .checkbox-item {
    color: #e0e0e0;
  }
}

/*# sourceMappingURL=axis-timeline.css.map */
