/* ---------- The check: one screen (11 Nov 2026 design B) ----------
   The band says which CV is being checked, with Change; the advert box takes the full width; one
   bright button with its cost beside it. */

.check__step--job { display: flex; flex-direction: column; align-items: stretch; }
.job-sheet {
  position: relative; overflow: hidden; border-radius: 24px; background: var(--white);
  box-shadow: 0 1px 2px rgba(25, 25, 28, 0.04), 0 8px 24px -12px rgba(25, 25, 28, 0.12);
}
.job-sheet__band {
  display: flex; flex-direction: column; gap: 8px; padding: 26px clamp(18px, 3vw, 32px) 22px;
  border-bottom: 1px solid var(--line); background: linear-gradient(var(--tint), var(--white));
}
.job-sheet__band .eyebrow { color: var(--orange); font-weight: 800; }
.job-sheet__band h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
.job-sheet__band h1:focus { outline: none; }
.job-sheet__band .lead { max-width: 40em; font-size: 17px; }

/* Which CV: a light row, its name tidied, when it was uploaded, and Change. */
.job-using {
  display: flex; align-items: center; gap: 10px 14px; max-width: 100%; box-sizing: border-box;
  margin-top: 10px; padding: 10px 10px 10px 14px; border-radius: 16px; background: var(--white); border: 1px solid var(--line-strong);
}
.job-using__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--accent); }
.job-using__icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.job-using__what { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.job-using__tag { font-size: 13px; color: var(--body); }
.job-using__what strong { font-size: 16px; overflow-wrap: anywhere; }
.job-using__meta { font-size: 13.5px; color: var(--body); }
.job-using__meta:empty { display: none; }
.job-using__change {
  flex: none; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--white); cursor: pointer;
  color: var(--ink); font: inherit; font-size: 15px; font-weight: 700;
}
.job-using__change:hover { background: var(--soft); }
.job-using__change:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.job-sheet__body { display: flex; flex-direction: column; gap: 16px; padding: 22px clamp(16px, 3vw, 32px) 28px; }
.job-sheet__body .field { display: flex; flex-direction: column; gap: 10px; }
.job-sheet__label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; }
.job-sheet__label label { font-size: 17px; font-weight: 800; }
.job-sheet__label .link-button { font-size: 14px; font-weight: 700; }
.job-sheet .input--area { min-height: 320px; border: 2px solid var(--input-line); border-radius: 16px; background: var(--soft); font-size: 16px; }
.job-sheet .input--area:focus { background: var(--white); }
.job-sheet .field__hint { justify-content: space-between; gap: 6px 12px; font-size: 13.5px; color: var(--body); }

/* The button and its cost. */
.job-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 4px; }
.job-go .check-cost { font-size: 15px; color: var(--body); }
.job-go__check:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.job-go__check { min-height: 54px; }
.job-go__check:disabled { opacity: 1; }

@media (max-width: 559px) {
  /* A phone (13 Nov 2026): the advert box starts on the first screen of the smallest phone (375 × 667).
     The sheet reaches nearer the edges, the heading and its line are smaller, and the CV is one slim
     row: no picture, its name on two lines at most. */
  .job-sheet { margin-inline: -8px; border-radius: 20px; }
  .job-sheet__band { gap: 6px; padding: 18px 14px 14px; }
  .job-sheet__band h1 { font-size: 26px; }
  .job-sheet__band .lead { font-size: 15px; line-height: 1.45; }
  .job-using { margin-top: 6px; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 14px; }
  .job-using__icon { display: none; }
  .job-using__what strong {
    display: -webkit-box; overflow: hidden; font-size: 15px; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  }
  .job-using__tag, .job-using__meta { font-size: 12.5px; }
  .job-using__change { padding: 0 14px; font-size: 14px; }
  .job-sheet__body { gap: 12px; padding: 16px 14px 20px; }
  .job-sheet__label label { font-size: 16px; }
  .job-sheet .input--area { min-height: 220px; }
  .job-go { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ---------- The check page's wait (11 Nov 2026, design B with A's ring and pills) ----------
   Nothing to manage: the ring fills a third at each stage, the pill it's on is dark, and one line says
   what's happening. Once the job is read, its list stands in for the tip. */
.checking { width: 100%; max-width: 760px; margin: clamp(8px, 5vh, 56px) auto 0; display: flex; flex-direction: column; gap: 24px; }
.checking__top { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.checking__ring { position: relative; width: 112px; height: 112px; }
.checking__ring svg:first-child { width: 100%; height: 100%; transform: rotate(-90deg); }
.checking__ring circle { fill: none; stroke: var(--line); stroke-width: 10; }
.checking__ring .checking__fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 0 400; transition: stroke-dasharray 0.6s ease; }
.checking__icon { position: absolute; inset: 0; margin: auto; width: 36px; height: 36px; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.checking__status { display: flex; flex-direction: column; gap: 8px; }
.checking__status h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.checking__status h1:focus { outline: none; }
.checking__text { font-size: 18px; color: var(--body); }
.checking__text:empty { display: none; }
.checking__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.checking__steps[hidden] { display: none; }
.checking__step {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--body); font-size: 14px; font-weight: 600;
}
.checking__mark { display: none; width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; }
.checking__step[data-state="active"] { border-color: var(--brand); background: var(--brand); color: var(--white); font-weight: 700; }
.checking__step[data-state="active"] .checking__mark { display: block; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: var(--cta); animation: check-spin 1s linear infinite; }
.checking__step[data-state="done"] { border-color: var(--green-bg); background: var(--green-bg); color: var(--green-text); font-weight: 700; }
.checking__step[data-state="done"] .checking__mark { display: block; width: 10px; height: 5px; border-radius: 0; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .checking__step[data-state="active"] .checking__mark { animation: none; border-color: var(--cta); }
  .checking__ring .checking__fill { transition: none; }
}
.checking__note { font-size: 15px; color: var(--body); }

.checking__asks {
  display: flex; flex-direction: column; gap: 16px; padding: clamp(18px, 3vw, 26px); border-radius: 24px; background: var(--white);
  box-shadow: 0 1px 2px rgba(25, 25, 28, 0.04), 0 8px 24px -12px rgba(25, 25, 28, 0.12);
}
.checking__asks[hidden] { display: none; }
.checking__asks-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.checking__asks-head h2 { font-size: 18px; font-weight: 800; }
.checking__asks-head span { font-size: 14px; color: var(--body); overflow-wrap: anywhere; }
.checking__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.checking__ask {
  max-width: 100%; box-sizing: border-box; padding: 8px 14px; border-radius: 16px; border: 1px solid var(--line-strong);
  background: var(--soft); font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere;
}
.checking__piles { font-size: 15px; line-height: 1.5; color: var(--body); }
.checking__pile--shown { color: var(--green-text); }
.checking__pile--todo { color: var(--orange); }
.checking__pile--check { color: var(--accent); }
.checking__tip { padding: 18px 22px; border-radius: 20px; border: 1px solid var(--line-strong); background: var(--white); font-size: 15px; line-height: 1.55; }
.checking__tip[hidden], .checking__names[hidden] { display: none; }
.checking__names { text-align: center; font-size: 14px; color: var(--body); overflow-wrap: anywhere; }
.checking__names strong { color: var(--ink); }
