/* AEO Audit Tool v1.0.0. All rules are scoped to .aeo-tool so they don't clash with your theme. */

.aeo-tool {
  --aeo-gold: #F2C94C;          /* Soft Modern Gold */
  --aeo-gold-deep: #C9A227;     /* Deep Elegant Gold */
  --aeo-gold-tint: #FFF8E3;
  --aeo-gold-soft: #FBEFC6;
  --aeo-ink: #1C1A14;
  --aeo-ink-2: #514B3B;
  --aeo-ink-3: #7A7260;
  --aeo-night: #15130E;
  --aeo-surface: #FFFFFF;
  --aeo-line: #EDE4C8;
  --aeo-pass: #1D7F47;  --aeo-pass-bg: #E6F4EC;
  --aeo-warn: #B4570A;  --aeo-warn-bg: #FDF0E0;
  --aeo-fail: #BE3A31;  --aeo-fail-bg: #FBE9E7;
  --aeo-info: #56657A;  --aeo-info-bg: #EDF1F6;
  --aeo-shadow: 0 1px 2px rgba(28, 26, 20, .04), 0 10px 30px -14px rgba(28, 26, 20, .18);

  font-family: 'Google Sans Flex', 'Google Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--aeo-ink);
  text-align: left;
  max-width: 1080px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.aeo-tool *, .aeo-tool *::before, .aeo-tool *::after { box-sizing: border-box; }
.aeo-tool h2, .aeo-tool h3, .aeo-tool p, .aeo-tool ul, .aeo-tool ol, .aeo-tool li, .aeo-tool dl, .aeo-tool figure {
  margin: 0; padding: 0; font-family: inherit; letter-spacing: normal; text-transform: none;
}
.aeo-tool ul, .aeo-tool ol { list-style: none; }
.aeo-tool li::before, .aeo-tool li::marker { content: none; }
.aeo-tool svg { display: block; flex-shrink: 0; }
.aeo-tool a { color: inherit; }
.aeo-tool .aeo-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Hero ---------- */
.aeo-tool .aeo-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(28px, 6vw, 60px) clamp(20px, 6vw, 60px);
  color: #FFF8E6;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(242, 201, 76, .24) 0%, rgba(242, 201, 76, 0) 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(201, 162, 39, .14) 0%, rgba(201, 162, 39, 0) 60%),
    linear-gradient(160deg, #221E15 0%, var(--aeo-night) 100%);
  box-shadow: 0 24px 60px -30px rgba(21, 19, 14, .55);
}
.aeo-tool .aeo-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  border: 1px solid rgba(242, 201, 76, .22);
}
.aeo-tool .aeo-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--aeo-gold);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(242, 201, 76, .1); border: 1px solid rgba(242, 201, 76, .3);
}
.aeo-tool .aeo-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aeo-gold);
  box-shadow: 0 0 0 4px rgba(242, 201, 76, .2);
}
.aeo-tool .aeo-title {
  margin: 18px 0 12px;
  font-size: clamp(30px, 5.4vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #FFF8E6;
  background: linear-gradient(100deg, #FFF8E6 30%, var(--aeo-gold) 75%, var(--aeo-gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  border: 0;
}
.aeo-tool .aeo-subtitle {
  max-width: 640px;
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(255, 248, 230, .74);
}
.aeo-tool .aeo-form {
  display: flex; gap: 8px; align-items: stretch;
  margin-top: 28px; max-width: 760px; padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(242, 201, 76, .32);
  transition: border-color .2s, box-shadow .2s;
}
.aeo-tool .aeo-form:focus-within {
  border-color: var(--aeo-gold);
  box-shadow: 0 0 0 4px rgba(242, 201, 76, .18);
}
.aeo-tool .aeo-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 12px; }
.aeo-tool .aeo-field-icon { width: 20px; height: 20px; color: var(--aeo-gold); opacity: .9; }
.aeo-tool input.aeo-input {
  -webkit-appearance: none; appearance: none;
  width: 100%; min-width: 0; height: 52px; margin: 0; padding: 0;
  border: 0; border-radius: 0; outline: 0; box-shadow: none; background: transparent;
  font: inherit; font-size: 17px; color: #FFF8E6; line-height: 52px;
}
.aeo-tool input.aeo-input::placeholder { color: rgba(255, 248, 230, .42); opacity: 1; }
.aeo-tool .aeo-hint { margin-top: 14px; font-size: 14px; color: rgba(255, 248, 230, .58); }
.aeo-tool .aeo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.aeo-tool .aeo-chips li {
  font-size: 13px; font-weight: 500; color: rgba(255, 248, 230, .82);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 248, 230, .12);
}

/* ---------- Buttons ---------- */
.aeo-tool .aeo-btn {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; margin: 0; padding: 0 18px;
  border: 1px solid transparent; border-radius: 12px;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: none;
  transition: background .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
}
.aeo-tool .aeo-btn svg { width: 18px; height: 18px; }
.aeo-tool .aeo-btn:active { transform: translateY(1px); }
.aeo-tool .aeo-btn:focus-visible { outline: 3px solid var(--aeo-gold); outline-offset: 2px; }
.aeo-tool .aeo-btn-primary {
  min-height: 52px; padding: 0 26px; font-size: 16px;
  color: var(--aeo-ink);
  background: linear-gradient(135deg, var(--aeo-gold) 0%, var(--aeo-gold-deep) 100%);
  box-shadow: 0 8px 22px -8px rgba(242, 201, 76, .6), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.aeo-tool .aeo-btn-primary:hover { background: linear-gradient(135deg, #F6D56A 0%, var(--aeo-gold) 100%); color: var(--aeo-ink); }
.aeo-tool .aeo-btn-primary:disabled { cursor: progress; opacity: .75; }
.aeo-tool.is-busy .aeo-btn-primary span::after { content: "…"; }
.aeo-tool .aeo-btn-ghost {
  color: var(--aeo-ink); background: var(--aeo-surface); border-color: var(--aeo-line);
}
.aeo-tool .aeo-btn-ghost:hover { border-color: var(--aeo-gold-deep); background: var(--aeo-gold-tint); color: var(--aeo-ink); }
.aeo-tool .aeo-btn-dark { color: #FFF8E6; background: var(--aeo-night); min-height: 50px; padding: 0 24px; }
.aeo-tool .aeo-btn-dark:hover { background: #2A251A; color: var(--aeo-gold); }

/* ---------- Output shell ---------- */
.aeo-tool .aeo-output:empty { display: none; }
.aeo-tool .aeo-output { margin-top: 24px; scroll-margin-top: 90px; }
.aeo-tool .aeo-results { display: grid; gap: 20px; animation: aeo-rise .5s ease both; }
.aeo-tool .aeo-card {
  background: var(--aeo-surface);
  border: 1px solid var(--aeo-line);
  border-radius: 22px;
  padding: clamp(20px, 3.6vw, 32px);
  box-shadow: var(--aeo-shadow);
}
.aeo-tool .aeo-h3 { font-size: clamp(19px, 2.4vw, 22px); line-height: 1.25; font-weight: 700; color: var(--aeo-ink); letter-spacing: -.01em; }
.aeo-tool .aeo-muted { color: var(--aeo-ink-3); font-size: 15px; }
.aeo-tool .aeo-sec-head { display: grid; gap: 4px; margin-bottom: 20px; }

/* ---------- Loading ---------- */
.aeo-tool .aeo-loading-head { display: flex; align-items: center; gap: 16px; }
.aeo-tool .aeo-loading-title { font-weight: 700; font-size: 18px; }
.aeo-tool .aeo-loading-url { color: var(--aeo-ink-3); font-size: 14px; word-break: break-all; }
.aeo-tool .aeo-spinner {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  border: 4px solid var(--aeo-gold-soft); border-top-color: var(--aeo-gold-deep);
  animation: aeo-spin .8s linear infinite;
}
.aeo-tool .aeo-steps { display: grid; gap: 12px; margin: 22px 0 14px; }
.aeo-tool .aeo-steps li { display: flex; align-items: center; gap: 12px; color: var(--aeo-ink-3); font-size: 15px; transition: color .2s; }
.aeo-tool .aeo-step-dot {
  position: relative; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  border: 2px solid var(--aeo-line); background: var(--aeo-surface); transition: all .25s;
}
.aeo-tool .aeo-steps li.is-active { color: var(--aeo-ink); font-weight: 500; }
.aeo-tool .aeo-steps li.is-active .aeo-step-dot { border-color: var(--aeo-gold-deep); animation: aeo-pulse 1.2s ease-in-out infinite; }
.aeo-tool .aeo-steps li.is-done { color: var(--aeo-ink-2); }
.aeo-tool .aeo-steps li.is-done .aeo-step-dot { border-color: var(--aeo-gold-deep); background: var(--aeo-gold); }
.aeo-tool .aeo-steps li.is-done .aeo-step-dot::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px;
  border: solid var(--aeo-ink); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.aeo-tool .aeo-loading-note { font-size: 13px; }

/* ---------- Error / notice ---------- */
.aeo-tool .aeo-error { display: flex; gap: 14px; align-items: flex-start; background: var(--aeo-fail-bg); border-color: #F2C9C3; color: #5E1F19; }
.aeo-tool .aeo-error > svg { width: 28px; height: 28px; padding: 4px; border-radius: 50%; background: var(--aeo-fail); color: #fff; }
.aeo-tool .aeo-error-title { font-weight: 700; margin-bottom: 2px; color: var(--aeo-fail); }
.aeo-tool .aeo-notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: 16px;
  background: var(--aeo-warn-bg); border: 1px solid #F3D3AC; color: #5A3207; font-size: 15px;
}
.aeo-tool .aeo-notice > svg { width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--aeo-warn); color: #fff; }

/* ---------- Summary ---------- */
.aeo-tool .aeo-summary {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 40px); align-items: center;
  background: linear-gradient(135deg, #FFFDF6 0%, var(--aeo-surface) 55%);
}
.aeo-tool .aeo-gauge { position: relative; width: 180px; height: 180px; }
.aeo-tool .aeo-gauge svg { width: 100%; height: 100%; }
.aeo-tool .aeo-gauge-track { fill: none; stroke: var(--aeo-gold-tint); stroke-width: 11; }
.aeo-tool .aeo-gauge-bar { fill: none; stroke-width: 11; stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1); }
.aeo-tool .aeo-gauge-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.aeo-tool .aeo-gauge-num { font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--aeo-ink); font-variant-numeric: tabular-nums; }
.aeo-tool .aeo-gauge-of { margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--aeo-ink-3); }
.aeo-tool .aeo-summary-body { min-width: 0; display: grid; gap: 8px; justify-items: start; }
.aeo-tool .aeo-grade {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.aeo-tool .aeo-grade-excellent { background: var(--aeo-pass-bg); color: var(--aeo-pass); }
.aeo-tool .aeo-grade-good { background: var(--aeo-gold-soft); color: #7A5E07; }
.aeo-tool .aeo-grade-fair { background: var(--aeo-warn-bg); color: var(--aeo-warn); }
.aeo-tool .aeo-grade-poor { background: var(--aeo-fail-bg); color: var(--aeo-fail); }
.aeo-tool .aeo-summary-title { font-size: clamp(22px, 3vw, 28px); }
.aeo-tool .aeo-summary-page { color: var(--aeo-ink-2); font-weight: 500; }
.aeo-tool .aeo-summary-url {
  max-width: 100%; font-size: 14px; color: #8A6D0F; text-decoration: none; word-break: break-all;
  border-bottom: 1px solid rgba(201, 162, 39, .4);
}
.aeo-tool .aeo-summary-url:hover { color: var(--aeo-ink); border-color: var(--aeo-gold-deep); }
.aeo-tool .aeo-tally { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px; font-size: 14px; color: var(--aeo-ink-2); }
.aeo-tool .aeo-tally-item { display: inline-flex; align-items: center; gap: 6px; }
.aeo-tool .aeo-tally-item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.aeo-tool .aeo-t-pass::before { background: var(--aeo-pass); }
.aeo-tool .aeo-t-warn::before { background: var(--aeo-warn); }
.aeo-tool .aeo-t-fail::before { background: var(--aeo-fail); }
.aeo-tool .aeo-tally b { color: var(--aeo-ink); }
.aeo-tool .aeo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ---------- Category cards ---------- */
.aeo-tool .aeo-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.aeo-tool .aeo-cat { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.aeo-tool .aeo-cat-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.aeo-tool .aeo-cat-label { font-weight: 600; font-size: 15px; line-height: 1.3; }
.aeo-tool .aeo-cat-band { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.aeo-tool .aeo-cat-band.aeo-c-pass { background: var(--aeo-pass-bg); }
.aeo-tool .aeo-cat-band.aeo-c-warn { background: var(--aeo-warn-bg); }
.aeo-tool .aeo-cat-band.aeo-c-fail { background: var(--aeo-fail-bg); }
.aeo-tool .aeo-cat-score { font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.aeo-tool .aeo-cat-score small { font-size: 15px; font-weight: 500; color: var(--aeo-ink-3); margin-left: 2px; }
.aeo-tool .aeo-bar { height: 8px; border-radius: 999px; background: var(--aeo-gold-tint); overflow: hidden; }
.aeo-tool .aeo-bar span {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--aeo-gold) 0%, var(--aeo-gold-deep) 100%);
  transition: width 1.1s cubic-bezier(.2, .8, .2, 1);
}
.aeo-tool .aeo-cat-blurb { font-size: 13.5px; color: var(--aeo-ink-3); line-height: 1.45; flex: 1; }
.aeo-tool .aeo-cat-counts { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; font-weight: 600; }
.aeo-tool .aeo-c-pass { color: var(--aeo-pass); }
.aeo-tool .aeo-c-warn { color: var(--aeo-warn); }
.aeo-tool .aeo-c-fail { color: var(--aeo-fail); }

/* ---------- Pills ---------- */
.aeo-tool .aeo-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  padding: 3px 10px 3px 6px; border-radius: 999px;
}
.aeo-tool .aeo-pill svg { width: 16px; height: 16px; }
.aeo-tool .aeo-pill-pass { background: var(--aeo-pass-bg); color: var(--aeo-pass); }
.aeo-tool .aeo-pill-warn { background: var(--aeo-warn-bg); color: var(--aeo-warn); }
.aeo-tool .aeo-pill-fail { background: var(--aeo-fail-bg); color: var(--aeo-fail); }
.aeo-tool .aeo-pill-info { background: var(--aeo-info-bg); color: var(--aeo-info); }

/* ---------- Priorities ---------- */
.aeo-tool .aeo-priorities { display: grid; gap: 12px; }
.aeo-tool .aeo-prio {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; border-radius: 16px;
  background: var(--aeo-gold-tint); border: 1px solid var(--aeo-gold-soft);
}
.aeo-tool .aeo-prio-num {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: var(--aeo-ink);
  background: linear-gradient(135deg, var(--aeo-gold), var(--aeo-gold-deep));
}
.aeo-tool .aeo-prio-body { min-width: 0; display: grid; gap: 6px; justify-items: start; }
.aeo-tool .aeo-prio-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.aeo-tool .aeo-prio-top strong { font-size: 16px; }
.aeo-tool .aeo-prio-fix { color: var(--aeo-ink-2); font-size: 15px; }
.aeo-tool .aeo-tag { font-size: 12px; font-weight: 600; color: #7A5E07; background: var(--aeo-gold-soft); padding: 2px 8px; border-radius: 6px; }

/* ---------- Bots ---------- */
.aeo-tool .aeo-bots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 0 28px; }
.aeo-tool .aeo-bot { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #F3ECD7; }
.aeo-tool .aeo-bot-name { flex: 1; min-width: 0; display: grid; }
.aeo-tool .aeo-bot-name strong { font-size: 15px; font-weight: 600; }
.aeo-tool .aeo-bot-name span { font-size: 13px; color: var(--aeo-ink-3); }
.aeo-tool .aeo-bot-type { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--aeo-ink-3); white-space: nowrap; }
.aeo-tool .aeo-bt-answer { color: #8A6D0F; }
.aeo-tool .aeo-footnote { margin-top: 16px; font-size: 13.5px; color: var(--aeo-ink-3); }

/* ---------- Detailed checks ---------- */
.aeo-tool .aeo-group { border: 1px solid var(--aeo-line); border-radius: 16px; overflow: hidden; }
.aeo-tool .aeo-group + .aeo-group { margin-top: 12px; }
.aeo-tool .aeo-group > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; background: #FFFCF3;
  font-weight: 600; font-size: 16px;
}
.aeo-tool .aeo-group > summary::-webkit-details-marker { display: none; }
.aeo-tool .aeo-group > summary:hover { background: var(--aeo-gold-tint); }
.aeo-tool .aeo-group > summary:focus-visible { outline: 3px solid var(--aeo-gold); outline-offset: -3px; }
.aeo-tool .aeo-group-name { flex: 1; }
.aeo-tool .aeo-group-score { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.aeo-tool .aeo-chev { width: 20px; height: 20px; color: var(--aeo-ink-3); transition: transform .2s; }
.aeo-tool .aeo-group[open] .aeo-chev { transform: rotate(180deg); }
.aeo-tool .aeo-checks { border-top: 1px solid var(--aeo-line); }
.aeo-tool .aeo-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; }
.aeo-tool .aeo-check + .aeo-check { border-top: 1px solid #F5EFDD; }
.aeo-tool .aeo-check-icon { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.aeo-tool .aeo-check-icon svg { width: 18px; height: 18px; }
.aeo-tool .aeo-check-pass .aeo-check-icon { background: var(--aeo-pass-bg); color: var(--aeo-pass); }
.aeo-tool .aeo-check-warn .aeo-check-icon { background: var(--aeo-warn-bg); color: var(--aeo-warn); }
.aeo-tool .aeo-check-fail .aeo-check-icon { background: var(--aeo-fail-bg); color: var(--aeo-fail); }
.aeo-tool .aeo-check-info .aeo-check-icon { background: var(--aeo-info-bg); color: var(--aeo-info); }
.aeo-tool .aeo-check-body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.aeo-tool .aeo-check-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.aeo-tool .aeo-check-top strong { font-size: 15.5px; font-weight: 600; }
.aeo-tool .aeo-check-status { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.aeo-tool .aeo-check-pass .aeo-check-status { color: var(--aeo-pass); }
.aeo-tool .aeo-check-warn .aeo-check-status { color: var(--aeo-warn); }
.aeo-tool .aeo-check-fail .aeo-check-status { color: var(--aeo-fail); }
.aeo-tool .aeo-check-detail { font-size: 14.5px; color: var(--aeo-ink-2); overflow-wrap: anywhere; }
.aeo-tool .aeo-check-fix {
  margin-top: 4px; font-size: 14.5px; color: var(--aeo-ink-2);
  padding: 10px 12px; border-radius: 10px;
  background: var(--aeo-gold-tint); border-left: 3px solid var(--aeo-gold-deep);
}
.aeo-tool .aeo-check-fix b { color: var(--aeo-ink); }

/* ---------- CTA ---------- */
.aeo-tool .aeo-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(22px, 4vw, 34px); border-radius: 22px;
  color: var(--aeo-ink);
  background: linear-gradient(120deg, var(--aeo-gold) 0%, var(--aeo-gold-deep) 100%);
  box-shadow: 0 18px 40px -20px rgba(201, 162, 39, .7);
}
.aeo-tool .aeo-cta p { margin-top: 6px; color: #3B3112; }
.aeo-tool .aeo-cta .aeo-h3 { color: var(--aeo-ink); }

.aeo-tool .aeo-disclaimer { font-size: 12.5px; color: var(--aeo-ink-3); text-align: center; padding: 0 8px; }

/* ---------- Animations ---------- */
@keyframes aeo-spin { to { transform: rotate(360deg); } }
@keyframes aeo-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 201, 76, .55); } 50% { box-shadow: 0 0 0 6px rgba(242, 201, 76, 0); } }
@keyframes aeo-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .aeo-tool *, .aeo-tool *::before, .aeo-tool *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .aeo-tool .aeo-summary { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .aeo-tool .aeo-summary-body { justify-items: center; }
  .aeo-tool .aeo-tally, .aeo-tool .aeo-actions { justify-content: center; }
  .aeo-tool .aeo-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .aeo-tool .aeo-hero { border-radius: 22px; }
  .aeo-tool .aeo-form { flex-direction: column; padding: 8px; }
  .aeo-tool .aeo-field { padding: 0 6px 0 8px; }
  .aeo-tool .aeo-btn-primary { width: 100%; }
  .aeo-tool .aeo-gauge { width: 160px; height: 160px; }
  .aeo-tool .aeo-gauge-num { font-size: 46px; }
  .aeo-tool .aeo-cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .aeo-tool .aeo-cat { padding: 16px; }
  .aeo-tool .aeo-cat-score { font-size: 32px; }
  .aeo-tool .aeo-cat-blurb { display: none; }
  .aeo-tool .aeo-actions .aeo-btn { flex: 1 1 auto; }
  .aeo-tool .aeo-bot { flex-wrap: wrap; }
  .aeo-tool .aeo-bot-type { order: 3; width: 100%; margin-top: -4px; }
  .aeo-tool .aeo-check { padding: 14px; }
  .aeo-tool .aeo-check-top { flex-direction: column; gap: 2px; }
  .aeo-tool .aeo-prio { padding: 14px; gap: 12px; }
  .aeo-tool .aeo-cta .aeo-btn { width: 100%; }
}
@media (max-width: 380px) {
  .aeo-tool .aeo-cats { grid-template-columns: 1fr; }
}

/* ---------- Print / Save as PDF ---------- */
@media print {
  body.aeo-printing * { visibility: hidden !important; }
  body.aeo-printing .aeo-print-target, body.aeo-printing .aeo-print-target * { visibility: visible !important; }
  body.aeo-printing .aeo-print-target { position: absolute; left: 0; top: 0; width: 100%; max-width: none; }
  .aeo-tool .aeo-form, .aeo-tool .aeo-chips, .aeo-tool .aeo-hint, .aeo-tool .aeo-actions, .aeo-tool .aeo-cta, .aeo-tool .aeo-chev { display: none !important; }
  .aeo-tool .aeo-hero { padding: 24px; box-shadow: none; }
  .aeo-tool .aeo-card, .aeo-tool .aeo-hero { box-shadow: none; break-inside: avoid; }
  .aeo-tool .aeo-check, .aeo-tool .aeo-prio, .aeo-tool .aeo-bot { break-inside: avoid; }
  .aeo-tool * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
