/* Health Dashboard Styles - Content Only */
/* Container and Header styles are now handled by Tailwind in index.html to match Recent Conversations */

/* Main Grid Layout */
.alignment-dashboard {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.alignment-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  /* Revert to vertical scrolling */
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  /* Let it grow */
  scroll-snap-type: none;
}

/* Card Base Styles */
.alignment-card {
  background: linear-gradient(160deg, rgba(11, 16, 26, 0.88), rgba(9, 13, 22, 0.92));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);

  /* Vertical layout specifics */
  width: 100%;
  min-width: 0;
  max-width: none;
  flex: 1 1 auto;
  scroll-snap-align: none;
}

.alignment-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}

.alignment-card-header h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.card-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(var(--odei-color-gold-rgb), 0.82);
  margin-bottom: 4px;
  font-weight: 700;
}

.card-score span {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
  line-height: 1;
  letter-spacing: -0.02em;
}

.card-score small {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  text-align: right;
  margin-top: 2px;
}

/* Strategy Column */
.strategy-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.initiative-card {
  padding: 14px;
  border-radius: 12px;
  background: rgba(11, 16, 26, 0.6);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.initiative-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--odei-color-gold-rgb), 0.4);
  background: rgba(12, 18, 32, 0.72);
}

.initiative-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.initiative-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(var(--odei-color-jade-rgb), 0.28);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
}

.initiative-due {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.initiative-card h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.initiative-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.initiative-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.initiative-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 2px;
}

/* Tactics Column */
.tactics-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tactic-metric {
  padding: 16px;
  border-radius: 12px;
  background: rgba(10, 15, 26, 0.6);
  border: 1px solid var(--glass-border);
}

.tactic-metric .metric-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.tactic-metric .metric-main {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 8px 0 4px;
  line-height: 1;
}

.tactic-metric .metric-caption {
  font-size: 12px;
  color: var(--text-muted);
}

/* Execution Column */
.execution-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.execution-score {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--glass-border);
}

.score-value {
  font-size: 80px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.score-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.execution-coverage {
  margin-top: 24px;
}

.coverage-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.coverage-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(var(--odei-color-jade-rgb), 0.35);
}

.metric-caption {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  display: block;
}

.execution-feed {
  flex: 1;
  min-height: 100px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.issue-line {
  padding: 12px;
  background: rgba(11, 16, 26, 0.62);
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  display: flex;
  gap: 12px;
}

.issue-icon {
  font-size: 16px;
}

.issue-type {
  font-size: 10px;
  font-weight: 700;
  color: rgba(var(--odei-color-gold-rgb), 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.issue-message {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Footers */
.alignment-card-footer,
.execution-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.action-button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(150deg, rgba(11, 16, 26, 0.82), rgba(8, 13, 22, 0.9));
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
}

.action-button:hover {
  background: linear-gradient(150deg, rgba(var(--odei-color-jade-rgb), 0.26), rgba(var(--odei-color-gold-rgb), 0.2));
  border-color: rgba(var(--odei-color-jade-rgb), 0.42);
  color: var(--text-primary);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Context Dashboard (agent-specific) */
.context-dashboard {
  --cd-ink: var(--panel-ink, #e7f2ff);
  --cd-muted: #93aec7;
  --cd-rail: var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.32));
  --cd-ambient: var(--panel-contrast-soft, rgba(var(--odei-color-gold-rgb), 0.14));
  --cd-accent: var(--panel-accent, var(--odei-color-jade-500));
  position: relative;
  box-sizing: border-box;
  color: var(--cd-ink);
  background: linear-gradient(150deg, rgba(10, 16, 28, 0.96), rgba(8, 12, 22, 0.96));
  border: 1px solid var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.18));
  border-radius: 16px;
  padding: 8px;
  margin: 6px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: var(--font-body);
  overflow: hidden;
  isolation: isolate;
}

.context-dashboard::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--cd-rail), var(--cd-ambient), var(--cd-rail));
  opacity: 0.7;
  filter: blur(10px);
  z-index: 0;
}

.context-dashboard::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 18px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 18px
    ),
    radial-gradient(
      circle at 30% 20%,
      var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.08)),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 0%,
      var(--panel-contrast-soft, rgba(var(--odei-color-gold-rgb), 0.08)),
      transparent 60%
    );
  pointer-events: none;
  z-index: 0;
}

.context-dashboard > * {
  position: relative;
  z-index: 1;
}

.context-hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 16px;
  background: linear-gradient(
    130deg,
    var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.12)),
    rgba(14, 23, 37, 0.92)
  );
  border: 1px solid var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.32));
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  min-height: 96px;
  overflow: hidden;
}

.context-hero::before {
  content: '';
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--panel-accent-strong, rgba(var(--odei-color-jade-rgb), 0.8)),
    rgba(var(--odei-color-jade-rgb), 0)
  );
  opacity: 0.75;
}

.context-hero > div:first-child {
  display: grid;
  gap: 6px;
}

.context-hero-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-family: var(--font-display);
}

.context-hero-subtitle {
  font-size: 12px;
  color: var(--cd-muted);
  margin-top: 2px;
  letter-spacing: 0.03em;
}

.context-hero-metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}

.context-hero-status {
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    140deg,
    var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.14)),
    rgba(9, 16, 27, 0.9)
  );
  min-width: 104px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 18px rgba(0, 0, 0, 0.28);
}

.context-hero-status .status-label {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cd-muted);
}

.context-hero-status .status-value {
  font-size: 15px;
  font-weight: 800;
  color: #e2e8f0;
  margin-top: 2px;
  letter-spacing: 0.05em;
}

.context-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.context-meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--panel-accent, var(--odei-color-jade-500)),
    var(--panel-contrast, var(--odei-color-gold-500))
  );
  box-shadow: 0 0 8px var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.6));
}

.context-empty {
  min-height: 220px;
  display: grid;
  gap: 12px;
  align-content: start;
}

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

.context-empty-body {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.16));
  border-radius: 12px;
  padding: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.context-empty-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.context-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    120deg,
    var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.18)),
    rgba(10, 16, 27, 0.82)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.context-hero-pill .pill-label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #cfe8ff;
}

.context-hero-pill .pill-value {
  color: var(--panel-accent, var(--odei-color-jade-500));
  font-size: 14px;
}

.mini-ring {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), rgba(11, 20, 32, 0.96) 62%);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(var(--odei-color-jade-rgb), 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.mini-ring::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(var(--odei-color-jade-rgb), 0.08), transparent 70%);
  opacity: 0.5;
}

.mini-ring-fill {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  mask: radial-gradient(circle at 50% 50%, transparent 55%, #000 60%);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 55%, #000 60%);
}

.mini-ring-inner {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 20% 20%,
    var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.14)),
    rgba(9, 16, 27, 0.92)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  padding: 6px;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.mini-ring-value {
  font-weight: 800;
  font-size: 13px;
  line-height: 1.05;
}

.mini-ring-label {
  font-size: 7px;
  letter-spacing: 0.02em;
  color: #8ba3b7;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  width: 100%;
  white-space: normal;
  word-break: break-word;
}

.mini-ring-na .mini-ring-fill {
  opacity: 0.4;
}

.context-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
}

.context-card {
  position: relative;
  background: linear-gradient(160deg, rgba(10, 18, 32, 0.9), rgba(8, 14, 26, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 12px;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-sizing: border-box;
}

.context-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 36%);
  opacity: 0.4;
  pointer-events: none;
}

.context-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 16px;
  border: 1px solid var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.12));
  pointer-events: none;
}

.context-card > * {
  position: relative;
  z-index: 1;
}

.context-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.context-card-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
}

.context-card-subtitle {
  font-size: 12px;
  color: var(--cd-muted);
  margin-top: 2px;
}

.context-card-badge {
  padding: 6px 10px;
  border-radius: 10px;
  background: linear-gradient(
    130deg,
    var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.2)),
    rgba(10, 16, 27, 0.9)
  );
  color: var(--panel-accent, #8ce8df);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.32));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.context-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.context-action-btn {
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.04), rgba(13, 20, 32, 0.9));
  border: 1px solid var(--panel-accent-soft, rgba(255, 255, 255, 0.08));
  color: #cfe8ff;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.context-action-btn:hover {
  border-color: var(--panel-accent-strong, rgba(var(--odei-color-jade-rgb), 0.4));
  color: var(--panel-accent, var(--odei-color-jade-500));
  transform: translateY(-1px);
}

.context-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.context-metric {
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(11, 18, 30, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.context-metric:hover {
  border-color: var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.35));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.metric-label {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cd-muted);
  margin-bottom: 2px;
}

.metric-value {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.metric-note {
  font-size: 12px;
  color: #9fb4c5;
  margin-top: 2px;
}

.accent-jade {
  color: var(--odei-color-jade-500);
  text-shadow: 0 0 10px rgba(var(--odei-color-jade-rgb), 0.25);
}
.accent-amber {
  color: var(--odei-color-gold-500);
  text-shadow: 0 0 10px rgba(var(--odei-color-gold-rgb), 0.25);
}
.accent-red {
  color: var(--odei-color-danger-400);
  text-shadow: 0 0 10px rgba(255, 123, 123, 0.25);
}

.context-list {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.context-list-item {
  font-size: 12px;
  color: #c8d7e5;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.context-alerts {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--panel-contrast-soft, rgba(var(--odei-color-gold-rgb), 0.35));
  background: linear-gradient(145deg, rgba(35, 26, 14, 0.72), rgba(10, 14, 22, 0.88));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.context-alerts-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--panel-contrast, var(--odei-color-gold-500));
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.context-alerts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.context-alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.context-alert .alert-icon {
  font-size: 16px;
}

.context-alert .alert-title {
  font-size: 13px;
  font-weight: 700;
}

.context-alert .alert-detail {
  font-size: 12px;
  color: #c8d7e5;
  margin-top: 2px;
}

.context-alert .alert-action {
  font-size: 12px;
  color: var(--panel-accent, #8ce8df);
  margin-top: 4px;
}

.context-alert.warning {
  border-color: rgba(var(--odei-color-gold-rgb), 0.35);
}
.context-alert.critical {
  border-color: rgba(255, 123, 123, 0.35);
}

.status-green {
  background: linear-gradient(120deg, rgba(var(--odei-color-jade-rgb), 0.22), rgba(10, 16, 27, 0.82));
  border-color: rgba(var(--odei-color-jade-rgb), 0.45);
}
.status-yellow {
  background: linear-gradient(120deg, rgba(var(--odei-color-gold-rgb), 0.24), rgba(10, 16, 27, 0.8));
  border-color: rgba(var(--odei-color-gold-rgb), 0.42);
}
.status-red {
  background: linear-gradient(120deg, rgba(255, 123, 123, 0.28), rgba(10, 16, 27, 0.82));
  border-color: rgba(255, 123, 123, 0.45);
}

.context-quick-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.context-action-chip {
  border: 1px solid var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.35));
  color: var(--panel-ink, #c0fff3);
  background: linear-gradient(
    130deg,
    var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.18)),
    rgba(9, 16, 27, 0.88)
  );
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.context-action-chip:hover {
  border-color: var(--panel-accent-strong, rgba(var(--odei-color-jade-rgb), 0.6));
  color: var(--panel-accent, var(--odei-color-jade-500));
  transform: translateY(-1px);
}

.context-dashboard.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 240px;
}

.context-dashboard-spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid var(--panel-accent-soft, rgba(var(--odei-color-jade-rgb), 0.3));
  border-top-color: var(--panel-accent, var(--odei-color-jade-500));
  animation: spin 1s linear infinite;
}

.context-dashboard-note {
  font-size: 12px;
  color: #94a3b8;
}

.context-dashboard.error {
  text-align: center;
  color: #f8fafc;
}

.context-dashboard .error-detail {
  font-size: 12px;
  color: #fca5a5;
  margin-top: 6px;
}

.bv2-card-shell {
  background: linear-gradient(135deg, rgba(18, 22, 34, 0.95), rgba(11, 14, 20, 0.98));
  border: 1px solid rgba(244, 201, 93, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.bv2-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(244, 201, 93, 0.1);
}

.bv2-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(244, 201, 93, 0.05);
}

.bv2-metric-row-last {
  border-bottom: none;
}

.bv2-alert-card {
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bv2-alert-high {
  background: rgba(255, 123, 123, 0.1);
  border: 1px solid rgba(255, 123, 123, 0.3);
}

.bv2-alert-medium {
  background: rgba(244, 201, 93, 0.1);
  border: 1px solid rgba(244, 201, 93, 0.3);
}

.bv2-alert-action {
  margin-left: auto;
  padding: 6px 12px;
  font-size: 11px;
  border-radius: 6px;
  color: var(--ink-high, #e8ecf4);
  cursor: pointer;
}

.bv2-alert-action-high {
  background: rgba(255, 123, 123, 0.2);
  border: 1px solid rgba(255, 123, 123, 0.4);
}

.bv2-alert-action-medium {
  background: rgba(244, 201, 93, 0.2);
  border: 1px solid rgba(244, 201, 93, 0.4);
}

/* BV2 INLINE STYLE EXTRACTION BEGIN */
.bv2-is-1 {
  min-height: 100vh;
  background: var(--bg-02, #0b0e14);
  padding: 24px;
  font-family:
    'Inter',
    -apple-system,
    sans-serif;
}
.bv2-is-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(244, 201, 93, 0.2);
}
.bv2-is-3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink-high, #e8ecf4);
  margin: 0 0 4px 0;
}
.bv2-is-4 {
  font-size: 13px;
  color: var(--ink-med, #b6c0d2);
  margin: 0;
}
.bv2-is-5 {
  display: flex;
  gap: 12px;
  align-items: center;
}
.bv2-is-6 {
  font-size: 12px;
  color: var(--muted, #7c889a);
}
.bv2-is-7 {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  background: rgba(244, 201, 93, 0.1);
  color: #f4c95d;
  border: 1px solid rgba(244, 201, 93, 0.3);
}
.bv2-is-8 {
  margin-top: 32px;
}
.bv2-is-9 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.bv2-is-10 {
  font-size: 14px;
  font-weight: 600;
  color: #f4c95d;
}
.bv2-is-11 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-high, #e8ecf4);
  margin: 0;
}
.bv2-is-12 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.bv2-is-13 {
  font-size: 14px;
  font-weight: 600;
  color: #ff7b7b;
}
.bv2-is-14 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.bv2-is-15 {
  background: linear-gradient(135deg, rgba(244, 201, 93, 0.05), rgba(11, 14, 20, 0.8));
  border: 1px solid rgba(244, 201, 93, 0.2);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.bv2-is-16 {
  text-align: center;
}
.bv2-is-17 {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  position: relative;
}
.bv2-is-18 {
  transform: rotate(-90deg);
}
.bv2-is-19 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.bv2-is-20 {
  font-size: 42px;
  font-weight: 700;
  color: #f4c95d;
}
.bv2-is-21 {
  font-size: 11px;
  color: var(--muted, #7c889a);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.bv2-is-22 {
  margin-top: 12px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  background: rgba(244, 201, 93, 0.15);
  color: #f4c95d;
}
.bv2-is-23 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-med, #b6c0d2);
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bv2-is-24 {
  margin-bottom: 16px;
}
.bv2-is-25 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.bv2-is-26 {
  font-size: 13px;
  color: var(--ink-high, #e8ecf4);
}
.bv2-is-27 {
  height: 6px;
  background: rgba(244, 201, 93, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
.bv2-is-28 {
  height: 100%;
  background: #f4c95d;
  border-radius: 3px;
  width: 0%;
  transition: width 0.5s ease;
}
.bv2-is-29 {
  font-size: 11px;
  color: var(--muted, #7c889a);
  margin-top: 4px;
}
.bv2-is-30 {
  font-size: 14px;
  font-weight: 600;
  color: #4fd1c5;
}
.bv2-is-31 {
  height: 6px;
  background: rgba(79, 209, 197, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
.bv2-is-32 {
  height: 100%;
  background: #4fd1c5;
  border-radius: 3px;
  width: 0%;
  transition: width 0.5s ease;
}
.bv2-is-33 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bv2-is-34 {
  background: rgba(244, 201, 93, 0.08);
  border: 1px solid rgba(244, 201, 93, 0.2);
  border-radius: 8px;
  padding: 12px;
}
.bv2-is-35 {
  font-size: 11px;
  color: var(--muted, #7c889a);
}
.bv2-is-36 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-high, #e8ecf4);
}
.bv2-is-37 {
  background: rgba(79, 209, 197, 0.08);
  border: 1px solid rgba(79, 209, 197, 0.2);
  border-radius: 8px;
  padding: 12px;
}
.bv2-is-38 {
  font-size: 12px;
  font-weight: 700;
  color: #f4c95d;
}
.bv2-is-39 {
  font-weight: 600;
  color: var(--ink-high, #e8ecf4);
}
.bv2-is-40 {
  padding: 0 16px 16px;
}
.bv2-is-41 {
  color: var(--ink-med, #b6c0d2);
  font-size: 12px;
}
.bv2-is-42 {
  font-size: 20px;
  font-weight: 700;
  color: #f4c95d;
}
.bv2-is-43 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-high, #e8ecf4);
}
.bv2-is-44 {
  font-size: 16px;
  font-weight: 500;
  color: #4fd1c5;
}
.bv2-is-45 {
  font-size: 14px;
  color: var(--ink-high, #e8ecf4);
}
.bv2-is-46 {
  font-size: 12px;
  font-weight: 700;
  color: #bef264;
}
.bv2-is-47 {
  text-align: center;
  margin-bottom: 12px;
}
.bv2-is-48 {
  font-size: 36px;
  font-weight: 700;
  color: #f4c95d;
}
.bv2-is-49 {
  height: 8px;
  background: rgba(244, 201, 93, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}
.bv2-is-50 {
  height: 100%;
  background: linear-gradient(90deg, #f4c95d, #4fd1c5);
  width: 0%;
  transition: width 0.5s ease;
}
.bv2-is-51 {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 10px;
  background: rgba(79, 209, 197, 0.15);
  color: #4fd1c5;
}
.bv2-is-52 {
  font-size: 12px;
  font-weight: 700;
  color: #a78bfa;
}
.bv2-is-53 {
  font-size: 20px;
  font-weight: 700;
  color: #a78bfa;
}
.bv2-is-54 {
  font-size: 16px;
  color: var(--ink-high, #e8ecf4);
}
.bv2-is-55 {
  font-size: 14px;
  color: var(--muted, #7c889a);
}
.bv2-is-56 {
  font-size: 12px;
  font-weight: 700;
  color: #4fd1c5;
}
.bv2-is-57 {
  font-size: 22px;
  font-weight: 700;
  color: #4fd1c5;
}
.bv2-is-58 {
  font-size: 14px;
}
.bv2-is-59 {
  font-size: 12px;
  font-weight: 700;
  color: #fa5252;
}
.bv2-is-60 {
  font-size: 18px;
  font-weight: 600;
  color: #f4c95d;
}
.bv2-is-61 {
  font-size: 16px;
  color: #fa5252;
}
.bv2-is-62 {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(244, 201, 93, 0.15);
}
.bv2-is-63 {
  font-size: 11px;
  color: var(--muted, #7c889a);
  margin-bottom: 4px;
}
.bv2-is-64 {
  font-size: 12px;
  font-weight: 700;
  color: #22d3ee;
}
.bv2-is-65 {
  font-size: 20px;
  font-weight: 700;
  color: #22d3ee;
}
.bv2-is-66 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-high, #e8ecf4);
}
.bv2-is-67 {
  font-size: 14px;
  color: #f4c95d;
}
.bv2-is-68 {
  font-size: 14px;
  color: #4fd1c5;
}
.bv2-is-69 {
  padding: 16px;
  background: rgba(244, 201, 93, 0.05);
  border: 1px solid rgba(244, 201, 93, 0.2);
  border-radius: 8px;
  color: var(--ink-med, #b6c0d2);
  font-size: 13px;
}
.bv2-is-70 {
  font-size: 20px;
}
.bv2-is-71 {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-high, #e8ecf4);
}
/* BV2 INLINE STYLE EXTRACTION END */
