/* Home Problems Guide — Cost Intelligence component */
.cost-intro {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.cost-intro strong { color: var(--navy-2); }
.cost-intelligence {
  margin: 1.35rem 0 1.65rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid #bfd2c8;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f4f8f6);
  box-shadow: var(--shadow-sm);
}
.cost-intelligence h3 { margin: 0 0 .3rem; }
.cost-intelligence > p { margin-top: 0; color: var(--muted); }
.cost-estimator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 1rem;
}
.cost-field { display: grid; gap: .35rem; }
.cost-field span,
.cost-field > strong { font-size: .85rem; font-weight: 800; color: var(--navy-2); }
.cost-field input,
.cost-field select {
  width: 100%;
  min-height: 48px;
  padding: .7rem .8rem;
  border: 1px solid #cbd7d1;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.cost-field-wide { grid-column: 1 / -1; }
.cost-check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.cost-check input { margin-top: .3rem; }
.cost-estimator-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.cost-estimator-result {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-left: 4px solid var(--green);
  border-radius: 0 10px 10px 0;
  background: #fff;
}
.cost-estimator-result strong { display: block; color: var(--navy-2); font-size: 1.02rem; }
.cost-estimator-result .cost-range { display: block; margin: .15rem 0; font-size: clamp(1.45rem, 4vw, 2rem); font-weight: 900; line-height: 1.15; color: var(--green-2); }
.cost-estimator-result small { display: block; color: var(--muted); line-height: 1.5; }
.cost-metric-note {
  margin: 1rem 0;
  padding: .9rem 1rem;
  border-radius: 10px;
  background: var(--amber-soft);
}
.cost-metric-note strong { color: var(--navy-2); }
.cost-source-note { color: var(--muted); font-size: .92rem; }
.cost-source-note a { font-weight: 700; }
.cost-table td:first-child { font-weight: 800; color: var(--navy-2); }
.cost-table .cost-number { font-weight: 900; white-space: nowrap; }
.cost-addons { margin-top: 1.15rem; }
@media (max-width: 680px) {
  .cost-estimator-grid { grid-template-columns: 1fr; }
  .cost-field-wide { grid-column: auto; }
  .cost-table .cost-number { white-space: normal; }
}
