/* Modale « Proposition de contact » (« Proposer un poste à … ») de la fiche talent.

   Pixel perfect sur la maquette validée par Kevin le 05/10/2026 (standalone
   « proposition-contact-standalone.html »). Les valeurs en dur (tailles, rayons,
   dégradés de la sélection, tuiles d'icône) sont CELLES de la maquette : ne pas
   les « arrondir ». Tout ce qui existe au design system passe par ses jetons
   (design_tokens.css : gold-*, n-*, ink, green-*, on-gold, gradients).

   Préfixe `pcm-` : la modale vit à côté de la v37 (`.tvw-modal` / `.pm`,
   recruiter_talent_view.css, partagée avec la maquette mockups/recruiter/talent_view),
   qu'on ne touche pas.

   Vue : app/views/recruiter/talents/_contact_modal.html.erb
   JS  : app/javascript/controllers/contact_modal_controller.js

   Polices : Geist et Playfair Display (déjà servies par le layout recruteur).

   #4732 (Tatianna, 09/10) — dessin repris de la maquette « Candidature et
   contact » du 08/10 (Drive 1vWorbp8, `candidature-contact-standalone.html`),
   son pendant côté talent : en-tête en un bloc doré, cartes d'approche en
   ombre douce, pastilles à menu pour le point de recrutement et le poste,
   « Annonce associée » repliée. Valeurs littérales de cette maquette. */

/* ── Voile + cadre ───────────────────────────────────────────────────────── */
.pcm-overlay { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: 20px; background: rgba(40, 32, 18, .38); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.pcm-overlay.active { display: grid; }

.pcm, .pcm *, .pcm *::before, .pcm *::after { box-sizing: border-box; }
.pcm { --pcm-soft: 0 1px 2px rgba(20, 18, 14, .06), 0 10px 24px -14px rgba(20, 18, 14, .24); position: relative; width: min(640px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 90px rgba(20, 18, 14, .34); font-family: 'Geist', system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; text-align: left; line-height: normal; }
@supports (height: 100dvh) { .pcm { max-height: calc(100dvh - 40px); } }
/* Remises à zéro à spécificité nulle (:where) : elles ne doivent jamais l'emporter sur les classes pcm-*. */
:where(.pcm h2, .pcm h3, .pcm p, .pcm dl, .pcm dd) { margin: 0; }
:where(.pcm button, .pcm input, .pcm select, .pcm textarea) { font-family: inherit; }
:where(.pcm svg) { display: block; flex: none; }
.pcm [hidden] { display: none !important; }

/* Champ radio masqué mais atteignable au clavier (cartes « Poste existant / Contact libre »). */
.pcm-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.pcm-close { position: absolute; top: 16px; right: 18px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: #555; cursor: pointer; display: grid; place-items: center; transition: all .15s; }
.pcm-close:hover { background: var(--n-100); color: var(--ink); }

/* ── En-tête (#4732, maquette du 08/10) : un seul bloc. Surtitre = l'action,
   titre = le talent, sa photo en haut à droite ── */
.pcm-head { position: relative; flex: none; padding: 20px 28px 16px; background: radial-gradient(120% 170% at 0% 0%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 58%), linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0) 62%), var(--gold-wash); border-bottom: 1px solid var(--gold-wash-line); box-shadow: inset 0 1px 0 #fff; }
.pcm-eyebrow { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold-deep); }
.pcm-title { margin: 6px 0 2px; padding-right: 130px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.pcm-sub { margin: 0; padding-right: 130px; font-size: 14px; color: var(--n-500); }
.pcm-head-mk { position: absolute; top: 31px; right: 66px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 600; color: var(--n-700); background: var(--gold-100); overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(20, 18, 14, .08), 0 6px 14px -6px rgba(20, 18, 14, .3); }
.pcm-head-mk img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Le corps défile, l'en-tête non. */
.pcm-body { scrollbar-gutter: stable; }
/* #4651 / #4667 — le nom sous lequel le talent lit la Maison avant son accord
   (Maison en Discrétion seulement, #4721). Non maquetté le 08/10 : gardé sous
   la ligne du talent, sur fond blanc pour se détacher du doré. */
.pcm-mask { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; padding: 9px 13px; border-radius: 12px; background: rgba(255, 255, 255, .8); border: 1px solid var(--gold-200); color: var(--n-500); }
.pcm-mask svg { margin-top: 2px; color: var(--gold-700); }
.pcm-mask p { margin: 0; font-size: 12.5px; line-height: 1.5; }
.pcm-mask b { color: var(--ink); font-weight: 700; }
.pcm-mask-src { display: block; font-size: 12px; }
.pcm-mask-edit { font-weight: 700; color: var(--gold-700); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.pcm-mask-edit:hover { color: var(--gold-deep); }

/* ── Corps (défile) et formulaire ────────────────────────────────────────── */
.pcm-form { display: flex; flex-direction: column; flex: 1; min-height: 0; margin: 0; }
.pcm-body { flex: 1; min-height: 0; overflow-y: auto; padding: 22px 28px 14px; }
.pcm-sec { margin-bottom: 26px; }
.pcm-sec:last-child { margin-bottom: 0; }

/* Objet de l'approche : cartes en ombre douce, la retenue cerclée d'or et cochée */
.pcm-modes { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 26px; }
.pcm-or { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--n-500); }
.pcm-or::before, .pcm-or::after { content: ''; width: 1px; height: 24px; background: var(--n-200); }
.pcm-mode { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 10px 14px 11px; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--pcm-soft); cursor: pointer; transition: all .18s; }
.pcm-mode-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 6px; }
.pcm-mode-ic svg { width: 19px; height: 19px; }
.pcm-mode input[value="posting"] ~ .pcm-mode-ic { background: #F6ECD3; color: var(--gold-deep); }
.pcm-mode input[value="open"] ~ .pcm-mode-ic { background: #E4ECE1; color: #1E6B45; }
.pcm-mode b { font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.pcm-mode-d { font-size: 13px; line-height: 1.4; color: #5B564E; margin-top: 2px; }
.pcm-mode:has(input:checked) { box-shadow: 0 0 0 1.5px var(--gold-primary), 0 14px 28px -14px rgba(138, 107, 31, .38); }
.pcm-mode:has(input:checked)::after { content: ''; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat, var(--gold-fill-deep); }
.pcm-mode:has(input:focus-visible) { outline: 2px solid var(--gold-primary); outline-offset: 2px; }
/* #4736 — sans annonce publiée : « Poste existant » visible, fermé, et il le dit. */
.pcm-mode:has(input:disabled) { cursor: not-allowed; box-shadow: none; background: var(--n-100); }
.pcm-mode:has(input:disabled) .pcm-mode-ic { filter: grayscale(.6); opacity: .7; }
.pcm-mode:has(input:disabled) b, .pcm-mode:has(input:disabled) .pcm-mode-d { color: var(--n-500); }

/* Titres de section : Playfair italique, pastille numérotée */
.pcm-lab { display: flex; align-items: center; gap: 10px; margin: 0 0 11px; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 600; font-size: 21px; color: #2A2622; }
.pcm-num { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: 'Geist', sans-serif; font-style: normal; font-size: 11px; font-weight: 800; color: var(--on-gold); text-shadow: var(--on-gold-shadow); background: var(--gold-fill-deep); }

/* Point de recrutement et Poste : un libellé et sa pastille par ligne */
.pcm-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 18px; }
.pcm-line .pcm-lab { margin: 0; }
.pcm-line--last { margin-bottom: 0; }
.pcm-vwrap { position: relative; display: inline-block; max-width: 100%; }
.pcm-vbtn { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; height: 40px; padding: 0 9px 0 18px; border-radius: 999px; border: 1.5px solid var(--gold-primary); background: #fff; box-shadow: 0 0 0 4px rgba(196, 165, 89, .13); font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .15s; }
.pcm-vbtn:hover { box-shadow: 0 0 0 4px rgba(196, 165, 89, .2); }
.pcm-vbtn:focus-visible { outline: 2px solid var(--gold-primary); outline-offset: 3px; }
.pcm-vn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcm-n { min-width: 24px; height: 24px; border-radius: 12px; background: var(--gold-fill-deep); color: #fff; text-shadow: var(--on-gold-shadow); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; padding: 0 7px; flex: none; }
.pcm-vchev { width: 26px; height: 26px; border-radius: 50%; background: var(--n-100); display: grid; place-items: center; color: var(--n-700); flex: none; transition: transform .2s; }
.pcm-vbtn[aria-expanded="true"] .pcm-vchev { transform: rotate(180deg); }
.pcm-vmenu { position: absolute; z-index: 30; left: 0; top: calc(100% + 8px); min-width: 300px; padding: 8px; display: flex; flex-direction: column; gap: 6px; background: #fff; border-radius: 24px; box-shadow: 0 22px 44px -14px rgba(20, 18, 14, .32), 0 0 0 1px rgba(20, 18, 14, .06); }
.pcm-vmenu--tall { max-height: 244px; overflow-y: auto; overscroll-behavior: contain; }
.pcm-vopt { display: flex; align-items: center; gap: 10px; height: 42px; flex: none; padding: 0 9px 0 18px; border-radius: 999px; border: 1px solid #E7E4DD; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--n-700); cursor: pointer; text-align: left; transition: all .15s; }
.pcm-vopt:hover { border-color: var(--gold-300); background: var(--gold-50); }
.pcm-vo { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcm-vopt .pcm-n { background: #F1EFE9; color: var(--n-700); text-shadow: none; }
.pcm-vk { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-deep); opacity: 0; flex: none; }
.pcm-vopt[aria-selected="true"] { border: 1.5px solid var(--gold-primary); color: var(--ink); box-shadow: 0 0 0 4px rgba(196, 165, 89, .13); }
.pcm-vopt[aria-selected="true"] .pcm-n { background: var(--gold-fill-deep); color: #fff; text-shadow: var(--on-gold-shadow); }
.pcm-vopt[aria-selected="true"] .pcm-vk { opacity: 1; }
.pcm-empty { font-size: 12.5px; color: var(--n-500); padding: 9px 12px; }

/* Annonce associée : repliée par défaut (une ligne), dépliable à la demande */
.pcm-ad { margin-top: 22px; border-radius: 16px; background: #fff; box-shadow: var(--pcm-soft); }
.pcm-ad-bar { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 0; border-radius: 16px; background: none; cursor: pointer; text-align: left; color: var(--ink); }
.pcm-ad-bar:focus-visible { outline: 2px solid var(--gold-primary); outline-offset: 2px; }
.pcm-ad-th { position: relative; width: 40px; height: 40px; flex: none; }
.pcm-ad-ph { display: block; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; background: var(--gold-100); box-shadow: 0 0 0 1px rgba(20, 18, 14, .08); }
.pcm-ad-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pcm-ad-ph img:not([src]) { display: none; }
.pcm-ad-bd { position: absolute; right: -5px; bottom: -5px; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--gold-deep); display: grid; place-items: center; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(20, 18, 14, .25); }
.pcm-ad-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pcm-ad-tx .pcm-eyebrow { font-size: 10.5px; }
.pcm-ad-tx b { font-size: 16.5px; font-weight: 700; line-height: 1.2; }
.pcm-ad-chev { width: 30px; height: 30px; border-radius: 50%; background: var(--n-100); color: var(--n-700); display: grid; place-items: center; flex: none; transition: transform .2s; }
.pcm-ad--open .pcm-ad-chev { transform: rotate(180deg); }
.pcm-ad-more { display: flex; align-items: center; gap: 12px; padding: 0 14px 12px 60px; }
.pcm-ad-sub { flex: 1; min-width: 0; font-size: 13px; color: var(--n-500); }
.pcm-pill { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--gold-300); background: #fff; color: var(--gold-700); font-size: 13px; font-weight: 700; cursor: pointer; flex: none; transition: all .15s; }
.pcm-pill:hover { border-color: var(--gold-primary); background: var(--gold-50); }

/* Fiche de poste jointe (maquette du 05/10), au dessin de la carte d'annonce du 08/10 */
.pcm-attach { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 16px; background: #fff; box-shadow: var(--pcm-soft); }
.pcm-attach-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--gold-100); color: var(--gold-deep); display: grid; place-items: center; flex: none; }
.pcm-attach-t { flex: 1; font-size: 14.5px; font-weight: 700; }
.pcm-attach-link { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; color: var(--gold-700); font-size: 13px; font-weight: 700; cursor: pointer; padding: 6px 4px; }
.pcm-attach-link:hover { color: var(--gold-deep); text-decoration: underline; }
.pcm-attach-rm { width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--n-500); cursor: pointer; display: grid; place-items: center; }
.pcm-attach-rm:hover { background: var(--n-100); color: var(--ink); }
/* État « fiche retirée » (non maquetté : la croix doit pouvoir se défaire). */
.pcm-attach--off { box-shadow: none; background: var(--n-100); }
.pcm-attach--off .pcm-attach-ic { background: #fff; color: var(--n-500); }
.pcm-attach--off .pcm-attach-t { color: var(--n-500); font-weight: 600; }

/* Aperçu de l'annonce (non maquetté : mêmes codes que la carte « Annonce associée »). */
.pcm-preview { margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: var(--pcm-soft); }
.pcm-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; }
.pcm-rows dt { font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--gold-deep); }
.pcm-rows dd { margin: 2px 0 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.pcm-desc { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--n-200); font-size: 12.5px; line-height: 1.55; color: var(--n-500); }
.pcm-desc:empty { display: none; }
.pcm-full { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--gold-700); text-decoration: none; }
.pcm-full:hover { color: var(--gold-deep); text-decoration: underline; }

/* Votre message : titre, pastille « pré-rédigé », Auguste à droite ; compteur sous le champ */
.pcm-msg-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 7px; }
.pcm-msg-h .pcm-lab { margin: 0; }
.pcm-ok { display: inline-flex; align-items: center; padding: 5px 13px; border-radius: 999px; background: var(--green-50); border: 1px solid var(--green-200); color: var(--green); font-size: 12.5px; font-weight: 600; }
/* Le bouton Auguste garde SA feuille (auguste_draft.css, test auguste_draft_css_test) :
   seul l'emplacement est réglé ici, par l'enveloppe. */
.pcm-aug { margin-left: auto; flex: none; max-width: 100%; }
.pcm-aug > * { margin: 0; }
.pcm textarea { display: block; width: 100%; min-height: 92px; resize: vertical; padding: 14px 16px; border: 1.5px solid rgba(0, 0, 0, .09); border-radius: 14px; background: #fff; font-size: 15.5px; line-height: 1.55; color: var(--ink); outline: none; transition: all .15s; }
.pcm textarea:focus { border-color: var(--gold-primary); box-shadow: 0 0 0 3px rgba(196, 165, 89, .14); }
.pcm-count { text-align: right; font-size: 12.5px; color: var(--n-500); margin-top: 3px; }
/* #4681 — motif de refus, dans la modale, au ras du champ. */
.pcm textarea[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.pcm-err { margin: 8px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--red-50); border: 1px solid var(--red-200); color: var(--red); font-size: 12.5px; line-height: 1.5; }
.pcm-err[hidden] { display: none; }

/* Date de prise de poste souhaitée */
.pcm-dates { display: flex; gap: 8px; }
.pcm-chip { height: 40px; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border-radius: 999px; border: 1.5px solid rgba(0, 0, 0, .09); background: #fff; color: #555; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: all .15s; }
.pcm-chip:hover { border-color: var(--gold-primary); }
.pcm-chip[aria-pressed="true"] { border-color: transparent; background: linear-gradient(135deg, var(--gold-primary), var(--gold-200)); color: var(--on-gold); text-shadow: var(--on-gold-shadow); box-shadow: 0 2px 8px rgba(196, 165, 89, .28); }
.pcm-chip svg { color: var(--gold-deep); }
.pcm-chip[aria-pressed="true"] svg { color: #fff; }
.pcm-dates .pcm-chip { flex: 1 1 auto; height: 40px; padding: 0 10px; }
.pcm-date-in { margin-top: 10px; }
/* #4720 — le calendrier doré commun (gold_calendar.css). La section est en bas
   du corps qui défile : le panneau s'ouvre vers le HAUT, par-dessus les
   sections du dessus, au lieu d'allonger le défilement sous le pli. */
.pcm-date-in .cal { top: auto; bottom: calc(100% + 8px); }

/* ── Pied ────────────────────────────────────────────────────────────────── */
.pcm-foot { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 14px 28px 16px; border-top: 1px solid #EFE9DA; background: #fff; }
.pcm-note { flex: 1; display: flex; align-items: center; gap: 9px; font-size: 12px; line-height: 1.4; color: var(--n-500); }
.pcm-note svg { color: var(--gold-500); }
.pcm-welcome { display: block; margin-top: 3px; color: var(--gold-700); } /* #4412, ajout au portage #4658 */
.pcm-btn--main:disabled { opacity: .5; cursor: not-allowed; }
.pcm-btn { height: 44px; padding: 0 22px; border-radius: 14px; font-size: 14.5px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; transition: all .15s; }
.pcm-btn--ghost { border: 1.5px solid var(--gold-300); background: #fff; color: var(--gold-700); }
.pcm-btn--ghost:hover { border-color: var(--gold-primary); background: var(--gold-50); }
.pcm-btn--main { border: 0; background: var(--gold-fill-deep); color: var(--on-gold); text-shadow: var(--on-gold-shadow); box-shadow: 0 6px 18px rgba(138, 107, 31, .32); }
.pcm-btn--main:hover { filter: brightness(1.06); transform: translateY(-1px); }
.pcm-btn--main:disabled { filter: none; transform: none; opacity: .6; cursor: progress; }

/* ── Petit écran ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .pcm-modes { grid-template-columns: 1fr; }
  .pcm-or { display: none; }
  .pcm-title { font-size: 25px; padding-right: 112px; }
  .pcm-sub { padding-right: 112px; }
  .pcm-head-mk { width: 42px; height: 42px; right: 58px; font-size: 15px; }
  /* #4651 — l'en-tête ne défile pas : à 390 px, le libellé et le lien seuls. */
  .pcm-mask { margin-top: 10px; padding: 7px 11px; }
  .pcm-mask-why { display: none; }
  .pcm-foot { flex-wrap: wrap; }
  .pcm-note { flex-basis: 100%; }
  .pcm-btn { flex: 1; justify-content: center; }
  .pcm-dates { flex-wrap: wrap; }
  .pcm-dates .pcm-chip { flex: 1 1 calc(50% - 4px); }
  /* Le menu s'ouvre sur toute la largeur de la ligne, pas depuis la pastille :
     à 390 px, celui du poste (pastille à droite du libellé) débordait. */
  .pcm-line { position: relative; }
  .pcm-vwrap { position: static; }
  .pcm-vmenu { min-width: 0; left: 0; right: 0; }
  .pcm-ad-more { padding-left: 14px; }
}

/* #4718 (Tatianna, 09/10) — « réduire l'affichage de 15 % pour que tout
   s'affiche d'un seul coup d'œil », comme la fenêtre Candidature côté talent.
   La fenêtre entière à 85 % sur ordinateur ; le téléphone garde sa taille,
   pour la lisibilité (même choix que Paramètres le 04/10). La hauteur maximale
   est divisée d'autant, sinon elle perdrait 15 % elle aussi. */
@media (min-width: 601px) {
  .pcm { zoom: .85; max-height: calc((100vh - 40px) / .85); }
  @supports (height: 100dvh) { .pcm { max-height: calc((100dvh - 40px) / .85); } }
}

/* #4718 gardé avec le dessin du 08/10 : sur un écran bas (1440 × 900 et moins
   haut), la fenêtre tient sans défiler. Même geste que la fenêtre Candidature
   côté talent (#4710) : l'icône des deux cartes passe à gauche du titre, le
   message démarre plus court, les blancs verticaux sont resserrés (rien n'est
   retiré). */
@media (min-width: 601px) and (max-height: 960px) {
  .pcm-head { padding: 16px 28px 12px; }
  .pcm-body { padding-top: 16px; }
  .pcm-modes { margin-bottom: 16px; }
  .pcm-mode { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; }
  .pcm-mode-ic { grid-row: 1 / 3; margin: 0; }
  .pcm-mode-d { margin-top: 1px; }
  .pcm-sec { margin-bottom: 16px; }
  .pcm-sec:last-child { margin-bottom: 0; }
  .pcm-line { margin-bottom: 12px; }
  .pcm-line--last { margin-bottom: 0; }
  .pcm-ad { margin-top: 14px; }
  .pcm textarea { min-height: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  .pcm *, .pcm *::before, .pcm *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* #4658 — vérification à 390 px : la pastille Auguste, fixée en bas à droite
   et au-dessus du voile, recouvrait « Envoyer la proposition ». Modale ouverte,
   elle s'efface ; elle revient telle quelle à la fermeture (même geste que le
   menu mobile, app_navbar.css). */
body:has(.pcm-overlay.active) .auguste-pop,
body:has(.pcm-overlay.active) .auguste-fab { display: none; }
