/*
 * VERDICT — Buy & Hold (LTR) intake + panel styles.
 * Extends the terminal shell tokens. Scoped to .bh-intake / .bh-panel.
 * DealCap USA site build v36.213 (Round 1c results-layer: BRRRR phase strip).
 */

/* ==================== INTAKE ==================== */
.bh-intake-mount { padding: 24px 28px 40px; overflow-y: auto; }
.bh-intake { max-width: 920px; margin: 0 auto; color: #E9ECF2; }

.bh-intake__header { margin-bottom: 24px; }
.bh-intake__eyebrow {
  font-size: 11px; letter-spacing: 0.18em; font-weight: 700;
  color: #A9E23E; margin-bottom: 8px;
}
.bh-intake__title {
  font-size: 26px; font-weight: 700; line-height: 1.15;
  margin: 0 0 10px; color: #F5F7FA;
}
.bh-intake__lede {
  font-size: 14px; line-height: 1.55; color: #B7BDC7;
  margin: 0; max-width: 620px;
}

.bh-intake__section {
  border: 1px solid rgba(233, 237, 243, 0.08);
  background: rgba(20, 22, 27, 0.55);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 18px;
}
.bh-intake__section-head { margin: 0 0 16px; }
.bh-intake__section-head h3 {
  font-size: 12px; letter-spacing: 0.14em; font-weight: 700;
  color: #B7BDC7; margin: 0; text-transform: uppercase;
}

.bh-intake__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 18px;
}

.bh-intake__advanced {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px dashed rgba(233, 237, 243, 0.1);
}
.bh-intake__advanced > summary {
  cursor: pointer; color: #A9E23E;
  font-size: 12px; letter-spacing: 0.08em; font-weight: 600;
  margin-bottom: 12px; list-style: none;
}
.bh-intake__advanced > summary::marker,
.bh-intake__advanced > summary::-webkit-details-marker { display: none; }
.bh-intake__advanced[open] > summary { margin-bottom: 14px; }

/* ---- Fields ---- */
.bh-field { display: flex; flex-direction: column; gap: 4px; }
.bh-field__label {
  font-size: 12px; font-weight: 600; color: #D0D5DE;
  letter-spacing: 0.02em;
}
.bh-field__input-wrap {
  display: flex; align-items: center;
  background: rgba(10, 12, 16, 0.7);
  border: 1px solid rgba(233, 237, 243, 0.15);
  border-radius: 8px;
  padding: 0 10px;
  transition: border-color 120ms ease;
}
.bh-field__input-wrap:focus-within { border-color: #A9E23E; }
.bh-field__input {
  flex: 1; background: transparent; border: 0; outline: none;
  color: #F5F7FA; font-size: 14px; font-weight: 500;
  padding: 9px 6px;
  font-family: inherit;
}
.bh-field__input:disabled { color: #6B7280; }
.bh-field__prefix, .bh-field__suffix {
  color: #6B7280; font-size: 13px; font-weight: 600;
  padding: 0 4px;
}
.bh-field--checkbox { display: block; }
.bh-checkbox {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  background: rgba(10, 12, 16, 0.7);
  border: 1px solid rgba(233, 237, 243, 0.15);
  border-radius: 8px;
  font-size: 13px; color: #D0D5DE; cursor: pointer;
}
.bh-checkbox input { width: 15px; height: 15px; margin: 0; }
.bh-checkbox:hover { border-color: rgba(169, 226, 62, 0.35); }

.bh-field__idk {
  font-size: 11.5px; color: #8E96A2; display: flex; align-items: center; gap: 6px;
  margin-top: 3px; cursor: pointer;
}
.bh-field__idk input { width: 13px; height: 13px; }
.bh-field--idk .bh-field__label { color: #8E96A2; }
.bh-field--idk .bh-field__input-wrap { opacity: 0.55; }
.bh-field__help {
  font-size: 11px; color: #6B7280; margin-top: 2px;
  line-height: 1.35;
}

/* ---- Risk flags grid ---- */
.bh-intake__risk-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px 16px;
}
.bh-riskflag {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: #D0D5DE; cursor: pointer;
  padding: 6px 8px; border-radius: 6px;
  transition: background-color 120ms ease;
}
.bh-riskflag:hover { background: rgba(233, 237, 243, 0.04); }
.bh-riskflag input { width: 14px; height: 14px; }

/* ---- Run bar ---- */
.bh-intake__runbar {
  margin-top: 24px; padding: 20px 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  border-top: 1px solid rgba(233, 237, 243, 0.08);
}
.bh-runbtn {
  background: linear-gradient(180deg, #B9F04F 0%, #A9E23E 100%);
  color: #0A0C10; border: 0; font-weight: 800;
  font-size: 14px; letter-spacing: 0.12em;
  padding: 14px 40px; border-radius: 10px;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 24px rgba(169, 226, 62, 0.28), 0 0 0 1px rgba(169, 226, 62, 0.5) inset;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.bh-runbtn:hover { transform: translateY(-1px); box-shadow: 0 6px 32px rgba(169, 226, 62, 0.38), 0 0 0 1px rgba(169, 226, 62, 0.7) inset; }
.bh-runbtn:active { transform: translateY(0); }
.bh-intake__disclaim {
  font-size: 11px; color: #6B7280; margin: 0; text-align: center;
  letter-spacing: 0.02em;
}

/* ==================== RESULTS PANEL ==================== */
.bh-result-mount { padding: 24px 28px 40px; }
.bh-result-topbar { max-width: 920px; margin: 0 auto 14px; }
.bh-reset-btn {
  background: transparent; border: 1px solid rgba(233, 237, 243, 0.2);
  color: #B7BDC7; font-size: 12px; letter-spacing: 0.08em; font-weight: 600;
  padding: 8px 14px; border-radius: 8px; cursor: pointer;
  font-family: inherit; transition: color 120ms ease, border-color 120ms ease;
}
.bh-reset-btn:hover { color: #A9E23E; border-color: rgba(169, 226, 62, 0.5); }
.bh-panel {
  max-width: 920px; margin: 0 auto;
  background: rgba(15, 17, 22, 0.85);
  border: 1px solid rgba(233, 237, 243, 0.1);
  border-radius: 18px; padding: 28px 30px;
  color: #E9ECF2;
}
.bh-panel--gold { border-color: rgba(169, 226, 62, 0.45); box-shadow: 0 0 0 1px rgba(169, 226, 62, 0.15), 0 12px 40px rgba(0, 0, 0, 0.35); }
.bh-panel--pass { border-color: rgba(78, 190, 122, 0.35); }
.bh-panel--caution { border-color: rgba(240, 176, 61, 0.4); }
.bh-panel--fail { border-color: rgba(238, 90, 90, 0.45); }

.bh-panel__hero { text-align: center; padding-bottom: 22px; border-bottom: 1px solid rgba(233, 237, 243, 0.08); }
.bh-panel__score {
  font-size: 88px; font-weight: 800; line-height: 1;
  letter-spacing: -0.03em; margin-bottom: 6px;
  color: #F5F7FA;
  font-variant-numeric: tabular-nums;
}
.bh-panel--gold .bh-panel__score { color: #A9E23E; }
.bh-panel--pass .bh-panel__score { color: #4EBE7A; }
.bh-panel--caution .bh-panel__score { color: #F0B03D; }
.bh-panel--fail .bh-panel__score { color: #EE5A5A; }

.bh-panel__band {
  font-size: 13px; letter-spacing: 0.22em; font-weight: 700;
  color: #B7BDC7; margin-bottom: 4px;
}
.bh-panel__word {
  font-size: 22px; font-weight: 700; letter-spacing: 0.04em;
  color: #F5F7FA;
}
.bh-panel__reason {
  font-size: 13px; color: #B7BDC7; margin-top: 8px;
  max-width: 520px; margin-left: auto; margin-right: auto;
  line-height: 1.5;
}
.bh-panel__cap {
  display: inline-block; margin-top: 10px;
  padding: 6px 12px; background: rgba(240, 176, 61, 0.14);
  color: #F0B03D; border-radius: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}

/* Metrics row */
.bh-panel__metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin: 22px 0;
}
.bh-metric {
  background: rgba(10, 12, 16, 0.6);
  border: 1px solid rgba(233, 237, 243, 0.08);
  border-radius: 12px; padding: 14px 12px; text-align: center;
}
.bh-metric__label {
  font-size: 10.5px; letter-spacing: 0.14em;
  color: #8E96A2; font-weight: 600; margin-bottom: 6px;
  text-transform: uppercase;
}
.bh-metric__value {
  font-size: 20px; font-weight: 700; color: #F5F7FA;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.bh-metric__sub { font-size: 11px; color: #8E96A2; margin-top: 4px; }

/* Applicable-points normalization readout */
.bh-panel__norm {
  padding: 12px 14px; background: rgba(233, 237, 243, 0.04);
  border-radius: 10px; margin-bottom: 20px; text-align: center;
}
.bh-panel__norm-line { font-size: 13px; color: #D0D5DE; }
.bh-panel__norm-sub { font-size: 11.5px; color: #8E96A2; margin-top: 3px; font-variant-numeric: tabular-nums; }

/* Pillar strip */
.bh-panel__pillars {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 24px;
}
.bh-pillar {
  background: rgba(10, 12, 16, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.07);
  border-radius: 10px; padding: 12px;
}
.bh-pillar__name { font-size: 10px; letter-spacing: 0.14em; color: #8E96A2; font-weight: 700; margin-bottom: 4px; }
.bh-pillar__score { font-size: 18px; font-weight: 700; color: #F5F7FA; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.bh-pillar__score span { font-size: 12px; color: #6B7280; font-weight: 500; }
.bh-pillar__bar { height: 4px; background: rgba(233, 237, 243, 0.08); border-radius: 2px; overflow: hidden; }
.bh-pillar__fill { height: 100%; background: linear-gradient(90deg, #A9E23E, #B9F04F); transition: width 400ms ease; }

/* Storm strip */
.bh-panel__storm { margin-bottom: 22px; }
.bh-panel__section-head {
  font-size: 11px; letter-spacing: 0.14em; font-weight: 700;
  color: #B7BDC7; margin-bottom: 10px; text-transform: uppercase;
}
.bh-storm-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}
.bh-storm-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; background: rgba(10, 12, 16, 0.5);
  border: 1px solid rgba(233, 237, 243, 0.07);
  border-radius: 6px; font-size: 12.5px; color: #D0D5DE;
}
.bh-storm-dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
}
.bh-storm-item--pass .bh-storm-dot { background: #4EBE7A; box-shadow: 0 0 8px rgba(78, 190, 122, 0.5); }
.bh-storm-item--fail .bh-storm-dot { background: #EE5A5A; box-shadow: 0 0 8px rgba(238, 90, 90, 0.5); }

/* Defaults transparency */
.bh-panel__defaults {
  margin-bottom: 20px; padding: 14px 16px;
  background: rgba(240, 176, 61, 0.08);
  border: 1px solid rgba(240, 176, 61, 0.25);
  border-radius: 10px;
}
.bh-panel__defaults .bh-panel__section-head { color: #F0B03D; }
.bh-defaults-list { margin: 0; padding-left: 18px; font-size: 12.5px; color: #D0D5DE; line-height: 1.6; }
.bh-panel__defaults-note {
  font-size: 11.5px; color: #B7BDC7; margin: 10px 0 0;
  line-height: 1.45;
}

/* Math trail */
.bh-panel__trail { margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(233, 237, 243, 0.08); }
.bh-panel__trail > summary {
  cursor: pointer; color: #A9E23E; font-size: 12px;
  letter-spacing: 0.08em; font-weight: 600;
  list-style: none;
}
.bh-panel__trail > summary::marker,
.bh-panel__trail > summary::-webkit-details-marker { display: none; }
.bh-trail-body { margin-top: 14px; }
.bh-trail-pillar { margin-bottom: 14px; }
.bh-trail-pillar-name { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: #B7BDC7; margin-bottom: 6px; }
.bh-trail-pillar ul { margin: 0; padding-left: 18px; font-size: 12px; color: #D0D5DE; line-height: 1.6; }
.bh-trail-pillar b { color: #F5F7FA; }
.bh-trail-pillar em { color: #F0B03D; font-style: normal; font-weight: 600; }

.bh-panel__foot {
  font-size: 11px; color: #6B7280; text-align: center;
  margin: 22px 0 0; letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 720px) {
  .bh-panel__metrics { grid-template-columns: repeat(2, 1fr); }
  .bh-panel__pillars { grid-template-columns: repeat(2, 1fr); }
  .bh-panel__score { font-size: 68px; }
  .bh-intake-mount { padding: 16px 18px 32px; }
  .bh-result-mount { padding: 0 18px 32px; }
}

/* ==================== TABS ==================== */
.bh-panel__tabs-mount { margin-top: 24px; }
.bh-tabs { border-top: 1px solid rgba(233, 237, 243, 0.08); padding-top: 20px; }
.bh-tabs__bar {
  display: flex; gap: 4px; padding: 4px;
  background: rgba(10, 12, 16, 0.6);
  border: 1px solid rgba(233, 237, 243, 0.08);
  border-radius: 10px;
  margin-bottom: 18px;
}
.bh-tab {
  flex: 1; background: transparent; border: 0;
  color: #8E96A2; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 14px; border-radius: 7px; cursor: pointer;
  font-family: inherit;
  transition: color 120ms ease, background-color 120ms ease;
}
.bh-tab:hover { color: #D0D5DE; }
.bh-tab.is-active {
  background: rgba(169, 226, 62, 0.14);
  color: #A9E23E;
  box-shadow: 0 0 0 1px rgba(169, 226, 62, 0.35) inset;
}
.bh-tabs__body { min-height: 300px; }

/* ==================== INSIGHTS BUCKETS ==================== */
.bh-insights { display: flex; flex-direction: column; gap: 14px; }
.bh-bucket {
  padding: 16px 18px; border-radius: 12px;
  background: rgba(10, 12, 16, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.08);
}
.bh-bucket--known { border-left: 3px solid #A9E23E; }
.bh-bucket--flag { border-left: 3px solid #F0B03D; background: rgba(240, 176, 61, 0.06); }
.bh-bucket--unverified { border-left: 3px solid #6B7280; }
.bh-bucket__title {
  font-size: 12px; letter-spacing: 0.12em; font-weight: 700;
  color: #F5F7FA; text-transform: uppercase; margin-bottom: 4px;
}
.bh-bucket--known .bh-bucket__title { color: #A9E23E; }
.bh-bucket--flag .bh-bucket__title { color: #F0B03D; }
.bh-bucket--unverified .bh-bucket__title { color: #B7BDC7; }
.bh-bucket__sub { font-size: 12px; color: #8E96A2; margin-bottom: 12px; line-height: 1.5; }
.bh-bucket__list { list-style: none; margin: 0; padding: 0; }
.bh-bucket__item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0;
  border-top: 1px solid rgba(233, 237, 243, 0.04);
}
.bh-bucket__item:first-child { border-top: 0; }
.bh-bucket__dot {
  width: 6px; height: 6px; border-radius: 50%;
  margin-top: 8px; flex-shrink: 0;
  background: currentColor; opacity: 0.55;
}
.bh-bucket--known .bh-bucket__dot { color: #A9E23E; }
.bh-bucket--flag .bh-bucket__dot { color: #F0B03D; }
.bh-bucket--unverified .bh-bucket__dot { color: #8E96A2; }
.bh-bucket__line { font-size: 13.5px; color: #E9ECF2; line-height: 1.5; }
.bh-bucket__line b { color: #F5F7FA; font-weight: 700; }
.bh-bucket__detail { font-size: 12px; color: #8E96A2; margin-top: 3px; line-height: 1.5; }

/* ==================== STORM LAB (interactive) ==================== */
.bh-storm-lab__intro { margin-bottom: 18px; }
.bh-storm-lab__title { font-size: 14px; font-weight: 700; color: #F5F7FA; margin-bottom: 4px; }
.bh-storm-lab__sub { font-size: 12.5px; color: #8E96A2; line-height: 1.55; }

.bh-storm-lab__baseline {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 16px; background: rgba(169, 226, 62, 0.06);
  border: 1px solid rgba(169, 226, 62, 0.25);
  border-radius: 10px; margin-bottom: 14px;
}
.bh-storm-lab__row-label {
  font-size: 10.5px; letter-spacing: 0.16em; font-weight: 700;
  color: #A9E23E; min-width: 90px;
}
.bh-storm-lab__row-metrics {
  display: flex; flex-wrap: wrap; gap: 8px; flex: 1;
  align-items: center;
}

.bh-storm-lab__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.bh-storm-lab__row {
  padding: 12px 14px;
  background: rgba(10, 12, 16, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.08);
  border-radius: 10px;
}
.bh-storm-lab__row--pass { border-left: 3px solid #4EBE7A; }
.bh-storm-lab__row--fail { border-left: 3px solid #EE5A5A; }

.bh-storm-lab__toggle {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  margin-bottom: 8px;
}
.bh-storm-lab__toggle input {
  width: 16px; height: 16px; margin: 0;
  accent-color: #A9E23E;
}
.bh-storm-lab__toggle-name {
  flex: 1; font-size: 13px; color: #E9ECF2; font-weight: 600;
}
.bh-storm-lab__toggle-status {
  font-size: 11px; letter-spacing: 0.06em; font-weight: 700;
}
.bh-storm-lab__row--pass .bh-storm-lab__toggle-status { color: #4EBE7A; }
.bh-storm-lab__row--fail .bh-storm-lab__toggle-status { color: #EE5A5A; }

.bh-storm-lab__pill {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 5px 10px; background: rgba(10, 12, 16, 0.7);
  border: 1px solid rgba(233, 237, 243, 0.1);
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}
.bh-storm-lab__pill-label {
  font-size: 10px; letter-spacing: 0.12em; font-weight: 700;
  color: #8E96A2; text-transform: uppercase;
}
.bh-storm-lab__pill-value {
  font-size: 12.5px; color: #F5F7FA; font-weight: 600;
}
.bh-storm-lab__pill--down .bh-storm-lab__pill-value { color: #EE5A5A; }
.bh-storm-lab__pill--up .bh-storm-lab__pill-value { color: #4EBE7A; }

.bh-storm-lab__combined {
  padding: 14px 16px;
  background: rgba(240, 176, 61, 0.06);
  border: 1px solid rgba(240, 176, 61, 0.28);
  border-radius: 10px;
}
.bh-storm-lab__combined .bh-storm-lab__row-label { color: #F0B03D; min-width: auto; margin-bottom: 8px; display: block; }
.bh-storm-lab__empty { font-size: 12px; color: #8E96A2; font-style: italic; }
.bh-storm-lab__combined-verdict {
  width: 100%; margin-top: 8px;
  padding: 8px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.bh-storm-lab__combined-verdict--pass { background: rgba(78, 190, 122, 0.15); color: #4EBE7A; }
.bh-storm-lab__combined-verdict--fail { background: rgba(238, 90, 90, 0.15); color: #EE5A5A; }

/* ==================== FUNDING TAB ==================== */
.bh-funding__intro { margin-bottom: 18px; }
.bh-funding__title { font-size: 14px; font-weight: 700; color: #F5F7FA; margin-bottom: 4px; }
.bh-funding__sub { font-size: 12.5px; color: #8E96A2; line-height: 1.55; }

.bh-funding__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px; margin-bottom: 18px;
}
.bh-funding__card {
  position: relative;
  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;
}
.bh-funding__card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: -6px;
}
.bh-funding__card--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;
}
.bh-funding__badge {
  flex-shrink: 0;
  padding: 4px 10px; font-size: 9.5px; letter-spacing: 0.12em; font-weight: 800;
  color: #B88F4A; background: rgba(184, 143, 74, 0.12);
  border: 1px solid rgba(184, 143, 74, 0.35); border-radius: 4px;
  white-space: nowrap;
}
.bh-funding__card-name {
  font-size: 16px; font-weight: 700; color: #F5F7FA;
  letter-spacing: -0.01em;
}
.bh-funding__card-tag {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #8E96A2; font-weight: 600;
}
.bh-funding__card-amounts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px 12px; margin-top: 4px;
  padding: 12px 14px;
  background: rgba(10, 12, 16, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(233, 237, 243, 0.06);
}
.bh-funding__amt { min-width: 0; }
.bh-funding__amt-label {
  font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #8E96A2; font-weight: 700; margin-bottom: 4px;
  line-height: 1.35;
  min-height: 2.3em;
  display: flex; align-items: flex-start;
}
.bh-funding__amt-value {
  font-size: 13px; color: #F5F7FA; font-weight: 700;
  font-variant-numeric: tabular-nums;
  word-break: normal; overflow-wrap: break-word;
}
.bh-funding__card-fit {
  font-size: 12.5px; color: #B7BDC7; line-height: 1.5;
}
.bh-funding__cta {
  margin-top: auto;
  padding: 9px 14px; text-align: center;
  font-size: 12px; letter-spacing: 0.06em; font-weight: 700;
  color: #A9E23E;
  background: rgba(169, 226, 62, 0.08);
  border: 1px solid rgba(169, 226, 62, 0.3);
  border-radius: 7px; text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.bh-funding__cta:hover {
  background: rgba(169, 226, 62, 0.16);
  border-color: rgba(169, 226, 62, 0.55);
}
.bh-funding__card--primary .bh-funding__cta {
  color: #B88F4A;
  background: rgba(184, 143, 74, 0.1);
  border-color: rgba(184, 143, 74, 0.4);
}
.bh-funding__card--primary .bh-funding__cta:hover {
  background: rgba(184, 143, 74, 0.2);
  border-color: rgba(184, 143, 74, 0.6);
}

.bh-funding__contact {
  padding: 18px 20px; text-align: center;
  background: linear-gradient(180deg, rgba(169, 226, 62, 0.06), rgba(10, 12, 16, 0.6));
  border: 1px solid rgba(169, 226, 62, 0.25);
  border-radius: 12px;
}
.bh-funding__contact-title { font-size: 14px; font-weight: 700; color: #F5F7FA; margin-bottom: 4px; }
.bh-funding__contact-sub { font-size: 12.5px; color: #B7BDC7; margin-bottom: 12px; }
.bh-funding__contact-cta {
  display: inline-block;
  padding: 11px 22px;
  background: linear-gradient(180deg, #B9F04F 0%, #A9E23E 100%);
  color: #0A0C10; font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.1em; text-decoration: none; border-radius: 8px;
  box-shadow: 0 2px 12px rgba(169, 226, 62, 0.24);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.bh-funding__contact-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(169, 226, 62, 0.36);
}

@media (max-width: 720px) {
  .bh-tabs__bar { flex-wrap: wrap; }
  .bh-tab { flex: 1 1 30%; font-size: 11px; padding: 9px 8px; letter-spacing: 0.06em; }
  .bh-storm-lab__baseline { flex-direction: column; align-items: flex-start; }
  .bh-funding__card-amounts { grid-template-columns: 1fr; text-align: left; }
}

/* ==================== BRRRR PHASE STRIP (Round 1c results-layer) ==================== */
/* Sits between the hero and the headline metrics for BRRRR deals only.
 * Bridge · Before Refinance   |   Long-Term · After Refinance
 * Each phase card can be flagged as the "cause" of the recommended action.
 */
.bh-phase {
  margin: 22px 0 4px;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: rgba(10, 12, 16, 0.55);
  border: 1px solid rgba(233, 237, 243, 0.08);
}
.bh-phase__title {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 10px; margin-bottom: 14px;
}
.bh-phase__title-eyebrow {
  font-size: 10px; letter-spacing: 0.22em; font-weight: 800;
  color: #8E96A2; text-transform: uppercase;
  padding: 4px 8px; border-radius: 4px;
  background: rgba(233, 237, 243, 0.06);
}
.bh-phase__title-text {
  font-size: 13.5px; color: #E9ECF2; font-weight: 600; letter-spacing: 0.01em;
}
.bh-phase__caused {
  margin-left: auto;
  font-size: 10.5px; letter-spacing: 0.14em; font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
}
.bh-phase__caused--gold    { background: rgba(169, 226, 62, 0.14); color: #B9F04F; }
.bh-phase__caused--pass    { background: rgba(78, 190, 122, 0.14); color: #6EDC96; }
.bh-phase__caused--caution { background: rgba(240, 176, 61, 0.18); color: #F0B03D; }
.bh-phase__caused--fail    { background: rgba(238, 90, 90, 0.16); color: #FF7B7B; }

.bh-phase__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}

.bh-phase-card {
  position: relative;
  background: rgba(15, 17, 22, 0.7);
  border: 1px solid rgba(233, 237, 243, 0.08);
  border-radius: 12px; padding: 16px 16px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.bh-phase-card--caused { border-width: 1px; }
.bh-phase-card--caused-gold    { border-color: rgba(169, 226, 62, 0.55); box-shadow: 0 0 0 1px rgba(169, 226, 62, 0.18) inset; }
.bh-phase-card--caused-pass    { border-color: rgba(78, 190, 122, 0.5);  box-shadow: 0 0 0 1px rgba(78, 190, 122, 0.16) inset; }
.bh-phase-card--caused-caution { border-color: rgba(240, 176, 61, 0.55); box-shadow: 0 0 0 1px rgba(240, 176, 61, 0.18) inset; }
.bh-phase-card--caused-fail    { border-color: rgba(238, 90, 90, 0.55);  box-shadow: 0 0 0 1px rgba(238, 90, 90, 0.18) inset; }

.bh-phase-card--caused::after {
  content: 'caused this action';
  position: absolute; top: 10px; right: 12px;
  font-size: 9.5px; letter-spacing: 0.14em; font-weight: 800;
  text-transform: uppercase;
  padding: 3px 7px; border-radius: 3px;
  background: rgba(0, 0, 0, 0.35);
}
.bh-phase-card--caused-gold::after    { color: #B9F04F; }
.bh-phase-card--caused-pass::after    { color: #6EDC96; }
.bh-phase-card--caused-caution::after { color: #F0B03D; }
.bh-phase-card--caused-fail::after    { color: #FF7B7B; }

.bh-phase-card__head { margin-bottom: 12px; }
.bh-phase-card__eyebrow {
  display: inline-block;
  font-size: 9.5px; letter-spacing: 0.22em; font-weight: 800;
  color: #8E96A2; text-transform: uppercase;
  padding: 3px 7px; border-radius: 3px;
  background: rgba(233, 237, 243, 0.06);
  margin-bottom: 8px;
}
.bh-phase-card__title {
  margin: 0; font-size: 14.5px; font-weight: 700;
  color: #F5F7FA; letter-spacing: 0.01em;
}
.bh-phase-card__sub {
  margin: 3px 0 0; font-size: 11.5px; color: #8E96A2;
}
.bh-phase-card__rows {
  display: flex; flex-direction: column; gap: 8px;
}
.bh-phase-row {
  display: grid; grid-template-columns: 1fr auto;
  align-items: baseline; column-gap: 12px;
  padding: 6px 0;
  border-top: 1px dashed rgba(233, 237, 243, 0.06);
}
.bh-phase-row:first-child { border-top: 0; padding-top: 2px; }
.bh-phase-row__label {
  font-size: 11.5px; color: #B7BDC7; font-weight: 500;
}
.bh-phase-row__value {
  font-size: 15px; font-weight: 700; color: #F5F7FA;
  font-variant-numeric: tabular-nums;
}
.bh-phase-row__sub {
  grid-column: 1 / -1;
  font-size: 10.5px; color: #8E96A2; font-style: italic;
  margin-top: 1px;
}
.bh-phase-card--caused-fail    .bh-phase-row__sub { color: #FF9A9A; font-style: normal; }
.bh-phase-card--caused-caution .bh-phase-row__sub { color: #F0B03D; font-style: normal; }

.bh-phase-card__empty {
  padding: 20px 4px; text-align: center;
  font-size: 12px; color: #8E96A2;
  border: 1px dashed rgba(233, 237, 243, 0.1);
  border-radius: 8px;
}
.bh-phase__reason {
  margin-top: 12px; padding: 10px 12px;
  border-radius: 8px;
  background: rgba(233, 237, 243, 0.035);
  font-size: 12px; color: #B7BDC7; line-height: 1.55;
}
.bh-phase__reason b { color: #E9ECF2; font-weight: 700; }

/* Eyebrow above the stabilized metrics row for BRRRR (labels them long-term). */
.bh-panel__metrics-eyebrow {
  font-size: 10.5px; letter-spacing: 0.18em; font-weight: 700;
  color: #8E96A2; text-transform: uppercase;
  margin: 18px 2px 6px;
}
.bh-panel--brrrr .bh-panel__metrics { margin-top: 6px; }

@media (max-width: 720px) {
  .bh-phase__grid { grid-template-columns: 1fr; }
  .bh-phase-card--caused::after { top: 8px; right: 8px; }
  .bh-phase__caused { margin-left: 0; }
}
