:root {
  --bg: #06080f;
  --surface: rgba(18, 24, 44, 0.6);
  --surface-hover: rgba(24, 32, 56, 0.75);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --primary: #1877f2;
  --primary-hover: #3b82f6;
  --accent: #7c5cff;
  --accent2: #ec4899;
  --success: #34d399;
  --text: #f1f5f9;
  --muted: #64748b;
  --radius: 16px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Outfit', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

svg { max-width: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated background canvas */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Background glowing orbs */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.35;
}

body::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #1877f2, transparent);
  top: -200px; left: -150px;
  animation: floatOrb 20s ease-in-out infinite alternate;
}

body::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7c5cff, transparent);
  bottom: -150px; right: -100px;
  animation: floatOrb 25s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.1); }
}

.app-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
  animation: fadeIn 0.8s var(--ease) both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark svg {
  width: 38px;
  height: 38px;
  max-width: 38px;
  max-height: 38px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(24, 119, 242, 0.4));
}

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

.brand-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff 50%, var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 3.5rem;
  animation: fadeIn 0.8s var(--ease) 0.15s both;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(124, 92, 255, 0.1);
  border: 1px solid rgba(124, 92, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, #1877f2 0%, #7c5cff 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}

/* Grid */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .grid-2col { grid-template-columns: 1fr; }
}

/* Card */
.card {
  background: var(--surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.4s var(--ease);
  animation: fadeIn 0.8s var(--ease) 0.3s both;
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.card-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.card-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.card-subtitle {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Scope List */
.scope-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.scope-item {
  cursor: pointer;
  position: relative;
}

.scope-item input { position: absolute; opacity: 0; }

.scope-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s var(--ease);
}

.scope-item:hover .scope-box {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.scope-item input:checked + .scope-box {
  border-color: rgba(24, 119, 242, 0.4);
  background: rgba(24, 119, 242, 0.06);
}

.scope-item input:checked + .scope-box .scope-svg {
  color: var(--primary);
}

.scope-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--muted);
  transition: color 0.2s;
}

.scope-name {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  line-height: 1.3;
}

.scope-desc {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
}

/* Buttons */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-hover);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: var(--border-hover);
}

/* State Boxes */
.state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3.5rem 1rem;
  text-align: center;
  color: var(--muted);
}

.hidden { display: none !important; }

/* Token Card Display */
.token-field {
  margin-bottom: 1.1rem;
}

.token-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.token-val {
  font-size: 0.9rem;
  color: var(--text);
  word-break: break-all;
  line-height: 1.5;
}

.token-val.mono {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--success);
}

.token-copy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.token-copy code {
  flex: 1;
  display: block;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1.4;
  max-height: 90px;
  overflow-y: auto;
  word-break: break-all;
}

/* Form Controls for Test Tools */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.85rem;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.2rem;
}

.form-select option {
  background: #0f172a;
  color: #f8fafc;
}

.form-group input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
}

.tool-panel { display: none; }
.tool-panel.active { display: block; }

.response-out {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #a7f3d0;
  margin-top: 0.75rem;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 140px;
  overflow-y: auto;
}

/* SDK Section */
.sdk-section {
  margin-bottom: 1.5rem;
}

.sdk-section .card-header {
  flex-wrap: wrap;
  gap: 1rem;
}

.tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  margin-left: auto;
}

.tab {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 0.4rem 0.9rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

pre {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 1.25rem;
  overflow-x: auto;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #e2e8f0;
}

.cm { color: #64748b; }
.kw { color: #ec4899; }
.str { color: #34d399; }

/* Footer */
.app-footer {
  margin-top: auto;
  padding: 3rem 0 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Spinner */
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Copy feedback toast */
.copy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(52, 211, 153, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--success);
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(16px);
  z-index: 100;
  animation: toastIn 0.3s var(--ease) both;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

/* Shimmer Skeleton Loader */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.02) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite ease-in-out;
  border-radius: 6px;
}

.skeleton-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.skeleton-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skeleton-title {
  height: 18px;
  width: 55%;
}

.skeleton-pill {
  height: 16px;
  width: 25%;
  border-radius: 100px;
}

.skeleton-line {
  height: 12px;
  width: 85%;
}

.skeleton-line-short {
  height: 12px;
  width: 45%;
}

/* Visual Results Renderer */
.test-results-container {
  background: rgba(10, 14, 26, 0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  animation: fadeIn 0.3s var(--ease) both;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.results-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.result-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-badge.success {
  background: rgba(52, 211, 153, 0.15);
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.result-badge.error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.results-summary {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.btn-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-action:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.view-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
}

.view-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.view-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.visual-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.res-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all 0.2s;
}

.res-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.res-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.res-card-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.res-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.res-pill.active, .res-pill.approved, .res-pill.verified {
  background: rgba(52, 211, 153, 0.15);
  color: var(--success);
}

.res-pill.paused {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.res-field {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.res-label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
}

.res-val {
  font-size: 0.82rem;
  color: var(--text);
  word-break: break-all;
}

.res-card.clickable {
  cursor: pointer;
  position: relative;
  border-color: rgba(167, 139, 250, 0.2);
}

.res-card.clickable:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(167, 139, 250, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.res-card-click-hint {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.3rem;
  opacity: 0.85;
}

.res-card.clickable:hover .res-card-click-hint {
  opacity: 1;
  text-decoration: underline;
}

/* Modal Overlay & Card */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 8, 16, 0.82);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.25s ease-out;
}

.modal-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.modal-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.modal-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.modal-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.modal-subtitle {
  font-size: 0.75rem;
  color: var(--muted);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.modal-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.modal-tab.active {
  background: rgba(167, 139, 250, 0.12);
  color: #fff;
  border-color: rgba(167, 139, 250, 0.3);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.modal-panel { display: none; }
.modal-panel.active { display: block; }

/* KPI Grid & Cards inside Modal */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.kpi-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi-val {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.kpi-trend {
  font-size: 0.72rem;
  font-weight: 600;
}

.kpi-trend.up { color: var(--success); }
.kpi-trend.neutral { color: var(--muted); }

/* Config List inside Modal */
.config-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.config-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.config-key {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.config-val {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}

.config-val.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #a78bfa;
}
