/* AEIR Therapy Workshop Showcase — Custom Styles */
/* Light Theme — Clean, warm white with subtle gray accents */

[x-cloak] {
  display: none !important;
}

/* Narrative typography */
.narrative-line {
  line-height: 1.75;
  margin-bottom: 0.25rem;
}
.narrative-line:empty {
  margin-bottom: 1rem;
}

/* Sidebar phase badge */
.phase-badge {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
  color: rgb(113, 113, 122);
  white-space: nowrap;
}

/* Comment sentiment chips */
.sentiment-chip {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.15s ease;
}
.sentiment-chip:hover {
  opacity: 0.85;
}
.sentiment-chip[data-active="true"] {
  box-shadow: 0 0 0 2px rgba(113, 113, 122, 0.3);
}

.sentiment-resonance {
  background: rgba(0, 0, 0, 0.04);
  color: rgb(63, 63, 70);
  border-color: rgba(0, 0, 0, 0.12);
}
.sentiment-disagreement {
  background: rgba(0, 0, 0, 0.04);
  color: rgb(63, 63, 70);
  border-color: rgba(0, 0, 0, 0.15);
}
.sentiment-question {
  background: rgba(0, 0, 0, 0.04);
  color: rgb(63, 63, 70);
  border-color: rgba(0, 0, 0, 0.12);
}
.sentiment-suggestion {
  background: rgba(0, 0, 0, 0.04);
  color: rgb(63, 63, 70);
  border-color: rgba(0, 0, 0, 0.12);
}
.sentiment-missing {
  background: rgba(0, 0, 0, 0.04);
  color: rgb(63, 63, 70);
  border-color: rgba(0, 0, 0, 0.12);
}
.sentiment-important {
  background: rgba(0, 0, 0, 0.04);
  color: rgb(63, 63, 70);
  border-color: rgba(0, 0, 0, 0.15);
}

/* Journey timeline */
.timeline-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  flex-shrink: 0;
}
.timeline-dot-complete {
  background: rgb(16, 185, 129);
}
.timeline-dot-upcoming {
  background: rgb(212, 212, 216);
}
.timeline-line {
  width: 2px;
  min-height: 2rem;
  flex-shrink: 0;
}

/* Smooth section transitions */
[x-show] {
  transition: opacity 0.2s ease;
}

/* Scrollbar styling */
.sidebar-scroll::-webkit-scrollbar {
  width: 4px;
}
.sidebar-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 2px;
}

/* Locked section placeholder */
.locked-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
}
.locked-section-icon {
  width: 3rem;
  height: 3rem;
  color: rgba(0, 0, 0, 0.15);
  margin-bottom: 1.5rem;
}

/* ================================================================
   CSS Variables — Zinc palette
   ================================================================ */
:root {
  --accent: rgba(0, 0, 0, 0.85);
  --dark-surface: #ffffff;
  --dark-card: #fafafa;
  --dark-border: #e4e4e7;
  --exp-red: #ef4444;
  --inn-cyan: #0891b2;
}

/* Smooth background transition on main */
.main-bg-transition {
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}

/* ================================================================
   Destabilization Multi-View Component (dv- prefix)
   ================================================================ */

/* --- View Switcher --- */
.dv-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  margin-bottom: 1.25rem;
  width: fit-content;
}
.dv-switcher-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #a1a1aa;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition:
    color 0.15s,
    background 0.15s;
  white-space: nowrap;
}
.dv-switcher-btn:hover {
  color: #71717a;
}
.dv-switcher-btn.dv-switcher-active {
  background: #ffffff;
  color: #18181b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.dv-switcher-label {
  display: none;
}
@media (min-width: 640px) {
  .dv-switcher-label {
    display: inline;
  }
}

/* --- View Transitions --- */
.dv-fade-enter {
  transition: opacity 0.2s ease-out;
}
.dv-fade-start {
  opacity: 0;
}
.dv-fade-end {
  opacity: 1;
}

/* ================================================================
   VIEW A: Pixel Heatmap
   ================================================================ */
.dv-pixel-header {
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding: 0 0 4px 0;
  margin-bottom: 2px;
}
.dv-pixel-flags-col {
  width: 10px;
  flex-shrink: 0;
}
.dv-pixel-col-label {
  width: 26px;
  flex-shrink: 0;
  text-align: center;
  font-size: 0.55rem;
  font-weight: 600;
  line-height: 1;
  padding-bottom: 2px;
}
.dv-pixel-col-exp {
  color: #ef4444;
}
.dv-pixel-col-need {
  color: #0891b2;
}
.dv-pixel-layer-col {
  width: 10px;
  flex-shrink: 0;
  margin-left: 4px;
}

.dv-pixel-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dv-pixel-row {
  display: flex;
  align-items: center;
  gap: 0;
  height: 17px;
  transition: background 0.1s;
  border-radius: 2px;
  padding: 0 0 0 0;
}
.dv-pixel-row:hover {
  background: rgba(0, 0, 0, 0.03);
}
.dv-pixel-flag {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 4px;
}
.dv-pixel-cell {
  width: 24px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 2px;
  margin: 0 1px;
  transition: transform 0.1s;
}
.dv-pixel-cell:hover {
  transform: scaleY(1.4);
}
.dv-pixel-layer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 4px;
}

/* Pixel cell color classes */
.dv-px-none {
  background: rgba(0, 0, 0, 0.04);
}
.dv-px-exp-weak {
  background: rgba(239, 68, 68, 0.2);
}
.dv-px-exp-strong {
  background: rgba(239, 68, 68, 0.65);
}
.dv-px-need-weak {
  background: rgba(8, 145, 178, 0.2);
}
.dv-px-need-strong {
  background: rgba(8, 145, 178, 0.65);
}
.dv-px-dual {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.55),
    rgba(8, 145, 178, 0.55)
  );
}

/* ================================================================
   VIEW B: By Layer (Grouped Panels)
   ================================================================ */
.dv-layer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .dv-layer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.dv-layer-panel {
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dv-layer-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.85rem;
}
.dv-layer-bg-unique {
  background: rgba(168, 85, 247, 0.08);
}
.dv-layer-bg-needs {
  background: rgba(8, 145, 178, 0.08);
}
.dv-layer-bg-expect {
  background: rgba(113, 113, 122, 0.06);
}
.dv-layer-panel-title {
  font-size: 0.8rem;
  font-weight: 600;
}
.dv-layer-panel-unique .dv-layer-panel-title {
  color: #9333ea;
}
.dv-layer-panel-needs .dv-layer-panel-title {
  color: #0891b2;
}
.dv-layer-panel-expect .dv-layer-panel-title {
  color: #71717a;
}
.dv-layer-panel-count {
  font-size: 0.65rem;
  color: #a1a1aa;
}
.dv-layer-panel-body {
  flex: 1;
  padding: 0.5rem 0.65rem;
  max-height: 500px;
  overflow-y: auto;
}
.dv-layer-panel-body::-webkit-scrollbar {
  width: 4px;
}
.dv-layer-panel-body::-webkit-scrollbar-track {
  background: transparent;
}
.dv-layer-panel-body::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: 2px;
}

.dv-layer-feature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.35rem;
  border-radius: 5px;
  transition: background 0.1s;
  border-left: 2px solid transparent;
}
.dv-layer-feature:hover {
  background: rgba(0, 0, 0, 0.03);
}
.dv-layer-destab {
  border-left-color: #d97706;
  background: rgba(217, 119, 6, 0.04);
}
.dv-layer-fname {
  font-size: 0.68rem;
  color: #52525b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.dv-layer-dots {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.dv-layer-dot-cell {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: block;
}
.dv-dot-none {
  background: rgba(0, 0, 0, 0.05);
}
.dv-dot-exp-s {
  background: rgba(239, 68, 68, 0.65);
}
.dv-dot-exp-w {
  background: rgba(239, 68, 68, 0.2);
}
.dv-dot-need-s {
  background: rgba(8, 145, 178, 0.65);
}
.dv-dot-need-w {
  background: rgba(8, 145, 178, 0.2);
}
.dv-dot-dual {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.55),
    rgba(8, 145, 178, 0.55)
  );
}

.dv-layer-panel-footer {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0.85rem;
  border-top: 1px solid #e4e4e7;
  font-size: 0.6rem;
  color: #a1a1aa;
}

/* ================================================================
   VIEW C: Full Table (Detail)
   ================================================================ */
.dv-detail-scroll {
  max-height: none;
  overflow-y: visible;
}
.dv-detail-table {
  border-collapse: collapse;
  font-size: 0.7rem;
  width: 100%;
  min-width: 900px;
}

/* ================================================================
   VIEW D: Summary
   ================================================================ */
.dv-summary-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dv-summary-row {
  border-radius: 8px;
  transition: background 0.1s;
}
.dv-summary-row:hover {
  background: rgba(0, 0, 0, 0.02);
}
.dv-summary-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
}
.dv-summary-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 260px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .dv-summary-label {
    min-width: 0;
    flex-shrink: 1;
  }
  .dv-summary-header {
    flex-wrap: wrap;
  }
}
.dv-summary-code {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
}
.dv-summary-code-exp {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}
.dv-summary-code-need {
  background: rgba(8, 145, 178, 0.1);
  color: #0891b2;
}
.dv-summary-name {
  font-size: 0.72rem;
  color: #71717a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dv-summary-bar-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.dv-summary-bar {
  flex: 1;
  height: 16px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  display: flex;
  overflow: hidden;
}
.dv-summary-seg {
  height: 100%;
  transition: width 0.4s ease-out;
  min-width: 0;
}
.dv-summary-seg-unique {
  background: #a855f7;
}
.dv-summary-seg-needs {
  background: #0891b2;
}
.dv-summary-seg-expect {
  background: #a1a1aa;
}
.dv-summary-count {
  font-size: 0.65rem;
  color: #a1a1aa;
  white-space: nowrap;
  min-width: 60px;
  text-align: right;
}
.dv-summary-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease-out;
  color: #a1a1aa;
}
.dv-summary-chevron-open {
  transform: rotate(180deg);
}
.dv-summary-expand {
  padding: 0 0.75rem 0.75rem 0.75rem;
}
.dv-summary-empty {
  font-size: 0.7rem;
  color: #a1a1aa;
  padding: 0.5rem 0;
  font-style: italic;
}
.dv-summary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.dv-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.62rem;
  color: #52525b;
  cursor: default;
  transition: background 0.1s;
}
.dv-summary-pill:hover {
  background: rgba(0, 0, 0, 0.05);
}
.dv-pill-unique {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.15);
}
.dv-pill-needs {
  background: rgba(8, 145, 178, 0.06);
  border: 1px solid rgba(8, 145, 178, 0.12);
}
.dv-pill-expect {
  background: rgba(113, 113, 122, 0.06);
  border: 1px solid rgba(113, 113, 122, 0.12);
}

/* ================================================================
   Mood Board Collage
   ================================================================ */
.mood-board-dark {
  background: #fafafa;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e4e4e7;
}

.mood-board-dark .mood-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  grid-auto-rows: 140px;
}

.mood-board-dark .mood-grid.mood-grid-small {
  grid-template-columns: repeat(3, 1fr);
}

/* Hero image (first) */
.mood-board-dark .mood-grid > div:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

/* Third image — wider */
.mood-board-dark .mood-grid:not(.mood-grid-small) > div:nth-child(3) {
  grid-column: span 2;
}

/* Seventh image — taller */
.mood-board-dark .mood-grid:not(.mood-grid-small) > div:nth-child(7) {
  grid-row: span 2;
}

.mood-board-dark .mood-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.mood-board-dark .mood-grid > div {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

/* Hover overlay with name */
.mood-board-dark .mood-grid > div::after {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: flex-end;
  padding: 0.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.mood-board-dark .mood-grid > div:hover::after {
  opacity: 1;
}
.mood-board-dark .mood-grid > div:hover img {
  transform: scale(1.05);
}

/* ================================================================
   Audio Player
   ================================================================ */
.audio-player-dark {
  background: #fafafa;
  border-radius: 1rem;
  border: 1px solid #e4e4e7;
  padding: 1.25rem 1.5rem;
}

.audio-player-dark .play-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #18181b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  border: none;
}
.audio-player-dark .play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Pulse ring when playing */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(24, 24, 27, 0.3);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(24, 24, 27, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(24, 24, 27, 0);
  }
}
.audio-player-dark .play-btn.playing {
  animation: pulse-ring 1.5s ease-out infinite;
}

/* Progress bar */
.audio-progress-dark {
  flex: 1;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.audio-progress-dark .fill {
  height: 100%;
  background: #52525b;
  border-radius: 2px;
  position: relative;
}
.audio-progress-dark .fill::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #18181b;
  opacity: 0;
  transition: opacity 0.15s;
}
.audio-progress-dark:hover .fill::after {
  opacity: 1;
}

/* ================================================================
   Trend Tabs
   ================================================================ */
.trend-tab-dark {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.trend-tab-dark.active {
  background: #f4f4f5;
  color: #18181b;
  border-color: #e4e4e7;
}
.trend-tab-dark:not(.active) {
  background: transparent;
  color: #a1a1aa;
  border-color: transparent;
}
.trend-tab-dark:not(.active):hover {
  background: rgba(0, 0, 0, 0.03);
  color: #71717a;
}

/* ================================================================
   Heatmap Scrollbar
   ================================================================ */
.destab-hm-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.destab-hm-scroll::-webkit-scrollbar-track {
  background: #fafafa;
}
.destab-hm-scroll::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: 3px;
}
.destab-hm-scroll::-webkit-scrollbar-thumb:hover {
  background: #a1a1aa;
}

/* Saturation bar animation */
@keyframes fillBar {
  from {
    width: 0;
  }
}
.saturation-bar {
  animation: fillBar 0.6s ease-out;
}

/* ================================================================
   VISUAL PATTERNS FILM STRIP — Driver Cards
   ================================================================ */

/* Horizontal scroll container */
.driver-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0 0.75rem 0;
  -webkit-overflow-scrolling: touch;
}
.driver-strip::-webkit-scrollbar {
  height: 3px;
}
.driver-strip::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 2px;
}
.driver-strip::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

/* Individual driver card */
.driver-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.driver-card:hover {
  background: #f4f4f5;
  border-color: #d4d4d8;
}
.driver-card-active {
  border-color: #a1a1aa !important;
  background: #f4f4f5 !important;
}

/* Driver card header (icon + category) */
.driver-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.driver-card-icon {
  color: #a1a1aa;
  flex-shrink: 0;
}
.driver-card .driver-category {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a1a1aa;
}

/* Driver card title */
.driver-card-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: #18181b;
  line-height: 1.3;
  margin-bottom: 0.625rem;
}

/* Evidence thumbnails row */
.driver-evidence {
  display: flex;
  gap: 4px;
  margin-bottom: 0.625rem;
}
.driver-evidence img {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e4e4e7;
  transition: transform 0.15s ease;
}
.driver-evidence img:hover {
  transform: scale(1.08);
}

/* Expandable description */
.driver-desc {
  font-size: 0.78rem;
  color: #71717a;
  line-height: 1.55;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.2s ease;
}
.driver-desc-collapsed {
  max-height: 0;
  opacity: 0;
}
.driver-desc-expanded {
  max-height: 300px;
  opacity: 1;
}

/* Expand indicator */
.driver-expand-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  color: #d4d4d8;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  gap: 0.25rem;
}
.driver-card-active .driver-expand-indicator {
  color: #a1a1aa;
}

/* Highlight effect on mood board images */
.mood-board-dark .mood-grid > div.driver-highlight {
  box-shadow:
    0 0 0 2px rgba(24, 24, 27, 0.5),
    0 0 12px rgba(24, 24, 27, 0.1);
  z-index: 1;
}
.mood-board-dark .mood-grid > div.driver-dimmed {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

/* ===== PHASE 4: PYRAMID REORGANIZATION ===== */
.p4-pyramid-layer {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #fafafa;
  border: 1px solid #e4e4e7;
}
.p4-pyramid-bar {
  height: 6px;
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.p4-layer-card {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.2s ease;
}
.p4-layer-card:hover {
  background: #f4f4f5;
  border-color: #d4d4d8;
}
.p4-layer-card-accent {
  height: 2px;
}
.p4-movement-card {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  transition: all 0.2s ease;
}
.p4-movement-card:hover {
  background: #f4f4f5;
  border-color: #d4d4d8;
}
.p4-vacancy-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(168, 85, 247, 0.04);
  border: 1px solid rgba(168, 85, 247, 0.12);
}
.p4-note-box {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: #fafafa;
  border: 1px solid #e4e4e7;
}

/* ===== PHASE 5: COMPETITIVE RADAR ===== */
.p5-radar-container {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 1rem;
  padding: 2rem;
}
.p5-competitor-pill {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  transition: all 0.15s ease;
}
.p5-competitor-pill:hover {
  background: #f4f4f5;
  border-color: #d4d4d8;
}
.p5-competitor-pill--selected {
  background: #f4f4f5;
  border-color: #a1a1aa;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.p5-competitor-pill--selected:hover {
  background: #f4f4f5;
  border-color: #a1a1aa;
}
.p5-summary-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fafafa;
  border: 1px solid #e4e4e7;
}
.p5-whitespace-card {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.15);
  transition: all 0.15s ease;
}
.p5-whitespace-card:hover {
  background: rgba(16, 185, 129, 0.07);
}
.p5-saturated-card {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.15);
  transition: all 0.15s ease;
}
.p5-saturated-card:hover {
  background: rgba(239, 68, 68, 0.07);
}

/* ================================================================
   Lightbox & Zoom
   ================================================================ */
.cursor-zoom-in {
  cursor: zoom-in;
}

/* Phase 3: Mood board hover */
.group:hover img {
  transform: scale(1.02);
  transition: transform 0.2s ease-out;
}
.group img {
  transition: transform 0.2s ease-out;
}

/* Sticky bar backdrop blur */
@supports (backdrop-filter: blur(8px)) {
  .sticky {
    backdrop-filter: blur(8px);
  }
}

/* Accent bar under section divider */
.accent-bar {
  height: 1px;
  width: 4rem;
  margin-top: 0.75rem;
}

/* Blockquote for messaging examples */
.dark-blockquote {
  border-left: 2px solid #e4e4e7;
  padding-left: 1rem;
  color: #52525b;
  font-style: italic;
}

/* Sidebar Phase 3 active accent */
.sidebar-phase3-active {
  background: rgba(0, 0, 0, 0.06) !important;
  color: #18181b !important;
}

/* Visual driver cards */
.visual-driver-dark {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
  padding: 1rem;
}
.visual-driver-dark .driver-category {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a1a1aa;
}

/* Inline saturation gradient bar */
.saturation-inline {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.05) 0%,
    var(--exp-red) 100%
  );
  position: relative;
}
.saturation-inline.innovator {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.05) 0%,
    var(--inn-cyan) 100%
  );
}
.saturation-inline .marker {
  position: absolute;
  top: -3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #18181b;
  transform: translateX(-50%);
}
