/* ========== VARIABLES CSS ========== */
:root {
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}
:focus:not(:focus-visible) {
    outline: none;
}
@font-face{
	font-family: sans-serif;
}
body {
	margin: 0;
	padding:0;
	list-style:none;
	font-family: "Arial";
	font-size:12px;
	background:#FFFFFF url(../_pics/fond.jpg?v=1792475384) no-repeat center center fixed;
	background-size: cover;
}
h5 {
	font-size:16px;
	font-family: "Arial";
	color: #000000;
	padding: 0px;
	margin: 0px;
}


/* New Design */
h1 {
	font-family: arial;
	font-size: 22px;
	font-weight: bold;
	color: #506167;
	padding: 0px;
	margin: 0px;
	vertical-align:middle;
}
h2 {
	font-size:25px;
	font-weight:bold;
	color: #5C3596;
	padding: 0px;
	margin: 0px;
}
h3 {
	font-size:16px;
	color: #506167;
	padding: 0px;
	margin: 0px;
	font-weight:bold;
}
h4 {
	font-size:14px;
	color: #506167;
	font-weight:bold;
}
td {
	padding: 0 10px 0 10px;
}
/* Login / Mot de passe oubli� / Changement de mot de passe / Double authentification */
@keyframes login-appear {
	from { opacity: 0; transform: translateY(30px); }
	to   { opacity: 1; transform: translateY(0);    }
}
/*
 * Conteneur des mires : occupe la hauteur de la fenêtre moins le pied de page fixe.
 * Le centrage vertical est confié à `margin: auto` sur l'enfant flex plutôt qu'à
 * `align-items: center` : quand la mire est plus haute que la fenêtre (petits écrans,
 * clavier virtuel ouvert), elle déborde vers le bas et reste atteignable au défilement,
 * au lieu d'être rognée par le haut.
 */
.auth-wrap {
	display: flex;
	min-height: calc(100vh - 40px);
	box-sizing: border-box;
}
/* Mire intégrée à une page (changement de mot de passe depuis l'application, common/Pwd.php) :
   pas de pleine hauteur, sinon le bloc dépasse #accueil et fait apparaître un ascenseur. */
#accueil .auth-wrap {
	min-height: 0;
}
#accueil #authentification {
	margin: 30px auto;
}
#authentification {
	margin: auto;
	width: min(360px, calc(100vw - 20px));
	height: auto;
	border:1px groove #DFE6F0;
	color: #A85BA3;
	background: #DFE6F0 url(pics/logo_login.jpg) no-repeat center top;
	padding: 8px;
	border-radius: 10px;
	box-sizing: border-box;
	will-change: transform, opacity;
	animation: login-appear 0.9s ease-out both;
}
@media (max-width: 768px) {
	/* Le logo de la société est en absolu en haut à gauche (10px + 105px de haut) :
	   on réserve la bande correspondante pour que la mire, une fois centrée, ne passe
	   pas dessous. Le centrage s'opère alors dans la hauteur restante. */
	.auth-wrap {
		padding-top: 125px;
	}
}
#authentification a {
	text-decoration:none;
	color:#A85BA3;
}
/* Logos des mires (logo_login.png 251x123, logo.png 200x200) : ramenés à ~80%,
   à l'échelle de la mire réduite. */
#authentification > div > img {
	max-width: 200px;
	max-height: 160px;
	height: auto;
}
#authentification a:hover {
	color:#A85BA3;
}
#authentification .login, .pwd, .mail, .newpwd, .repwd, .verif, .profil {
	width: 90%;
	border:2px groove #506167;
	color: #A85BA3;
	background: #FEF7F1;
	border-radius: 8px;
	padding: 8px;
    position: relative;
	height: 66px;
}
#authentification legend {
	padding: 0 5px;
	margin-bottom: -1px;
	color: #506167;
	font-size: 16px;
	text-decoration:none;
    border-bottom: none;
    display: inline-block;
	text-align: left;
}
.login::before {
    content: "";
    position: absolute;
    top: -12px;
    left: var(--before-left, 126px);
    right: 8px;
    height: 2px;
    background: #506167;
}
.pwd::before {
    content: "";
    position: absolute;
    top: -12px;
    left: var(--before-left, 146px);
    right: 8px;
    height: 2px;
    background: #506167;
}
.newpwd::before {
    content: "";
    position: absolute;
    top: -12px;
    left: var(--before-left, 190px);
    right: 8px;
    height: 2px;
    background: #506167;
}
.repwd::before {
    content: "";
    position: absolute;
    top: -12px;
    left: var(--before-left, 138px);
    right: 8px;
    height: 2px;
    background: #506167;
}
.verif::before {
    content: "";
    position: absolute;
    top: -12px;
    left: var(--before-left, 170px);
    right: 8px;
    height: 2px;
    background: #506167;
}
.mail::before {
    content: "";
    position: absolute;
    top: -12px;
    left: var(--before-left, 174px);
    right: 8px;
    height: 2px;
    background: #506167;
}
.profil::before {
    content: "";
    position: absolute;
    top: -12px;
    left: var(--before-left, 90px);
    right: 8px;
    height: 2px;
    background: #506167;
}
#authentification .profil select {
	margin-top: -5px;
	border:0px #FEF7F1;
	color: #A85BA3;
	background: #FEF7F1;
	width: 98%;
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}
#authentification .profil select:focus {
    outline: none;
    border: none;
}
#authentification .login input {
	margin-top: -5px;
	border:0px #FEF7F1;
	color: #A85BA3;
	background: #FEF7F1;
	width: 98%;
	font-size: 16px;
}
#authentification .pwd input {
	margin-top: -4px;
	border:0px #FEF7F1;
	color: #A85BA3;
	background: #FEF7F1;
	width: calc(100% - 40px);
	max-width: 300px;
	font-size: 16px;
}
#authentification .newpwd input {
	margin-top: -4px;
	border:0px #FEF7F1;
	color: #A85BA3;
	background: #FEF7F1;
	width: calc(100% - 76px);
	max-width: 250px;
	font-size: 16px;
}
#authentification .repwd input {
	margin-top: -4px;
	border:0px #FEF7F1;
	color: #A85BA3;
	background: #FEF7F1;
	width: calc(100% - 76px);
	max-width: 250px;
	font-size: 16px;
}
/* Indicateur de robustesse / concordance (croix ou coche) : dans le cadre, entre le champ et
   l'œil. En flottant après le champ, il débordait du cadre de hauteur fixe sur le suivant. */
#authentification .newpwd > div,
#authentification .repwd > div {
	position: relative;
}
#authentification .indicateur {
	position: absolute;
	top: 50%;
	right: 32px;
	transform: translateY(-50%);
	line-height: 0;
}
#authentification .verif input {
	margin-top: -4px;
	border:0px #FEF7F1;
	color: #A85BA3;
	background: #FEF7F1;
	width: calc(100% - 10px);
	max-width: 300px;
	font-size: 16px;
}
#authentification .mail input {
	margin-top: -5px;
	border:0px #FEF7F1;
	color: #A85BA3;
	background: #FEF7F1;
	width: calc(100% - 10px);
	max-width: 300px;
	font-size: 16px;
}
#authentification .login input:focus {
    outline: none;
    border: none;
}
#authentification .pwd input:focus {
    outline: none;
    border: none;
}
#authentification .newpwd input:focus {
    outline: none;
    border: none;
}
#authentification .repwd input:focus {
    outline: none;
    border: none;
}
#authentification .mail input:focus {
    outline: none;
    border: none;
}
#authentification .verif input:focus {
    outline: none;
    border: none;
}
.liste {
	padding-left: 25px;
}
#authentification .submit {
	margin: 10px 0 6px 0;
	font-size: 18px;
	width: 90%;
	padding: 9px;
	border:0px #A85BA3;
	color: #5C3596;
	background: #A85BA3;
	border-radius: 8px;
}
#authentification .oublie {
	margin: 0 20px 0 0;
	color: #A85BA3;
	font-size: 14px;
	text-align: right;
}
#authentification .eye {
	cursor: pointer;
	width: 27px;
	height: 33px;
	fill: #A85BA3;
}
/* End Login / Mot de passe oubli� / Changement de mot de passe / Double authentification */
/* Menu */
#menu{
    position: fixed;
    top: 0;
    left: 0;
	height: 100vh;
	width: 360px;
	padding: 10px 0 0 0;
    color: #506167;
	background: #DFE6F0;
	border-right: 1px solid #506167;
	font-size: 15px;
	opacity:1;
	filter: alpha(opacity=100);
}
#menu .mtitre {
	margin: 15px 0 15px 0;
	text-align: center;
	height: 85px;
	border-bottom: 1px solid #506167;
}
#menu p {
	margin: 10px 0 10px 10px;
    flex: 1;
    animation: fadeInLeft 0.5s ease 0.2s backwards;
	color: #424345;
}	
#menu .rubrique_slct {
	width: 100%;
	border-left: 3px solid #A85BA3;
	color: #506167;
	background: #FEF7F1;
	padding: 5px 0px 5px 25px;
    animation: fadeInLeft 0.8s ease 0.5s backwards;
}
#menu .rubrique_slct:hover::before {
    left: 100%;
}

#menu .rubrique_slct:hover {
	width: 100%;
	border-left: 3px solid #A85BA3;
	color: #506167;
	padding: 5px 0px 5px 35px;
	background-color: rgba(0, 191, 165, 0.05);
    transform: translateX(5px);
}

#menu .rubrique {
	width: 100%;
	border:0px;
	color: #506167;
	padding: 5px 0px 5px 25px;
    flex: 1;
    animation: fadeInLeft 0.7s ease 0.3s backwards;
}
#menu .rubrique:hover::before {
    left: 100%;
}

#menu .rubrique:hover {
	width: 100%;
	border-left: 3px solid #A85BA3;
	color: #506167;
	padding: 5px 0px 5px 35px;
    background-color: rgba(0, 191, 165, 0.05);
    transform: translateX(5px);
}

.sousmenu {
	overflow: hidden;
}

#menu .srubrique_slct {
	width: 100%;
	border-left: 3px solid #A85BA3;
	color: #506167;
	background: #FEF7F1;
	padding: 5px 0px 5px 60px;
    animation: fadeInLeft 0.8s ease 0.5s backwards;
}
#menu .srubrique_slct:hover::before {
    left: 100%;
}

#menu .srubrique_slct:hover {
	width: 100%;
	border-left: 3px solid #A85BA3;
	color: #506167;
	padding: 5px 0px 5px 70px;
	background-color: rgba(0, 191, 165, 0.05);
    transform: translateX(5px);
}

#menu .srubrique {
	width: 100%;
	border:0px;
	color: #506167;
	padding: 5px 0px 5px 60px;
    flex: 1;
    animation: fadeInLeft 0.7s ease 0.3s backwards;
}
#menu .srubrique:hover::before {
    left: 100%;
}

#menu .srubrique:hover {
	width: 100%;
	border-left: 3px solid #A85BA3;
	color: #506167;
	padding: 5px 0px 5px 70px;
    background-color: rgba(0, 191, 165, 0.05);
    transform: translateX(5px);
}

#menu .smenu {
	margin: 0 0 10px 30px;
    flex: 1;
    animation: fadeInLeft 0.7s ease 0.3s backwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#menu .arrow {
	fill: #424345;
	width: 15px;
	height: 15px;
}
#menu .puce, .puce2 {
	margin: 0 10px 0 0;
	fill: #A85BA3;
}
#menu .puce {
	width: 15px;
	height: 15px;
}
#menu .puce2, .puce3, .exit {
	width: 25px;
	height: 25px;
}
#menu .puce3 {
	fill: #A85BA3;
	margin-top: -7px;
}
#menu .puce4 {
	margin: 0 10px 0 0;
	width: 15px;
	height: 15px;
}
#menu a {
	text-decoration:none;
	color:#506167;
}
#menu a:hover {
	color:#A85BA3;
	cursor: pointer;
}
#ctncompte {
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 350px;
	padding: 10px;
	background: #DFE6F0;
	height: 95px;
}
#compte {
	border-radius: 50px 10px 10px 50px;
	-moz-border-radius: 50px 10px 10px 50px;
	-webkit-border-radius: 50px 10px 10px 50px;;
	-html-border-radius: 50px 10px 10px 50px;
	width: 100%;
	height: 75px;
	border:0px;
	background: #FEF7F1;
}
.compte_photo {
	left: 15px;
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	-html-border-radius: 50%;
	width: 75px;
	height: 75px;
	object-fit: cover;
	object-position: top;
}
#compte .nom {
	position: absolute;
	left: 110px;
	bottom: 60px;
	color: #A85BA3;
	font-size: 15px;
}
#compte .moncompte, .deconnexion {
	position:absolute;
	bottom: 20px;
	border-radius: 5px;
	width: 100px;
	height: 29px;
	text-align: center;
	padding-top: 6px;
}
#compte .moncompte a {
	color: #5C3596;
	text-decoration: none;
}
#compte .deconnexion a {
	color: #5C3596;
	text-decoration: none;
}
#compte .moncompte {
	background: #C3C9D1;
	left: 105px;
}
#compte .deconnexion {
	background: #FF6A6A;
	left: 225px;
}
/* End Menu */
/* Content */
#content {
	position:absolute;
	top: 20px;
	right: 0px;
	bottom: 0px;
	left: 360px;
	padding: 0px 0px 0px 20px;
}
#content p {
	font-size: 15px;
}
#content a {
	font-size: 15px;
	color: #A85BA3;
	text-decoration: none;
}
.bloc {
	position: absolute;
	top: 40px;
	right: 20px;
	left: 20px;
	bottom: 20px;
	opacity: 0.90;
	filter: alpha(opacity=90);
	background: #DFE6F0;
	color: #506167;
	overflow: auto;
	padding:15px;
	border-collapse: separate;
    border-spacing: 0;
    border-radius: 20px;
}
.bloc table a {
	color: #A85BA3;
	text-decoration: none;
}
.bloc table a:hover {
	color: #A85BA3;
}
.bloc::-webkit-scrollbar {
  width: 8px; /* Largeur de la barre verticale */
  height: 8px; /* Hauteur de la barre horizontale */
}
.tableau {
	width: 1100px;
}
/* Couleur du fond de la barre */
.bloc::-webkit-scrollbar-track {
  background: #DFE6F0;
  border-radius: 6px;
}

/* Couleur de la barre de d�filement */
.bloc::-webkit-scrollbar-thumb {
  background: #424345;
  border-radius: 6px;
}

/* Changement de couleur au survol */
.bloc::-webkit-scrollbar-thumb:hover {
  background: #A85BA3;
}
.champ {
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	-html-border-radius: 10px;
	padding-top: 3px;
	color: #A85BA3;
	border: 2px solid #A85BA3;
	background: #FEF7F1;
	width: 200px;
	font-size: 20px;
}
.champ:focus {
	border: 2px solid #A85BA3;
}
.valider {
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	-html-border-radius: 10px;
	text-align: center;
	padding-top: 3px;
	color: #A85BA3;
	background: #FEF7F1;
	width: 200px;
	font-size: 20px;
}
.valider:hover {
	background: #A85BA3;
	color: #FEF7F1;
}
input {
	margin : 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color: #A85BA3;
	background: #FEF7F1;
	border: 2px solid #A85BA3;
}
button {
	margin : 5px;
	border-radius: 5px;
	color: #A85BA3;
	background: #FEF7F1;
	border: 2px solid #A85BA3;
}
select {
	margin : 5px;
	border-radius: 5px;
	color: #A85BA3;
	background: #FEF7F1;
	border: 2px solid #A85BA3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#service {
	overflow: auto;
}
#partenaire, #projet {
	min-width: 200px;
}
textarea {
	margin : 5px;
	border-radius: 5px;
	color: #A85BA3;
	border: 2px solid #A85BA3;
	background: #FEF7F1;
}
.centered-div {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.centre {
	width:100%;
	text-align:center;
}
.red {
	color: #FF6A6A;
	font-size: 14px;
	font-weight: bold;
}
.picto {
	float: right;
	width: 60px;
	height: 60px;
	fill: #A85BA3;
	opacity:0.35;
	filter: alpha(opacity=35);
}
.picto2 {
	float: right;
	width: 60px;
	height: 60px;
	opacity:0.35;
	filter: alpha(opacity=35);
}
#account {
	width: 200px;
	margin-left: 20px;
}
.pair {
	background:#C3C9D1;
	color: #506167;
}
.impair {
	background:#424345;
	color: #506167;
}
.entete_clair {
	color: #A85BA3;
	background:#FEF7F1;
	font-weight:bold;
	border-color: #FEF7F1;
	font-size: 14px;
}
.entete_clair a {
	color: #A85BA3;
}
.entete_clair a:hover {
	color: #A85BA3;
	border-bottom:1px dashed #506167;
}
.entete_clair button {
	background: #FEF7F1;
	border: 0;
}
.salarie {
	background:#FEF7F1;
	padding-left: 5px;
	font-size: 12px;
}
.salarie a {
	text-decoration: none;
	color: #506167;
	font-size: 12px;
}
.TableArrondie {
	border-collapse: separate;
    border-spacing: 0;
    border-radius: 20px;
    overflow: hidden;
}
.TableLarge	{
	width: 100%;
}
.TLR {
	border-collapse: separate;
    border-spacing: 0;
    border-top-left-radius: 20px;
    overflow: hidden;
}
.select_logo {
	border: 1px solid #A85BA3;
	border-radius: 8px;
}
.visu {
	border-left: 1px dashed #506167;
	text-align: center;
}
.visu_haut {
	border-top: 1px solid #506167;
}
.gauche {
	float:left;
}
.droite {
	float:right;
}
.rmenu {
	position: absolute;
	right: 10px;
	top: 190px;
	z-index: 99;
}
.photo {
	position: absolute;
	left: 70%;
	top: 200px;
}
.icon {
	width: 20px;
	height: 20px;
	fill: #506167;
}
.temps {
	width:60px;
}

.fond {
	background-color: #FFFFFF;
}
.selection {
	width: 200px;
}
/* Menu support */
.aide {
	float: right;
	margin-right: 25px;
	font-size: 20px;
	color: #424345;
	font-weight: bold;
}
.aide a {
	color: #424345 !important;
	text-decoration: none;
}
.icon_aide {
	width: 35px;
	height: 35px;
	fill: #424345;
	float: right;
	margin-left: 10px;
}
#menu_aide {
	position: absolute;
	top: 35px;
	right: 15px;
	font-size: 16px;
	width: 200px;
	height: auto; /* s'adapte au contenu : notice d'utilisation, entrées du portail */
	padding: 10px;
	background: #FEF7F1 !important;
	color: #A85BA3 !important;
	opacity:1;
	filter: alpha(opacity=100);
	z-index: 999;
	display: none;
    border-radius: 10px;
}
#menu_aide a {
	font-size: 14px;
}
/* Fin menu support */
/* Page d'accueil */
.planning, .events, .news, .main_profile, .personal_profile, .hr_profile, .projets {
	position: absolute;
	background: #DFE6F0;
	color: #506167;
	padding: 20px;	
	height:46%;
	border-collapse: separate;
    border-spacing: 0;
    border-radius: 20px;
	overflow: auto;
}
.planning {
	top: 40px;
	left: 20px;
	width:48%;
}
.taches {
	position: absolute;
	top: 40px;
	left: 20px;
	bottom: 20px;
	background: #DFE6F0;
	color: #506167;
	padding: 20px;	
	border-collapse: separate;
    border-spacing: 0;
    border-radius: 20px;
	overflow: auto;
	width:48%;
}
.projets {
	right: 20px;
	bottom: 20px;
	width:48%;
}
.events {
	top: 40px;
	right: 20px;
	width: 48%;
}
.news {
	bottom: 20px;
	left: 20px;
	right: 20px;
}
/* Tableaux de bord en cartes (TeamReceipt, TrackALead, BookARoom, DevUrBiz) : les actualités
   forment une carte (GetNews(..., $carte = true)) compacte en haut du contenu. L'aspect de la
   carte vient de .card ; ces règles ne font que resserrer le carrousel. */
.news-carte .slideshow { height: auto; }
.news-carte .newsdisplay {
	height: 150px;
	padding: 0 40px 20px 40px;
	font-size: 0.9em;
}
.news-carte .zone { padding: 5px 10px; }
.news-carte .zone img { max-height: 120px; margin: 0 auto; }
.news-carte .zone p { margin: 0 0 4px 0; }
.news-carte .zone br { display: none; }
.news-carte .zone font[size="5"] { font-size: 1.15em; }
.news-carte .carousel-indicators { bottom: 0; margin-bottom: 0; }
/* Points blancs de Bootstrap invisibles sur le fond blanc de la carte */
.news-carte .carousel-indicators li { border-color: #86888C; }
.news-carte .carousel-indicators .active {
	background-color: #A85BA3;
	border-color: #A85BA3;
}
.textcolor {
	color: #A85BA3;
}
.service {
	color: #424345;
}
.calendar {
	padding: 3px 0 0 5px;
	vertical-align: top;
	color: #5C3596;
}
/* End page d'accueil */
.events::-webkit-scrollbar,.planning::-webkit-scrollbar,.zone::-webkit-scrollbar {
  width: 8px; /* Largeur de la barre verticale */
  height: 8px; /* Hauteur de la barre horizontale */
}
/* Couleur du fond de la barre */
.events::-webkit-scrollbar-track,.planning::-webkit-scrollbar-track,.zone::-webkit-scrollbar {
  background: #DFE6F0;
  border-radius: 4px;
}

/* Couleur de la barre de d�filement */
.events::-webkit-scrollbar-thumb,.planning::-webkit-scrollbar-thumb,.zone::-webkit-scrollbar {
  background: #424345;
  border-radius: 4px;
}

/* Changement de couleur au survol */
.events::-webkit-scrollbar-thumb:hover,.planning::-webkit-scrollbar-thumb:hover,.zone::-webkit-scrollbar {
  background: #A85BA3;
}
.slideshow {
	width: 100%;
	height: 319px;
}
.nav {
	fill: #506167;
	height: 22px;
	width: 20px;
}
.theme {
	margin: 13px 0 8px 0;
	font-size: 24px;
	width: 250px;
	padding: 12px;
	border:0px #A85BA3;
	color: #506167;
	background: #A85BA3;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8pxx;
	-html-border-radius: 8px;
	border-radius: 8px;
}
.bloc .puce, .puce4 {
	margin: 0 2px 0 0;
	width: 15px;
	height: 15px;
}
.bloc .puce {
	fill: #A85BA3;
}
.bloc .supprime {
	margin: 0 0 0 5px;
	width: 20px;
	height: 20px;
	fill: #FF6A6A;
}
.horaires {
	font-size: 20px;
}
.extension {
	margin: 0 2px 0 0;
	width: 30px;
	height: 30px;
	fill: #506167;
}
/* End Content */
/* Annuaire */
.site {
	width: 450px;
	border:2px groove #506167;
	color: #506167;
	background: #FEF7F1;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-html-border-radius: 8px;
	border-radius: 8px;
	padding: 10px;
    position: relative;
}
.site-legend {
	padding: 0 5px;
	margin-bottom: -1px;
	color: #506167;
	font-size: 20px;
	text-decoration:none;
    border-bottom: none;
    display: inline-block;
	text-align: left;
}
.site-legend a {
	color: #506167 !important;
	font-size: 20px !important;
	text-decoration:none !important;
	text-align: left !important;
}
.site::before {
    content: "";
    position: absolute;
    top: -15px;
    left: var(--before-left, 150px);
    right: 8px;
	height: 2px;
    background: #506167;
}
.Personne {
	margin:0 5px;
	background:#FEF7F1;
	max-width: 450px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-html-border-radius: 8px;
	border-radius: 8px;
}
.Personne legend {
	font-family: "Arial";
	margin-left: 15px;
	text-decoration: none;
	color: #506167;
	border-bottom: none;
	text-align: left;
}
.directory_pic {
	width: 87px;
	height: auto;
	float: right;
	margin: 0 7px 7px 0;
	-moz-border-radius: 8px 0 8px 0;
	-webkit-border-radius: 8px 0 8px 0;
	-html-border-radius: 8px 0 8px 0;
	border-radius: 8px 0 8px 0;
}
/* End annuaire */
/* Page "Mon compte" */
.pic_profile {
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	-html-border-radius: 50%;
	width: 214px;
	height: 214px;
	object-fit: cover;
	object-position: top;
}
.main_profile {
	top: 40px;
	left: 20px;
	right: 20px;
}
.personal_profile {
	bottom: 20px;
	left: 20px;
	width:48%;	
}
.hr_profile {
	bottom: 20px;
	right: 20px;
	width:48%;		
}
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -border-radius: 4px;
    height: 16px;
    width: 16px;
	border: 2px solid #506167;
}
input[type="checkbox"]:checked {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -border-radius: 4px;
    height: 16px;
    width: 16px;
	background-color: #5CA959;
}
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
	border-radius: 50%;
    height: 16px;
    width: 16px;
	border: 2px solid #506167;
}
input[type="radio"]:checked {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
	border-radius: 50%;
    height: 16px;
    width: 16px;
	background-color: #5CA959;
}
.important {
	color: #FF6A6A;
}

/* End page "Mon compte" */
/* End new design */



.entete_annuaire {
	background-color: #FEF7F1;
	background: linear-gradient(90deg,#FEF7F1,#86888C);
}
#upperDiv:after {
	content: \"\";
	display: table;
	clear: both;
}
#loader {
	display: none;
	background-color: #506167;
	position: absolute;
	width: 100%;
	height: 100%;
	margin-top: 200px;
	text-align: center;
}
.ong_selected {
	height: 70px;
	color: #506167; 
	background-color: #FEF7F1;
	font-size:16px;
	font-weight:bold;
	border-style: none;
}
.ong_unselected {
	height: 70px;
	color: #506167; 
	background-color: #86888C;
	font-size:16px;
	font-weight:bold;
	border-top-style: solid;
	border-left-style: solid;
	border-right-style: none;
	border-bottom-style: none;
	margin-right: 5px;
}
.ong_unselected:hover {
	color: #506167; 
	background-color: #FF6A6A;
}
.small {
	font-size: 11px;
}
.big {
	font-size: 14px;
}
.bigger {
	font-size: 16px;
	font-weight: bold;
}
.gradient {
  background-color: transparent;
  background-image: #506167;
  background-repeat: repeat;
  background-attachment: scroll;
  background-position: 0% 0%;
  background-clip: border-box;
  background-origin: padding-box;
  background-size: auto auto;
}
#mcenter {
	width: 98%;
	background-color: transparent;
	background-image: #506167;
	background-repeat: repeat;
	background-attachment: scroll;
	background-position: 0% 0%;
	background-clip: border-box;
	background-origin: padding-box;
	background-size: auto auto;
}
#mcenter:after {
	content: "";
	display: table;
	clear: both;
}
.bordure {
	border: 1px solid #FEF7F1;
	border-radius: 15px;
}
#incrust {
	position: absolute;
	right: 30px;
	top: -110px;
	border: 3px outset gray;
	width: 300px;
	height: 150px;
	background: #000000;
	color: #FEF7F1;
}
.nombre {
	width: 8em;
}
#urgent {
	animation: Alert 1s infinite;
}
@keyframes Alert{
    0%{opacity: 1;}
    50%{opacity: 0;}
    100%{opacity: 1;}
}
.vertical {
  writing-mode: vertical-lr;
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: vertical-lr;
}
.vignette {
	display: inline-block;
	width: 200px;
	height: 272px;
}
.fullscreen {
	background-color: #DFE6F0;
}
.popup {
	background-color: #C3C9D1;
	border: 1px solid #DFE6F0;
	margin: 150px auto;
	width: 600px;
	z-index: 999;
	opacity: 1;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-html-border-radius: 6px;
	border-radius: 6px;
}
.entete_popup {
	color: #DFE6F0;
	background:#F2BC00;
	font-weight:bold;
	margin: -5px -15px -15px -15px;
	padding-left: 10px;
}
.note {
	background:url(TimelyYou/pics/bg_note.png) no-repeat bottom / contain;
	font-family: "Comic Sans MS";
	padding : 55px 33px 10px 10px;
	position: absolute;
	top: 95px;
	left: 35%;
	width: 473px;
	height: 500px;
}
.entete_fonce {
	color: #424345;
	background:#86888C;
	border-color: #86888C;
	font-weight:bold;
}
.entete_titre {
	font-weight:bold;
	color: #506167;
	background-color: #FF6A6A;
}
.borderlr {
	border-width:1px;
	border-left-style:solid;
	border-right-style:solid;
}
.txt_defil {
	color:#DFE6F0;
	text-decoration:none;
}
.txt_defil:hover {
	color:#DFE6F0;
	border-bottom:1px dashed white;
}
.readonly {
	background-color: #A85BA3;
	color: #FFFFFF;
}
#message,#message_four,#message_four2,#message_ville,#message_proc,#message_rs,#message_num_cli,#message_client,#message_chantier,#message_tour {
	position: absolute;
	background-color: #FEF7F1;
	display: none;
	border-width: 1px;
	border-style: solid;
	border-color: #DFE6F0;
	text-align: left;
	z-index: 99;
}
#message {
	left: 39%;
	width: 200px;
}
#message_four {
	left: 190px;
	background-color: #506167;
}
#message_ville {
	left: 30%;
	width: 300px;
}
#message_proc {
	left: 33%;
	top: 320px;
	width: 300px;
}
#message_chantier {
	left: 520px;
	width: 300px;
}
#message_client {
	left: 100px;
	top: 290px;
	width: 300px;
}
#message_tour {
	right: 100px;
	top: 250px;
	width: 380px;
}
#message a:hover,#message_four a:hover,#message_four2 a:hover,#message_ville a:hover,#message_proc a:hover,#message_rs a:hover,#message_client a:hover,#message_num_cli a:hover,#message_chantier a:hover,#message_tour a:hover {
	background-color: #FEF7F1;
	color:#506167;
	text-decoration:none;
}
#outlook {
	float: left;
}
.apollo {
	text-align: center;
	color:#506167;
	font-weight:bold;
	font-size:18px;	
}
photo > input{ /* HIDE RADIO */
	visibility: hidden; /* Makes input not-clickable */
	position: absolute; /* Remove input from document flow */
	margin-bottom: 10px;
}
photo > input + img{ /* IMAGE STYLES */
	opacity:1;
	filter: alpha(opacity=100);
	cursor:pointer;
	margin: 0px 30px 2px 30px;
}
photo > input + img{ /* IMAGE STYLES */
	border:3px solid transparent;
}
photo > input:checked + img{ /* (RADIO CHECKED) IMAGE STYLES */
	border:3px solid #A85BA3;
	}
.result {
	background:#F2BC00;
	color: #000000;
	text-align: center;
	vertical-align:middle;
	width: 100%;
	font-weight:bold;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-html-border-radius: 6px;
	border-radius: 6px;
}
.result_faux {
	background:#FF6A6A;
	color: #506167;
	text-align: center;
	vertical-align:middle;
	width: 100%;
	font-weight:bold;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-html-border-radius: 6px;
	border-radius: 6px;
}
.Button {
	border:2px outset #86888C;
	background: #C3C9D1 url(TimelyYou/pics/bgd_cols.jpg);
	font-size: 8pt;
}
.Entete {
	background: url(TimelyYou/pics/bgd_cols.jpg);
	font-weight: bold;
}
#Find {
	padding: 10px;
	font-size: 8pt;
	background: #C3C9D1;
	height: 100%;
	text-align:justify;
	color: #000000;
}
#Find a {
	text-decoration: none;
	color: #000000;
}
#Find a:hover {
	text-decoration: none;
	color: #000000;
}
#Find table {
	border-collapse: separate;
	border: 1px solid #DFE6F0;
}
#Find td {
	font-size: 8pt;
}
#calque1, #calque2, #calque3 {
	position:absolute; left:10px; top:31px; font-size: 9pt; background: #FFFFFF; border: 1px solid #DFE6F0; height:680px; width:550px; padding:10px;}
/* Bootstrap */
.row {
    margin-bottom: 15px;
}
.row [class^="col-"] {
	text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
.row a {
	text-decoration: none;
}
.hovereffect {
	height:100%;
	overflow:hidden;
	position:relative;
	text-align:center;
	cursor:default;
}
.hovereffect .overlay {
	width:100%;
	height:100%;
	position:absolute;
	overflow:hidden;
	top:0;
	left:0;
	opacity:0;
	background-color:rgba(0,0,0,0.5);
	-webkit-transition:all .4s ease-in-out;
	transition:all .4s ease-in-out
}
.hovereffect img {
	display:block;
	position:relative;
	-webkit-transition:all .4s linear;
	transition:all .4s linear;
}
.hovereffect h2 {
	text-transform:uppercase;
	color:#506167;
	text-align:center;
	position:relative;
	font-size:17px;
	background:rgba(0,0,0,0.6);
	-webkit-transform:translatey(-100px);
	-ms-transform:translatey(-100px);
	transform:translatey(-100px);
	-webkit-transition:all .2s ease-in-out;
	transition:all .2s ease-in-out;
	padding:10px;
}
.hovereffect:hover img {
	-ms-transform:scale(1.2);
	-webkit-transform:scale(1.2);
	transform:scale(1.2);
}
.hovereffect:hover .overlay {
	opacity:1;
	filter:alpha(opacity=100);
}
.hovereffect:hover h2 {
	opacity:1;
	filter:alpha(opacity=100);
	-ms-transform:translatey(0);
	-webkit-transform:translatey(0);
	transform:translatey(0);
}
/* Fin bootstrap
/* Infobulle */
.tooltip {
	position: relative;
	width: 300px;
	height: 100px;
	background: #0d6f8a;
	margin-bottom: 20px;
	left: 10px;
	top: -160px;
	opacity: 0;
	visibility: hidden;
	background-image: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.3)));
	background-image: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
	background-image: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
	background-image: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
	background-image: linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#4d000000',GradientType=0 );	
	
	-webkit-transition: all .3s 1s ease;
	-moz-transition: all .3s 1s ease;
	-ms-transition: all .3s 1s ease;
	-o-transition: all .3s 1s ease;
	transition: all .3s 1s ease;
	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.5), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.4);
	-moz-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.5), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.4);
	-webkit-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.5), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.4);
}

.tooltip .info h2 {	
	color: white;
	font: bold 17px/34px Arial;
	text-shadow: 1px 1px 0px rgba(0,0,0,0.3);
	margin: 0;
}

.tooltip .info p {	
	font: 12px/14px Arial, sans-serif;
	color: #aaa;
	margin-top: 0;
}
.tooltip:after {
	content: '';
	position: absolute;
	bottom: -10px;
	width: 20px;
	height: 20px;
	background: #0d6f8a;
	left: 40px;
	background-image: -webkit-linear-gradient(-45deg, rgba(0,0,0,0.27) 0%,rgba(0,0,0,0.3) 100%);
	background-image: -moz-linear-gradient(-45deg, rgba(0,0,0,0.27) 0%,rgba(0,0,0,0.3) 100%);
	background-image: -o-linear-gradient(-45deg, rgba(0,0,0,0.27) 0%,rgba(0,0,0,0.3) 100%);
	background-image: -ms-linear-gradient(-45deg, rgba(0,0,0,0.27) 0%,rgba(0,0,0,0.3) 100%);
	background-image: linear-gradient(-45deg, rgba(0,0,0,0.27) 0%,rgba(0,0,0,0.3) 100%);
	
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);

	
	box-shadow: 2px 2px 1px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 2px 2px 1px 0px rgba(0,0,0,0.2);
	-webkit-box-shadow: 2px 2px 1px 0px rgba(0,0,0,0.2);
}
a.trigger:hover ~ .tooltip {
	opacity: 1;
	visibility: visible;
	top: -140px;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
.tooltip .close {
	position: absolute;
	top: 5px;
	right: 6px;
	font-size: 20px;
	font-weight: bold;
	line-height: 18px;
	color: #000000;
	text-shadow: 0 1px 0 #ffffff;
	opacity: 0.2;
	filter: alpha(opacity=20);
	text-decoration: none;
}
.tooltip .close:hover {
	color: #000000;
	text-decoration: none;
	opacity: 0.4;
	filter: alpha(opacity=40);
	cursor: pointer;
}
/* Fin Infobulle */
/* Accueil */
#accueil {
	position:absolute;
	top: 100px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	margin-left: 25px;
	margin-top: 10px;
	/* Depuis que .applist passe à la ligne (4 tuiles maximum), la seconde ligne dépasse
	   la fenêtre sur les écrans peu hauts : on rend l'accueil défilable plutôt que de
	   laisser les tuiles disparaître derrière le pied de page fixe. */
	overflow-y: auto;
	overflow-x: hidden;
}
#accueil p {
	font-size: 15px;
}
#accueil a {
	font-size: 15px;
	text-decoration: none;
}
header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 2px 0 2px 20px;
	background: #DFE6F0;
	border-bottom: 1px solid #506167;
}
header .aide {
	padding-top: 40px;
}
header #menu_aide {
	position: absolute;
	top: 80px;
}
header #menu_aide a {
	text-decoration: none;
	color: #A85BA3;
}
header #menu_aide a:hover {
	color: #A85BA3;
}
@keyframes appFadeUp {
	from { opacity: 0; transform: translateY(28px) scale(0.95); }
	to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
.titre_applist{
	position: absolute;
	top: 10px;
	width: 100%;
	display: flex;
	justify-content: center;
	animation: appFadeUp 0.5s ease both;
}
/*
 * Liste des applications de l'accueil : au maximum 4 tuiles par ligne.
 * Une tuile occupe 220px, séparée de sa voisine par une gouttière de 25px (column-gap),
 * d'où la largeur maximale de 4 x 220 + 3 x 25 = 955px, arrondie à 980px. Au-delà,
 * flex-wrap renvoie les tuiles à la ligne suivante, centrée. Sans wrap, les 7 applications
 * tenaient sur une seule ligne et débordaient de la fenêtre (.apps a une largeur fixe et
 * ne se comprime pas). La gouttière est portée par le conteneur et non par .apps : ainsi
 * .app-item a exactement la largeur de la tuile, et le libellé centré tombe d'aplomb sous
 * le pictogramme.
 */
.applist {
	position: absolute;
	/* Le logo s'arrête à 233px : 245px laisse une respiration sans le chevaucher.
	   Avec deux rangées, chaque pixel gagné ici recule l'apparition de l'ascenseur. */
	top: 245px;
	left: 0;
	right: 0;
	max-width: 980px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	row-gap: 24px;
	column-gap: 25px;
	padding-bottom: 40px; /* dégage la dernière ligne du pied de page fixe (35px) */
}
.apps {
	width: 220px;
	height: 155px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #DFE6F0;
	float: left;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	-html-border-radius: 20px;
	border-radius: 20px;
	opacity: 80%;
	transition: all 1s ease;
}
.apps:hover {
	background: #86888C;
}
/* Icônes des applications : 187x187 en natif, réduites à l'échelle de la tuile. */
.apps img {
	width: 140px;
	height: auto;
}
.app-item {
	/* Largeur figée : garantit exactement 4 tuiles par ligne, quel que soit le libellé. */
	flex: 0 0 220px;
	opacity: 0;
	animation: appFadeUp 0.5s ease both;
	text-align: center;
}
/* Libellé sous le picto : centrage explicite (align='center' est obsolète en HTML5). */
.app-item h4 {
	text-align: center;
	margin: 8px 0 0 0;
}
.app-item:nth-child(1) { animation-delay: 0.10s; }
.app-item:nth-child(2) { animation-delay: 0.22s; }
.app-item:nth-child(3) { animation-delay: 0.34s; }
.app-item:nth-child(4) { animation-delay: 0.46s; }
.app-item:nth-child(5) { animation-delay: 0.58s; }
.app-item:nth-child(6) { animation-delay: 0.70s; }
.app-item:nth-child(7) { animation-delay: 0.82s; }
.app-item:nth-child(8) { animation-delay: 0.94s; }
.apps .puce{
	margin: 0 10px 0 0;
	fill: #A85BA3;
	width: 80px;
	height: 80px;
	margin-bottom: 12px;
}
footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #DFE6F0;
	border-top: 1px solid #506167;
	color: #A85BA3;
	padding: 10px;
	z-index: 1000;
	opacity: 80%;
}
footer a {
	text-decoration: none;
	color: #A85BA3;
	font-weight:bold;
}
/* Fin accueil */
/* Caroussel editor */
/* Zones d'une actualité : carrousel des applications (GetNews) et éditeur de la page Caroussel */
.zone {
	padding: 10px;
	box-sizing: border-box;
	overflow: auto;
}
.zone img { max-width: 100%; max-height: 100%; display: block; }
.newsdisplay {
	display: flex;
	padding: 5px 50px 5px 50px;
	height: 320px;
	width: 100%;
	overflow: hidden;
/*	background: #FFFFFF; */
}

/* Page de gestion des actualités (Caroussel) : cartes du socle. La marge basse garde le bas de
   la page au-dessus du pied de page fixe ; c'est #accueil qui défile. */
.news-admin {
	padding: 0 30px 70px 0;
	box-sizing: border-box;
}
.news-admin h1 {
	margin: 5px 0 20px 0;
}
.news-champs {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
}
.news-champs .form-group {
	margin-bottom: 0;
}
@media (max-width: 900px) {
	.news-champs { grid-template-columns: 1fr; }
}
.news-reglages {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 15px 30px;
	padding: 15px 20px;
	background-color: #FEF7F1;
	border: 1px solid #86888C;
	border-radius: 8px;
}
.news-reglage {
	display: flex;
	flex-direction: column;
	min-width: 150px;
}
.news-reglage .form-label {
	margin-bottom: 6px;
}
.news-reglage .form-select {
	padding: 8px 12px;
	background-color: #F0F0F0;
}
.news-largeur {
	flex: 1;
	min-width: 220px;
}
.news-largeur #leftLabel {
	color: #A85BA3;
	font-weight: 600;
}
.news-largeur input[type="range"] {
	width: 100%;
	height: 36px;
	margin: 0;
	accent-color: #A85BA3;
	cursor: pointer;
}
.news-inverser {
	margin-left: auto;
}
.news-apercu-titre {
	margin: 20px 0 8px 0;
	color: #5C3596;
	font-size: 13px;
}
.news-editeur {
	display: flex;
	height: 320px;
	border: 1px dashed #86888C;
	border-radius: 10px;
	overflow: hidden;
	background-color: #FEF7F1;
}
.news-editeur .zone {
	display: flex;
	flex-direction: column;
	padding: 12px;
}
.news-editeur .zone + .zone {
	border-left: 1px dashed #86888C;
}
.news-editeur .zone > img {
	margin: auto;
}
.news-editeur .zone > input[type="file"] {
	margin: auto;
}
.news-editeur .toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}
.news-editeur .toolbar button,
.news-editeur .toolbar select {
	padding: 4px 10px;
	border: 1px solid #86888C;
	border-radius: 6px;
	background-color: #F0F0F0;
	color: #506167;
	font-size: 12px;
	cursor: pointer;
	transition: all 0.2s;
}
.news-editeur .toolbar button:hover,
.news-editeur .toolbar select:hover {
	border-color: #A85BA3;
	color: #A85BA3;
}
.news-editeur .toolbar input[type="color"] {
	width: 34px;
	height: 26px;
	padding: 1px 2px;
	border: 1px solid #86888C;
	border-radius: 6px;
	background-color: #F0F0F0;
	cursor: pointer;
}
.news-editeur .editor {
	flex: 1;
	overflow: auto;
	padding: 10px 12px;
	background-color: #F0F0F0;
	border: 1px solid #86888C;
	border-radius: 6px;
	color: #506167;
	outline: none;
	transition: border-color 0.2s;
}
.news-editeur .editor:focus {
	border-color: #A85BA3;
}
.news-boutons {
	justify-content: flex-end;
}
/* Boutons et liens-boutons de même taille (#accueil a et button imposent sinon police et marge) */
#mcenter .news-boutons .btn,
#mcenter .news-inverser .btn {
	margin: 0;
	font-size: 14px;
}
.news-compte {
	display: inline-block;
	min-width: 26px;
	margin-left: 8px;
	padding: 1px 8px;
	border-radius: 12px;
	background-color: #A85BA3;
	color: #FFFFFF;
	font-size: 13px;
	text-align: center;
	vertical-align: middle;
}
#mcenter .news-liste th {
	font-size: 13px;
}
#mcenter .news-liste td {
	padding: 10px 15px;
	vertical-align: middle;
}
#mcenter .news-liste .actions .action-btn {
	display: inline-flex;
	align-items: center;
	height: 32px;
	margin: 0;
	padding: 0 12px;
	font-size: 13px;
	line-height: 1;
	box-sizing: border-box;
	text-decoration: none;
}
#mcenter .news-liste td a {
	color: #A85BA3;
	font-weight: 600;
	text-decoration: none;
}
#mcenter .news-liste td a:hover {
	color: #5C3596;
}
/* Ordonnancement par glisser-déposer (Caroussel/list.php) */
.news-ordre-aide {
	margin: 0 0 10px 0;
	color: #5C3596;
	font-size: 13px;
}
.news-ordre-statut { margin-left: 10px; font-weight: 600; }
.news-ordre-ok { color: #A85BA3; }
.news-ordre-erreur { color: #FF6A6A; }
#mcenter .news-liste .news-col-poignee {
	width: 36px;
	padding-right: 0;
}
.news-poignee {
	color: #86888C;
	font-size: 18px;
	line-height: 1;
	cursor: grab;
	user-select: none;
}
#configList tbody tr[draggable='true'] .news-poignee:hover { color: #A85BA3; }
/* L'animation d'apparition des lignes (.table tbody tr) se rejouerait à chaque déplacement */
#configList tbody tr { animation: none; }
#configList tbody tr.news-glissee {
	opacity: 0.45;
	background-color: #FEF7F1;
}
#mcenter .news-liste .actions form {
	display: inline;
	margin: 0;
}
#mcenter .news-liste .actions .news-desactiver:hover {
	border-color: #FF6A6A;
	color: #FF6A6A;
}
/* Fin caroussel editor*/
/**
#flash {
    opacity: 1;
    transition: opacity 1s ease-out;
}
 * Styles pour les applications
 */

/* ========== CONTENU PRINCIPAL ========== */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
}

.page-header {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    color: #506167;
}

/* ========== CARTES ========== */
.card {
    background-color: #F0F0F0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #86888C;
    animation: fadeInUp 0.5s ease backwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card .puce, .puce4 {
	margin: 0 2px 0 0;
	width: 15px;
	height: 15px;
}
.card .puce {
	fill: #A85BA3;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}


.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 191, 165, 0.15);
    border-color: #A85BA3;
}

.card-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #86888C;
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #A85BA3, #5C3596);
    transition: width 0.5s ease;
}

.card:hover .card-header::after {
    width: 100px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #506167;
    transition: color 0.3s ease;
}

.card:hover .card-title {
    color: #A85BA3;
}

/* ========== FORMULAIRES ========== */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #5C3596;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-group:focus-within .form-label {
    color: #A85BA3;
}

.form-label-required::after {
    content: " *";
    color: #FF6A6A;
    animation: blink 2s ease infinite;
}

/* Texte d'aide sous un champ (commentaire de colonne, précision de saisie) */
.form-help {
    display: block;
    margin-top: 6px;
    color: #5C3596;
    font-size: 12px;
    line-height: 1.4;
}

.form-picto {
	margin: 0 10px 0 0;
	fill: #A85BA3;
	width: 50px;
	height: 50px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #FEF7F1;
    border: 1px solid #86888C;
    border-radius: 6px;
    color: #506167;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #A85BA3;
    box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.1);
    transform: translateY(-2px);
    background-color: rgba(0, 191, 165, 0.02);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: #A85BA3;
}

.form-color {
    width: 60px;
    height: 40px;
    padding: 3px;
    background-color: #FEF7F1;
    border: 1px solid #86888C;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-color:hover {
    border-color: #A85BA3;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: var(--font-main);
}

.form-input::placeholder {
    color: #5C3596;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.form-input:focus::placeholder {
    opacity: 0.7;
}

.form-select option {
	background-color: #FEF7F1;
}
/* ========== BOUTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background-color: #A85BA3;
    color: white;
}

.btn-primary:hover {
    background-color: #5C3596;
    transform: translateY(-1px);
	color: #FEF7F1;
}

.btn-secondary {
    background-color: #FEF7F1;
    color: #506167;
    border: 1px solid #86888C;
}

.btn-secondary:hover {
    background-color: #FF6A6A;
	color: #FEF7F1;
}

.btn-tertiary {
    background-color: #FF6A6A;
    color: #FEF7F1;
    border: 1px solid #86888C;
}

.btn-tertiary:hover {
    background-color: #86888C;
    color: #FEF7F1;
   transform: translateY(-1px);
}

.btn-danger {
    background-color: #FF6A6A;
    color: white;
}

.btn-danger:hover {
    background-color: #d32f2f;
}

.btn-success {
    background-color: #A85BA3;
    color: white;
}

/*
 * Boutons rendus par un <a> (« Nouveau prospect », « Nouveau projet potentiel »…).
 * La règle `#content a` plus haut a une spécificité id+élément (1-0-1) qui l'emporte sur
 * les classes `.btn-*` (0-1-0) : elle repeignait le libellé en #A85BA3,
 * soit exactement le fond de .btn-primary et .btn-success — texte invisible.
 * On réaffirme donc ici la couleur déclarée par chaque variante, avec une spécificité
 * suffisante (1-1-1). Les `style='color:#fff'` posés en ligne dans certaines pages
 * deviennent redondants, sans dommage.
 */
#content a.btn-primary,
#content a.btn-success,
#content a.btn-danger {
    color: white;
}

#content a.btn-primary:hover {
    color: #FEF7F1;
}

#content a.btn-secondary {
    color: #506167;
}

#content a.btn-secondary:hover,
#content a.btn-tertiary,
#content a.btn-tertiary:hover {
    color: #FEF7F1;
}

.btn-icon {
    width: 16px;
    height: 16px;
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* ========== TABLEAUX ========== */
.table-container {
    overflow-x: auto;
    animation: fadeIn 0.6s ease 0.4s backwards;
}

.table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.table thead {
    background-color: #FEF7F1;
}

.table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #5C3596;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #86888C;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
    vertical-align: middle; /* ? */
}

.table th::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #A85BA3;
    transition: width 0.3s ease;
}

.table th:hover::after {
    width: 100%;
}

.table th:hover {
    color: #A85BA3;
}

.table tbody tr {
    height: 70px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInTable 0.5s ease backwards;
}

.table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.table tbody tr:nth-child(5) { animation-delay: 0.25s; }
.table tbody tr:nth-child(6) { animation-delay: 0.30s; }
.table tbody tr:nth-child(7) { animation-delay: 0.35s; }

.table tbody td {
    height: 70px;
    font-size: 16px;
    padding: 15px;
    border-bottom: 1px solid #86888C;
    color: #506167;
    transition: all 0.3s ease;
    vertical-align: middle !important; /* ? Force avec !important */
    line-height: 1.5; /* ? Ajoute un line-height */
}

.table tbody td.no-border {
    border-bottom: none !important;
}

@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.table tbody tr:hover {
    background-color: #FEF7F1;
    box-shadow: inset 3px 0 0 #A85BA3;
}

.table tbody tr:hover td {
    color: #506167;
}

.table .total-row {
	font-size: 16px;
	font-weight: bold;
	background-color: #C3C9D1 !important;
}

/* Colonnes triables (listes de TeamReceipt) : th.tri ajouté par le script, flèche du sens de tri */
.table th.tri {
	cursor: pointer;
	user-select: none;
}
.table th.tri:focus-visible {
	outline: 2px solid #A85BA3;
	outline-offset: -2px;
}
.table th.tri .tri-fleche {
	display: inline-block;
	margin-left: 6px;
	font-size: 0.7em;
	opacity: 0.35;
}
.table th.tri .tri-fleche::before { content: '\2195'; }
.table th.tri[aria-sort] .tri-fleche { opacity: 1; }
.table th.tri[aria-sort='ascending'] .tri-fleche::before { content: '\25B2'; }
.table th.tri[aria-sort='descending'] .tri-fleche::before { content: '\25BC'; }
/* ========== BADGES DE STATUT ========== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.badge:hover::before {
    left: 100%;
}

.badge-success {
    background-color: rgba(76, 175, 80, 0.2);
    color: var(--success);
    border: 1px solid transparent;
}

.badge-success:hover {
    background-color: var(--success);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.badge-warning {
    background-color: rgba(255, 152, 0, 0.2);
    color: var(--warning);
    border: 1px solid transparent;
}

.badge-warning:hover {
    background-color: var(--warning);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.badge-error {
    background-color: rgba(244, 67, 54, 0.2);
    color: var(--error);
    border: 1px solid transparent;
}

.badge-error:hover {
    background-color: var(--error);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
}
/* ========== ACTIONS ========== */
.actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 6px 10px;
    background: none;
    border: 1px solid #86888C;
    border-radius: 4px;
    cursor: pointer;
    color: #5C3596;
    transition: all 0.2s;
}

.action-btn:hover {
    background-color: #FEF7F1;
    color: #A85BA3;
}

.action-icon {
    width: 16px;
    height: 16px;
}

/* ========== FILTRES ========== */
.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-label {
    font-size: 13px;
    color: #5C3596;
}

/* ========== STATISTIQUES ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
	float:left;
    background-color: #F0F0F0;
    border: 1px solid #86888C;
    border-radius: 8px;
    padding: 20px;
	margin: 10px 27px 20px 0;
    animation: scaleIn 0.5s ease backwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
	width: 18%;
	min-width: 220px;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
.stat-card:nth-child(5) { animation-delay: 0.5s; }
.stat-card:nth-child(6) { animation-delay: 0.6s; }
.stat-card:nth-child(7) { animation-delay: 0.7s; }
.stat-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes slideUp {
	from { 
		opacity: 0;
		transform: translateY(20px);
	}
	to { 
		opacity: 1;
		transform: translateY(0);
	}
}
.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 191, 165, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0);
}

.stat-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 191, 165, 0.2);
    border-color: #A85BA3;
}

.stat-label {
    font-size: 13px;
    color: #5C3596;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.stat-card:hover .stat-label {
    color: #A85BA3;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #A85BA3;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.stat-card:hover .stat-value {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(0, 191, 165, 0.5);
}

/* ========== MESSAGES ========== */
.message {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.message-success {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid #A85BA3;
    color: #A85BA3;
}

.message-error {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid #FF6A6A;
    color: #FF6A6A;
}

/* ========== CALENDRIER ========== */
.calendar-container {
	padding: 20px;
}

.calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 5px;
	flex-wrap: wrap;
	gap: 20px;
}

.calendar-navigation {
	display: flex;
	align-items: center;
	gap: 15px;
}

.calendar-nav-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: #F0F0F0;
	border: 1px solid #86888C;
	border-radius: 8px;
	color: #A85BA3;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	font-size: 14px;
}

.calendar-nav-btn:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 191, 165, 0.2);
	color: #5C3596;
	border-color: #A85BA3;
}

.calendar-current-month {
	font-size: 28px;
	font-weight: 600;
	color: #506167;
}

.calendar-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 10px;
}

.calendar-stat-card {
	background: #F0F0F0;
	border: 1px solid #86888C;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
}

.calendar-stat-label {
	font-size: 14px;
	color: #506167;
	margin-bottom: 8px;
}

.calendar-stat-value {
	font-size: 24px;
	font-weight: 600;
	color: #5C3596;
}

.calendar-grid {
	background: var(--card-bg);
	border: 1px solid #86888C;
	border-radius: 12px;
	overflow: hidden;
}

.calendar-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	background: #FEF7F1;
	color: #5C3596;
}

.calendar-weekday {
	padding: 15px;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
}

.calendar-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	border-top: 1px solid #86888C;
}

.calendar-day {
	min-height: 120px;
	padding: 10px;
	border-right: 1px solid #86888C;
	border-bottom: 1px solid #86888C;
	background: #F0F0F0;
	position: relative;
	transition: background 0.2s ease;
}

.calendar-day:nth-child(7n) {
	border-right: none;
}

.calendar-day:hover {
	background: #FEF7F1;
}

.calendar-day.empty {
	background: #C3C9D1;
}

.calendar-day.today {
	background: linear-gradient(135deg, #A85BA310, transparent);
	border: 2px solid #A85BA3;
}

.calendar-day.weekend {
	background: #DFE6F0;
}

.calendar-day-number {
	font-size: 16px;
	font-weight: 600;
	color: #5C3596;
	margin-bottom: 8px;
}

.calendar-day.today .calendar-day-number {
	color: #5C3596;
}

.calendar-events {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.calendar-event {
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 11px;
	cursor: pointer;
	transition: all 0.2s ease;
	border-left: 3px solid;
	display: flex;
	align-items: center;
	gap: 4px;
}

.calendar-event:hover {
	transform: translateX(2px);
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.calendar-event.apport {
	background: #e3f2fd;
	border-left-color: #2196f3;
	color: #1976d2;
}

.calendar-event.formation {
	background: #e8f5e9;
	border-left-color: #4caf50;
	color: #2e7d32;
}

.calendar-event-icon {
	width: 12px;
	height: 12px;
}

.calendar-event-text {
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}


/* Modal pour les d�tails */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 1);
	animation: fadeIn 0.3s ease;
}

.modal.show {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-content {
	position: fixe;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #F0F0F0;
	border-radius: 12px;
	padding: 30px;
	max-width: 500px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	animation: fadeIn 1s ease;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	padding-bottom: 15px;
	border-bottom: #86888C;
}

.modal-title {
	font-size: 20px;
	font-weight: 600;
	color: #506167;
}

.modal-close {
	width: 30px;
	height: 30px;
	border: none;
	background: #FEF7F1;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.modal-close:hover {
	background: #FF6A6A;
	color: white;
}

.modal-body {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.modal-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.modal-field-label {
	font-size: 12px;
	color: #5C3596;
	text-transform: uppercase;
	font-weight: 600;
}

.modal-field-value {
	font-size: 16px;
	color: #A85BA3;
}

/* Modale d'affichage des documents PDF (remplace les anciennes fenetres window.open) */
/* Boite dediee : .modal-content est trop etroite pour un PDF et son positionnement ne doit pas etre surcharge */
.pdf-modal-box {
	display: flex;
	flex-direction: column;
	/* Centrage autonome : Bootstrap impose .show{display:block!important} sur la modale,
	   le centrage par flex du parent ne s'applique donc jamais. */
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 95%;
	max-width: 1280px;
	height: 92%;
	background: #F0F0F0;
	border-radius: 12px;
	padding: 15px;
	overflow: hidden;
	animation: fadeIn 0.3s ease;
}

.pdf-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 10px;
}

.pdf-modal-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #506167;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pdf-modal-frame {
	flex: 1;
	width: 100%;
	min-height: 0;
	border: 0;
	border-radius: 8px;
	background: #ffffff;
}

/* Documents generes : titre de section et apparition differee, pour les distinguer
   des boutons d'edition affiches au-dessus */
.docs-generes {
	animation: slideUp 0.6s ease backwards;
	animation-delay: 0.35s;
}

.docs-generes-titre {
	margin: 25px 0 15px 0;
	padding-top: 20px;
	border-top: 1px solid #86888C;
	font-size: 18px;
	font-weight: 600;
	color: #A85BA3;
}

.docs-generes .stat-card { animation-delay: 0.95s; }
.docs-generes .stat-card:nth-child(1) { animation-delay: 0.55s; }
.docs-generes .stat-card:nth-child(2) { animation-delay: 0.60s; }
.docs-generes .stat-card:nth-child(3) { animation-delay: 0.65s; }
.docs-generes .stat-card:nth-child(4) { animation-delay: 0.70s; }
.docs-generes .stat-card:nth-child(5) { animation-delay: 0.75s; }
.docs-generes .stat-card:nth-child(6) { animation-delay: 0.80s; }
.docs-generes .stat-card:nth-child(7) { animation-delay: 0.85s; }
.docs-generes .stat-card:nth-child(8) { animation-delay: 0.90s; }

/* Vignette d'apercu d'un document genere : miniature du PDF, titre en dessous */
.doc-vignette {
	display: block;
	text-decoration: none;
}

.doc-lien {
	display: block;
	text-decoration: none;
}


.doc-apercu {
	display: block;
	position: relative;
	width: 100%;
	height: 240px;
	overflow: hidden;
	border: 1px solid #86888C;
	border-radius: 6px;
	background: #ffffff;
}

.doc-apercu iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	/* le clic est pris en charge par la vignette, pas par le document */
	pointer-events: none;
}

.doc-titre {
	display: block;
	margin-top: 12px;
	text-align: center;
	font-weight: 600;
	line-height: 1.3;
}

/* Tableau des editions : colonne Ordre et poignee de glisser-deposer */
.edi-ordre-cell {
	display: flex;
	align-items: center;
	gap: 8px;
}

.edi-poignee {
	display: inline-flex;
	align-items: center;
	cursor: grab;
	color: #5C3596;
}

.edi-poignee:active {
	cursor: grabbing;
}

.edi-poignee svg {
	width: 16px;
	height: 16px;
}

.edi-ordre-valeur {
	font-weight: 600;
	color: #A85BA3;
}

/* Largeurs figees : le tableau des editions tient dans la largeur de la page */
.table-editions {
	table-layout: fixed;
	width: 100%;
}

.table-editions th,
.table-editions td {
	padding: 8px 6px;
	/* Colonnes a largeur fixe : rien ne doit deborder de sa cellule */
	overflow: hidden;
	overflow-wrap: break-word;
}

.table-editions th {
	/* .table th impose nowrap en 18px majuscules : les en-tetes debordaient */
	white-space: normal;
	font-size: 12px;
	letter-spacing: 0;
}

.table-editions .form-input,
.table-editions .form-select {
	width: 100%;
	max-width: 100%;
	/* input/select/button portent margin:5px dans le socle : 10px de trop par cellule */
	margin: 0;
	padding: 7px 8px;
	font-size: 13px;
}

.table-editions .edi-ordre-cell {
	/* min-width:auto empecherait les elements flex de se reduire */
	min-width: 0;
}

.table-editions .edi-ordre-cell > * {
	min-width: 0;
}

.table-editions small {
	display: block;
	font-size: 11px;
	line-height: 1.2;
}

tr.edi-en-cours {
	opacity: 0.45;
	background: #FEF7F1;
}



#generate_content {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#generation_status {
    display: inline-flex;
    align-items: center;
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 5px;
}
/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

	/* Sidebar Portail_s */
	#menu {
		display: none;
	}
	#content {
		position: relative;
		top: auto;
		left: 0;
		right: auto;
		bottom: auto;
		padding: 10px;
	}

	/* Stat cards */
	.stat-card {
		float: none;
		width: 100%;
		min-width: unset;
		margin-right: 0;
	}

	/* Blocs Home page */
	.planning, .events {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;
		width: 95%;
		margin: 10px auto;
		height: auto;
	}

	.calendar-weekday {
		padding: 10px 5px;
		font-size: 12px;
	}

	.calendar-day {
		min-height: 80px;
		padding: 5px;
	}

	.calendar-day-number {
		font-size: 14px;
	}

	.calendar-event {
		font-size: 10px;
		padding: 3px 6px;
	}

	.calendar-current-month {
		font-size: 20px;
	}
}

@media (max-width: 480px) {
	#authentification {
		padding: 8px;
	}
	#authentification .login input {
		font-size: 15px;
	}
	#authentification .pwd input,
	#authentification .newpwd input,
	#authentification .repwd input,
	#authentification .verif input,
	#authentification .mail input,
	#authentification .profil select {
		width: calc(100% - 40px);
		font-size: 15px;
	}
	#authentification .submit {
		font-size: 16px;
	}
	.login::before,
	.pwd::before,
	.newpwd::before,
	.repwd::before,
	.verif::before,
	.mail::before,
	.profil::before {
		display: none;
	}
	#authentification .eye {
		width: 24px;
		height: 29px;
	}
}

/* ── Organigramme ─────────────────────────────────────────────── */
.org-site-section   { margin-bottom: 40px; }
.org-site-header    { display: flex; justify-content: space-between; align-items: center;
                      padding-bottom: 10px; margin-bottom: 16px;
                      border-bottom: 2px solid #A85BA3; }
.org-site-header h3 { margin: 0; color: #A85BA3; font-size: 18px; }
.org-societe-name   { font-weight: bold; }
.org-site-sep       { margin: 0 6px; opacity: .5; font-weight: normal; }
.org-site-header h3 span:last-child { font-weight: normal; font-size: 15px; }

.btn-org-pdf {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    background: #A85BA3;
    color: #fff !important; border-radius: 4px; text-decoration: none !important; font-size: 12px;
    transition: opacity .2s;
}
.btn-org-pdf:hover { opacity: .8; }
.btn-org-pdf svg   { fill: #fff; flex-shrink: 0; }

/* ── CSS Tree ────────────────────────────────────────────────── */
.org-chart-container { overflow-x: auto; padding: 10px 0 20px; }

.org-chart,
.org-chart ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.org-chart li > ul {
    padding-top: 28px;
    position: relative;
}
.org-chart li > ul::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-1px);
    border-left: 2px solid #c0c0c0;
    height: 28px;
}

.org-chart > li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
}

.org-chart li > ul > li {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 28px 8px 0;
    text-align: center;
}

.org-chart li > ul > li::before,
.org-chart li > ul > li::after {
    content: '';
    position: absolute;
    top: 0;
    border-top: 2px solid #c0c0c0;
    width: 50%; height: 28px;
}
.org-chart li > ul > li::before { right: 50%; }
.org-chart li > ul > li::after  { left: 50%; border-left: 2px solid #c0c0c0; }

.org-chart li > ul > li:only-child::before,
.org-chart li > ul > li:only-child::after { display: none; }
.org-chart li > ul > li:only-child { padding-top: 0; }

.org-chart li > ul > li:first-child::before,
.org-chart li > ul > li:last-child::after  { border: none; }
.org-chart li > ul > li:last-child::before {
    border-right: 2px solid #c0c0c0;
    border-radius: 0 5px 0 0;
}
.org-chart li > ul > li:first-child::after {
    border-radius: 5px 0 0 0;
}

/* ── Boîte service ───────────────────────────────────────────── */
.org-box {
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    min-width: 160px;
    max-width: 230px;
    box-shadow: 0 2px 6px rgba(0,0,0,.10);
    overflow: hidden;
}
.org-service-title {
    background: #A85BA3;
    color: #fff;
    padding: 7px 10px;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Personnes ───────────────────────────────────────────────── */
.org-people { padding: 5px 5px 3px; }
.org-person {
    display: flex; align-items: center;
    padding: 3px 5px;
    border-radius: 4px;
    margin: 2px 0;
    background: #f8f9fa;
    text-align: left;
    gap: 6px;
}
.org-person.org-manager {
    background: #f8f9fa;
    font-weight: bold;
}
.org-photo {
    width: 36px; height: 36px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid #ddd;
}
.org-nophoto {
    background: #e0e0e0;
    display: inline-block;
}
.org-person-info { flex: 1; min-width: 0; }
.org-person-name {
    display: block; font-size: 10px; font-weight: bold;
    color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.org-person-fonction {
    display: block; font-size: 9px; color: #777;
    font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.org-person.org-externe {
    background: #fff8f0;
    border-left: 3px solid #e67e22;
}
.org-externe-badge {
    display: inline-block;
    font-size: 8px; font-style: normal; font-weight: bold;
    background: #e67e22; color: #fff;
    border-radius: 3px; padding: 1px 4px;
    margin-top: 2px; line-height: 1.4;
}
}
/* ========== ONGLETS (page Paramètres) ========== */
.tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 20px 0 0 0;
    padding: 0 0 0 4px;
    border-bottom: 2px solid #86888C;
}
.tab-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: -2px;
    padding: 10px 18px;
    border: 1px solid #86888C;
    border-bottom: 2px solid #86888C;
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: #5C3596;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tab-link:hover {
    color: #A85BA3;
    border-color: #A85BA3;
}
.tab-link.active {
    background: #F0F0F0;
    color: #A85BA3;
    font-weight: 600;
    border-bottom-color: #F0F0F0;
}
.tab-link .btn-icon {
    width: 16px;
    height: 16px;
    margin-right: 0;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}
.tab-pane .card {
    border-top-left-radius: 0;
}
/* Trace SMTP du mail de test */
.smtp-trace {
    margin: -10px 0 20px 0;
    padding: 10px 15px;
    border: 1px solid #86888C;
    border-radius: 6px;
    background: #F0F0F0;
}
.smtp-trace summary {
    cursor: pointer;
    font-weight: 600;
    color: #5C3596;
}
.smtp-trace pre {
    max-height: 300px;
    overflow: auto;
    margin: 10px 0 0 0;
    padding: 10px;
    border-radius: 4px;
    background: #C3C9D1;
    color: #000000;
    font-size: 11px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
}
/* ========== NOTICE D'UTILISATION (rubriques dépliables d'une carte) ========== */
/* Repliées par défaut : la notice reste consultable sans repousser les commandes
   de la page hors de l'écran. */
.notice {
    margin: 10px 0 0 0;
    padding: 10px 15px;
    border: 1px solid #86888C;
    border-radius: 6px;
}
.notice summary {
    cursor: pointer;
    font-weight: 600;
    color: #5C3596;
}
.notice p, .notice ol, .notice ul, .notice .table-container {
    margin: 10px 0 0 0;
}
.notice ol, .notice ul {
    padding-left: 22px;
}
.notice li {
    margin-bottom: 6px;
}
@media (max-width: 768px) {
    .tab-nav {
        flex-direction: column;
        border-bottom: none;
    }
    .tab-link {
        margin-bottom: 0;
        border-radius: 6px;
        border-bottom: 1px solid #86888C;
    }
    .tab-link.active {
        border-bottom-color: #A85BA3;
    }
    .tab-pane .card {
        border-top-left-radius: 8px;
    }
}

/* ==========================================================================
   PARCOURS EN LIGNE (FollowForm) : portail des stagiaires, aperçu et studio.
   Les couleurs viennent du paramétrage (thème clair ou sombre) ; un parcours peut remplacer
   l'accent par sa propre couleur (LmsStyleVariables, FollowForm/include/lms.php).
   ========================================================================== */
:root {
	--lms-accent: #A85BA3;
	--lms-accent2: #5C3596;
	--lms-texte: #506167;
	--lms-carte: #F0F0F0;
	--lms-doux: #FEF7F1;
	--lms-bord: #86888C;
	--lms-alerte: #FF6A6A;
	--lms-jaune: #F2BC00;
	--lms-orange: #ED7D31;
	--lms-titre: #424345;
}
/* ========== Conteneur ========== */
.lms {
	--lms-taille: 1;
	--lms-rayon: 14px;
	--lms-ok: #2e7d32;
	--lms-ko: #c62828;
	--lms-attente: #b26a00;
	--lms-focus: #1a5fd0;
	position: absolute;
	inset: 0 0 0 0;
	overflow-y: auto;
	padding: 16px 24px 48px 8px;
	box-sizing: border-box;
	color: var(--lms-texte);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	font-size: calc(16px * var(--lms-taille));
	line-height: 1.5;
}
.lms *, .lms *::before, .lms *::after { box-sizing: border-box; }
/* Mobile et tablette : la page défile normalement sous l'en-tête du portail. */
.lms.lms-flux { position: static; overflow: visible; padding: 10px 12px 40px; }
.lms-interieur { max-width: 1100px; margin: 0 auto; }
.lms h1 { font-size: 1.7em; margin: .2em 0 .4em; color: var(--lms-titre); line-height: 1.25; }
.lms h2 { font-size: 1.3em; margin: .8em 0 .5em; color: var(--lms-titre); }
.lms h3 { font-size: 1.1em; margin: .6em 0 .3em; }
.lms p, .lms li, .lms label, .lms td, .lms th, .lms summary, .lms a, .lms button, .lms input, .lms select, .lms textarea { font-size: 1em; }
.lms a { color: var(--lms-accent); }
.lms :focus-visible { outline: 3px solid var(--lms-focus); outline-offset: 2px; border-radius: 4px; }
.lms-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.lms-petit { font-size: .85em; opacity: .85; }
.lms-centre { text-align: center; }
.lms-grand-texte { font-size: 1.3em; font-weight: 600; margin: .2em 0 .6em; }
.lms-ico { width: 1.2em; height: 1.2em; vertical-align: -0.2em; flex-shrink: 0; }

/* ========== Barre d'accessibilité ========== */
.lms-barre { display: flex; gap: 6px; justify-content: flex-end; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.lms-outil, .lms-outil-mode select {
	min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 10px; cursor: pointer;
	border: 1px solid var(--lms-bord); background: var(--lms-carte); color: var(--lms-texte); font-weight: 700; font-size: 1em;
	display: inline-flex; align-items: center; justify-content: center;
}
.lms-outil[aria-pressed='true'] { background: var(--lms-accent); color: #fff; }
.lms-outil-mode select { font-weight: 400; }

/* ========== Cartes, en-têtes, fil d'Ariane ========== */
.lms-carte { background: var(--lms-carte); border: 1px solid var(--lms-bord); border-radius: var(--lms-rayon); padding: 18px 20px; margin: 0 0 16px; }
.lms-alerte { border-color: var(--lms-alerte); border-width: 2px; }
.lms-vide { text-align: center; }
.lms-entete { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lms-fil { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 4px 0 6px; font-size: .95em; }
.lms-fil a { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; padding: 6px 4px; }
.lms-titre-section { margin-top: 1.2em; }
.lms-infos summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.lms-infos[open] summary { margin-bottom: .5em; }

/* ========== Gros boutons : pictogramme + texte ========== */
.lms-gros-boutons { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.lms-gros {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	min-height: 110px; padding: 14px 10px; border-radius: var(--lms-rayon); cursor: pointer; text-decoration: none !important;
	border: 2px solid var(--lms-accent); background: var(--lms-carte); color: var(--lms-texte) !important;
	font-size: 1.1em !important; font-weight: 700; text-align: center; transition: transform .15s, box-shadow .15s;
}
.lms-gros:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.lms-gros-principal { background: var(--lms-accent); color: #fff !important; }
.lms-gros-ico { width: 2.4em; height: 2.4em; }
.lms-gros-petit { min-height: 56px; flex-direction: row; font-size: 1em !important; padding: 8px 16px; }
.lms-gros-petit .lms-gros-ico { width: 1.5em; height: 1.5em; }
.lms-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.lms-actions .lms-gros { flex: 1 1 220px; }
.lms-actions-fin { justify-content: center; }
.lms-btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 10px; cursor: pointer;
	border: 2px solid var(--lms-accent); background: var(--lms-accent); color: #fff !important; font-weight: 600; text-decoration: none !important; font-size: 1em;
}
.lms-btn-second { background: var(--lms-carte); color: var(--lms-texte) !important; }
.lms-btn-danger { background: var(--lms-ko); border-color: var(--lms-ko); }
.lms-btn[disabled] { opacity: .5; cursor: not-allowed; }
.lms-btn-lien { background: none; border: 0; color: var(--lms-accent); cursor: pointer; padding: 6px 0; min-height: 44px; display: inline-flex; gap: 6px; align-items: center; text-decoration: underline; font-size: 1em; }

/* ========== Progression ========== */
.lms-barre-prog { height: 14px; border-radius: 7px; background: var(--lms-doux); border: 1px solid var(--lms-bord); overflow: hidden; }
.lms-barre-prog span { display: block; height: 100%; background: var(--lms-accent); border-radius: 7px; }
.lms-progression-texte { margin: .4em 0 0; font-weight: 600; }
.lms-progression-compacte .lms-barre-prog { height: 10px; }
.lms-etoiles { display: flex; gap: 4px; flex-wrap: wrap; }
.lms-etoiles svg { width: 2em; height: 2em; }
.lms-etoile-pleine svg { fill: var(--lms-jaune); stroke: var(--lms-orange); }
.lms-etoile-vide svg { stroke: var(--lms-bord); }
.lms-bravo { color: var(--lms-ok); display: flex; gap: 10px; align-items: center; }
.lms-bravo-carte { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 1.15em; color: var(--lms-ok); border-color: var(--lms-ok); }

/* ========== Liste des parcours ========== */
.lms-grille-parcours { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.lms-carte-parcours {
	display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--lms-rayon); text-decoration: none !important;
	background: var(--lms-carte); border: 2px solid var(--lms-bord); color: var(--lms-texte) !important; min-height: 160px;
}
.lms-carte-parcours:hover { border-color: var(--lms-accent); }
.lms-carte-parcours img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; }
.lms-carte-parcours-picto svg { width: 3em; height: 3em; color: var(--lms-accent); }
.lms-carte-parcours-titre { font-weight: 700; font-size: 1.15em; }
.lms-reprise { border-width: 2px; border-color: var(--lms-accent); }

/* ========== Modules et tuiles d'activités ========== */
.lms-module h2 { border-bottom: 2px solid var(--lms-doux); padding-bottom: .3em; }
.lms-tuiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.lms-tuile {
	position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px; border-radius: var(--lms-rayon);
	background: var(--lms-carte); border: 2px solid var(--lms-bord); color: var(--lms-texte) !important; text-decoration: none !important;
}
a.lms-tuile:hover { border-color: var(--lms-accent); transform: translateY(-2px); }
.lms-tuile-suivante { border-color: var(--lms-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lms-accent) 25%, transparent); }
.lms-tuile-faite { opacity: .85; }
.lms-tuile-verrou { opacity: .55; cursor: not-allowed; }
.lms-tuile-titre { font-weight: 700; }
.lms-tuile-infos { font-size: .85em; opacity: .85; }
.lms-vignette-img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; }
.lms-vignette-picto { background: var(--lms-doux); color: var(--lms-accent); }
.lms-vignette-picto svg { width: 36px; height: 36px; }
.lms-statut { display: inline-flex; align-items: center; gap: 5px; font-size: .85em; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: var(--lms-doux); width: fit-content; }
.lms-statut svg { width: 1.1em; height: 1.1em; }
.lms-statut-ok { color: var(--lms-ok); }
.lms-statut-echec { color: var(--lms-ko); }
.lms-statut-attente { color: var(--lms-attente); }
.lms-statut-encours { color: var(--lms-accent); }
.lms-statut-verrou { color: var(--lms-texte); }

/* ========== Lecteur d'activité ========== */
.lms-activite-entete { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.lms-activite-entete > div { flex: 1 1 260px; }
.lms-activite-entete h1 { margin: 0; }
.lms-activite-entete p { margin: 0; }
.lms-activite-vignette { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; }
.lms-activite-vignette svg { width: 40px; height: 40px; }
.lms-consigne { background: var(--lms-doux); border-left: 6px solid var(--lms-accent); border-radius: var(--lms-rayon); padding: 14px 18px; margin: 0 0 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.lms-consigne-texte { flex: 1 1 300px; font-size: 1.1em; }
.lms-contenu img { max-width: 100%; height: auto; border-radius: 8px; }
.lms-contenu table { border-collapse: collapse; }
.lms-contenu td, .lms-contenu th { border: 1px solid var(--lms-bord); padding: 6px 8px; }
.lms-video, .lms-audio { width: 100%; max-height: 70vh; border-radius: 12px; background: #000; }
.lms-audio { background: transparent; }
.lms-cadre-video { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.lms-cadre-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lms-pdf { width: 100%; height: 75vh; border: 1px solid var(--lms-bord); border-radius: 12px; background: #fff; }
.lms-image { max-width: 100%; border-radius: 12px; }
.lms-chapitres ol { padding-left: 1.2em; }
.lms-nav-activites { display: grid; grid-template-columns: 1fr auto auto 1fr; gap: 10px; align-items: center; margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--lms-bord); }
.lms-nav-activites > :last-child { justify-self: end; }
.lms-retour { margin: 12px 0; }
.lms-retour:empty { display: none; }
.lms-avis { text-align: center; margin: 16px 0; }
.lms-avis-etoiles { display: inline-flex; gap: 4px; }
.lms-avis-etoiles button { background: none; border: 0; cursor: pointer; min-width: 48px; min-height: 48px; color: var(--lms-bord); }
.lms-avis-etoiles button svg { width: 32px; height: 32px; }
.lms-avis-etoiles button[aria-checked='true'] svg, .lms-avis-etoiles button.lms-allume svg { fill: var(--lms-jaune); stroke: var(--lms-orange); }

/* ========== Cartes de mémorisation ========== */
.lms-flash { width: 100%; min-height: 220px; border-radius: var(--lms-rayon); border: 2px solid var(--lms-accent); background: var(--lms-carte); color: var(--lms-texte); font-size: 1.6em; font-weight: 700; cursor: pointer; padding: 20px; }
.lms-flash .lms-flash-verso { display: none; color: var(--lms-accent); }
.lms-flash.lms-retournee .lms-flash-recto { display: none; }
.lms-flash.lms-retournee .lms-flash-verso { display: inline; }

/* ========== Quiz ========== */
.lms-quiz-question { background: var(--lms-carte); border: 2px solid var(--lms-bord); border-radius: var(--lms-rayon); padding: 18px 20px; }
.lms-quiz-entete { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.lms-quiz-points { display: flex; gap: 6px; flex-wrap: wrap; }
.lms-quiz-points span { width: 14px; height: 14px; border-radius: 50%; background: var(--lms-doux); border: 1px solid var(--lms-bord); }
.lms-quiz-points span.lms-repondu { background: var(--lms-accent); }
.lms-quiz-points span.lms-courant { outline: 3px solid var(--lms-accent); outline-offset: 1px; }
.lms-chrono { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.lms-chrono.lms-urgent { color: var(--lms-ko); }
.lms-enonce { font-size: 1.2em; font-weight: 600; margin: .2em 0 .8em; }
.lms-question-image { max-width: 100%; max-height: 260px; border-radius: 10px; display: block; margin: 0 auto 12px; }
.lms-question-audio { display: block; width: 100%; max-width: 420px; margin: 0 0 12px; }
.lms-choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.lms-choix label {
	display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 14px; border: 2px solid var(--lms-bord); border-radius: 12px; cursor: pointer; background: var(--lms-carte);
}
.lms-choix label:has(input:checked) { border-color: var(--lms-accent); background: var(--lms-doux); }
.lms-choix input { width: 24px; height: 24px; flex-shrink: 0; accent-color: var(--lms-accent); }
.lms-choix img { max-width: 100%; max-height: 140px; border-radius: 8px; }
.lms-choix-image label { flex-direction: column; text-align: center; }
.lms-trou { display: inline-block; min-width: 8em; max-width: 100%; padding: 6px 8px; margin: 2px 4px; border: 2px solid var(--lms-bord); border-radius: 8px; font-size: 1em; background: var(--lms-carte); color: var(--lms-texte); }
.lms-texte-trous { line-height: 2.4; font-size: 1.1em; }
.lms-assoc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.lms-assoc select, .lms select, .lms textarea, .lms input[type='text'], .lms input[type='number'] {
	min-height: 48px; padding: 8px 10px; border: 2px solid var(--lms-bord); border-radius: 10px; font-size: 1em; background: var(--lms-carte); color: var(--lms-texte); width: 100%; font-family: inherit;
}
.lms-ordre { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lms-ordre li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 2px solid var(--lms-bord); border-radius: 10px; background: var(--lms-carte); }
.lms-ordre li span { flex: 1; }
.lms-ordre button { min-width: 44px; min-height: 44px; border-radius: 8px; border: 1px solid var(--lms-bord); background: var(--lms-doux); cursor: pointer; color: var(--lms-texte); }
.lms-etoiles, .lms-note10 { display: flex; flex-wrap: wrap; gap: 6px; }
.lms-etoiles label { font-size: 2.6em; line-height: 1; cursor: pointer; color: var(--lms-bord); padding: 0 2px; border-radius: 8px; }
.lms-etoiles label.lms-allume { color: #f5a623; }
.lms-note10 label { min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--lms-bord); border-radius: 10px; font-weight: 700; font-size: 1.1em; cursor: pointer; background: var(--lms-carte); }
.lms-note10 label.lms-allume { border-color: var(--lms-accent); background: var(--lms-accent); color: #fff; }
.lms-etoiles label:has(input:focus-visible), .lms-note10 label:has(input:focus-visible) { outline: 3px solid var(--lms-accent); outline-offset: 2px; }
.lms-vf { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lms-vf label { justify-content: center; font-size: 1.2em; font-weight: 700; }
.lms-quiz-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.lms-resultat { text-align: center; }
.lms-resultat-score { font-size: 2.6em; font-weight: 800; margin: .1em 0; }
.lms-resultat-ok { color: var(--lms-ok); }
.lms-resultat-ko { color: var(--lms-ko); }
.lms-correction { text-align: left; margin-top: 12px; }
.lms-correction li { margin-bottom: 10px; }
.lms-juste { color: var(--lms-ok); font-weight: 600; }
.lms-faux { color: var(--lms-ko); font-weight: 600; }

/* ========== Dépôts, productions, grilles ========== */
.lms-depot-zone { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px; border: 3px dashed var(--lms-accent); border-radius: var(--lms-rayon); cursor: pointer; text-align: center; font-weight: 700; }
.lms-depot-zone input { font-size: .9em; max-width: 100%; }
.lms-production { white-space: normal; background: var(--lms-doux); border-radius: 10px; padding: 10px 14px; margin: 6px 0; }
.lms-commentaire { border-left: 4px solid var(--lms-accent); margin: 8px 0; padding: 6px 12px; background: var(--lms-doux); border-radius: 0 10px 10px 0; }
.lms-commentaire .lms-commentaire-auteur { display: block; font-size: .85em; opacity: .8; margin-top: 4px; }
.lms-historique { list-style: none; padding: 0; }
.lms-historique li { padding: 10px 0; border-bottom: 1px solid var(--lms-doux); }
.lms-grille { width: 100%; border-collapse: collapse; }
.lms-grille th, .lms-grille td { border-bottom: 1px solid var(--lms-bord); padding: 10px 6px; text-align: center; }
.lms-grille th[scope='row'] { text-align: left; font-weight: 500; }
.lms-case { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.lms-case input { width: 24px; height: 24px; accent-color: var(--lms-accent); }
.lms-choix-aide { border: 0; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lms-choix-aide legend { font-weight: 700; margin-bottom: 8px; }
.lms-gros-choix { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px; border: 2px solid var(--lms-bord); border-radius: 12px; cursor: pointer; text-align: center; font-weight: 600; }
.lms-gros-choix:has(input:checked) { border-color: var(--lms-accent); background: var(--lms-doux); }
.lms-gros-choix input { position: absolute; opacity: 0; }

/* ========== Fenêtres (aide, tutoriel) ========== */
.lms-modale, .lms-tuto { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.lms-modale[hidden], .lms-tuto[hidden] { display: none; }
.lms-modale-boite, .lms-tuto-boite { position: relative; background: var(--lms-carte); color: var(--lms-texte); border-radius: var(--lms-rayon); padding: 24px; width: min(560px, 100%); max-height: 92vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.35); font-size: calc(16px * var(--lms-taille, 1)); }
.lms-modale-boite h2 { display: flex; gap: 10px; align-items: center; margin-top: 0; }
.lms-modale-boite textarea { width: 100%; min-height: 100px; padding: 10px; border: 2px solid var(--lms-bord); border-radius: 10px; font: inherit; }
.lms-modale-fermer { position: absolute; top: 10px; right: 10px; min-width: 44px; min-height: 44px; border: 0; background: var(--lms-doux); border-radius: 50%; cursor: pointer; color: var(--lms-texte); }
.lms-tuto-boite { text-align: center; }
.lms-tuto-ico { width: 72px; height: 72px; color: var(--lms-accent); }
.lms-tuto-pied { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.lms-tuto-points { display: inline-flex; gap: 6px; }
.lms-tuto-points i { width: 10px; height: 10px; border-radius: 50%; background: var(--lms-doux); border: 1px solid var(--lms-bord); }
.lms-tuto-points i.lms-actif { background: var(--lms-accent); }
.lms-retour-msg:empty { display: none; }
.lms-message-ok { color: var(--lms-ok); font-weight: 600; }
.lms-message-ko { color: var(--lms-ko); font-weight: 600; }

/* ========== Mode simplifié : moins d'informations, plus grand ========== */
.lms-mode-simplifie { font-size: calc(18px * var(--lms-taille)); }
.lms-mode-simplifie .lms-tuile-infos, .lms-mode-simplifie .lms-infos { display: none; }
.lms-mode-simplifie .lms-tuiles { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ========== Mode enfant : navigation visuelle, sans le menu ========== */
.lms-mode-enfant { font-size: calc(20px * var(--lms-taille)); }
body.lms-corps-enfant nav:has(#menu), body.lms-corps-enfant #reduit, body.lms-corps-enfant #menu { display: none !important; }
body.lms-corps-enfant #content { left: 0 !important; padding: 0 !important; }
.lms-mode-enfant .lms-gros { min-height: 140px; border-width: 3px; border-radius: 24px; }
.lms-mode-enfant .lms-gros-ico { width: 3.2em; height: 3.2em; }
.lms-mode-enfant .lms-tuiles { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.lms-mode-enfant .lms-tuile { align-items: center; text-align: center; border-width: 3px; border-radius: 24px; padding: 18px; }
.lms-mode-enfant .lms-vignette-img { width: 110px; height: 110px; border-radius: 20px; }
.lms-mode-enfant .lms-vignette-picto svg { width: 64px; height: 64px; }
.lms-mode-enfant .lms-tuile-infos, .lms-mode-enfant .lms-petit, .lms-mode-enfant .lms-fil a:not(:first-child) { display: none; }
.lms-mode-enfant .lms-choix label { min-height: 90px; font-size: 1.15em; border-width: 3px; border-radius: 18px; }
.lms-mode-enfant .lms-btn { min-height: 60px; border-radius: 16px; }
.lms-mode-enfant .lms-enonce { font-size: 1.35em; }

/* ========== Contraste renforcé ========== */
.lms-contraste, .lms-contraste .lms-carte, .lms-contraste .lms-tuile, .lms-contraste .lms-gros, .lms-contraste .lms-quiz-question, .lms-contraste .lms-choix label, .lms-contraste .lms-carte-parcours, .lms-contraste .lms-modale-boite, .lms-contraste .lms-tuto-boite, .lms-contraste .lms-flash {
	--lms-accent: #ffd400; --lms-texte: #ffffff; --lms-carte: #000000; --lms-doux: #1d1d1d; --lms-bord: #ffffff; --lms-titre: #ffffff; --lms-ok: #7CFC00; --lms-ko: #ff8a80; --lms-attente: #ffd180; --lms-focus: #00e5ff;
	background-color: #000; color: #fff;
}
.lms-contraste .lms-gros-principal, .lms-contraste .lms-btn { color: #000 !important; }
.lms-contraste .lms-btn-second { color: #fff !important; }
.lms-contraste a { color: #ffd400; }

/* ========== Studio, suivi, pilotage (FollowForm) ========== */
/* Placé dans le .bloc commun aux pages de l'application, qui le positionne et le fait défiler. */
.lms-studio { font-size: 14px; color: var(--lms-texte); }
.lms-studio .lms-carte { padding: 16px 18px; }
.lms-studio h2:not(.card-title) { font-size: 20px; margin: 4px 0 12px; color: var(--lms-titre); }
.lms-studio h3:not(.card-title) { font-size: 16px; margin: 6px 0 8px; }
.lms-studio table.lms-tableau { width: 100%; border-collapse: collapse; }
.lms-tableau th, .lms-tableau td { padding: 8px 10px; border-bottom: 1px solid var(--lms-doux); text-align: left; vertical-align: top; font-size: 13px; }
.lms-tableau th { font-weight: 700; background: var(--lms-doux); position: sticky; top: 0; }
.lms-tableau tr:hover td { background: color-mix(in srgb, var(--lms-doux) 50%, transparent); }
.lms-onglets { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 2px solid var(--lms-doux); margin-bottom: 14px; }
.lms-onglets a { padding: 10px 14px; border-radius: 10px 10px 0 0; text-decoration: none; color: var(--lms-texte); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.lms-onglets a.lms-actif { background: var(--lms-accent); color: #fff; }
.lms-ligne { display: flex; gap: 12px; flex-wrap: wrap; }
.lms-ligne > * { flex: 1 1 220px; }
.lms-champ { margin-bottom: 12px; }
.lms-champ label, .lms-champ .lms-label { display: block; font-weight: 600; margin-bottom: 4px; }
.lms-champ .lms-aide-champ { font-size: 12px; opacity: .8; margin-top: 3px; }
.lms-studio .form-input, .lms-studio .form-select, .lms-studio .form-textarea { font-size: 14px; }
/* Cartes du socle (card, card-header, card-title) : le pictogramme du LMS est dessiné au trait,
   la règle .picto du socle le remplirait. */
.card > svg.picto.lms-picto { fill: none; stroke: var(--lms-accent); stroke-width: 1.5; }
details.card > summary.card-header { cursor: pointer; display: block; }
details.card:not([open]) > summary.card-header { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
fieldset.card { min-width: 0; }
/* Fenêtres du studio, déplacées sous <body> à l'ouverture (lms_studio.js) pour être centrées. */
body > .lms-modale { --lms-rayon: 14px; font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; line-height: 1.5; }
body > .lms-modale h2 { font-size: 18px; color: var(--lms-titre); }
body > .lms-modale .form-input, body > .lms-modale .form-select, body > .lms-modale .form-textarea { font-size: 14px; width: 100%; }
.lms-module-studio { border: 1px solid var(--lms-bord); border-radius: 12px; margin-bottom: 14px; background: var(--lms-carte); }
.lms-module-studio > .lms-module-tete { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--lms-doux); border-radius: 12px 12px 0 0; flex-wrap: wrap; }
.lms-module-studio > .lms-module-tete h3 { flex: 1; margin: 0; }
.lms-liste-activites { list-style: none; margin: 0; padding: 6px; min-height: 30px; }
.lms-liste-activites li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; background: var(--lms-carte); }
.lms-liste-activites li + li { margin-top: 4px; }
.lms-liste-activites li:hover { border-color: var(--lms-bord); }
.lms-liste-activites li.lms-glisse { opacity: .4; }
.lms-liste-activites li.lms-cible { border-color: var(--lms-accent); border-style: dashed; }
.lms-poignee { cursor: grab; color: var(--lms-bord); display: inline-flex; }
.lms-act-titre { flex: 1; min-width: 160px; }
.lms-act-titre a { font-weight: 600; text-decoration: none; }
.lms-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; background: var(--lms-doux); white-space: nowrap; }
.lms-badge-accent { background: var(--lms-accent); color: #fff; }
.lms-badge-ok { background: #e8f5e9; color: #1b5e20; }
.lms-badge-ko { background: #ffebee; color: #b71c1c; }
.lms-badge-attente { background: #fff3e0; color: #8a4b00; }
.lms-icone-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 34px; border-radius: 8px; border: 1px solid var(--lms-bord); background: var(--lms-carte); cursor: pointer; color: var(--lms-texte); text-decoration: none; }
.lms-icone-btn:hover { border-color: var(--lms-accent); color: var(--lms-accent); }
.lms-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.lms-type-choix { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 2px solid var(--lms-bord); border-radius: 12px; cursor: pointer; background: var(--lms-carte); text-align: left; color: var(--lms-texte); font-size: 13px; }
.lms-type-choix:hover, .lms-type-choix:focus-visible { border-color: var(--lms-accent); }
.lms-type-choix strong { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.lms-type-choix svg { width: 22px; height: 22px; color: var(--lms-accent); }
.lms-famille { font-weight: 700; margin: 12px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.lms-editeur-barre { display: flex; gap: 4px; flex-wrap: wrap; padding: 6px; border: 1px solid var(--lms-bord); border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--lms-doux); }
.lms-editeur-barre button { min-width: 34px; min-height: 32px; border: 1px solid var(--lms-bord); background: var(--lms-carte); border-radius: 6px; cursor: pointer; color: var(--lms-texte); font-weight: 700; }
.lms-editeur { min-height: 220px; max-height: 60vh; overflow-y: auto; padding: 12px; border: 1px solid var(--lms-bord); border-radius: 0 0 10px 10px; background: var(--lms-carte); color: var(--lms-texte); font-size: 15px; line-height: 1.5; }
.lms-editeur:focus { outline: 2px solid var(--lms-accent); }
.lms-editeur img { max-width: 100%; }
.lms-question-studio { border: 1px solid var(--lms-bord); border-radius: 12px; padding: 12px; margin-bottom: 10px; background: var(--lms-carte); }
.lms-question-studio .lms-question-tete { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.lms-question-studio .lms-question-tete strong { flex: 1; }
.lms-ligne-choix { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.lms-ligne-choix input[type='text'] { flex: 1; }
.lms-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.lms-kpi { background: var(--lms-carte); border: 1px solid var(--lms-bord); border-radius: 12px; padding: 14px 16px; }
.lms-kpi span { display: block; font-size: 12px; opacity: .8; }
.lms-kpi strong { display: block; font-size: 24px; line-height: 1.2; color: var(--lms-titre); margin-top: 4px; }
.lms-kpi-alerte strong { color: var(--lms-ko); }
.lms-barres { display: flex; flex-direction: column; gap: 8px; }
.lms-barre-ligne { display: grid; grid-template-columns: minmax(120px, 240px) 1fr 60px; gap: 10px; align-items: center; font-size: 13px; }
.lms-barre-ligne .lms-barre-prog { height: 16px; }
.lms-alerte-ligne { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; margin: 2px 0; }
.lms-alerte-danger { color: var(--lms-ko); }
.lms-alerte-warning { color: var(--lms-attente); }
.lms-alerte-ligne svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }
.lms-journal { list-style: none; padding: 0; margin: 0; }
.lms-journal li { padding: 8px 0; border-bottom: 1px solid var(--lms-doux); font-size: 13px; }
.lms-journal li pre { white-space: pre-wrap; font-family: inherit; margin: 4px 0 0; }
.lms-flash-msg { padding: 10px 14px; border-radius: 10px; margin-bottom: 12px; font-weight: 600; }
.lms-flash-ok { background: #e8f5e9; color: #1b5e20; }
.lms-flash-ko { background: #ffebee; color: #b71c1c; }
.lms-flash-info { background: var(--lms-doux); }
.lms-code-affiche { font-family: Consolas, monospace; font-size: 34px; letter-spacing: .25em; font-weight: 800; text-align: center; padding: 10px; border: 2px dashed var(--lms-accent); border-radius: 12px; }
.lms-qr { display: block; width: 220px; height: 220px; margin: 10px auto; background: #fff; padding: 8px; border-radius: 8px; }
.lms-qualiopi-critere, .lms-qualiopi-critere:hover { border-left: 6px solid var(--lms-bord); }
.lms-qualiopi-ok, .lms-qualiopi-ok:hover { border-left-color: var(--lms-ok); }
.lms-qualiopi-partiel, .lms-qualiopi-partiel:hover { border-left-color: var(--lms-attente); }
.lms-qualiopi-manque, .lms-qualiopi-manque:hover { border-left-color: var(--lms-ko); }
.lms-apercu-bandeau { background: var(--lms-jaune); color: #000; padding: 8px 14px; border-radius: 10px; margin-bottom: 10px; font-weight: 700; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.lms-apercu-bandeau a { color: #000; }
.lms-apercu-cadre { position: relative; min-height: 70vh; border: 2px dashed var(--lms-jaune); border-radius: 14px; }
/* Aperçu stagiaire : page opaque, comme le portail. Le .bloc translucide laisserait voir l'image de
   fond à travers les questions et les choix, blancs, qui paraîtraient gris. */
.bloc:has(.lms-apercu-cadre) { opacity: 1; filter: none; }
.lms-apercu-cadre .lms { position: relative; inset: auto; overflow: visible; }

/* ========== Petits écrans ========== */
@media (max-width: 760px) {
	.lms { padding: 10px 12px 40px; }
	.lms-gros-boutons { grid-template-columns: 1fr 1fr; }
	.lms-gros { min-height: 96px; }
	.lms-nav-activites { grid-template-columns: 1fr 1fr; }
	.lms-assoc { grid-template-columns: 1fr; }
	.lms-choix-aide { grid-template-columns: 1fr; }
	.lms-barre-ligne { grid-template-columns: 1fr 60px; }
	.lms-barre-ligne .lms-barre-prog { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
	.lms *, .lms *::before, .lms *::after { transition: none !important; animation: none !important; }
}
.lms-vignette-mini { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; }
.lms-vignette-mini svg { width: 22px; height: 22px; }
/* En-tête du mode enfant : Accueil et Quitter, côte à côte, compacts. */
.lms-entete .lms-actions { margin: 0; }
.lms-entete .lms-actions .lms-gros { flex: 0 0 auto; }
.lms-mode-enfant .lms-gros-petit { min-height: 64px; border-radius: 18px; }
.lms-mode-enfant .lms-gros-petit .lms-gros-ico { width: 1.8em; height: 1.8em; }
.lms .lms-flash { font-size: 2em; }
.lms-mode-enfant .lms-flash { font-size: 2.6em; min-height: 260px; }
.lms-gros[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.lms-mode-enfant .lms-fil { display: none; }

/* ========== Priorité sur les règles générales ==========
   Plus haut, #content p et #content a sont fixés à 15 px et les liens colorés : dans le LMS, la
   taille suit le réglage A- / A+ du stagiaire, et les classes du LMS gardent la main. */
#content .lms :is(p, li, label, td, th, summary, a, button, input, select, textarea) { font-size: 1em; }
.lms .lms-petit, #content .lms .lms-petit { font-size: .85em; }
.lms .lms-grand-texte, #content .lms .lms-grand-texte { font-size: 1.3em; }
.lms .lms-enonce, #content .lms .lms-enonce { font-size: 1.2em; }
.lms-mode-enfant .lms-enonce, #content .lms-mode-enfant .lms-enonce { font-size: 1.35em; }
.lms .lms-resultat-score, #content .lms .lms-resultat-score { font-size: 2.6em; }
.lms .lms-texte-trous, #content .lms .lms-texte-trous { font-size: 1.1em; }
.lms .lms-vf label, #content .lms .lms-vf label { font-size: 1.2em; }
.lms-mode-enfant .lms-choix label, #content .lms-mode-enfant .lms-choix label { font-size: 1.15em; }
.lms .lms-etoiles label, #content .lms .lms-etoiles label { font-size: 2.6em; }
.lms .lms-note10 label, #content .lms .lms-note10 label { font-size: 1.1em; }
#content .lms .lms-fil a { font-size: .95em; }
#content .lms-onglets a { color: var(--lms-texte); font-size: 14px; }
#content .lms-onglets a.lms-actif { color: #fff; }
#content .lms-carte-parcours, #content .lms-tuile { font-size: 1em; }
