/* Fenêtre d'audit Localisia (maquette) : couleurs et typographie du site.
   Bleu #304BFE, dégradé bleu → vert des « IA », titres General Sans en gras. */
.am-overlay {
  --ink: #11163A; --mut: #5F667D; --line: #E6E9F2; --soft: #F0F4FF; --brand: #304BFE; --green: #3ACF91;
  --ok: #17A673; --mid: #C46A12; --ko: #E0483F;
  --grad: linear-gradient(90deg, #304BFE, #3ACF91);
  position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
  padding: 24px 16px; background: rgba(17, 22, 58, 0.5); backdrop-filter: blur(4px);
}
.am-overlay.open { display: flex; }
.am {
  width: 100%; max-width: 600px; max-height: calc(100vh - 48px); display: flex; flex-direction: column;
  background: #fff; border-radius: 12px; box-shadow: 0 24px 70px rgba(17, 22, 58, 0.25); overflow: hidden;
  font-family: var(--font); color: var(--ink);
}
.am.wide { max-width: 880px; }
.am-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px 12px; }
.am-top img { display: block; }
.am-brand { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; }
.am-x { margin-left: auto; border: 0; background: none; font-size: 1rem; color: var(--mut); cursor: pointer; width: 32px; height: 32px; border-radius: 8px; }
.am-x:hover { background: var(--soft); }
/* Progression : 3 traits fins, pas de pastilles */
.am-prog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 18px 14px; border-bottom: 1px solid var(--line); }
.am-prog i { display: block; height: 4px; border-radius: 2px; background: #E6E9F2; overflow: hidden; position: relative; }
.am-prog i::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--grad); transition: width .4s ease; }
.am-prog .on i::after, .am-prog .done i::after { width: 100%; }
.am-prog span { display: block; margin-top: 6px; font-size: 0.74rem; color: #9AA0B4; }
.am-prog .on span { color: var(--ink); font-weight: 600; }
.am-prog .done span { color: var(--mut); }
/* Étape déjà faite : on peut y revenir */
.am-prog .nav { cursor: pointer; }
.am-prog .nav span { color: var(--brand); }
.am-prog .nav span::before { content: "← "; }
.am-prog .nav:hover span { text-decoration: underline; }
.am-body { overflow-y: auto; }
.am-pad { padding: 30px 32px; }
.am-narrow { max-width: 420px; margin: 0 auto; }

.am-h { margin: 0 0 6px; font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); }
.am-h3 { margin: 0 0 4px; font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.am-sub { margin: 0; color: var(--mut); font-size: 0.93rem; line-height: 1.55; }
.am-label { margin: 0 0 8px; font-size: 0.8rem; font-weight: 600; color: var(--mut); }
.am-lead { margin: 22px 0 0; font-size: 0.97rem; line-height: 1.6; }

.am-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 24px;
  height: 52px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--brand); color: #fff;
  font: 600 1rem var(--font); cursor: pointer; transition: background .15s;
}
.am-btn:hover { background: #1F4FCC; }
.am-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.am-btn.ghost { width: auto; height: 38px; margin: 0; padding: 0 14px; background: #fff; color: var(--brand); border: 1px solid #C9D2FF; font-size: 0.85rem; }
.am-btn.ghost:hover { background: var(--soft); }
.am-btn.white { width: auto; margin: 0; background: #fff; color: var(--brand); }
.am-btn.white:hover { background: #EEF2FF; }
.am-link { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--mut); font: 0.86rem var(--font); cursor: pointer; }
.am-link:hover { color: var(--ink); }
.am-st { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; font-style: normal; white-space: nowrap; }
.am-st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.am-st.ok { color: var(--ok); } .am-st.mid { color: var(--mid); } .am-st.ko { color: var(--ko); }

/* Avatar d'Edwin avec la pastille verte, comme sur le site */
.am-ava { position: relative; display: inline-block; flex-shrink: 0; width: 36px; height: 36px; }
.am-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand); box-sizing: border-box; }
.am-ava i { position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--green); border: 2px solid #fff; }
.am-ava.lg { width: 56px; height: 56px; } .am-ava.lg i { width: 13px; height: 13px; }
.am-ava.xl { width: 72px; height: 72px; } .am-ava.xl img { border-color: #fff; } .am-ava.xl i { width: 15px; height: 15px; border-color: var(--brand); }

/* 1. Votre fiche */
.am-run { list-style: none; margin: 24px 0 0; padding: 0; }
.am-run li { position: relative; padding: 10px 0 10px 30px; color: #A7ACBD; font-size: 0.94rem; }
.am-run li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #DDE1EC; box-sizing: border-box; }
.am-run li.go, .am-run li.ok { color: var(--ink); }
.am-run li.go::before { border-color: var(--brand); border-right-color: transparent; animation: am-spin .7s linear infinite; }
.am-run li.ok::before { border: 0; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-8.5' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E") center/12px no-repeat; }
@keyframes am-spin { to { transform: rotate(360deg); } }
.am-gcard { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.am-gmap { flex-shrink: 0; width: 72px; height: 72px; border-radius: 8px; background: linear-gradient(120deg, #eef1f6 0%, #e4ecf0 45%, #dcebe3 100%); display: flex; align-items: center; justify-content: center; }
.am-pin svg { width: 26px; height: 26px; fill: #EA4335; stroke: #B3261E; stroke-width: 1; }
.am-gbody { flex: 1; min-width: 0; }
.am-gname { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; }
.am-grate { margin: 3px 0 0; font-size: 0.85rem; }
.am-stars { color: #F59E0B; letter-spacing: 1px; } .am-stars .off { color: #DADCE0; }
.am-grate a { color: #1a73e8; }
.am-gaddr { margin: 2px 0 0; font-size: 0.8rem; color: var(--mut); }
.am-grank { text-align: center; padding: 8px 14px; border-left: 1px solid var(--line); }
.am-grank b { display: block; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: #C2410C; line-height: 1.1; }
.am-grank span { font-size: 0.72rem; color: var(--mut); }

/* 2. Votre score */
.am-score { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; }
.am-score-n, .am-ladder { padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.am-big { margin: 0 0 10px; font-family: var(--font-heading); font-weight: 700; font-size: 3.6rem; line-height: 1; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.am-big small { font-size: 1rem; font-weight: 500; -webkit-text-fill-color: var(--mut); margin-left: 2px; }
.am-meter { height: 8px; margin-top: 16px; border-radius: 4px; background: #EDEFF6; overflow: hidden; }
.am-meter i { display: block; height: 100%; max-width: 0; border-radius: 4px; background: var(--grad); transition: max-width 1s ease; }
.am-meter i.go { max-width: 100%; }
.am-ladder ol { list-style: none; margin: 0; padding: 0; }
.am-ladder li { display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; align-items: center; padding: 7px 0; }
.am-ladder li b { font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-ladder li small { grid-column: 2; font-size: 0.76rem; color: var(--mut); }
.am-ladder li.sep { display: block; padding: 0 0 0 9px; color: #A7ACBD; line-height: 1; }
.am-rk { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; background: #fff; border: 1px solid var(--line); }
.am-ladder li.you { margin: 2px -10px 0; padding: 8px 10px; border-radius: 8px; background: #FFF7ED; border: 1.5px solid #FDBA74; }
.am-ladder li.you .am-rk { background: #C2410C; color: #fff; border: 0; }
.am-ladder li.you b { color: #C2410C; }
.am-teaser { position: relative; margin-top: 20px; padding: 16px 18px 50px; border-radius: 12px; background: var(--soft); overflow: hidden; }
.am-teaser > div { display: grid; grid-template-columns: 100px 1fr; gap: 4px 12px; align-items: center; margin-bottom: 10px; filter: blur(3px); }
.am-teaser > div span { grid-row: span 2; font-size: 0.82rem; color: var(--mut); }
.am-teaser i { display: block; height: 7px; border-radius: 4px; background: var(--brand); opacity: .6; }
.am-teaser i.n1 { width: 90%; background: #B9C2DA; opacity: 1; }
.am-teaser p { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.85rem; font-weight: 600; }
.am-teaser svg, .am-foot svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Formulaire */
.am-form { margin-top: 22px; }
.am-form label { display: block; margin-bottom: 14px; font-size: 0.85rem; font-weight: 500; }
.am-form input { display: block; width: 100%; height: 50px; margin-top: 6px; padding: 0 14px; border: 1.5px solid #DDE2F0; border-radius: 8px; font: 1rem var(--font); color: var(--ink); box-sizing: border-box; outline: none; }
.am-form input:focus { border-color: var(--brand); }
.am-form input.bad { border-color: var(--ko); background: #FFF8F7; }
.am-form .tel-err { display: none; margin-top: 6px; font-size: 0.78rem; font-style: normal; color: var(--ko); font-weight: 400; }
.am-form .am-btn { margin-top: 4px; }
.am-err { display: none; margin: 0 0 8px; font-size: 0.82rem; color: var(--ko); }
.am-legal { margin: 12px 0 0; font-size: 0.74rem; line-height: 1.5; color: var(--mut); text-align: center; }
.am-legal a { color: var(--mut); }
.am-human { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: var(--soft); }
.am-human p { margin: 0; font-size: 0.82rem; color: var(--mut); line-height: 1.45; }
.am-human b { color: var(--ink); }

/* 3. Le détail */
.am-report { padding: 0 36px 30px; }
.am-sent { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: 0.86rem; color: var(--mut); }
.am-sent > span { display: inline-flex; align-items: center; gap: 8px; }
.am-sent > span svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2.5; }
.am-sent b { color: var(--ink); }
.am-print-head { display: none; }
.am-intro { display: flex; align-items: flex-start; gap: 16px; margin-top: 20px; padding: 22px; border-radius: 12px; background: var(--soft); }
.am-intro > div:nth-child(2) { flex: 1; }
.am-intro .am-h { font-size: 1.4rem; }
.am-badge { flex-shrink: 0; text-align: center; padding: 6px 4px 0 14px; border-left: 1px solid #D9E0FF; }
.am-badge b { display: block; margin-bottom: 4px; font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.am-badge small { font-size: 0.85rem; -webkit-text-fill-color: var(--mut); }
.am-sec { margin-top: 34px; }
.am-legend { display: flex; gap: 18px; margin: 14px 0 6px; font-size: 0.78rem; color: var(--mut); }
.am-legend span::before { content: ""; display: inline-block; width: 18px; height: 6px; margin-right: 6px; border-radius: 3px; vertical-align: middle; }
.am-legend .you::before { background: var(--brand); } .am-legend .n1::before { background: #B9C2DA; }
.am-cmp { padding: 16px 0; border-bottom: 1px solid var(--line); }
.am-cmp-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.am-cmp-h b { font-size: 0.97rem; }
.am-cmp-bars > div { display: grid; grid-template-columns: 1fr 190px; gap: 12px; align-items: center; margin-bottom: 6px; }
.am-cmp-bars i { display: block; height: 10px; max-width: 0; border-radius: 5px; transition: max-width .8s ease; }
.am-cmp-bars i.go { max-width: 100%; }
.am-cmp-bars .you i { background: var(--brand); } .am-cmp-bars .n1 i { background: #B9C2DA; }
.am-cmp-bars span { font-size: 0.84rem; color: var(--mut); white-space: nowrap; }
.am-cmp-bars .you span { color: var(--ink); font-weight: 600; }
.am-cmp > p { margin: 8px 0 0; font-size: 0.88rem; color: var(--mut); line-height: 1.55; }
.am-foot { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 0.8rem; color: var(--mut); }
.am-wh { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.am-table-wrap { overflow-x: auto; }
.am-gap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.am-gap > div { padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.am-gap b { display: block; font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--brand); line-height: 1.1; }
.am-gap span { display: block; margin-top: 6px; font-size: 0.86rem; line-height: 1.4; }
.am-gap small { color: var(--mut); }

/* Rendez-vous : bleu Localisia, le seul bloc plein de la fenêtre */
.am-rdv { margin-top: 34px; padding: 28px; border-radius: 12px; background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.am-rdv::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(58,207,145,.35), transparent 70%); pointer-events: none; }
.am-rdv-in { position: relative; display: flex; gap: 20px; align-items: flex-start; }
.am-rdv h3 { margin: 0 0 8px; font-family: var(--font-heading); font-size: 1.45rem; font-weight: 700; line-height: 1.25; color: #fff; }
.am-rdv p { margin: 0; color: rgba(255,255,255,.88); font-size: 0.95rem; line-height: 1.55; }
.am-print-link { display: none; }
.am-rdv-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.am-sign { font-size: 0.8rem; line-height: 1.35; color: rgba(255,255,255,.8); }
.am-sign b { display: block; color: #fff; }
.am-gp { height: 34px; padding: 4px 6px; background: #fff; border-radius: 6px; }
.am-rdv-later { position: relative; margin-top: 20px !important; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.22); font-size: 0.85rem !important; }
.am-rdv.open { background: #fff; color: var(--ink); padding: 18px 18px 0; border: 1px solid var(--line); }
.am-rdv.open::after { display: none; }
.am-cal-t { margin: 0 0 10px; font-size: 0.92rem; color: var(--mut); }
.am-cal-t b { color: var(--ink); }
.am-method { margin: 26px 0 0; font-size: 0.74rem; line-height: 1.6; color: #9298AB; }
.am-report .lm-twenty { margin-top: 14px; }

@media (max-width: 760px) {
  .am-overlay { padding: 0; align-items: stretch; }
  .am { max-height: 100vh; border-radius: 0; }
  .am-pad { padding: 24px 18px; }
  .am-report { padding: 0 16px 24px; }
  .am-score, .am-gap { grid-template-columns: 1fr; }
  .am-intro { flex-wrap: wrap; }
  .am-badge { border-left: 0; padding: 0; text-align: left; }
  .am-cmp-bars > div { grid-template-columns: 1fr; gap: 4px; }
  .am-rdv-in { flex-direction: column; }
  .am-grank { padding: 6px 8px; }
}

/* PDF : seulement le rapport */
@page { size: A4; margin: 14mm 12mm; }
@media print {
  body.am-printing > *:not(.am-overlay) { display: none !important; }
  body.am-printing .am-overlay { position: static; display: block; padding: 0; background: none; backdrop-filter: none; }
  body.am-printing .am { max-width: none; max-height: none; box-shadow: none; border-radius: 0; overflow: visible; }
  body.am-printing .am-top, body.am-printing .am-prog, body.am-printing .am-sent, body.am-printing .am-noprint, body.am-printing .am-rdv-cta button { display: none !important; }
  body.am-printing .am-body { overflow: visible; }
  body.am-printing .am-report { padding: 0; }
  body.am-printing .am-print-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 2px solid #304BFE; font-size: 0.8rem; color: #5F667D; text-align: right; }
  body.am-printing .am-print-head img { height: 28px; }
  body.am-printing .am-cmp, body.am-printing .am-rdv, body.am-printing .am-wh, body.am-printing .am-gap, body.am-printing .am-intro, body.am-printing .am-pt { break-inside: avoid; }
  body.am-printing h3 { break-after: avoid; }
  /* À l'impression, garder la mise en page ordinateur (pas la version mobile) */
  body.am-printing .am-gap { grid-template-columns: repeat(3, 1fr) !important; }
  body.am-printing .am-score, body.am-printing .am-score.one { grid-template-columns: 0.9fr 1.3fr !important; }
  body.am-printing .am-cmp-bars > div { grid-template-columns: 1fr 190px !important; gap: 12px !important; }
  body.am-printing .am-rdv-in { flex-direction: row !important; }
  body.am-printing .am-intro { flex-wrap: nowrap !important; }
  body.am-printing .am-badge { border-left: 1px solid #D9E0FF !important; padding: 6px 4px 0 14px !important; text-align: center !important; }
  body.am-printing .am-ias.big { grid-template-columns: repeat(4, 1fr) !important; }
  body.am-printing .am-sec { margin-top: 26px; }
  body.am-printing .am-cmp { padding: 12px 0; }
  body.am-printing * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.am-printing .am-cmp-bars i { transition: none; max-width: 100%; }
  /* Lien de réservation : un vrai lien, cliquable dans le PDF téléchargé */
  body.am-printing .am-print-link { display: inline-block !important; color: #fff; font-size: 0.95rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
}

/* ---------- Site, IA, diagnostic ---------- */
.am-score.one { grid-template-columns: 0.9fr 1.3fr; margin-top: 18px; }
.am-pils { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.am-sec .am-pils { margin-top: 12px; }
.am-pil > div:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: 0.86rem; margin-bottom: 6px; }
.am-pil small { color: var(--mut); }
.am-pil b { font-family: var(--font-heading); font-weight: 700; }
.am-pil .am-meter { margin-top: 0; }
.am-meter.ok i { background: var(--ok); } .am-meter.mid i { background: #FF9F43; } .am-meter.ko i { background: #FF6B6B; }
.am-prof { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.am-serp { position: relative; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.05); font-family: Arial, Helvetica, sans-serif; }
.am-serp p { margin: 0; }
.am-serp-u { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: #4D5156; }
.am-fav { width: 22px; height: 22px; border-radius: 50%; background: #EEF1FF; color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.75rem; }
.am-serp-t { margin-top: 6px !important; font-size: 1.15rem; color: #1A0DAB; }
.am-serp-d { margin-top: 3px !important; font-size: 0.85rem; color: #4D5156; line-height: 1.45; }
.am-tag { position: absolute; top: 12px; right: 12px; padding: 3px 9px; border-radius: 6px; background: var(--soft); color: var(--brand); font: 600 0.72rem var(--font); }
.am-pts { margin-top: 6px; }
.am-pt { padding: 14px 0; border-bottom: 1px solid var(--line); }
.am-pt:last-child { border-bottom: 0; }
.am-pt .am-cmp-h { margin-bottom: 4px; }
.am-pt .am-cmp-h b span { font-weight: 400; color: var(--mut); }
.am-pt p { margin: 0; font-size: 0.88rem; color: var(--mut); line-height: 1.55; }
/* IA */
.am-ia-v { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.am-ia-v > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; }
.am-ia-no { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; color: var(--ko); }
.am-ia-n { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.am-chat { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.am-chat-h { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; }
.am-chat-h img, .am-ias img { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; }
.am-q { margin: 14px 14px 0 auto !important; max-width: 80%; width: fit-content; padding: 10px 14px; border-radius: 16px; background: #F1F1F1; font-size: 0.9rem; }
.am-a { padding: 12px 16px 14px; font-size: 0.9rem; line-height: 1.55; }
.am-a p { margin: 0 0 8px; }
.am-ia-list { margin: 0 0 8px; padding-left: 20px; }
.am-ia-list li { margin-bottom: 4px; }
.am-ia-list.blur li { filter: blur(5px); user-select: none; }
.am-ias { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.am-ias span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.84rem; color: var(--mut); }
.am-ias span svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.am-ias.big { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-top: 12px; }
.am-ias.big span { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; color: var(--ink); font-weight: 600; }
.am-ias.big small { font-weight: 400; color: var(--mut); font-size: 0.76rem; }
.am-ia-badge { font-size: 2.4rem !important; }
/* Diagnostic */
.am-prio { list-style: none; margin: 12px 0 0; padding: 0; }
.am-prio li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.am-prio li:last-child { border-bottom: 0; }
.am-prio .am-rk { flex-shrink: 0; background: var(--soft); border-color: #D9E0FF; color: var(--brand); }
.am-prio b { display: block; font-size: 0.97rem; }
.am-prio p { margin: 4px 0 0; font-size: 0.88rem; color: var(--mut); line-height: 1.55; }
@media (max-width: 760px) {
  .am-score.one, .am-ia-v { grid-template-columns: 1fr; }
  .am-ias.big { grid-template-columns: 1fr 1fr; }
  .am-tag { position: static; display: inline-block; margin-top: 8px; }
}
.am-gcard.top { margin: 0 0 16px; padding: 10px; box-shadow: none; }
.am-gcard.top .am-gmap { width: 52px; height: 52px; }

/* Bouton de l'étape score toujours visible : il reste collé en bas de la fenêtre
   quand le contenu dépasse (écrans de portable de 13 pouces, mobiles). */
#am-go2, #am-go3 { position: sticky; bottom: 12px; z-index: 2; box-shadow: 0 10px 26px rgba(48, 75, 254, 0.35); }
@media (max-height: 860px) { .am-pad { padding: 22px 28px; } }
