:root {
  --bg-obsidian: #07090d;
  --bg-panel: #0d1118;
  --bg-panel-elevated: #131924;
  --bg-glass: rgba(16, 22, 33, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 184, 81, 0.35);
  --text-primary: #f3f5f8;
  --text-secondary: #a4b0c3;
  --text-muted: #697588;
  --accent-gold: #f5b851;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-cyan: #06b6d4;
  --accent-coral: #f43f5e;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html, body {
  background: radial-gradient(circle at 50% 0%, #141b29 0%, var(--bg-obsidian) 65%);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: hidden;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
}

.hidden {
  display: none !important;
}

/* Dynamic Optical Key-Light Bezel for ValidationCode kTooDark / kTooBright */
.keylight-ring {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  border: 0px solid transparent;
  transition: border-width 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

body.keylight-boost .keylight-ring {
  border-width: 14px;
  border-color: rgba(255, 232, 185, 0.92);
  box-shadow: inset 0 0 65px rgba(255, 224, 160, 0.55);
}

body.keylight-dim .keylight-ring {
  border-width: 8px;
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.85);
}

/* Modals (Consent Gate & Privacy Vault) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 6, 10, 0.84);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.consent-card {
  width: 100%;
  max-width: 820px;
  background: linear-gradient(180deg, #131924 0%, #0c1017 100%);
  border: 1px solid rgba(245, 184, 81, 0.28);
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.72);
}

.consent-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.brand-emblem-lg {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(245, 184, 81, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

.brand-emblem-sm {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(245, 184, 81, 0.45);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  background: rgba(245, 184, 81, 0.1);
  border: 1px solid rgba(245, 184, 81, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.consent-header h1,
.consent-header h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #ffffff;
  margin-bottom: 6px;
}

.consent-lead {
  color: var(--text-secondary);
  font-size: 13.5px;
  margin-bottom: 16px;
}

.consent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.consent-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 11px 13px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.consent-option:hover {
  border-color: rgba(245, 184, 81, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.consent-option input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent-gold);
  width: 16px;
  height: 16px;
}

.consent-option-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-weight: 600;
  font-size: 12.5px;
  color: #fff;
  margin-bottom: 4px;
}

.consent-option-body p {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.consent-source-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.source-field label {
  display: block;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  margin-bottom: 4px;
}

select,
input[type="text"] {
  width: 100%;
  background: #090c12;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 7px 10px;
  font-family: var(--font-sans);
  font-size: 12.5px;
}

select:focus,
input[type="text"]:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.medical-disclaimer {
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--accent-gold);
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #e2e8f0;
  margin-bottom: 14px;
}

.consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Pills & Buttons */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.pill-required { background: rgba(245, 184, 81, 0.16); color: var(--accent-gold); }
.pill-emerald { background: rgba(16, 185, 129, 0.16); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.32); }
.pill-amber { background: rgba(245, 158, 11, 0.16); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.32); }
.pill-cyan { background: rgba(6, 182, 212, 0.16); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.32); }
.pill-coral { background: rgba(244, 63, 94, 0.18); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.35); }
.pill-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text-secondary); border: 1px solid var(--border-subtle); }
.pill-idle { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }
.pill-intent { background: rgba(245, 184, 81, 0.14); color: var(--accent-gold); border: 1px solid rgba(245, 184, 81, 0.3); }
.pill-clutch { background: rgba(16, 185, 129, 0.18); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12.5px;
  padding: 7px 13px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.16s ease;
}

.btn-lg { padding: 10px 20px; font-size: 13.5px; }
.btn-sm { padding: 5px 10px; font-size: 11.5px; }
.btn-xs { padding: 4px 9px; font-size: 11px; }

.btn-primary {
  background: linear-gradient(135deg, #f5b851 0%, #d97706 100%);
  color: #08090c;
  box-shadow: 0 4px 18px rgba(245, 184, 81, 0.25);
}

.btn-primary:hover { filter: brightness(1.08); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-danger-outline {
  background: rgba(244, 63, 94, 0.1);
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.35);
}

.btn-danger-outline:hover,
.btn-danger {
  background: #e11d48;
  color: #ffffff;
}

/* EYE-LINE TELEPROMPTER DECK (Top Bezel Zone) */
.eyeline-deck {
  background: linear-gradient(180deg, #0b0f17 0%, #0f141f 100%);
  border-bottom: 1px solid rgba(245, 184, 81, 0.24);
  padding: 8px 16px 10px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.eyeline-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.eyeline-left,
.eyeline-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.logo-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold);
}

.script-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.script-controls select {
  width: 250px;
  padding: 4px 8px;
  font-size: 12px;
}

.beat-pills {
  display: flex;
  gap: 4px;
}

.beat-pill-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
}

.beat-pill-btn.active {
  background: rgba(245, 184, 81, 0.2);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.eyeline-center-lens {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lens-reticle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.38);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6ee7b7;
}

.lens-reticle.off-axis {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.45);
  color: #fda4af;
}

.lens-ring {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.prompter-viewport {
  background: #06080c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 14px 6px;
}

.prompter-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
}

.prompter-beat-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.meta-divider {
  color: rgba(255, 255, 255, 0.16);
}

.stage-cue-text {
  color: #cbd5e1;
  font-style: italic;
}

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

.clutch-metric {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.clutch-metric span {
  color: var(--text-muted);
  font-size: 10px;
}

.prompter-scroll-box {
  height: 82px;
  overflow-y: auto;
  position: relative;
  padding: 8px 4px;
  scroll-behavior: auto;
}

.prompter-text-track {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.38;
  color: #f8fafc;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 1060px;
  margin: 0 auto;
}

.breath-gate-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  vertical-align: middle;
  background: rgba(6, 182, 212, 0.16);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 999px;
  padding: 2px 9px;
  margin: 0 6px;
}

.breath-gate-pill.active-refill {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  border-color: #10b981;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
}

.curveball-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(225, 29, 72, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.5);
  border-radius: 7px;
  padding: 6px 12px;
  margin: 6px 0;
}

.curveball-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #fda4af;
  background: rgba(225, 29, 72, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
}

.curveball-question {
  font-weight: 600;
  color: #fff;
  font-size: 13px;
}

.curveball-recovery {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #fde68a;
}

.arterial-horizon-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 4px;
}

.arterial-label {
  display: flex;
  flex-direction: column;
  min-width: 235px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
}

.arterial-label strong,
#arterial-bpm-inline {
  color: var(--accent-gold);
  font-weight: 600;
}

#arterial-canvas {
  width: 100%;
  height: 30px;
  display: block;
}

/* 5-ACT PROGRESSIVE WARM-UP RIBBON */
.acts-ribbon {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 8px 16px;
  background: #090c12;
  border-bottom: 1px solid var(--border-subtle);
}

.act-step {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.55;
  transition: all 0.25s ease;
}

.act-step.active {
  opacity: 1;
  background: rgba(16, 185, 129, 0.09);
  border-color: rgba(16, 185, 129, 0.35);
}

.act-step.current {
  opacity: 1;
  background: rgba(245, 184, 81, 0.12);
  border-color: rgba(245, 184, 81, 0.48);
}

.act-time {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(245, 184, 81, 0.14);
  padding: 3px 7px;
  border-radius: 5px;
}

.act-copy {
  display: flex;
  flex-direction: column;
}

.act-copy strong {
  font-size: 11.5px;
  color: #fff;
}

.act-copy span {
  font-size: 10.5px;
  color: var(--text-secondary);
}

/* MAIN STUDIO WORKSPACE GRID */
.studio-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 12px;
  padding: 12px 16px 20px;
}

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.panel-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
}

.panel-header h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: #fff;
}

.panel-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.auditorium-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.auditorium-canvas-wrap {
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #05070b;
}

#auditorium-canvas {
  width: 100%;
  height: 290px;
  display: block;
}

.auditorium-overlay-hud {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.hud-chip {
  background: rgba(7, 10, 16, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: var(--font-mono);
}

.hud-chip span {
  display: block;
  font-size: 9.5px;
  color: var(--text-muted);
}

.hud-chip strong {
  font-size: 11.5px;
  color: #f8fafc;
}

.auditorium-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.subcard {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 9px 11px;
}

.subcard-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 12px;
}

.subcard-hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-secondary);
}

.curveball-btn-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.curveball-trigger-btn {
  text-align: left;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: #fecdd3;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 11.5px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.curveball-trigger-btn:hover {
  background: rgba(244, 63, 94, 0.18);
}

.expression-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 10px;
}

.expr-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.expr-row-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
}

.expr-bar-bg {
  height: 5px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}

.expr-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-emerald));
  border-radius: 99px;
  transition: width 0.15s ease;
}

/* RIGHT TELEMETRY COLUMN */
.telemetry-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.telemetry-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wireframe-stage {
  position: relative;
  background: #06090f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  height: 185px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#wireframe-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.raw-video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.wireframe-corner-stats {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  justify-content: space-between;
  background: rgba(6, 9, 15, 0.82);
  padding: 4px 8px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.wireframe-corner-stats span {
  color: var(--text-muted);
}

.validation-coach-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid var(--accent-emerald);
  padding: 6px 9px;
  border-radius: 5px;
  font-size: 11.5px;
}

.validation-coach-box.warn {
  background: rgba(245, 158, 11, 0.1);
  border-left-color: var(--accent-amber);
}

.validation-coach-box strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  margin-bottom: 2px;
}

.model-card-note {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.35;
}

.bellows-canvas-wrap {
  background: #06090f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

#bellows-canvas {
  width: 100%;
  height: 125px;
  display: block;
}

.metric-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mini-stat {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 5px 7px;
  font-family: var(--font-mono);
}

.mini-stat span {
  display: block;
  font-size: 9.5px;
  color: var(--text-muted);
}

.mini-stat strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.mini-stat small {
  font-size: 9.5px;
  color: var(--text-secondary);
}

.vitals-hero-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.vital-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 7px;
  padding: 7px 9px;
}

.vital-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.vital-number strong {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent-gold);
}

.vital-number small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-secondary);
}

.presence-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.06) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  padding: 9px 11px;
}

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

.presence-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
}

.presence-header strong {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #34d399;
}

.presence-card p {
  font-size: 11.5px;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.presence-submetrics {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 5px;
}

.director-context-row {
  display: flex;
  gap: 6px;
}

.director-notes-list {
  flex: 1;
  min-height: 135px;
  max-height: 185px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.director-note-item {
  background: rgba(245, 184, 81, 0.07);
  border: 1px solid rgba(245, 184, 81, 0.28);
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 11.5px;
}

.director-note-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.director-empty {
  color: var(--text-secondary);
  font-size: 11.5px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 7px;
}

/* Privacy Vault Audit Log */
.wipe-receipt {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #a7f3d0;
  margin-bottom: 12px;
}

.audit-log-container {
  background: #070a0f;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}

.audit-log-header {
  display: grid;
  grid-template-columns: 165px 190px 1fr;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-secondary);
}

.audit-log-list {
  max-height: 220px;
  overflow-y: auto;
}

.audit-row {
  display: grid;
  grid-template-columns: 165px 190px 1fr;
  padding: 6px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.audit-row span:nth-child(2) {
  color: var(--accent-gold);
}
