/* ============================================================
   Caregiver Load Check-In — page-specific styles
   Builds on top of ../assessment/assessment.css (shared intro/
   question/results shell) and ../assets/site.css (tokens).
   ============================================================ */

#results-title {
  font-family: var(--font-display);
  color: var(--navy-deep);
}

/* Guidance card under "What this might mean" */
.load-guidance {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
}
.load-guidance p {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.7;
  margin: 0;
}

/* Dimension breakdown bars under "Where your load is coming from" */
.load-breakdown {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
}
.load-bar-row + .load-bar-row {
  margin-top: 18px;
}
.load-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 6px;
}
.load-bar-score {
  font-weight: 500;
  color: var(--ink-soft, #6b6b6b);
}
.load-bar-track {
  background: #EDEEF0;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}
.load-bar-fill {
  background: var(--gold, #C9A227);
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* Estimator screen */
.estimator {
  background: var(--slate);
  padding: 56px 0 80px;
}
.estimator-lede {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.65;
  max-width: 560px;
  margin: -8px 0 28px;
}
.estimator-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 32px;
}
.estimator-input-wrap {
  display: flex;
  align-items: center;
  margin-top: 10px;
  max-width: 260px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0 14px;
  transition: border-color .15s ease;
}
.estimator-input-wrap:focus-within {
  border-color: var(--gold);
  outline: 3px solid var(--gold-soft);
  outline-offset: 1px;
}
.estimator-dollar {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-soft, #6b6b6b);
}
.estimator-input {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  padding: 14px 8px;
  font: 500 16px var(--font-body);
  color: var(--ink);
  background: transparent;
}
.estimator-input::-webkit-outer-spin-button,
.estimator-input::-webkit-inner-spin-button { opacity: 1; }
.estimator-suffix {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

/* Cost estimate card on results screen */
.cost-estimate {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
}
.cost-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 12px;
  padding: 10px 0;
  font-size: 14.5px;
  color: var(--ink);
}
.cost-row-label { flex: 1 1 260px; }
.cost-row-value { flex: 0 0 auto; }
.cost-row + .cost-row {
  border-top: 1px solid var(--border);
}
.cost-row-label { font-weight: 500; }
.cost-row-value { font-weight: 600; color: var(--navy-deep); white-space: nowrap; }
.cost-row-total {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 2px solid var(--gold) !important;
}
.cost-row-total .cost-row-label {
  font-weight: 700;
  color: var(--navy-deep);
}
.cost-row-total .cost-row-value {
  font-size: 19px;
  font-weight: 800;
  color: var(--gold);
}
.cost-note {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}
.cost-note a { color: var(--navy-deep); }
.cost-note-asterisk {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-style: italic;
}

@media (max-width: 640px) {
  .load-guidance,
  .load-breakdown,
  .cost-estimate { padding: 20px; }
  .cost-row { flex-direction: column; gap: 2px; }
  .cost-row-total .cost-row-value { font-size: 17px; }
}
