/* CV Mojo: the free job match (/job-match-checker, includes/site/v3/pages/job-match-checker.php, assets/site/job-match.js)
   and the two-way choice at the top of the free check card (site_checker_switch() in includes/site/pages/_checker.php),
   which is also on the homepage and /cv-checker, so this file loads on all three.
   The card, the progress steps and the result cards are the CV check's own classes (v3.css, then the v4 skin);
   only what is new is here. Prefix jm- (the page) and qc-switch (the choice). Colours are the v4 skin's.
   No gradients, nothing that moves except opacity and transform. */

/* ── The two-way choice: "Check my CV" / "Match it to a job" ── */
.qc-card .qc-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 20px; padding: 4px; background: #F2F4F7; border-radius: 12px; }
.qc-card .qc-switch a { display: block; padding: 9px 8px; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.35; text-align: center; text-decoration: none; color: #4D5056; border-radius: 9px; transition: background-color .18s ease, color .18s ease; }
.qc-card .qc-switch a:hover { text-decoration: none; color: #0A0D12; background: rgba(255, 255, 255, .7); }
.qc-card .qc-switch a[aria-current] { color: #0A0D12; background: #fff; box-shadow: 0 0 0 1px #E5E7EB, 0 1px 2px rgba(16, 24, 40, .06); }
.qc-card .qc-switch a:focus-visible { outline: 2px solid #046BF7; outline-offset: 2px; }
/* The "used this week's free checks" box: its text took the white of the blue first section it sits in. */
.qc-card .checker-out { color: #383B41; }
.qc-card .checker-out p { margin: 4px 0 0; color: #4D5056; }
/* The save button in a result is a whole sentence ("Create a free account to see all 7 fixes and save this CV"):
   the skin's buttons never wrap, so it ran off the side of its box, and off the screen on a phone. Let it wrap. */
html.v4s .qc-results .qc-unlock .btn, html.v4s .qc-results .result-next .btn { max-width: 100%; padding-top: 12px; padding-bottom: 12px; white-space: normal; text-align: center; }

/* ── The page ── */
/* The heading is a plain sentence, so its lines are the same size and wrap where they need to. */
.v3-jobmatch .jm-h1 .v-lk__xl { display: block; text-wrap: balance; }
.jm-card textarea { resize: vertical; min-height: 132px; }
.v3-jobmatch .v-ck-card .v-ck-dash a { font-weight: 600; }

/* ── The result ── */
.jm-results .result-top { align-items: stretch; }
.jm-asks h2 { margin-bottom: 10px; }
.jm-count { margin: 0 0 4px; font-size: 15.5px; color: #4D5056; }
.jm-count b { font-weight: 700; color: #0A0D12; }
.jm-sub { margin: 18px 0 10px; font-size: 1rem; line-height: 1; }
.jm-sub--plain { margin: 20px 0 12px; font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: 0; text-transform: none; color: #0A0D12; }
.aside-card > h2 + .jm-sub--plain { margin-top: 0; }
.jm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.jm-chip { max-width: 100%; padding: 5px 11px; font-size: 14.5px; font-weight: 500; line-height: 1.4; border-radius: 9px; overflow-wrap: anywhere; }
.jm-chip--yes { color: #053A2B; background: #EEFBF5; box-shadow: inset 0 0 0 1px #BFEBD8; }
.jm-chip--no { color: #3D2C00; background: #FFF6D6; box-shadow: inset 0 0 0 1px #F3DD95; }
.jm-results .checklist, .jm-dash { font-size: 16px; line-height: 1.5; }
.jm-dash { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.jm-dash li { position: relative; padding-left: 34px; }
.jm-dash li::before { content: ''; position: absolute; left: 5px; top: .68em; width: 14px; height: 2px; background: #98A2B3; border-radius: 2px; }
.jm-honest { margin: 16px 0 0; padding-top: 14px; font-size: 14.5px; line-height: 1.5; color: #4D5056; border-top: 1px solid #E5E7EB; }
.jm-door .btn { white-space: normal; }
.jm-door .result-left a { font-weight: 600; }
.jm-again { margin: 0 0 0 4px; padding: 0; font: inherit; font-weight: 600; color: #046BF7; background: none; border: 0; cursor: pointer; }
.jm-again:hover { color: #0359D1; text-decoration: underline; text-underline-offset: 3px; }
.jm-again:focus-visible { outline: 2px solid #046BF7; outline-offset: 2px; border-radius: 4px; }

@media (max-width: 640px) {
  .qc-card .qc-switch a { padding: 9px 4px; font-size: 14.5px; }
  .jm-door .actions .btn { width: 100%; }
  .jm-again { display: block; margin: 8px 0 0; }
}
