/* Quick ROI embed + full calculator results panel — index, pitch, calculator.html, calculator-app */
.frp-quick-calc {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 1.5rem;
  text-align: left;
  border: 1px solid var(--gold, #d4a017);
  border-radius: 10px;
  background: var(--woad-blue-light, rgba(27, 58, 92, 0.55));
  padding: 1.25rem 1.35rem 1.5rem;
  box-sizing: border-box;
}
.frp-quick-calc h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: var(--gold-bright, #e8c547);
  margin: 0 0 0.35rem;
  text-align: center;
}
.frp-quick-calc .frp-qc-lead {
  font-size: 16px;
  color: var(--cream, #f5f0e1);
  margin: 0 0 1rem;
  line-height: 1.5;
  text-align: center;
}
.frp-quick-calc label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin: 0.65rem 0 0.25rem;
  color: var(--cream, #f5f0e1);
}
.frp-quick-calc input,
.frp-quick-calc select {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid var(--earth-brown-light, #5a4a3a);
  background: var(--woad-blue, #0d1b2a);
  color: var(--cream, #f5f0e1);
  box-sizing: border-box;
}
.frp-quick-calc .frp-qc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.frp-quick-calc .frp-qc-row > div {
  flex: 1 1 140px;
  min-width: 0;
}
.frp-quick-calc .frp-qc-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.frp-quick-calc .frp-qc-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
.frp-quick-calc .frp-qc-btn-primary {
  background: var(--gold, #d4a017);
  color: var(--woad-blue, #0d1b2a);
}
.frp-quick-calc .frp-qc-btn-secondary {
  background: transparent;
  border: 2px solid var(--gold, #d4a017);
  color: var(--gold-bright, #e8c547);
}
.frp-quick-calc .frp-qc-results {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 160, 23, 0.35);
}
.frp-quick-calc .frp-qc-results[hidden] {
  display: none !important;
}
.frp-quick-calc .frp-qc-metric {
  margin-bottom: 0.75rem;
}
.frp-quick-calc .frp-qc-metric-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--cream, #f5f0e1);
  margin-bottom: 0.2rem;
  letter-spacing: 0.01em;
}
.frp-quick-calc .frp-qc-metric-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream, #f5f0e1);
}
.frp-quick-calc .roi-snapshot {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid var(--gold, #d4a017);
  border-radius: 8px;
}
.frp-quick-calc .roi-snapshot .roi-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0.5rem 0;
}
.frp-quick-calc .roi-snapshot .roi-hero-label {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-bright, #e8c547);
}
.frp-quick-calc .roi-snapshot .roi-hero-range {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gold-bright, #e8c547);
  line-height: 1.15;
  word-break: break-word;
}
.frp-quick-calc .roi-headline {
  font-size: 1rem;
  color: var(--gold-bright, #e8c547);
  margin: 0 0 0.35rem;
}
.frp-quick-calc .roi-lead,
.frp-quick-calc .roi-range-detail,
.frp-quick-calc .roi-note,
.frp-quick-calc .qc-disclaimer {
  font-size: 12px;
  color: var(--cream, #f5f0e1);
  margin: 0.35rem 0;
  line-height: 1.5;
}

/* Full-page calculator ROI panel (same markup classes as embed snapshot) */
.roi-snapshot .roi-lead,
.roi-snapshot .roi-range-detail,
.roi-snapshot .roi-note,
.qc-disclaimer {
  font-size: 12px;
  line-height: 1.5;
  color: var(--cream, #f5f0e1);
  margin: 0.35rem 0;
}

.result-detail {
  font-size: 12px;
  line-height: 1.5;
  color: var(--cream, #f5f0e1);
}

.compare .label,
.spread > .label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--cream, #f5f0e1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Calculator helper / footnote floor (12px px — not rem — for zoom-safe minimum) */
.hint,
.qc-msg,
.sanity-override,
.class-def,
.methodology-stamp,
.vin-status,
.disclaimer,
.result-disclaimer,
.iv-progress,
.tier-anchor .provisional,
#qcDocList,
footer,
.iv-grade .def {
  font-size: 12px;
  line-height: 1.5;
  color: var(--cream, #f5f0e1);
}

@media (max-width: 640px) {
  .frp-quick-calc {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  .frp-quick-calc .roi-snapshot .roi-hero-range {
    font-size: 1.45rem;
  }
}
