/* funding.css — Business Funding Cost Analyzer. Depends on shared/results.css. */

.sbdt-fa { max-width: 860px; }
.sbdt-fa-panels { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 1.25rem; }
.sbdt-fa-panel { border: 1px solid #d5dbe3; border-radius: 10px; padding: 0.9rem 1.1rem; margin: 0; background: #fbfcfe; }
.sbdt-fa-panel legend { padding: 0 0.4rem; font-weight: 700; }
.sbdt-fa-panel .sbdt-field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.7rem; }
.sbdt-fa-panel label { font-weight: 600; font-size: 0.95rem; }
.sbdt-fa-panel fieldset label, .sbdt-fa-panel .sbdt-field > label { font-weight: 400; }
.sbdt-fa-panel .sbdt-field > label:first-child { font-weight: 600; }
.sbdt-label { font-weight: 600; font-size: 0.95rem; }
.sbdt-fa-panel input[type="number"] { padding: 0.5rem 0.6rem; border: 1px solid #b9c2cd; border-radius: 6px; font-size: 1rem; max-width: 100%; }

.sbdt-fa-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.sbdt-fa-card { border: 1px solid #d5dbe3; border-radius: 10px; padding: 1rem 1.25rem; background: #fff; }
.sbdt-fa-card h3 { margin: 0 0 0.25rem; }
.sbdt-fa-total { font-size: 1.8rem; font-weight: 700; margin: 0.25rem 0 0.75rem; letter-spacing: -0.01em; }

.sbdt-fa-compare { margin-top: 1.5rem; border: 1px solid #d5dbe3; border-radius: 10px; padding: 1rem 1.25rem; background: #f4f7fb; }
.sbdt-fa-compare h3 { margin: 0 0 0.5rem; }
.sbdt-fa-verdict { font-size: 1.05rem; line-height: 1.55; margin: 0; }

.sbdt-fa-method { font-size: 0.85rem; color: #5b6470; border-top: 1px solid #e4e9ef; margin-top: 1.5rem; padding-top: 0.75rem; }

@media (max-width: 560px) {
  .sbdt-fa-card { overflow-x: auto; }
  .sbdt-fa-total { font-size: 1.5rem; }
}
