/* ── Tool Pages — Shared Styles ── */

/* ── Field groups (all tool forms) ── */
.field-group { margin-bottom: var(--sp-5); }
.field-group label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--slate); margin-bottom: var(--sp-1half); }
.field-group .hint { font-size: var(--fs-xs); color: var(--ink-2); margin-top: var(--sp-1); }

/* ── Input focus & error states ── */
/* Specificity boosted to override page-specific input[type] base rules */
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
select:focus { outline: none; border-color: var(--orange); box-shadow: var(--shadow-focus-sm); }
input[type="text"].error,
input[type="number"].error,
select.error { border-color: var(--danger-deep); }

/* .cta-trust-badges moved to styles.css and renamed to canonical .cta-trust-row */

/* ── Results placeholder (sidebar tools) ──
   Audit round-2 2026-05-07 #2f, #11c: calculator empty-states were
   thin placeholder strings — upgraded to share the canonical
   .empty-state visual: centered column, illustration cap, h3 + p
   structure, 48ch reading width. Authors add an <h3> inside the
   placeholder to give the empty-state real shape. */
.results-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
  color: var(--ink-2);
  font-size: var(--fs-sm-plus);
  padding: var(--section-pad-sm) var(--sp-5);
  max-width: 48ch;
  margin: 0 auto;
}
.results-placeholder svg {
  display: block;
  margin: 0 auto;
  opacity: 0.35;
  max-width: 64px;
  height: auto;
}
.results-placeholder h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  margin: var(--sp-2) 0 0;
  color: var(--ink);
}
.results-placeholder p {
  margin: 0;
  line-height: var(--lh-base);
}
