/* ============================================================================================================================
   THE APPLICANT REVIEW WINDOW (R-995, D-0655; public/js/53b-applicant-review.js). The new look only (R-910): every rule starts
   html[data-new-pace] and reads the scale in np-look-values.css. The window is a float: opaque (--card-solid).
   ============================================================================================================================ */
html[data-new-pace] .arv-overlay{z-index:1200}
html[data-new-pace] .arv{width:1240px;max-width:calc(100vw - 32px);max-height:92vh;display:flex;flex-direction:column;overflow:hidden;background:var(--card-solid,var(--card))}
html[data-new-pace] .arv-body{flex:1;min-height:0;overflow-y:auto}
html[data-new-pace] .arv-top{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--np-space-4);margin-bottom:var(--np-space-3)}
html[data-new-pace] .arv-who h2{margin:0;font-size:var(--np-text-2xl);font-weight:700;color:var(--text)}
html[data-new-pace] .arv-meta{margin:var(--np-space-1) 0 0;font-size:var(--np-text-sm);color:var(--text3);line-height:1.5}
html[data-new-pace] .arv-applied{margin:var(--np-space-2) 0 0;font-size:var(--np-text-md);color:var(--text2)}
html[data-new-pace] .arv-applied b{color:var(--text)}
html[data-new-pace] .arv-go{flex:none}
html[data-new-pace] .arv-err{margin:0 0 var(--np-space-3);color:var(--red);font-size:var(--np-text-md)}
html[data-new-pace] .arv-link{background:none;border:0;padding:0;font:inherit;color:var(--accent);cursor:pointer;text-decoration:underline}
html[data-new-pace] .arv-pane-h a{color:var(--accent)}

html[data-new-pace] .arv-nojob{margin:var(--np-space-2) 0 0;font-size:var(--np-text-md);color:var(--text2)}

/* the score: PACE's number, then what the résumé shows and does not, then the AI's few sentences */
html[data-new-pace] .arv-score{display:flex;gap:var(--np-space-5);align-items:flex-start;margin-bottom:var(--np-space-4);padding:var(--np-space-4);border:1px solid var(--border);border-radius:var(--np-round-xl);background:var(--bg)}
html[data-new-pace] .arv-num{display:flex;flex-direction:column;align-items:center;min-width:96px}
html[data-new-pace] .arv-num b{font-size:var(--np-text-num);font-weight:800;line-height:1;font-variant-numeric:tabular-nums;color:var(--text)}
html[data-new-pace] .arv-num span{margin-top:var(--np-space-1);font-size:var(--np-text-sm);font-weight:600;color:var(--text2)}
html[data-new-pace] .arv-band-strong .arv-num b{color:var(--green)}
html[data-new-pace] .arv-band-good .arv-num b{color:var(--accent)}
html[data-new-pace] .arv-why{flex:1;min-width:0}
html[data-new-pace] .arv-why p{margin:0 0 var(--np-space-2);font-size:var(--np-text-md);line-height:1.6;color:var(--text)}
html[data-new-pace] .arv-why p.arv-meta{font-size:var(--np-text-sm);color:var(--text3)}
html[data-new-pace] .arv-also{color:var(--text2)}
html[data-new-pace] .arv-chip{display:inline-block;margin:0 var(--np-space-1) var(--np-space-1) 0;padding:var(--np-space-0_5) var(--np-space-2_5);border:1px solid var(--border);border-radius:var(--np-round-pill);font-size:var(--np-text-sm);color:var(--text);background:var(--card-solid,var(--card))}
html[data-new-pace] .arv-chip.is-miss{color:var(--red);border-color:currentColor}

/* the résumé and the job description, side by side; one under the other on a phone */
html[data-new-pace] .arv-panes{display:grid;grid-template-columns:1fr 1fr;gap:var(--np-space-4)}
html[data-new-pace] .arv-panes.is-one{grid-template-columns:1fr}
html[data-new-pace] .arv-pane{display:flex;flex-direction:column;min-width:0}
html[data-new-pace] .arv-pane-h{display:flex;justify-content:space-between;align-items:baseline;gap:var(--np-space-2);margin-bottom:var(--np-space-1_5);font-size:var(--np-text-sm);color:var(--text3)}
html[data-new-pace] .arv-pane-h b{font-size:var(--np-text-md);color:var(--text)}
html[data-new-pace] .arv-frame{width:100%;height:56vh;min-height:360px;border:1px solid var(--border);border-radius:var(--np-round-lg);background:#fff}
html[data-new-pace] .arv-jd{height:56vh;min-height:360px;overflow:auto;padding:var(--np-space-4);border:1px solid var(--border);border-radius:var(--np-round-lg)}
html[data-new-pace] .arv-jd h3{margin:0;font-size:var(--np-text-lg);font-weight:700;color:var(--text)}
html[data-new-pace] .arv-sub{margin:var(--np-space-3) 0 var(--np-space-1);font-size:var(--np-text-sm);font-weight:600;color:var(--text2)}
html[data-new-pace] .arv-text{font-size:var(--np-text-md);line-height:1.6;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere}
html[data-new-pace] .arv-pane > .arv-text{height:56vh;min-height:360px;overflow:auto;padding:var(--np-space-4);border:1px solid var(--border);border-radius:var(--np-round-lg)}
html[data-new-pace] .arv-jd-text{margin-top:var(--np-space-3)}
html[data-new-pace] .arv-empty{padding:var(--np-space-4);border:1px dashed var(--border2);border-radius:var(--np-round-lg);font-size:var(--np-text-md);color:var(--text3)}

@media (max-width:760px){
  html[data-new-pace] .arv-top{flex-direction:column}
  html[data-new-pace] .arv-score{flex-direction:column;gap:var(--np-space-2)}
  html[data-new-pace] .arv-num{flex-direction:row;gap:var(--np-space-2);align-items:baseline}
  html[data-new-pace] .arv-panes{grid-template-columns:1fr}
  html[data-new-pace] .arv-frame,html[data-new-pace] .arv-jd,html[data-new-pace] .arv-pane > .arv-text{height:60vh}
}

/* THE JOB PAGE'S APPLICANTS TAB (R-1085; public/js/53-page-applied.js renderJobApplicants): the count, where they came from, the list */
html[data-new-pace] .ja-card{padding:var(--np-space-4);margin-bottom:var(--np-space-4)}
html[data-new-pace] .ja-head{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:var(--np-space-2);margin-bottom:var(--np-space-2)}
html[data-new-pace] .ja-h{margin:0;font-size:var(--np-text-lg);font-weight:700;color:var(--text)}
html[data-new-pace] .ja-n{color:var(--text2)}
html[data-new-pace] .ja-new{font-size:var(--np-text-sm);font-weight:600;color:var(--green)}
html[data-new-pace] .ja-mix{margin:var(--np-space-1) 0 0;font-size:var(--np-text-md);color:var(--text2)}
html[data-new-pace] .ja-acts{display:flex;gap:var(--np-space-2)}
html[data-new-pace] .ja-intro{margin:0 0 var(--np-space-3);font-size:var(--np-text-sm);color:var(--text3);line-height:1.5}

/* FULL SCREEN (R-1061, owner 24 Nov 2026: "I want maximise window option to this applicant review window"). The ▢ button beside ×
   (arMax) puts .is-max on the overlay: the window fills the screen and the résumé and job description take all the height left. */
html[data-new-pace] .arv-btns{display:flex;align-items:center;gap:var(--np-space-1)}
html[data-new-pace] .arv-max{font-size:var(--np-text-lg);line-height:1}
html[data-new-pace] .arv-overlay.is-max{padding:0;align-items:stretch;justify-content:stretch}
html[data-new-pace] .arv-overlay.is-max .arv{width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:none;border-radius:0}
html[data-new-pace] .arv-overlay.is-max .arv-body{display:flex;flex-direction:column}
html[data-new-pace] .arv-overlay.is-max .arv-body > *{flex:0 0 auto}
html[data-new-pace] .arv-overlay.is-max .arv-body > .arv-panes{flex:1 1 auto;min-height:420px}
html[data-new-pace] .arv-overlay.is-max .arv-pane{min-height:0}
html[data-new-pace] .arv-overlay.is-max .arv-frame,
html[data-new-pace] .arv-overlay.is-max .arv-jd,
html[data-new-pace] .arv-overlay.is-max .arv-pane > .arv-text{flex:1 1 auto;height:auto;min-height:360px}
/* R-1373: a throwaway email address — said beside the applicant (the list and this window), never a reason to refuse them */
html[data-new-pace] .arv-throwaway{display:inline-block;margin-left:var(--np-space-1_5);padding:0 var(--np-space-2);border-radius:var(--np-round-pill);font-weight:600;color:var(--fx-amber);background:color-mix(in srgb,var(--fx-amber) 12%,transparent)}
html[data-new-pace] .apl-throwaway{margin-top:var(--np-space-1)}
/* R-2121: warning signs on an applicant — calm amber, a reason to check, never a red "fake" */
html[data-new-pace] .apl-signs{margin-top:var(--np-space-1)}
html[data-new-pace] .apl-sign{display:inline-block;padding:0 var(--np-space-2);border-radius:var(--np-round-pill);font:600 var(--np-text-min)/1.7 var(--font);color:var(--fx-amber);background:color-mix(in srgb,var(--fx-amber) 12%,transparent)}
html[data-new-pace] .arv-signs{display:block;margin-top:var(--np-space-2);padding:var(--np-space-2) var(--np-space-3);border-radius:var(--np-round-md);color:var(--text);background:color-mix(in srgb,var(--fx-amber) 10%,transparent);border-left:3px solid var(--fx-amber)}
