/*
 * ff-cosmetic-v36-201.css
 *
 * Cosmetic-only restyle of the Fix & Flip results panel to match the
 * Buy & Hold visual system. NO engine, DOM, or content changes.
 *
 * Loaded AFTER all other CSS so it wins the cascade. Everything below
 * scopes to `.v2-tabpanel`, `.v2-tabs`, `.v2-tab`, and result panes so
 * we do not touch the intake form or the sidebar.
 *
 * Design tokens (borrowed from bh-ltr-styles.css):
 *   Lime accent (active tab / positive):   #A9E23E
 *   Amber (caution):                       #F0B03D
 *   Red (fail):                            #EE5A5A
 *   Green (survives):                      #4EBE7A
 *   Bronze (funding primary):              #B88F4A
 *   Panel background:                      rgba(10,12,16,0.55)
 *   Card background:                       rgba(10,12,16,0.55)
 *   Panel border:                          rgba(233,237,243,0.08)
 *   Body text:                             #F5F7FA
 *   Muted:                                 #8E96A2
 */

/* ----------------------------------------------------------------------
 * Tab strip — pill-style, lime-lit active
 * ---------------------------------------------------------------------- */
#v2-results-tabs .v2-tabs__strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 6px;
  background: rgba(10, 12, 16, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.08);
  border-radius: 12px;
  margin-bottom: 20px;
}
#v2-results-tabs .v2-tab {
  position: relative;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #8E96A2;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
#v2-results-tabs .v2-tab:hover:not(.is-active) {
  color: #F5F7FA;
  background: rgba(233, 237, 243, 0.04);
}
#v2-results-tabs .v2-tab.is-active {
  color: #A9E23E;
  background: rgba(169, 226, 62, 0.10);
  border-color: rgba(169, 226, 62, 0.45);
  box-shadow: 0 0 0 1px rgba(169, 226, 62, 0.10) inset;
}
#v2-results-tabs .v2-tab .v2-tab__label {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}
/* Kill any legacy underline/indicator */
#v2-results-tabs .v2-tab::before,
#v2-results-tabs .v2-tab::after,
#v2-results-tabs .v2-tabs__indicator {
  display: none !important;
}

/* ----------------------------------------------------------------------
 * Tab panels — B&H panel padding & background
 * ---------------------------------------------------------------------- */
.v2-tabpanel {
  padding: 0;
}
.v2-tabpanel > .v2-card,
.v2-tabpanel > .v2-results__block,
.v2-tabpanel .v2-verdict-pane {
  background: rgba(10, 12, 16, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.08);
  border-radius: 14px;
  padding: 28px;
  color: #F5F7FA;
}

/* ----------------------------------------------------------------------
 * Verdict pane — real class names from live DOM inspection
 * ---------------------------------------------------------------------- */

/* Card header */
.v2-verdict-pane .v2-card__head {
  border-bottom: 1px solid rgba(233, 237, 243, 0.06);
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.v2-verdict-pane .v2-card__title {
  color: #8E96A2;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
}

/* Gauge wrapper — keep SVG ring but retint to lime */
.v2-verdict-pane .v2-gauge-wrap {
  margin: 8px auto 20px;
}
.v2-verdict-pane .v2-gauge__score {
  color: #A9E23E;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.v2-verdict-pane .v2-gauge__of {
  color: #8E96A2;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-top: 4px;
}
/* Tier state overrides on gauge score */
.v2-verdict-pane.is-tier-tight .v2-gauge__score,
.v2-verdict-pane .v2-gauge-wrap.is-tier-tight .v2-gauge__score { color: #F0B03D; }
.v2-verdict-pane.is-tier-fail .v2-gauge__score,
.v2-verdict-pane.is-tier-critical .v2-gauge__score,
.v2-verdict-pane .v2-gauge-wrap.is-tier-fail .v2-gauge__score,
.v2-verdict-pane .v2-gauge-wrap.is-tier-critical .v2-gauge__score { color: #EE5A5A; }

/* Tier label + sub (below gauge) */
.v2-verdict-pane .v2-tier {
  text-align: center;
  margin-bottom: 20px;
}
.v2-verdict-pane .v2-tier__label {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.005em;
  color: #F5F7FA;
  margin-bottom: 6px;
  text-transform: none;
}
/* Tier color comes from engine-applied is-tier-* classes on gauge-wrap */
.v2-verdict-pane .v2-tier__sub {
  color: #8E96A2;
  font-size: 13.5px;
  line-height: 1.5;
}

/* Confidence chip */
.v2-verdict-pane .v2-conf {
  padding: 14px 16px;
  background: rgba(6, 8, 12, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.06);
  border-radius: 10px;
  margin: 16px 0;
}
.v2-verdict-pane .v2-conf__head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.v2-verdict-pane .v2-conf__label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8E96A2;
  font-weight: 700;
}
.v2-verdict-pane .v2-conf__lede {
  color: #B7BDC7;
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0;
}
.v2-verdict-pane .v2-conf__list {
  padding-left: 18px;
  margin: 6px 0 0;
  color: #B7BDC7;
  font-size: 12.5px;
  line-height: 1.6;
}

/* Risk hint strip */
.v2-verdict-pane .v2-risk {
  margin: 16px 0;
  padding: 14px 16px;
  background: rgba(6, 8, 12, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.06);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.v2-verdict-pane .v2-risk__body { flex: 1; }
.v2-verdict-pane .v2-risk__label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8E96A2;
  font-weight: 700;
  margin-bottom: 4px;
}
.v2-verdict-pane .v2-risk__hint {
  color: #B7BDC7;
  font-size: 13px;
  line-height: 1.5;
}
.v2-verdict-pane .v2-risk__chev { color: #8E96A2; font-size: 18px; }
/* Risk color states — legacy uses .is-low/.is-moderate/.is-high on .v2-risk */
.v2-verdict-pane .v2-risk.is-low .v2-risk__label { color: #A9E23E; }
.v2-verdict-pane .v2-risk.is-moderate .v2-risk__label { color: #F0B03D; }
.v2-verdict-pane .v2-risk.is-high .v2-risk__label { color: #EE5A5A; }

/* KPI grid — the 6 pillar cards below the gauge */
.v2-verdict-pane .v2-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.v2-verdict-pane .v2-kpi {
  padding: 14px 16px;
  background: rgba(6, 8, 12, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.06);
  border-radius: 10px;
}
.v2-verdict-pane .v2-kpi__label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8E96A2;
  font-weight: 700;
  margin-bottom: 6px;
}
.v2-verdict-pane .v2-kpi__value {
  font-size: 18px;
  font-weight: 700;
  color: #F5F7FA;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}
.v2-verdict-pane .v2-kpi__value.is-negative,
.v2-verdict-pane .v2-kpi__value[data-negative="true"] { color: #EE5A5A; }

/* Normalization / assumptions bar */
.v2-verdict-pane .v2-norm {
  padding: 12px 16px;
  background: rgba(6, 8, 12, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.06);
  border-radius: 10px;
  margin: 14px 0;
  color: #B7BDC7;
  font-size: 12.5px;
  line-height: 1.5;
}
.v2-verdict-pane .v2-norm > div:first-child {
  color: #8E96A2;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

/* ----------------------------------------------------------------------
 * Insights pane — restyle existing lists to bucket look
 * ---------------------------------------------------------------------- */
#v2-insights-block h3,
#v2-insights-block .v2-insights__title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A9E23E;
  font-weight: 700;
  margin: 0 0 12px;
}
#v2-insights-block .v2-insight,
#v2-insights-block li {
  padding: 12px 14px;
  background: rgba(6, 8, 12, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.06);
  border-radius: 8px;
  margin-bottom: 8px;
  color: #F5F7FA;
  font-size: 13px;
  line-height: 1.55;
  list-style: none;
}
#v2-insights-block ul {
  padding-left: 0;
  margin: 0 0 20px;
}

/* ----------------------------------------------------------------------
 * Math Trail pane
 * ---------------------------------------------------------------------- */
#v2-work-block,
#v2-work-block .v2-work {
  color: #B7BDC7;
  font-size: 13px;
  line-height: 1.6;
}
#v2-work-block h3, #v2-work-block h4 {
  color: #F5F7FA;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 20px 0 10px;
  font-weight: 700;
}
#v2-work-block table {
  border-collapse: collapse;
  width: 100%;
  font-variant-numeric: tabular-nums;
}
#v2-work-block th, #v2-work-block td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(233, 237, 243, 0.06);
  text-align: left;
}
#v2-work-block th {
  color: #8E96A2;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
#v2-work-block td { color: #F5F7FA; }

/* ----------------------------------------------------------------------
 * Storm Lab pane — restyle preset pills + sliders
 * ---------------------------------------------------------------------- */
#v2-storm-block .v2-storm__intro,
#v2-storm-block h3 {
  color: #F5F7FA;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
#v2-storm-block .v2-storm__sub,
#v2-storm-block p {
  color: #8E96A2;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* Preset pills */
#v2-storm-block .v2-storm__presets,
#v2-storm-block .v2-preset-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px;
  background: rgba(6, 8, 12, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.06);
  border-radius: 10px;
}
#v2-storm-block .v2-preset,
#v2-storm-block .v2-storm__preset,
#v2-storm-block button[data-preset] {
  padding: 10px 12px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  color: #8E96A2;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
#v2-storm-block .v2-preset:hover:not(.is-active),
#v2-storm-block button[data-preset]:hover:not(.is-active) {
  color: #F5F7FA;
  background: rgba(233, 237, 243, 0.04);
}
#v2-storm-block .v2-preset.is-active,
#v2-storm-block button[data-preset].is-active {
  color: #A9E23E;
  background: rgba(169, 226, 62, 0.10);
  border-color: rgba(169, 226, 62, 0.45);
}

/* Sliders — dark rail with lime thumb */
#v2-storm-block input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(233, 237, 243, 0.10);
  border-radius: 2px;
  outline: none;
}
#v2-storm-block input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #A9E23E;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(169, 226, 62, 0.20);
}
#v2-storm-block input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #A9E23E;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(169, 226, 62, 0.20);
}

/* Storm readout cards */
#v2-storm-block .v2-storm__readout,
#v2-storm-block .v2-storm__result {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  background: rgba(6, 8, 12, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.06);
  border-radius: 10px;
}
#v2-storm-block .v2-storm__stat-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8E96A2;
  font-weight: 700;
  margin-bottom: 4px;
}
#v2-storm-block .v2-storm__stat-value {
  font-size: 18px;
  font-weight: 700;
  color: #F5F7FA;
  font-variant-numeric: tabular-nums;
}

/* Storm lever rows */
#v2-storm-block .v2-lever,
#v2-storm-block .v2-storm__lever {
  padding: 14px 16px;
  background: rgba(6, 8, 12, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.06);
  border-radius: 10px;
  margin-bottom: 10px;
}
#v2-storm-block .v2-lever__label,
#v2-storm-block .v2-storm__lever-label {
  color: #F5F7FA;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#v2-storm-block .v2-lever__value,
#v2-storm-block .v2-storm__lever-value {
  color: #A9E23E;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* Buffer chip — read-only, always visible on Storm Lab */
.v2-storm__buffer-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(169, 226, 62, 0.35);
  background: rgba(169, 226, 62, 0.08);
  color: #A9E23E;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 4px;
  margin-left: 8px;
  cursor: default;
}
.v2-storm__buffer-chip::before {
  content: "\1F512"; /* lock glyph */
  font-size: 9px;
  opacity: 0.75;
}

/* ----------------------------------------------------------------------
 * Fund pane — restyle CTA + product cards to match B&H funding tab
 * ---------------------------------------------------------------------- */
#v2-fund-block .v2-fund__title,
#v2-fund-block h3 {
  font-size: 15px;
  color: #F5F7FA;
  font-weight: 700;
  margin: 0 0 6px;
}
#v2-fund-block .v2-fund__sub,
#v2-fund-block p {
  color: #8E96A2;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 18px;
}

#v2-fund-block .v2-fund__grid,
#v2-fund-block .v2-fund__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
#v2-fund-block .v2-fund__card,
#v2-fund-block .v2-product-card {
  padding: 18px 18px 16px;
  background: rgba(10, 12, 16, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#v2-fund-block .v2-fund__card.is-recommended,
#v2-fund-block .v2-product-card.is-primary {
  border-color: rgba(184, 143, 74, 0.6);
  background: linear-gradient(180deg, rgba(184, 143, 74, 0.08), rgba(10, 12, 16, 0.55));
  box-shadow: 0 0 0 1px rgba(184, 143, 74, 0.15) inset;
}
#v2-fund-block .v2-fund__card-title,
#v2-fund-block .v2-product-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #F5F7FA;
  letter-spacing: -0.01em;
}

/* Fund CTA bar */
.v2-cta-bar,
#v2-fund-block .v2-cta-bar {
  padding: 20px 24px;
  background: linear-gradient(90deg, rgba(169, 226, 62, 0.08), rgba(169, 226, 62, 0.03));
  border: 1px solid rgba(169, 226, 62, 0.35);
  border-radius: 12px;
  margin-top: 20px;
  text-align: center;
}
.v2-cta-bar__title,
#v2-cta-step-title {
  color: #F5F7FA;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.v2-cta-bar__sub,
#v2-cta-sub {
  color: #8E96A2;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* ----------------------------------------------------------------------
 * Applicable-points strip — match B&H
 * ---------------------------------------------------------------------- */
.v2-applicable-points,
[id="v2-applicable-points"] {
  padding: 12px 16px;
  background: rgba(6, 8, 12, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.06);
  border-radius: 10px;
  color: #B7BDC7;
  font-size: 13px;
  text-align: center;
  margin-top: 16px;
}

/* ----------------------------------------------------------------------
 * Footer disclaimer
 * ---------------------------------------------------------------------- */
.v2-panel__footer,
.v2-results__footer {
  text-align: center;
  color: #8E96A2;
  font-size: 12px;
  margin-top: 24px;
  font-style: italic;
}

/* ----------------------------------------------------------------------
 * F&F INTAKE — restyle to match B&H intake structure
 * (CSS-only: no DOM changes, targets real class names from live inspection)
 * ---------------------------------------------------------------------- */

/* Hide the legacy "INTAKE SECTION" eyebrow + edit icon header */
.v2-intake-pane > .v2-card__head {
  display: none;
}

/* Inject a B&H-style page title above the intake body */
.v2-intake-pane {
  background: transparent;
  border: none;
  padding: 0;
}
.v2-intake-pane::before {
  content: "Underwrite your flip in 60 seconds";
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #F5F7FA;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.25;
}
.v2-intake__body::before {
  content: "Fill what you know. VERDICT flags anything missing and shows which numbers are estimates versus verified.";
  display: block;
  color: #8E96A2;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 640px;
}

/* Lane caption ("Flip · 16 fields · flat") — quiet it down, position top-right */
.v119-intake__caption {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 0;
}
.v119-intake__lane {
  display: none; /* redundant with page title */
}
.v119-intake__meta {
  color: #8E96A2;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Section wrapper — the B&H numbered card look */
.v2-intake-pane .v2-section {
  background: rgba(10, 12, 16, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.08);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 14px;
}
.v2-intake-pane .v2-section__title {
  color: #A9E23E;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(233, 237, 243, 0.06);
}

/* Field grid — B&H uses 2-col on tablet/desktop, 3-col on wide */
.v2-intake-pane .v2-field-grid,
.v2-intake-pane .v2-field-grid--flat {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 14px 16px !important;
}
@media (min-width: 1100px) {
  .v2-intake-pane .v2-field-grid,
  .v2-intake-pane .v2-field-grid--flat {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 560px) {
  .v2-intake-pane .v2-field-grid,
  .v2-intake-pane .v2-field-grid--flat {
    grid-template-columns: 1fr !important;
  }
}

/* Individual field label + input */
.v2-intake-pane .v2-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0; /* prevent select intrinsic-width overflow */
}
.v2-intake-pane .v2-input-wrap {
  min-width: 0;
}
.v2-intake-pane .v2-input,
.v2-intake-pane select.v2-input {
  width: 100% !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}
.v2-intake-pane .v2-field__lbl {
  /* Kill the ALL-CAPS transform; B&H uses mixed-case */
  text-transform: none !important;
  letter-spacing: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: #B7BDC7;
  line-height: 1.35;
}
.v2-intake-pane .v2-input,
.v2-intake-pane .v2-input-wrap input,
.v2-intake-pane .v2-input-wrap select,
.v2-intake-pane select.v2-input {
  background: rgba(6, 8, 12, 0.65) !important;
  border: 1px solid rgba(233, 237, 243, 0.10) !important;
  border-radius: 8px !important;
  padding: 11px 13px !important;
  color: #F5F7FA !important;
  font-size: 14px !important;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.v2-intake-pane .v2-input:focus,
.v2-intake-pane .v2-input-wrap input:focus,
.v2-intake-pane .v2-input-wrap select:focus,
.v2-intake-pane select.v2-input:focus {
  outline: none !important;
  border-color: rgba(169, 226, 62, 0.5) !important;
  background: rgba(10, 12, 16, 0.85) !important;
}

/* Dollar-prefix wrapper */
.v2-intake-pane .v2-input-wrap {
  position: relative;
  display: block;
}
.v2-intake-pane .v2-input-wrap[data-prefix]::before {
  content: attr(data-prefix);
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #8E96A2;
  font-size: 13px;
  pointer-events: none;
}

/* Strategy dropdown at the very top ("Standard Flip") */
.v2-intake-pane .v2-strategy {
  background: rgba(10, 12, 16, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.v2-intake-pane .v2-strategy__lbl {
  color: #A9E23E;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  flex-shrink: 0;
}
.v2-intake-pane .v2-strategy__sel {
  flex: 0 1 240px;
  background: rgba(6, 8, 12, 0.65) !important;
  border: 1px solid rgba(233, 237, 243, 0.10) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  color: #F5F7FA !important;
  font-size: 14px !important;
}
.v2-intake-pane .v2-strategy__hint {
  color: #8E96A2;
  font-size: 12.5px;
}

/* Advanced Options — restyle the collapser */
.v2-intake-pane .v119-advanced__summary {
  padding: 14px 18px !important;
  background: rgba(10, 12, 16, 0.35);
  border: 1px dashed rgba(233, 237, 243, 0.12);
  border-radius: 10px;
  margin: 8px 0 14px;
  color: #A9E23E !important;
  font-size: 11px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700 !important;
  cursor: pointer;
}
.v2-intake-pane .v119-advanced__caret,
.v2-intake-pane .v119-advanced__label,
.v2-intake-pane .v119-advanced__hint,
.v2-intake-pane .v119-advanced__auto,
.v2-intake-pane .v119-advanced__count {
  color: inherit !important;
}
.v2-intake-pane .v119-advanced__auto,
.v2-intake-pane .v119-advanced__count {
  background: rgba(169, 226, 62, 0.10);
  border: 1px solid rgba(169, 226, 62, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  margin-left: 6px;
}

/* Router (Route My Funding) — match B&H section-card style */
.v2-intake-pane .v2-router {
  background: rgba(10, 12, 16, 0.55);
  border: 1px solid rgba(169, 226, 62, 0.25);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 14px 0;
}
.v2-intake-pane .v2-router__eyebrow {
  color: #A9E23E;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.v2-intake-pane .v2-router__hint {
  color: #8E96A2;
  font-size: 13px;
  line-height: 1.5;
  display: block;
  margin-bottom: 16px;
}
.v2-intake-pane .v2-router__q {
  border: none;
  padding: 0;
  margin: 0 0 14px;
}
.v2-intake-pane .v2-router__qtitle {
  color: #F5F7FA;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  padding: 0;
}
.v2-intake-pane .v2-router__opts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.v2-intake-pane .v2-router__opts label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(6, 8, 12, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.10);
  border-radius: 6px;
  color: #B7BDC7;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.v2-intake-pane .v2-router__opts label:hover {
  color: #F5F7FA;
  border-color: rgba(233, 237, 243, 0.20);
}
.v2-intake-pane .v2-router__opts input[type="radio"] {
  accent-color: #A9E23E;
}
.v2-intake-pane .v2-router__opts input[type="radio"]:checked + span,
.v2-intake-pane .v2-router__opts label:has(input:checked) {
  color: #A9E23E;
  border-color: rgba(169, 226, 62, 0.5);
  background: rgba(169, 226, 62, 0.08);
}
.v2-intake-pane .v2-router__status {
  color: #8E96A2;
  font-size: 12px;
  margin-top: 8px;
}

/* Run button — B&H lime */
#v2-run,
.v2-btn--run,
button.v2-btn--run {
  background: linear-gradient(180deg, #B8ED4E, #A9E23E) !important;
  color: #0A0C10 !important;
  border: 1px solid rgba(169, 226, 62, 0.6) !important;
  border-radius: 10px !important;
  padding: 14px 24px !important;
  font-size: 14px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(169, 226, 62, 0.25) !important;
  transition: transform 0.1s ease, box-shadow 0.15s ease !important;
  cursor: pointer;
}
#v2-run:hover:not(:disabled),
.v2-btn--run:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(169, 226, 62, 0.35) !important;
}
#v2-run:disabled,
.v2-btn--run:disabled {
  opacity: 0.35 !important;
  cursor: not-allowed;
  background: rgba(169, 226, 62, 0.15) !important;
  color: #8E96A2 !important;
  box-shadow: none !important;
}

/* Footer disclaimer under Run */
.v2-intake-pane .v2-legal,
.v2-intake-pane .v2-disclaimer {
  text-align: center;
  color: #8E96A2;
  font-size: 11.5px;
  font-style: italic;
  margin-top: 12px;
}

/* ----------------------------------------------------------------------
 * Responsive: stack tabs on narrow screens
 * ---------------------------------------------------------------------- */
@media (max-width: 720px) {
  #v2-results-tabs .v2-tabs__strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  .v2-tabpanel > .v2-card,
  .v2-tabpanel > .v2-results__block,
  .v2-tabpanel .v2-verdict-pane {
    padding: 20px 16px;
  }
  .v2-verdict-pane .v2-score__value,
  .v2-verdict-pane [id="v2-score-number"] {
    font-size: 64px;
  }
}
