/* =============================================================================
   Applipro, démo guidée des entretiens individuels.
   Même scène que les autres démos (guide.css) et mêmes briques que celle de
   l'onboarding (guide-onboarding.css : palette, cartes à glisser, cartes de
   formulaire). Cette feuille ajoute les écrans propres aux entretiens : le
   modèle par blocs et ses deux colonnes, la nouvelle campagne, le suivi,
   le compte rendu finalisé, puis le téléphone d'Emma.
   ============================================================================= */

.ge .gx-screens { min-height: 540px; }
.ge-btn, .ge-btn2 { padding: 12px 16px; border-radius: 9px; font-size: 13.5px; font-weight: 600; line-height: 1; }
.ge-btn { background: var(--blue-500); color: #fff; }
.ge-btn2 { background: #E9ECF4; color: #2B3245; }
.ge-btns { display: flex; align-items: center; gap: 8px; }
/* Les pastilles : à qui la question est posée, et l'état d'un entretien */
.ge-tag { margin-left: auto; padding: 4px 8px; border-radius: 6px; font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }
.ge-tag--c { background: #E8F0FF; color: #1E4FD0; }
.ge-tag--k { background: #D8F0E5; color: #00664A; }
.ge-tag--m { background: #FFE7CF; color: #A14A00; }
.ge-st { padding: 5px 10px; border-radius: 99px; font-size: 11.5px; font-style: normal; font-weight: 700; white-space: nowrap; vertical-align: 2px; }
.ge-st--ok { background: #D8F0E5; color: #00664A; }
.ge-st--plan { background: #DDEBFB; color: #1F5C99; }
.ge-st--prep { background: #E6E5FB; color: #4A3CC4; }
.ge-st--no { background: #EEF0F6; color: #5B6272; }
.ge-col { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #3A4256; }
.ge-col::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #0C7A53; }
.ge-col--m::before { background: #E0701B; }

/* --- Écran 1 : le modèle, ses thématiques, ses deux colonnes --- */
.ge-cols { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 12px; }
.ge-theme { margin-top: 0; }
.ge-theme + .ge-theme { margin-top: 10px; }
.ge-theme > p { display: flex; align-items: center; gap: 10px; }
.ge-theme > p b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .16); font-size: 12px; }
.ge-theme > p small { margin-left: auto; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .66); }
.ge-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; padding: 0 8px 4px; }
.ge-two .ge-col { padding: 2px 4px 0; }
.ge-two .go-acts { padding: 6px 0 4px; }
.ge .go-acts li.go-slot { min-height: 38px; }

/* --- Écran 2 : la nouvelle campagne --- */
.ge-etapes { display: flex; gap: 6px; margin-top: 10px; }
.ge-etapes span { padding: 8px 12px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px #E3E6EE; font-size: 12.5px; font-weight: 600; color: #9AA1B2; }
.ge-etapes span.is-done { color: #00664A; background: #EAF6F0; box-shadow: none; }
.ge-etapes span.is-on { color: #1E4FD0; background: #EEF3FF; box-shadow: 0 0 0 1px #C9DAFF; }
.ge-panes { display: grid; }
.ge-pane { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.ge-pane.is-on { opacity: 1; visibility: visible; }
.ge-qui { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 12px; align-items: start; }
.ge-filtres { display: flex; gap: 6px; margin-top: 10px; }
.ge-filtres span { padding: 7px 26px 7px 11px; border: 1px solid #DCDFE8; border-radius: 7px; background: #fff; font-size: 12.5px; color: #5B6272; }
.ge-tout { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 9px 11px; border-radius: 8px; background: #F3F6FF; font-size: 13.5px; }
.ge-tout small { margin-left: auto; font-size: 12px; color: #5B6272; }
.ge-box { flex: none; width: 17px; height: 17px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px #9AA1B2; transition: background .25s ease, box-shadow .25s ease; }
.ge-tout.is-on .ge-box, .ge-table.is-all .ge-box { background: #3B6FE0 linear-gradient(135deg, transparent 43%, #fff 43% 57%, transparent 57%) center / 9px 9px no-repeat; box-shadow: none; }
.ge-table { margin-top: 10px; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #E3E6EE; }
.ge-tr { display: grid; align-items: center; column-gap: 12px; min-height: 46px; padding: 6px 14px; font-size: 13px; color: #3A4256; }
.ge-tr + .ge-tr { border-top: 1px solid #EEF0F5; }
.ge-tr > b { font-weight: 700; color: #1C2333; }
.ge-tr .prep-avatar, .ge-tr .go-ini { width: 32px; height: 32px; box-shadow: none; font-size: 11px; }
.ge-tr--pick { grid-template-columns: 17px 32px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.ge-plus { display: block; min-height: 0; padding: 10px 14px; font-size: 12.5px; color: #7A8194; }
.ge-th { min-height: 36px; background: #3A4256; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.ge-th > b { color: #fff; }
.ge-recap { margin-top: 0; }
.ge-n { margin-top: 4px; font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: #1E4FD0; }
.ge-recap-l { margin-top: 6px; font-size: 12.5px; line-height: 1.6; color: #5B6272; opacity: 0; transition: opacity .4s ease; }
.ge-recap-l.is-in { opacity: 1; }
.ge-foot { border-top: 0; padding-top: 0; }

/* --- Écrans 3 et 4 : les campagnes, puis le détail de l'une d'elles --- */
.ge-table--camp .ge-tr { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) 80px 150px minmax(0, 1fr); min-height: 52px; }
.ge-prog { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ge-prog i { flex: 1; height: 7px; overflow: hidden; border-radius: 9px; background: #E6E9F1; }
.ge-prog u { display: block; height: 100%; border-radius: 9px; background: #0C7A53; }
.ge-frise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.ge-frise span { padding: 9px 12px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px #E3E6EE; font-size: 13px; font-weight: 700; color: #9AA1B2; }
.ge-frise small { display: block; font-size: 11.5px; font-weight: 500; }
.ge-frise .is-done { color: #00664A; }
.ge-frise .is-on { color: #1E4FD0; box-shadow: 0 0 0 1.5px #3B6FE0; }
.ge-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.ge-kpis p { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px #E3E6EE; font-size: 12.5px; color: #5B6272; }
.ge-kpis b { font-size: 20px; font-weight: 700; color: #1C2333; }
.ge-kpis p::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #9AA1B2; }
.ge-k--1::before { background: #6B5CE0 !important; }
.ge-k--2::before { background: #5BA4E6 !important; }
.ge-k--3::before { background: #0C7A53 !important; }
.ge-table--suivi .ge-tr { grid-template-columns: 32px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.5fr) 70px; }
.ge-etat { display: flex; align-items: center; gap: 10px; }
.ge-av { display: flex; align-items: center; }
.ge-av i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px #C5CAD8; }
.ge-av i + i { margin-left: 14px; position: relative; }
.ge-av i + i::before { content: ''; position: absolute; right: 100%; top: 50%; width: 14px; height: 1.6px; margin-top: -.8px; background: #C5CAD8; }
.ge-av i.is-on { background: #0C7A53; box-shadow: none; }
.ge-av i.is-on + i.is-on::before { background: #0C7A53; }

/* --- Écran 5 : le compte rendu finalisé --- */
.ge-fiche-t { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ge-sub { margin-top: 2px; font-size: 12.5px; color: #7A8194; }
.ge-pdf { display: none; color: #00664A; font-weight: 600; }
.ge-pdf.is-in { display: inline; animation: gx-in .4s var(--ease) both; }
.ge-export { background: #fff; box-shadow: 0 0 0 1px #DADDE6; }
.ge-fiche { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.ge-q { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #EEF0F5; font-size: 13.5px; font-weight: 700; }
.go-card-t + .ge-q { margin-top: 8px; padding-top: 0; border-top: 0; }
.ge-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.ge-duo p { display: grid; justify-items: start; gap: 5px; padding: 10px 12px; border-radius: 9px; background: #F6F7FA; }
.ge-stars { display: inline-flex; gap: 3px; }
.ge-stars i { font-size: 17px; font-style: normal; line-height: 1; color: #C9CEDB; transition: color .25s ease, transform .25s var(--ease); }
.ge-stars i.is-on { color: #2F6BE8; }
.ge-note { padding: 3px 9px; border-radius: 99px; background: #E8F0FF; color: #1E4FD0; font-size: 11.5px; font-style: normal; font-weight: 700; }
.ge-plus-l, .ge-moins-l { display: grid; gap: 5px; margin-top: 8px; }
.ge-plus-l li, .ge-moins-l li { position: relative; padding: 7px 10px 7px 30px; border-radius: 8px; background: #EAF6F0; font-size: 13px; color: #00563F; }
.ge-plus-l li::before { content: ''; position: absolute; left: 11px; top: 50%; width: 9px; height: 5px; margin-top: -5px; border-left: 2px solid #0C7A53; border-bottom: 2px solid #0C7A53; transform: rotate(-45deg); }
.ge-moins-l li { background: #FFF1E3; color: #8A4208; }
.ge-moins-l li::before { content: ''; position: absolute; left: 12px; top: 50%; width: 8px; height: 2px; margin-top: -1px; border-radius: 2px; background: #E0701B; }
.ge-obj { display: grid; gap: 1px; margin-top: 8px; padding: 9px 11px; border-radius: 8px; background: #F6F7FA; font-size: 13px; }
.ge-obj small { font-size: 12px; color: #7A8194; }
.ge-sig { display: grid; gap: 1px; margin-top: 8px; font-size: 13px; }
.ge-sig span { font-weight: 600; color: #0C7A53; }

/* --- Le téléphone d'Emma : la préparation --- */
.ge-scr { padding-top: 12px; }
.ge-scr .lvp-h { font-size: 19px; }
.ge-carte { margin-top: 10px; padding: 11px 12px 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #E6E8F0; }
.ge-carte > p:first-child { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.ge-carte > p:first-child i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(27, 63, 168, .12); color: var(--app); font-size: 11.5px; font-style: normal; font-weight: 700; }
.ge-carte .ge-stars { margin-top: 10px; gap: 6px; }
.ge-carte .ge-stars i { font-size: 26px; }
.ge-carte .ge-note { display: none; margin-left: 10px; vertical-align: 7px; }
.ge-scr.is-star .ge-stars i:nth-child(-n+4) { color: #2F6BE8; }
.ge-scr.is-star .ge-note { display: inline-block; animation: gx-in .35s var(--ease) both; }
.ge-scr [data-ge-fort] { display: none; }
.ge-scr.is-fort [data-ge-fort] { display: block; }
.ge-add { margin-top: 8px; padding: 9px; border: 1.5px dashed #B4BED3; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: #5B6272; text-align: center; }

@media (min-width: 641px) and (max-width: 940px) {
  .ge-cols { grid-template-columns: 180px minmax(0, 1fr); gap: 12px; }
  .ge-qui { grid-template-columns: minmax(0, 1fr) 170px; }
  .ge-tr--pick { grid-template-columns: 17px 32px minmax(0, 1fr) minmax(0, 1fr); }
  .ge-tr--pick > b + span { display: none; }
  .ge-table--camp .ge-tr { grid-template-columns: minmax(0, 1.3fr) 70px 130px; }
  .ge-table--camp .ge-tr > span:nth-of-type(1), .ge-table--camp .ge-tr > span:nth-of-type(4) { display: none; }
  .ge-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ge-table--suivi .ge-tr { grid-template-columns: 32px minmax(0, 1fr) minmax(0, 1.4fr); }
  .ge-table--suivi .ge-tr > b + span, .ge-table--suivi .ge-tr > span:last-child { display: none; }
  .ge-fiche { grid-template-columns: minmax(0, 1fr); }
  .ge-tag { white-space: normal; text-align: right; }
}

/* =============================================================================
   Version 2 : le jour de l'entretien. Hors du back-office, la scène montre
   d'abord le téléphone d'Emma (la préparation), puis l'écran de Thomas, où les
   deux réponses sont côte à côte. Viennent ensuite les deux écrans de ce qui
   remonte aux RH : les formations retenues, les signaux et les avis.
   ============================================================================= */
.js .ge:not(.is-jour) .ge-jour, .js .ge.is-jour .ge-emma { display: none; }
.ge-jour { margin-top: 22px; }
.js .ge-jour { margin-top: 0; }
.ge-jour .prep-label, .ge-emma .prep-label { text-align: center; }
.ge-vue { max-width: 1000px; margin: 4px auto 0; overflow: hidden; border-radius: 18px; background: #F3F4F8; box-shadow: 0 0 0 1px rgba(18, 22, 36, .08), 0 34px 60px -34px rgba(18, 22, 36, .45); font-family: 'Roboto', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; color: #1C2333; }
.ge-vue-h { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #E6E8EF; }
.ge-vue-h .go-ini { width: 38px; height: 38px; }
.ge-vue-h > span:nth-child(2) { display: grid; }
.ge-vue-h b { font-size: 15px; font-weight: 700; }
.ge-vue-h small { font-size: 12px; color: #7A8194; }
.ge-pret { margin-left: auto; font-size: 12.5px; font-weight: 600; color: #00664A; }
.ge-vue.is-go .ge-pret { display: none; }
.ge-vue.is-go .ge-vue-h .bo-btn { margin-left: auto; }
.ge-vue-b { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; padding: 4px 18px 16px; transition: opacity .45s ease, filter .45s ease; }
.ge-vue:not(.is-go) .ge-vue-b { opacity: .22; filter: blur(3px); }
.ge-vue-b > div > .ge-q:first-child { margin-top: 12px; padding-top: 0; border-top: 0; }
.ge-vue .ge-duo p { background: #fff; box-shadow: 0 0 0 1px #E6E8EF; }
.ge-pct { display: grid; gap: 6px; justify-self: stretch; font-size: 12.5px; font-weight: 700; }
.ge-pct i { height: 7px; overflow: hidden; border-radius: 9px; background: #E6E9F1; }
.ge-pct u { display: block; height: 100%; border-radius: 9px; background: #2F6BE8; }
.ge-form { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 10px 12px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px #E6E8EF; }
.ge-form > span:first-child { display: grid; gap: 1px; }
.ge-form b { font-size: 13.5px; font-weight: 700; }
.ge-form small { font-size: 12px; color: #7A8194; }
.ge-ret { display: grid; flex: none; font-size: 12.5px; font-weight: 700; }
.ge-ret span { grid-area: 1 / 1; padding: 9px 14px; border-radius: 8px; background: var(--blue-500); color: #fff; text-align: center; transition: opacity .3s ease; }
.ge-ret span + span { background: #D8F0E5; color: #00664A; opacity: 0; }
.ge-vue.is-ret .ge-ret span { opacity: 0; }
.ge-vue.is-ret .ge-ret span + span { opacity: 1; }
.ge-synth { display: grid; min-height: 66px; margin-top: 8px; padding: 10px 12px; border: 1px solid #DCDFE8; border-radius: 8px; background: #fff; font-size: 13.5px; line-height: 1.5; }
.ge-synth > * { grid-area: 1 / 1; }
.ge-synth em { font-style: normal; color: #B4BACB; }
.ge-vue.is-synth .ge-synth em { display: none; }
.ge-vue-f { margin-top: 12px; }
.ge-vue:not(.is-signe) .ge-vue-f .gx-state { color: #8990A2; }
.ge-vue.is-signe .ge-vue-f .gx-state { color: #00664A; font-weight: 600; }

/* --- Ce qui remonte aux RH --- */
.ge .bo-title .go-when { margin-left: 8px; }
.ge-table--form .ge-tr { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) 110px; min-height: 50px; }
.ge-table--sig .ge-tr { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 2fr) 104px; min-height: 50px; }
.ge-tr.is-new { background: #F3F6FF; box-shadow: inset 3px 0 0 #3B6FE0; }
.ge-kpis--sig { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; }
.ge-k--r::before { background: #D64545 !important; }
.ge-st--r { background: #FBE3E3; color: #A32626; }
.ge-sub--bas { margin-top: 12px; font-size: 13px; }

@media (min-width: 641px) and (max-width: 940px) {
  .ge-vue-b { grid-template-columns: minmax(0, 1fr); }
  .ge-pret { display: none; }
  .ge-vue-h .bo-btn { margin-left: auto; }
  .ge-table--form .ge-tr { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 96px; }
  .ge-table--form .ge-tr > span:nth-of-type(2) { display: none; }
  .ge-table--sig .ge-tr { grid-template-columns: 86px minmax(0, 1fr) minmax(0, 1.6fr); }
  .ge-table--sig .ge-tr > span:nth-of-type(3) { display: none; }
}
