.ae-gsc {
  --ae-ink:#1a0e0a; --ae-copy:#3e2f28; --ae-muted:#7a6a5f; --ae-line:#eadfcd;
  --ae-cream:#f7efe2; --ae-cream-deep:#eee2cc; --ae-paper:#fffdf9;
  --ae-brand:#d8392b; --ae-brand-dark:#b92b20; --ae-good:#1f7a59; --ae-warn:#b56a16; --ae-bad:#c84438;
  width:100%; max-width:1120px; margin:32px auto 56px; color:var(--ae-ink); font-family:Inter,system-ui,-apple-system,sans-serif; line-height:1.55;
}
.ae-gsc *, .ae-gsc *::before, .ae-gsc *::after { box-sizing:border-box; }
.ae-gsc p { margin-top:0; }
.ae-gsc h2, .ae-gsc h3, .ae-gsc h4 { color:var(--ae-ink); font-family:Fraunces,Georgia,serif; }
.ae-gsc h2 { max-width:720px; margin:0 0 14px; font-size:clamp(34px,5vw,56px); font-weight:600; line-height:1.05; letter-spacing:-.025em; }
.ae-gsc h3 { margin:0; font-size:22px; font-weight:600; line-height:1.25; }
.ae-gsc h4 { margin:0; font-size:19px; font-weight:600; line-height:1.3; }

.ae-gsc__hero { position:relative; display:grid; grid-template-columns:minmax(0,1.55fr) minmax(285px,.78fr); gap:clamp(28px,6vw,70px); align-items:center; margin-bottom:28px; padding:clamp(24px,5vw,48px); overflow:hidden; border:1px solid var(--ae-line); border-radius:28px; background:radial-gradient(circle at 91% 10%,rgba(216,57,43,.14),transparent 28%),linear-gradient(135deg,#fffdf9 0%,var(--ae-cream) 100%); }
.ae-gsc__hero::after { content:""; position:absolute; right:-45px; bottom:-65px; width:210px; height:210px; border:1px solid rgba(216,57,43,.15); border-radius:50%; box-shadow:0 0 0 30px rgba(216,57,43,.04),0 0 0 62px rgba(216,57,43,.022); }
.ae-gsc__intro { position:relative; z-index:1; }
.ae-gsc__eyebrow { display:flex; align-items:center; gap:8px; margin:0 0 8px; color:var(--ae-brand); font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.ae-gsc__eyebrow > span { width:24px; height:2px; border-radius:999px; background:var(--ae-brand); }
.ae-gsc__intro > p:not(.ae-gsc__eyebrow) { max-width:680px; margin-bottom:18px; color:var(--ae-copy); font-size:17px; }
.ae-gsc__trust { display:flex; flex-wrap:wrap; gap:8px; }
.ae-gsc__trust span { display:inline-flex; align-items:center; gap:7px; padding:7px 11px; border:1px solid rgba(26,14,10,.1); border-radius:999px; background:rgba(255,255,255,.65); color:var(--ae-copy); font-size:12px; font-weight:650; }
.ae-gsc__trust span::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--ae-brand); }

.ae-gsc__visual { position:relative; z-index:1; min-height:245px; border:1px solid rgba(216,57,43,.18); border-radius:22px; background:rgba(255,255,255,.8); box-shadow:0 20px 46px rgba(70,40,28,.1); transform:rotate(1.5deg); animation:ae-gsc-float 4.4s ease-in-out infinite; }
.ae-gsc__chart { position:absolute; inset:18px 22px; }
.ae-gsc__chart p { margin:0; color:var(--ae-brand); font:800 10px/1 "JetBrains Mono",monospace; letter-spacing:.12em; }
.ae-gsc__chart > div { display:flex; height:112px; align-items:flex-end; gap:10px; margin:17px 0 12px; padding:0 4px 8px; border-bottom:1px solid var(--ae-line); }
.ae-gsc__chart > div span { flex:1; height:var(--bar); border-radius:7px 7px 2px 2px; background:linear-gradient(180deg,#eb7569,var(--ae-brand)); animation:ae-gsc-bars 2.4s ease-in-out infinite alternate; }
.ae-gsc__chart > div span:nth-child(2) { animation-delay:-.7s; }
.ae-gsc__chart > div span:nth-child(3) { animation-delay:-1.1s; }
.ae-gsc__chart > div span:nth-child(4) { animation-delay:-1.6s; }
.ae-gsc__chart > div span:nth-child(5) { animation-delay:-2s; }
.ae-gsc__chart > strong { display:inline-block; font-family:Fraunces,Georgia,serif; font-size:31px; line-height:1; }
.ae-gsc__chart > small { margin-left:7px; color:var(--ae-muted); font-size:10px; }
.ae-gsc__signal { position:absolute; right:-11px; bottom:21px; min-width:128px; padding:11px 13px; border-radius:12px; background:var(--ae-ink); color:var(--ae-cream); box-shadow:0 12px 26px rgba(26,14,10,.18); transform:rotate(-2deg); }
.ae-gsc__signal span, .ae-gsc__signal strong, .ae-gsc__signal i { display:block; }
.ae-gsc__signal span { color:#d8cabb; font-size:9px; text-transform:uppercase; }
.ae-gsc__signal strong { font-family:Fraunces,Georgia,serif; font-size:25px; line-height:1.1; }
.ae-gsc__signal i { color:#ef7569; font:700 9px/1 "JetBrains Mono",monospace; font-style:normal; text-transform:uppercase; }

.ae-gsc__form, .ae-gsc-output { overflow:hidden; border:1px solid var(--ae-line); border-radius:24px; background:var(--ae-paper); box-shadow:0 18px 50px rgba(70,40,28,.07); transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease; }
.ae-gsc__form:hover { border-color:#dfcfb6; box-shadow:0 24px 64px rgba(70,40,28,.1); }
.ae-gsc-section { padding:clamp(23px,4vw,38px); border-bottom:1px solid var(--ae-line); }
.ae-gsc-section__heading { display:flex; gap:13px; align-items:flex-start; margin-bottom:22px; }
.ae-gsc-section__heading > span { display:grid; flex:0 0 34px; height:34px; place-items:center; border-radius:50%; background:var(--ae-ink); color:var(--ae-cream); font:700 10px/1 "JetBrains Mono",monospace; }
.ae-gsc-section__heading h3 { font-size:21px; }
.ae-gsc-section__heading p { margin:3px 0 0; color:var(--ae-muted); font-size:13px; }
.ae-gsc__import { display:grid; grid-template-columns:1.08fr .92fr; gap:15px; padding-left:47px; }
.ae-gsc-upload, .ae-gsc__format { position:relative; min-height:230px; padding:24px; border:1px solid var(--ae-line); border-radius:16px; background:linear-gradient(145deg,#fff 0%,var(--ae-cream) 100%); }
.ae-gsc-upload { display:grid; align-content:center; justify-items:center; border:1px dashed #d2b8a6; text-align:center; cursor:pointer; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease; }
.ae-gsc-upload:hover, .ae-gsc-upload.is-dragging { transform:translateY(-3px); border-color:var(--ae-brand); background:#fff9f5; box-shadow:0 14px 28px rgba(70,40,28,.08); }
.ae-gsc-upload > i { display:grid; width:50px; height:50px; margin-bottom:13px; place-items:center; border-radius:13px; background:var(--ae-brand); color:#fff; box-shadow:0 9px 20px rgba(216,57,43,.23); font:800 11px/1 "JetBrains Mono",monospace; font-style:normal; }
.ae-gsc-upload > strong { font-family:Fraunces,Georgia,serif; font-size:21px; }
.ae-gsc-upload > span { margin-top:4px; color:var(--ae-muted); font-size:12px; }
.ae-gsc-upload input { width:100%; min-height:auto; margin-top:13px; padding:8px; border:1px solid #d8cab4; border-radius:9px; background:#fff; color:var(--ae-copy); font:500 12px/1.4 Inter,sans-serif; }
.ae-gsc-upload small { margin-top:9px; color:var(--ae-muted); font-size:11px; }
.ae-gsc__format { display:grid; align-content:center; }
.ae-gsc__format > p { margin:0 0 8px; color:var(--ae-brand); font:800 10px/1 "JetBrains Mono",monospace; letter-spacing:.1em; }
.ae-gsc__format ul { margin:14px 0 12px; padding:0; list-style:none; }
.ae-gsc__format li { position:relative; margin:7px 0; padding-left:20px; color:var(--ae-copy); font-size:13px; }
.ae-gsc__format li::before { content:"✓"; position:absolute; left:0; color:var(--ae-brand); font-weight:800; }
.ae-gsc-text-button { width:max-content; padding:0; border:0; border-bottom:1px solid var(--ae-brand); background:transparent; color:var(--ae-brand); font:750 12px/1.5 Inter,sans-serif; cursor:pointer; }
.ae-gsc-text-button:hover { color:var(--ae-brand-dark); }
.ae-gsc__dataset { display:grid; grid-template-columns:auto auto 1fr; gap:10px; align-items:center; margin:16px 0 0 47px; padding:12px 14px; border:1px solid #cfe7dc; border-radius:11px; background:#edf8f3; }
.ae-gsc__dataset > span { padding:4px 8px; border-radius:999px; background:var(--ae-good); color:#fff; font-size:10px; font-weight:800; text-transform:uppercase; }
.ae-gsc__dataset > strong { font-size:13px; }
.ae-gsc__dataset > small { color:#3f6857; font-size:11px; text-align:right; }
.ae-gsc-grid { display:grid; gap:18px; padding-left:47px; }
.ae-gsc-grid--3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.ae-gsc-field { display:block; }
.ae-gsc-field > span { display:block; margin-bottom:7px; color:var(--ae-copy); font-weight:700; }
.ae-gsc-field small { display:block; margin-top:7px; color:var(--ae-muted); font-size:12px; }
.ae-gsc input, .ae-gsc select { width:100%; min-height:52px; padding:10px 14px; border:1px solid #d8cab4; border-radius:13px; background:#fff; color:var(--ae-ink); font:inherit; outline:0; transition:border-color .18s ease,box-shadow .18s ease; }
.ae-gsc input:hover, .ae-gsc select:hover { border-color:#c7b69d; }
.ae-gsc input:focus, .ae-gsc select:focus { border-color:var(--ae-brand); box-shadow:0 0 0 4px rgba(216,57,43,.1); }
.ae-gsc-actions { display:flex; flex-wrap:wrap; gap:10px; padding:26px clamp(23px,4vw,38px) 28px 85px; background:linear-gradient(90deg,rgba(247,239,226,.7),rgba(255,253,249,.4)); }
.ae-gsc-button { min-height:48px; padding:10px 20px; border:1px solid transparent; border-radius:999px; font:inherit; font-weight:750; cursor:pointer; transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease; }
.ae-gsc-button:hover { transform:translateY(-2px); }
.ae-gsc-button:active { transform:translateY(0); }
.ae-gsc-button:focus-visible { outline:3px solid rgba(216,57,43,.22); outline-offset:3px; }
.ae-gsc-button--primary { display:inline-flex; align-items:center; gap:13px; background:var(--ae-brand); color:#fff; box-shadow:0 9px 22px rgba(216,57,43,.22); }
.ae-gsc-button--primary i { display:grid; width:24px; height:24px; place-items:center; border-radius:50%; background:rgba(255,255,255,.18); font-style:normal; transition:transform .18s ease; }
.ae-gsc-button--primary:hover { background:var(--ae-brand-dark); box-shadow:0 12px 28px rgba(216,57,43,.28); }
.ae-gsc-button--primary:hover i { transform:translateX(3px); }
.ae-gsc-button--secondary { border-color:var(--ae-line); background:var(--ae-cream); color:var(--ae-ink); }
.ae-gsc-button--secondary:hover { border-color:#d6c4a9; background:var(--ae-cream-deep); }
.ae-gsc-error { margin:20px 38px 0 85px; padding:12px 14px; border-left:4px solid var(--ae-bad); border-radius:8px; background:#fff1ee; color:#8f2922; }

.ae-gsc-output { position:relative; margin-top:24px; padding:clamp(23px,4vw,38px); }
.ae-gsc-output.is-visible { animation:ae-gsc-rise .48s cubic-bezier(.22,1,.36,1) both; }
.ae-gsc-output__heading { display:flex; justify-content:space-between; align-items:center; gap:18px; padding-bottom:22px; border-bottom:1px solid var(--ae-line); }
.ae-gsc-output__heading h3 { font-size:29px; }
.ae-gsc-output__actions { display:flex; flex-wrap:wrap; gap:8px; }
.ae-gsc-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:22px 0; }
.ae-gsc-summary__item { position:relative; min-height:94px; padding:17px; overflow:hidden; border:1px solid var(--ae-line); border-radius:14px; background:linear-gradient(145deg,#fff 0%,var(--ae-cream) 100%); transition:transform .18s ease,box-shadow .18s ease; }
.ae-gsc-summary__item::before { content:""; position:absolute; left:0; top:0; width:4px; height:100%; background:var(--ae-brand); opacity:.78; }
.ae-gsc-summary__item:hover { transform:translateY(-3px); box-shadow:0 12px 25px rgba(70,40,28,.08); }
.ae-gsc-summary__item strong { display:block; font-family:Fraunces,Georgia,serif; font-size:25px; line-height:1.1; }
.ae-gsc-summary__item span { color:var(--ae-muted); font-size:12px; }
.ae-gsc-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.ae-gsc-filters button { min-height:38px; padding:7px 12px; border:1px solid var(--ae-line); border-radius:999px; background:#fff; color:var(--ae-copy); font:700 12px/1 Inter,sans-serif; cursor:pointer; transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease; }
.ae-gsc-filters button:hover { transform:translateY(-1px); border-color:#d1bfa5; }
.ae-gsc-filters button.is-active { border-color:var(--ae-ink); background:var(--ae-ink); color:var(--ae-cream); }
.ae-gsc-filters button span { display:inline-grid; min-width:20px; height:20px; margin-left:4px; place-items:center; border-radius:999px; background:var(--ae-cream); color:var(--ae-ink); font-size:10px; }
.ae-gsc-opportunities { display:grid; gap:13px; }
.ae-gsc-opportunity { display:grid; grid-template-columns:98px 1fr; gap:18px; padding:20px; border:1px solid var(--ae-line); border-radius:15px; background:#fff; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.ae-gsc-opportunity:hover { transform:translateY(-3px); border-color:#d8c6aa; box-shadow:0 15px 30px rgba(70,40,28,.08); }
.ae-gsc-opportunity__score { --score:0%; --score-color:var(--ae-brand); position:relative; display:grid; align-content:center; justify-items:center; width:88px; height:88px; border-radius:50%; background:conic-gradient(var(--score-color) var(--score),var(--ae-cream-deep) 0); color:var(--score-color); box-shadow:0 9px 22px rgba(70,40,28,.1); }
.ae-gsc-opportunity__score::before { content:""; position:absolute; inset:8px; border-radius:50%; background:#fff; box-shadow:inset 0 0 0 1px rgba(26,14,10,.04); }
.ae-gsc-opportunity__score strong, .ae-gsc-opportunity__score span { position:relative; z-index:1; }
.ae-gsc-opportunity__score strong { font-family:Fraunces,Georgia,serif; font-size:28px; line-height:1; }
.ae-gsc-opportunity__score span { color:var(--ae-muted); font-size:9px; letter-spacing:.04em; text-transform:uppercase; }
.ae-gsc-opportunity__top { display:flex; justify-content:space-between; gap:14px; }
.ae-gsc-opportunity__top h4 { margin:0 0 3px; font-size:20px; overflow-wrap:anywhere; }
.ae-gsc-opportunity__url { display:block; max-width:650px; overflow:hidden; color:var(--ae-muted); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.ae-gsc-badges { display:flex; flex:none; flex-wrap:wrap; justify-content:flex-end; gap:5px; }
.ae-gsc-badge { display:inline-flex; height:26px; align-items:center; padding:4px 8px; border-radius:999px; background:#fff0ed; color:var(--ae-brand-dark); font-size:9px; font-weight:800; letter-spacing:.03em; text-transform:uppercase; }
.ae-gsc-badge--low-ctr { background:#fff3df; color:#805000; }
.ae-gsc-badge--near-page-one { background:#f2ede5; color:#68594d; }
.ae-gsc-badge--cannibalization { background:#efe9f7; color:#624087; }
.ae-gsc-opportunity__metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:15px 0; }
.ae-gsc-opportunity__metric { padding:10px 11px; border-radius:10px; background:var(--ae-cream); }
.ae-gsc-opportunity__metric strong, .ae-gsc-opportunity__metric span { display:block; }
.ae-gsc-opportunity__metric strong { font-size:14px; }
.ae-gsc-opportunity__metric span { color:var(--ae-muted); font-size:10px; }
.ae-gsc-opportunity__action { padding:13px 14px; border-left:4px solid var(--ae-brand); border-radius:0 10px 10px 0; background:#fff7f2; }
.ae-gsc-opportunity__action strong { display:block; margin-bottom:3px; color:var(--ae-ink); font-size:13px; }
.ae-gsc-opportunity__action p { margin:0; color:var(--ae-copy); font-size:13px; }
.ae-gsc-opportunity__evidence { margin:10px 0 0; color:var(--ae-muted); font-size:11px; }
.ae-gsc-empty { padding:30px; border:1px dashed #d8c6aa; border-radius:13px; background:var(--ae-cream); color:var(--ae-muted); text-align:center; }
.ae-gsc-method { margin-top:18px; padding:17px 18px; border:1px solid #ead3ad; border-left:4px solid var(--ae-warn); border-radius:10px; background:#fff7e9; }
.ae-gsc-method strong { font-family:Fraunces,Georgia,serif; font-size:18px; }
.ae-gsc-method p { margin:4px 0 0; color:#674614; font-size:13px; }

@keyframes ae-gsc-rise { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
@keyframes ae-gsc-float { 0%,100% { transform:rotate(1.5deg) translateY(0); } 50% { transform:rotate(.5deg) translateY(-5px); } }
@keyframes ae-gsc-bars { from { filter:saturate(.85); transform:scaleY(.92); transform-origin:bottom; } to { filter:saturate(1.1); transform:scaleY(1.04); transform-origin:bottom; } }
@media(max-width:860px) { .ae-gsc__hero { grid-template-columns:1fr; } .ae-gsc__visual { display:none; } .ae-gsc-grid--3 { grid-template-columns:1fr 1fr; } }
@media(max-width:760px) {
  .ae-gsc__import, .ae-gsc-grid--3 { grid-template-columns:1fr; }
  .ae-gsc-output__heading { align-items:flex-start; flex-direction:column; }
  .ae-gsc-output__actions, .ae-gsc-output__actions .ae-gsc-button { width:100%; }
  .ae-gsc-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ae-gsc-opportunity__metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:540px) {
  .ae-gsc { margin-top:18px; }
  .ae-gsc__hero, .ae-gsc__form, .ae-gsc-output { border-radius:18px; }
  .ae-gsc__import, .ae-gsc-grid { padding-left:0; }
  .ae-gsc__dataset { grid-template-columns:1fr; margin-left:0; }
  .ae-gsc__dataset > span { width:max-content; }
  .ae-gsc__dataset > small { text-align:left; }
  .ae-gsc-actions { padding-left:clamp(23px,4vw,38px); }
  .ae-gsc-actions .ae-gsc-button { justify-content:center; width:100%; }
  .ae-gsc-error { margin-right:23px; margin-left:23px; }
  .ae-gsc-opportunity { grid-template-columns:1fr; }
  .ae-gsc-opportunity__score { width:88px; }
  .ae-gsc-opportunity__top { align-items:flex-start; flex-direction:column; }
  .ae-gsc-badges { justify-content:flex-start; }
}
@media(prefers-reduced-motion:reduce) { .ae-gsc-button,.ae-gsc input,.ae-gsc select,.ae-gsc__form,.ae-gsc-upload,.ae-gsc-summary__item,.ae-gsc-filters button,.ae-gsc-opportunity { transition:none; } .ae-gsc__visual,.ae-gsc__chart>div span,.ae-gsc-output.is-visible { animation:none; } }
