/* AI consent sheet (static/ai-consent.js, templates _ai_consent_body.html). Tokens from brand.css; targets 44px, text >= 16px. */
dialog.ai-consent-dialog { box-sizing: border-box; width: min(34rem, 100vw - 24px); max-height: 92vh; max-height: 92dvh; overflow-y: auto; padding: 1.1rem 1.25rem;
  color: var(--text, inherit); background: var(--surface, #fff); border: 1px solid var(--line-strong, var(--line, #8a8475)); border-radius: 16px; }
dialog.ai-consent-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.ai-consent h1, .ai-consent h2 { margin-top: 0; }
.ai-consent h3 { margin: 1rem 0 .25rem; font-size: 1rem; }
.ai-consent p { margin: .25rem 0 .5rem; }
.ai-consent .actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.ai-consent .actions .btn { min-height: 44px; flex: 1 1 10rem; }
.ai-consent [data-ai-consent-msg][hidden] { display: none; }

/* "Report a problem with this content" (templates _report_content.html, static/report.js) */
.report-content { margin: 1rem 0; font-size: 1rem; }
.report-content > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.report-content fieldset { border: 0; padding: 0; margin: 0 0 .5rem; }
.report-content legend { font-weight: 600; padding: 0; }
.report-content label { display: block; margin: .25rem 0; min-height: 32px; }
.report-content textarea { width: 100%; box-sizing: border-box; }
