/* RapidHireMe V70.1.53 Apply-Ready Match Planner Foundation
   Runtime-only UX layer: preserves CEO-locked HTML bytes while clarifying job-match expectations. */
:root{
  --rhm-match-blue:#2563eb;
  --rhm-match-green:#16a34a;
  --rhm-match-gold:#b45309;
  --rhm-match-red:#dc2626;
  --rhm-match-purple:#7c3aed;
  --rhm-match-ink:#0f172a;
  --rhm-match-muted:#64748b;
  --rhm-match-line:#dbe5ef;
  --rhm-match-soft:#eff6ff;
  --rhm-match-safe:#f0fdf4;
  --rhm-match-warn:#fff7ed;
  --rhm-match-risk:#fef2f2;
}
.rhm-apply-ready-shell{display:grid;gap:16px;}
.rhm-apply-ready-banner{border:1px solid #bfdbfe;background:linear-gradient(135deg,#eff6ff,#f0fdf4 62%,#faf5ff);border-radius:22px;padding:18px;display:grid;gap:10px;}
.rhm-apply-ready-banner h2{margin:0;font-size:28px;letter-spacing:-.035em;color:#0f172a;}
.rhm-apply-ready-banner p{margin:0;color:#334155;line-height:1.55;}
.rhm-match-lock-note{border:1px solid #fed7aa;background:#fff7ed;color:#7c2d12;border-radius:16px;padding:12px 14px;line-height:1.45;}
.rhm-match-controls{border:1px solid var(--rhm-match-line);background:#fff;border-radius:18px;padding:16px;display:grid;gap:12px;}
.rhm-match-controls h3{margin:0;}
.rhm-match-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.rhm-match-field{display:grid;gap:6px;}
.rhm-match-field label{font-size:12px;font-weight:900;color:#334155;text-transform:uppercase;letter-spacing:.04em;}
.rhm-match-field input,.rhm-match-field select,.rhm-match-field textarea{border:1px solid var(--rhm-match-line);border-radius:12px;padding:10px 12px;background:#fff;min-width:0;width:100%;}
.rhm-match-field textarea{min-height:86px;resize:vertical;}
.rhm-match-source-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;}
.rhm-match-source-card{border:1px solid var(--rhm-match-line);background:#fff;border-radius:16px;padding:12px;display:grid;gap:6px;min-height:104px;}
.rhm-match-source-card strong{color:#0f172a;font-size:14px;}
.rhm-match-source-card small{color:#64748b;line-height:1.35;}
.rhm-match-source-card.tier1{border-color:#bbf7d0;background:#f0fdf4;}
.rhm-match-source-card.tier2{border-color:#bfdbfe;background:#eff6ff;}
.rhm-match-source-card.tier3{border-color:#ddd6fe;background:#faf5ff;}
.rhm-match-source-card.tier4{border-color:#fed7aa;background:#fff7ed;}
.rhm-match-source-card.tier5{border-color:#fecaca;background:#fef2f2;}
.rhm-match-result{border:1px solid #bfdbfe;background:#f8fbff;border-radius:20px;padding:16px;display:grid;gap:14px;}
.rhm-match-card{border:1px solid var(--rhm-match-line);background:#fff;border-radius:18px;padding:16px;display:grid;gap:12px;box-shadow:0 12px 32px rgba(15,23,42,.06);}
.rhm-match-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap;}
.rhm-match-card h3{margin:0;font-size:22px;letter-spacing:-.025em;}
.rhm-match-card p{margin:0;color:#475569;line-height:1.45;}
.rhm-badge-row{display:flex;gap:8px;flex-wrap:wrap;}
.rhm-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid #dbe5ef;background:#f8fafc;color:#334155;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;}
.rhm-badge.strong{border-color:#bbf7d0;background:#dcfce7;color:#166534;}
.rhm-badge.good{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8;}
.rhm-badge.review{border-color:#fed7aa;background:#fff7ed;color:#9a3412;}
.rhm-badge.block{border-color:#fecaca;background:#fef2f2;color:#991b1b;}
.rhm-match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.rhm-match-panel{border:1px solid var(--rhm-match-line);border-radius:16px;background:#fff;padding:13px;line-height:1.45;}
.rhm-match-panel strong{color:#0f172a;}
.rhm-match-panel ul{margin:8px 0 0;padding-left:18px;color:#475569;}
.rhm-match-panel li{margin:4px 0;}
.rhm-apply-warning{border:1px solid #fed7aa;background:#fff7ed;color:#7c2d12;border-radius:18px;padding:16px;display:none;gap:12px;}
.rhm-apply-warning.show{display:grid;}
.rhm-apply-warning h3{margin:0;color:#7c2d12;}
.rhm-apply-warning ul{margin:0;padding-left:20px;line-height:1.5;}
.rhm-apply-warning .btn{width:max-content;}
.rhm-match-actions{display:flex;gap:10px;flex-wrap:wrap;}
.rhm-match-mini{font-size:12px;color:#64748b;line-height:1.45;}
@media (max-width:900px){.rhm-match-field-grid,.rhm-match-grid{grid-template-columns:1fr}.rhm-match-source-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:560px){.rhm-match-source-grid{grid-template-columns:1fr}.rhm-apply-ready-banner h2{font-size:24px}.rhm-match-actions .btn{width:100%;}}

/* V70.1.54 Button/Next Path UX Fix */
.rhm-no-live-search{
  border:1px solid #fed7aa;
  background:#fff7ed;
  color:#7c2d12;
  border-radius:16px;
  padding:14px;
  line-height:1.45;
}
.rhm-no-live-search p{margin:6px 0 0;color:#7c2d12;}
.rhm-next-path-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.rhm-next-path-card{
  border:1px solid var(--rhm-match-line);
  background:#fff;
  border-radius:18px;
  padding:14px;
  display:grid;
  gap:8px;
  align-content:start;
}
.rhm-next-path-card p{margin:0;color:#475569;line-height:1.45;font-size:14px;}
.rhm-step-dot{
  width:32px;height:32px;border-radius:999px;
  display:grid;place-items:center;
  background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;
  font-weight:1000;
}
.rhm-next-path-result{border:2px solid #bfdbfe;background:linear-gradient(180deg,#ffffff,#f8fbff);}
.rhm-generated-resume-note{border-color:#bbf7d0;background:#f0fdf4;}
.rhm-match-field input.rhm-next-action-pulse,
.rhm-match-field textarea.rhm-next-action-pulse{outline:3px solid rgba(37,99,235,.20);outline-offset:2px;}
@media (max-width:900px){.rhm-next-path-grid{grid-template-columns:1fr;}}
