/* Base Design System & CSS Tokens - Warm Sand/Slate Editorial Theme */
:root {
  --bg-app: #f6f4f0;
  --bg-panel: rgba(255, 255, 255, 0.88);
  --bg-panel-solid: #ffffff;
  --border-color: rgba(43, 38, 30, 0.12);
  --border-focus: #7c5e43;
  --bg-hover: rgba(43, 38, 30, 0.04);
  --bg-gradient-center: rgba(230, 227, 218, 0.5);
  --bg-slider-track: rgba(0, 0, 0, 0.08);
  --bg-visualizer: rgba(0, 0, 0, 0.02);
  --bg-canvas-output: rgba(0, 0, 0, 0.02);
  --bg-tooltip: #2a2520;
  --text-tooltip: #f6f4f0;
  --bg-input: #ffffff;
  --bg-timeline: rgba(0, 0, 0, 0.04);
  --btn-start-bg: linear-gradient(135deg, var(--color-formal), var(--color-casual));
  
  /* Text colors */
  --text-main: #2a2520;
  --text-muted: #5c544d;
  --text-dim: #8e857c;
  
  /* Accent States (Steering Vectors) */
  --color-formal: #2e5b70;      /* Rich Slate/Steel Blue */
  --color-casual: #3d704d;      /* Rich Sage/Forest Green */
  --color-nudged: #c25330;      /* Rich Terracotta */
  --color-abstract: #7d6f60;    /* Muted Sand/Taupe */
  --color-concrete: #bd7d31;    /* Rich Ochre Gold */
  --color-danger: #b33629;      /* Brick Red */
  
  /* Background Highlights for Steered Words */
  --bg-formal-highlight: rgba(46, 91, 112, 0.08);
  --bg-casual-highlight: rgba(61, 112, 77, 0.08);
  --bg-nudge-highlight: rgba(194, 83, 48, 0.08);
  
  /* Font Families */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-formal: 0 0 10px rgba(46, 91, 112, 0.25);
  --glow-casual: 0 0 10px rgba(61, 112, 77, 0.25);
  --glow-nudged: 0 0 10px rgba(194, 83, 48, 0.25);
  --shadow-panel: 0 10px 40px rgba(43, 38, 30, 0.08);
}

/* Dark Theme Variables (Gunmetal & Copper/Bronze) */
body.dark-theme {
  --bg-app: #121316;
  --bg-panel: rgba(22, 23, 27, 0.85);
  --bg-panel-solid: #16171b;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: #c29f6b;
  --bg-hover: rgba(255, 255, 255, 0.05);
  --bg-gradient-center: rgba(30, 32, 38, 0.6);
  --bg-slider-track: rgba(255, 255, 255, 0.12);
  --bg-visualizer: rgba(0, 0, 0, 0.2);
  --bg-canvas-output: rgba(0, 0, 0, 0.15);
  --bg-tooltip: #16171b;
  --text-tooltip: #e8e6e3;
  --bg-input: rgba(0, 0, 0, 0.25);
  --bg-timeline: rgba(0, 0, 0, 0.2);
  --btn-start-bg: linear-gradient(135deg, var(--color-formal), var(--color-casual));
  
  --text-main: #e8e6e3;
  --text-muted: #9e9b97;
  --text-dim: #706e6a;
  
  --color-formal: #7fa4b6;      /* Ice Blue/Slate */
  --color-casual: #82ab8c;      /* Moss Green */
  --color-nudged: #d9825b;      /* Burnished Copper */
  --color-abstract: #a0a8b0;    /* Silver */
  --color-concrete: #c29f6b;    /* Gold/Bronze */
  --color-danger: #d95b5b;      /* Slate Red */
  
  --bg-formal-highlight: rgba(127, 164, 182, 0.15);
  --bg-casual-highlight: rgba(130, 171, 140, 0.15);
  --bg-nudge-highlight: rgba(217, 130, 91, 0.15);

  --glow-formal: 0 0 10px rgba(127, 164, 182, 0.15);
  --glow-casual: 0 0 10px rgba(130, 171, 140, 0.15);
  --glow-nudged: 0 0 10px rgba(217, 130, 91, 0.15);
  --shadow-panel: 0 10px 40px rgba(0, 0, 0, 0.45);
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-app);
  color: var(--text-main);
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-app);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* App Container */
.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
}

/* Header */
.app-header {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  background-color: var(--bg-panel-solid);
  border-bottom: 1px solid var(--border-color);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 20px;
  background: linear-gradient(135deg, var(--color-formal), var(--color-nudged));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand h1 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(79, 70, 229, 0.3);
  color: #a78bfa;
}

.divider {
  color: var(--text-dim);
  opacity: 0.3;
}

.subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.header-btn:hover {
  background: var(--bg-hover);
  border-color: var(--text-muted);
}

.header-btn.danger {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.2);
}

.header-btn.danger:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.5);
}

/* Workspace Layout */
.main-workspace {
  flex: 1;
  display: grid;
  grid-template-columns: 320px 1fr 340px;
  height: calc(100vh - 60px);
  background-image: radial-gradient(circle at 50% 50%, var(--bg-gradient-center), var(--bg-app));
}

/* Panel Defaults */
.panel {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-right: 1px solid var(--border-color);
  overflow: hidden;
}

.panel-section {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.panel h2 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel h2 i {
  color: var(--color-formal);
}

.section-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Left Panel: Walkthrough Steps */
.scenario-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scenario-btn {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  display: flex;
  gap: 12px;
  transition: var(--transition-smooth);
}

.scenario-btn:not(:disabled):hover {
  background: var(--bg-hover);
  border-color: var(--border-color);
}

.scenario-btn.active {
  background: var(--bg-panel-solid);
  border-color: var(--color-formal);
  box-shadow: var(--glow-formal);
}

.scenario-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
}

.scenario-btn.active .step-num {
  color: var(--color-formal);
}

.step-content strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.step-content p {
  font-size: 11px;
  color: var(--text-muted);
}

/* Steering Sliders Dashboard */
.steering-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
}

.label-left {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.label-right {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.slider-value {
  font-family: var(--font-mono);
  color: var(--text-main);
  background: var(--bg-hover);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
}

/* HTML5 Slider Custom Styling */
.steering-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-slider-track);
  outline: none;
  transition: background 0.3s;
}

.steering-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-panel-solid);
  border: 3px solid var(--border-focus);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.1s;
}

.steering-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

/* Center Panel (Canvas Panel) */
.canvas-panel {
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.canvas-header {
  height: 50px;
  border-bottom: 1px solid var(--border-color);
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-panel-solid);
}

.canvas-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pulse-indicator.status-ready {
  background-color: var(--color-casual);
  box-shadow: 0 0 8px var(--color-casual);
}

.pulse-indicator.status-generating {
  background-color: var(--color-formal);
  box-shadow: 0 0 8px var(--color-formal);
  animation: pulse-animation 1.5s infinite;
}

.pulse-indicator.status-paused {
  background-color: var(--color-nudged);
  box-shadow: 0 0 8px var(--color-nudged);
  animation: pulse-animation-paused 1s infinite alternate;
}

@keyframes pulse-animation {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes pulse-animation-paused {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.canvas-status strong {
  font-size: 13px;
}

.canvas-status p {
  font-size: 10px;
  color: var(--text-muted);
}

.engine-meters {
  font-family: var(--font-mono);
  font-size: 11px;
}

.meter-tag {
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* High-tech Steering Wheel HUD Widget */
.steering-visualizer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  background: var(--bg-visualizer);
  border-bottom: 1px solid var(--border-color);
  gap: 40px;
}

.steering-wheel-outer {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px dashed var(--text-dim);
  opacity: 0.55;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.1s ease-out;
}

.steering-wheel-inner {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-panel-solid);
}

.crosshair-x {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border-color);
}

.crosshair-y {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 1px;
  background: var(--border-color);
}

.steering-marker {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border: 2px solid var(--border-focus);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--border-focus);
  transition: top 0.2s cubic-bezier(0.1, 0.8, 0.3, 1), left 0.2s cubic-bezier(0.1, 0.8, 0.3, 1);
  z-index: 2;
}

/* Steering Label Placements */
.wheel-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 700;
}

.wheel-label.north { top: -18px; left: 50%; transform: translateX(-50%); }
.wheel-label.south { bottom: -18px; left: 50%; transform: translateX(-50%); }
.wheel-label.east { right: -28px; top: 50%; transform: translateY(-50%); }
.wheel-label.west { left: -28px; top: 50%; transform: translateY(-50%); }

.wheel-readout {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.readout-item {
  display: flex;
  flex-direction: column;
}

.readout-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.readout-val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-formal);
}

/* Output Canvas & Typing Arena */
.canvas-output-wrapper {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--bg-canvas-output);
}

.canvas-output {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px;
  overflow-y: auto;
  line-height: 1.8;
  font-size: 15px;
  color: var(--text-main);
  user-select: text;
}

.canvas-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80%;
  color: var(--text-dim);
  text-align: center;
  gap: 16px;
}

.canvas-placeholder i {
  font-size: 32px;
  opacity: 0.3;
}

.canvas-placeholder p {
  font-size: 13px;
  max-width: 300px;
}

/* Custom streaming word containers */
.word-span {
  display: inline-block;
  margin-right: 4px;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  animation: word-appear 0.15s ease-out forwards;
  padding: 0 1px;
}

/* Words are color-coded depending on the steering state at creation */
.word-span.state-formal {
  background: var(--bg-formal-highlight);
  border-bottom: 2px solid var(--color-formal);
  padding: 0 3px;
  border-radius: 2px;
}

.word-span.state-casual {
  background: var(--bg-casual-highlight);
  border-bottom: 2px solid var(--color-casual);
  padding: 0 3px;
  border-radius: 2px;
}

.word-span.state-nudged {
  background: var(--bg-nudge-highlight);
  border-bottom: 2px solid var(--color-nudged);
  padding: 0 3px;
  border-radius: 2px;
}

.word-span:hover {
  background: var(--bg-hover);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Hover Tooltip showing metadata */
.word-span::after {
  content: attr(data-meta);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: var(--bg-tooltip);
  border: 1px solid var(--border-color);
  color: var(--text-tooltip);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 9px;
  font-family: var(--font-mono);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 100;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.word-span:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes word-appear {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Generation Complete highlight */
.pulse-indicator.status-ready {
  animation: none;
}

/* Mid-generation Nudge Overlay Box */
.nudge-dialog {
  position: absolute;
  z-index: 200;
  width: 340px;
  background: var(--bg-panel-solid);
  border: 1px solid var(--color-nudged);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 10px 25px var(--glow-nudged);
  backdrop-filter: blur(20px);
}

.nudge-dialog-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 201;
}

/* Tooltip positioning styles */
.nudge-dialog-arrow.arrow-top {
  border-width: 0 8px 8px 8px;
  border-color: transparent transparent var(--color-nudged) transparent;
  top: -8px;
  left: 20px;
}

.nudge-dialog-arrow.arrow-bottom {
  border-width: 8px 8px 0 8px;
  border-color: var(--color-nudged) transparent transparent transparent;
  bottom: -8px;
  left: 20px;
}

.nudge-dialog-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--color-nudged);
}

.nudge-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.nudge-form input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 12px;
  outline: none;
  transition: var(--transition-smooth);
}

.nudge-form input:focus {
  border-color: var(--color-nudged);
  box-shadow: 0 0 8px var(--glow-nudged);
}

.nudge-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.btn-nudge-sec {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  transition: var(--transition-smooth);
}

.btn-nudge-sec:hover {
  background: var(--bg-hover);
}

.btn-nudge-pri {
  background: var(--color-nudged);
  border: none;
  color: var(--bg-panel-solid);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 11px;
  transition: var(--transition-smooth);
}

.btn-nudge-pri:hover {
  opacity: 0.9;
  box-shadow: var(--glow-nudged);
}

/* Prompt Bottom Bar */
.canvas-input-area {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-visualizer);
}

.instruction-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-panel-solid);
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: 8px;
}

.instruction-box textarea {
  width: 100%;
  height: 60px;
  background: transparent;
  border: none;
  resize: none;
  color: var(--text-main);
  outline: none;
  font-size: 13px;
  font-family: inherit;
  line-height: 1.5;
}

.input-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 8px;
}

.btn-action {
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: var(--transition-smooth);
}

.btn-start-style {
  background: var(--btn-start-bg);
  color: var(--bg-panel-solid);
  font-weight: 600;
}

.btn-start-style:hover {
  opacity: 0.9;
  box-shadow: 0 0 12px var(--glow-formal);
}

.btn-stop-style {
  background: var(--color-danger);
  color: white;
}

.btn-stop-style:hover {
  opacity: 0.9;
}

/* Right Panel: Telemetry Graphs & Event log */
.right-panel {
  border-right: none;
}

.telemetry-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.telemetry-count {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--bg-hover);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--text-muted);
}

.vector-timeline-box {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.vector-timeline-box h3 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.timeline-visualizer {
  height: 60px;
  background: var(--bg-timeline);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  display: flex;
  overflow-x: auto;
  align-items: flex-end;
  padding: 6px;
  gap: 3px;
  margin-bottom: 12px;
}

.timeline-empty-msg {
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  align-self: center;
}

/* Dynamic bars indicating words vector */
.timeline-bar {
  flex: 1;
  min-width: 4px;
  border-radius: 2px;
  background: var(--text-dim);
  transition: height 0.3s ease;
}

.timeline-bar.bar-formal {
  background: var(--color-formal);
  box-shadow: 0 0 4px var(--color-formal);
}

.timeline-bar.bar-casual {
  background: var(--color-casual);
  box-shadow: 0 0 4px var(--color-casual);
}

.timeline-bar.bar-nudged {
  background: var(--color-nudged);
  box-shadow: 0 0 4px var(--color-nudged);
}

.legend-box {
  display: flex;
  gap: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--text-muted);
}

.legend-color {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.legend-color.color-formal { background: var(--color-formal); }
.legend-color.color-casual { background: var(--color-casual); }
.legend-color.color-nudged { background: var(--color-nudged); }

/* System Logs Section */
.telemetry-logs-section {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.telemetry-logs-section h3 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.system-logs {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-item {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 8px;
  border-radius: 6px;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  line-height: 1.4;
  word-break: break-all;
}

.log-item.log-info {
  border-left: 2px solid var(--text-dim);
}

.log-item.log-steer {
  border-left: 2px solid var(--color-formal);
  background: rgba(76, 93, 102, 0.03);
}

.log-item.log-pause {
  border-left: 2px solid var(--color-nudged);
  background: rgba(204, 90, 55, 0.03);
}

.log-item.log-nudge {
  border-left: 2px solid var(--color-nudged);
  background: rgba(204, 90, 55, 0.05);
}

.empty-log {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  padding: 20px;
}

.log-time {
  color: var(--text-dim);
  margin-right: 6px;
}

/* --- Steering Sliders Dock (Center Workspace) --- */
.steering-sliders-dock {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  padding: 16px;
  background: var(--bg-visualizer);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.steering-sliders-dock .control-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- Zen/Simple Mode Toggle CSS --- */
body.zen-mode .main-workspace {
  grid-template-columns: 1fr;
  padding: 0 24px;
  justify-content: center;
}

body.zen-mode .left-panel,
body.zen-mode .right-panel,
body.zen-mode .steering-visualizer-container {
  display: none !important;
}

/* If in Zen mode, center panel takes centered view container width */
body.zen-mode .canvas-panel {
  max-width: 850px;
  margin: 0 auto;
  width: 100%;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  background: var(--bg-panel);
  box-shadow: var(--shadow-panel);
}










