.ae-page { background: #f7fafb; }
.ae-hero h1 { max-width: 900px; font-size: clamp(42px, 5.6vw, 72px); }
.ae-tool-section { padding: clamp(64px, 8vw, 104px) 0; scroll-margin-top: 88px; }
.ae-shell { display: grid; gap: 34px; }
.ae-intro { max-width: 820px; }
.ae-intro h2 { margin: 0; color: var(--sp-navy-900); font-size: clamp(34px, 4.5vw, 54px); line-height: 1.06; letter-spacing: -.03em; }
.ae-intro > p:last-child { margin: 18px 0 0; color: var(--sp-muted); font-size: 17px; }
.ae-app { overflow: hidden; background: #fff; border: 1px solid var(--sp-border); border-radius: 12px; box-shadow: var(--sp-shadow); }
.ae-controls[hidden], [data-questionnaire][hidden], [data-results][hidden] { display: none !important; }
.ae-progress-wrap { padding: 22px clamp(20px, 3vw, 34px); color: #fff; background: var(--sp-navy-900); }
.ae-progress-copy { display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 13px; }
.ae-progress-copy span { color: rgba(255,255,255,.72); text-align: right; }
.ae-progress { height: 7px; margin-top: 13px; overflow: hidden; background: rgba(255,255,255,.18); border-radius: 999px; }
.ae-progress span { display: block; width: 0; height: 100%; background: #fb923c; border-radius: inherit; transition: width .25s ease; }
.ae-layout { display: grid; grid-template-columns: 210px minmax(0,1fr) 300px; min-height: 640px; }
.ae-axis-nav { padding: 26px 16px; background: #f3f7f8; border-right: 1px solid var(--sp-border); }
.ae-axis-button { width: 100%; padding: 14px 10px; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; color: #496474; background: transparent; border: 0; border-bottom: 1px solid var(--sp-border); font: inherit; text-align: left; cursor: pointer; }
.ae-axis-button:first-child { border-top: 1px solid var(--sp-border); }
.ae-axis-button[aria-current="step"] { color: var(--sp-navy-900); background: #e4f3f3; box-shadow: inset 3px 0 var(--sp-teal-700); }
.ae-axis-button:disabled { cursor: not-allowed; opacity: .58; }
.ae-axis-number { width: 24px; height: 24px; display: grid; place-items: center; color: #fff; background: var(--sp-navy-900); border-radius: 50%; font-size: 11px; font-weight: 900; }
.ae-axis-label { font-size: 13px; font-weight: 850; line-height: 1.3; }
.ae-axis-count { grid-column: 2; margin-top: -5px; font-size: 11px; font-weight: 750; }
.ae-workspace { min-width: 0; padding: clamp(24px, 4vw, 44px); }
.ae-step-head { margin-bottom: 30px; }
.ae-step-head p { margin: 0 0 8px; color: var(--sp-teal-700); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.ae-step-head h2 { margin: 0; color: var(--sp-navy-900); font-size: clamp(28px, 3vw, 38px); line-height: 1.08; }
.ae-step-head > span { display: block; margin-top: 12px; color: var(--sp-muted); font-size: 14px; }
.ae-question-list { display: grid; gap: 24px; }
.ae-question { margin: 0; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--sp-border); }
.ae-question legend { width: 100%; padding: 0; color: var(--sp-ink); font-size: 16px; font-weight: 800; line-height: 1.5; }
.ae-question-number { color: var(--sp-orange-600); }
.ae-scale { margin-top: 15px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }
.ae-choice { position: relative; }
.ae-choice input { position: absolute; opacity: 0; pointer-events: none; }
.ae-choice span { min-height: 48px; padding: 7px 4px; display: grid; place-items: center; color: #496474; background: #f4f8f9; border: 1px solid var(--sp-border); border-radius: 5px; font-size: 11px; font-weight: 850; text-align: center; cursor: pointer; line-height: 1.2; }
.ae-choice input:focus-visible + span { outline: 3px solid rgba(6,107,117,.28); outline-offset: 2px; }
.ae-choice input:checked + span { color: #fff; background: var(--sp-teal-700); border-color: var(--sp-teal-700); }
.ae-choice:last-child input:checked + span { background: #566e7e; border-color: #566e7e; }
.ae-controls { margin-top: 32px; display: flex; justify-content: space-between; gap: 12px; }
.ae-button { min-height: 48px; padding: 12px 18px; border-radius: 6px; font: inherit; font-size: 14px; font-weight: 900; cursor: pointer; }
.ae-button:disabled { cursor: not-allowed; opacity: .5; }
.ae-button-primary { color: #fff; background: var(--sp-orange-600); border: 1px solid var(--sp-orange-600); }
.ae-button-primary:hover, .ae-button-primary:focus-visible { background: #a94003; }
.ae-button-secondary { color: var(--sp-navy-900); background: #fff; border: 1px solid var(--sp-border); }
.ae-radar-card { padding: 30px 22px; background: #fbfdfd; border-left: 1px solid var(--sp-border); }
.ae-card-kicker { margin: 0; color: var(--sp-teal-700); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.ae-radar { width: 100%; height: auto; display: block; margin: 12px auto 4px; overflow: visible; }
.ae-radar-profile { fill: rgba(6,107,117,.2); stroke: var(--sp-teal-700); stroke-width: 3; stroke-linejoin: round; }
.ae-radar-grid-label { fill: #6d8490; font-size: 8px; font-weight: 750; }
.ae-radar-axis-dot { fill: var(--sp-navy-900); }
.ae-radar-axis-number { fill: #fff; font-size: 10px; font-weight: 900; text-anchor: middle; }
.ae-radar-point { fill: #fff; stroke: var(--sp-teal-700); stroke-width: 2.5; }
.ae-radar-point-priority { fill: var(--sp-orange-600); stroke: #fff; stroke-width: 2; }
.ae-radar-scale { margin-top: 2px; display: flex; justify-content: space-between; gap: 10px; color: var(--sp-muted); font-size: 10px; font-weight: 750; }
.ae-radar-scale span { display: inline-flex; gap: 5px; align-items: center; }
.ae-radar-scale i { width: 9px; height: 9px; display: inline-block; border-radius: 50%; }
.ae-radar-scale-center { background: #dce6e9; }
.ae-radar-scale-edge { background: var(--sp-teal-700); }
.ae-radar-reading { margin: 14px 0 18px; padding: 12px; color: var(--sp-muted); background: #edf6f6; border-left: 3px solid var(--sp-orange-600); font-size: 12px; line-height: 1.45; }
.ae-radar-reading strong, .ae-radar-reading span { display: block; }
.ae-radar-reading strong { color: var(--sp-navy-900); }
.ae-radar-reading span { margin-top: 3px; }
.ae-live-scores { display: grid; gap: 11px; }
.ae-score-row { display: grid; grid-template-columns: 1fr auto; gap: 7px 8px; align-items: center; padding: 7px 0; font-size: 12px; }
.ae-score-row strong { display: grid; grid-template-columns: 20px 1fr; gap: 7px; align-items: start; color: var(--sp-ink); line-height: 1.25; }
.ae-score-index { width: 20px; height: 20px; display: grid; place-items: center; color: #fff; background: var(--sp-navy-900); border-radius: 50%; font-size: 10px; }
.ae-score-row > span { display: grid; justify-items: end; color: var(--sp-navy-900); font-weight: 900; }
.ae-score-row > span em { color: var(--sp-muted); font-size: 9px; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.ae-score-row.is-priority { margin-inline: -8px; padding-inline: 8px; background: #fff4eb; }
.ae-score-row.is-priority .ae-score-index { background: var(--sp-orange-600); }
.ae-score-row.is-priority > span em { color: #a94003; }
.ae-score-line { grid-column: 1 / -1; height: 4px; overflow: hidden; background: #dce6e9; }
.ae-score-line i { display: block; height: 100%; background: var(--sp-teal-700); }
.ae-score-row.is-priority .ae-score-line i { background: var(--sp-orange-600); }
.ae-form-error, .ae-alert { margin: 18px 0 0; padding: 12px 14px; color: #8f1d33; background: #fff1f3; border-left: 4px solid #be3150; font-size: 14px; font-weight: 750; }
.ae-result-hero { padding: 26px; color: #fff; background: var(--sp-navy-900); border-radius: 8px; }
.ae-result-hero p { margin: 0; color: #fb923c; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ae-result-hero h2 { margin: 8px 0 0; color: #fff; font-size: clamp(28px,4vw,42px); line-height: 1.08; }
.ae-result-hero span { display: block; margin-top: 12px; color: rgba(255,255,255,.78); }
.ae-result-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ae-result-card { padding: 20px; border: 1px solid var(--sp-border); border-radius: 7px; }
.ae-result-card h3 { margin: 0; color: var(--sp-navy-900); font-size: 18px; }
.ae-result-card p { margin: 9px 0 0; color: var(--sp-muted); font-size: 14px; }
.ae-result-card strong { display: block; margin-top: 16px; color: var(--sp-teal-700); font-size: 28px; }
.ae-improvement-panel { margin-top: 24px; padding: 22px; background: #f3f7f8; border-left: 4px solid var(--sp-orange-600); }
.ae-improvement-head p { margin: 0 0 5px; color: var(--sp-orange-600); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.ae-improvement-head h3 { margin: 0; color: var(--sp-navy-900); font-size: 22px; line-height: 1.2; }
.ae-improvement-intro { margin: 10px 0 0; color: var(--sp-muted); font-size: 14px; line-height: 1.55; }
.ae-improvement-list { margin: 18px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.ae-improvement-list li { padding: 12px; display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: start; background: #fff; border: 1px solid var(--sp-border); }
.ae-improvement-level { padding: 5px 7px; color: #fff; background: var(--sp-orange-600); font-size: 10px; font-weight: 900; text-align: center; text-transform: uppercase; letter-spacing: .04em; }
.ae-improvement-level-1 { color: #713604; background: #fed7aa; }
.ae-improvement-level-2 { color: #415866; background: #dce6e9; }
.ae-improvement-list strong { display: block; color: var(--sp-ink); font-size: 14px; line-height: 1.4; }
.ae-improvement-list small { display: block; margin-top: 4px; color: var(--sp-muted); font-size: 11px; font-weight: 750; }
.ae-improvement-empty { margin: 16px 0 0; color: var(--sp-muted); }
.ae-result-note { margin: 24px 0 0; color: var(--sp-muted); font-size: 14px; line-height: 1.7; }
.ae-result-note strong { color: var(--sp-navy-900); }
.ae-result-cta { margin-top: 22px; display: inline-flex; }
.ae-share-panel { margin-top: 24px; padding: 22px; display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; background: #edf6f6; border: 1px solid #cfe2e4; border-radius: 8px; }
.ae-share-panel > div:first-child > p { margin: 0 0 5px; color: var(--sp-teal-700); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.ae-share-panel h3 { margin: 0; color: var(--sp-navy-900); font-size: 21px; line-height: 1.2; }
.ae-share-panel > div:first-child > span { display: block; max-width: 620px; margin-top: 8px; color: var(--sp-muted); font-size: 13px; line-height: 1.55; }
.ae-share-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
.ae-share-feedback { grid-column: 1 / -1; min-height: 20px; margin: 0; color: var(--sp-teal-700); font-size: 13px; font-weight: 750; }

.ae-contact-dialog { width: min(720px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; color: var(--sp-ink); background: #fff; border: 0; border-radius: 12px; box-shadow: 0 30px 90px rgba(4,31,49,.35); }
.ae-contact-dialog::backdrop { background: rgba(4,31,49,.72); backdrop-filter: blur(3px); }
.ae-contact-dialog form { position: relative; padding: clamp(24px,5vw,46px); }
.ae-contact-dialog h2 { margin: 8px 0 0; color: var(--sp-navy-900); font-size: clamp(27px,4vw,40px); line-height: 1.08; }
.ae-contact-dialog form > p:not(.ae-card-kicker,.ae-privacy,.ae-form-error) { margin: 16px 0 0; color: var(--sp-muted); }
.ae-dialog-close { position: absolute; top: 14px; right: 15px; width: 42px; height: 42px; color: var(--sp-navy-900); background: transparent; border: 0; font-size: 30px; cursor: pointer; }
.ae-contact-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ae-contact-grid label { display: grid; gap: 6px; }
.ae-contact-grid label span { color: var(--sp-ink); font-size: 13px; font-weight: 850; }
.ae-contact-grid input { width: 100%; min-height: 46px; padding: 10px 12px; color: var(--sp-ink); background: #fff; border: 1px solid #b9cbd2; border-radius: 5px; font: inherit; }
.ae-contact-grid input:focus { border-color: var(--sp-teal-700); outline: 3px solid rgba(6,107,117,.14); }
.ae-consent { margin: 20px 0 0; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--sp-muted); font-size: 13px; line-height: 1.5; }
.ae-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--sp-teal-700); }
.ae-privacy { margin: 16px 0 22px; color: var(--sp-muted); font-size: 12px; line-height: 1.55; }
.ae-privacy a { font-weight: 800; text-underline-offset: 3px; }
.ae-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 1060px) {
  .ae-layout { grid-template-columns: 190px minmax(0,1fr); }
  .ae-radar-card { grid-column: 1 / -1; border-top: 1px solid var(--sp-border); border-left: 0; }
  .ae-radar-card [data-radar] { width: min(300px,100%); margin-inline: auto; }
  .ae-live-scores { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .ae-layout { display: block; }
  .ae-axis-nav { padding: 12px; display: flex; gap: 6px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--sp-border); }
  .ae-share-panel { grid-template-columns: 1fr; }
  .ae-share-actions { justify-content: stretch; }
  .ae-share-actions .ae-button { width: 100%; }
  .ae-axis-button { width: 46px; min-width: 46px; min-height: 46px; padding: 9px; display: grid; place-items: center; border: 1px solid var(--sp-border); border-radius: 5px; }
  .ae-axis-button:first-child { border-top: 1px solid var(--sp-border); }
  .ae-axis-label, .ae-axis-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ae-workspace { padding: 25px 16px; }
  .ae-scale { grid-template-columns: 1fr; }
  .ae-choice span { min-height: 44px; display: flex; justify-content: flex-start; padding: 10px 12px; }
  .ae-live-scores, .ae-result-grid, .ae-contact-grid { grid-template-columns: 1fr; }
  .ae-radar-scale { display: grid; justify-content: start; }
  .ae-improvement-list li { grid-template-columns: 1fr; }
  .ae-improvement-level { width: max-content; }
  .ae-progress-copy { display: grid; gap: 4px; }
  .ae-progress-copy span { text-align: left; }
  .ae-controls { position: sticky; bottom: 0; padding: 12px 0 0; background: rgba(255,255,255,.96); }
  .ae-controls .ae-button { flex: 1; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) { .ae-progress span { transition: none; } }
