/* =============================================================
   BotIdentifier â€” Public Stylesheet v2 (Design System)
   Dark-first, token-driven, cockpit architecture.
   Depends on: tokens.css (loaded first via wp_enqueue_style)
   ============================================================= */

/* â”€â”€ Legacy Compat â€” map old variable names to new tokens â”€ */
:root {
  --bi-color-primary:       var(--bi-brand-primary);
  --bi-color-primary-dark:  var(--bi-brand-primary-hover);
  --bi-color-primary-light: var(--bi-brand-primary-hover);
  --bi-color-accent:        var(--bi-brand-accent);
  --bi-color-gray:          var(--bi-score-insufficient);
  --bi-color-yellow:        var(--bi-score-low);
  --bi-color-orange:        var(--bi-score-moderate);
  --bi-color-red:           var(--bi-score-high);
  --bi-color-darkred:       var(--bi-score-confirmed);
  --bi-color-green:         var(--bi-success);
  --bi-bg:                  var(--bi-bg-base);
  --bi-bg-card:             var(--bi-bg-surface);
  --bi-bg-muted:            var(--bi-bg-raised);
  --bi-text:                var(--bi-text-primary);
  --bi-text-muted:          var(--bi-text-tertiary);
  --bi-font:                var(--bi-font-sans);
  --bi-radius:              var(--bi-radius-md);
  --bi-radius-pill:         var(--bi-radius-full);
  --bi-shadow:              var(--bi-shadow-sm);
  --bi-shadow-lg:           var(--bi-shadow-md);
  --bi-border-focus:        var(--bi-brand-primary);
}

/* â”€â”€ Google Fonts â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600;700;800;900&display=swap');

/* â”€â”€ Base Reset â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after { box-sizing: border-box; }

/* â”€â”€ Container â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-container {
  max-width: var(--bi-max-width);
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: var(--bi-font);
  color: var(--bi-text);
}

.bi-page-bg {
  background: var(--bi-bg);
  min-height: 100vh;
}

/* â”€â”€ Typography â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-container h1,
.bi-container h2,
.bi-container h3 {
  color: var(--bi-text);
  line-height: 1.3;
}

.bi-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bi-section-subtitle {
  font-size: 0.9rem;
  color: var(--bi-text-secondary);
  margin: -0.5rem 0 1rem;
}

/* â”€â”€ Cards & Panels â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-card {
  background: var(--bi-bg-card);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  box-shadow: var(--bi-shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: box-shadow var(--bi-transition);
}
.bi-card:hover {
  box-shadow: var(--bi-shadow-lg);
}

.bi-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bi-border);
}

/* â”€â”€ Score Badge â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-score-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .7rem;
  border-radius: var(--bi-radius-pill);
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: opacity var(--bi-transition), transform var(--bi-transition);
  letter-spacing: 0.02em;
}
.bi-score-badge:hover { opacity: .85; transform: scale(1.05); }
.bi-band-insufficient { background: var(--bi-color-gray); }
.bi-band-low          { background: var(--bi-color-yellow); color: #000; }
.bi-band-moderate     { background: var(--bi-color-orange); }
.bi-band-high         { background: var(--bi-color-red); }
.bi-band-confirmed    { background: var(--bi-color-darkred); }

.bi-score-badge-lg {
  font-size: 1rem;
  padding: .5rem 1rem;
  border-radius: var(--bi-radius);
}

/* â”€â”€ Platform Badge â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: .2rem .6rem;
  border-radius: var(--bi-radius-pill);
  font-size: .7rem;
  font-weight: 700;
  background: var(--bi-color-primary);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Platform-specific colors */
.bi-platform-twitter-x  { background: #000; }
.bi-platform-facebook   { background: #1877f2; }
.bi-platform-instagram  { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.bi-platform-tiktok     { background: #010101; }
.bi-platform-reddit     { background: #ff4500; }
.bi-platform-telegram   { background: #0088cc; }
.bi-platform-youtube    { background: #ff0000; }
.bi-platform-mastodon   { background: #6364ff; }
.bi-platform-bluesky    { background: #0085ff; }
.bi-platform-linkedin   { background: #0a66c2; }
.bi-platform-threads    { background: #000; }
.bi-platform-discord    { background: #5865f2; }
.bi-platform-truth-social { background: #5448ee; }

/* â”€â”€ Status Pills â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-status-pill {
  display: inline-block;
  font-size: .65rem;
  padding: .15rem .55rem;
  border-radius: var(--bi-radius-pill);
  font-weight: 600;
  vertical-align: middle;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.bi-status-pill--confirmed,
.bi-status-confirmed  { background: #fef2f2; color: var(--bi-color-darkred); border: 1px solid var(--bi-color-darkred); }
.bi-status-pill--unverified,
.bi-status-unverified { background: var(--bi-bg-muted); color: var(--bi-text-secondary); border: 1px solid var(--bi-border); }
.bi-status-pill--banned,
.bi-status-banned     { background: var(--bi-color-darkred); color: #fff; }
.bi-status-pill--suspended,
.bi-status-suspended,
.bi-status-pill--platform-suspended  { background: var(--bi-color-red); color: #fff; }
.bi-status-pill--disputed,
.bi-status-disputed   { background: var(--bi-color-yellow); color: #000; }
.bi-status-pill--deleted,
.bi-status-pill--account-deleted { background: #6b7280; color: #fff; }
.bi-status-pill--active    { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.bi-status-pill--dormant   { background: #fef9c3; color: #854d0e; border: 1px solid #fde047; }
.bi-status-pill--dismantled { background: #e2e8f0; color: #475569; border: 1px solid #94a3b8; }

/* -- Provenance Badges (Seed Data) -------------------------------- */
.bi-provenance-badge {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: var(--bi-radius-pill);
  vertical-align: middle;
  white-space: nowrap;
}
.bi-provenance-badge--case-study {
  background: rgba(34, 211, 238, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.3);
}
.bi-provenance-badge--demo {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Seed-data card visual distinction: subtle left accent bar */
.bi-account-card:has(.bi-provenance-badge--case-study) {
  border-left: 3px solid #22d3ee;
}
.bi-account-card:has(.bi-provenance-badge--demo) {
  border-left: 3px solid #fbbf24;
}


/* â”€â”€ Tags â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-tag {
  display: inline-block;
  background: #eff6ff;
  color: var(--bi-color-primary);
  border: 1px solid #bfdbfe;
  padding: .2rem .6rem;
  border-radius: var(--bi-radius-pill);
  font-size: .75rem;
  font-weight: 500;
  transition: background var(--bi-transition);
}
.bi-tag:hover { background: #dbeafe; }
.bi-tag-sm { font-size: .7rem; padding: .1rem .4rem; }

@media (prefers-color-scheme: dark) {
  .bi-tag {
    background: rgba(96, 165, 250, .15);
    border-color: rgba(96, 165, 250, .3);
  }
  .bi-tag:hover { background: rgba(96, 165, 250, .25); }
}

.bi-tag-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.bi-behaviors { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }

/* â”€â”€ Account Header (Account Page) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-account-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--bi-bg-card);
  border-radius: var(--bi-radius-lg);
  box-shadow: var(--bi-shadow);
  margin-bottom: 1.5rem;
  border: 1px solid var(--bi-border);
}
@media (max-width: 768px) {
  .bi-account-header {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bi-account-header .bi-score-widget { margin: 0 auto; }
}

.bi-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bi-border);
}
.bi-avatar-wrap { position: relative; }
.bi-account-info { min-width: 0; }
.bi-handle {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  word-break: break-word;
  color: var(--bi-text);
}
.bi-account-meta {
  font-size: .85rem;
  color: var(--bi-text-secondary);
  margin: .5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.bi-profile-link {
  font-size: .85rem;
  color: var(--bi-color-primary);
  text-decoration: none;
  transition: color var(--bi-transition);
}
.bi-profile-link:hover {
  color: var(--bi-color-primary-dark);
  text-decoration: underline;
}

/* â”€â”€ Score Widget â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-score-widget {
  border: 3px solid currentColor;
  border-radius: var(--bi-radius-lg);
  padding: 1.25rem 1.5rem;
  text-align: center;
  min-width: 140px;
  background: var(--bi-bg-card);
  transition: transform var(--bi-transition);
}
.bi-score-widget:hover { transform: scale(1.02); }
.bi-score-number {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  font-family: var(--bi-font-mono);
}
.bi-score-label { font-size: .85rem; color: var(--bi-text-muted); margin-top: -.25rem; }
.bi-score-band {
  color: #fff;
  padding: .35rem .8rem;
  border-radius: var(--bi-radius);
  font-size: .75rem;
  font-weight: 700;
  margin-top: .6rem;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.bi-score-explain {
  display: block;
  margin-top: .6rem;
  font-size: .72rem;
  color: var(--bi-color-primary);
  text-decoration: none;
}
.bi-score-explain:hover { text-decoration: underline; }

/* â”€â”€ Score Breakdown Bars â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-score-breakdown,
.bi-network-section,
.bi-reports-section,
.bi-cta-section,
.bi-methodology,
.bi-section {
  background: var(--bi-bg-card);
  border-radius: var(--bi-radius-lg);
  box-shadow: var(--bi-shadow);
  border: 1px solid var(--bi-border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.bi-score-breakdown h2,
.bi-reports-section h2,
.bi-network-section h2,
.bi-cta-section h2,
.bi-methodology h2,
.bi-section h2 {
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.bi-score-bars { display: flex; flex-direction: column; gap: .6rem; }
.bi-score-bar-row {
  display: grid;
  grid-template-columns: 200px 1fr 2.5rem;
  align-items: center;
  gap: .75rem;
}
@media (max-width: 600px) {
  .bi-score-bar-row { grid-template-columns: 1fr; gap: .25rem; }
}
.bi-bar-label { font-size: .8rem; color: var(--bi-text-secondary); }
.bi-bar-track {
  background: var(--bi-bg-muted);
  border-radius: var(--bi-radius-pill);
  height: 10px;
  overflow: hidden;
}
.bi-bar-fill {
  height: 100%;
  border-radius: var(--bi-radius-pill);
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.bi-bar-val {
  font-size: .8rem;
  font-weight: 700;
  text-align: right;
  color: var(--bi-text);
  font-family: var(--bi-font-mono);
}

/* â”€â”€ Network Graph â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-graph-container {
  width: 100%;
  height: 450px;
  background: var(--bi-bg-muted);
  border-radius: var(--bi-radius);
  border: 1px solid var(--bi-border);
  position: relative;
  overflow: hidden;
}
.bi-graph-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--bi-text-muted);
  font-size: 0.9rem;
}

/* â”€â”€ Reports Timeline â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-reports-timeline { display: flex; flex-direction: column; gap: 1rem; }
.bi-report-card {
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius);
  padding: 1.25rem;
  background: var(--bi-bg-card);
  transition: border-color var(--bi-transition);
}
.bi-report-card:hover { border-color: var(--bi-color-primary); }
.bi-report-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}
.bi-report-date, .bi-report-freq { font-size: .8rem; color: var(--bi-text-muted); }
.bi-report-behaviors { margin-bottom: .5rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.bi-report-body {
  font-size: .9rem;
  color: var(--bi-text-secondary);
  margin: .5rem 0;
  line-height: 1.6;
}
.bi-report-evidence {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--bi-border);
}
.bi-report-evidence a {
  display: block;
  font-size: .8rem;
  color: var(--bi-color-primary);
  word-break: break-all;
  text-decoration: none;
  margin: 0.2rem 0;
}
.bi-report-evidence a:hover { text-decoration: underline; }
.bi-report-screenshots { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.bi-screenshot-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--bi-radius);
  border: 1px solid var(--bi-border);
  transition: transform var(--bi-transition), border-color var(--bi-transition);
  cursor: pointer;
}
.bi-screenshot-thumb:hover {
  transform: scale(1.08);
  border-color: var(--bi-color-primary);
}

/* â”€â”€ Report Form â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-report-form-wrap { max-width: 700px; margin: 0 auto; }

/* Anti-spam: honeypot field — invisible to humans, caught by bots */
.bi-hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.bi-form-progress {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  padding-bottom: 0;
  border-bottom: none;
  overflow-x: auto;
  counter-reset: step;
}
.bi-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  position: relative;
  padding: .5rem .25rem;
  cursor: default;
  transition: all var(--bi-transition);
}
.bi-step::before {
  content: '';
  position: absolute;
  top: 18px;
  left: calc(-50% + 18px);
  right: calc(50% + 18px);
  height: 2px;
  background: var(--bi-border);
  transition: background var(--bi-transition);
}
.bi-step:first-child::before { display: none; }
.bi-step.active::before,
.bi-step.completed::before { background: var(--bi-color-primary); }

.bi-step__number {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
  background: var(--bi-bg-muted);
  color: var(--bi-text-muted);
  border: 2px solid var(--bi-border);
  transition: all var(--bi-transition);
  position: relative; z-index: 1;
}
.bi-step.active .bi-step__number {
  background: var(--bi-color-primary); color: #fff;
  border-color: var(--bi-color-primary);
  box-shadow: 0 0 0 4px rgba(30, 64, 175, .15);
}
.bi-step.completed .bi-step__number {
  background: #16a34a; color: #fff;
  border-color: #16a34a;
}
.bi-step__label {
  font-size: .75rem; font-weight: 600;
  color: var(--bi-text-muted);
  text-transform: uppercase; letter-spacing: .03em;
}
.bi-step.active .bi-step__label { color: var(--bi-color-primary); }
.bi-step.completed .bi-step__label { color: #16a34a; }

.bi-step-panel { border: none; padding: 0; margin: 0; display: none; }
.bi-step-panel.active { display: block; animation: biFadeIn .25s ease; }

@keyframes biFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bi-step-panel legend {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding: 0;
  color: var(--bi-text);
}

.bi-field-group { margin-bottom: 1.25rem; }
.bi-field-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
  color: var(--bi-text);
}
.bi-field-group label.bi-required::after { content: ' *'; color: var(--bi-color-red); }
.bi-field-group label small { font-weight: 400; color: var(--bi-text-muted); }
.bi-field-group input[type=text],
.bi-field-group input[type=url],
.bi-field-group input[type=number],
.bi-field-group input[type=date],
.bi-field-group select,
.bi-field-group textarea {
  width: 100%;
  padding: .65rem .85rem;
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius);
  font-size: .9rem;
  font-family: var(--bi-font);
  background: var(--bi-bg-input);
  color: var(--bi-text);
  transition: border-color var(--bi-transition), box-shadow var(--bi-transition);
}
.bi-field-group input:focus,
.bi-field-group select:focus,
.bi-field-group textarea:focus {
  border-color: var(--bi-border-focus);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, .15);
  outline: none;
}
@media (prefers-color-scheme: dark) {
  .bi-field-group input:focus,
  .bi-field-group select:focus,
  .bi-field-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(96, 165, 250, .2);
  }
}
.bi-url-input { margin-bottom: .5rem; }
.bi-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .bi-field-row { grid-template-columns: 1fr; } }
.bi-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .5rem .75rem;
}
.bi-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-weight: 400 !important;
  font-size: .875rem;
  cursor: pointer;
  color: var(--bi-text);
  line-height: 1.4;
}
.bi-checkbox-label input[type="checkbox"] {
  margin-top: 0.15rem;
  accent-color: var(--bi-color-primary);
}
.bi-char-counter {
  font-size: .75rem;
  color: var(--bi-text-muted);
  text-align: right;
  margin-top: .25rem;
  transition: color var(--bi-transition);
}
.bi-char-counter.bi-ok { color: var(--bi-color-green); font-weight: 600; }
.bi-field-error {
  display: block;
  color: var(--bi-color-red);
  font-size: .78rem;
  margin-top: .25rem;
  min-height: 1.2em;
}
.bi-form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bi-border);
}

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem 1.4rem;
  border-radius: var(--bi-radius);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: var(--bi-font);
  transition: background var(--bi-transition), transform .1s, box-shadow var(--bi-transition);
}
.bi-btn:active { transform: scale(.97); }
.bi-btn-primary {
  background: var(--bi-color-primary);
  color: #fff;
  box-shadow: 0 1px 3px rgba(30,64,175,.3);
}
.bi-btn-primary:hover {
  background: var(--bi-color-primary-dark);
  box-shadow: 0 2px 8px rgba(30,64,175,.4);
}
.bi-btn-secondary {
  background: var(--bi-bg-muted);
  color: var(--bi-text);
  border: 1px solid var(--bi-border);
}
.bi-btn-secondary:hover { background: var(--bi-border); }
.bi-btn-danger { background: var(--bi-color-red); color: #fff; }
.bi-btn-danger:hover { background: #dc2626; }
.bi-btn--text {
  background: none;
  border: none;
  color: var(--bi-color-primary);
  padding: .4rem .6rem;
  font-weight: 600;
}
.bi-btn--text:hover { text-decoration: underline; }
.bi-btn-link {
  background: none;
  border: none;
  color: var(--bi-color-primary);
  font-size: .85rem;
  cursor: pointer;
  padding: 0;
  font-weight: 500;
}
.bi-btn-link:hover { text-decoration: underline; }
.bi-btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.bi-btn-sm { padding: .4rem .8rem; font-size: .8rem; }
.bi-btn-lg { padding: .8rem 2rem; font-size: 1rem; }

/* â”€â”€ Screenshot Preview Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-screenshot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .6rem;
}
.bi-screenshot-grid img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--bi-radius);
  border: 1px solid var(--bi-border);
}

/* â”€â”€ Dropzone â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-dropzone {
  position: relative;
  border: 2px dashed var(--bi-border);
  border-radius: var(--bi-radius-lg);
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--bi-transition);
  background: var(--bi-bg-muted);
}
.bi-dropzone:hover,
.bi-dropzone.bi-dropzone--active {
  border-color: var(--bi-color-primary);
  background: rgba(30, 64, 175, .04);
}
.bi-dropzone__input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.bi-dropzone__content { pointer-events: none; }
.bi-dropzone__icon { font-size: 2rem; display: block; margin-bottom: .5rem; }
.bi-dropzone__text { font-size: .9rem; color: var(--bi-text-secondary); }
.bi-dropzone__text strong { color: var(--bi-color-primary); }
.bi-dropzone__hint {
  display: block; margin-top: .35rem;
  font-size: .75rem; color: var(--bi-text-muted);
}

/* â”€â”€ Review Summary Box â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-review-box {
  background: var(--bi-bg-muted);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: .875rem;
}
.bi-review-box dl { margin: 0; }
.bi-review-box dt { font-weight: 700; color: var(--bi-text); float: left; width: 140px; clear: left; }
.bi-review-box dd { margin-left: 150px; margin-bottom: .6rem; color: var(--bi-text-secondary); }
@media (max-width: 480px) {
  .bi-review-box dt { float: none; width: auto; }
  .bi-review-box dd { margin-left: 0; margin-bottom: 1rem; }
}

/* â”€â”€ Notices â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-notice {
  padding: .85rem 1.15rem;
  border-radius: var(--bi-radius);
  font-size: .875rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  line-height: 1.5;
}
.bi-notice a { color: inherit; font-weight: 600; text-decoration: underline; }
.bi-notice-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.bi-notice-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.bi-notice-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.bi-notice-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

@media (prefers-color-scheme: dark) {
  .bi-notice-info    { background: rgba(96,165,250,.1); border-color: rgba(96,165,250,.3); color: #93c5fd; }
  .bi-notice-success { background: rgba(74,222,128,.1); border-color: rgba(74,222,128,.3); color: #4ade80; }
  .bi-notice-error   { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.3); color: #fca5a5; }
  .bi-notice-warning { background: rgba(234,179,8,.1); border-color: rgba(234,179,8,.3); color: #fde047; }
}

.bi-hidden { display: none !important; }

/* â”€â”€ Notice Enhancements â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-notice__icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.bi-notice__body { flex: 1; }
.bi-notice__body p { margin: .3rem 0 0; }
.bi-notice__actions {
  display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap;
}
.bi-notice__actions .bi-btn { font-size: .8rem; padding: .4rem 1rem; }

/* â”€â”€ Account Card (Shortcode) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-account-card {
  background: var(--bi-bg-card);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  padding: 1.25rem;
  box-shadow: var(--bi-shadow);
  transition: border-color var(--bi-transition), box-shadow var(--bi-transition), transform var(--bi-transition);
}
.bi-account-card:hover {
  border-color: var(--bi-color-primary);
  box-shadow: var(--bi-shadow-lg);
  transform: translateY(-2px);
}
.bi-account-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}
.bi-account-card__identity {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}
.bi-account-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bi-border);
  flex-shrink: 0;
}
.bi-account-card__avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bi-bg-muted);
  border: 2px solid var(--bi-border);
  flex-shrink: 0;
}
.bi-account-card__name-wrap { min-width: 0; }
.bi-account-card__handle {
  display: block;
  font-weight: 700;
  font-size: .95rem;
  color: var(--bi-text);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bi-account-card__handle:hover { color: var(--bi-color-primary); }
.bi-account-card__platform {
  display: block;
  font-size: .75rem;
  color: var(--bi-text-muted);
  text-transform: capitalize;
}
.bi-account-card__behaviors {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .75rem;
}
.bi-account-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  border-top: 1px solid var(--bi-border);
}

/* â”€â”€ Account Grid (Archive Pages) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
@media (max-width: 640px) {
  .bi-account-grid { grid-template-columns: 1fr; }
}

/* Mini account card (campaign members) */
.bi-account-card-mini {
  background: var(--bi-bg-card);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius);
  padding: .75rem 1rem;
  transition: border-color var(--bi-transition), box-shadow var(--bi-transition);
}
.bi-account-card-mini:hover {
  border-color: var(--bi-color-primary);
  box-shadow: var(--bi-shadow);
}
.bi-account-card-mini__link {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--bi-text);
}
.bi-account-card-mini__handle {
  font-weight: 700;
  font-size: .9rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bi-account-card-mini__platform {
  font-size: .75rem;
  color: var(--bi-text-muted);
  text-transform: capitalize;
}

/* â”€â”€ Campaign Page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-campaign-page {
  max-width: var(--bi-max-width);
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: var(--bi-font);
  color: var(--bi-text);
}
.bi-campaign-header {
  background: var(--bi-bg-card);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  box-shadow: var(--bi-shadow);
  padding: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.bi-campaign-header__meta {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.bi-campaign-header__title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 .75rem;
  color: var(--bi-text);
  line-height: 1.2;
}
.bi-campaign-header__origin,
.bi-campaign-header__dates {
  font-size: .9rem;
  color: var(--bi-text-secondary);
  margin: .25rem 0;
}
.bi-confidence { font-size: .85rem; color: var(--bi-text-secondary); }
.bi-campaign-body .bi-section { margin-bottom: 1.5rem; }
.bi-campaign-description {
  font-size: .95rem;
  color: var(--bi-text-secondary);
  line-height: 1.7;
}
.bi-campaign-description p { margin: 0 0 1rem; }
.bi-objectives-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bi-objectives-list li {
  padding: .5rem 0;
  border-bottom: 1px solid var(--bi-border);
  font-size: .9rem;
  color: var(--bi-text-secondary);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.bi-objectives-list li::before { content: '\1F3AF'; font-size: .8rem; }
.bi-objectives-list li:last-child { border-bottom: none; }
.bi-external-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bi-external-links li { padding: .4rem 0; }
.bi-external-links a {
  color: var(--bi-color-primary);
  text-decoration: none;
  font-size: .9rem;
}
.bi-external-links a:hover { text-decoration: underline; }

/* â”€â”€ Archive / Listing Pages â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-archive-header {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
}
.bi-archive-header h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 .5rem;
  color: var(--bi-text);
}
.bi-archive-header p {
  color: var(--bi-text-secondary);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}
.bi-archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.bi-archive-filters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
}
.bi-archive-filters select,
.bi-archive-filters input[type="text"],
.bi-archive-filters input[type="search"] {
  padding: .5rem .8rem;
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius);
  font-size: .85rem;
  background: var(--bi-bg-input);
  color: var(--bi-text);
  font-family: var(--bi-font);
}
.bi-archive-filters select:focus,
.bi-archive-filters input:focus {
  border-color: var(--bi-border-focus);
  box-shadow: 0 0 0 3px rgba(30,64,175,.15);
  outline: none;
}
.bi-archive-sort { font-size: .85rem; color: var(--bi-text-secondary); }
.bi-archive-sort a {
  color: var(--bi-color-primary);
  text-decoration: none;
  font-weight: 600;
}
.bi-archive-sort a:hover { text-decoration: underline; }
.bi-archive-sort a.active { color: var(--bi-text); text-decoration: underline; }
.bi-archive-stats {
  font-size: .85rem;
  color: var(--bi-text-muted);
  margin-bottom: 1rem;
}

/* Pagination */
.bi-pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.bi-pagination a,
.bi-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .5rem;
  border-radius: var(--bi-radius);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--bi-border);
  background: var(--bi-bg-card);
  color: var(--bi-text);
  transition: background var(--bi-transition), border-color var(--bi-transition);
}
.bi-pagination a:hover {
  background: var(--bi-bg-muted);
  border-color: var(--bi-color-primary);
}
.bi-pagination .current {
  background: var(--bi-color-primary);
  color: #fff;
  border-color: var(--bi-color-primary);
}

/* â”€â”€ CTA Section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-cta-section {
  text-align: center;
  padding: 2rem;
}
.bi-cta-section h2 { margin-bottom: .75rem; }
.bi-cta-section p { color: var(--bi-text-secondary); }

/* â”€â”€ Methodology Section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-methodology {
  font-size: .9rem;
  color: var(--bi-text-secondary);
  line-height: 1.6;
}
.bi-methodology h2 { color: var(--bi-text); }
.bi-methodology a { color: var(--bi-color-primary); }

/* â”€â”€ Homepage / Landing (v2 â€” Full Bleed Dark) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* â”€â”€ NAV BAR â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-landing-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid rgba(99, 102, 241, 0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.bi-landing-nav.is-scrolled {
  background: rgba(11, 15, 25, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.bi-landing-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
}
.bi-landing-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 800;
  color: #f9fafb !important;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.bi-landing-nav__brand:hover { opacity: 0.9; }
.bi-landing-nav__links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
}
.bi-landing-nav__links li a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db !important;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}
.bi-landing-nav__links li a:hover {
  color: #f9fafb !important;
  background: rgba(99, 102, 241, 0.1);
}
.bi-landing-nav__links li a.is-active {
  color: #f9fafb !important;
  background: rgba(99, 102, 241, 0.18);
  font-weight: 600;
}
.bi-landing-nav__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.bi-landing-nav__sign-in {
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.bi-landing-nav__sign-in:hover { color: #f9fafb !important; }
.bi-landing-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.bi-landing-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #d1d5db;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Hamburger â†’ X transform */
.bi-landing-nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.bi-landing-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bi-landing-nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav styles */
@media (max-width: 768px) {
  .bi-landing-nav__toggle { display: flex; }
  .bi-landing-nav__links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(16px);
    padding: 1rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.12);
  }
  .bi-landing-nav__links.is-open { display: flex; }
  .bi-landing-nav__links li a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  .bi-landing-nav__cta .bi-landing-nav__sign-in { display: none; }
}

/* Root wrapper â€” force full-bleed dark regardless of theme */
.bi-landing {
  background: var(--bi-bg-base);
  color: var(--bi-text-primary);
  font-family: var(--bi-font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  /* Full-bleed: theme constraints removed via homepage_theme_overrides */
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.bi-landing *,
.bi-landing *::before,
.bi-landing *::after { box-sizing: border-box; }
/* Override theme text color */
.bi-landing,
.bi-landing p,
.bi-landing span,
.bi-landing a,
.bi-landing li { color: var(--bi-text-primary); }

/* â”€â”€ Shared section layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-landing-section__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.bi-landing-section {
  padding: 5rem 0;
}
.bi-landing-section--alt {
  background: var(--bi-bg-surface);
}
.bi-landing-section__eyebrow {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bi-brand-accent);
  margin-bottom: 0.75rem;
}
.bi-landing-section__title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: var(--bi-text-primary);
}
.bi-landing-section__desc {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: var(--bi-text-secondary);
  line-height: 1.6;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.bi-landing-hero {
  position: relative;
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  overflow: hidden;
  background: linear-gradient(180deg, #0b0f19 0%, #111827 100%);
}

/* Subtle grid overlay */
.bi-landing-hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
}

/* Radial glow behind hero */
.bi-landing-hero__glow {
  position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.bi-landing-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.bi-landing-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bi-brand-accent);
  background: var(--bi-brand-accent-muted);
  padding: 6px 16px;
  border-radius: var(--bi-radius-full);
  margin-bottom: 2rem;
}

.bi-landing-hero__title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: var(--bi-text-primary);
}
.bi-landing-hero__title-accent {
  background: linear-gradient(135deg, var(--bi-brand-primary) 0%, var(--bi-brand-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bi-landing-hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--bi-text-secondary);
  max-width: 600px;
  margin: 0 auto 2.25rem;
}

.bi-landing-hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Glow button effect */
.bi-landing-btn--glow {
  position: relative;
  z-index: 1;
}
.bi-landing-btn--glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--bi-brand-primary), var(--bi-brand-accent));
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity var(--bi-transition);
}
.bi-landing-btn--glow:hover::after {
  opacity: 0.5;
}

/* Stats bar */
.bi-landing-hero__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.bi-landing-stat {
  text-align: center;
  padding: 0 2rem;
}
.bi-landing-stat__number {
  display: block;
  font-size: 2.75rem;
  font-weight: 900;
  font-family: var(--bi-font-mono);
  line-height: 1;
  background: linear-gradient(135deg, var(--bi-brand-primary), var(--bi-brand-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bi-landing-stat__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--bi-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}
.bi-landing-stat__divider {
  width: 1px;
  height: 48px;
  background: var(--bi-border-subtle);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PLATFORMS BAR
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.bi-landing-platforms {
  padding: 2.5rem 0 !important;
  background: var(--bi-bg-surface);
  border-top: 1px solid var(--bi-border);
  border-bottom: 1px solid var(--bi-border);
}
.bi-landing-platforms__label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bi-text-tertiary);
  margin: 0 0 1.25rem;
}
.bi-landing-platforms__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.bi-landing-platform {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: var(--bi-radius-full);
  background: var(--bi-bg-raised);
  border: 1px solid var(--bi-border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--bi-text-secondary);
  transition: border-color var(--bi-transition), color var(--bi-transition), background var(--bi-transition);
}
.bi-landing-platform:hover {
  border-color: var(--bi-brand-primary);
  color: var(--bi-text-primary);
  background: var(--bi-brand-primary-muted);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HOW IT WORKS â€” Steps Pipeline
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.bi-landing-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.bi-landing-step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bi-bg-surface);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  transition: border-color var(--bi-transition), box-shadow var(--bi-transition), transform var(--bi-transition);
}
.bi-landing-step:hover {
  border-color: var(--bi-brand-primary);
  box-shadow: 0 0 0 1px var(--bi-brand-primary), var(--bi-shadow-md);
  transform: translateY(-4px);
}
.bi-landing-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--bi-radius-lg);
  background: var(--bi-brand-primary-muted);
  color: var(--bi-brand-primary);
  margin-bottom: 1.25rem;
}
.bi-landing-step__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--bi-text-primary);
}
.bi-landing-step__desc {
  font-size: 0.875rem;
  color: var(--bi-text-secondary);
  line-height: 1.55;
  margin: 0;
}
.bi-landing-step__connector {
  display: flex;
  align-items: center;
  padding: 0 0.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .bi-landing-steps { flex-direction: column; align-items: center; }
  .bi-landing-step { max-width: 400px; width: 100%; }
  .bi-landing-step__connector {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SCORE GUIDE â€” Band Visualisation
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.bi-landing-score-bar {
  display: flex;
  border-radius: var(--bi-radius-lg);
  overflow: hidden;
  height: 56px;
  margin-bottom: 2rem;
  box-shadow: var(--bi-shadow-sm);
}
.bi-landing-score-bar__segment {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: flex var(--bi-transition);
}
.bi-landing-score-bar__segment:hover { flex: 1.4; }
.bi-landing-score-bar__range {
  font-size: 12px;
  font-weight: 800;
  font-family: var(--bi-font-mono);
  color: #fff;
  letter-spacing: 0.02em;
}

.bi-landing-score-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.bi-landing-score-legend__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.bi-landing-score-legend__dot {
  width: 14px; height: 14px;
  border-radius: var(--bi-radius-full);
  flex-shrink: 0;
  margin-top: 3px;
}
.bi-landing-score-legend__item div {
  display: flex;
  flex-direction: column;
}
.bi-landing-score-legend__item strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--bi-text-primary);
}
.bi-landing-score-legend__item span {
  font-size: 13px;
  color: var(--bi-text-tertiary);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FEATURES GRID
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.bi-landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.bi-landing-feature {
  background: var(--bi-bg-surface);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  padding: 2rem;
  transition: border-color var(--bi-transition), box-shadow var(--bi-transition);
}
.bi-landing-feature:hover {
  border-color: var(--bi-brand-accent);
  box-shadow: 0 0 0 1px rgba(34,211,238,0.15), var(--bi-shadow-md);
}
.bi-landing-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--bi-radius-md);
  background: var(--bi-brand-accent-muted);
  margin-bottom: 1.25rem;
}
.bi-landing-feature__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--bi-text-primary);
}
.bi-landing-feature__desc {
  font-size: 0.875rem;
  color: var(--bi-text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ACCOUNTS GRID (homepage)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.bi-landing-accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.bi-landing-account {
  display: block;
  background: var(--bi-bg-raised);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  padding: 1.25rem;
  text-decoration: none;
  transition: border-color var(--bi-transition), box-shadow var(--bi-transition), transform var(--bi-transition);
}
.bi-landing-account:hover {
  border-color: var(--bi-brand-primary);
  box-shadow: var(--bi-shadow-md);
  transform: translateY(-2px);
}
.bi-landing-account__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.bi-landing-account__handle {
  font-family: var(--bi-font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bi-text-primary);
}
.bi-landing-account__tags {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TIMELINE (recent reports)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.bi-landing-timeline {
  position: relative;
  padding-left: 2rem;
  max-width: 700px;
  margin: 0 auto;
}
.bi-landing-timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--bi-brand-primary), var(--bi-brand-accent), transparent);
  border-radius: 1px;
}
.bi-landing-timeline__item {
  position: relative;
  padding: 0 0 2rem 1rem;
}
.bi-landing-timeline__dot {
  position: absolute;
  left: -2rem; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bi-bg-base);
  border: 3px solid var(--bi-brand-primary);
}
.bi-landing-timeline__content {
  background: var(--bi-bg-surface);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  padding: 1.25rem;
}
.bi-landing-timeline__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.bi-landing-timeline__handle {
  font-family: var(--bi-font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bi-brand-primary) !important;
  text-decoration: none;
}
.bi-landing-timeline__handle:hover { text-decoration: underline; }
.bi-landing-timeline__date {
  font-size: 12px;
  color: var(--bi-text-tertiary);
  margin-left: auto;
}
.bi-landing-timeline__tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.bi-landing-timeline__excerpt {
  font-size: 0.875rem;
  color: var(--bi-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FINAL CTA
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.bi-landing-cta {
  position: relative;
  text-align: center;
  padding: 5rem 1.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bi-bg-base) 0%, #0d1225 100%);
}
.bi-landing-cta__glow {
  position: absolute;
  bottom: -80px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(34,211,238,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.bi-landing-cta__title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--bi-text-primary);
}
.bi-landing-cta__desc {
  font-size: 1.05rem;
  color: var(--bi-text-secondary);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.bi-landing-footer {
  background: var(--bi-bg-surface);
  border-top: 1px solid var(--bi-border);
  padding: 4rem 0 0;
}
.bi-landing-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.bi-landing-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.bi-landing-footer__col--brand {
  padding-right: 2rem;
}
.bi-landing-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bi-text-primary) !important;
  margin-bottom: 0.5rem;
}
.bi-landing-footer__logo:hover { opacity: 0.9; }
.bi-landing-footer__tagline {
  font-size: 13px;
  color: var(--bi-text-tertiary);
  line-height: 1.6;
  margin: 0;
}
.bi-landing-footer__heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bi-text-tertiary);
  margin: 0 0 0.25rem;
}
.bi-landing-footer__col a {
  font-size: 14px;
  color: var(--bi-text-secondary) !important;
  text-decoration: none;
  transition: color var(--bi-transition);
}
.bi-landing-footer__col a:hover {
  color: var(--bi-brand-primary) !important;
}
.bi-landing-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid var(--bi-border);
  font-size: 13px;
  color: var(--bi-text-tertiary);
}
.bi-landing-footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}
.bi-landing-footer__bottom-links a {
  font-size: 13px;
  color: var(--bi-text-tertiary) !important;
  text-decoration: none;
  transition: color var(--bi-transition);
}
.bi-landing-footer__bottom-links a:hover {
  color: var(--bi-brand-primary) !important;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO RESPONSIVE
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 768px) {
  .bi-landing-hero { padding: 3.5rem 1rem 3rem; }
  .bi-landing-hero__title { font-size: 2rem; }
  .bi-landing-hero__subtitle { font-size: 1rem; }
  .bi-landing-stat { padding: 0 1rem; }
  .bi-landing-stat__number { font-size: 2rem; }
  .bi-landing-stat__divider { height: 32px; }
  .bi-landing-section { padding: 3rem 0; }
  .bi-landing-section__title { font-size: 1.5rem; }
  .bi-landing-cta__title { font-size: 1.75rem; }
  .bi-landing-features { grid-template-columns: 1fr; }
  .bi-landing-footer__grid { grid-template-columns: 1fr 1fr; }
  .bi-landing-footer__col--brand { grid-column: 1 / -1; padding-right: 0; }
  .bi-landing-footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}
@media (max-width: 480px) {
  .bi-landing-hero__title { font-size: 1.65rem; }
  .bi-landing-hero__stats { flex-direction: column; gap: 1.5rem; }
  .bi-landing-stat__divider { display: none; }
  .bi-landing-footer__grid { grid-template-columns: 1fr; }
}

/* â”€â”€ Legacy Landing (keep for [bi_landing] About page) â”€â”€â”€â”€â”€ */
.bi-hero {
  text-align: center;
  padding: 4rem 1rem 3rem;
  position: relative;
}
.bi-hero__title {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--bi-text);
  margin: 0 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
@media (max-width: 640px) { .bi-hero__title { font-size: 1.8rem; } }
.bi-hero__subtitle {
  font-size: 1.15rem;
  color: var(--bi-text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.bi-hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.bi-hero__stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.bi-hero-stat { text-align: center; }
.bi-hero-stat__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--bi-color-primary);
  font-family: var(--bi-font-mono);
  line-height: 1;
}
.bi-hero-stat__label {
  font-size: .8rem;
  color: var(--bi-text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: .25rem;
}
.bi-how-it-works { padding: 3rem 0; }
.bi-how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.bi-how-step {
  background: var(--bi-bg-card);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: box-shadow var(--bi-transition), transform var(--bi-transition);
}
.bi-how-step:hover {
  box-shadow: var(--bi-shadow-lg);
  transform: translateY(-3px);
}
.bi-how-step__icon { font-size: 2.5rem; margin-bottom: .75rem; }
.bi-how-step__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--bi-text);
}
.bi-how-step__desc {
  font-size: .85rem;
  color: var(--bi-text-secondary);
  line-height: 1.5;
}
.bi-recent-activity { padding: 2rem 0; }
.bi-score-guide { padding: 2rem 0; }
.bi-score-bands-chart {
  display: flex;
  gap: 0;
  border-radius: var(--bi-radius);
  overflow: hidden;
  height: 48px;
  margin-bottom: 1rem;
}
.bi-score-bands-chart span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: #fff;
}
.bi-score-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .5rem .75rem;
}
.bi-score-legend-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--bi-text-secondary);
}
.bi-score-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* â”€â”€ Search Page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-search-box {
  display: flex;
  gap: .75rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.bi-search-box input {
  flex: 1;
  padding: .75rem 1rem;
  border: 2px solid var(--bi-border);
  border-radius: var(--bi-radius);
  font-size: 1rem;
  font-family: var(--bi-font);
  background: var(--bi-bg-input);
  color: var(--bi-text);
  transition: border-color var(--bi-transition), box-shadow var(--bi-transition);
}
.bi-search-box input:focus {
  border-color: var(--bi-color-primary);
  box-shadow: 0 0 0 3px rgba(30,64,175,.15);
  outline: none;
}
.bi-search-results-count {
  font-size: .9rem;
  color: var(--bi-text-muted);
  margin-bottom: 1rem;
}

/* â”€â”€ Empty State â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--bi-text-muted);
}
.bi-empty-state__icon { font-size: 3rem; margin-bottom: 1rem; opacity: .5; }
.bi-empty-state__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--bi-text-secondary);
}
.bi-empty-state__desc {
  font-size: .9rem;
  max-width: 400px;
  margin: 0 auto;
}

/* â”€â”€ Lightbox â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-lightbox-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: biFadeIn .2s ease;
  cursor: zoom-out;
}
.bi-lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--bi-radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.bi-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--bi-transition);
}
.bi-lightbox-close:hover { background: rgba(255,255,255,.2); }

/* â”€â”€ Loading / Spinner â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--bi-border);
  border-top-color: var(--bi-color-primary);
  border-radius: 50%;
  animation: biSpin .6s linear infinite;
}
@keyframes biSpin { to { transform: rotate(360deg); } }
.bi-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 2rem;
  color: var(--bi-text-muted);
  font-size: .9rem;
}

/* â”€â”€ Campaign Card (for archive listing) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-campaign-card {
  background: var(--bi-bg-card);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--bi-shadow);
  transition: border-color var(--bi-transition), box-shadow var(--bi-transition), transform var(--bi-transition);
}
.bi-campaign-card:hover {
  border-color: var(--bi-color-primary);
  box-shadow: var(--bi-shadow-lg);
  transform: translateY(-2px);
}
.bi-campaign-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}
.bi-campaign-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--bi-text);
}
.bi-campaign-card__title a {
  color: inherit;
  text-decoration: none;
}
.bi-campaign-card__title a:hover { color: var(--bi-color-primary); }
.bi-campaign-card__desc {
  font-size: .85rem;
  color: var(--bi-text-secondary);
  line-height: 1.5;
  margin-bottom: .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bi-campaign-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  font-size: .8rem;
  color: var(--bi-text-muted);
}
.bi-campaign-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  margin-top: .75rem;
  border-top: 1px solid var(--bi-border);
}

/* â”€â”€ Utilities â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-text-center { text-align: center; }
.bi-text-muted { color: var(--bi-text-muted); }
.bi-mb-0 { margin-bottom: 0; }
.bi-mt-1 { margin-top: .5rem; }
.bi-mt-2 { margin-top: 1rem; }
.bi-mt-3 { margin-top: 1.5rem; }
.bi-flex-center { display: flex; align-items: center; justify-content: center; }

/* â”€â”€ Breadcrumbs â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-breadcrumbs {
  font-size: .85rem;
  color: var(--bi-text-secondary);
  margin-bottom: 1.25rem;
  padding: .5rem 0;
}
.bi-breadcrumbs a {
  color: var(--bi-color-primary);
  text-decoration: none;
}
.bi-breadcrumbs a:hover { text-decoration: underline; }
.bi-breadcrumb-sep {
  margin: 0 .4rem;
  color: var(--bi-text-muted);
}

/* â”€â”€ Avatar Placeholder â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-avatar-placeholder {
  width: 80px; height: 80px;
  border-radius: var(--bi-radius-lg);
  background: var(--bi-color-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.4rem;
  letter-spacing: .05em;
}

/* â”€â”€ Share Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-share-buttons {
  display: flex; align-items: center; gap: .5rem; margin-top: .75rem;
}
.bi-share-label {
  font-size: .8rem; color: var(--bi-text-muted); font-weight: 500;
}
.bi-share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--bi-radius-pill);
  border: 1px solid var(--bi-border);
  background: var(--bi-bg-card); color: var(--bi-text);
  font-size: .85rem; text-decoration: none; cursor: pointer;
  transition: all var(--bi-transition);
}
.bi-share-btn:hover { background: var(--bi-bg-muted); border-color: var(--bi-color-primary); }
.bi-share-twitter:hover { background: #1DA1F2; color: #fff; border-color: #1DA1F2; }
.bi-share-reddit:hover { background: #FF4500; color: #fff; border-color: #FF4500; }

/* â”€â”€ Report Card Enhancements â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-report-meta { display: flex; align-items: center; gap: .5rem; }
.bi-report-meta-right { display: flex; align-items: center; gap: .75rem; }
.bi-report-number {
  font-size: .75rem; color: var(--bi-text-muted);
  background: var(--bi-bg-muted); padding: 2px 8px;
  border-radius: var(--bi-radius-pill);
}
.bi-report-evidence ul {
  list-style: none; padding: 0; margin: .5rem 0 0;
}
.bi-report-evidence li { margin-bottom: .25rem; }
.bi-report-evidence li a {
  color: var(--bi-color-primary); word-break: break-all; font-size: .85rem;
}

/* â”€â”€ Linked Campaign Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-campaign-list { display: flex; flex-direction: column; gap: .5rem; }
.bi-campaign-link-card {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; border-radius: var(--bi-radius);
  background: var(--bi-bg-muted); text-decoration: none;
  color: var(--bi-text); transition: all var(--bi-transition);
  border: 1px solid transparent;
}
.bi-campaign-link-card:hover {
  border-color: var(--bi-color-primary); background: var(--bi-bg-card);
  box-shadow: var(--bi-shadow);
}
.bi-campaign-confidence {
  margin-left: auto; font-size: .85rem; color: var(--bi-text-secondary); font-weight: 500;
}

/* â”€â”€ Related Accounts â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-related-section { margin-top: 2rem; }
.bi-section-desc { color: var(--bi-text-secondary); margin-bottom: 1rem; font-size: .9rem; }
.bi-account-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* â”€â”€ Methodology List â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-methodology-list {
  padding-left: 1.2rem; line-height: 1.8;
}
.bi-methodology-list li { margin-bottom: .5rem; }

/* â”€â”€ Confidence Meter â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-confidence-meter {
  position: relative; display: inline-flex; align-items: center;
  background: var(--bi-bg-muted); border-radius: var(--bi-radius-pill);
  padding: 4px 12px 4px 4px; min-width: 160px; height: 28px;
  overflow: hidden;
}
.bi-confidence-meter__bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--bi-color-primary-light); opacity: .2;
  border-radius: var(--bi-radius-pill);
  transition: width 0.8s ease;
}
.bi-confidence-meter__label {
  position: relative; font-size: .8rem; color: var(--bi-text); z-index: 1;
  padding-left: 8px;
}

/* â”€â”€ Campaign Page Stats â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-campaign-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem; margin: 1.5rem 0;
}
.bi-stat-card {
  text-align: center; padding: 1.25rem 1rem;
  background: var(--bi-bg-card); border-radius: var(--bi-radius-lg);
  box-shadow: var(--bi-shadow); border: 1px solid var(--bi-border);
}
.bi-stat-card__number {
  font-size: 1.8rem; font-weight: 800;
  font-family: var(--bi-font-mono); line-height: 1;
}
.bi-stat-card__label {
  font-size: .8rem; color: var(--bi-text-secondary);
  margin-top: .35rem; text-transform: uppercase; letter-spacing: .04em;
}

/* â”€â”€ Campaign Header Details â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-campaign-header__details {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  margin-top: .75rem; font-size: .9rem; color: var(--bi-text-secondary);
}
.bi-campaign-detail { display: inline-flex; align-items: center; gap: .3rem; }

/* â”€â”€ Objectives Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-objectives-grid {
  display: flex; flex-wrap: wrap; gap: .75rem;
}
.bi-objective-card {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem; background: var(--bi-bg-muted);
  border-radius: var(--bi-radius); font-size: .9rem;
  border: 1px solid var(--bi-border);
}

/* â”€â”€ Platform List â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-platform-list { display: flex; flex-wrap: wrap; gap: .5rem; }

/* â”€â”€ Timeline â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-timeline {
  position: relative; padding-left: 2rem;
}
.bi-timeline::before {
  content: '';
  position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: var(--bi-border);
}
.bi-timeline__item {
  position: relative; padding-bottom: 1.5rem;
}
.bi-timeline__dot {
  position: absolute; left: -2rem; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bi-color-primary);
  border: 3px solid var(--bi-bg-card);
  box-shadow: 0 0 0 2px var(--bi-color-primary);
}
.bi-timeline__dot--end {
  background: var(--bi-text-muted);
  box-shadow: 0 0 0 2px var(--bi-text-muted);
}
.bi-timeline__dot--pulse {
  background: var(--bi-color-green);
  box-shadow: 0 0 0 2px var(--bi-color-green);
  animation: bi-pulse 2s ease-in-out infinite;
}
@keyframes bi-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--bi-color-green); }
  50% { box-shadow: 0 0 0 6px rgba(22, 163, 106, 0.2); }
}
.bi-timeline__content strong {
  display: block; font-size: .95rem;
}
.bi-timeline__date {
  font-size: .8rem; color: var(--bi-text-secondary);
}

/* â”€â”€ External Link Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-external-links {
  display: flex; flex-direction: column; gap: .5rem;
}
.bi-external-link-card {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; border-radius: var(--bi-radius);
  background: var(--bi-bg-muted); text-decoration: none; color: var(--bi-text);
  border: 1px solid var(--bi-border); transition: all var(--bi-transition);
}
.bi-external-link-card:hover {
  border-color: var(--bi-color-primary); background: var(--bi-bg-card);
  box-shadow: var(--bi-shadow);
}
.bi-external-link-card__icon { font-size: 1.2rem; }
.bi-external-link-card__label { flex: 1; font-size: .9rem; word-break: break-all; }
.bi-external-link-card__arrow { color: var(--bi-color-primary); font-weight: 600; }

/* â”€â”€ Trust Cockpit â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-trust-cockpit {
  background: var(--bi-bg-card);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  padding: 1.5rem;
  max-width: 640px;
}
.bi-cockpit-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 1rem;
}
.bi-cockpit-score {
  display: flex; align-items: baseline; gap: 4px;
}
.bi-cockpit-score__value {
  font-size: 56px; font-weight: 900; line-height: 1;
  font-family: var(--bi-font-mono);
}
.bi-cockpit-score__max {
  font-size: 16px; color: var(--bi-text-muted);
}
.bi-cockpit-band {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.bi-cockpit-confidence {
  font-size: 13px; color: var(--bi-text-secondary); margin-top: 2px;
}
.bi-cockpit-divider {
  border: none; border-top: 1px solid var(--bi-border);
  margin: 1rem 0;
}
.bi-cockpit-factors__title {
  margin: 0 0 .75rem;
  font-size: 10px; font-weight: 600;
  color: var(--bi-text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.bi-cockpit-factor { margin-bottom: .75rem; }
.bi-cockpit-factor__header {
  display: flex; justify-content: space-between;
  font-size: 13px; margin-bottom: 3px;
}
.bi-cockpit-factor__label { color: var(--bi-text); }
.bi-cockpit-factor__value {
  font-weight: 600; color: var(--bi-text);
}
.bi-cockpit-factor__pts {
  color: var(--bi-text-muted); font-weight: 400;
}
.bi-cockpit-factor__bar {
  background: var(--bi-bg-muted);
  border-radius: var(--bi-radius-pill);
  height: 6px; overflow: hidden;
}
.bi-cockpit-factor__fill {
  height: 100%;
  border-radius: var(--bi-radius-pill);
  transition: width .4s ease;
}
.bi-cockpit-components summary {
  cursor: pointer; font-size: 12px;
  color: var(--bi-text-muted); font-weight: 600;
}
.bi-cockpit-component {
  display: flex; align-items: center;
  gap: .5rem; margin-bottom: 6px; font-size: 12px;
}
.bi-cockpit-component__label {
  min-width: 140px; color: var(--bi-text-muted);
}
.bi-cockpit-component__bar {
  flex: 1; background: var(--bi-bg-muted);
  border-radius: var(--bi-radius-pill);
  height: 4px; overflow: hidden;
}
.bi-cockpit-component__fill {
  height: 100%;
  border-radius: var(--bi-radius-pill);
  transition: width .4s ease;
}
.bi-cockpit-component__value {
  min-width: 24px; text-align: right;
  font-weight: 600; color: var(--bi-text);
  font-family: var(--bi-font-mono);
}
.bi-cockpit-provenance {
  display: flex; justify-content: space-between;
  align-items: center; font-size: 12px;
  color: var(--bi-text-muted);
}
.bi-cockpit-methodology {
  text-align: center; margin-top: .75rem;
}
.bi-cockpit-methodology a {
  font-size: 12px; color: var(--bi-text-muted);
  text-decoration: underline;
}
.bi-cockpit-disclaimer {
  font-size: 11px; color: var(--bi-text-muted);
  margin-top: .75rem; text-align: center; line-height: 1.5;
}

/* Confidence dot (inline after badge) */
.bi-confidence-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: var(--bi-radius-pill);
  vertical-align: middle; flex-shrink: 0;
}
.bi-confidence-dot--none   { background: var(--bi-color-gray); }
.bi-confidence-dot--low    { background: var(--bi-color-red); }
.bi-confidence-dot--medium { background: var(--bi-color-yellow); }
.bi-confidence-dot--high   { background: var(--bi-color-green); }

/* â”€â”€ Dashboard Cockpit Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.bi-dashboard--full { grid-column: 1 / -1; }
@media (max-width: 768px) {
  .bi-dashboard { grid-template-columns: 1fr; }
}
.bi-dashboard__stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem; grid-column: 1 / -1;
}
.bi-dashboard__stat {
  background: var(--bi-bg-card);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  padding: 1.25rem 1rem; text-align: center;
  position: relative; overflow: hidden;
}
.bi-dashboard__stat::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--bi-color-primary);
}
.bi-dashboard__stat--alert::before { background: var(--bi-color-red); }
.bi-dashboard__stat-number {
  font-size: 2.25rem; font-weight: 900;
  font-family: var(--bi-font-mono); line-height: 1;
  color: var(--bi-text);
}
.bi-dashboard__stat-label {
  font-size: 10px; color: var(--bi-text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 600; margin-top: .5rem;
}
.bi-dashboard__panel {
  background: var(--bi-bg-card);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  padding: 1.5rem;
}
.bi-dashboard__panel h2 {
  font-size: 16px; font-weight: 700; margin: 0 0 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--bi-border);
  color: var(--bi-text);
}

/* â”€â”€ Watchlist Page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-watchlist-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 1.5rem;
}
.bi-watchlist-empty {
  text-align: center; padding: 4rem 1rem;
  color: var(--bi-text-muted);
}
.bi-watchlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}
.bi-watchlist-card {
  background: var(--bi-bg-card);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  padding: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  transition: border-color var(--bi-transition), box-shadow var(--bi-transition);
}
.bi-watchlist-card:hover {
  border-color: var(--bi-color-primary); box-shadow: var(--bi-shadow);
}
.bi-watchlist-card__info { flex: 1; min-width: 0; }
.bi-watchlist-card__actions { flex-shrink: 0; }

/* â”€â”€ Auth Gate Modal â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-auth-gate {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  animation: biFadeIn .2s ease;
}
.bi-auth-gate__card {
  background: var(--bi-bg-card);
  border-radius: var(--bi-radius-lg);
  box-shadow: var(--bi-shadow-lg);
  padding: 2rem;
  max-width: 400px; width: 90%; text-align: center;
}
.bi-auth-gate__icon { font-size: 2rem; margin-bottom: 1rem; }
.bi-auth-gate__title { font-size: 22px; font-weight: 700; margin: 0 0 .5rem; }
.bi-auth-gate__desc { font-size: 14px; color: var(--bi-text-secondary); margin-bottom: 1.5rem; }
.bi-auth-gate__actions { display: flex; gap: .75rem; justify-content: center; }

/* â”€â”€ Score Guide (Landing) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-score-guide { padding: 2rem 0; }
.bi-score-bands-chart {
  display: flex; gap: 0;
  border-radius: var(--bi-radius); overflow: hidden;
  height: 48px; margin-bottom: 1rem;
}
.bi-score-bands-chart span {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.bi-score-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .5rem .75rem;
}
.bi-score-legend-item {
  display: flex; align-items: center;
  gap: .5rem; font-size: 14px; color: var(--bi-text-secondary);
}
.bi-score-legend-dot {
  width: 12px; height: 12px;
  border-radius: var(--bi-radius-pill); flex-shrink: 0;
}

/* â”€â”€ Confidence Meter â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-confidence-meter {
  position: relative; display: inline-flex; align-items: center;
  background: var(--bi-bg-muted); border-radius: var(--bi-radius-pill);
  padding: 4px 12px 4px 4px; min-width: 160px; height: 28px;
  overflow: hidden;
}
.bi-confidence-meter__bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--bi-color-accent); opacity: .15;
  border-radius: var(--bi-radius-pill);
  transition: width .8s ease;
}
.bi-confidence-meter__label {
  position: relative; font-size: 12px; color: var(--bi-text);
  z-index: 1; padding-left: .5rem;
}

/* â”€â”€ Data Typography â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-display {
  font-size: 36px; line-height: 44px; font-weight: 800;
  letter-spacing: -0.02em; color: var(--bi-text);
}
.bi-h1 { font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -0.01em; }
.bi-h2 { font-size: 22px; line-height: 30px; font-weight: 700; }
.bi-h3 { font-size: 18px; line-height: 26px; font-weight: 600; }
.bi-subtitle { font-size: 16px; line-height: 22px; font-weight: 500; color: var(--bi-text-secondary); }
.bi-body1 { font-size: 16px; line-height: 24px; }
.bi-body2 { font-size: 14px; line-height: 20px; }
.bi-caption { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.01em; color: var(--bi-text-secondary); }
.bi-overline {
  font-size: 10px; line-height: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--bi-text-muted);
}
.bi-data { font-size: 14px; line-height: 20px; font-weight: 600; font-family: var(--bi-font-mono); }

.bi-data-lg { font-size: 28px; line-height: 32px; font-weight: 800; font-family: var(--bi-font-mono); }
.bi-score-xl { font-size: 56px; line-height: 56px; font-weight: 900; font-family: var(--bi-font-mono); }

/* â”€â”€ Utilities â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-text-center  { text-align: center; }
.bi-text-muted   { color: var(--bi-text-muted); }
.bi-text-mono    { font-family: var(--bi-font-mono); }
.bi-hidden       { display: none !important; }
.bi-flex-center  { display: flex; align-items: center; justify-content: center; }
.bi-mb-0 { margin-bottom: 0; }
.bi-mt-1 { margin-top: 4px; }
.bi-mt-2 { margin-top: 8px; }
.bi-mt-3 { margin-top: 16px; }
.bi-mt-4 { margin-top: 24px; }

/* â”€â”€ Responsive Tweaks â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
  .bi-container { padding: 1rem .75rem; }
  .bi-campaign-header { padding: 1.25rem; }
  .bi-campaign-header__title { font-size: 1.5rem; }
  .bi-hero { padding: 2rem .75rem 1.5rem; }
  .bi-hero__title { font-size: 1.6rem; }
  .bi-hero__stats { gap: 1rem; }
  .bi-hero-stat__number { font-size: 1.8rem; }
  .bi-score-bar-row { grid-template-columns: 1fr; }
  .bi-account-header { flex-direction: column; text-align: center; }
  .bi-score-widget { margin-top: 1rem; }
  .bi-share-buttons { justify-content: center; }
  .bi-campaign-stats { grid-template-columns: repeat(2, 1fr); }
  .bi-campaign-header__details { flex-direction: column; gap: .5rem; }
  .bi-timeline { padding-left: 1.5rem; }
}

@media (max-width: 480px) {
  .bi-campaign-stats { grid-template-columns: 1fr; }
  .bi-account-grid--compact { grid-template-columns: 1fr; }
}

/* â”€â”€ Print Styles â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media print {
  .bi-btn, .bi-form-actions, .bi-cta-section, .bi-lightbox-overlay,
  .bi-share-buttons, .bi-breadcrumbs, .bi-auth-gate { display: none !important; }
  .bi-card, .bi-section, .bi-account-header, .bi-campaign-header {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
  .bi-score-number { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* â”€â”€ Legal / Policy Pages â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bi-legal {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--bi-space-6) var(--bi-space-4);
  line-height: 1.7;
  color: var(--bi-text-primary);
}

.bi-legal__title {
  font-family: var(--bi-font-sans);
  font-size: var(--bi-text-2xl);
  font-weight: 700;
  margin-bottom: var(--bi-space-1);
}

.bi-legal__effective {
  font-size: var(--bi-text-sm);
  color: var(--bi-text-tertiary);
  margin-bottom: var(--bi-space-6);
}

.bi-legal h2 {
  font-size: var(--bi-text-lg);
  font-weight: 600;
  margin-top: var(--bi-space-6);
  margin-bottom: var(--bi-space-2);
  color: var(--bi-text-primary);
}

.bi-legal p,
.bi-legal ul,
.bi-legal ol {
  margin-bottom: var(--bi-space-3);
}

.bi-legal ul,
.bi-legal ol {
  padding-left: var(--bi-space-5);
}

.bi-legal li {
  margin-bottom: var(--bi-space-1);
}

.bi-legal a {
  color: var(--bi-brand-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bi-legal a:hover {
  color: var(--bi-brand-primary-hover);
}

.bi-legal__callout {
  background: var(--bi-bg-raised);
  border-left: 4px solid var(--bi-brand-accent);
  padding: var(--bi-space-3) var(--bi-space-4);
  border-radius: var(--bi-radius-sm);
  margin-bottom: var(--bi-space-4);
  font-size: var(--bi-text-sm);
}

.bi-legal__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--bi-space-4);
  font-size: var(--bi-text-sm);
}
.bi-legal__table th,
.bi-legal__table td {
  text-align: left;
  padding: var(--bi-space-2) var(--bi-space-3);
  border-bottom: 1px solid var(--bi-border);
}
.bi-legal__table th {
  font-weight: 600;
  color: var(--bi-text-secondary);
}

/* Data-removal flow steps */
.bi-legal__flow {
  display: flex;
  flex-direction: column;
  gap: var(--bi-space-3);
  margin-bottom: var(--bi-space-4);
}
.bi-legal__flow-step {
  display: flex;
  gap: var(--bi-space-3);
  align-items: flex-start;
}
.bi-legal__flow-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--bi-radius-full);
  background: var(--bi-brand-primary);
  color: #fff;
  font-weight: 700;
  font-size: var(--bi-text-sm);
}

/* Formula callout blocks (methodology page) */
.bi-legal__formula {
  background: rgba(99, 102, 241, 0.08);
  border-left: 3px solid var(--bi-brand-primary);
  padding: var(--bi-space-3) var(--bi-space-4);
  margin-bottom: var(--bi-space-4);
  font-family: 'Courier New', Courier, monospace;
  font-size: var(--bi-text-sm);
  color: var(--bi-text-primary);
  border-radius: 0 var(--bi-radius-md) var(--bi-radius-md) 0;
  overflow-x: auto;
}

/* Compact table variant */
.bi-legal__table--compact {
  max-width: 420px;
}

