/* RapidHireMe V70.1.58 Real Match Request CTA + Professional ATS Resume Writer Upgrade
   Runtime-only UX layer: makes match request understandable and rebuilds resume preview into professional ATS structure. */
:root{
  --rhm-v58-blue:#2563eb;
  --rhm-v58-green:#16a34a;
  --rhm-v58-ink:#0f172a;
  --rhm-v58-muted:#475569;
  --rhm-v58-line:#dbe5ef;
  --rhm-v58-soft:#eff6ff;
  --rhm-v58-safe:#f0fdf4;
  --rhm-v58-warn:#fffbeb;
  --rhm-v58-orange:#f97316;
}
.rhm-v58-match-request-card{border:2px solid #93c5fd;background:linear-gradient(135deg,#eff6ff,#ffffff 48%,#f0fdf4);border-radius:22px;padding:20px;box-shadow:0 18px 50px rgba(15,23,42,.08);display:grid;gap:16px;}
.rhm-v58-match-request-card h3{margin:0;font-size:26px;letter-spacing:-.035em;color:#0f172a;}
.rhm-v58-match-request-card p{margin:0;color:#334155;line-height:1.55;max-width:980px;}
.rhm-v58-eyebrow{display:inline-flex;width:max-content;align-items:center;border:1px solid #bfdbfe;background:#fff;color:#1d4ed8;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.06em;}
.rhm-v58-match-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.rhm-v58-step{border:1px solid #dbe5ef;background:#fff;border-radius:16px;padding:12px;display:grid;gap:6px;min-height:108px;}
.rhm-v58-step span{width:30px;height:30px;border-radius:999px;background:#2563eb;color:#fff;display:grid;place-items:center;font-weight:1000;}
.rhm-v58-step strong{color:#0f172a;font-size:14px;line-height:1.25;}
.rhm-v58-step small{color:#475569;line-height:1.35;}
.rhm-v58-match-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.rhm-v58-match-actions .btn.primary,.rhm-v58-match-actions .btn.green{font-size:16px;padding:13px 18px;box-shadow:0 14px 30px rgba(37,99,235,.16);}
.rhm-v58-primary-cta{background:#16a34a!important;border-color:#16a34a!important;color:white!important;}
.rhm-v58-match-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;}
.rhm-v58-summary-item{border:1px solid #dbe5ef;background:#fff;border-radius:14px;padding:10px;font-size:12px;color:#334155;line-height:1.3;}
.rhm-v58-summary-item strong{display:block;color:#0f172a;margin-bottom:3px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;}
.rhm-v58-request-ready{border:1px solid #bbf7d0;background:#f0fdf4;border-radius:18px;padding:16px;color:#14532d;display:grid;gap:10px;}
.rhm-v58-request-ready h4{margin:0;font-size:18px;color:#14532d;}
.rhm-v58-request-ready ul{margin:0 0 0 18px;padding:0;color:#14532d;line-height:1.45;}
.rhm-v58-no-fake-note{border-left:4px solid #2563eb;background:#f8fbff;border-radius:12px;padding:10px 12px;color:#334155;font-size:13px;line-height:1.45;}
.rhm-v58-resume-card{background:#fff;border:1px solid #cbd5e1;border-radius:18px;overflow:hidden;box-shadow:0 16px 45px rgba(15,23,42,.08);}
.rhm-v58-toolbar{border-bottom:1px solid #e2e8f0;background:#f8fafc;padding:14px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;}
.rhm-v58-toolbar strong{color:#0f172a;}
.rhm-v58-score{display:inline-flex;align-items:center;gap:8px;border:1px solid #bbf7d0;background:#f0fdf4;color:#14532d;border-radius:999px;padding:7px 11px;font-weight:1000;font-size:13px;}
.rhm-v58-paper{padding:36px 42px;background:#fff;color:#111827;font-family:Arial, Helvetica, sans-serif;line-height:1.42;max-width:980px;margin:0 auto;}
.rhm-v58-paper h1{font-family:Arial, Helvetica, sans-serif;font-size:27px;line-height:1.1;margin:0;text-align:center;letter-spacing:.02em;text-transform:uppercase;color:#111827;}
.rhm-v58-contact{text-align:center;color:#374151;font-size:13px;margin:6px 0 18px;}
.rhm-v58-paper h2{font-family:Arial, Helvetica, sans-serif;font-size:12px;letter-spacing:.12em;text-transform:uppercase;margin:20px 0 8px;border-bottom:1px solid #111827;padding-bottom:4px;color:#111827;}
.rhm-v58-paper p{margin:0 0 8px;color:#111827;}
.rhm-v58-paper ul{margin:5px 0 0 20px;padding:0;color:#111827;}
.rhm-v58-paper li{margin:4px 0;}
.rhm-v58-role-line{display:flex;justify-content:space-between;gap:14px;align-items:baseline;margin:12px 0 2px;}
.rhm-v58-role-line strong{font-size:16px;color:#111827;}
.rhm-v58-role-line span{color:#374151;font-size:13px;text-align:right;}
.rhm-v58-employer-line{font-weight:700;color:#111827;margin:2px 0 4px;}
.rhm-v58-skill-category{margin:5px 0;color:#111827;}
.rhm-v58-skill-category strong{font-weight:700;}
.rhm-v58-review-box{border:1px solid #fde68a;background:#fffbeb;color:#78350f;border-radius:16px;padding:14px;margin-top:14px;line-height:1.45;}
.rhm-v58-review-box h4{margin:0 0 6px;color:#92400e;}
.rhm-v58-review-box ul{margin:6px 0 0 18px;padding:0;}
.rhm-v58-plain-pane{display:none;padding:18px;background:#f8fafc;border-top:1px solid #e2e8f0;}
.rhm-v58-plain-pane textarea{width:100%;min-height:460px;border:1px solid #cbd5e1;border-radius:12px;padding:14px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.55;background:#fff;color:#111827;}
.rhm-v58-professional-rules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px;}
.rhm-v58-rule{border:1px solid #e2e8f0;background:#fff;border-radius:14px;padding:10px;font-size:12px;color:#334155;line-height:1.35;}
.rhm-v58-rule strong{display:block;color:#0f172a;margin-bottom:4px;}
.rhm-v58-alignment-warning{border:1px solid #fed7aa;background:#fff7ed;color:#7c2d12;border-radius:14px;padding:12px;margin-top:12px;line-height:1.45;}
@media (max-width:980px){.rhm-v58-match-steps,.rhm-v58-match-summary,.rhm-v58-professional-rules{grid-template-columns:repeat(2,minmax(0,1fr));}.rhm-v58-paper{padding:28px 24px}.rhm-v58-role-line{display:block}.rhm-v58-role-line span{text-align:left;display:block;margin-top:2px}}
@media (max-width:560px){.rhm-v58-match-steps,.rhm-v58-match-summary,.rhm-v58-professional-rules{grid-template-columns:1fr}.rhm-v58-match-actions .btn{width:100%;}.rhm-v58-paper h1{font-size:22px}}
@media print{.rhm-v58-toolbar,.rhm-v58-review-box,.rhm-v58-plain-pane,.rhm-v58-professional-rules,.rhm-v58-alignment-warning{display:none!important}.rhm-v58-resume-card{border:0;box-shadow:none}.rhm-v58-paper{padding:0;max-width:none}}
