/* ═══════════════════════════════════════════
   MOVE Simulation UI Styles
   Dark theme matching the Arrange app
   ═══════════════════════════════════════════ */

/* ── Simulation Main View (takes over left+right columns in sim mode) ── */
#sim-main-view {
  display: none;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  min-height: 500px;
}

body.sim-mode #sim-main-view {
  display: flex;
}

body.sim-mode #left-column,
body.sim-mode #right-column,
body.sim-mode #compare-column,
body.sim-mode #resizer,
body.sim-mode #compare-resizer {
  display: none !important;
}

/* header button active state */
#sim-header-btn.active {
  background: linear-gradient(135deg, #0a2a4a 0%, #12334d 100%);
  border: 1px solid #3cb8ff !important;
  box-shadow: 0 0 8px rgba(0, 170, 255, 0.3);
  color: #64c8ff !important;
}

/* Panel filling the main view */
#sim-panel-mount {
  display: flex;
  flex: 1;
  overflow: hidden;
  flex-direction: column;
}

#sim-panel-mount .sim-panel {
  pointer-events: auto;
}

.sim-panel {
  background: #0a0a0a;
  color: #ffffff;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 13px;
  border-top: 1px solid #1a1a1a;
  padding: 0;
  overflow-y: auto;
  max-height: 50vh;
}

/* In main view, panel expands to full height */
#sim-main-view .sim-panel {
  max-height: none;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-top: none;
  box-shadow: none;
}

#sim-main-view .sim-tab-content.active {
  overflow-y: auto;
  flex: 1;
}

/* ── Room Mapping Panel ── */
.room-mapping-panel {
  color: #eee;
  font-size: 12px;
}

.rmp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.rmp-header h3 { margin: 0; font-size: 14px; }
.rmp-actions { display: flex; gap: 6px; }
.rmp-auto-btn { background: rgba(0, 170, 255, 0.15) !important; border-color: rgba(0, 170, 255, 0.3) !important; color: #64c8ff !important; }

.rmp-empty {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.rmp-stats {
  display: flex;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #1a1a1a;
  margin-bottom: 8px;
  font-size: 11px;
  color: #888;
}
.rmp-mapped-count { color: #2ecc71; }
.rmp-unmapped-count { color: #e67e22; }

.rmp-legend {
  display: flex;
  gap: 4px;
  padding: 4px 0 8px 0;
  flex-wrap: wrap;
}
.rmp-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
}

.rmp-dept { margin-bottom: 4px; }
.rmp-dept > summary {
  font-weight: 700;
  font-size: 13px;
  padding: 6px 0;
  cursor: pointer;
  color: #ccc;
  list-style: none;
}
.rmp-dept > summary::before { content: '▸ '; color: #555; }
.rmp-dept[open] > summary::before { content: '▾ '; }

.rmp-fa { margin-left: 12px; margin-bottom: 2px; }
.rmp-fa > summary {
  font-weight: 600;
  font-size: 12px;
  padding: 4px 0;
  cursor: pointer;
  color: #999;
  list-style: none;
}
.rmp-fa > summary::before { content: '▸ '; color: #444; }
.rmp-fa[open] > summary::before { content: '▾ '; }

.rmp-room-list { margin-left: 8px; }

.rmp-room-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.12s;
}
.rmp-room-row:hover { background: rgba(255,255,255,0.04); }

.rmp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.08);
}

.rmp-room-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.rmp-room-code {
  color: #555;
  font-size: 10px;
  font-family: monospace;
  flex-shrink: 0;
}

.rmp-room-nsf {
  color: #555;
  font-size: 10px;
  flex-shrink: 0;
  min-width: 48px;
  text-align: right;
}

.rmp-type-select {
  width: 140px;
  flex-shrink: 0;
  font-size: 11px !important;
  padding: 3px 4px !important;
}

/* Tabs */
.sim-tabs {
  display: flex;
  background: #050505;
  border-bottom: 1px solid #1a1a1a;
  padding: 0 8px;
}
.sim-tab {
  background: none;
  border: none;
  color: #666;
  font-size: 12px;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.sim-tab:hover { color: #aaa; }
.sim-tab.active { color: #fff; border-bottom-color: #00aaff; }

/* Live preview toggle — pinned right side of tab bar so it's always visible */
.sim-tab-live {
  margin-left: auto;
  align-self: center;
  margin-right: 6px;
  padding: 4px 10px;
  font-size: 12px;
}
.sim-tab-live.active {
  background: #d97706;
  color: #fff;
  border-color: #d97706;
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.5);
}

.sim-tab-content { display: none; padding: 12px 16px; }
.sim-tab-content.active { display: block; }

/* Buttons */
.sim-btn {
  background: transparent;
  border: 1px solid #333;
  color: #ccc;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.15s, border-color 0.15s;
}
.sim-btn:hover { background: #1a1a1a; border-color: #555; }
.sim-btn:disabled { opacity: 0.4; cursor: default; }
.sim-btn-primary { background: #0066cc; border-color: #0066cc; color: #fff; }
.sim-btn-primary:hover { background: #0077ee; }
.sim-toggle.active { background: #1a3a1a; border-color: #2a5a2a; color: #6f6; }

/* Inputs & labels */
.sim-input {
  background: #111;
  border: 1px solid #333;
  color: #ddd;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 12px;
  width: 80px;
}
.sim-input:focus { border-color: #00aaff; outline: none; }
.sim-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #888;
  font-size: 12px;
  margin-right: 12px;
}

/* Setup bar */
.sim-setup {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

/* Playback bar */
.sim-time-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.sim-time-display {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 2px;
  min-width: 90px;
  font-variant-numeric: tabular-nums;
}
.sim-slider {
  flex: 1;
  accent-color: #00aaff;
  height: 6px;
}
.sim-duration { color: #555; font-size: 12px; min-width: 120px; text-align: right; }

.sim-btn-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.sim-speed-label {
  min-width: 60px;
  text-align: center;
  color: #aaa;
  font-size: 13px;
  font-weight: 600;
}
.sim-stats-row {
  display: flex;
  gap: 24px;
  padding: 6px 0;
  color: #888;
  font-size: 12px;
  border-top: 1px solid #1a1a1a;
  margin-bottom: 8px;
}

#sim-stat-mode,
.wsp-placeholder-note {
  color: var(--workbench-accent, #64c8ff);
  font-weight: 650;
}

/* Config form */
.sim-config-form { max-width: 400px; }
.sim-config-form h3 { color: #666; font-size: 13px; font-weight: 600; margin: 0 0 12px 0; }
.sim-config-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  color: #888;
  font-size: 12px;
}
.sim-config-form .sim-input { width: 100%; }

/* ── Workflow Canvas ── */
.wf-canvas-root {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wf-toolbar {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  align-items: center;
  justify-content: space-between;
}
.wf-toolbar-right { display: flex; gap: 6px; }
.wf-view-toggle {
  display: flex;
  gap: 0;
  border: 1px solid #333;
  border-radius: 4px;
  overflow: hidden;
}
.wf-view-btn {
  background: #1a1a1a;
  border: none;
  color: #888;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.wf-view-btn:not(:last-child) { border-right: 1px solid #333; }
.wf-view-btn:hover { background: #222; color: #ccc; }
.wf-view-btn.active { background: #2563eb; color: #fff; }

/* ── Graph View ── */
.wf-graph-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 2px;
}
.wf-graph-col-head {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #777;
  padding: 4px;
  background: #111;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wf-graph-svg {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  width: 100%;
  display: block;
  cursor: default;
}
.wf-gnode { cursor: grab; }
.wf-gnode:active { cursor: grabbing; }
.wf-gconn {
  fill: none;
  stroke: #555;
  stroke-width: 2;
  cursor: pointer;
  pointer-events: stroke;
}
.wf-gconn:hover { stroke: #ffaa00; stroke-width: 3; }
.wf-gconn.selected { stroke: #00aaff; stroke-width: 3; }
.wf-gport {
  cursor: crosshair;
  transition: r 0.1s, fill 0.1s;
}
.wf-gport:hover {
  r: 8;
  fill: #00aaff;
}
.wf-gtemp-line {
  stroke: #00aaff;
  stroke-width: 2;
  stroke-dasharray: 6 3;
  pointer-events: none;
}
.wf-info {
  font-size: 11px;
  color: #666;
  padding: 6px 8px;
  background: #111;
  border: 1px solid #1a1a1a;
  border-radius: 3px;
}

/* Split layout: workflow list + step editor */
.wf-split {
  display: flex;
  gap: 8px;
  min-height: 300px;
}
.wf-list-panel {
  width: 240px;
  min-width: 200px;
  background: #111;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}
.wf-list-header {
  padding: 8px 10px;
  border-bottom: 1px solid #1a1a1a;
  font-weight: 600;
  font-size: 12px;
  color: #ccc;
}
.wf-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px;
}
.wf-item {
  padding: 8px 10px;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}
.wf-item:hover { background: #1a1a1a; border-color: #333; }
.wf-item-sel { background: #1a2a3a; border-color: #2563eb; }
.wf-item-name { font-weight: 600; font-size: 12px; color: #eee; margin-bottom: 2px; }
.wf-item-meta { font-size: 10px; color: #777; }
.wf-item-actions {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.15s;
}
.wf-item:hover .wf-item-actions { opacity: 1; }
.wf-act-btn {
  width: 22px;
  height: 22px;
  background: #222;
  border: 1px solid #333;
  border-radius: 3px;
  color: #aaa;
  cursor: pointer;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.wf-act-btn:hover { background: #333; color: #fff; border-color: #555; }

/* Step editor panel */
.wf-step-panel {
  flex: 1;
  background: #111;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  overflow-y: auto;
  padding: 8px;
}
.wf-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.wf-step-title {
  font-weight: 700;
  font-size: 14px;
  color: #eee;
}
.wf-empty {
  color: #666;
  font-size: 12px;
  padding: 16px;
  text-align: center;
}

/* Pipeline SVG */
.wf-pipeline-svg {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  margin-bottom: 8px;
  display: block;
}
.wf-pipe-node { cursor: pointer; }
.wf-pipe-node:hover { opacity: 1; }

/* Step cards */
.wf-step-cards {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wf-step-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
  transition: border-color 0.15s;
  position: relative;
}
.wf-step-card:hover { border-color: #333; }
.wf-step-sel { border-color: #2563eb; background: #0d1520; }
.wf-step-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.wf-step-num {
  width: 20px;
  height: 20px;
  background: #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #888;
  flex-shrink: 0;
}
.wf-step-icon { font-size: 14px; flex-shrink: 0; }
.wf-step-name { font-weight: 600; font-size: 12px; color: #ddd; flex: 1; }
.wf-step-type-badge {
  font-size: 9px;
  font-weight: 600;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wf-step-card-body {
  padding-left: 26px;
}
.wf-step-detail {
  font-size: 11px;
  color: #888;
  margin-bottom: 1px;
}
.wf-label { color: #666; }
.wf-step-card-actions {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.15s;
}
.wf-step-card:hover .wf-step-card-actions { opacity: 1; }

/* Workflow field group */
.wf-field-group {
  margin: 6px 0;
}
.wf-field-group > label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 12px;
  color: #aaa;
}
.wf-check-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #ccc;
  margin: 3px 0;
  cursor: pointer;
}

/* ── Workflow / Staff Dialogs ── */
.wf-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.wf-dialog {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  min-width: 380px;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.wf-dialog h3 {
  margin: 0 0 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: #ddd;
}
.wf-dialog-body label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  color: #888;
  font-size: 12px;
}
.wf-dialog-body .sim-input { width: 100%; box-sizing: border-box; }
.wf-dialog-body select.sim-input { width: 100%; }
.wf-dialog-body input[type="color"].sim-input { height: 32px; padding: 2px; }
.wf-dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #222;
}

/* ── Staff Panel ── */
.staff-panel {
  color: #ddd;
}
.staff-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.staff-header h3 { margin: 0; font-size: 14px; color: #888; }
.staff-actions { display: flex; gap: 6px; }

.staff-section { margin-bottom: 16px; }
.staff-section h4 {
  color: #666;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.staff-count { color: #555; font-weight: 400; }

.staff-card-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.staff-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  padding: 10px 12px;
  transition: background 0.15s;
}
.staff-card:hover { background: #111; }
.staff-card-sm { padding: 6px 10px; }
.staff-card-icon { font-size: 20px; min-width: 30px; text-align: center; }
.staff-card-info { flex: 1; min-width: 0; }
.staff-card-info strong { display: block; font-size: 12px; }
.staff-card-meta { color: #666; font-size: 11px; }
.staff-badge {
  background: white;
  color: black;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  margin-right: 6px;
}
.staff-card-btn {
  background: none;
  border: 1px solid transparent;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 3px;
}
.staff-card-btn:hover { color: #fff; background: #1a1a1a; border-color: #333; }
.staff-card-btn-danger:hover { color: #f66; background: #2a1a1a; border-color: #533; }

.staff-summary {
  color: #555;
  font-size: 12px;
  padding: 8px 0;
  border-top: 1px solid #1a1a1a;
}

/* ── Simulation Mode Toggle (header button) ── */
.sim-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: transparent;
  border: 1px solid #333;
  border-radius: 4px;
  color: #888;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s;
}
.sim-mode-toggle:hover { border-color: #555; color: #ccc; }
.sim-mode-toggle.active {
  background: #0a2a4a;
  border-color: #00aaff;
  color: #00aaff;
}

/* ── Workbench Simulation Pane ── */
#workbench-sim-pane {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 232px;
  background: var(--workbench-chrome-surface, rgba(20, 24, 31, 0.9));
  border-left: 1px solid var(--workbench-chrome-border, rgba(255,255,255,0.11));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 100;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: var(--workbench-chrome-muted, #aaa);
  box-shadow: -14px 0 34px rgba(0,0,0,0.14);
  transition: width 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(18px);
}

#workbench-sim-pane.wsp-collapsed {
  width: 0;
  opacity: 0;
  transform: translateX(100%);
  overflow: hidden;
  pointer-events: none;
  border-left: none;
}

#workbench-sim-pane.wsp-collapsed > *:not(.wsp-header) {
  display: none !important;
}

#workbench-sim-pane.wsp-collapsed .wsp-header {
  display: none;
}

#workbench-sim-pane.wsp-collapsed .wsp-title {
  display: none;
}

.wsp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  background: transparent;
  border-bottom: 1px solid var(--workbench-chrome-border, rgba(255,255,255,0.11));
  flex-shrink: 0;
}

.wsp-title {
  font-weight: 650;
  font-size: 12px;
  color: var(--workbench-chrome-text, #f3f6f8);
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
}

.wsp-close {
  background: var(--workbench-control-bg, rgba(255,255,255,0.055));
  border: 1px solid var(--workbench-chrome-border, rgba(255,255,255,0.11));
  color: var(--workbench-chrome-muted, #aaa);
  cursor: pointer;
  font-size: 14px;
  width: 24px;
  height: 24px;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  border-radius: 50%;
}
.wsp-close:hover {
  background: var(--workbench-control-hover, rgba(255,255,255,0.1));
  color: var(--workbench-chrome-text, #fff);
}

.wsp-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--workbench-chrome-border, rgba(255,255,255,0.11));
}

.wsp-hint {
  font-size: 11px;
  color: var(--workbench-chrome-muted, #777);
  line-height: 1.4;
}

.wsp-btn {
  background: var(--workbench-control-bg, rgba(255,255,255,0.055));
  border: 1px solid var(--workbench-chrome-border, rgba(255,255,255,0.11));
  color: var(--workbench-chrome-text, #ddd);
  padding: 6px 9px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.wsp-btn:hover {
  background: var(--workbench-control-hover, rgba(255,255,255,0.1));
  color: var(--workbench-chrome-text, #fff);
  border-color: var(--workbench-accent, #64c8ff);
}

.wsp-btn.wsp-primary {
  background: var(--workbench-control-active, rgba(100, 200, 255, 0.18));
  border-color: var(--workbench-accent, #64c8ff);
  color: var(--workbench-chrome-text, #f3f6f8);
  font-weight: 600;
  width: 100%;
  padding: 8px;
}
.wsp-btn.wsp-primary:hover { background: var(--workbench-control-hover, rgba(255,255,255,0.1)); }

.wsp-btn.wsp-export { width: 100%; margin-top: 4px; }

.wsp-quick-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.wsp-quick-row .wsp-btn {
  min-width: 0;
  white-space: nowrap;
}

.wsp-toggle-btn.active {
  background: var(--success-faint, rgba(81,207,102,0.15));
  border-color: var(--success, #51cf66);
  color: var(--workbench-chrome-text, #f3f6f8);
}

#wsp-playback {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.wsp-time-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wsp-time-display {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  color: var(--workbench-chrome-text, #f3f6f8);
  letter-spacing: 0;
}

.wsp-slider {
  width: 100%;
  accent-color: var(--workbench-accent, #64c8ff);
  height: 4px;
}

.wsp-ctrl-row {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.wsp-speed-row {
  justify-content: space-between;
}

.wsp-speed-label {
  font-size: 11px;
  color: var(--workbench-chrome-muted, #888);
  flex: 1;
  text-align: center;
}

.wsp-toggle-row {
  display: flex;
  gap: 4px;
}
.wsp-toggle-row .wsp-btn { flex: 1; text-align: center; }

.wsp-stats-block {
  font-size: 10px;
  color: var(--workbench-chrome-muted, #666);
  line-height: 1.7;
  padding: 6px 0;
  border-top: 1px solid var(--workbench-chrome-border, rgba(255,255,255,0.11));
}

.wsp-placeholder-note {
  margin-bottom: 4px;
  line-height: 1.35;
}

/* ── Windowed layout overrides ──
   Prevent sim-mode from hiding panels that are in separate windows */
body.windowed-layout.sim-mode #left-column,
body.windowed-layout.sim-mode #right-column,
body.windowed-layout.sim-mode #compare-column,
body.windowed-layout.sim-mode #resizer,
body.windowed-layout.sim-mode #compare-resizer {
  display: block !important;
}
body.windowed-layout.sim-mode #sim-main-view {
  display: flex !important;
}

@media (max-width: 768px) {
  #workbench-sim-pane {
    width: min(232px, 72vw);
  }

  #workbench-sim-pane.wsp-collapsed {
    width: 0;
  }
}
