/* Strategnik Audit - Unified Design System */

/* Söhne Breit Fonts */
@font-face {
  font-family: 'Soehne Breit';
  src: url('/fonts/soehne-breit-buch-kursiv.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Soehne Breit';
  src: url('/fonts/soehne-breit-kraftig.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Monochromatic palette - matches strategnik.com */
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --black: #111111;
  --bg-primary: #000000;
  --gray-900: #1A1A1A;
  --gray-800: #27272a;
  --gray-700: #374151;
  --gray-600: #6B6B6B;
  --gray-500: #8B8B8B;
  --gray-400: #9CA3AF;
  --gray-300: #B8B8B8;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;

  /* Accessible accent colors */
  --accent: #5eead4;
  --accent-hover: #99f6e4;
  --accent-muted: #2dd4bf;

  /* Severity colors */
  --critical: #ef4444;
  --high: #f97316;
  --medium: #eab308;
  --low: #22c55e;

  /* Legacy - keeping for compatibility */
  --teal: #5eead4;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Soehne Breit', system-ui, sans-serif;
  font-style: italic;
  background: var(--bg-primary);
  color: var(--white);
  line-height: 1.75;
  font-size: 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Soehne Breit', system-ui, sans-serif;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
  line-height: 1.4;
}

p {
  color: var(--gray-300);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

::selection {
  background: var(--accent);
  color: var(--black);
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container, .container-narrow {
    padding: 0 32px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-800);
  z-index: 100;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 80px;
  width: auto;
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links a {
  color: var(--gray-300);
  font-style: normal;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
}

.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
}

.mobile-nav {
  display: none;
  background: var(--gray-900);
  border-top: 1px solid var(--gray-800);
  padding: 16px 24px;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--white);
  font-style: normal;
  border-bottom: 1px solid var(--gray-800);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: 'Soehne Breit', system-ui, sans-serif;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--gray-200);
  color: var(--black);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray-700);
}

.btn-secondary:hover {
  background: var(--gray-900);
  border-color: var(--gray-500);
  color: var(--white);
}

/* Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 80px 24px;
  border-bottom: 1px solid var(--gray-800);
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  margin-bottom: 24px;
  font-style: normal;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.hero-attribution {
  font-size: 0.95rem;
  color: var(--gray-400);
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Section Base */
.section {
  padding: 80px 24px;
  border-bottom: 1px solid var(--gray-800);
}

@media (min-width: 768px) {
  .section {
    padding: 112px 32px;
  }
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  margin-bottom: 16px;
  font-style: normal;
}

.section h2 {
  margin-bottom: 20px;
}

.section-intro {
  color: var(--gray-300);
  font-size: 1.125rem;
  max-width: 700px;
  margin-bottom: 48px;
  line-height: 1.75;
}

/* Data Cards Grid */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.data-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s;
}

.data-card:hover {
  border-color: var(--gray-700);
}

.data-card.highlight {
  border-color: var(--low);
  background: rgba(34, 197, 94, 0.08);
}

.data-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 500;
  font-style: normal;
  color: var(--accent);
  margin-bottom: 8px;
}

.data-card.highlight .data-value {
  color: var(--low);
}

.data-label {
  font-size: 1rem;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
  margin-bottom: 8px;
}

.data-context {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* Strength Cards */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.strength-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s;
}

.strength-card:hover {
  border-color: var(--accent);
}

.strength-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-style: normal;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.strength-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.strength-card p {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Gap Cards */
.gaps-section {
  margin-bottom: 48px;
}

.gaps-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.severity-label {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.severity-label.critical {
  background: rgba(239, 68, 68, 0.15);
  color: var(--critical);
}

.severity-label.high {
  background: rgba(249, 115, 22, 0.15);
  color: var(--high);
}

.severity-label.medium {
  background: rgba(234, 179, 8, 0.15);
  color: var(--medium);
}

.severity-label.low {
  background: rgba(34, 197, 94, 0.15);
  color: var(--low);
}

.gaps-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gap-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  overflow: hidden;
}

.gap-header {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.gap-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.gap-header h4 {
  font-size: 1.1rem;
}

.gap-toggle {
  color: var(--gray-400);
  font-size: 1.25rem;
  font-style: normal;
  transition: transform 0.3s;
}

.gap-card.open .gap-toggle {
  transform: rotate(180deg);
}

.gap-content {
  display: none;
  padding: 0 24px 24px;
  border-top: 1px solid var(--gray-800);
}

.gap-card.open .gap-content {
  display: block;
}

.gap-detail {
  margin-bottom: 16px;
  margin-top: 16px;
}

.gap-detail-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 4px;
  font-style: normal;
}

.gap-detail-value {
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.6;
}

.gap-detail-value.critical { color: var(--critical); }
.gap-detail-value.highlight { color: var(--accent); }

/* Competitive Matrix */
.matrix-container {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.matrix-title {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.matrix-quadrant {
  background: var(--bg-primary);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100px;
}

.matrix-quadrant.highlight {
  border-color: var(--accent);
  background: rgba(94, 234, 212, 0.05);
}

.quadrant-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 8px;
  font-style: normal;
}

.quadrant-companies {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 700;
  font-style: normal;
}

.matrix-axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-style: normal;
}

/* Competitor Table */
.competitor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.competitor-table th,
.competitor-table td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--gray-800);
}

.competitor-table th {
  font-weight: 700;
  font-style: normal;
  color: var(--gray-400);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.competitor-table td:first-child {
  text-align: left;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
}

.competitor-table td {
  color: var(--gray-300);
}

.competitor-table .check { color: var(--low); font-style: normal; }
.competitor-table .missing { color: var(--critical); font-style: normal; }
.competitor-table .limited { color: var(--medium); font-style: normal; }

/* Timeline/Roadmap */
.phase-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.phase-tab {
  padding: 12px 24px;
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  color: var(--gray-400);
  font-weight: 700;
  font-style: normal;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Soehne Breit', system-ui, sans-serif;
}

.phase-tab:hover {
  border-color: var(--gray-600);
  color: var(--white);
}

.phase-tab.active {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.phase-content {
  display: none;
}

.phase-content.active {
  display: block;
}

.phase-header {
  margin-bottom: 32px;
}

.phase-header h3 {
  margin-bottom: 8px;
}

.phase-header p {
  color: var(--gray-400);
  font-size: 1rem;
}

.action-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--gray-900);
  border-radius: 12px;
  overflow: hidden;
}

.action-table th,
.action-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-800);
}

.action-table th {
  font-weight: 700;
  font-style: normal;
  color: var(--gray-400);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--gray-900);
}

.action-table td {
  color: var(--gray-300);
  font-size: 0.9rem;
}

.action-table td:first-child {
  color: var(--white);
  font-weight: 500;
}

.action-table .timeline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--accent);
}

/* Metrics Dashboard */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.metric-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 24px;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.metric-baseline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-style: normal;
  color: var(--gray-500);
}

.metric-target {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 500;
  font-style: normal;
  color: var(--accent);
}

.metric-progress {
  height: 4px;
  background: var(--gray-800);
  border-radius: 2px;
  overflow: hidden;
}

.metric-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 2px;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 120px 24px;
  border-bottom: 1px solid var(--gray-800);
}

.cta-section p {
  font-size: 1.25rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.cta-links a {
  font-style: normal;
}

/* Footer */
.site-footer {
  background: var(--bg-primary);
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--gray-800);
}

.site-footer img {
  margin-bottom: 16px;
  height: 40px;
}

.site-footer p {
  margin-bottom: 8px;
  color: var(--gray-400);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--white);
}

.site-footer a:hover {
  color: var(--accent);
}

.confidential {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-800);
}

/* Buyer Journey Diagram */
.journey-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.journey-stage {
  text-align: center;
  padding: 24px 32px;
  background: var(--bg-primary);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  min-width: 180px;
}

.journey-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 8px;
  font-style: normal;
}

.journey-title {
  font-size: 1.25rem;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
  margin-bottom: 8px;
}

.journey-programs {
  font-size: 0.85rem;
  color: var(--accent);
  font-style: normal;
}

.journey-arrow {
  font-size: 1.5rem;
  color: var(--gray-600);
  font-style: normal;
}

@media (max-width: 768px) {
  .journey-container {
    flex-direction: column;
  }
  .journey-arrow {
    transform: rotate(90deg);
  }
}

/* Programs Section */
.programs-section {
  margin-bottom: 48px;
}

.programs-section-title {
  font-size: 1.25rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-800);
}

.program-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.program-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.program-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.program-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--accent);
  min-width: 32px;
}

.program-info {
  flex: 1;
}

.program-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.program-info p {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin: 0;
}

.program-toggle {
  color: var(--gray-400);
  font-size: 1.25rem;
  font-style: normal;
  transition: transform 0.3s;
}

.program-card.open .program-toggle {
  transform: rotate(180deg);
}

.program-content {
  display: none;
  padding: 0 24px 24px;
  border-top: 1px solid var(--gray-800);
}

.program-card.open .program-content {
  display: block;
}

.program-details {
  padding-top: 20px;
}

.program-details p {
  color: var(--gray-300);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.program-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-800);
}

.metric-item {
  background: var(--bg-primary);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  padding: 16px;
}

.metric-type {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 8px;
  font-style: normal;
}

.metric-value {
  display: block;
  color: var(--gray-300);
  font-size: 0.9rem;
}

/* Priority Content */
.priority-content {
  display: none;
}

.priority-content.active {
  display: block;
}

/* Metrics Dashboard */
.metrics-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

@media (max-width: 900px) {
  .metrics-dashboard {
    grid-template-columns: 1fr;
  }
}

.metrics-panel {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 32px;
}

.metrics-panel-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.metrics-panel-subtitle {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.metric-timeline {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 8px;
  font-style: normal;
}

/* Marketing Function Badges */
.function-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.function-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.function-badge.primary { background: var(--badge-bg); color: var(--badge-color); }
.function-badge.secondary { background: transparent; border: 1px solid var(--badge-color); color: var(--badge-color); }

.badge-seo { --badge-bg: rgba(16, 185, 129, 0.15); --badge-color: #10B981; }
.badge-aeo { --badge-bg: rgba(139, 92, 246, 0.15); --badge-color: #8B5CF6; }
.badge-content { --badge-bg: rgba(245, 158, 11, 0.15); --badge-color: #F59E0B; }
.badge-demandgen { --badge-bg: rgba(6, 182, 212, 0.15); --badge-color: #06B6D4; }
.badge-product { --badge-bg: rgba(244, 63, 94, 0.15); --badge-color: #F43F5E; }
.badge-social { --badge-bg: rgba(59, 130, 246, 0.15); --badge-color: #3B82F6; }
.badge-community { --badge-bg: rgba(249, 115, 22, 0.15); --badge-color: #F97316; }
.badge-partnerships { --badge-bg: rgba(99, 102, 241, 0.15); --badge-color: #6366F1; }
.badge-analyst { --badge-bg: rgba(100, 116, 139, 0.15); --badge-color: #94A3B8; }

/* Program Icon */
.program-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border-radius: 8px;
  font-size: 1.25rem;
  font-style: normal;
  flex-shrink: 0;
}

/* Site Audit Cards */
.site-audit-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-800);
}

.site-audit-title {
  font-size: 0.85rem;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
  margin-bottom: 16px;
}

.site-audit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.site-audit-card {
  background: var(--bg-primary);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  padding: 16px;
}

.audit-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.audit-card-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-style: normal;
  color: var(--accent);
  text-decoration: none;
}

.audit-card-url:hover {
  text-decoration: underline;
}

.audit-status {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
}

.audit-status.broken { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.audit-status.outdated { background: rgba(249, 115, 22, 0.15); color: #f97316; }
.audit-status.missing { background: rgba(234, 179, 8, 0.15); color: #eab308; }
.audit-status.underperforming { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

.audit-card-annotation {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.proposed-state {
  margin-top: 20px;
  padding: 16px;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 8px;
}

.proposed-state-title {
  font-size: 0.75rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 12px;
}

.proposed-state ul {
  list-style: none;
  padding: 0;
}

.proposed-state li {
  font-size: 0.85rem;
  color: var(--gray-300);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.proposed-state li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-style: normal;
}

/* Flow Diagram */
.flow-diagram {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-800);
}

.flow-diagram-title {
  font-size: 0.85rem;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
  margin-bottom: 16px;
}

.flow-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.flow-stage {
  flex: 1;
  min-width: 200px;
  background: var(--bg-primary);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  padding: 16px;
}

.flow-stage-header {
  font-size: 0.7rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-align: center;
}

.flow-stage.input .flow-stage-header { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.flow-stage.process .flow-stage-header { background: rgba(212, 168, 67, 0.15); color: #D4A843; }
.flow-stage.distribution .flow-stage-header { background: rgba(62, 207, 207, 0.15); color: #3ECFCF; }
.flow-stage.outcome .flow-stage-header { background: rgba(16, 185, 129, 0.15); color: #10B981; }

.flow-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-item {
  font-size: 0.8rem;
  color: var(--gray-300);
  padding: 8px 12px;
  background: var(--gray-900);
  border-radius: 4px;
  line-height: 1.4;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 1.5rem;
  font-style: normal;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .flow-container {
    flex-direction: column;
  }
  .flow-arrow {
    transform: rotate(90deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .action-table {
    display: block;
    overflow-x: auto;
  }

  .competitor-table {
    display: block;
    overflow-x: auto;
  }
}
