/* ── Poppins ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ── Reset ── */
.aeo-wrap *, .aeo-wrap *::before, .aeo-wrap *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ════════════════════════════════════
   TOKENS
   Primary  #ff914c   Dark    #1a2e4a
   Text     #374151   Muted   #6b7280
   Border   #e5e7eb   Surf    #f9fafb
════════════════════════════════════ */
.aeo-wrap {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px; color: #374151; line-height: 1.6;
    width: 100%; max-width: 100%;
    display: flex; flex-direction: column; gap: 14px;
    background: #f6f7f9; padding: 1.5rem; border-radius: 20px;
}

/* ════════════════════════════════════
   INPUT CARD
════════════════════════════════════ */
.aeo-input-card {
    background: #fff;
    border: 1px solid #e9eaec;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    display: flex; flex-direction: column; gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: border-color .2s;
}
.aeo-input-card-comp { border-color: #fdc99a; }

/* Toggle row at top of form */
.aeo-form-header {
    display: flex; align-items: center; justify-content: flex-end;
}

/* vs Competitors pill toggle (Image-2 style) */
.aeo-vs-toggle {
    display: flex; align-items: center; gap: 9px;
    cursor: pointer; user-select: none;
    background: #f9fafb; border: 1px solid #e5e7eb;
    border-radius: 50px; padding: 6px 14px 6px 10px;
    transition: border-color .2s, background .2s;
}
.aeo-vs-toggle:has(input:checked) { border-color: #fdc99a; background: #fff9f5; }
.aeo-vs-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.aeo-vs-track {
    position: relative; width: 36px; height: 20px; flex-shrink: 0;
    background: #d1d5db; border-radius: 10px; transition: background .2s;
}
.aeo-vs-toggle:has(input:checked) .aeo-vs-track { background: #ff914c; }
.aeo-vs-thumb {
    position: absolute; top: 2px; left: 2px;
    width: 16px; height: 16px; background: #fff;
    border-radius: 50%; transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.aeo-vs-toggle:has(input:checked) .aeo-vs-thumb { transform: translateX(16px); }
.aeo-vs-label { font-size: 12px; font-weight: 600; color: #374151; white-space: nowrap; }
.aeo-vs-toggle:has(input:checked) .aeo-vs-label { color: #ff914c; }

/* Row group: dot label + fields */
.aeo-row-group { display: flex; flex-direction: column; gap: 8px; }
.aeo-row-label {
    display: flex; align-items: center; gap: 7px;
    font-size: 10px; font-weight: 700; color: #6b7280;
    text-transform: uppercase; letter-spacing: .08em;
}
.aeo-row-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* URL + Brand side-by-side (3:1) */
.aeo-url-brand-row { display: grid; grid-template-columns: 3fr 1fr; gap: 12px; }
@media(max-width:620px){ .aeo-url-brand-row { grid-template-columns: 1fr; } }

/* Field group */
.aeo-field-group { display: flex; flex-direction: column; gap: 6px; }

/* Field label */
.aeo-field-label { font-size: 10px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: 6px; }
.aeo-opt-badge { font-size: 9px; font-weight: 500; color: #9ca3af; text-transform: none; letter-spacing: 0; background: #f3f4f6; border-radius: 4px; padding: 1px 5px; }

/* Inputs */
.aeo-input {
    width: 100%; padding: 11px 14px;
    border: 1px solid #e5e7eb; border-radius: 10px;
    font-size: 13.5px; font-family: 'Poppins', sans-serif;
    color: #374151; background: #f9fafb;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.aeo-input:focus { outline: none; border-color: #ff914c; background: #fff; box-shadow: 0 0 0 3px rgba(255,145,76,.1); }
.aeo-input::placeholder { color: #9ca3af; }

/* Input with leading icon */
.aeo-input-wrap { position: relative; }
.aeo-input-icon {
    position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
    width: 14px; height: 14px; color: #9ca3af; pointer-events: none;
}
.aeo-input-has-icon { padding-left: 36px; }

/* Competitor row — dashed separator + row */
.aeo-comp-row { display: none; flex-direction: column; gap: 10px; }
.aeo-comp-row.visible { display: flex; animation: aeoSlideIn .2s ease; }

@keyframes aeoSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.aeo-comp-divider {
    display: flex; align-items: center; gap: 10px;
    color: #9ca3af; font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .1em;
}
.aeo-comp-divider::before, .aeo-comp-divider::after {
    content: ''; flex: 1; height: 1px;
    background: repeating-linear-gradient(to right, #d1d5db 0, #d1d5db 4px, transparent 4px, transparent 8px);
}

/* Query + Keyword 2-col */
.aeo-opt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media(max-width:520px){ .aeo-opt-row { grid-template-columns: 1fr; } }

/* Footer */
.aeo-input-footer { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 4px; }
.aeo-analyze-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 11px 28px; background: #ff914c; color: #fff;
    border: none; border-radius: 50px;
    font-size: 13.5px; font-weight: 700; font-family: 'Poppins', sans-serif;
    cursor: pointer; white-space: nowrap; letter-spacing: .02em;
    transition: background .2s, transform .1s, box-shadow .2s;
    box-shadow: 0 2px 12px rgba(255,145,76,.3);
}
.aeo-analyze-btn:hover  { background: #f07a35; box-shadow: 0 4px 20px rgba(255,145,76,.4); }
.aeo-analyze-btn:active { transform: scale(.97); }
.aeo-analyze-btn:disabled { background: #d1d5db; cursor: not-allowed; box-shadow: none; }

.aeo-status { font-size: 12.5px; color: #6b7280; flex: 1; }
.aeo-status.error   { color: #dc2626; }
.aeo-status.loading { color: #ff914c; }

/* ════════════════════════════════════
   RE-ANALYZE BAR
════════════════════════════════════ */
.aeo-reanalyze-bar {
    background: #fff; border: none; border-radius: 14px;
    padding: 12px 18px; display: flex; align-items: center;
    justify-content: space-between; gap: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.aeo-reanalyze-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.aeo-reanalyze-url { font-size: 13.5px; font-weight: 600; color: #1a2e4a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aeo-new-btn {
    padding: 8px 18px; background: transparent;
    border: 1px solid #e5e7eb; border-radius: 50px;
    font-size: 12px; font-weight: 600; color: #374151;
    cursor: pointer; font-family: 'Poppins', sans-serif; white-space: nowrap;
    transition: all .15s;
}
.aeo-new-btn:hover { background: #ff914c; color: #fff; border-color: #ff914c; }

/* ════════════════════════════════════
   OUTER TABS
════════════════════════════════════ */
.aeo-tabs { display: flex; gap: 4px; background: #f3f4f6; border-radius: 50px; padding: 4px; width: fit-content; }
.aeo-tab { padding: 8px 22px; font-size: 12.5px; font-weight: 600; border-radius: 50px; border: none; cursor: pointer; background: transparent; color: #6b7280; font-family: 'Poppins', sans-serif; transition: all .2s; }
.aeo-tab.active { background: #ff914c; color: #fff; box-shadow: 0 2px 10px rgba(255,145,76,.3); }
.aeo-tab:hover:not(.active) { color: #374151; background: rgba(255,145,76,.07); }

/* ── Wrap the result views in a single white surface ── */
.aeo-view { display: flex; flex-direction: column; gap: 16px; }
.aeo-view > .aeo-summary,
.aeo-view > .aeo-results-layout {
    /* together they form one white block */
}
/* white card that holds summary + sidebar + panels as one unit */
.aeo-result-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
}

/* ════════════════════════════════════
   TABS (outer: Your page / Competitor / Side-by-side)
════════════════════════════════════ */
.aeo-tabs { display: flex; gap: 4px; width: fit-content; margin-bottom: 4px; }
.aeo-tab {
    padding: 8px 20px; font-size: 12.5px; font-weight: 600; border-radius: 50px;
    border: 1.5px solid #e5e7eb; cursor: pointer; background: #fff;
    color: #6b7280; font-family: 'Poppins', sans-serif; transition: all .15s;
}
.aeo-tab.active { background: #ff914c; color: #fff; border-color: #ff914c; }
.aeo-tab:hover:not(.active) { color: #374151; border-color: #d1d5db; }

/* ════════════════════════════════════
   SUMMARY STRIP — flat, no card
════════════════════════════════════ */
.aeo-summary {
    background: #fff; padding: 1.25rem 1.5rem;
    display: flex; flex-direction: column; gap: 5px;
    border-bottom: 1px solid #e9eaec;
}
.aeo-summary-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.aeo-summary-title { font-size: 17px; font-weight: 700; color: #1a2e4a; line-height: 1.35; flex: 1; }
.aeo-summary-url   { font-size: 12.5px; color: #ff914c; word-break: break-all; font-weight: 500; }
.aeo-summary-desc  { font-size: 12.5px; color: #4b5563; line-height: 1.55; }
.aeo-summary-meta  { font-size: 11.5px; color: #9ca3af; font-weight: 500; }

.aeo-type-badge { font-size: 9.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; text-transform: uppercase; letter-spacing: .07em; }
.aeo-type-article  { background: #eff6ff; color: #1d4ed8; }
.aeo-type-product  { background: #fff7ed; color: #c2410c; }
.aeo-type-homepage { background: #f0fdf4; color: #15803d; }
.aeo-type-faq      { background: #faf5ff; color: #7c3aed; }
.aeo-type-category { background: #f3f4f6; color: #4b5563; }
.aeo-type-contact  { background: #fef2f2; color: #b91c1c; }
.aeo-speed-badge { font-size: 9.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.aeo-speed-fast { background: #f0fdf4; color: #15803d; }
.aeo-speed-ok   { background: #fffbeb; color: #b45309; }
.aeo-speed-slow { background: #fef2f2; color: #b91c1c; }

/* ════════════════════════════════════
   RESULTS LAYOUT — sidebar + content
════════════════════════════════════ */
.aeo-results-layout { display: flex; gap: 0; align-items: start; background: #fff; }
@media(max-width:800px) { .aeo-results-layout { flex-direction: column; } }

/* ── Sidebar — the ONE card in the results area ── */
.aeo-sidebar {
    width: 220px; flex-shrink: 0;
    background: #fff; border-right: 1px solid #e9eaec;
    overflow: hidden; position: sticky; top: 0;
    align-self: stretch;
}
@media(max-width:800px) { .aeo-sidebar { width: 100%; position: static; border-right: none; border-bottom: 1px solid #e9eaec; } }

.aeo-sidebar-group { padding: 12px 12px 8px; }
.aeo-sidebar-group + .aeo-sidebar-group { border-top: 1px solid #f3f4f6; }
.aeo-sidebar-group-label {
    font-size: 9.5px; font-weight: 700; color: #9ca3af;
    text-transform: uppercase; letter-spacing: .09em;
    padding: 0 6px; margin-bottom: 4px;
}
.aeo-sidebar-item {
    display: flex; align-items: center; gap: 9px;
    padding: 6px 8px; border-radius: 8px; cursor: pointer;
    text-decoration: none; transition: background .1s;
    border-left: 2px solid transparent; margin-bottom: 1px;
}
.aeo-sidebar-item:hover { background: #f9fafb; }
.aeo-sidebar-item.active { background: #fff7ed; border-left-color: #ff914c; }
.aeo-sidebar-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.aeo-sidebar-item-name { font-size: 12px; font-weight: 500; color: #374151; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aeo-sidebar-item-score { font-size: 11.5px; font-weight: 700; flex-shrink: 0; }

/* ── Panels area — flat white column, NO card ── */
.aeo-panels-area {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column;
    background: #fff;
}
.aeo-panel-view { display: flex; flex-direction: column; }
.aeo-panel-view .aeo-panel { width: 100%; }

/* ════════════════════════════════════
   OVERVIEW: overall score — flat section
════════════════════════════════════ */
.aeo-overall {
    padding: 1.5rem 1.75rem; display: flex; align-items: flex-start;
    gap: 28px; flex-wrap: wrap; background: #fff;
    border-bottom: 1px solid #e9eaec;
}
.aeo-overall-left { display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; min-width: 100px; }
.aeo-overall-eyebrow { font-size: 9.5px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .08em; }
.aeo-overall-num { font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.aeo-overall-grade { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; width: fit-content; }
.aeo-sub-scores { flex: 1; display: grid; grid-template-columns: repeat(8, minmax(0,1fr)); gap: 8px; align-items: start; }
@media(max-width:900px) { .aeo-sub-scores { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.aeo-sub { display: flex; flex-direction: column; align-items: center; padding: 10px 6px; background: #f9fafb; border: 1px solid #f3f4f6; border-radius: 10px; gap: 4px; }
.aeo-sub-num   { font-size: 17px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.aeo-sub-label { font-size: 8.5px; color: #9ca3af; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; text-align: center; font-weight: 600; line-height: 1.25; }

/* ════════════════════════════════════
   PANELS — flat sections, no card chrome
════════════════════════════════════ */
.aeo-panel { background: #fff; display: flex; flex-direction: column; }
.aeo-panel:hover { background: #fff; }
.aeo-panel.aeo-panel-highlight { background: #fffbf5; }

/* Panel header: gray band like a WP metabox title bar */
.aeo-panel-hd {
    padding: .85rem 1.75rem;
    border-bottom: 1px solid #e9eaec;
    border-top: 1px solid #e9eaec;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: #f6f7f9;
}
.aeo-panel-title { font-size: 10.5px; font-weight: 700; color: #374151; text-transform: uppercase; letter-spacing: .08em; }
.aeo-panel-score { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.02em; flex-shrink: 0; }
.aeo-panel-body { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid #e9eaec; }

/* ════════════════════════════════════
   PRIORITY ACTION LIST — flat section
════════════════════════════════════ */
.aeo-pal { background: #fff; border-top: 1px solid #e9eaec; }
.aeo-pal-hd { padding: 1rem 1.75rem; border-bottom: 1px solid #e9eaec; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #f6f7f9; }
.aeo-pal-hd-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.aeo-pal-heading { font-size: 11px; font-weight: 700; color: #374151; text-transform: uppercase; letter-spacing: .07em; }
.aeo-pal-counts { display: flex; gap: 5px; }
.aeo-pal-count  { font-size: 10.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.aeo-pal-count-crit { background: #fef2f2; color: #b91c1c; }
.aeo-pal-count-high { background: #fffbeb; color: #b45309; }
.aeo-pal-count-med  { background: #f0fdf4; color: #15803d; }
.aeo-pal-filters { display: flex; gap: 4px; flex-wrap: wrap; }
.aeo-pal-filter { padding: 5px 14px; border: 1px solid #e5e7eb; border-radius: 20px; font-size: 11.5px; font-weight: 600; cursor: pointer; background: transparent; color: #6b7280; font-family: 'Poppins', sans-serif; transition: all .15s; }
.aeo-pal-filter.active  { background: #ff914c; color: #fff; border-color: #ff914c; }
.aeo-pal-filter:hover:not(.active) { background: #fff7ed; color: #c2410c; border-color: #fdc99a; }
.aeo-pal-progress { padding: .75rem 1.75rem; border-bottom: 1px solid #e9eaec; display: flex; align-items: center; gap: 14px; }
.aeo-pal-prog-label { font-size: 11.5px; color: #9ca3af; white-space: nowrap; min-width: 90px; font-weight: 500; }
.aeo-pal-prog-track { flex: 1; height: 5px; background: #f3f4f6; border-radius: 4px; overflow: hidden; }
.aeo-pal-prog-fill  { height: 100%; border-radius: 4px; background: #ff914c; transition: width .4s ease; }
.aeo-pal-prog-pct   { font-size: 11.5px; font-weight: 700; color: #ff914c; min-width: 34px; text-align: right; }
.aeo-pal-list { display: flex; flex-direction: column; }
.aeo-pal-item { display: flex; align-items: flex-start; gap: 14px; padding: 1.1rem 1.75rem; border-bottom: 1px solid #f3f4f6; cursor: pointer; transition: background .1s; }
.aeo-pal-item:last-child { border-bottom: none; }
.aeo-pal-item:hover { background: #fffbf7; }
.aeo-pal-item.pal-done { opacity: .4; }
.aeo-pal-item.pal-done .aeo-pal-item-title { text-decoration: line-through; color: #9ca3af; }
.aeo-pal-cb { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #d1d5db; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; transition: all .15s; background: #fff; }
.aeo-pal-cb.pal-cb-checked { background: #ff914c; border-color: #ff914c; }
.aeo-pal-rank { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; flex-shrink: 0; }
.pal-rank-crit { background: #fef2f2; color: #b91c1c; }
.pal-rank-high { background: #fffbeb; color: #b45309; }
.pal-rank-med  { background: #f0fdf4; color: #15803d; }
.aeo-pal-item-body { flex: 1; min-width: 0; }
.aeo-pal-item-top  { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.aeo-pal-item-title { font-size: 13.5px; font-weight: 600; color: #1a2e4a; line-height: 1.4; flex: 1; }
.aeo-pal-badge { font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.pal-badge-crit { background: #fef2f2; color: #b91c1c; }
.pal-badge-high { background: #fffbeb; color: #b45309; }
.pal-badge-med  { background: #f0fdf4; color: #15803d; }
.aeo-pal-item-desc { font-size: 12.5px; color: #4b5563; line-height: 1.6; margin-bottom: 10px; }
.aeo-pal-item-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.aeo-pal-source { font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 20px; background: #f3f4f6; color: #4b5563; }
.aeo-pal-effort { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: #9ca3af; font-weight: 500; }
.aeo-pal-effort-dots { display: flex; gap: 3px; }
.aeo-pal-edot    { width: 6px; height: 6px; border-radius: 50%; background: #e5e7eb; }
.aeo-pal-edot.on { background: #6b7280; }
.aeo-pal-ibar-wrap  { display: flex; align-items: center; gap: 5px; flex: 1; max-width: 110px; }
.aeo-pal-ibar-track { flex: 1; height: 4px; background: #f3f4f6; border-radius: 3px; overflow: hidden; }
.aeo-pal-ibar-fill  { height: 100%; border-radius: 3px; }
.aeo-pal-ibar-label { font-size: 9.5px; color: #9ca3af; white-space: nowrap; font-weight: 600; }
.aeo-pal-empty { padding: 2.5rem 1.75rem; text-align: center; color: #9ca3af; font-size: 13px; }
.aeo-pal-all-done { padding: 1.25rem 1.75rem; display: flex; align-items: center; gap: 12px; background: #f0fdf4; }
.aeo-pal-done-icon { width: 32px; height: 32px; border-radius: 50%; background: #16a34a; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.aeo-pal-done-text { font-size: 13.5px; color: #15803d; font-weight: 600; }

/* ════════════════════════════════════
   PANEL BODY ELEMENTS
════════════════════════════════════ */
.aeo-bar { display: flex; flex-direction: column; gap: 5px; margin-bottom: 2px; }
.aeo-bar-row { display: flex; justify-content: space-between; font-size: 11.5px; color: #6b7280; font-weight: 500; }
.aeo-bar-track { height: 5px; background: #f3f4f6; border-radius: 4px; overflow: hidden; }
.aeo-bar-fill  { height: 100%; border-radius: 4px; transition: width .55s ease; }
.aeo-div { height: 1px; background: #f3f4f6; margin: 3px 0; }
.aeo-find { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; line-height: 1.55; padding: 9px 13px; border-radius: 9px; }
.aeo-find-icon { font-size: 10.5px; font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.aeo-find.pass { background: #f0fdf4; color: #15803d; }
.aeo-find.warn { background: #fffbeb; color: #92400e; }
.aeo-find.fail { background: #fef2f2; color: #991b1b; }
.aeo-snippet { background: #f9fafb; border-left: 3px solid #fdc99a; border-radius: 0 9px 9px 0; padding: 11px 14px; font-size: 12.5px; color: #4b5563; line-height: 1.6; font-style: italic; margin: 2px 0 4px; }
.aeo-ent-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 7px 0; border-bottom: 1px solid #f9fafb; }
.aeo-ent-item:last-child { border-bottom: none; }
.aeo-ent-text { color: #374151; line-height: 1.4; flex: 1; font-weight: 500; }
.aeo-ent-tip  { font-size: 10.5px; color: #9ca3af; margin-top: 2px; }
.aeo-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.aeo-dot.pass { background: #16a34a; }
.aeo-dot.fail { background: #dc2626; }
.aeo-tags  { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 4px; }
.aeo-tag   { font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: #fff7ed; color: #c2410c; border: 1px solid #fdc99a; }
.aeo-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 3px 0; }
.aeo-chip  { font-size: 10.5px; font-weight: 500; padding: 3px 10px; border-radius: 20px; background: #f3f4f6; color: #4b5563; text-transform: capitalize; }
.aeo-schema-cta { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 12px 14px; background: #fff7ed; border: 1px solid #fdc99a; border-radius: 10px; text-decoration: none; transition: background .15s; }
.aeo-schema-cta:hover { background: #ffedd5; }
.aeo-schema-cta-inner { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.aeo-schema-cta-text  { font-size: 12.5px; font-weight: 700; color: #c2410c; }
.aeo-schema-cta-sub   { font-size: 11.5px; color: #ea6c1e; }
.aeo-head-list { display: flex; flex-direction: column; gap: 4px; margin: 3px 0; }
.aeo-head-item { font-size: 12.5px; color: #4b5563; display: flex; gap: 9px; align-items: baseline; line-height: 1.4; }
.aeo-head-tag  { font-size: 9.5px; font-weight: 700; color: #9ca3af; flex-shrink: 0; width: 20px; letter-spacing: .04em; }
.aeo-micro-label { font-size: 9.5px; color: #9ca3af; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; margin-top: 4px; font-weight: 700; }
.aeo-fk-display  { display: flex; align-items: baseline; gap: 9px; padding: 6px 0 3px; }
.aeo-fk-num      { font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.aeo-fk-label    { font-size: 13px; color: #6b7280; font-weight: 500; }
.aeo-intent-badge { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 7px; text-transform: capitalize; letter-spacing: .02em; }
.aeo-intent-informational { background: #eff6ff; color: #1d4ed8; }
.aeo-intent-transactional { background: #fff7ed; color: #c2410c; }
.aeo-intent-navigational  { background: #f0fdf4; color: #15803d; }
.aeo-intent-comparison    { background: #faf5ff; color: #7c3aed; }
.aeo-passage-item { border-bottom: 1px solid #f3f4f6; padding: 10px 0; margin-bottom: 0; }
.aeo-passage-heading { font-size: 12.5px; font-weight: 700; color: #1a2e4a; margin-bottom: 3px; }
.aeo-passage-meta    { font-size: 10.5px; color: #9ca3af; font-weight: 500; }
.aeo-semantic-found { color: #16a34a; font-size: 12.5px; font-weight: 500; }
.aeo-semantic-miss  { color: #9ca3af; text-decoration: line-through; font-size: 12.5px; }
.aeo-brand-note { font-size: 11.5px; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 7px 11px; font-weight: 500; }

/* ════════════════════════════════════
   SIDE-BY-SIDE COMPARE
════════════════════════════════════ */
.aeo-view-compare-surface { background: #fff; border-radius: 0; }
.aeo-compare-card { background: #fff; border-bottom: 1px solid #e9eaec; }
.aeo-compare-card-hd { padding: .9rem 1.5rem; border-bottom: 1px solid #e9eaec; font-size: 10.5px; font-weight: 700; color: #374151; text-transform: uppercase; letter-spacing: .07em; background: #f6f7f9; }
.aeo-compare-header { display: grid; grid-template-columns: 190px 1fr 1fr; gap: 10px; padding: 9px 1.5rem; background: #f6f7f9; font-size: 10.5px; font-weight: 700; border-bottom: 1px solid #e9eaec; }
.aeo-compare-col-label { color: #9ca3af; text-transform: uppercase; letter-spacing: .06em; }
.aeo-compare-you  { color: #1d4ed8; }
.aeo-compare-them { color: #c2410c; }
.aeo-compare-row { display: grid; grid-template-columns: 190px 1fr 1fr; gap: 10px; padding: 10px 1.5rem; border-bottom: 1px solid #f3f4f6; align-items: center; }
.aeo-compare-row:last-child { border-bottom: none; }
.aeo-compare-label { color: #4b5563; font-size: 12.5px; font-weight: 500; }
.aeo-compare-cell  { display: flex; align-items: center; gap: 7px; }
.aeo-compare-score-bar  { flex: 1; height: 5px; background: #f3f4f6; border-radius: 3px; overflow: hidden; }
.aeo-compare-score-fill { height: 100%; border-radius: 3px; transition: width .55s ease; }
.aeo-compare-score-num  { font-size: 13.5px; font-weight: 800; min-width: 28px; text-align: right; }
.aeo-compare-win  { font-size: 9.5px; padding: 2px 7px; border-radius: 20px; background: #f0fdf4; color: #15803d; font-weight: 700; }
.aeo-compare-lose { font-size: 9.5px; padding: 2px 7px; border-radius: 20px; background: #fef2f2; color: #b91c1c; font-weight: 700; }

/* ════════════════════════════════════
   UNUSED GRID (kept for compat)
════════════════════════════════════ */
.aeo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; align-items: start; }
@media(max-width:640px) { .aeo-grid { grid-template-columns: 1fr; } }
