/* ==========================================================================
   MIZK SPATIAL ACADEMY — PRE-CLINICAL SMP & BROW FLIGHT SIMULATOR
   Studio Dark Design System & Tactile Spatial Workspace
   ========================================================================== */

:root {
  /* Obsidian Charcoal & Warm Studio Bases */
  --bg-deep: #0C0B0A;
  --bg-surface: #151311;
  --bg-card: rgba(24, 21, 19, 0.92);
  --bg-card-hover: rgba(32, 28, 25, 0.95);
  --bg-overlay: rgba(12, 11, 10, 0.85);

  /* Borders & Dividers */
  --border-subtle: rgba(200, 155, 98, 0.14);
  --border-active: rgba(200, 155, 98, 0.35);
  --border-gold: #C89B62;

  /* Brand Accents — Saddle-Leather Gold */
  --gold-primary: #C89B62;
  --gold-light: #E0B882;
  --gold-dark: #9E743F;
  --gold-glow: rgba(200, 155, 98, 0.25);

  /* Studio Ivory & Warm Telemetry Neutrals */
  --text-ivory: #FAF8F5;
  --text-muted: #A8A096;
  --text-dim: #736C65;

  /* Clinical Status Tokens */
  --status-emerald: #34D399;   /* Upper Dermis Sweet Spot (0.8–1.5mm) */
  --status-amber: #F59E0B;     /* Angled Slash / Epidermal Warning */
  --status-blowout: #60A5FA;   /* Reticular Dermis Blowout Alert */
  --status-danger: #EF4444;

  /* Typography Scales */
  --font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.75);
  --shadow-gold: 0 0 24px rgba(200, 155, 98, 0.2);

  /* Transitions */
  --ease-smooth: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Box Model */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-deep);
  color: var(--text-ivory);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

body.studio-dark {
  background: radial-gradient(circle at 50% 0%, #1c1815 0%, #0C0B0A 60%);
  background-attachment: fixed;
}

#app-root {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   TOP MASTER STUDIO HEADER
   ========================================================================== */

.studio-header {
  height: 72px;
  background: rgba(18, 16, 14, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-ivory);
  line-height: 1.1;
}

.studio-pill {
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  background: rgba(200, 155, 98, 0.15);
  color: var(--gold-primary);
  border: 1px solid var(--border-subtle);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Center Dual Mode & Healing Toggle */
.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.control-switch-group,
.healing-toggle-group {
  display: inline-flex;
  background: #110F0D;
  border: 1px solid var(--border-subtle);
  padding: 3px;
  border-radius: 8px;
  gap: 2px;
}

.switch-btn,
.healing-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--ease-smooth);
}

.switch-btn:hover,
.healing-btn:hover {
  color: var(--text-ivory);
}

.switch-btn.active {
  background: rgba(200, 155, 98, 0.18);
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgba(200, 155, 98, 0.3);
}

.healing-btn.active {
  background: #23201C;
  color: var(--text-ivory);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.healing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.healing-dot.day1 {
  background: #D9777F;
  box-shadow: 0 0 6px rgba(217, 119, 127, 0.6);
}

.healing-dot.month6 {
  background: var(--gold-primary);
  box-shadow: 0 0 6px var(--gold-glow);
}

/* Right Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.action-btn {
  background: #1C1917;
  color: var(--text-ivory);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--ease-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.action-btn:hover {
  background: #26221E;
  border-color: var(--border-active);
  transform: translateY(-1px);
}

.action-btn.gold-glow {
  background: linear-gradient(135deg, #B8894E, #E0B882);
  color: #12100E;
  border-color: #E0B882;
  box-shadow: 0 2px 10px rgba(200, 155, 98, 0.35);
}

.action-btn.gold-glow:hover {
  filter: brightness(1.08);
  box-shadow: 0 3px 14px rgba(200, 155, 98, 0.5);
}

.action-btn.transcript-btn {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.3);
  color: #6EE7B7;
}

.action-btn.transcript-btn:hover {
  background: rgba(52, 211, 153, 0.2);
  border-color: var(--status-emerald);
}

.btn-icon {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   CALIBRATION HUD BANNER
   ========================================================================== */

.calibration-hud-banner {
  background: linear-gradient(90deg, rgba(30, 24, 18, 0.98), rgba(45, 34, 22, 0.98));
  border-bottom: 1px solid var(--gold-primary);
  box-shadow: 0 4px 16px rgba(200, 155, 98, 0.2);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideDown 0.3s ease;
  z-index: 95;
}

.calibration-hud-banner.hidden {
  display: none;
}

.hud-banner-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hud-pulse-ring {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 0 rgba(200, 155, 98, 0.7);
  animation: pulseGold 1.5s infinite;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(200, 155, 98, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(200, 155, 98, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 155, 98, 0); }
}

.hud-banner-text {
  display: flex;
  flex-direction: column;
}

.hud-banner-text strong {
  font-size: 13px;
  color: var(--gold-light);
}

.hud-banner-text span {
  font-size: 12px;
  color: var(--text-ivory);
}

.hud-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(200, 155, 98, 0.2);
  color: var(--gold-light);
  border: 1px solid var(--border-active);
}

.btn-text-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
  padding: 4px 8px;
}

.btn-text-close:hover {
  color: var(--text-ivory);
}

/* ==========================================================================
   MAIN FLIGHT SIMULATOR WORKSPACE
   ========================================================================== */

.simulator-workspace {
  display: grid;
  grid-template-columns: 310px 1fr 330px;
  gap: 16px;
  padding: 16px 20px;
  min-height: calc(100vh - 72px);
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
}

/* Side Docks (Left & Right) */
.panel-dock {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  max-height: calc(100vh - 104px);
  padding-right: 4px;
}

/* Custom Scrollbars */
.panel-dock::-webkit-scrollbar {
  width: 5px;
}
.panel-dock::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.panel-dock::-webkit-scrollbar-thumb {
  background: rgba(200, 155, 98, 0.25);
  border-radius: 4px;
}
.panel-dock::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Universal Dock Cards */
.dock-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dock-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dock-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-ivory);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dock-icon {
  width: 15px;
  height: 15px;
  color: var(--gold-primary);
}

/* Badges */
.badge-gold {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--gold-primary);
  background: rgba(200, 155, 98, 0.12);
  border: 1px solid var(--border-subtle);
  padding: 2px 7px;
  border-radius: 4px;
}

.badge-needle {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #60A5FA;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
}

.badge-sweetspot {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--status-emerald);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
}

.badge-sweetspot.warning {
  color: var(--status-amber);
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
}

.badge-sweetspot.blowout {
  color: var(--status-blowout);
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.3);
}

.badge-rubric {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.badge-rubric.pass {
  color: var(--status-emerald);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.badge-rubric.fail {
  color: var(--status-amber);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-lock {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(200, 155, 98, 0.14);
  border: 1px solid var(--border-active);
  padding: 2px 7px;
  border-radius: 4px;
}

/* Wax Lines Toggle Switch */
.wax-toggle-wrap {
  display: flex;
  align-items: center;
}

.wax-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.wax-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider.round {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 16px;
  background-color: #2A2622;
  border-radius: 16px;
  transition: var(--ease-smooth);
}

.slider.round:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 3px;
  bottom: 3px;
  background-color: #FAF8F5;
  border-radius: 50%;
  transition: var(--ease-smooth);
}

.wax-switch input:checked + .slider.round {
  background-color: var(--gold-primary);
}

.wax-switch input:checked + .slider.round:before {
  transform: translateX(12px);
  background-color: #12100E;
}

.switch-label {
  font-size: 11px;
  color: var(--text-muted);
}

/* Scenario Pills */
.scenario-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scenario-pill {
  background: #191614;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: var(--ease-smooth);
  width: 100%;
}

.scenario-pill:hover {
  background: #231F1B;
  border-color: var(--border-subtle);
}

.scenario-pill.active {
  background: rgba(200, 155, 98, 0.12);
  border-color: var(--border-gold);
  box-shadow: inset 0 0 0 1px rgba(200, 155, 98, 0.2);
}

.scenario-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-primary);
  background: #110F0E;
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid rgba(200, 155, 98, 0.2);
}

.scenario-meta {
  display: flex;
  flex-direction: column;
}

.scenario-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-ivory);
}

.scenario-desc {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Fitzpatrick Swatch Bar */
.fitzpatrick-swatch-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.fitz-swatch {
  height: 32px;
  border-radius: 6px;
  border: 2px solid transparent;
  background-color: var(--swatch-color);
  cursor: pointer;
  transition: var(--ease-smooth);
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.4);
}

.fitz-swatch:hover {
  transform: scale(1.05);
}

.fitz-swatch.active {
  border-color: var(--gold-light);
  box-shadow: 0 0 8px var(--gold-glow);
}

/* 5PM Carbon Dilution Selector */
.carbon-dilution-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-label {
  font-size: 11px;
  color: var(--text-muted);
}

.sub-val {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-light);
}

.shade-pill-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.shade-btn {
  background: #191614;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 2px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: var(--ease-smooth);
}

.shade-btn:hover {
  background: #231F1B;
  color: var(--text-ivory);
}

.shade-btn.active {
  background: rgba(200, 155, 98, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* Rig Preset Pills */
.preset-pills-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}

.rig-preset-pill {
  background: #191614;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--ease-smooth);
  text-align: left;
}

.rig-preset-pill:hover {
  background: #231F1B;
  color: var(--text-ivory);
}

.rig-preset-pill.active {
  background: #26211C;
  border-color: var(--border-gold);
  color: var(--text-ivory);
}

.preset-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.preset-indicator.green { background: var(--status-emerald); box-shadow: 0 0 5px rgba(52, 211, 153, 0.6); }
.preset-indicator.blue { background: var(--status-blowout); box-shadow: 0 0 5px rgba(96, 165, 250, 0.6); }
.preset-indicator.amber { background: var(--status-amber); box-shadow: 0 0 5px rgba(245, 158, 11, 0.6); }
.preset-indicator.gray { background: #888; }

/* Interactive Sliders */
.slider-control-group {
  margin-bottom: 12px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.slider-title {
  font-size: 11px;
  color: var(--text-muted);
}

.telemetry-digit {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
}

.range-wrap {
  position: relative;
}

.custom-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #25211D;
  outline: none;
  cursor: pointer;
  transition: var(--ease-smooth);
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 2px solid #FAF8F5;
  box-shadow: 0 0 8px rgba(200, 155, 98, 0.5);
  cursor: pointer;
  transition: var(--ease-smooth);
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--gold-light);
}

.depth-gauge-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
}

.depth-gauge-ticks .tick.epidermal { color: #A8A096; }
.depth-gauge-ticks .tick.target { color: var(--status-emerald); font-weight: 600; }
.depth-gauge-ticks .tick.reticular { color: var(--status-blowout); }

/* Skin Tension Card */
.skin-tension-card {
  background: #181513;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tension-meta {
  display: flex;
  flex-direction: column;
}

.tension-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-ivory);
}

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

.tension-toggle-btn {
  background: #221E1A;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--ease-smooth);
  white-space: nowrap;
}

.tension-toggle-btn.active {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.4);
  color: var(--status-emerald);
}

.tension-toggle-btn:not(.active) {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--status-amber);
}

.tension-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ==========================================================================
   CENTER SPATIAL VIEWPORT
   ========================================================================== */

.spatial-viewport-container {
  display: flex;
  flex-direction: column;
  background: #110F0E;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 520px;
}

/* Top Floating Camera Presets */
.viewport-floating-nav {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  background: rgba(18, 15, 13, 0.88);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 4px;
  border-radius: 999px;
  gap: 3px;
  max-width: 95%;
  overflow-x: auto;
}

.cam-preset-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--ease-smooth);
}

.cam-preset-btn:hover {
  color: var(--text-ivory);
}

.cam-preset-btn.active {
  background: var(--gold-primary);
  color: #12100E;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--gold-glow);
}

/* 3D Viewport Wrap */
.three-viewport-wrap {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 440px;
  position: relative;
  cursor: crosshair;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.spatial-canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

/* On-Canvas Reticle */
.spatial-reticle {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 15;
}

.reticle-ring {
  width: 28px;
  height: 28px;
  border: 1.5px dashed var(--gold-primary);
  border-radius: 50%;
  animation: reticleSpin 8s linear infinite;
}

@keyframes reticleSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.reticle-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--status-emerald);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px var(--status-emerald);
}

.reticle-depth-bubble {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 12, 10, 0.9);
  border: 1px solid var(--border-active);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}

/* Fiducial Target Overlays (Screen-Projected) */
.fiducial-target {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.fiducial-target.hidden {
  display: none;
}

.fiducial-ring {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #38BDF8;
  background: rgba(56, 189, 248, 0.2);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  animation: pulseFiducial 1.2s infinite alternate;
}

@keyframes pulseFiducial {
  from { transform: scale(0.9); box-shadow: 0 0 6px rgba(56, 189, 248, 0.4); }
  to { transform: scale(1.15); box-shadow: 0 0 16px rgba(56, 189, 248, 0.8); }
}

.fiducial-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(10, 20, 30, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Bottom Viewport Bar */
.viewport-bottom-bar {
  background: rgba(18, 16, 14, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-subtle);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.viewport-indicators {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.chip-label {
  color: var(--text-dim);
}

.chip-val {
  color: var(--text-ivory);
  font-weight: 600;
}

.chip-val.green {
  color: var(--status-emerald);
}

.viewport-action-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.viewport-tool-btn {
  background: #1C1917;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--ease-smooth);
}

.viewport-tool-btn:hover {
  background: #282420;
  color: var(--text-ivory);
}

.viewport-tool-btn.active {
  background: rgba(200, 155, 98, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.tool-icon {
  width: 13px;
  height: 13px;
}

/* Viewport Instruction Pill */
.viewport-instruction-pill {
  position: absolute;
  bottom: 54px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 12, 10, 0.85);
  border: 1px solid rgba(200, 155, 98, 0.2);
  color: var(--text-muted);
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
}

/* ==========================================================================
   RIGHT TELEMETRY & DERMAL MICROSCOPE DOCK
   ========================================================================== */

/* Microscope Card */
.microscope-card {
  display: flex;
  flex-direction: column;
}

.microscope-canvas-wrap {
  background: #0E0C0B;
  border: 1px solid rgba(200, 155, 98, 0.15);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 8px;
}

.microscope-canvas {
  width: 100%;
  height: 190px;
  display: block;
}

.microscope-readouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(14, 12, 10, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px 8px;
  text-align: center;
}

.m-stat {
  display: flex;
  flex-direction: column;
}

.m-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-dim);
}

.m-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-ivory);
}

.m-val.green { color: var(--status-emerald); }
.m-val.amber { color: var(--status-amber); }
.m-val.blue { color: var(--status-blowout); }

.microscope-legend {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-dim);
  padding: 0 4px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dot-swatch {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.dot-swatch.ep { background: #B0A69D; }
.dot-swatch.derm { background: var(--status-emerald); }
.dot-swatch.sub { background: var(--status-blowout); }

/* Competency Rubric Card */
.telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.telemetry-cell {
  background: #191614;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}

.telemetry-cell.full-width {
  grid-column: 1 / -1;
}

.t-cell-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.t-cell-val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
  margin: 2px 0;
}

.t-cell-val.green { color: var(--status-emerald); }
.t-cell-val.amber { color: var(--status-amber); }
.t-cell-val.blue { color: var(--status-blowout); }

.t-cell-sub {
  font-size: 9px;
  color: var(--text-dim);
}

.blowout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blowout-meter-bar {
  height: 6px;
  background: #25211D;
  border-radius: 3px;
  overflow: hidden;
  margin: 4px 0;
}

.blowout-bar-fill {
  height: 100%;
  background: var(--status-emerald);
  transition: width 0.3s ease, background 0.3s ease;
}

.blowout-bar-fill.warning {
  background: var(--status-blowout);
}

.rubric-actions {
  display: flex;
}

.btn-block-transcript {
  width: 100%;
  background: linear-gradient(135deg, rgba(200, 155, 98, 0.2), rgba(224, 184, 130, 0.1));
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--ease-smooth);
}

.btn-block-transcript:hover {
  background: rgba(200, 155, 98, 0.3);
  transform: translateY(-1px);
}

/* Passive-Haptic Specs Card */
.haptic-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.spec-row:last-child {
  border-bottom: none;
}

.s-key { color: var(--text-muted); }
.s-val { font-family: var(--font-mono); font-weight: 600; color: var(--text-ivory); }
.s-val.green { color: var(--status-emerald); }
.s-val.gold { color: var(--gold-primary); }

/* ==========================================================================
   SECTION BELOW THE FOLD: CLINICAL GROUND TRUTH FROM PUYALLUP
   ========================================================================== */

.clinical-evidence-section {
  background: #0E0D0C;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 80px;
}

.section-container {
  max-width: 1320px;
  margin: 0 auto;
}

.section-heading-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  display: inline-block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-ivory);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.section-lede {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Practitioners Grid */
.practitioners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.practitioner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  box-shadow: var(--shadow-md);
  transition: var(--ease-smooth);
}

.practitioner-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.artist-media {
  position: relative;
  background: #0A0908;
}

.artist-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artist-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(14, 12, 10, 0.88);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  text-align: center;
  padding: 3px 4px;
  border-radius: 4px;
}

.artist-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.artist-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-ivory);
}

.artist-lineage {
  font-size: 11px;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.artist-bio {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.artist-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-ivory);
  padding: 2px 7px;
  border-radius: 4px;
}

/* 4 Clinical Transformations Quad Grid */
.clinical-cases-header {
  margin-bottom: 24px;
}

.cases-headline {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-ivory);
  margin-bottom: 4px;
}

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

.cases-quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--ease-smooth);
}

.case-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.case-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000;
  overflow: hidden;
}

.case-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card:hover .case-photo {
  transform: scale(1.04);
}

.case-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(14, 12, 10, 0.88);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
}

.case-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-ivory);
  line-height: 1.25;
  margin-bottom: 8px;
}

.case-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
  flex: 1;
}

.case-telemetry-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--gold-light);
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
}

.btn-load-case {
  background: #1C1917;
  border: 1px solid var(--border-subtle);
  color: var(--gold-primary);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--ease-smooth);
  width: 100%;
  text-align: center;
}

.btn-load-case:hover {
  background: rgba(200, 155, 98, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* Studio Info & Enrollment Banner */
.studio-info-banner {
  background: linear-gradient(135deg, #181513, #221D18);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-gold);
}

.studio-info-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-studio-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-ivory);
  margin-bottom: 4px;
}

.footer-address {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.studio-info-right {
  max-width: 480px;
}

.accreditation-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.acc-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.08em;
}

.acc-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-links-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.footer-action-link {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
}

.footer-action-link:hover {
  text-decoration: underline;
}

.footer-sep { color: var(--text-dim); }
.footer-note { font-size: 11px; color: var(--text-dim); }

/* ==========================================================================
   MODALS & DRAWERS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 7, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.modal-backdrop.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: #171412;
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-ivory);
}

.modal-pre-title {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--gold-primary);
  letter-spacing: 0.08em;
  display: block;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-ivory);
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Transcript Modal Specifics */
.transcript-sheet {
  width: 720px;
  max-width: 100%;
}

.transcript-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.transcript-body {
  padding: 24px;
  overflow-y: auto;
}

.transcript-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: #110F0E;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 20px;
}

.t-meta-item {
  display: flex;
  flex-direction: column;
}

.tm-lbl {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-dim);
}

.tm-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-ivory);
}

.tm-val.green { color: var(--status-emerald); }

.transcript-section-heading {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-ivory);
  margin-bottom: 12px;
}

.transcript-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-bottom: 24px;
}

.transcript-table th,
.transcript-table td {
  padding: 9px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.transcript-table th {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-primary);
  background: rgba(200, 155, 98, 0.08);
}

.pill-grade {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.pill-grade.pass {
  background: rgba(52, 211, 153, 0.15);
  color: var(--status-emerald);
}

.transcript-signoff-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.signature-column {
  display: flex;
  flex-direction: column;
}

.sig-line {
  font-family: 'Cormorant Garamond', cursive, serif;
  font-size: 28px;
  font-style: italic;
  color: var(--gold-light);
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 4px;
  margin-bottom: 6px;
}

.sig-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-ivory);
}

.sig-cred {
  font-size: 10px;
  color: var(--text-muted);
}

.transcript-disclaimer {
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Spatial Hardware Drawer Specifics */
.xr-drawer {
  width: 640px;
  max-width: 100%;
}

.xr-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.xr-status-callout {
  background: rgba(200, 155, 98, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.callout-icon {
  width: 32px;
  height: 32px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.callout-text {
  display: flex;
  flex-direction: column;
}

.callout-text strong {
  font-size: 13px;
  color: var(--gold-light);
}

.callout-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.hardware-stack-diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hw-item {
  background: #110F0E;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  gap: 10px;
}

.hw-icon-box {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #12100E;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hw-info h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-ivory);
  margin-bottom: 2px;
}

.hw-info p {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.35;
}

.xr-action-row {
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

/* Large Tablets & Medium Desktops (1200px) */
@media (max-width: 1200px) {
  .simulator-workspace {
    grid-template-columns: 280px 1fr 300px;
    gap: 12px;
    padding: 12px;
  }
  .cases-quad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (960px) */
@media (max-width: 960px) {
  .simulator-workspace {
    grid-template-columns: 1fr;
    height: auto;
  }

  .panel-dock {
    max-height: none;
    overflow-y: visible;
  }

  .spatial-viewport-container {
    min-height: 480px;
  }

  .practitioners-grid {
    grid-template-columns: 1fr;
  }

  .practitioner-card {
    grid-template-columns: 160px 1fr;
  }

  .studio-info-banner {
    flex-direction: column;
    text-align: center;
  }
  .studio-info-left {
    flex-direction: column;
  }
}

/* Mobile Screens (390px - iPhone 14/15/16) */
@media (max-width: 640px) {
  .studio-header {
    height: auto;
    padding: 12px 14px;
    flex-direction: column;
    gap: 10px;
  }

  .brand-logo {
    height: 38px;
  }

  .brand-title {
    font-size: 16px;
  }

  .header-controls {
    width: 100%;
    justify-content: space-between;
  }

  .header-actions {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .simulator-workspace {
    grid-template-columns: 1fr;
    padding: 8px;
    gap: 12px;
  }

  .spatial-viewport-container {
    min-height: 380px;
  }

  .viewport-floating-nav {
    top: 8px;
    padding: 2px;
    gap: 2px;
  }

  .cam-preset-btn {
    font-size: 10px;
    padding: 4px 8px;
  }

  .viewport-bottom-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .viewport-action-buttons {
    justify-content: space-between;
  }

  .viewport-tool-btn span {
    display: none;
  }

  .cases-quad-grid {
    grid-template-columns: 1fr;
  }

  .practitioner-card {
    grid-template-columns: 1fr;
  }

  .artist-media {
    height: 240px;
  }

  .transcript-meta-grid {
    grid-template-columns: 1fr 1fr;
  }

  .transcript-signoff-block {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hardware-stack-diagram {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRINT MEDIA STYLES (SCORECARD EXPORT)
   ========================================================================== */

@media print {
  body {
    background: #FFF !important;
    color: #000 !important;
  }

  .studio-header,
  .simulator-workspace,
  .clinical-evidence-section,
  .modal-header,
  .modal-footer {
    display: none !important;
  }

  .modal-backdrop {
    position: static;
    background: transparent !important;
    padding: 0 !important;
  }

  .modal-card {
    border: none !important;
    box-shadow: none !important;
    max-height: none !important;
    background: #FFF !important;
    color: #000 !important;
  }

  .transcript-sheet {
    width: 100% !important;
  }

  .transcript-body {
    padding: 0 !important;
  }

  .transcript-table th {
    background: #EEE !important;
    color: #000 !important;
  }

  .transcript-table td {
    color: #000 !important;
    border-bottom: 1px solid #CCC !important;
  }

  .sig-line {
    color: #000 !important;
    border-bottom: 1px solid #000 !important;
  }

  .tm-val, .sig-title, .modal-title {
    color: #000 !important;
  }
}
