/* results.css — shared results/table/CTA styling for sb-decisions-toolkit tools. */

.sbdt-block { margin: 1.75rem 0; padding: 1.25rem; border: 1px solid #e2e2e2; border-radius: 8px; background: #fff; }
.sbdt-block h3 { margin: 0 0 0.75rem; font-size: 1.15rem; }
.sbdt-headline { font-size: 1.35rem; margin: 0.5rem 0; }
.sbdt-headline strong { font-size: 1.6rem; }
.sbdt-sub { display: block; font-size: 0.95rem; color: #555; font-weight: normal; }
.sbdt-cards { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1rem 0; }
.sbdt-card { flex: 1 1 140px; padding: 0.75rem 1rem; background: #f7f7f7; border-radius: 6px; }
.sbdt-card span { display: block; font-size: 0.85rem; color: #555; }
.sbdt-card strong { font-size: 1.25rem; }
.sbdt-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.sbdt-table caption { text-align: left; font-weight: bold; padding-bottom: 0.5rem; }
.sbdt-table th, .sbdt-table td { padding: 0.5rem 0.6rem; border-bottom: 1px solid #eee; text-align: left; }
.sbdt-table th { background: #fafafa; }
.sbdt-table td.n, .sbdt-table th.n { text-align: right; font-variant-numeric: tabular-nums; }
.sbdt-note { font-size: 0.9rem; color: #444; }
.sbdt-prompt { padding: 1.5rem; text-align: center; color: #666; background: #fafafa; border-radius: 8px; }
.sbdt-details { margin: 1rem 0; }
.sbdt-details summary { cursor: pointer; font-weight: bold; }
.sbdt-field-err { color: #b00020; font-size: 0.88rem; margin: 0.25rem 0 0; }

@media (max-width: 720px) {
  .sbdt-table { display: block; overflow-x: auto; }
  .sbdt-cards { flex-direction: column; }
}
