/* Shared by the /ai-visibility/ widget and /report/<id> pages. */
.aic-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: #2563eb; text-transform: uppercase; }
.aic-serif { font-family: Georgia, "Times New Roman", serif; color: #0f172a; font-weight: 700; }
.aic-foot { font-size: .78rem; color: #64748b; margin-top: .75rem; }

/* Header row: score ring, verdict text, screenshot thumbnail. */
.aic-header { display: flex; align-items: flex-start; gap: 1.1rem; flex-wrap: wrap; }
.aic-ringwrap { flex: 0 0 auto; }
.aic-ring { display: block; }
.aic-headtext { flex: 1 1 240px; min-width: 0; }
.aic-verdict { font-size: 1.35rem; margin: .2rem 0 .3rem; line-height: 1.25; overflow-wrap: anywhere; }
.aic-url { color: #64748b; margin: 0; overflow-wrap: anywhere; }
.aic-checked { color: #94a3b8; font-size: .82rem; margin: .15rem 0 0; }
.aic-shotwrap { flex: 0 0 auto; margin-left: auto; }
.aic-shot { display: block; width: 140px; height: 105px; object-fit: cover; border-radius: 8px; border: 1px solid #e2e8f0; background: #f8fafc; }
@media (max-width: 520px) {
  .aic-header { flex-direction: column; }
  .aic-shotwrap { margin-left: 0; }
  .aic-shot { width: 100%; height: auto; max-height: 160px; }
}

.aic-explain { color: #475569; font-size: .92rem; margin: 1rem 0; }
.aic-note { background: #fffbeb; border-left: 4px solid #f59e0b; border-radius: 6px; padding: .75rem 1rem; color: #422006; }
.aic-note strong { color: #0f172a; }

/* Fix these first */
.aic-fix { margin-top: 1.25rem; }
.aic-fix h3 { font-size: 1.1rem; margin: 0 0 .2rem; }
.aic-fix-sub { color: #64748b; font-size: .85rem; margin: 0 0 .7rem; }
.aic-fixcards { display: grid; gap: .6rem; }
.aic-fixcard { display: flex; align-items: flex-start; gap: .6rem; border: 1px solid #e2e8f0; border-left: 4px solid #dc2626; border-radius: 8px; padding: .7rem .9rem; background: #fff; }
.aic-x { color: #dc2626; font-weight: 700; flex: 0 0 auto; }
.aic-fixbody { flex: 1 1 auto; min-width: 0; }
.aic-fixbody h4 { margin: 0 0 .15rem; font-size: .95rem; color: #0f172a; }
.aic-fixbody p { margin: 0; font-size: .88rem; color: #334155; }
.aic-impact { font-size: .68rem; font-weight: 700; letter-spacing: .05em; white-space: nowrap; flex: 0 0 auto; align-self: center; }
.aic-impact-high { color: #dc2626; } .aic-impact-medium { color: #ea580c; } .aic-impact-low { color: #94a3b8; }

/* Passed, folded away */
.aic-passed { margin-top: 1rem; border: 1px solid #e2e8f0; border-radius: 8px; padding: .6rem .9rem; background: #fff; }
.aic-passed summary { cursor: pointer; font-weight: 600; color: #0f172a; }
.aic-passed-list { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .8rem; color: #334155; font-size: .88rem; }
@media (max-width: 480px) { .aic-passed-list { grid-template-columns: 1fr; } }

/* Widget-only preview of the emailed report */
.aic-preview { margin-top: 1.5rem; border-top: 1px solid #e2e8f0; padding-top: 1.25rem; }
.aic-preview h3 { font-size: 1.2rem; margin: 0 0 .3rem; }
.aic-preview-sub { color: #64748b; font-size: .9rem; margin: 0 0 .7rem; }
.aic-preview-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; color: #334155; font-size: .92rem; }
.aic-form { display: grid; gap: .6rem; margin-top: .75rem; }
.aic-form input { width: 100%; padding: .65rem .75rem; border: 1px solid #cbd5e1; border-radius: 6px; font: inherit; color: #0f172a; }
.aic-audience { border: 1px solid #cbd5e1; border-radius: 6px; padding: .55rem .75rem; display: grid; gap: .35rem; }
.aic-audience legend { font-size: .8rem; color: #64748b; padding: 0 .25rem; }
.aic-audience label { display: flex; align-items: center; gap: .45rem; font-size: .92rem; color: #0f172a; }
.aic-audience input { width: auto; padding: 0; border: 0; }
.aic-form button { background: #2563eb; color: #fff; border: 0; border-radius: 6px; padding: .75rem 1rem; font: inherit; font-weight: 600; cursor: pointer; }
.aic-form button:hover { background: #1d4ed8; }
.aic-form button[disabled] { opacity: .6; cursor: wait; }
.aic-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.aic-error { color: #b91c1c; font-size: .9rem; margin: 0; }
.aic-progress { color: #64748b; font-size: .92rem; margin-top: 1rem; }
.aic-offer { margin-top: 1.5rem; border-top: 1px solid #e2e8f0; padding-top: 1.25rem; }
.aic-offer h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.aic-offer p { font-size: .92rem; }
.aic-fine { font-size: .78rem; color: #64748b; margin: 0; }
.aic-thanks { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 1rem; color: #166534; }
