/* GSH Pipeline Calculator v1.3.0 — scoped to .gsh-calc so Avada styles don't collide. */
.gsh-calc {
  --gsh-primary: #19334A;
  --gsh-accent: #9EE0F8;
  --gsh-wash: #DAF2FC;
  --gsh-panel: #213F5A;
  --gsh-line: #D5E3EC;
  --gsh-muted: #4A5E70;
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  color: var(--gsh-primary);
  line-height: 1.5;
}
.gsh-calc *, .gsh-calc *::before, .gsh-calc *::after { box-sizing: border-box; }

.gsh-calc__layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.gsh-calc__inputs { flex: 1 1 520px; min-width: 0; border: 1px solid var(--gsh-line); border-radius: 12px; padding: 32px; background: #fff; display: flex; flex-direction: column; gap: 24px; }
.gsh-calc__results { flex: 1 1 400px; min-width: 0; background: var(--gsh-primary); color: #fff; border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }

.gsh-calc__field { display: flex; flex-direction: column; gap: 4px; }
.gsh-calc__field--lead { padding-bottom: 22px; border-bottom: 1px solid #E3ECF2; }
.gsh-calc__field--rule { padding-top: 22px; border-top: 1px solid #E3ECF2; }
.gsh-calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gsh-calc__row label { font-weight: 600; font-size: 16px; margin: 0; color: var(--gsh-primary); }
.gsh-calc__field--lead .gsh-calc__row label { font-size: 17px; }
.gsh-calc__value { font-weight: 600; font-size: 18px; }
.gsh-calc__field--lead .gsh-calc__value { font-family: Montserrat, Poppins, sans-serif; font-weight: 700; font-size: 24px; }
.gsh-calc__row small { font-size: 14px; color: var(--gsh-muted); }
.gsh-calc__note, .gsh-calc__scale { font-size: 13px; color: var(--gsh-muted); }
.gsh-calc__scale { display: flex; justify-content: space-between; }

.gsh-calc input[type=range] { width: 100%; height: 44px; margin: 0; padding: 0; background: transparent; border: 0; accent-color: var(--gsh-primary); cursor: pointer; }
.gsh-calc input[type=range]:focus-visible { outline: 3px solid var(--gsh-accent); outline-offset: 2px; border-radius: 4px; }

.gsh-calc__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #2E6A93; }
.gsh-calc__eyebrow--light { color: var(--gsh-accent); }

.gsh-calc__ghost { align-self: flex-start; min-height: 44px; background: none; border: 1px solid var(--gsh-primary); color: var(--gsh-primary); border-radius: 6px; padding: 10px 18px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.gsh-calc__ghost:hover { background: #F4F9FC; }
.gsh-calc__assump { background: #F4F9FC; border-radius: 8px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #3D5266; }
.gsh-calc__assump[hidden] { display: none; }
.gsh-calc__assump strong { color: var(--gsh-primary); }

.gsh-calc__hero { display: flex; flex-direction: column; gap: 4px; }
.gsh-calc__muted { font-size: 15px; color: var(--gsh-wash); }
.gsh-calc__big { font-family: Montserrat, Poppins, sans-serif; font-size: 52px; font-weight: 700; line-height: 1.05; color: #fff; }

.gsh-calc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gsh-calc__tile { background: var(--gsh-panel); border-radius: 8px; padding: 16px; }
.gsh-calc__tile-label { font-size: 13px; color: var(--gsh-wash); }
.gsh-calc__tile-value { font-size: 24px; font-weight: 700; color: #fff; }
.gsh-calc__tile-value.is-accent { color: var(--gsh-accent); }

.gsh-calc__bar { display: flex; flex-direction: column; gap: 4px; }
.gsh-calc__row--small { font-size: 14px; color: #fff; }
.gsh-calc__bar-track { height: 10px; background: var(--gsh-panel); border-radius: 5px; overflow: hidden; }
.gsh-calc__bar-fill { height: 10px; width: 0; background: var(--gsh-accent); border-radius: 5px; transition: width .25s ease; }

.gsh-calc__cta { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 8px; background: var(--gsh-accent); color: var(--gsh-primary) !important; border-radius: 6px; font-size: 16px; font-weight: 600; text-decoration: none !important; }
.gsh-calc__cta:hover { background: var(--gsh-wash); }

@media (max-width: 600px) {
  .gsh-calc__inputs, .gsh-calc__results { padding: 22px; }
  .gsh-calc__big { font-size: 40px; }
  .gsh-calc__tile-value { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .gsh-calc__bar-fill { transition: none; } }

/* Calculator summary line inside the lead form (hidden until a calculator is on the page) */
.gsh-calc-summary { display: none; background: #DAF2FC; border-radius: 8px; padding: 12px 14px; margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: #19334A; }
.gsh-calc-summary.is-ready { display: block; }
.gsh-calc-summary strong { font-weight: 700; color: #19334A; }
