/* Design of the screens this app serves on our WordPress sites: free report, checkout, paid report, samples (owner, 18 Nov 2026).
   Scoped to body.wp-site (templates/sites/_wordpress/base2.html). The WordPress theme (wordpress/themes/ccu-site) sets the same --wp- tokens
   from its Customizer, so each site keeps its own colours and a report page looks like the rest of the site. Different from carcheckup: ink and teal instead of
   navy and blue, rounded panels on a warm grey page, Inter-like system type. */
:root {  /* defaults; the site's own tokens (WordPress Customizer, printed after this file) win */
  --wp-ink: #111827;
  --wp-muted: #4b5563;
  --wp-line: #e5e7eb;
  --wp-page: #f6f5f2;
  --wp-panel: #ffffff;
  --wp-accent: #0f766e;
  --wp-accent-hover: #115e59;
  --wp-accent-soft: #ccfbf1;
  --wp-warn: #b45309;
  --wp-radius: 14px;
}
body.wp-site {
  --ccu-blue: var(--wp-accent);
  --ccu-navy: var(--wp-ink);
  --r-blue: var(--wp-accent);
  --r-ink: var(--wp-ink);
  background: var(--wp-page);
  color: var(--wp-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body.wp-site h1, body.wp-site h2, body.wp-site h3, body.wp-site .h1, body.wp-site .h2, body.wp-site .h3 {
  font-family: inherit; letter-spacing: -0.01em; color: var(--wp-ink);
}
body.wp-site a { color: var(--wp-accent); }
body.wp-site a:hover { color: var(--wp-accent-hover); }
body.wp-site .btn-primary, body.wp-site .wp-btn {
  background: var(--wp-accent); border-color: var(--wp-accent); color: #fff; border-radius: 999px; font-weight: 700;
}
body.wp-site .btn-primary:hover, body.wp-site .wp-btn:hover { background: var(--wp-accent-hover); border-color: var(--wp-accent-hover); color: #fff; }
body.wp-site .card, body.wp-site .report-card, body.wp-site .r-card {
  border-radius: var(--wp-radius); border: 1px solid var(--wp-line); box-shadow: none; background: var(--wp-panel);
}
body.wp-site main#main { padding-bottom: 3rem; }

/* header and footer fallback (the WordPress ones bring their own styles) */
.wp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wp-section { padding: 2.5rem 16px; }
.wp-header { background: var(--wp-panel, #fff); border-bottom: 1px solid var(--wp-line, #e5e7eb); }
.wp-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.wp-logo { font-weight: 800; font-size: 1.1rem; color: var(--wp-ink, #111827) !important; text-decoration: none; }
.wp-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.wp-nav a { color: var(--wp-ink, #111827); text-decoration: none; font-weight: 600; }
.wp-footer { background: var(--wp-ink, #111827); color: #d1d5db; padding: 2rem 0; margin-top: 2rem; font-size: .9rem; }
.wp-footer a { color: #fff; }
.wp-btn { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.4rem; text-decoration: none; border: 0; cursor: pointer; }
.wp-btn-small { padding: .45rem 1rem; font-size: .9rem; }

/* the search form on the error page */
.wp-label { display: block; font-weight: 700; margin-bottom: .4rem; }
.wp-check-row { display: flex; gap: 10px; flex-wrap: wrap; }
.wp-plate-input {
  flex: 1 1 220px; min-height: 52px; font-size: 1.4rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  background: #ffd21f; border: 2px solid var(--wp-ink, #111827); border-radius: 10px; padding: 0 14px; text-align: center;
}
.wp-alert { background: #fef3c7; border: 1px solid #f59e0b; color: #78350f; border-radius: 10px; padding: .8rem 1rem; }

@media (max-width: 575.98px) {
  .wp-nav { gap: 12px; font-size: .92rem; }
  .wp-check-row .wp-btn { width: 100%; }
}
