/* TAMcore v5 legibility floors — loaded AFTER style.css so these win. */
/* Primary target: 25" UW 2560x1080 @ 125% + browser zoom (Russ's workstation) */
/* Spec: docs/superpowers/specs/2026-04-20-dashboard-v5-design.md §10 */

:root {
  --tam-body-floor: 15px;
  --tam-table-floor: 14px;
  --tam-table-row-h: 36px;
  --tam-kpi-floor: 18px;
  --tam-target-h: 32px;
}

html { font-size: max(14.5px, var(--tam-body-floor)); }

body, p, li, td, th, span, label, input, select, textarea, button {
  font-size: max(1em, var(--tam-body-floor));
}

.data-table td, .data-table th {
  font-size: max(var(--tam-table-floor), 0.9em);
  line-height: 1.4;
  padding-top: 6px;
  padding-bottom: 6px;
}

.gh-stat-val, .kpi-val, .card-metric {
  font-size: max(var(--tam-kpi-floor), 1.1em);
  font-weight: 700;
}

button, .btn, .nav-btn, .tab-btn, input[type="button"], input[type="submit"] {
  min-height: var(--tam-target-h);
}

/* ── Phase 4: Deal Desk customer-visible pane ──────────────────────── */
/* Target: 32" 1920×1080 @ 100% scale, customer at 36–39" viewing distance */
.deal-desk-customer-pane {
  font-size: 19px;
  line-height: 1.5;
}
.deal-desk-customer-pane .cust-payment-hero {
  font-size: 48px;
  font-weight: 900;
}
.deal-desk-customer-pane .cust-vehicle-name,
.deal-desk-customer-pane .cust-breakdown-val {
  font-size: 24px;
  font-weight: 800;
}
.deal-desk-customer-pane .cust-fine-print {
  font-size: 14px; /* floor — never less */
}
