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

/* ── Brand tokens ─────────────────────────────────────────────── */
#rb-velocity-benchmark,
#rb-velocity-benchmark .rb-vb-wrapper {
  --rb-deep-purple:   #3B0078;
  --rb-bright-purple: #6115BF;
  --rb-turquoise:     #09B8BD;
  --rb-lime:          #7EDA3B;
  --rb-negative:      #CC3366;
  --rb-bg:            #F6F7F9;
  --rb-card-bg:       #ffffff;
  --rb-text:          #1A1A2E;
  --rb-text-muted:    #6B7280;
  --rb-border:        #E5E7EB;
  --rb-shadow-sm:     0 2px 8px rgba(59,0,120,.08), 0 1px 3px rgba(0,0,0,.06);
  --rb-shadow-md:     0 8px 24px rgba(59,0,120,.12), 0 2px 8px rgba(0,0,0,.08);
  --rb-shadow-lg:     0 20px 48px rgba(59,0,120,.18), 0 8px 16px rgba(0,0,0,.10);
  --rb-radius-sm:     12px;
  --rb-radius-md:     24px;
  --rb-radius-lg:     24px;
  --rb-radius-xl:     32px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--rb-text);
}

/* ── Reset isolation ──────────────────────────────────────────── */
:where(#rb-velocity-benchmark) *,
:where(#rb-velocity-benchmark) *::before,
:where(#rb-velocity-benchmark) *::after { box-sizing: border-box; }

:where(#rb-velocity-benchmark) h1,:where(#rb-velocity-benchmark) h2,
:where(#rb-velocity-benchmark) h3,:where(#rb-velocity-benchmark) h4 {
  font-family: 'Poppins', -apple-system, sans-serif;
  font-weight: 700; line-height: 1.2; margin: 0; padding: 0;
  color: var(--rb-text); background: none; border: none;
  letter-spacing: normal; text-transform: none;
}
:where(#rb-velocity-benchmark) p { margin: 0; padding: 0; font-family: 'Poppins', -apple-system, sans-serif; }
:where(#rb-velocity-benchmark) ul, :where(#rb-velocity-benchmark) ol { list-style: none; margin: 0; padding: 0; }
:where(#rb-velocity-benchmark) li { margin: 0; padding: 0; background: transparent; border: 0; }
:where(#rb-velocity-benchmark) li::before,:where(#rb-velocity-benchmark) li::after { content: none; }
:where(#rb-velocity-benchmark) a { color: inherit; text-decoration: none !important; background: transparent; }
:where(#rb-velocity-benchmark) svg { display: block; overflow: visible; }

/* ── Wrapper, orbs, cards ─────────────────────────────────────── */
.rb-vb-wrapper {
  position: relative; overflow: visible;
  background: transparent;
  padding: 28px 18px 28px;
  margin: 72px 0 0;
}
@media (min-width: 641px) { .rb-vb-wrapper { padding: 52px 40px 40px; margin-top: 88px; } }

/* Faded background panel: a rounded "card" whose left/right edges melt into the
   page (no hard rectangle on wide screens) while the top/bottom stay crisp so
   the card edge is clearly visible under the menu. The orb glows live here too,
   so everything fades together. Cards sit above this layer, unaffected. */
.rb-vb-wrapper::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: var(--rb-radius-xl);
  background:
    radial-gradient(480px 480px at 6% -10%, rgba(97,21,191,.22), transparent 62%),
    radial-gradient(420px 420px at 96% 112%, rgba(9,184,189,.18), transparent 62%),
    var(--rb-bg);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 11%, #000 89%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 11%, #000 89%, transparent 100%);
}
.rb-vb-wrapper .rb-orb { display: none; }

/* Soft bottom finish: the panel (incl. the turquoise orb glow) fades into the
   page instead of ending in a hard cut above the footer. */
.rb-vb-wrapper::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 140px;
  z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 92%);
}

/* Keep cards clear of a sticky site header when scrolled/anchored to. */
#rb-velocity-benchmark .rb-card,
#rb-velocity-benchmark #rb-vb-loading,
#rb-velocity-benchmark .rb-vb-results { scroll-margin-top: 130px; }

.rb-vb-wrapper .rb-card {
  position: relative; z-index: 1;
  background: var(--rb-card-bg);
  border-radius: var(--rb-radius-md);
  box-shadow: var(--rb-shadow-md);
  padding: 20px 18px; margin-bottom: 20px;
}
@media (min-width: 641px) { .rb-vb-wrapper .rb-card { padding: 28px 32px; } }

/* ── Utilities ────────────────────────────────────────────────── */
.rb-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rb-subheadline { font-size: 16px; line-height: 1.6; color: var(--rb-text-muted); margin: 0 0 20px; max-width: 680px; }
.rb-trust-bar { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 24px; font-size: 13px; font-weight: 500; color: #4B5563; }
.rb-trust-item { display: inline-flex; align-items: center; gap: 6px; }
.rb-trust-ic { flex-shrink: 0; }
.rb-trust-ic--check { color: #16A34A; }
.rb-trust-ic--lock { color: #4B5563; }
.rb-trust-flag { font-size: 14px; line-height: 1; }
.rb-field-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--rb-text); margin: 0 0 8px; }
.rb-card-heading { position: relative; z-index: 1; font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--rb-deep-purple); margin: 0 0 10px; }
@media (min-width: 641px) { .rb-card-heading { font-size: 28px; } }

.rb-step-badge { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--rb-text-muted); background: #EBEBF0; border-radius: 20px; padding: 5px 12px; margin-bottom: 16px; }
.rb-step-dot { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; flex-shrink: 0; animation: rb-vb-dot-pulse 1.9s ease-out infinite; }
@keyframes rb-vb-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  70%  { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.rb-step-badge-done { color: #16A34A; background: rgba(34,197,94,.12); }
.rb-step-badge-done svg { background: #22C55E; border-radius: 50%; padding: 2px; color: #fff; width: 16px; height: 16px; flex-shrink: 0; }

.rb-section-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--rb-text-muted); margin-bottom: 14px; }
.rb-section-label svg { color: var(--rb-bright-purple); }

/* ── Search input & autocomplete ──────────────────────────────── */
.rb-combobox-wrapper { position: relative; }
.rb-input-row { display: flex; align-items: center; gap: 12px; border: 2px solid var(--rb-border); border-radius: var(--rb-radius-lg); padding: 14px 18px; background: #fff; transition: border-color .2s, box-shadow .2s; overflow: hidden; }
.rb-input-row:focus-within { border-color: var(--rb-text); box-shadow: 0 0 0 4px rgba(26,26,46,.10); }
.rb-input-icon { color: var(--rb-text-muted); flex-shrink: 0; }
.rb-search-input { flex: 1; border: none; background: transparent; font-family: inherit; font-size: 16px; font-weight: 500; color: var(--rb-text); outline: none; }
.rb-search-input::placeholder { color: var(--rb-text-muted); font-weight: 400; }
.rb-spinner { display: none; width: 18px; height: 18px; border: 2px solid var(--rb-border); border-top-color: var(--rb-bright-purple); border-radius: 50%; animation: rb-vb-spin .7s linear infinite; flex-shrink: 0; }
@keyframes rb-vb-spin { to { transform: rotate(360deg); } }
/* Override the site theme, which paints every <button> in its turquoise accent. */
.rb-clear-btn { background: transparent !important; border: none !important; box-shadow: none !important; cursor: pointer; color: var(--rb-text-muted) !important; padding: 4px; min-width: 44px; min-height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1; transition: background .15s, color .15s; }
.rb-clear-btn:hover { background: rgba(0,0,0,.08) !important; color: var(--rb-text) !important; }
.rb-clear-btn[hidden] { display: none !important; }

/* Same corner radius as the search input above, so both read as one unit. */
.rb-suggestions-list { list-style: none; margin: 8px 0 0; padding: 8px; background: var(--rb-card-bg); border: 1px solid var(--rb-border); border-radius: var(--rb-radius-lg); box-shadow: var(--rb-shadow-lg); position: relative; z-index: 100; }
.rb-suggestion-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; cursor: pointer; transition: background .15s; }
.rb-suggestion-item:hover, .rb-suggestion-item.rb-suggestion-active { background: linear-gradient(90deg, rgba(97,21,191,.08), rgba(9,184,189,.04)); }
.rb-suggestion-item.rb-suggestion-active .rb-suggestion-name { color: var(--rb-bright-purple); }
.rb-suggestion-pin { color: var(--rb-text-muted); flex-shrink: 0; }
.rb-suggestion-item-main { flex: 1; min-width: 0; }
.rb-suggestion-name { font-size: 14px; font-weight: 600; color: var(--rb-text); }
.rb-suggestion-name strong { color: var(--rb-bright-purple); }
.rb-suggestion-address { font-size: 12px; color: var(--rb-text-muted); margin-top: 2px; }
.rb-suggestion-rating { display: flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--rb-lime); white-space: nowrap; flex-shrink: 0; }
.rb-review-count { font-weight: 400; color: var(--rb-text-muted); }
.rb-powered-by { margin: 6px 0 0; text-align: right; }
.rb-powered-by-label { font-size: 11px; color: var(--rb-text-muted); }
.rb-google-wordmark { font-size: 13px; font-weight: 700; letter-spacing: -.01em; }

/* ── Selected business chip ───────────────────────────────────── */
.rb-vb-selected { display: flex; align-items: flex-start; gap: 14px; margin-top: 18px; padding: 14px 16px; background: linear-gradient(135deg, rgba(59,0,120,.04) 0%, rgba(9,184,189,.04) 100%); border: 1.5px solid rgba(97,21,191,.12); border-radius: 14px; }
.rb-business-avatar { width: 44px; height: 44px; background: linear-gradient(135deg, var(--rb-deep-purple), var(--rb-bright-purple)); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; font-weight: 700; color: #fff; overflow: hidden; }
.rb-business-avatar.rb-vb-avatar--favicon { background: #fff; border: 1px solid var(--rb-border); }
.rb-business-avatar img { width: 30px; height: 30px; object-fit: contain; display: block; }
.rb-business-name { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--rb-text); }
.rb-business-address { font-size: 13px; color: var(--rb-text-muted); margin-top: 3px; }
.rb-business-rating { display: flex; align-items: center; gap: 4px; font-size: 13px; margin-top: 5px; }
.rb-rating-star { color: var(--rb-lime); }
.rb-rating-value { color: var(--rb-lime); font-weight: 600; }
.rb-rating-count { color: var(--rb-text-muted); font-weight: 400; }

/* ── Cluster select ───────────────────────────────────────────── */
.rb-vb-cluster-row { margin-top: 20px; }
.rb-vb-select-wrap { position: relative; max-width: 380px; }
.rb-vb-select {
  width: 100%; appearance: none; -webkit-appearance: none;
  border: 2px solid var(--rb-border); border-radius: 14px;
  padding: 13px 44px 13px 16px; background: #fff;
  font-family: inherit; font-size: 15px; font-weight: 500; color: var(--rb-text);
  cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.rb-vb-select:focus { outline: none; border-color: var(--rb-text); box-shadow: 0 0 0 4px rgba(26,26,46,.10); }
.rb-vb-select-caret { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--rb-text-muted); pointer-events: none; }

/* ── Start row ────────────────────────────────────────────────── */
.rb-vb-start-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.rb-vb-start-hint { font-size: 13px; color: var(--rb-text-muted); margin: 0; }
.rb-vb-start-hint[hidden] { display: none; }

/* ── Buttons ──────────────────────────────────────────────────── */
.rb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; border-radius: 10px; padding: 11px 20px; min-height: 44px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: transform .12s, box-shadow .12s, opacity .12s; text-decoration: none !important; white-space: nowrap; }
@media (hover: hover) { .rb-btn:hover { transform: translateY(-1px); } }
.rb-btn:active { transform: translateY(0); }
.rb-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
/* Primary button in brand purple — !important kills the theme's turquoise
   background and red :hover that otherwise bleed through on <button>/<a>. */
.rb-btn-copy { background: linear-gradient(91deg, var(--rb-bright-purple), var(--rb-deep-purple)) !important; color: #fff !important; border: none !important; box-shadow: 0 3px 12px rgba(97,21,191,.32); padding: 12px 22px; }
.rb-btn-copy:hover { background: linear-gradient(91deg, #6E23CC, #4A0E93) !important; color: #fff !important; box-shadow: 0 6px 18px rgba(97,21,191,.4); }
/* !important throughout: the site theme paints every <button> in its turquoise
   accent with a red :hover — both would bleed through otherwise. */
.rb-btn-outline { background: #fff !important; color: var(--rb-bright-purple) !important; border: 2px solid var(--rb-bright-purple) !important; box-shadow: none !important; }
.rb-btn-outline:hover { background: rgba(97,21,191,.06) !important; color: var(--rb-bright-purple) !important; border-color: var(--rb-bright-purple) !important; }
.rb-btn-upsell { background: transparent !important; color: #fff !important; border: 2px solid rgba(255,255,255,.65) !important; box-shadow: none !important; padding: 13px 26px; font-size: 15px; }
.rb-btn-upsell:hover { background: rgba(255,255,255,.14) !important; color: #fff !important; border-color: #fff !important; }

/* ── Loading state ────────────────────────────────────────────── */
.rb-vb-loading { position: relative; z-index: 1; text-align: center; padding: 40px 20px; }
.rb-vb-loading[hidden] { display: none; }
.rb-vb-loading-bird { display: flex; justify-content: center; margin-bottom: 32px; }
.rb-vb-logo-loading { width: 180px; height: auto; display: block; animation: rb-vb-logo-pulse 2s ease-in-out infinite; }
@keyframes rb-vb-logo-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .65; transform: scale(.97); } }

.rb-vb-steps-list { display: inline-flex; flex-direction: column; gap: 12px; text-align: left; margin-bottom: 24px; }
.rb-vb-step { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--rb-text-muted); transition: color .3s; }
.rb-vb-step.rb-vb-step--active { color: var(--rb-bright-purple); }
.rb-vb-step.rb-vb-step--done { color: #16A34A; }
.rb-vb-step-icon { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rb-border); flex-shrink: 0; transition: all .3s; }
.rb-vb-step--active .rb-vb-step-icon { border-color: var(--rb-bright-purple); border-top-color: transparent; animation: rb-vb-spin .7s linear infinite; }
.rb-vb-step--done .rb-vb-step-icon { border: none; background: #22C55E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }

.rb-vb-tip { font-size: 15px; font-weight: 500; color: var(--rb-text); line-height: 1.6; max-width: 540px; margin: 8px auto 0; padding: 16px 20px; background: rgba(97,21,191,.05); border: 1px solid rgba(97,21,191,.13); border-radius: 10px; text-align: left; transition: opacity .5s ease; }

/* ── Results ──────────────────────────────────────────────────── */
.rb-vb-results { position: relative; z-index: 1; }
.rb-vb-results[hidden] { display: none; }

.rb-vb-result-head { margin-bottom: 8px; }
.rb-vb-result-meta { font-size: 13px; color: var(--rb-text-muted); margin-top: 3px; }

/* Big number */
.rb-vb-big-wrap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 6px; }
.rb-vb-big-number {
  font-size: 64px; font-weight: 800; line-height: 1;
  background: linear-gradient(91deg, var(--rb-deep-purple), var(--rb-turquoise));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--rb-deep-purple);
  letter-spacing: -.02em;
}
@media (min-width: 641px) { .rb-vb-big-number { font-size: 84px; } }
.rb-vb-big-unit { display: flex; flex-direction: column; gap: 2px; }
.rb-vb-big-unit-main { font-size: 17px; font-weight: 700; color: var(--rb-text); }
.rb-vb-big-unit-note { font-size: 12.5px; color: var(--rb-text-muted); }

/* Percentile sentence */
.rb-vb-percentile { font-size: 15px; font-weight: 600; line-height: 1.55; color: #0a7a7d; background: rgba(9,184,189,.08); border: 1px solid rgba(9,184,189,.22); border-radius: 10px; padding: 12px 16px; margin-top: 16px; }
.rb-vb-percentile--low { color: var(--rb-text); background: rgba(26,26,46,.05); border-color: rgba(26,26,46,.15); }
.rb-vb-percentile[hidden] { display: none; }

/* Chart */
.rb-vb-chart-wrap { position: relative; height: 260px; margin-bottom: 12px; }
.rb-vb-chart-wrap canvas { max-width: 100%; }
.rb-vb-chart-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 22px; font-size: 12.5px; font-weight: 500; color: var(--rb-text-muted); }
.rb-vb-legend-item { display: inline-flex; align-items: center; gap: 7px; }
.rb-vb-legend-line { width: 20px; height: 3px; border-radius: 2px; flex-shrink: 0; }
.rb-vb-legend-you    { background: var(--rb-turquoise); }
.rb-vb-legend-median { background: var(--rb-bright-purple); }
.rb-vb-legend-top    { background: var(--rb-lime); }

/* Stat chips */
.rb-vb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rb-vb-stat { background: var(--rb-bg); border: 1px solid var(--rb-border); border-radius: 12px; padding: 14px 14px; text-align: center; }
.rb-vb-stat--you    { background: rgba(9,184,189,.07);  border-color: rgba(9,184,189,.3); }
.rb-vb-stat--median { background: rgba(97,21,191,.06);  border-color: rgba(97,21,191,.22); }
.rb-vb-stat--top    { background: rgba(126,218,59,.09); border-color: rgba(126,218,59,.35); }
.rb-vb-stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--rb-text-muted); margin-bottom: 6px; }
.rb-vb-stat-value { font-size: 24px; font-weight: 800; line-height: 1.1; color: var(--rb-text); }
.rb-vb-stat--you .rb-vb-stat-value    { color: #0a7a7d; }
.rb-vb-stat--median .rb-vb-stat-value { color: var(--rb-bright-purple); }
.rb-vb-stat--top .rb-vb-stat-value    { color: #4e9c14; }
.rb-vb-stat-sub { font-size: 11px; color: var(--rb-text-muted); margin-top: 3px; }
@media (max-width: 700px) { .rb-vb-stats { grid-template-columns: repeat(2, 1fr); } }

/* Cluster card */
.rb-vb-cluster-card[hidden] { display: none; }
.rb-vb-cluster-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.rb-vb-cluster-stat { background: var(--rb-bg); border: 1px solid var(--rb-border); border-radius: 12px; padding: 14px 14px; text-align: center; }
.rb-vb-cluster-stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--rb-text-muted); margin-bottom: 6px; }
.rb-vb-cluster-stat-value { font-size: 22px; font-weight: 800; color: var(--rb-bright-purple); line-height: 1.1; }
.rb-vb-cluster-stat-sub { font-size: 11px; color: var(--rb-text-muted); margin-top: 3px; }
.rb-vb-cluster-note { font-size: 12.5px; color: var(--rb-text-muted); }
@media (max-width: 520px) { .rb-vb-cluster-stats { grid-template-columns: 1fr; } }

/* ── Step 3: refinement (always open) ─────────────────────────── */
.rb-vb-refine-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.rb-vb-refine-head .rb-step-badge { margin-bottom: 0; }
.rb-vb-refine-heading { flex: 1; min-width: 180px; font-size: 16px; font-weight: 700; color: var(--rb-deep-purple); }

.rb-vb-refine-body { margin-top: 22px; }

/* Send-rate switch + explainer */
.rb-vb-quote-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 12px; }
.rb-vb-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.rb-vb-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.rb-vb-switch-track { position: relative; width: 40px; height: 22px; border-radius: 22px; background: #D1D5DB; transition: background .2s; flex-shrink: 0; }
.rb-vb-switch-knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.rb-vb-switch input:checked + .rb-vb-switch-track { background: var(--rb-bright-purple); }
.rb-vb-switch input:checked + .rb-vb-switch-track .rb-vb-switch-knob { transform: translateX(18px); }
.rb-vb-switch input:focus-visible + .rb-vb-switch-track { outline: 3px solid var(--rb-bright-purple); outline-offset: 2px; }
.rb-vb-switch-label { font-size: 13.5px; font-weight: 600; color: var(--rb-text); }
.rb-vb-quote-info-btn { background: transparent !important; border: none !important; box-shadow: none !important; padding: 4px 6px; font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--rb-bright-purple) !important; cursor: pointer; text-decoration: underline; border-radius: 6px; }
.rb-vb-quote-info-btn:hover { color: var(--rb-deep-purple) !important; background: transparent !important; }
.rb-vb-quote-info { font-size: 12.5px; line-height: 1.6; color: var(--rb-text-muted); background: rgba(97,21,191,.05); border: 1px solid rgba(97,21,191,.13); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; }
.rb-vb-quote-info[hidden] { display: none; }

/* Slider */
.rb-vb-slider-row { margin-bottom: 20px; }
.rb-vb-slider-line { display: flex; align-items: center; gap: 16px; }
.rb-vb-slider {
  flex: 1; appearance: none; -webkit-appearance: none;
  height: 8px; border-radius: 6px; outline: none; margin: 12px 0;
  background: linear-gradient(90deg, var(--rb-bright-purple), var(--rb-turquoise));
  cursor: pointer;
}
.rb-vb-slider::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 3px solid var(--rb-bright-purple);
  box-shadow: 0 2px 8px rgba(59,0,120,.25); cursor: grab;
}
.rb-vb-slider::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 3px solid var(--rb-bright-purple);
  box-shadow: 0 2px 8px rgba(59,0,120,.25); cursor: grab;
}
.rb-vb-slider:focus-visible { outline: 3px solid var(--rb-bright-purple); outline-offset: 4px; }
/* One-time attention pulse when step 3 scrolls into view (class set via JS) */
.rb-vb-slider--attn::-webkit-slider-thumb { animation: rb-vb-thumb-pulse .85s ease-out 3; }
.rb-vb-slider--attn::-moz-range-thumb { animation: rb-vb-thumb-pulse .85s ease-out 3; }
@keyframes rb-vb-thumb-pulse {
  0%   { box-shadow: 0 2px 8px rgba(59,0,120,.25), 0 0 0 0 rgba(97,21,191,.45); transform: scale(1); }
  50%  { box-shadow: 0 2px 8px rgba(59,0,120,.25), 0 0 0 11px rgba(97,21,191,0); transform: scale(1.12); }
  100% { box-shadow: 0 2px 8px rgba(59,0,120,.25), 0 0 0 0 rgba(97,21,191,0); transform: scale(1); }
}
.rb-vb-slider-val { font-size: 22px; font-weight: 800; color: var(--rb-bright-purple); min-width: 48px; text-align: center; background: rgba(97,21,191,.07); border-radius: 10px; padding: 6px 10px; }
.rb-vb-slider-note { font-size: 12.5px; color: var(--rb-text-muted); margin-top: 6px; }

.rb-vb-sms-fact { font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--rb-text); background: linear-gradient(135deg, rgba(97,21,191,.06), rgba(9,184,189,.06)); border: 1px solid rgba(97,21,191,.15); border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; }

/* Potential bars */
.rb-vb-potential { display: flex; flex-direction: column; gap: 14px; }
.rb-vb-pot-row { display: grid; grid-template-columns: minmax(120px, 240px) 1fr auto; align-items: center; gap: 10px; }
.rb-vb-pot-label { font-size: 13px; font-weight: 500; color: var(--rb-text-muted); line-height: 1.35; }
.rb-vb-pot-track { position: relative; height: 14px; background: var(--rb-bg); border: 1px solid var(--rb-border); border-radius: 8px; overflow: hidden; }
.rb-vb-pot-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; transition: width .6s ease; }
.rb-vb-pot-fill--you    { background: var(--rb-turquoise); }
.rb-vb-pot-fill--range  { background: rgba(97,21,191,.22); }
.rb-vb-pot-fill--median { background: linear-gradient(90deg, var(--rb-bright-purple), var(--rb-turquoise)); }
.rb-vb-pot-value { font-size: 13px; font-weight: 700; color: var(--rb-text); white-space: nowrap; text-align: right; min-width: 56px; }
.rb-vb-pot-summary { font-size: 13.5px; line-height: 1.6; color: var(--rb-text-muted); margin-top: 4px; }
@media (max-width: 560px) {
  .rb-vb-pot-row { grid-template-columns: 1fr auto; }
  .rb-vb-pot-label { grid-column: 1 / -1; }
}

.rb-vb-model-note { font-size: 11.5px; color: var(--rb-text-muted); margin-top: 18px; line-height: 1.55; }

/* ── CTA card ─────────────────────────────────────────────────── */
#rb-velocity-benchmark .rb-vb-cta-card {
  background: linear-gradient(90deg, var(--rb-bright-purple) 60%, var(--rb-turquoise) 90%);
  color: #fff;
  overflow: hidden;
}
#rb-velocity-benchmark .rb-vb-cta-card::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.rb-vb-cta-inner { position: relative; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.rb-vb-cta-text { flex: 1; min-width: 220px; }
.rb-upsell-badge { display: inline-block; padding: 2px 10px; border-radius: 20px; background: rgba(255,255,255,.15); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--rb-lime); margin-bottom: 10px; }
#rb-velocity-benchmark .rb-vb-cta-headline { font-size: 20px; font-weight: 700; line-height: 1.35; color: #fff !important; margin-bottom: 8px; background: none; }
#rb-velocity-benchmark .rb-vb-cta-sub { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.85); }
.rb-vb-cta-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
/* Inside the purple CTA card the primary button flips to white for contrast. */
#rb-velocity-benchmark .rb-vb-cta-card .rb-btn-copy { background: #fff !important; color: var(--rb-deep-purple) !important; box-shadow: 0 4px 16px rgba(0,0,0,.2); font-size: 15px; padding: 13px 28px; }
#rb-velocity-benchmark .rb-vb-cta-card .rb-btn-copy:hover { background: #F3EDFB !important; color: var(--rb-deep-purple) !important; }
#rb-velocity-benchmark .rb-vb-cta-guarantee { position: relative; display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; padding: 13px 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 12px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.92); }
#rb-velocity-benchmark .rb-vb-cta-guarantee svg { flex-shrink: 0; margin-top: 2px; color: var(--rb-lime); }
#rb-velocity-benchmark .rb-vb-cta-guarantee strong { color: #fff; font-weight: 700; }
@media (max-width: 560px) { .rb-vb-cta-actions { width: 100%; } }

/* ── Restart row & toast ──────────────────────────────────────── */
.rb-vb-restart-row { display: flex; justify-content: center; margin-top: 4px; }

.rb-toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(16px); background: var(--rb-text); color: #fff; padding: 10px 22px; border-radius: 100px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 9999; white-space: normal; max-width: 90vw; text-align: center; }
.rb-toast-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Focus & motion ───────────────────────────────────────────── */
#rb-velocity-benchmark *:focus-visible { outline: 3px solid var(--rb-bright-purple); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  #rb-velocity-benchmark * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── SEO content hub below the tool ─────────────────────────── */
/* Full container width — identical to the tool cards above, so the page reads
   as one consistent column and the table never needs horizontal scrolling. */
.rb-vb-content { position: relative; z-index: 1; max-width: none; margin: 40px 0 0; display: flex; flex-direction: column; gap: 24px; }
.rb-vb-content-card h2 { font-size: 26px; font-weight: 700; color: #3B0078; margin: 0 0 14px; }
.rb-vb-content-card p { font-size: 16px; line-height: 1.7; color: #333; max-width: 75ch; }
.rb-vb-keystat-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.rb-vb-keystat { flex: 1 1 180px; background: #fff; border: 1px solid #E8EBF0; border-top: 3px solid #3B0078; border-radius: 12px; padding: 20px 16px 18px; text-align: center; box-shadow: 0 2px 10px rgba(59,0,120,.07); transition: transform .15s ease, box-shadow .15s ease; }
.rb-vb-keystat:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(59,0,120,.12); }
.rb-vb-keystat-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; margin-bottom: 12px; }
.rb-vb-keystat-icon svg { display: block; }
.rb-vb-keystat-icon--market { background: rgba(26,26,46,.06); color: #6B7280; }
.rb-vb-keystat-icon--rb     { background: rgba(9,184,189,.13); color: #0a7a7d; }
.rb-vb-keystat-icon--uplift { background: rgba(126,218,59,.18); color: #4e9c14; }
.rb-vb-keystat-num { display: block; font-size: 34px; font-weight: 700; background: linear-gradient(91deg, #3B0078, #6115BF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #3B0078; line-height: 1.1; }
.rb-vb-keystat-label { display: block; font-size: 13px; color: #555; margin-top: 6px; line-height: 1.4; }
.rb-vb-table-wrap { overflow-x: auto; margin-top: 8px; }
.rb-vb-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rb-vb-table th, .rb-vb-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #E8EBF0; }
.rb-vb-table thead th { font-weight: 700; color: #3B0078; border-bottom: 2px solid #3B0078; white-space: nowrap; }
.rb-vb-table tbody th { font-weight: 600; color: #1a1a2e; }
.rb-vb-table tbody tr:hover { background: #F7F5FB; }
/* Row icons */
.rb-vb-row-ic { display: inline-flex; vertical-align: -3px; margin-right: 9px; color: var(--rb-bright-purple); }
.rb-vb-row-ic svg { display: block; }

/* Collapsible healthcare group */
.rb-vb-health-row th { padding-top: 8px; padding-bottom: 8px; }
.rb-vb-health-toggle { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; background: transparent !important; border: none !important; box-shadow: none !important; padding: 4px 6px; margin: -4px -6px; border-radius: 8px; font-family: inherit; font-size: 15px; font-weight: 600; color: #1a1a2e !important; cursor: pointer; text-align: left; transition: background .15s; }
.rb-vb-health-toggle:hover { background: rgba(59,0,120,.06) !important; color: #1a1a2e !important; }
.rb-vb-health-caret { flex-shrink: 0; color: #3B0078; transition: transform .2s; }
.rb-vb-health-toggle[aria-expanded="true"] .rb-vb-health-caret { transform: rotate(90deg); }
.rb-vb-health-hint { font-size: 12px; font-weight: 500; color: #6B7280; }
.rb-vb-table tr.rb-vb-health-sub th { padding-left: 34px; font-weight: 500; }
.rb-vb-table tr.rb-vb-health-sub { background: #FAF9FC; }
.rb-vb-table tr.rb-vb-health-sub:hover { background: #F7F5FB; }
.rb-vb-table tr[hidden] { display: none; }
.rb-vb-thin-badge { color: #6B7280; font-weight: 700; margin-left: 2px; white-space: nowrap; }
.rb-vb-table-note { font-size: 13px; color: #777; margin-top: 10px; }
.rb-vb-faq { border-bottom: 1px solid #E8EBF0; padding: 4px 0; }
.rb-vb-faq summary { font-weight: 600; font-size: 16px; color: #1a1a2e; cursor: pointer; padding: 12px 0; }
.rb-vb-faq summary:hover { color: #3B0078; }
.rb-vb-faq p { padding: 0 0 14px; margin: 0; }
.rb-vb-methodik { padding: 0 8px 0; }
.rb-vb-methodik h3 { font-size: 16px; font-weight: 700; color: #555; margin: 0 0 8px; }
.rb-vb-methodik p { font-size: 13px; line-height: 1.6; color: #777; }
@media (max-width: 640px) {
  .rb-vb-content-card h2 { font-size: 21px; }
  .rb-vb-keystat-num { font-size: 27px; }
}
.rb-vb-teaser { margin-top: 18px; background: #09B8BD14; border-left: 4px solid #09B8BD; border-radius: 8px; padding: 14px 18px; }
.rb-vb-teaser p { margin: 0; font-size: 15px; }
.rb-vb-teaser a { color: #3B0078; font-weight: 600; }
.rb-vb-crosslink { margin-top: 14px; font-size: 15px; }
.rb-vb-crosslink a { color: #3B0078; font-weight: 600; }
