/* Native extension styles for /ai-check/ built on /styles.css + /check/check.css */

.ac-switcher {
  margin-top: 22px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  color: var(--muted);
}
.ac-switcher a {
  text-decoration: none;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  background: var(--sand);
  padding: 5px 13px;
  border-radius: 999px;
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s;
}
.ac-switcher a:hover {
  background: var(--ink);
  color: var(--lime);
}

/* CSP-safe grade badge colors (no inline style attributes) */
.ac-grade[data-tone="lime"] { color: var(--lime); }
.ac-grade[data-tone="mint"] { color: #6ee7b7; }
.ac-grade[data-tone="amber"] { color: #ffb020; }
.ac-grade[data-tone="red"] { color: #ff5a52; }

/* "What AI Actually Sees" raw-HTML reader box */
.ac-reader-body {
  flex: 1;
  background: var(--ink);
  color: var(--cream);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 290px;
}
.ac-reader-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--on-dark-line);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--lime);
}
.ac-reader-text {
  margin: 0;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: #e6e4de;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 300px;
  overflow-y: auto;
}

/* Bot matrix grouping */
.ac-group-head {
  margin: 18px 0 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.ac-group-head:first-of-type { margin-top: 0; }
.ac-bot-note {
  margin: 12px 0 18px;
  font-size: 14px;
  color: var(--ink-2);
}

/* Neutral info pill for optional/training opt-out states */
.ac-pill--info {
  background: var(--sand);
  color: var(--ink-2);
  border-color: rgba(14, 15, 18, 0.45);
}

/* Structured facts list inside Schema card */
.ac-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
}
.ac-facts li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(14, 15, 18, 0.25);
}
.ac-facts span {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.ac-facts strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
}
