/* outils/outils.css — styles des outils gratuits pour les employeurs (créé le 24/11/2026).
   Pensé d'abord pour le téléphone (375 px). S'ajoute aux styles du blog (conseils/conseils.css) : mêmes couleurs
   (bleu marine #051D40, bleu doux #EEF2FF, filets #dbe3f4, vert employeurs #28a745, liens #1d6fe9). */

.yjo .yjo-intro { font-size: 18px; color: #334155; margin: 0 0 18px; }
.yjo-cache-visuel { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.yjo button { font-family: 'Nunito', sans-serif; }
.yjo button:focus-visible, .yjo a:focus-visible, .yjo input:focus-visible, .yjo select:focus-visible, .yjo textarea:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.yjo .yjo-lien { background: none; border: 0; padding: 6px 0; color: #1d6fe9; font-weight: 700; font-size: 15px; text-decoration: underline; cursor: pointer; }
.yjo .yjo-note { background: #f5f7ff; border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.yjo .yjo-noscript { background: #fff7ed; border-radius: 10px; padding: 12px 14px; }

/* Le cadre de l'outil */
.yjo-outil { background: #EEF2FF; border: 1px solid #dbe3f4; border-radius: 18px; padding: 16px 14px; margin: 0 0 26px; }
@media (min-width: 768px) { .yjo-outil { padding: 24px; } }

/* ── Le test ── */
.yjo .yjo-progres { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #64748b; margin: 0 0 6px; }
.yjo-barre { height: 6px; background: #dbe3f4; border-radius: 99px; overflow: hidden; margin: 0 0 16px; }
.yjo-barre span { display: block; height: 100%; width: 0; background: #28a745; border-radius: 99px; transition: width .25s; }
.yjo-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.yjo-q legend { font-family: 'Nunito', sans-serif; font-size: 21px; font-weight: 900; line-height: 1.25; color: #051D40; margin: 0 0 12px; padding: 0; border: 0; width: 100%; }
.yjo .yjo-q-aide { font-size: 15px; color: #475569; margin: -4px 0 12px; }
.yjo-choix { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 600px) { .yjo-choix { grid-template-columns: 1fr 1fr; } }
.yjo-choix button { text-align: left; background: #fff; border: 2px solid #dbe3f4; border-radius: 12px; padding: 13px 14px; font-size: 17px; font-weight: 700;
    color: #0f172a; cursor: pointer; min-height: 52px; transition: border-color .15s, background .15s; }
.yjo-choix button:hover { border-color: #93c5fd; }
.yjo-choix button[aria-pressed="true"] { border-color: #28a745; background: #f3fbf5; }
.yjo-cp { display: flex; flex-wrap: wrap; gap: 8px; }
.yjo-cp input { flex: 1 1 140px; min-width: 0; font-family: 'Nunito', sans-serif; font-size: 18px; padding: 12px; border: 2px solid #cbd5e1; border-radius: 12px; background: #fff; color: #0f172a; }
.yjo-cp .yjc-btn { border: 0; cursor: pointer; }
.yjo .yjo-erreur { color: #b42318; font-weight: 700; font-size: 15px; margin: 8px 0 0; }
.yjo .yjo-retour { margin-top: 14px; }

/* Le résultat du test */
.yjo-resultat:focus { outline: none; }
.yjo-verdict { border-radius: 14px; padding: 16px; margin: 0 0 14px; background: #fff; border: 2px solid #28a745; }
.yjo-verdict--mais { border-color: #C4A55A; }
.yjo .yjo-verdict p { margin: 0 0 6px; font-size: 16px; }
.yjo .yjo-verdict p:last-child { margin: 0; }
.yjo .yjo-verdict .yjo-verdict-titre { font-size: 21px; font-weight: 900; line-height: 1.25; color: #051D40; }
.yjo-verdict--oui .yjo-verdict-titre::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
    background: #28a745; color: #fff; font-size: 16px; margin-right: 8px; vertical-align: 2px; }
.yjo-resultat h3 { margin: 18px 0 8px; }
.yjo .yjo-coches, .yjo .yjo-etapes { margin: 0 0 12px; }
.yjo .yjo-coches { list-style: none; padding: 0; }
.yjo .yjo-coches li { list-style: none; position: relative; padding-left: 28px; font-size: 16px; }
.yjo .yjo-coches li::before { content: "•"; position: absolute; left: 8px; top: 0; color: #64748b; font-weight: 900; }
.yjo .yjo-coches li.yjo-ok::before { content: "✓"; left: 4px; color: #1e7e34; }
.yjo .yjo-coches li.yjo-attention::before { content: "!"; left: 6px; color: #b45309; }
.yjo .yjo-etapes li { font-size: 16px; }
.yjo .yjo-compteur { background: #051D40; color: #fff; border-radius: 12px; padding: 12px 14px; font-size: 16px; }
.yjo .yjo-compteur strong { color: #fff; font-size: 19px; }
.yjo .yjo-resultat-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0 10px; }
.yjo-resultat-cta span { font-size: 14px; color: #64748b; }
.yjo .yjo-plus-loin { font-size: 15px; margin: 10px 0 4px; }
.yjo .yjo-refaire { margin: 0; }

/* ── Cartes des outils (accueil, « Nos autres outils ») ── */
.yjo .yjo-cartes { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr; gap: 12px; }
.yjo .yjo-cartes li { list-style: none; margin: 0; }
.yjo-carte-outil { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; row-gap: 4px; align-items: start; height: 100%;
    background: #fff; border: 1px solid #dbe3f4; border-radius: 14px; padding: 14px; text-decoration: none !important; color: #0f172a; }
.yjo-carte-outil:hover { border-color: #28a745; box-shadow: 0 6px 18px rgba(5, 29, 64, .08); }
.yjo-carte-icone { grid-row: 1 / span 3; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #EEF2FF; color: #051D40; }
.yjo-carte-outil strong { font-size: 17px; font-weight: 900; line-height: 1.3; color: #051D40; }
.yjo-carte-texte { font-size: 15px; line-height: 1.45; color: #475569; }
.yjo-carte-bouton { font-size: 15px; font-weight: 800; color: #1e7e34; }
@media (min-width: 768px) {
    .yjo .yjo-cartes { grid-template-columns: repeat(3, 1fr); }
    .yjo-carte-outil { grid-template-columns: 1fr; }
    .yjo-carte-icone { grid-row: auto; }
}
.yjo-autres h2 { margin-top: 30px; }

/* ── Champs communs (planning, annonce) ── */
.yjo-champ { display: grid; gap: 4px; min-width: 0; }
.yjo-champ > span, .yjo-champ > label { font-weight: 800; font-size: 15px; color: #0f172a; }
.yjo-champ input, .yjo-champ select, .yjo-champ textarea, .yjo-creneau select, .yjo-creneau input, .yjo-ajout input {
    font-family: 'Nunito', sans-serif; font-size: 16px; padding: 10px 11px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #0f172a; width: 100%; min-width: 0; }
.yjo-champ textarea { min-height: 120px; line-height: 1.5; resize: vertical; }
.yjo .yjo-aide { font-size: 14px; color: #64748b; margin: 8px 0 0; }
.yjo-facultatif { font-weight: 600; color: #64748b; }

/* ── Le planning (refait le 24/11/2026 après-midi : façon appli, une couleur par personne, la journée en agenda) ── */
.yjo-outil--app { background: transparent; border: 0; padding: 0; }
.yjp-app { background: #fff; border: 1px solid #dbe3f4; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 34px -18px rgba(5, 29, 64, .35); margin: 0 0 14px; }
.yjp-tete { background: #051D40; color: #fff; padding: 14px 14px 12px; display: grid; gap: 8px; }
.yjo .yjp-nom { width: 100%; background: transparent; border: 0; border-bottom: 1px dashed rgba(255, 255, 255, .35); color: #fff; font-family: 'Nunito', sans-serif;
    font-size: 20px; font-weight: 900; padding: 2px 0 4px; border-radius: 0; }
.yjo .yjp-nom::placeholder { color: rgba(255, 255, 255, .55); font-weight: 800; }
.yjo .yjp-nom:focus { outline: none; border-bottom-color: #fff; }
.yjp-semaine { display: flex; align-items: center; gap: 8px; }
.yjp-semaine span { flex: 1; font-size: 15px; font-weight: 800; color: #dbe5ff; }
.yjp-semaine button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; font-weight: 900; cursor: pointer; line-height: 1; }
.yjp-semaine button:hover { background: rgba(255, 255, 255, .22); }
.yjo .yjp-stats { font-size: 13px; color: #b9c8ea; margin: 0; }
.yjo .yjp-stats b { color: #fcd34d; }
.yjp-corps { padding: 14px 12px 12px; }
.yjo .yjp-etiquette { font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #64748b; margin: 0 0 8px; }
.yjo .yjp-indice { font-size: 14px; color: #64748b; margin: 8px 0 0; }

/* Les personnes : des pastilles de couleur */
.yjp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.yjp-chip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--c-trait, #cbd5e1); background: var(--c-fond, #fff); color: #0f172a;
    border-radius: 99px; padding: 4px 12px 4px 4px; font-size: 15px; font-weight: 800; cursor: pointer; min-height: 36px; line-height: 1.1; }
.yjp-chip small { font-size: 10px; font-weight: 900; color: var(--c-trait); background: #fff; border-radius: 6px; padding: 1px 4px; }
.yjp-chip[aria-expanded="true"], .yjp-chip[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--c-trait, #051D40); }
.yjp-pastille { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; flex: 0 0 26px;
    background: var(--c-trait, #64748b); color: #fff; font-size: 13px; font-weight: 900; }
.yjp-pastille--manque { background: #f59e0b; }
.yjp-chip--ajout { border: 1.5px dashed #94a3b8; background: #fff; color: #334155; padding: 4px 14px; }
.yjp-chip--manque { border: 1.5px dashed #f59e0b; background: #fff7ed; color: #9a3412; padding: 4px 14px; }
.yjp-chip--manque[aria-pressed="true"] { box-shadow: 0 0 0 3px #f59e0b; }
.yjp-ajout { display: inline-flex; gap: 4px; align-items: center; }
.yjo .yjp-ajout input { width: 150px; font-family: 'Nunito', sans-serif; font-size: 16px; padding: 7px 12px; border: 1.5px solid #051D40; border-radius: 99px; }
.yjp-ajout button { border: 0; background: #051D40; color: #fff; font-weight: 900; border-radius: 99px; padding: 8px 14px; cursor: pointer; }
.yjp-perso { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 10px 0 0; padding: 10px 12px; border-radius: 14px;
    background: var(--c-fond); border: 1.5px solid var(--c-trait); }
.yjp-perso-texte { display: grid; flex: 1 1 120px; min-width: 0; }
.yjp-perso-texte strong { font-size: 16px; color: #051D40; }
.yjp-perso-texte span { font-size: 13px; color: #475569; }
.yjp-bascule { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 800; color: #051D40; cursor: pointer; }
.yjp-bascule input { width: 20px; height: 20px; margin: 0; accent-color: #051D40; }
.yjp-retirer { border: 0; background: none; color: #b42318; font-weight: 800; font-size: 14px; text-decoration: underline; cursor: pointer; padding: 4px 0; }

/* Les jours */
.yjp-jours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 16px 0 12px; }
.yjp-jours button { border: 0; background: #f1f5fb; border-radius: 14px; padding: 7px 0 6px; cursor: pointer; color: #051D40; min-width: 0; display: grid; justify-items: center; gap: 1px; }
.yjp-jours b { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: #64748b; }
.yjp-jours span { font-size: 18px; font-weight: 900; line-height: 1.1; }
.yjp-jours em { display: flex; gap: 2px; height: 6px; font-style: normal; }
.yjp-jours em i { width: 6px; height: 6px; border-radius: 50%; display: block; }
.yjp-jours i.yjp-point-manque { background: #f59e0b; }
.yjp-jours button[aria-selected="true"] { background: #051D40; color: #fff; box-shadow: 0 6px 14px -6px rgba(5, 29, 64, .6); }
.yjp-jours button[aria-selected="true"] b { color: #b9c8ea; }

/* La journée en agenda */
.yjp-jour-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.yjo .yjp-jour-tete h4 { font-size: 18px; font-weight: 900; color: #051D40; margin: 0; }
.yjp-jour-tete span { font-size: 13px; color: #64748b; font-weight: 700; }
.yjp-petit { border: 1.5px solid #cbd5e1; background: #fff; color: #051D40; border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.yjp-petit[aria-expanded="true"] { background: #051D40; border-color: #051D40; color: #fff; }
.yjp-copier { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: #f5f7ff; border-radius: 12px; padding: 8px; margin: 0 0 10px; }
.yjp-copier span { font-size: 13px; font-weight: 800; color: #334155; }
.yjp-copier button { border: 1.5px solid #c7d2fe; background: #fff; border-radius: 99px; padding: 5px 10px; font-size: 13px; font-weight: 800; color: #051D40; cursor: pointer; }
.yjp-grille { position: relative; margin: 6px 0 10px; cursor: copy; touch-action: manipulation; }
.yjp-ligne { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid #edf1f7; pointer-events: none; }
.yjp-ligne span { position: absolute; left: 0; top: -8px; width: 38px; text-align: right; font-size: 11px; font-weight: 800; color: #94a3b8; background: #fff; padding-right: 4px; }
.yjp-bloc { position: absolute; display: flex; flex-direction: column; justify-content: flex-start; gap: 1px; text-align: left; overflow: hidden;
    background: var(--c-fond); border: 0; border-left: 4px solid var(--c-trait); border-radius: 10px; padding: 5px 8px; cursor: pointer; color: #0f172a;
    box-shadow: 0 2px 6px -2px rgba(15, 23, 42, .18); transition: transform .12s, box-shadow .12s; }
.yjp-bloc:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -6px rgba(15, 23, 42, .35); }
.yjp-bloc strong { font-size: 14px; font-weight: 900; color: var(--c-trait); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yjp-bloc strong small { font-size: 10px; background: #fff; border-radius: 5px; padding: 0 4px; vertical-align: 1px; }
.yjp-bloc span { font-size: 12px; font-weight: 700; color: #334155; white-space: nowrap; }
.yjp-bloc--fin { flex-direction: row; align-items: center; gap: 6px; padding: 2px 8px; }
.yjp-bloc--manque { background: repeating-linear-gradient(135deg, #fff7ed 0 8px, #ffedd5 8px 16px); border-left-color: #f59e0b; outline: 1.5px dashed #f59e0b; outline-offset: -1.5px; }
.yjp-bloc--manque strong { color: #9a3412; }
.yjo .yjp-grille-vide { position: absolute; left: 48px; right: 4px; top: 40%; transform: translateY(-50%); margin: 0; text-align: center; font-size: 14px;
    color: #94a3b8; font-weight: 700; pointer-events: none; }
.yjp-ajouter { display: block; width: 100%; border: 1.5px dashed #94a3b8; background: #f8fafc; color: #051D40; border-radius: 14px; padding: 12px; font-size: 16px; font-weight: 900; cursor: pointer; }
.yjp-ajouter:hover { border-color: #051D40; background: #f1f5fb; }

/* Le panneau du bas (créer ou modifier un créneau) */
html.yjp-bloque, html.yjp-bloque body { overflow: hidden; }
.yjp-voile { position: fixed; inset: 0; background: rgba(5, 29, 64, .45); z-index: 10000; }
.yjp-feuille { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10001; background: #fff; border-radius: 22px 22px 0 0; max-height: 88vh; overflow-y: auto;
    padding: 8px 16px calc(18px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -12px 40px rgba(5, 29, 64, .25); font-family: 'Nunito', sans-serif;
    animation: yjp-monte .22s ease-out; }
@keyframes yjp-monte { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .yjp-feuille { animation: none; } }
@media (min-width: 768px) {
    .yjp-feuille { left: 50%; right: auto; bottom: auto; top: 50%; width: 460px; transform: translate(-50%, -50%); border-radius: 20px; animation: none; padding-bottom: 20px; }
}
.yjp-feuille-poignee { width: 42px; height: 5px; border-radius: 99px; background: #cbd5e1; margin: 2px auto 10px; }
@media (min-width: 768px) { .yjp-feuille-poignee { display: none; } }
.yjp-feuille-tete { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; margin: 0 0 12px; }
.yjp-feuille .yjp-feuille-tete h3 { font-size: 20px; font-weight: 900; color: #051D40; margin: 0; }
.yjp-feuille-tete span { grid-column: 1; font-size: 14px; color: #64748b; font-weight: 700; }
.yjp-fermer { grid-column: 2; grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f1f5f9; color: #051D40; font-size: 22px; font-weight: 900; cursor: pointer; }
.yjp-feuille .yjp-etiquette { font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #64748b; margin: 14px 0 8px; }
.yjp-chips--qui .yjp-chip { min-height: 40px; }
.yjp-horaires { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yjp-horaires label { display: grid; gap: 4px; margin: 0; }
.yjp-horaires span { font-size: 13px; font-weight: 800; color: #334155; }
.yjp-horaires input { font-family: 'Nunito', sans-serif; font-size: 22px; font-weight: 900; color: #051D40; text-align: center; padding: 10px; border: 1.5px solid #cbd5e1;
    border-radius: 14px; background: #f8fafc; width: 100%; min-width: 0; }
.yjp-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.yjp-presets button { border: 1.5px solid #dbe3f4; background: #fff; border-radius: 99px; padding: 6px 11px; font-size: 13px; font-weight: 800; color: #051D40; cursor: pointer; }
.yjp-presets small { color: #64748b; font-weight: 700; }
.yjp-feuille-pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 0; }
.yjp-feuille-pied .yjc-btn { flex: 1; border: 0; text-align: center; cursor: pointer; padding: 14px; font-size: 17px; background: #28a745; }
.yjp-feuille .yjo-erreur { margin: 10px 0 0; }

/* Les créneaux à pourvoir : le moment où l'on dit « on a des jeunes » */
.yjp-pourvoir { position: relative; background: #f3fbf5; border: 2px solid #28a745; border-radius: 18px; padding: 16px; margin: 0 0 12px; }
.yjo .yjp-pourvoir p { font-size: 16px; margin: 0 0 8px; }
.yjo .yjp-pourvoir .yjp-pourvoir-titre { font-size: 19px; font-weight: 900; color: #051D40; margin: 0 0 4px; }
.yjp-pourvoir .yjc-btn { display: block; text-align: center; margin: 6px 0 6px; }
.yjp-pourvoir small { display: block; text-align: center; font-size: 13px; color: #475569; }
@media (min-width: 600px) { .yjp-pourvoir .yjc-btn { display: inline-block; } .yjp-pourvoir small { display: inline; margin-left: 10px; } }
.yjo .yjp-astuce { font-size: 15px; color: #334155; background: #f8fafc; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; }

/* Les remarques pour les moins de 18 ans */
.yjp-regles { border-radius: 16px; padding: 12px 14px; margin: 0 0 12px; background: #fff7ed; border: 1px solid #fed7aa; }
.yjp-regles--ok { background: #f3fbf5; border-color: #bbe5c6; }
.yjo .yjp-regles p { font-size: 15px; font-weight: 800; margin: 0; color: #051D40; }
.yjo .yjp-regles .yjp-regles-titre { margin: 0 0 6px; }
.yjo .yjp-regles ul { margin: 0 0 6px; padding-left: 18px; }
.yjo .yjp-regles li { font-size: 15px; margin: 0 0 4px; }
.yjp-regles a { font-size: 14px; font-weight: 800; }

/* La semaine en pastilles (c'est aussi ce qui s'imprime) */
.yjp-semaine-vue { background: #fff; border: 1px solid #dbe3f4; border-radius: 18px; padding: 14px 0 10px; margin: 0 0 14px; }
.yjo .yjp-semaine-vue h3 { font-size: 17px; font-weight: 900; color: #051D40; margin: 0 14px 10px; }
.yjp-semaine-vue .yjo-credit { margin: 8px 14px 0; }
.yjp-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.yjp-table table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 620px; font-size: 13px; }
.yjp-table th, .yjp-table td { padding: 6px 5px; border-bottom: 1px solid #f1f5f9; vertical-align: top; text-align: left; }
.yjp-table thead th { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: #64748b; text-align: center; }
.yjp-table thead th span { display: block; font-size: 16px; color: #051D40; text-transform: none; letter-spacing: 0; }
.yjp-table thead th.yjp-auj span { color: #fff; background: #051D40; border-radius: 99px; width: 28px; margin: 1px auto 0; }
.yjp-table .yjp-col-nom { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; white-space: nowrap; font-weight: 900; color: #051D40; padding-left: 12px; font-size: 14px;
    box-shadow: 6px 0 8px -8px rgba(15, 23, 42, .25); }
.yjp-table thead .yjp-col-nom { font-size: 11px; color: #64748b; }
.yjp-table tbody th .yjp-pastille { width: 22px; height: 22px; flex-basis: 22px; font-size: 11px; margin-right: 6px; vertical-align: middle; }
.yjp-table tbody th small { font-size: 10px; color: #15803d; background: #dcf5e4; border-radius: 5px; padding: 0 4px; margin-left: 4px; vertical-align: 1px; }
.yjp-pill { display: block; white-space: nowrap; font-size: 12px; font-weight: 800; color: var(--c-trait); background: var(--c-fond); border-radius: 8px; padding: 3px 6px; margin: 0 0 3px; text-align: center; }
.yjp-pill--manque { color: #9a3412; background: repeating-linear-gradient(135deg, #fff7ed 0 6px, #ffedd5 6px 12px); }
.yjp-table td.yjp-total { text-align: right; font-weight: 900; color: #051D40; white-space: nowrap; padding-right: 12px; }
.yjp-ligne-manque th { color: #9a3412 !important; }
.yjp-liste-semaine, .yjp-totaux { display: none; }
@media (max-width: 639px) {
    .yjp-table table { display: none; }
    .yjo .yjp-liste-semaine { display: block; list-style: none; margin: 0; padding: 0 12px; }
    .yjo .yjp-liste-semaine li { list-style: none; display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: start; padding: 8px 0; margin: 0; border-bottom: 1px solid #f1f5f9; }
    .yjo .yjp-liste-semaine li:last-child { border-bottom: 0; }
    .yjp-liste-jour { display: grid; justify-items: center; font-size: 17px; font-weight: 900; color: #051D40; line-height: 1.1; padding-top: 2px; }
    .yjp-liste-jour b { font-size: 10px; font-weight: 800; text-transform: uppercase; color: #64748b; letter-spacing: .04em; }
    .yjp-liste-semaine li.yjp-auj .yjp-liste-jour { background: #051D40; color: #fff; border-radius: 12px; padding: 3px 0 4px; }
    .yjp-liste-semaine li.yjp-auj .yjp-liste-jour b { color: #b9c8ea; }
    .yjp-liste-pills { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
    .yjp-liste-pills .yjp-pill { display: inline-block; margin: 0; text-align: left; font-weight: 700; padding: 4px 8px; }
    .yjp-liste-pills .yjp-pill b { font-weight: 900; }
    .yjp-repos { font-size: 13px; color: #94a3b8; font-weight: 700; padding-top: 4px; }
    .yjo .yjp-totaux { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 12px 0; }
    .yjp-totaux span { display: inline-flex; align-items: center; gap: 5px; background: var(--c-fond); color: #051D40; border-radius: 99px; padding: 3px 10px 3px 3px; font-size: 13px; font-weight: 800; }
    .yjp-totaux .yjp-pastille { width: 20px; height: 20px; flex-basis: 20px; font-size: 10px; font-style: normal; }
    .yjp-totaux b { color: var(--c-trait); }
}

.yjp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 4px 0 8px; }
.yjp-actions .yjc-btn { border: 0; cursor: pointer; }
.yjp-actions .yjc-btn-sec { border: 2px solid #28a745; cursor: pointer; }
.yjo .yjo-credit { font-size: 12px; color: #64748b; }
.yjo-envoi { background: #fff; border: 1px solid #dbe3f4; border-radius: 16px; padding: 14px; margin: 0 0 12px; }
.yjo .yjo-envoi p { font-size: 15px; margin: 0 0 8px; }
.yjo-envoi-lien { display: flex; gap: 8px; margin: 0 0 10px; }
.yjo-envoi-lien input { flex: 1 1 auto; min-width: 0; font-size: 14px; padding: 9px 10px; border: 1px solid #cbd5e1; border-radius: 10px; background: #f8fafc; color: #0f172a; }
.yjo-envoi-lien button { flex: 0 0 auto; cursor: pointer; }
.yjo-envoi-boutons { display: flex; flex-wrap: wrap; gap: 8px 14px; font-weight: 800; font-size: 15px; }
.yjo .yjo-statut { font-size: 13px; color: #64748b; margin: 0; min-height: 18px; }
.yjo-confirmer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fdeceb; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.yjo-confirmer button { border: 0; border-radius: 8px; padding: 8px 12px; font-weight: 800; cursor: pointer; }
.yjo-confirmer [data-oui] { background: #b42318; color: #fff; }
.yjo-confirmer [data-non] { background: #fff; color: #0f172a; border: 1px solid #cbd5e1; }
.yjo-lecture { background: #051D40; color: #fff; border-radius: 18px; padding: 16px; margin: 0 0 12px; }
.yjo .yjo-lecture p { color: #fff; margin: 0 0 10px; font-size: 16px; }
.yjo-lecture .yjo-lien { color: #c7d7fe; }
.yjo-lecture-boutons { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }

/* ── L'annonce ── */
.yjo-note-score { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid #dbe3f4; border-radius: 14px; padding: 14px; margin: 12px 0; }
.yjo-score { width: 92px; height: 92px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: conic-gradient(var(--yjo-couleur, #28a745) calc(var(--yjo-pc, 0) * 1%), #e2e8f0 0); position: relative; }
.yjo-score::before { content: ""; position: absolute; inset: 9px; background: #fff; border-radius: 50%; }
.yjo-score b, .yjo-score small { position: relative; line-height: 1; }
.yjo-score b { font-size: 28px; font-weight: 900; color: #051D40; font-variant-numeric: tabular-nums; }
.yjo-score small { font-size: 12px; color: #64748b; font-weight: 800; margin-top: 2px; }
.yjo .yjo-score-titre { font-size: 19px; font-weight: 900; color: #051D40; margin: 0 0 4px; }
.yjo .yjo-score-texte { font-size: 15px; margin: 0; }
.yjo .yjo-criteres { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.yjo .yjo-criteres li { list-style: none; margin: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 9px 12px 9px 38px; position: relative; font-size: 15px; line-height: 1.45; }
.yjo .yjo-criteres li::before { position: absolute; left: 10px; top: 9px; width: 20px; height: 20px; border-radius: 50%; font-size: 12px; font-weight: 900; line-height: 20px; text-align: center; color: #fff; }
.yjo .yjo-criteres li.yjo-c-ok::before { content: "✓"; background: #28a745; }
.yjo .yjo-criteres li.yjo-c-moyen::before { content: "~"; background: #f59e0b; }
.yjo .yjo-criteres li.yjo-c-non::before { content: "✗"; background: #94a3b8; }
.yjo .yjo-criteres li.yjo-c-alerte { border-color: #f5b5ae; background: #fdeceb; }
.yjo .yjo-criteres li.yjo-c-alerte::before { content: "!"; background: #b42318; }
.yjo-criteres li strong { color: #051D40; }
.yjo-criteres li .yjo-pts { float: right; font-size: 13px; color: #64748b; font-weight: 800; margin-left: 8px; }
.yjo-formulaire { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 12px; }
@media (min-width: 600px) { .yjo-formulaire { grid-template-columns: 1fr 1fr; } .yjo-formulaire .yjo-large { grid-column: 1 / -1; } }
.yjo-case { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin: 0; cursor: pointer; }
.yjo-case input { width: 20px; height: 20px; margin: 0; accent-color: #28a745; }
.yjo-apercu { background: #fff; border: 1px dashed #94a3b8; border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 8px; }
.yjo-apercu mark { background: #fef3c7; color: #92400e; border-radius: 4px; padding: 0 2px; }
.yjo .yjo-apercu-note { font-size: 14px; color: #475569; margin: 0 0 10px; }
.yjo-boutons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 6px; }
.yjo-boutons .yjc-btn, .yjo-boutons .yjc-btn-sec { cursor: pointer; }
.yjo-boutons .yjc-btn { border: 0; }
.yjo-etape-annonce { margin: 18px 0 0; }
.yjo .yjo-fiche { background: #fff; border: 1px solid #dbe3f4; border-radius: 14px; padding: 14px 16px; }
.yjo .yjo-fiche dt { font-weight: 900; color: #051D40; font-size: 15px; margin: 8px 0 2px; }
.yjo .yjo-fiche dd { margin: 0; font-size: 16px; }

/* Impression du planning : seulement le tableau de la semaine */
@media print {
    body * { visibility: hidden !important; }
    .yjo-imprimer, .yjo-imprimer * { visibility: visible !important; }
    .yjo-imprimer { position: absolute; left: 0; top: 0; width: 100%; border: 0 !important; padding: 0 !important; }
    .yjp-table { overflow: visible; }
    .yjp-table table { display: table !important; min-width: 0; font-size: 11px; }
    .yjp-liste-semaine, .yjp-totaux { display: none !important; }
    .yjp-table th, .yjp-table td { border: 1px solid #cbd5e1; }
    .yjp-table .yjp-col-nom { position: static; box-shadow: none; }
    .yjp-pill { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
