/* AEO Free Audit — inherits the theme's fonts and colors; only adds structure. */
.aeo-audit { --aeo-ok: #15803d; --aeo-warn: #b45309; --aeo-bad: #b91c1c; --aeo-note: #475569; --aeo-line: rgba(127, 127, 127, .28); --aeo-accent: #5b21b6; max-width: 760px; }
.aeo-audit__intro { margin: 0 0 1rem; }
.aeo-audit-embed { box-sizing: border-box; max-width: calc(760px + 2rem); margin: 3rem auto; padding: 2rem 1rem 0; border-top: 1px solid rgba(127, 127, 127, .28); }
.aeo-audit-embed__title { margin: 0 0 .5rem; }
.aeo-audit__label { display: block; font-weight: 600; margin: 0 0 .35rem; }
.aeo-audit__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.aeo-audit__input { flex: 1 1 240px; min-width: 0; padding: .65rem .8rem; border: 1px solid var(--aeo-line); border-radius: 6px; font: inherit; background: transparent; color: inherit; }
.aeo-audit__button { display: inline-block; padding: .65rem 1.2rem; border: 0; border-radius: 6px; background: var(--aeo-accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.aeo-audit__button[hidden] { display: none; }
.aeo-audit__button:hover { filter: brightness(1.1); color: #fff; }
.aeo-audit__button[disabled] { opacity: .65; cursor: progress; }
.aeo-audit__button--ghost { background: transparent; color: inherit; border: 1px solid var(--aeo-line); margin: .25rem 0 1rem; }
.aeo-audit__button--ghost:hover { color: inherit; }
.aeo-audit__fine { font-size: .85em; opacity: .75; margin: .45rem 0 0; }

.aeo-audit__steps { list-style: none; margin: 1.25rem 0 0; padding: 0; font-size: .95em; }
.aeo-audit__step { padding: .2rem 0 .2rem 1.6rem; position: relative; }
.aeo-audit__step::before { content: "✓"; position: absolute; left: .2rem; color: var(--aeo-ok); font-weight: 700; }
.aeo-audit__step.is-failed::before { content: "✗"; color: var(--aeo-bad); }
.aeo-audit__step.is-current::before { content: ""; width: .7rem; height: .7rem; top: .45rem; border: 2px solid var(--aeo-line); border-top-color: var(--aeo-accent); border-radius: 50%; animation: aeo-spin .8s linear infinite; }
@keyframes aeo-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .aeo-audit__step.is-current::before { animation: none; } }

.aeo-audit__summary { margin: 1.5rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--aeo-line); }
.aeo-audit__title { margin: 0 0 .25rem; }
.aeo-audit__platform { margin: 0; font-weight: 600; }
.aeo-audit__notice, .aeo-audit__problem { margin: 1rem 0; padding: .9rem 1rem; border: 1px solid var(--aeo-line); border-left: 4px solid var(--aeo-warn); border-radius: 6px; }
.aeo-audit__problem p { margin: 0 0 .6rem; }
.aeo-audit__email { margin-top: .5rem; }
.aeo-audit__email-msg { margin: .5rem 0 0; font-weight: 600; }
.aeo-audit__actions { display: flex; flex-wrap: wrap; gap: 0 .5rem; margin: 0 0 .5rem; }
.aeo-audit__actions .aeo-audit__email { flex: 1 1 100%; margin: 0 0 1rem; }
.aeo-audit__print-frame { position: fixed; right: 0; bottom: 0; width: 0; height: 0; border: 0; }
.aeo-audit--print { max-width: none; font: 14px/1.5 system-ui, sans-serif; color: #111; }
.aeo-audit--print .aeo-audit__card, .aeo-audit--print .aeo-audit__passed { break-inside: avoid; }
.aeo-audit--print .aeo-audit__group-title { break-after: avoid; }
.aeo-audit--print .aeo-audit__button { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.aeo-audit--print .aeo-audit__cta a::after { content: " (" attr(href) ")"; font-weight: 400; }

.aeo-audit__group { margin: 1.5rem 0; }
.aeo-audit__group-title { margin: 0 0 .6rem; }
.aeo-audit__card { border: 1px solid var(--aeo-line); border-left: 4px solid var(--aeo-note); border-radius: 6px; padding: .8rem 1rem; margin: 0 0 .7rem; }
.aeo-audit__card.is-fail { border-left-color: var(--aeo-bad); }
.aeo-audit__card.is-warn { border-left-color: var(--aeo-warn); }
.aeo-audit__card-top { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.aeo-audit__badge { font-size: .75em; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--aeo-note); }
.is-fail .aeo-audit__badge { color: var(--aeo-bad); }
.is-warn .aeo-audit__badge { color: var(--aeo-warn); }
.aeo-audit__found { margin: .35rem 0 .5rem; overflow-wrap: anywhere; }
.aeo-audit__part { margin: .25rem 0; font-size: .95em; }
.aeo-audit__part-name { font-weight: 600; }
.aeo-audit__credit { margin: .45rem 0 0; font-size: .9em; opacity: .8; font-style: italic; }
.aeo-audit__passed summary { cursor: pointer; color: var(--aeo-ok); font-weight: 600; }
.aeo-audit__passed ul { margin: .5rem 0 0; padding-left: 1.2rem; font-size: .92em; overflow-wrap: anywhere; }
.aeo-audit__cta { margin: 1.75rem 0 .5rem; }
.aeo-audit__cta-note { margin: 0 0 .75rem; }
.aeo-audit__cta-secondary { display: inline-block; margin-left: 1rem; font-weight: 600; }

.aeo-audit__request-box { margin: 1rem 0; padding: .9rem 1rem; border: 1px dashed var(--aeo-line); border-radius: 6px; }
.aeo-audit__request-box .aeo-audit__button--ghost { margin: 0 0 .6rem; }
.aeo-audit__optin { display: block; margin: 0 0 .5rem; cursor: pointer; }
.aeo-audit__request-box .aeo-audit__input { width: 100%; max-width: 360px; }
