/* Haiti E-Réputation — Public CSS */
/* Variables */
#her-tool-root {
  --her-bg:      #07090F;
  --her-card:    #0F1420;
  --her-card2:   #141B2D;
  --her-border:  #1E2840;
  --her-accent:  #00D4A8;
  --her-accent2: #0EA5E9;
  --her-gold:    #F59E0B;
  --her-red:     #EF4444;
  --her-text:    #E2E8F8;
  --her-muted:   #8892A4;
  --her-muted2:  #5A6475;
  --her-font:    'Syne', 'Segoe UI', sans-serif;
  --her-mono:    'DM Mono', 'Courier New', monospace;
  --her-body:    'Instrument Sans', 'Helvetica Neue', sans-serif;
}

/* Base */
#her-tool-root * { box-sizing: border-box; margin: 0; padding: 0; }
#her-tool-root { background: var(--her-bg); color: var(--her-text); font-family: var(--her-body); border-radius: 16px; overflow: hidden; position: relative; padding-bottom: 3.5rem; }
#her-tool-root a { color: inherit; text-decoration: none; }

/* ── Nav tabs ── */
.her-nav-tabs { position: absolute; bottom: 0; left: 0; right: 0; display: flex; border-top: 1px solid var(--her-border); background: rgba(7,9,15,.9); backdrop-filter: blur(8px); }
.her-tab { flex: 1; padding: .85rem 1rem; font-family: var(--her-font); font-weight: 600; font-size: .82rem; background: transparent; border: none; color: var(--her-muted); cursor: pointer; letter-spacing: .01em; transition: color .2s; }
.her-tab:hover { color: var(--her-text); }
.her-tab.active { color: var(--her-accent); }

/* ── States ── */
.her-state { padding: 2.5rem 2rem 1rem; }

/* ── Hero ── */
.her-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--her-mono); font-size: .7rem; color: var(--her-accent); letter-spacing: .12em; text-transform: uppercase; background: rgba(0,212,168,.06); border: 1px solid rgba(0,212,168,.2); border-radius: 100px; padding: 4px 12px; margin-bottom: 1.4rem; }
.her-eyebrow::before { content:''; width:5px; height:5px; background:var(--her-accent); border-radius:50%; }
.her-hero-title { font-family: var(--her-font); font-size: clamp(1.8rem,5vw,3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 1rem; }
.her-hero-title em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--her-accent); }
.her-hero-sub { font-size: .95rem; color: var(--her-muted); line-height: 1.7; max-width: 520px; margin-bottom: 2rem; }
.her-hero { text-align: center; margin: 0 auto; max-width: 680px; }

/* ── Scan box ── */
.her-scan-box { background: var(--her-card); border: 1px solid var(--her-border); border-radius: 14px; padding: 1.5rem; max-width: 620px; margin: 0 auto 1rem; transition: border-color .3s; }
.her-scan-box:focus-within { border-color: rgba(0,212,168,.4); }
.her-label { font-family: var(--her-mono); font-size: .68rem; color: var(--her-muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .7rem; display: block; }
.her-scan-row { display: flex; gap: 8px; }
.her-hint { font-size: .75rem; color: var(--her-muted2); text-align: center; margin-top: .7rem; }
.her-link { color: var(--her-muted); text-decoration: underline; cursor: pointer; }
.her-scan-error { margin-top: .8rem; padding: .6rem 1rem; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25); border-radius: 8px; font-size: .82rem; color: var(--her-red); }

/* ── Inputs ── */
.her-input { flex: 1; background: rgba(10,13,23,.8); border: 1px solid var(--her-border); border-radius: 10px; padding: .75rem 1rem; color: var(--her-text); font-family: var(--her-body); font-size: .9rem; outline: none; transition: border-color .2s; width: 100%; }
.her-input::placeholder { color: var(--her-muted2); }
.her-input:focus { border-color: rgba(0,212,168,.5); }

/* ── Buttons ── */
.her-btn-primary { background: var(--her-accent); color: #071010; font-family: var(--her-font); font-weight: 700; font-size: .88rem; border: none; border-radius: 10px; padding: .75rem 1.4rem; cursor: pointer; white-space: nowrap; transition: all .2s; text-decoration: none; display: inline-block; }
.her-btn-primary:hover { background: #00EFC0; transform: translateY(-1px); }
.her-btn-primary:active { transform: translateY(0); }
.her-btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.her-btn-outline { background: transparent; border: 1px solid var(--her-border); color: var(--her-text); font-family: var(--her-font); font-weight: 600; font-size: .85rem; border-radius: 10px; padding: .7rem 1.3rem; cursor: pointer; transition: all .2s; }
.her-btn-outline:hover { border-color: var(--her-accent); color: var(--her-accent); }
.her-btn-sm { padding: .45rem .9rem; font-size: .75rem; }

/* ── Progress card ── */
.her-progress-card { position:relative; overflow:hidden; background: var(--her-card); border: 1px solid var(--her-border); border-radius: 14px; padding: 2rem; max-width: 620px; margin: 0 auto; min-height: 360px; }
.her-scan-stage { position:relative; z-index:1; transition: filter .35s ease, opacity .35s ease, transform .35s ease; }
.her-progress-card.her-overlay-active .her-scan-stage { filter: blur(8px); opacity: .18; transform: scale(.985); pointer-events:none; user-select:none; }
.her-scan-header { display: flex; align-items: center; gap: 12px; margin-bottom: 1.5rem; }
.her-spinner { width: 18px; height: 18px; border: 2px solid var(--her-border); border-top-color: var(--her-accent); border-radius: 50%; animation: her-spin .8s linear infinite; flex-shrink: 0; }
@keyframes her-spin { to { transform: rotate(360deg); } }
.her-scan-label-sm { font-family: var(--her-mono); font-size: .68rem; color: var(--her-muted); letter-spacing: .1em; margin-bottom: 2px; }
.her-scan-domain { font-family: var(--her-mono); font-size: .88rem; color: var(--her-accent); }
.her-steps { display: flex; flex-direction: column; gap: 5px; }
.her-step { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; transition: all .3s; }
.her-step.waiting { opacity: .35; }
.her-step.active { background: rgba(0,212,168,.06); border-left: 2px solid var(--her-accent); }
.her-step.done { opacity: .65; }
.her-step-icon { width: 26px; height: 26px; background: rgba(255,255,255,.05); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.her-step-text { flex: 1; font-size: .82rem; }
.her-step-status { font-family: var(--her-mono); font-size: .7rem; color: var(--her-muted2); }
.her-step.active .her-step-status { color: var(--her-gold); animation: her-blink 1s ease-in-out infinite; }
.her-step.done .her-step-status { color: var(--her-accent); }
@keyframes her-blink { 0%,100%{opacity:1} 50%{opacity:.4} }
.her-progress-bar { height: 3px; background: var(--her-border); border-radius: 2px; margin-top: 1.5rem; overflow: hidden; }
.her-progress-fill { height: 100%; background: linear-gradient(90deg,var(--her-accent),var(--her-accent2)); border-radius: 2px; transition: width .6s ease; width: 0; }

/* ── Score hero ── */
.her-score-hero { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; background: var(--her-card); border: 1px solid var(--her-border); border-radius: 14px; padding: 1.5rem; margin-bottom: 1.2rem; }
.her-gauge-wrap { display: flex; justify-content: center; align-items: center; }
.her-gauge { width: 130px; height: 130px; }
.her-gauge-track { fill: none; stroke: var(--her-border); stroke-width: 10; stroke-linecap: round; }
.her-gauge-fill { fill: none; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 308; stroke-dashoffset: 308; }
.her-gauge-num { font-family: var(--her-font); font-size: 28px; font-weight: 800; fill: var(--her-text); text-anchor: middle; dominant-baseline: central; }
.her-gauge-sub { font-family: var(--her-mono); font-size: 9px; fill: var(--her-muted); text-anchor: middle; dominant-baseline: central; }
.her-res-domain { font-family: var(--her-mono); font-size: .72rem; color: var(--her-accent); margin-bottom: .4rem; }
.her-res-title { font-family: var(--her-font); font-weight: 700; font-size: 1.1rem; margin-bottom: .6rem; }
.her-verdict-excellent { color: var(--her-accent); }
.her-verdict-good      { color: #3B82F6; }
.her-verdict-avg       { color: var(--her-gold); }
.her-verdict-bad       { color: var(--her-red); }
.her-res-synthesis { font-size: .82rem; color: var(--her-muted); line-height: 1.6; margin-bottom: .8rem; }
.her-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.her-tag { font-family: var(--her-mono); font-size: .65rem; padding: 3px 9px; border-radius: 100px; letter-spacing: .04em; }
.her-tag-ok   { background: rgba(0,212,168,.08); color: var(--her-accent); border: 1px solid rgba(0,212,168,.2); }
.her-tag-warn { background: rgba(245,158,11,.1); color: var(--her-gold); border: 1px solid rgba(245,158,11,.2); }
.her-tag-bad  { background: rgba(239,68,68,.08); color: var(--her-red); border: 1px solid rgba(239,68,68,.18); }

/* ── Ranking banner ── */
.her-ranking-banner { display: flex; align-items: center; gap: 1rem; background: linear-gradient(135deg,rgba(14,165,233,.07),rgba(0,212,168,.04)); border: 1px solid rgba(14,165,233,.18); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.her-ranking-icon { font-size: 1.4rem; flex-shrink: 0; }
.her-ranking-text { flex: 1; font-size: .82rem; color: var(--her-muted); line-height: 1.5; }
.her-ranking-text strong { color: var(--her-text); display: block; font-family: var(--her-font); font-weight: 600; font-size: .88rem; margin-bottom: 2px; }

/* ── Section title ── */
.her-section-title { font-family: var(--her-font); font-weight: 700; font-size: .85rem; color: var(--her-muted); text-transform: uppercase; letter-spacing: .08em; margin: 1.5rem 0 .9rem; }

/* ── Module cards ── */
.her-modules-grid { display: grid; grid-template-columns: 1fr; gap: .9rem; margin-bottom: 1.2rem; }
.her-module-card { background: var(--her-card); border: 1px solid var(--her-border); border-radius: 12px; padding: 1.1rem 1.1rem 1rem; }
.her-module-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; font-size: 1.1rem; }
.her-module-badge { font-family: var(--her-mono); font-weight: 500; font-size: .78rem; padding: 2px 9px; border-radius: 100px; }
.her-badge-good { background: rgba(0,212,168,.1); color: var(--her-accent); border: 1px solid rgba(0,212,168,.2); }
.her-badge-avg  { background: rgba(245,158,11,.1); color: var(--her-gold); border: 1px solid rgba(245,158,11,.2); }
.her-badge-bad  { background: rgba(239,68,68,.08); color: var(--her-red); border: 1px solid rgba(239,68,68,.18); }
.her-module-name { font-family: var(--her-font); font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.her-module-detail { font-size: .75rem; color: var(--her-muted); line-height: 1.6; margin-bottom: .55rem; min-height: 0; }
.her-bar-wrap { height: 3px; background: var(--her-border); border-radius: 2px; overflow: hidden; }
.her-bar { height: 100%; border-radius: 2px; transition: width 1.2s ease; width: 0; }
.her-bar-good { background: var(--her-accent); }
.her-bar-avg  { background: var(--her-gold); }
.her-bar-bad  { background: var(--her-red); }

/* ── Locked section ── */
.her-locked-section { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 1.2rem; }
.her-locked-content { background: var(--her-card); border: 1px solid var(--her-border); border-radius: 12px; padding: 1.5rem; filter: blur(5px); user-select: none; pointer-events: none; }
.her-locked-row { display: flex; gap: 8px; align-items: center; margin-bottom: .7rem; }
.her-locked-bar { height: 10px; border-radius: 4px; background: var(--her-border); }
.her-lock-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 2rem; text-align: center; }
.her-lock-icon { font-size: 1.5rem; }
.her-lock-title { font-family: var(--her-font); font-weight: 700; font-size: .95rem; }
.her-lock-sub { font-size: .78rem; color: var(--her-muted); }

/* ── Email gate ── */
.her-email-gate { background: linear-gradient(135deg,rgba(0,212,168,.08),rgba(14,165,233,.05)); border: 1px solid rgba(0,212,168,.2); border-radius: 14px; padding: 1.8rem; margin-bottom: 1.2rem; text-align: center; }
.her-email-gate-title { font-family: var(--her-font); font-weight: 700; font-size: 1.05rem; margin-bottom: .4rem; }
.her-email-gate-sub { font-size: .82rem; color: var(--her-muted); margin-bottom: 1.2rem; line-height: 1.5; }
.her-email-row { display: flex; gap: 8px; max-width: 420px; margin: 0 auto .7rem; }
.her-email-msg { padding: .6rem 1rem; border-radius: 8px; font-size: .82rem; margin-bottom: .7rem; }
.her-email-msg-ok    { background: rgba(0,212,168,.1); color: var(--her-accent); border: 1px solid rgba(0,212,168,.2); }
.her-email-msg-error { background: rgba(239,68,68,.1); color: var(--her-red); border: 1px solid rgba(239,68,68,.2); }
.her-email-opts { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .73rem; color: var(--her-muted2); flex-wrap: wrap; }
.her-checkbox-label { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.her-checkbox-label input[type=checkbox] { accent-color: var(--her-accent); }
.her-gate-sent .her-email-row,.her-gate-sent .her-email-opts { opacity: .4; pointer-events: none; }

/* ── CTA card ── */
.her-cta-card { background: var(--her-card2); border: 1px solid var(--her-border); border-radius: 14px; padding: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.her-cta-text h3 { font-family: var(--her-font); font-weight: 700; font-size: 1rem; margin-bottom: .35rem; }
.her-cta-text p { font-size: .8rem; color: var(--her-muted); line-height: 1.5; }
.her-cta-actions { display: flex; gap: .6rem; flex-shrink: 0; flex-wrap: wrap; }

/* ── Classement ── */
.her-classement-hero { text-align: center; margin-bottom: 2rem; }
.her-classement-meta { display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap; font-family: var(--her-mono); font-size: .68rem; color: var(--her-muted2); margin-top: 1rem; }
.her-classement-meta span { display: flex; align-items: center; gap: 4px; }

/* Podium */
.her-podium { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: .9rem; margin-bottom: 1.5rem; align-items: end; }
.her-podium-card { background: var(--her-card); border: 1px solid var(--her-border); border-radius: 12px; padding: 1.1rem 1rem; text-align: center; position: relative; overflow: hidden; }
.her-podium-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; }
.her-podium-1::before { background: linear-gradient(90deg,#F59E0B,#FCD34D); }
.her-podium-1 { border-color: rgba(245,158,11,.3); }
.her-podium-2::before { background: linear-gradient(90deg,#94A3B8,#CBD5E1); }
.her-podium-3::before { background: linear-gradient(90deg,#92400E,#D97706); }
.her-podium-badge { font-family: var(--her-mono); font-size: .62rem; letter-spacing: .08em; padding: 2px 8px; border-radius: 100px; display: inline-block; margin-bottom: .7rem; }
.rank-gold   { background:rgba(245,158,11,.15); color:#F59E0B; border:1px solid rgba(245,158,11,.3); }
.rank-silver { background:rgba(148,163,184,.12); color:#CBD5E1; border:1px solid rgba(148,163,184,.25); }
.rank-bronze { background:rgba(180,83,9,.12); color:#D97706; border:1px solid rgba(180,83,9,.25); }
.her-podium-logo { width: 40px; height: 40px; border-radius: 8px; margin: 0 auto .6rem; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; font-family: var(--her-font); }
.her-podium-name { font-family: var(--her-font); font-weight: 700; font-size: .88rem; margin-bottom: .2rem; }
.her-podium-domain { font-family: var(--her-mono); font-size: .62rem; color: var(--her-muted2); margin-bottom: .6rem; }
.her-podium-score { font-family: var(--her-font); font-weight: 800; font-size: 1.7rem; margin-bottom: .2rem; }
.score-gold { color: #F59E0B; }
.score-silver { color: #94A3B8; }
.score-bronze { color: #D97706; }
.her-podium-sector { font-size: .68rem; color: var(--her-muted); }

/* Filters */
.her-filters-bar { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.her-filter-search { max-width: 200px; }
.her-filter-btn { font-family: var(--her-mono); font-size: .68rem; letter-spacing: .05em; padding: 4px 10px; border-radius: 100px; cursor: pointer; border: 1px solid var(--her-border); background: transparent; color: var(--her-muted); transition: all .2s; }
.her-filter-btn:hover { border-color: var(--her-muted); color: var(--her-text); }
.her-filter-btn.active { background: rgba(0,212,168,.1); border-color: rgba(0,212,168,.35); color: var(--her-accent); }

/* Leaderboard table */
.her-table-wrap { background: var(--her-card); border: 1px solid var(--her-border); border-radius: 12px; overflow: hidden; margin-bottom: 1.2rem; }
.her-lb-table { width: 100%; border-collapse: collapse; }
.her-lb-table th { font-family: var(--her-mono); font-size: .63rem; letter-spacing: .1em; color: var(--her-muted2); text-transform: uppercase; text-align: left; padding: .65rem 1rem; border-bottom: 1px solid var(--her-border); }
.her-lb-table tbody tr { border-bottom: 1px solid rgba(30,40,64,.5); transition: background .15s; }
.her-lb-table tbody tr:hover { background: rgba(255,255,255,.025); }
.her-lb-table td { padding: .8rem 1rem; font-size: .83rem; vertical-align: middle; }
.her-td-rank { font-family: var(--her-mono); font-weight: 500; font-size: .78rem; color: var(--her-muted); width: 36px; }
.her-td-move { font-family: var(--her-mono); font-size: .68rem; width: 32px; text-align: center; }
.her-td-move.up   { color: var(--her-accent); }
.her-td-move.down { color: var(--her-red); }
.her-td-move.same { color: var(--her-muted2); }
.her-company-cell { display: flex; align-items: center; gap: 8px; }
.her-company-logo { width: 30px; height: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; font-family: var(--her-font); flex-shrink: 0; }
.her-company-name { font-family: var(--her-font); font-weight: 600; font-size: .85rem; margin-bottom: 1px; }
.her-company-domain { font-family: var(--her-mono); font-size: .62rem; color: var(--her-muted2); }
.her-verified { font-family: var(--her-mono); font-size: .6rem; background: rgba(0,212,168,.1); color: var(--her-accent); border: 1px solid rgba(0,212,168,.2); border-radius: 4px; padding: 0 5px; vertical-align: middle; }
.her-sector-pill { font-family: var(--her-mono); font-size: .62rem; padding: 2px 8px; border-radius: 100px; letter-spacing: .04em; }
.her-sp-finance   { background:rgba(0,212,168,.08); color:var(--her-accent); border:1px solid rgba(0,212,168,.18); }
.her-sp-telecom   { background:rgba(239,68,68,.08); color:#FCA5A5; border:1px solid rgba(239,68,68,.18); }
.her-sp-tech      { background:rgba(14,165,233,.1); color:#7DD3FC; border:1px solid rgba(14,165,233,.2); }
.her-sp-medias,.her-sp-media { background:rgba(168,85,247,.1); color:#C4B5FD; border:1px solid rgba(168,85,247,.2); }
.her-sp-commerce  { background:rgba(245,158,11,.1); color:#FCD34D; border:1px solid rgba(245,158,11,.2); }
.her-sp-education { background:rgba(34,197,94,.08); color:#86EFAC; border:1px solid rgba(34,197,94,.18); }
.her-sp-sante     { background:rgba(236,72,153,.08); color:#F9A8D4; border:1px solid rgba(236,72,153,.18); }
.her-sp-tourisme  { background:rgba(249,115,22,.1); color:#FDBA74; border:1px solid rgba(249,115,22,.2); }
.her-sp-autre     { background:rgba(255,255,255,.06); color:var(--her-muted); border:1px solid var(--her-border); }
.her-score-bar-wrap { display:inline-block; height:4px; width:70px; background:var(--her-border); border-radius:2px; vertical-align:middle; overflow:hidden; margin-right:6px; }
.her-score-bar-fill { display:block; height:100%; border-radius:2px; }
.her-score-num { font-family: var(--her-mono); font-weight: 500; font-size: .8rem; }
.her-score-num.her-score-good { color: var(--her-accent); }
.her-score-num.her-score-avg  { color: var(--her-gold); }
.her-score-num.her-score-bad  { color: var(--her-red); }
.her-table-footer { display:flex; align-items:center; justify-content:space-between; padding:.8rem 1.1rem; border-top:1px solid var(--her-border); font-size:.72rem; color:var(--her-muted2); font-family:var(--her-mono); }
.her-loading-row { text-align:center; padding:1.5rem; color:var(--her-muted); }

/* Join CTA */
.her-join-cta { background: linear-gradient(135deg,rgba(0,212,168,.08),rgba(14,165,233,.05)); border: 1px solid rgba(0,212,168,.2); border-radius: 12px; padding: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.her-join-cta h3 { font-family: var(--her-font); font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
.her-join-cta p { font-size: .8rem; color: var(--her-muted); line-height: 1.5; }
.her-join-chip { font-family: var(--her-mono); font-size: .63rem; background: rgba(245,158,11,.1); color: var(--her-gold); border: 1px solid rgba(245,158,11,.2); border-radius: 100px; padding: 2px 10px; display: inline-block; margin-bottom: .4rem; }
.her-join-actions { display: flex; gap: .6rem; flex-shrink: 0; }

.her-module-sources { display:flex; flex-wrap:wrap; gap:5px; margin-top:6px; }
.her-source-link { font-family:var(--her-mono); font-size:.62rem; color:var(--her-accent2); border:1px solid rgba(14,165,233,.25); border-radius:4px; padding:2px 7px; text-decoration:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; display:inline-block; transition:background .15s; }
.her-source-link:hover { background:rgba(14,165,233,.1); }

.her-module-sources { display:flex; flex-wrap:wrap; gap:5px; margin-top:6px; }
.her-source-link { font-family:var(--her-mono); font-size:.62rem; color:var(--her-accent2); border:1px solid rgba(14,165,233,.25); border-radius:4px; padding:2px 7px; text-decoration:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; display:inline-block; transition:background .15s; }
.her-source-link:hover { background:rgba(14,165,233,.1); }

/* Discussion card */
.her-discuss-card { background:var(--her-card2); border:1px solid var(--her-border); border-radius:14px; padding:1.4rem; margin-bottom:1.2rem; }
.her-discuss-header { display:flex; align-items:flex-start; gap:12px; margin-bottom:1rem; }
.her-discuss-icon { font-size:1.4rem; flex-shrink:0; margin-top:2px; }
.her-discuss-title { font-family:var(--her-font); font-weight:600; font-size:.9rem; margin-bottom:.25rem; }
.her-discuss-sub { font-size:.78rem; color:var(--her-muted); line-height:1.5; }
.her-discuss-card textarea.her-input { font-family:var(--her-body); font-size:.85rem; line-height:1.5; }

/* Haitian badge card */
.her-haitian-card { background:var(--her-card); border:1px solid var(--her-border); border-radius:12px; padding:1rem 1.2rem; margin-bottom:1.2rem; }
.her-haitian-badge { display:inline-flex; align-items:center; gap:6px; border-radius:100px; padding:4px 14px; font-family:var(--her-mono); font-size:.7rem; letter-spacing:.06em; }
.her-haitian-badge.ok   { background:rgba(0,212,168,.1); color:var(--her-accent); border:1px solid rgba(0,212,168,.25); }
.her-haitian-badge.warn { background:rgba(245,158,11,.1); color:var(--her-gold); border:1px solid rgba(245,158,11,.25); }

/* ── Waiting overlay (after steps complete, real scan still running) ── */
.her-waiting-overlay {
  position:absolute;
  inset:0;
  z-index:4;
  display:none;
  align-items:center;
  justify-content:center;
  padding:1.2rem;
  background:rgba(7,9,15,.26);
  backdrop-filter:blur(10px);
  animation:her-overlay-in .28s ease-out;
}
.her-waiting-panel {
  width:min(100%, 440px);
  background:linear-gradient(145deg, rgba(15,20,32,.96), rgba(20,27,45,.94));
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:1.35rem 1.2rem 1.1rem;
  box-shadow:0 18px 48px rgba(0,0,0,.35);
}
.her-waiting-eyebrow {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--her-mono);
  font-size:.64rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--her-accent);
  margin-bottom:.75rem;
}
.her-waiting-eyebrow::before {
  content:'';
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--her-accent);
  box-shadow:0 0 0 6px rgba(0,212,168,.12);
}
.her-waiting-title {
  font-family:var(--her-font);
  font-size:1.02rem;
  font-weight:700;
  line-height:1.3;
  margin-bottom:.95rem;
  color:var(--her-text);
}
.her-waiting-row { display:flex; align-items:flex-start; gap:12px; margin-bottom:.45rem; }
.her-waiting-dots { display:flex; gap:5px; flex-shrink:0; padding-top:6px; }
.her-waiting-dots span { width:7px; height:7px; border-radius:50%; background:var(--her-accent); opacity:.3; animation:her-dot-pulse 1.4s ease-in-out infinite; }
.her-waiting-dots span:nth-child(2) { animation-delay:.2s; }
.her-waiting-dots span:nth-child(3) { animation-delay:.4s; }
@keyframes her-dot-pulse { 0%,80%,100%{opacity:.3;transform:scale(.8)} 40%{opacity:1;transform:scale(1)} }
@keyframes her-overlay-in { from { opacity:0; transform:scale(.98); } to { opacity:1; transform:none; } }
@keyframes her-shimmer { 0% { transform:translateX(-100%); } 100% { transform:translateX(220%); } }
.her-waiting-msg,
.her-waiting-sub {
  transition:opacity .26s ease, transform .26s ease;
}
.her-waiting-msg {
  font-family:var(--her-font);
  font-size:.96rem;
  font-weight:600;
  color:var(--her-text);
  line-height:1.45;
}
.her-waiting-msg.her-fade,
.her-waiting-sub.her-fade { opacity:0; transform:translateY(3px); }
.her-waiting-sub {
  font-family:var(--her-mono);
  font-size:.67rem;
  color:var(--her-muted2);
  letter-spacing:.04em;
  line-height:1.5;
  padding-left:24px;
  min-height:2.2em;
}
.her-waiting-note {
  margin-top:.8rem;
  font-size:.76rem;
  color:var(--her-muted);
  line-height:1.6;
}
.her-waiting-shimmer {
  position:relative;
  margin-top:.95rem;
  height:3px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  overflow:hidden;
}
.her-waiting-shimmer::after {
  content:'';
  position:absolute;
  inset:0 auto 0 -35%;
  width:35%;
  background:linear-gradient(90deg, rgba(255,255,255,0), rgba(0,212,168,.85), rgba(255,255,255,0));
  animation:her-shimmer 1.8s linear infinite;
}

/* ── Responsive ── */
@media(max-width:560px){
  .her-state { padding: 1.5rem 1rem 1rem; }
  .her-score-hero { grid-template-columns: 1fr; }
  .her-gauge-wrap { justify-content: center; margin-bottom: .5rem; }
  .her-modules-grid { grid-template-columns: 1fr; }
  .her-cta-card { flex-direction: column; }
  .her-email-row { flex-direction: column; }
  .her-podium { grid-template-columns: 1fr; }
  .her-podium-1 { order: -1; }
  .her-scan-row { flex-direction: column; }
  .her-join-cta { flex-direction: column; }
}

.her-method-card {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, rgba(14,165,233,.06), rgba(255,255,255,.02));
}
.her-method-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.her-method-title {
  font-family:var(--her-font);
  font-size:.92rem;
  font-weight:700;
  color:var(--her-text);
  margin-bottom:4px;
}
.her-method-summary {
  font-size:.76rem;
  line-height:1.6;
  color:var(--her-muted);
}
.her-method-detail {
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.06);
}
.her-method-list {
  margin:0;
  padding-left:18px;
  color:var(--her-text);
  font-size:.76rem;
  line-height:1.65;
}
.her-method-list li + li { margin-top:6px; }
.her-method-links {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:10px;
  font-size:.75rem;
}
.her-consent-row {
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:12px;
  font-size:.75rem;
  line-height:1.55;
  color:var(--her-text);
}
.her-consent-row input { margin-top:2px; }
.her-method-error {
  margin-top:10px;
  font-size:.74rem;
  color:#FCA5A5;
  background:rgba(239,68,68,.08);
  border:1px solid rgba(239,68,68,.25);
  border-radius:8px;
  padding:8px 10px;
}
@media(max-width:560px){
  .her-method-head { flex-direction:column; }
}

.her-method-card {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, rgba(14,165,233,.06), rgba(255,255,255,.02));
}
.her-method-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.her-method-title { font-family:var(--her-font); font-size:.92rem; font-weight:700; color:var(--her-text); margin-bottom:4px; }
.her-method-summary { font-size:.76rem; line-height:1.6; color:var(--her-muted); }
.her-method-detail { margin-top:12px; padding-top:12px; border-top:1px solid rgba(255,255,255,.06); }
.her-method-list { margin:0; padding-left:18px; color:var(--her-text); font-size:.76rem; line-height:1.65; }
.her-method-list li + li { margin-top:6px; }
.her-method-links { display:flex; flex-wrap:wrap; gap:12px; margin-top:10px; font-size:.75rem; }
.her-consent-row { display:flex; align-items:flex-start; gap:10px; margin-top:12px; font-size:.75rem; line-height:1.55; color:var(--her-text); }
.her-consent-row input { margin-top:2px; }
.her-method-error { margin-top:10px; font-size:.74rem; color:#FCA5A5; background:rgba(239,68,68,.08); border:1px solid rgba(239,68,68,.25); border-radius:8px; padding:8px 10px; }
@media(max-width:560px){ .her-method-head { flex-direction:column; } }
