ai-shield {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-block: 1.25rem;
  padding: 1rem 1.25rem;
  border-inline-start: 3px solid #d8b562;
  border-radius: 0 0.5rem 0.5rem 0;
  background: #141318;
  color: #f4ead5;
  line-height: 1.6;
}

ai-shield > .shield-label {
  margin: 0;
  color: #e7c779;
  font: 700 0.78rem/1.4 system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

ai-shield > details > summary {
  width: fit-content;
  color: #f0ce83;
  cursor: pointer;
  font: 600 0.9rem/1.5 system-ui, sans-serif;
}

ai-shield > details > summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Put the reading control below Solas's note in the shielded view. */
ai-shield > details {
  order: 1;
}

ai-shield > details:not([open]) .shield-close,
ai-shield > details[open] .shield-open,
ai-shield > details[open] + .shield-note {
  display: none;
}

ai-shield > .shield-note > :first-child {
  margin-block-start: 0;
}

ai-shield > .shield-note > :last-child {
  margin-block-end: 0;
}