/* calendrier : chargé avec l'outil (csirt-styles.php). */
/* Calendriers de l'Avent : même grammaire (numéro, tuile à filet), case lue marquée ; bleu du CSIRT (palette1), pas de rouge. */
.csirt-calendrier { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .75rem; }
.calendrier-case { background: var(--global-palette9); border: 1px solid var(--global-palette7); border-left: 4px solid var(--global-palette1); scroll-margin-top: 7rem; }
.calendrier-case summary { display: flex; gap: .75rem; align-items: center; padding: .75rem 1rem; cursor: pointer; font-weight: 600; color: var(--global-palette3); list-style: none; min-height: 4rem; }
.calendrier-case summary:hover { background: var(--global-palette8); }
.calendrier-case summary::-webkit-details-marker { display: none; }
.calendrier-jour { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; background: var(--global-palette1); color: #fff; font-weight: 700; font-size: 1.1rem; }
.calendrier-titre { flex: 1; }
.calendrier-lu { flex: none; font-size: .78rem; font-weight: 700; color: #1e7b34; border: 1px solid currentColor; padding: 0 .35rem; }
.calendrier-case.lue { border-left-color: #1e7b34; }
.calendrier-case.lue .calendrier-jour { background: var(--global-palette5); }
.calendrier-case[open] { grid-column: 1 / -1; border-left-color: var(--global-palette1); }
.calendrier-case[open] summary { font-size: 1.15rem; border-bottom: 1px solid var(--global-palette7); }
.calendrier-case > div { padding: 1rem 1.25rem 1.25rem; display: flow-root; }
.calendrier-case img { max-width: 18rem; float: right; margin: 0 0 1rem 1rem; }
.calendrier-nav { clear: both; display: flex; justify-content: space-between; gap: .5rem; margin: 1rem 0 0; }
.calendrier-nav .button { padding: .35rem .9rem; font-size: .9rem; }
.calendrier-nav .button:only-child { margin-left: auto; }
p.calendrier-progression { margin: .75rem 0 0; font-size: .9rem; color: var(--global-palette5); }
@media (max-width: 640px) {
	.calendrier-case img { float: none; max-width: 100%; margin: 0 0 1rem; }
}
/* Calendrier saisi dans l'admin (cal-v2) : grille 6 × 4, un conseil ouvert sous la grille, plein écran sur téléphone. */
.csirt-calendrier.cal-v2 { display: block; }
.cal-outils { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; margin: 0 0 1rem; }
.cal-outils .calendrier-progression { margin: 0; }
.cal-boutons { margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.cal-grille { list-style: none; margin: 0 0 1.5rem !important; padding: 0 !important; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; }
.cal-case { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; width: 100%; min-height: 7.5rem; padding: .7rem .75rem; text-align: left; font: inherit; color: var(--global-palette3); background: var(--global-palette9); border: 1px solid var(--global-palette7); border-bottom: 3px solid var(--global-palette1); border-radius: 0; cursor: pointer; }
.cal-case:hover:not(:disabled), .cal-case[aria-expanded="true"] { background: var(--global-palette8); }
.cal-case:focus-visible { outline: 3px solid #f0a400; outline-offset: 2px; }
.cal-case .cal-num { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; background: var(--global-palette1); color: #fff; font-weight: 700; font-size: 1.05rem; }
.cal-case .cal-titre { font-size: .88rem; font-weight: 600; line-height: 1.3; }
.cal-case .cal-lu { position: absolute; top: .55rem; right: .55rem; font-size: .72rem; font-weight: 700; color: #1e7b34; border: 1px solid currentColor; padding: 0 .3rem; }
.cal-case.lue { border-bottom-color: #1e7b34; }
.cal-case.lue .cal-num { background: var(--global-palette5); }
.cal-case.cal-aujourdhui { border: 2px solid var(--global-palette1); border-bottom-width: 4px; }
.cal-case.cal-aujourdhui::after { content: "Aujourd'hui"; position: absolute; top: .55rem; right: .55rem; font-size: .72rem; font-weight: 700; color: var(--global-palette1); }
.cal-case:disabled { cursor: not-allowed; color: var(--global-palette5); background: var(--global-palette8); border-bottom-color: var(--global-palette7); }
.cal-case:disabled .cal-num { background: var(--global-palette6); }
.cal-conseil { scroll-margin-top: 7rem; background: var(--global-palette9); border: 1px solid var(--global-palette7); border-left: 4px solid var(--global-palette1); padding: 1.25rem 1.5rem; margin: 0 0 1rem; }
.cal-conseil:focus { outline: none; }
.cal-conseil h2 { display: flex; align-items: center; gap: .75rem; margin: 0 0 1rem; font-size: 1.35rem; }
.cal-conseil h2 .cal-num { display: grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; background: var(--global-palette1); color: #fff; font-size: 1.1rem; }
.cal-texte { display: flow-root; }
.cal-texte .wp-block-image { float: right; max-width: 18rem; margin: 0 0 1rem 1.25rem; }
.cal-nav { clear: both; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; }
.cal-nav .button { padding: .35rem .9rem; font-size: .9rem; }
.cal-nav [data-fermer] { margin-left: auto; }
.cal-js .cal-conseil { display: none; }
.cal-js .cal-conseil.cal-ouvert, .cal-conseil.cal-plein { display: block; }
@media (max-width: 1024px) {
	.cal-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.cal-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
	.cal-case { min-height: 5.2rem; padding: .5rem; }
	.cal-case .cal-titre { font-size: .78rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.cal-case.cal-aujourdhui::after, .cal-case .cal-lu { display: none; }
	.cal-texte .wp-block-image { float: none; max-width: 100%; margin: 0 0 1rem; }
	/* Conseil ouvert : plein écran, navigation en bas. */
	.cal-conseil.cal-plein { position: fixed; inset: 0; z-index: 100000; margin: 0; overflow-y: auto; padding: 1.25rem 1rem 6rem; border: 0; }
	.cal-conseil.cal-plein .cal-nav { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--global-palette9); border-top: 1px solid var(--global-palette7); }
	.cal-plein .cal-nav [data-copier] { display: none; }
}
html.cal-sans-defilement, html.cal-sans-defilement body { overflow: hidden; }
@media print {
	.cal-outils, .cal-grille, .cal-nav { display: none !important; }
	.cal-js .cal-conseil { display: block !important; position: static !important; break-inside: avoid; border: 1px solid #999; }
}

/* ---------- Touche saisonnière, défi du jour, états des cases, code du 24, révélation ---------- */
.cal-decor { border-top: 3px solid var(--global-palette1); margin: 0 0 1rem; line-height: 0; }
/* Illustrations (csirt-decors.php) : monument ou paysage, saison, neige facultative. */
.cal-decor svg { display: block; width: 100%; max-width: 960px; height: auto; margin: 0 auto; }
.cal-dessin .cal-ciel { fill: #e3eef6; }
.cal-s-printemps .cal-ciel { fill: #edf5fa; } .cal-s-ete .cal-ciel { fill: #e5f1fa; } .cal-s-automne .cal-ciel { fill: #f3eee5; }
.cal-dessin .cal-soleil, .cal-dessin .cal-flocons, .cal-dessin .cal-feuilles, .cal-dessin .cal-fleurs, .cal-dessin .cal-neige { display: none; }
.cal-s-ete .cal-soleil, .cal-s-printemps .cal-soleil { display: inline; }
.cal-soleil circle { fill: #fde9b0; stroke: #d99a00; stroke-width: 1.5; } .cal-soleil path { fill: none; stroke: #d99a00; stroke-width: 1.5; stroke-linecap: round; }
.cal-neige-oui .cal-flocons, .cal-neige-oui .cal-neige { display: inline; }
.cal-flocons circle { fill: #fff; stroke: #8db7d2; stroke-width: .8; }
.cal-s-automne .cal-feuilles { display: inline; } .cal-feuilles ellipse { fill: #d98e3a; }
.cal-s-printemps .cal-fleurs { display: inline; }
.cal-fleur path { fill: none; stroke: #4f8a52; stroke-width: 1; }
.cal-fleur circle { stroke: #fff; stroke-width: .4; } .cal-fleur .cal-coeur { fill: #f2c14e; stroke: none; }
.cal-fleur-rose circle { fill: #ec8fae; } .cal-fleur-blanche circle { fill: #fff; stroke: #c9b8c4; } .cal-fleur-mauve circle { fill: #b48ad8; } .cal-fleur-jaune circle { fill: #f6d55c; stroke: #d9a920; } .cal-fleur-jaune .cal-coeur { fill: #e08a1e; }
.cal-dessin .cal-colline { fill: #e6eee9; }
.cal-s-printemps .cal-colline { fill: #dcedd2; } .cal-s-ete .cal-colline { fill: #dfecc8; } .cal-s-automne .cal-colline { fill: #ece0c6; }
.cal-neige-oui .cal-colline { fill: #fff; stroke: #a9c8dc; stroke-width: 1.2; }
.cal-dessin .cal-lointain { fill: #d6e2ea; } .cal-s-ete .cal-lointain, .cal-s-printemps .cal-lointain { fill: #cfe2e6; } .cal-s-automne .cal-lointain { fill: #e3d6c3; }
.cal-neige-oui .cal-lointain { fill: #eef4f8; stroke: #b8d0e0; stroke-width: 1; }
.cal-dessin .cal-allee { fill: #efe7d6; } .cal-neige-oui .cal-allee { fill: #f4f7f9; stroke: #b8d0e0; }
.cal-dessin .cal-eau { fill: #cfe3ef; } .cal-reflet { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; }
.cal-dessin .cal-falaise { fill: #d3dee6; } .cal-s-ete .cal-falaise, .cal-s-automne .cal-falaise { fill: #ddd6c6; }
.cal-roche { fill: none; stroke: #8fa9ba; stroke-width: 1.4; stroke-linecap: round; }
.cal-bati { fill: #fff; stroke: var(--global-palette1, #026e9f); stroke-width: 1.8; stroke-linejoin: round; }
.cal-toit { fill: #c9dbe8; stroke: var(--global-palette1, #026e9f); stroke-width: 1.8; stroke-linejoin: round; }
.cal-toit-sombre { fill: #7f9bb0; }
.cal-trait, .cal-fenetre { fill: none; stroke: var(--global-palette1, #026e9f); stroke-width: 1.4; stroke-linecap: round; }
.cal-fenetre-plein { fill: var(--global-palette1, #026e9f); }
.cal-toit-motif { fill: url(#cal-tuiles); stroke: var(--global-palette1, #026e9f); stroke-width: 1.8; stroke-linejoin: round; }
.cal-tuile-a { fill: #c9dbe8; } .cal-tuile-b { fill: #e3b54e; stroke: #b88a2a; stroke-width: .6; }
.cal-dessin .cal-arbre { fill: #c4dcbf; stroke: #4f8a52; stroke-width: 1.4; }
.cal-s-ete .cal-arbre { fill: #a9d39a; stroke: #3f7a45; } .cal-s-automne .cal-arbre { fill: #e9b064; stroke: #b0662b; }
.cal-s-automne .cal-arbre:nth-child(even) { fill: #d98e3a; }
.cal-s-hiver .cal-arbre { fill: #dfe7e3; stroke: #6f8a80; }
.cal-neige-oui .cal-arbre { fill: #fff; stroke: #7fa7c2; }
.cal-dessin .cal-sapin { fill: #9cc8a0; stroke: #2f6b45; stroke-width: 1.3; stroke-linejoin: round; }
.cal-s-automne .cal-sapin { fill: #8fb89a; }
.cal-dessin .cal-neige { fill: #fff; stroke: #8db7d2; stroke-width: 1; stroke-linejoin: round; }
.cal-s-hiver .cal-ciel { fill: #dde9f3; }
.cal-dessin .cal-foret { fill: #a9cf9b; stroke: #3f7a45; stroke-width: 1.3; stroke-linejoin: round; }
.cal-dessin .cal-foret-loin { fill: #c4dcbb; stroke: #6e9a6c; }
.cal-dessin .cal-foret-sapin { fill: #8fbf95; stroke: #2f6b45; }
.cal-s-printemps .cal-foret { fill: #c2e0b0; } .cal-s-automne .cal-foret { fill: #e2a65a; stroke: #a5612b; } .cal-s-automne .cal-foret-loin { fill: #e9c48c; stroke: #b58448; }
.cal-s-automne .cal-foret-sapin { fill: #8db793; stroke: #2f6b45; }
.cal-s-hiver .cal-foret { fill: #bfcfc8; stroke: #6f8a80; } .cal-s-hiver .cal-foret-sapin { fill: #8fb39a; }
.cal-neige-oui .cal-foret { fill: #f3f7fa; stroke: #7fa7c2; } .cal-neige-oui .cal-foret-sapin { fill: #dfeae4; stroke: #5d8a74; }
.cal-tronc { fill: none; stroke: #6b5038; stroke-width: 2; stroke-linecap: round; }
.cal-dessin .cal-champ { fill: #eadba7; } .cal-s-printemps .cal-champ, .cal-s-hiver .cal-champ { fill: #dbe9c9; } .cal-s-automne .cal-champ { fill: #e6cf97; }
.cal-neige-oui .cal-champ { fill: #fff; stroke: #a9c8dc; }
.cal-sillon { fill: none; stroke: #c9b57a; stroke-width: 1; } .cal-neige-oui .cal-sillon { stroke: #c9dceb; }
.cal-vigne { fill: none; stroke: #5c8f3e; stroke-width: 2.2; stroke-linecap: round; }
.cal-s-automne .cal-vigne { stroke: #c9822e; } .cal-s-hiver .cal-vigne { stroke: #8a7660; stroke-width: 1.4; } .cal-neige-oui .cal-vigne { stroke: #8a7660; }
.cal-dessin .cal-vigne-sol { fill: #d9e8c3; } .cal-s-automne .cal-vigne-sol { fill: #efdcae; } .cal-s-hiver .cal-vigne-sol { fill: #e6e1d6; }
.cal-dessin .cal-pave { fill: #ebe5d8; } .cal-neige-oui .cal-pave { fill: #fff; }
.cal-bati.cal-bois { fill: #f3e6cf; }
.cal-tuile-c { fill: #2f7d6b; }

.cal-dessin .cal-pierre { fill: #f6f1e6; stroke: var(--global-palette1, #026e9f); stroke-width: 1.8; stroke-linejoin: round; }
.cal-toit-tuile { fill: #e3a487; stroke: var(--global-palette1, #026e9f); stroke-width: 1.8; stroke-linejoin: round; }
.cal-strate { fill: none; stroke: #9fb1bd; stroke-width: 1.3; stroke-linecap: round; }
.cal-s-ete .cal-strate, .cal-s-automne .cal-strate { stroke: #b9ab90; }
/* Défi du jour */
.csirt-calendrier .cal-defi { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.5rem; align-items: center; margin: 0 0 1.25rem; padding: 1rem 1.25rem; background: var(--global-palette9); border: 1px solid var(--global-palette7); border-left: 6px solid var(--global-palette1); }
.csirt-calendrier .cal-defi p { margin: 0; }
.csirt-calendrier p.cal-defi-date { font-size: .9rem; font-weight: 600; color: var(--global-palette1); }
.csirt-calendrier p.cal-defi-titre { display: flex; align-items: center; gap: .6rem; font-size: 1.3rem; font-weight: 700; color: var(--global-palette3); line-height: 1.3; }
.cal-defi-titre .cal-num { display: grid; place-items: center; flex: none; width: 2.2rem; height: 2.2rem; background: var(--global-palette1); color: #fff; font-size: 1.05rem; }
.csirt-calendrier p.cal-defi-meta { font-size: .92rem; color: var(--global-palette5); }
.csirt-calendrier p.cal-defi-action { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.cal-defi-etat { font-size: .85rem; font-weight: 700; color: var(--global-palette1); }
.cal-defi-attente { grid-template-columns: 1fr; }
/* Cases : type et durée, réussie (lettre gagnée), tentée (à rejouer) */
.cal-case .cal-meta { font-size: .75rem; color: var(--global-palette5); line-height: 1.3; margin-top: auto; }
.cal-case .cal-etat { position: absolute; top: .55rem; right: .55rem; font-size: .78rem; font-weight: 700; padding: 0 .35rem; line-height: 1.5; }
.cal-case.cal-reussie { background: #eef5fa; border-bottom-color: var(--global-palette1); }
.cal-case.cal-reussie .cal-etat { color: #fff; background: var(--global-palette1); }
.cal-case.cal-tentee { border-style: dashed; }
.cal-case.cal-tentee .cal-etat { color: var(--global-palette1); border: 1px dashed currentColor; }
.cal-etat-court { display: none; }
@media (max-width: 700px) { .cal-grille > li:not(.cal-li-jour) .cal-etat-court { display: inline; } }
.cal-case.cal-aujourdhui { background: var(--global-palette1); color: #fff; }
.cal-case.cal-aujourdhui .cal-num { background: #fff; color: var(--global-palette1); }
.cal-case.cal-aujourdhui .cal-meta { color: #d5e6f0; }
.cal-case.cal-aujourdhui::after { color: #fff; }
.cal-case.cal-aujourdhui:hover:not(:disabled), .cal-case.cal-aujourdhui[aria-expanded="true"] { background: #025a82; }
/* Survol, focus, toucher : le thème passe le texte des boutons en blanc ; couleurs de la case conservées. */
.csirt-calendrier .cal-case:is(:hover, :focus, :active) { color: var(--global-palette3); }
.csirt-calendrier .cal-case.cal-aujourdhui:is(:hover, :focus, :active) { color: #fff; }
.csirt-calendrier .cal-case:disabled:is(:hover, :focus, :active) { color: var(--global-palette5); background: var(--global-palette8); }
.csirt-calendrier .cal-case.cal-reussie:is(:hover, :focus, :active):not(.cal-aujourdhui) { background: #e2eef6; }
.cal-case.cal-aujourdhui .cal-etat { top: auto; bottom: .55rem; }
.cal-case.cal-reussie.cal-aujourdhui .cal-etat { background: #fff; color: var(--global-palette1); }
.cal-case:disabled .cal-titre { font-weight: 400; }
/* Code du 24 et aperçu du diplôme */
.csirt-calendrier .cal-code { display: grid; grid-template-columns: 1fr 15rem; gap: 1.5rem; align-items: center; margin: 0 0 1.5rem; padding: 1.25rem; border: 1px solid var(--global-palette7); border-top: 4px solid var(--global-palette1); background: var(--global-palette9); }
.csirt-calendrier .cal-code h2 { font-size: 1.2rem; margin: 0 0 .3rem; }
.csirt-calendrier .cal-code p { margin: 0 0 .6rem; font-size: .95rem; }
.csirt-calendrier ol.cal-code-lettres { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(1.9rem, 1fr)); gap: 4px; margin: 0 0 .5rem; padding: 0; }
.cal-code-lettres li { display: grid; place-items: center; height: 2.2rem; margin: 0; border: 1px dashed #b8c2cc; background: #f6f8fa; font-weight: 700; font-size: 1.1rem; }
.cal-code-lettres li.cal-code-gagnee { border: 1px solid var(--global-palette1); background: var(--global-palette1); color: #fff; }
.csirt-calendrier p.cal-code-compte { margin: 0; font-size: .88rem; color: var(--global-palette5); }
.cal-code-diplome { display: grid; gap: .2rem; justify-items: center; text-align: center; padding: 1rem .75rem; border: 3px double var(--global-palette1); background: #fff; transform: rotate(-2deg); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.cal-diplome-titre { font-weight: 700; color: var(--global-palette1); }
.cal-diplome-annee { font-size: .8rem; color: var(--global-palette5); }
.cal-diplome-nom { margin: .4rem 0; padding: 0 1.5rem .1rem; border-bottom: 1px solid var(--global-palette6); font-style: italic; color: var(--global-palette5); }
.cal-diplome-csirt { font-size: .72rem; color: var(--global-palette5); }
/* Révélation du jour */
.cal-revelation { position: fixed; inset: 0; z-index: 100001; display: grid; place-items: center; padding: 1rem; background: rgba(6, 34, 54, 0); transition: background .3s; }
.cal-revelation.cal-revelation-ouverte { background: rgba(6, 34, 54, .72); }
.cal-revelation.cal-revelation-fin { background: rgba(6, 34, 54, 0); }
.cal-revelation-carte { display: grid; justify-items: center; gap: .9rem; text-align: center; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; }
.cal-revelation-ouverte .cal-revelation-carte { opacity: 1; transform: none; }
.cal-revelation-fin .cal-revelation-carte { opacity: 0; }
.cal-revelation p.cal-revelation-sur { margin: 0; color: #fff; font-size: 1.2rem; font-weight: 600; }
.cal-revelation p.cal-revelation-aide { margin: 0; color: #d5e6f0; font-size: .95rem; }
.cal-revelation button.cal-revelation-num { position: relative; display: grid; place-items: center; align-content: center; gap: .4rem; width: min(16rem, 70vw); aspect-ratio: 1; padding: 1rem; border: 0; border-radius: 0; background: #fff; color: var(--global-palette1); font: inherit; cursor: pointer; perspective: 900px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.cal-revelation button.cal-revelation-num:hover, .cal-revelation button.cal-revelation-num:focus { background: #fff; color: var(--global-palette1); }
.cal-revelation button.cal-revelation-num:focus-visible { outline: 3px solid #f0a400; outline-offset: 4px; }
.cal-revelation-chiffre { font-size: clamp(5rem, 22vw, 8rem); font-weight: 800; line-height: 1; }
.cal-revelation-texte { font-size: 1rem; font-weight: 600; color: var(--global-palette3); line-height: 1.3; }
/* Porte qui s'ouvre sur le numéro */
.cal-revelation-porte { position: absolute; inset: 0; z-index: 1; background: var(--global-palette1); border: 6px solid #fff; outline: 1px solid var(--global-palette1); transform-origin: left center; transition: transform .9s .35s cubic-bezier(.2, .7, .2, 1); }
.cal-revelation-porte::after { content: ""; position: absolute; right: 14%; top: 50%; width: .7rem; height: .7rem; border-radius: 50%; background: #fff; }
.cal-revelation-ouverte .cal-revelation-porte { transform: rotateY(-105deg); }
.cal-revelation button.cal-revelation-plus-tard { border: 1px solid #fff; background: transparent; color: #fff; font: inherit; padding: .45rem 1.1rem; border-radius: 0; cursor: pointer; }
.cal-revelation button.cal-revelation-plus-tard:hover, .cal-revelation button.cal-revelation-plus-tard:focus { background: rgba(255, 255, 255, .15); color: #fff; }
@media (prefers-reduced-motion: reduce) {
	.cal-revelation, .cal-revelation-carte, .cal-revelation-porte { transition: none; }
	.cal-revelation-porte { display: none; }
}
@media (max-width: 700px) {
	/* Téléphone : case du jour en pleine largeur en tête, puis 4 colonnes de numéros. */
	.cal-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cal-grille > li.cal-li-jour { grid-column: 1 / -1; order: -1; }
	.cal-grille > li:not(.cal-li-jour) .cal-case { min-height: 3.6rem; align-items: center; justify-content: center; padding: .4rem; }
	.cal-grille > li:not(.cal-li-jour) .cal-titre, .cal-grille > li:not(.cal-li-jour) .cal-meta { display: none; }
	.cal-grille > li:not(.cal-li-jour) .cal-etat { top: 2px; right: 2px; padding: 0 .2rem; font-size: .66rem; line-height: 1.4; }
	.cal-grille > li:not(.cal-li-jour) .cal-etat-long { display: none; }
	.cal-grille > li.cal-li-jour .cal-case { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; }
	.cal-grille > li.cal-li-jour .cal-titre { flex: 1; font-size: .95rem; -webkit-line-clamp: 3; }
	.cal-grille > li.cal-li-jour .cal-meta { flex-basis: 100%; margin: 0; }
	.csirt-calendrier .cal-defi { grid-template-columns: 1fr; }
	.csirt-calendrier p.cal-defi-action { grid-column: auto; grid-row: auto; flex-direction: row; align-items: center; }
	.csirt-calendrier .cal-code { grid-template-columns: 1fr; }
	.cal-code-diplome { max-width: 15rem; justify-self: center; }
}
@media print { .cal-decor, .cal-defi, .cal-code, .cal-revelation { display: none !important; } }
