/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #07101f;
  --bg-secondary: #0c1829;
  --bg-tertiary: #111f35;
  --border: #1c2e47;
  --text: #dce7f5;
  --text-dim: #5a7394;
  --accent: #00c8a8;
  --accent-glow: rgba(0, 200, 168, 0.15);
  --green: #00b894;
  --yellow: #e8a020;
  --red: #dc4f5e;
  --green-bg: #001a16;
  --yellow-bg: #1a1200;
  --red-bg: #1a080c;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius: 6px;
}

[data-theme="light"] {
  --bg: #f4f8fc;
  --bg-secondary: #e8f0f9;
  --bg-tertiary: #dde8f5;
  --border: #c5d5e8;
  --text: #0d1f33;
  --text-dim: #4d6a88;
  --accent: #007a66;
  --accent-glow: rgba(0, 122, 102, 0.12);
  --green: #006e58;
  --yellow: #9a6200;
  --red: #b52a38;
  --green-bg: #d4ede6;
  --yellow-bg: #fce8b0;
  --red-bg: #fad8dc;
}

/* ── Top accent bar ── */
body::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #00c8a8, #0096d4 60%, #0062a8);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

body {
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(0, 200, 168, 0.05) 0%, transparent 70%);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.2s, color 0.2s;
}

[data-theme="light"] body {
  background-image: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(0, 122, 102, 0.06) 0%, transparent 70%);
}

/* ── Layout ── */
main {
  flex: 1;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 24px 40px;
}

footer {
  text-align: center;
  padding: 24px;
  color: var(--text-dim);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ── Header ── */
header {
  margin-bottom: 56px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.header-text {
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

h1 {
  font-size: 3rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.accent {
  color: var(--accent);
  text-shadow: 0 0 24px rgba(0, 200, 168, 0.45);
}

.tagline {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 6px;
  letter-spacing: 0.01em;
}

.install-hint {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-top: 10px;
}

.npm-link {
  text-decoration: none;
}

.npm-link:hover .install-code {
  color: var(--text);
  border-color: var(--accent);
}

.install-code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--accent);
}

.url-hint {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 8px;
}

/* ── Theme toggle ── */
.theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: none;
  color: var(--text-dim);
  cursor: pointer;
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 7px 16px;
  transform: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}

.theme-toggle:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent);
  color: var(--accent);
  transform: none;
  box-shadow: none;
}

/* ── Input Section ── */
.input-section {
  margin-bottom: 40px;
}

.input-row {
  display: flex;
  gap: 12px;
}

input[type="text"] {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

input[type="text"]::placeholder {
  color: var(--text-dim);
}

button {
  background: linear-gradient(135deg, #00c8a8, #009d88);
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0, 200, 168, 0.25);
  color: #041018;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 26px;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 200, 168, 0.35);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.error-message {
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 10px;
}

/* ── Example chips ── */
.examples {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.examples-label {
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.example-chip {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: none;
  color: var(--text-dim);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 4px 12px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  transform: none;
}

.example-chip:hover {
  background: var(--bg-secondary);
  border-color: var(--accent);
  color: var(--accent);
  transform: none;
  box-shadow: none;
}

/* ── Loading ── */
.loading {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding: 40px 0;
}

.loading-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.2s ease-in-out infinite;
}

.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

.loading-label {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-left: 6px;
  text-transform: uppercase;
  animation: blink-cursor 1s step-end infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── Results Section ── */
.results-section {
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 200, 168, 0.06);
  animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Results Header ── */
.results-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.results-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.results-url {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  word-break: break-all;
}

.results-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.copy-link-btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3px 10px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.copy-link-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.results-status {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.results-status[data-status-type="redirect"] { color: var(--yellow); }
.results-status[data-status-type="client-error"] { color: var(--yellow); }
.results-status[data-status-type="error"] { color: var(--red); }

.grade-badge {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  flex-shrink: 0;
  letter-spacing: 0;
}

.grade-A, .grade-B { color: var(--green); background: var(--green-bg); }
.grade-C           { color: var(--yellow); background: var(--yellow-bg); }
.grade-D, .grade-F { color: var(--red); background: var(--red-bg); }

/* ── Score Bar ── */
.score-bar-container {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.score-label {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.score-bar {
  flex: 1;
  background: var(--bg-tertiary);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--green);
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Results Table ── */
.table-wrapper {
  overflow-x: auto;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.results-table thead {
  background: var(--bg-tertiary);
}

.results-table th {
  color: var(--text-dim);
  font-weight: 500;
  padding: 10px 20px;
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.results-table td {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  vertical-align: top;
}

.results-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

.results-table tr:hover td {
  background: rgba(0, 200, 168, 0.04);
}

.header-name {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text);
}

.status-badge {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-present::before    { content: '✓  '; }
.status-missing::before    { content: '○  '; }
.status-misconfigured::before { content: '✕  '; }

.status-present {
  background: var(--green-bg);
  color: var(--green);
}

.status-missing {
  background: var(--yellow-bg);
  color: var(--yellow);
}

.status-misconfigured {
  background: var(--red-bg);
  color: var(--red);
}

.header-description {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
}

.header-value {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.header-value.none {
  font-style: italic;
  opacity: 0.5;
}

.header-value.expandable {
  cursor: pointer;
  text-decoration: underline dotted var(--text-dim);
}

.header-value.expandable:hover {
  color: var(--text);
}

.header-value.expanded {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: none;
  word-break: break-all;
}

.row-missing.hidden-row {
  display: none;
}

.missing-toggle-row {
  display: flex;
  justify-content: flex-end;
  padding: 10px 20px 0;
  background: var(--bg-secondary);
}

.missing-toggle-btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3px 10px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.missing-toggle-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── Tabs ── */
.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  box-shadow: none;
  color: var(--text-dim);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: -1px;
  padding: 10px 20px;
  transform: none;
  transition: color 0.15s, border-color 0.15s;
}

.tab-btn:hover {
  color: var(--text);
  transform: none;
  box-shadow: none;
}

.tab-btn.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* ── Guide ── */
.guide-intro {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 680px;
}

.guide-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-link {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0 5px;
  line-height: 1.6;
  text-decoration: none;
  vertical-align: middle;
  transition: color 0.15s, border-color 0.15s;
}

.guide-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@keyframes guide-highlight {
  0%   { box-shadow: 0 0 0 3px var(--accent-glow), 0 0 0 1px var(--accent); }
  100% { box-shadow: none; }
}

.guide-card.highlight {
  animation: guide-highlight 1.4s ease-out forwards;
}

.guide-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.guide-card-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}

.guide-header-name {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.guide-header-tagline {
  color: var(--text-dim);
  font-size: 0.83rem;
}

.guide-risk-badge {
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  padding: 3px 10px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.guide-risk-critical { background: var(--red-bg); color: var(--red); }
.guide-risk-high     { background: var(--yellow-bg); color: var(--yellow); }
.guide-risk-medium   { background: var(--green-bg); color: var(--accent); }

.guide-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.guide-section {
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}

.guide-section:last-child {
  border-right: none;
}

.guide-section-title {
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.guide-section p {
  color: var(--text-dim);
  font-size: 0.83rem;
  line-height: 1.65;
}

.guide-code {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--accent);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-bottom: 10px;
  padding: 8px 12px;
  word-break: break-all;
}

.guide-code-inline {
  background: var(--bg-tertiary);
  border-radius: 3px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78em;
  padding: 1px 5px;
}

.guide-section-note {
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.5;
  margin-top: 0;
}

/* ── Guide consumer strip ── */
.guide-consumer {
  align-items: start;
  background: rgba(0, 200, 168, 0.025);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr 1fr;
}

.guide-consumer-label {
  align-self: stretch;
  border-right: 1px solid var(--border);
  color: var(--accent);
  display: flex;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 14px 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

.guide-consumer-col {
  border-right: 1px solid var(--border);
  padding: 14px 20px;
}

.guide-consumer-col:last-child {
  border-right: none;
}

.guide-consumer-subtitle {
  color: var(--text-dim);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.guide-consumer p {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.65;
}

.guide-consumer-na {
  color: var(--text-dim);
  font-size: 0.82rem;
  font-style: italic;
  grid-column: 2 / -1;
  line-height: 1.65;
  padding: 14px 20px;
}

@media (max-width: 640px) {
  .guide-card-body {
    grid-template-columns: 1fr;
  }
  .guide-section {
    border-right: none;
    border-top: 1px solid var(--border);
  }
  .guide-section:first-child {
    border-top: none;
  }
  .guide-consumer {
    grid-template-columns: 1fr;
  }
  .guide-consumer-label {
    align-self: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 10px 20px;
  }
  .guide-consumer-col {
    border-right: none;
    border-top: 1px solid var(--border);
  }
  .guide-consumer-na {
    grid-column: 1;
    padding-top: 14px;
  }
}

/* ── How It Works ── */
.how-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.how-card-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}

.how-card-title {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.how-card-desc {
  color: var(--text-dim);
  font-size: 0.83rem;
  line-height: 1.65;
}

/* Code block */
.code-block {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  overflow-x: auto;
  padding: 20px 24px;
  white-space: pre;
}

.code-comment { color: var(--text-dim); }
.code-keyword { color: #c792ea; }
.code-fn      { color: #82aaff; }
.code-string  { color: #c3e88d; }
.code-tpl     { color: var(--accent); }
.code-num     { color: #f78c6c; }
.code-import  { color: #c792ea; }

/* Annotations */
.annotations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

.annotation {
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}

.annotation:last-child {
  border-right: none;
}

.annotation-label {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  padding: 2px 10px;
}

.annotation p {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.65;
}

/* Flow diagram */
.flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 20px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
}

.flow-step {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex: 1;
  min-width: 120px;
  padding: 14px;
}

.flow-step-num {
  background: var(--accent);
  border-radius: 50%;
  color: #041018;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  height: 20px;
  margin-bottom: 8px;
  width: 20px;
}

.flow-step strong {
  color: var(--text);
  display: block;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.flow-step p {
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.5;
}

.flow-arrow {
  align-self: center;
  color: var(--border);
  flex-shrink: 0;
  font-size: 1.1rem;
  padding: 0 8px;
}

/* Grade scale */
.grade-scale {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.grade-scale-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.grade-pip {
  border-radius: 50%;
  border: 2px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  height: 24px;
  width: 24px;
}

.grade-pip.grade-A, .grade-pip.grade-B { color: var(--green); background: var(--green-bg); }
.grade-pip.grade-C                     { color: var(--yellow); background: var(--yellow-bg); }
.grade-pip.grade-D, .grade-pip.grade-F { color: var(--red); background: var(--red-bg); }

@media (max-width: 640px) {
  .annotations {
    grid-template-columns: 1fr;
  }
  .annotation {
    border-right: none;
    border-top: 1px solid var(--border);
  }
  .annotation:first-child {
    border-top: none;
  }
}

/* ── Scrollbar ── */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg-secondary);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
  border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

::-webkit-scrollbar-corner {
  background: var(--bg-secondary);
}

/* ── Light mode overrides ── */
[data-theme="light"] .accent {
  text-shadow: 0 0 24px rgba(0, 122, 102, 0.3);
}

[data-theme="light"] .results-section {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 122, 102, 0.08);
}

[data-theme="light"] .results-table tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.025);
}

[data-theme="light"] .code-block {
  background: #0a1929;
  color: #dce7f5;
}

[data-theme="light"] .code-comment {
  color: #5a7394;
}

[data-theme="light"] .code-tpl {
  color: #00c8a8;
}

/* ── Utility ── */
.hidden {
  display: none !important;
}
