@font-face {
  font-family: "arimo";
  src: url("../font/arimo/font/61b544857df9ad5266379c06f3076e38.eot");
  src: url("../font/arimo/font/61b544857df9ad5266379c06f3076e38.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("../font/arimo/font/61b544857df9ad5266379c06f3076e38.woff2") format("woff2"), /* chrome、firefox */ url("../font/arimo/font/61b544857df9ad5266379c06f3076e38.woff") format("woff"), /* chrome、firefox */ url("../font/arimo/font/61b544857df9ad5266379c06f3076e38.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url("../font/arimo/font/61b544857df9ad5266379c06f3076e38.svg#Arimo") format("svg");
  
  /* IE9*/
  /* iOS 4.1- */
}
@font-face {
  font-family: "adel";
  src: url("../font/abel/abel-v11-latin-regular.eot");
  src: url("../font/abel/abel-v11-latin-regular.eot?#iefix") format("embedded-opentype"), url("../font/abel/abel-v11-latin-regular.woff2") format("woff2"), url("../font/abel/abel-v11-latin-regular.woff") format("woff"), url("../font/abel/abel-v11-latin-regular.ttf") format("truetype"), url("../font/abel/abel-v11-latin-regular.svg") format("svg");
}
@font-face {
  font-family: "inter";
  src: url("../font/inter/inter-v3-latin-regular.eot");
  src: url("../font/inter/inter-v3-latin-regular.eot?#iefix") format("embedded-opentype"), url("../font/inter/inter-v3-latin-regular.woff2") format("woff2"), url("../font/inter/inter-v3-latin-regular.woff") format("woff"), url("../font/inter/inter-v3-latin-regular.ttf") format("truetype"), url("../font/inter/inter-v3-latin-regular.svg") format("svg");
}
/*
@font-face {font-family: "muli";
  src: url("../font/muli/muli.eot"); 
  src: url("../font/muli/muli.eot?#iefix") format("embedded-opentype"), 
  url("../font/muli/muli.woff2") format("woff2"), 
  url("../font/muli/muli.woff") format("woff"), 
  url("../font/muli/muli.ttf") format("truetype"), 
  url("../font/muli/muli.svg") format("svg"); 
}
*/
html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "inter", sans-serif;
  font-size: 16px;
  color: #1c4880;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: #f7fafb;
  border: 0;
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.private_html {
  font-family: "inter", sans-serif;
  font-size: 16px;
}
/*
.bordel{
  height: auto;
  display: flex;
  flex-direction: column;
}
*/
a {
  text-decoration: none;
  color: inherit;
}
* {
  box-sizing: border-box;
}
.cb {
  clear: both;
}
.mobile {
  display: none;
}
.web {
  display: block;
}
.tablette {
  display: block;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  padding: 0;
  margin: 0;
}
.black {
  color: #000000;
}
.vert {
  color: green;
}
.orange {
  color: orange;
}
.rouge {
  color: red;
}
.bold {
  font-weight: bold;
}
.smitalic {
  font-size: 0.9rem;
  font-style: italic;
}
.italic {
  font-style: italic;
}
.pre_line {
  white-space: pre-line;
}
.center {
  text-align: center;
}
.block {
  display: block;
}
.raduis {
  border-radius: 50%;
}
.wrap_main {
  padding: 0 0 0 0;
  display: flex;
  flex: 1 0;
}
.wrap {
  width: 100%;
  padding: 0 0 0 0;
  margin: auto;
}
.wrap_10 {
  width: 100%;
  margin: auto;
  padding: 0 10px 0 10px;
}
.wrap_20 {
  width: 100%;
  margin: auto;
  padding: 0 20px 0 20px;
}
.wrap_960 {
  width: 960px;
  margin: 0 auto;
  padding: 0;
}
.wrap_1024 {
  width: 1024px;
  margin: 0 auto;
  padding: 0;
}
.wrap_1200 {
  width: 1200px;
  margin: 0 auto;
  padding: 0;
}
.wrap_default {
  width: 100%;
  margin: auto;
  padding: 0 1%;
}
.w3 {
  width: 3%;
}
.w5 {
  width: 5%;
}
.w10 {
  width: 10%;
}
.w14 {
  width: 14%;
}
.w15 {
  width: 15%;
}
.w20 {
  width: 20%;
}
.w25 {
  width: 25%;
}
.w28 {
  width: 28%;
}
.w30 {
  width: 30%;
}
.w40 {
  width: 40%;
}
.w45 {
  width: 45%;
}
.w50 {
  width: 50%;
}
.w60 {
  width: 60%;
}
.w70 {
  width: 70%;
}
.w80 {
  width: 80%;
}
.w90 {
  width: 90%;
}
.w100 {
  width: 100%;
}
.mt5px {
  margin-top: 5px;
}
.mt10px {
  margin-top: 10px;
}
.mt20px {
  margin-top: 20px;
}
.mt30px {
  margin-top: 30px;
}
.mt40px {
  margin-top: 40px;
}
.mt50px {
  margin-top: 50px;
}
.mt60px {
  margin-top: 60px;
}
.mt70px {
  margin-top: 70px;
}
.mt80px {
  margin-top: 80px;
}
.mt90px {
  margin-top: 90px;
}
.mt100px {
  margin-top: 100px;
}
.mb5px {
  margin-bottom: 5px;
}
.mb10px {
  margin-bottom: 10px;
}
.mb20px {
  margin-bottom: 20px;
}
.mb30px {
  margin-bottom: 30px;
}
.mb40px {
  margin-bottom: 40px;
}
.mb50px {
  margin-bottom: 50px;
}
.mb60px {
  margin-bottom: 60px;
}
.mb70px {
  margin-bottom: 70px;
}
.mb80px {
  margin-bottom: 80px;
}
.mb90px {
  margin-bottom: 90px;
}
.mb100px {
  margin-bottom: 100px;
}
.mr10px {
  margin-right: 10px;
}
.mr20px {
  margin-right: 20px;
}
.mr30px {
  margin-right: 30px;
}
.mr40px {
  margin-right: 40px;
}
.mr50px {
  margin-right: 50px;
}
.mr60px {
  margin-right: 60px;
}
.mr70px {
  margin-right: 70px;
}
.mr80px {
  margin-right: 80px;
}
.mr90px {
  margin-right: 90px;
}
.mr100px {
  margin-right: 100px;
}
.ml10px {
  margin-left: 10px;
}
.ml20px {
  margin-left: 20px;
}
.ml30px {
  margin-left: 30px;
}
.ml40px {
  margin-left: 40px;
}
.ml50px {
  margin-left: 50px;
}
.ml60px {
  margin-left: 60px;
}
.ml70px {
  margin-left: 70px;
}
.ml80px {
  margin-left: 80px;
}
.ml90px {
  margin-left: 90px;
}
.pr10px {
  padding-right: 10px;
}
.pr20px {
  padding-right: 20px;
}
.pr30px {
  padding-right: 30px;
}
.pr40px {
  padding-right: 40px;
}
.pr50px {
  padding-right: 50px;
}
.pr60px {
  padding-right: 60px;
}
.pr70px {
  padding-right: 70px;
}
.pr80px {
  padding-right: 80px;
}
.pr90px {
  padding-right: 90px;
}
.pr100px {
  padding-right: 100px;
}
.pl10px {
  padding-left: 10px;
}
.pl20px {
  padding-left: 20px;
}
.pl30px {
  padding-left: 30px;
}
.pl40px {
  padding-left: 40px;
}
.pl50px {
  padding-left: 50px;
}
.pl60px {
  padding-left: 60px;
}
.pl70px {
  padding-left: 70px;
}
.pl80px {
  padding-left: 80px;
}
.pl90px {
  padding-left: 90px;
}
.pl100px {
  padding-left: 100px;
}
.pt30px {
  padding-top: 30px;
}
.display_flex,
.flexform,
.flex,
.flex_center,
.flex_colone,
.flex_item-start,
.flex_item-center,
.flex_item-end,
.flex_justify-start,
.flex_justify-end,
.flex_space-between {
  display: flex;
}
.flex_center {
  justify-content: center;
}
.flex_colone {
  flex-direction: column;
}
.flex_item-start {
  align-items: flex-start;
}
.flex_item-center {
  align-items: center;
}
.flex_item-end {
  align-items: flex-end;
}
.flex_justify-end {
  justify-content: flex-end;
}
.flex_justify-start {
  justify-content: flex-start;
}
.flex_space-between {
  justify-content: space-between;
}
.flex_space-around {
  justify-content: space-around;
}
.flex_end {
  display: flex;
  flex: 1 0;
  justify-content: flex-end;
}
.flex_none {
  flex: none;
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table td {
  border-collapse: collapse;
  border: solid 1px rgba(0, 0, 0, 0.1);
}
.vu_control_container {
  position: relative;
}
.vu_control_box {
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
/*** 

  ====================================================================
      notification
  ====================================================================

  ***/
div.message,
div.message_emploi {
  text-align: center;
  cursor: pointer;
  display: block;
  font-weight: normal;
  transition: height 300ms ease-out 0s;
  background-color: #a0d3e8;
  color: #626262;
  z-index: 999;
  overflow: hidden;
  height: auto;
  flex: none;
  padding: 15px 10px;
}
div.message_emploi {
  margin-top: 0px;
}
div.message_emploi h3 {
  display: inline-block;
  color: #1c4880;
  font-size: 1.1rem;
  font-weight: 100;
}
div.message:before,
div.message_emploi:before {
  line-height: 20px;
  font-size: 20px;
  height: 20px;
  width: 20px;
  border-radius: 15px;
  text-align: center;
  vertical-align: center;
  display: inline-block;
  position: relative;
  left: -11px;
  background-color: #FFF;
  content: "i";
  color: #a0d3e8;
}
div.message.error {
  background-color: #C3232D;
  color: #FFF;
  flex: none;
}
div.message.error:before {
  color: #C3232D;
  content: "x";
}
div.message.hidden,
div.message_emploi.hidden {
  height: 0;
  padding: 0;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
}
.notif {
  background-color: #92b94e;
  color: #FFF;
  font-size: 0.6rem;
  border-radius: 50%;
  padding: 1px 3px;
}
.notif_aside_menu {
  background-color: #92b94e;
  color: #FFF;
  font-size: 0.65rem;
  border-radius: 50%;
  padding: 1px 3px;
}
.statutValide,
.statutInvalide {
  border-radius: 5px;
}
.statutValide {
  background-color: #ecffd1;
  color: #268403;
  display: inline;
}
.statutInvalide {
  background-color: #ffd2dd;
  color: #c11b1b;
  display: inline;
}
.colorValide {
  color: #78ab4e;
}
.colorInvalide {
  color: #c11b1b;
}
.colorInfos {
  color: #feb32b;
}
/*** 

  ====================================================================
      pagination
  ====================================================================

  ***/
.paginator {
  text-align: center;
}
.paginator ul.pagination li {
  float: none;
  display: inline-block;
}
.paginator p {
  text-align: right;
  color: rgba(0, 0, 0, 0.54);
}
ul.pagination li a {
  color: rgba(0, 0, 0, 0.54);
}
ul.pagination li.active a {
  background-color: #DCE47E;
  color: #FFF;
  font-weight: bold;
  cursor: default;
}
ul.pagination .disabled:hover a {
  background: none;
}
ul.pagination {
  display: block;
  margin-left: -0.3125rem;
  min-height: 1.5rem;
}
ul.pagination li {
  color: #222;
  font-size: 0.875rem;
  height: 1.5rem;
  margin-left: 0.3125rem;
}
ul.pagination li a,
ul.pagination li button {
  border-radius: 3px;
  transition: background-color 300ms ease-out;
  background: none;
  color: #999;
  display: block;
  font-size: 1em;
  font-weight: normal;
  line-height: inherit;
  padding: 0.0625rem 0.625rem 0.0625rem;
}
.i_bouton_link {
  background-color: #1c4880;
  color: #fff;
  padding: 0 20px;
  height: 35px;
  line-height: 35px;
  border-radius: 5px;
  display: block;
}
.i_bouton_link {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 3px;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  cursor: pointer;
  word-wrap: break-word;
  overflow: hidden;
}
.i_bouton_link i {
  margin-right: 5px;
}
.i_bouton_link:hover {
  background-color: #00aae7;
  color: #fff;
}
.i_bouton_link_a {
  display: block;
  font-size: 0.9rem;
}
.publicHeader {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 90px;
  background-color: transparent;
}
.header_box {
  border-bottom: solid 1px #d5e3ec;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo_box {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.logo_box_a {
  color: #1c4880;
  font-size: 1.8rem;
  font-weight: 600;
}
.logo_box_b {
  color: #00aae7;
  font-size: 1.1rem;
  font-weight: 600;
}
.logo_box i {
  margin: 0 10px 0 0;
}
.i_logo {
  padding: 0;
  margin: 0;
  content: '';
  height: 70px;
  width: 70px;
  background: url(data/icones.png) no-repeat;
  background-position: 0px -528px;
  /* largeur hauteur  */
  display: block;
}
.header_right {
  display: flex;
  align-items: center;
}
.header_nav {
  margin-right: 20px;
}
.header_nav a {
  display: inline-block;
  margin: 0;
  padding: 0 20px ;
  color: #1c4880;
  font-size: 1rem;
  font-weight: 600;
}
.header_nav a i {
  margin-right: 2px;
}
@media only screen and (min-width: 1100px) and (max-width: 1200px) {
  .header_nav a {
    padding: 0 15px ;
  }
  .header_nav a i {
    margin-right: 0px;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1100px) {
  .header_nav a {
    padding: 0 10px ;
  }
  .header_nav a i {
    margin-right: 0px;
  }
}
.header_nav a:hover {
  color: #00aae7;
}
.header_notif_box {
  border-left: solid 1px #d5e3ec;
  margin-left: 20px;
}
.notif_nb_container {
  padding: 0 10px 0 10px;
  display: flex;
  align-items: flex-start;
}
.notif_nb {
  display: inline-block;
  min-width: 12px;
  height: 12px;
  line-height: 12px;
  text-align: center;
  border-radius: 50%;
  font-size: 8px;
}
.notif_nb_rouge {
  background-color: #dc3545;
  color: #fff;
}
.notif_nb_vert {
  background-color: #92b94e;
  color: #fff;
}
.notif_nb_bis {
  background-color: #00aae7;
  color: #fff;
}
.header_auth_nav {
  border-left: solid 1px #d5e3ec;
  padding: 0 0 0 10px;
}
.header_auth_nav a {
  color: #1c4880;
  font-weight: 600;
  display: block;
  cursor: pointer;
}
.header_auth_nav a:hover {
  color: #00aae7;
}
.privateHeader {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 50px;
  background-color: #0e1635;
}
.private_header_box {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.private_logo_box {
  white-space: nowrap;
}
.private_logo_box_a {
  color: #ebf1f7;
  font-weight: normal;
  font-size: 1.5rem;
}
.private_logo_box_b {
  color: #92b94e;
  font-weight: normal;
  font-size: 1.1rem;
}
.private_header_right {
  display: flex;
  align-items: center;
}
.private_header_nav {
  height: 25px;
  line-height: 25px;
  margin-right: 20px;
}
.private_header_nav a {
  display: inline-block;
  margin: 0;
  padding: 0 20px ;
  color: #ebf1f7;
  font-size: 1rem;
  font-weight: normal;
}
.private_header_nav a:hover {
  color: #00aae7;
}
.private_header_auth_nav {
  border-left: solid 1px #d5e3ec;
  padding: 0 0 0 10px;
}
.private_header_auth_nav a {
  font-weight: normal;
  display: block;
  cursor: pointer;
  color: #ebf1f7;
}
.private_header_auth_nav a:hover {
  color: #00aae7;
}
/* ===================================================== */
/*  Sprite d'icônes - 64 icônes de 16 x 16 px          */
/*  Fichier image : icones.png                          */
/* ===================================================== */
.ico {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  vertical-align: middle;
}
.ico-oeil {
  background-position: 0px 0px;
}
.ico-document {
  background-position: -16px 0px;
}
.ico-dossier {
  background-position: -32px 0px;
}
.ico-dossier-open {
  background-position: -48px 0px;
}
.ico-telecharger {
  background-position: -64px 0px;
}
.ico-envoyer {
  background-position: -80px 0px;
}
.ico-email {
  background-position: -96px 0px;
}
.ico-imprimer {
  background-position: -112px 0px;
}
.ico-lien {
  background-position: 0px -16px;
}
.ico-en-ligne {
  background-position: -16px -16px;
}
.ico-valider {
  background-position: -32px -16px;
}
.ico-supprimer {
  background-position: -48px -16px;
}
.ico-modifier {
  background-position: -64px -16px;
}
.ico-ajouter {
  background-position: -80px -16px;
}
.ico-retirer {
  background-position: -96px -16px;
}
.ico-actualiser {
  background-position: -112px -16px;
}
.ico-rechercher {
  background-position: 0px -32px;
}
.ico-calendrier {
  background-position: -16px -32px;
}
.ico-heure {
  background-position: -32px -32px;
}
.ico-utilisateur {
  background-position: -48px -32px;
}
.ico-utilisateurs {
  background-position: -64px -32px;
}
.ico-accueil {
  background-position: -80px -32px;
}
.ico-parametres {
  background-position: -96px -32px;
}
.ico-notification {
  background-position: -112px -32px;
}
.ico-message {
  background-position: 0px -48px;
}
.ico-information {
  background-position: -16px -48px;
}
.ico-attention {
  background-position: -32px -48px;
}
.ico-verrouiller {
  background-position: -48px -48px;
}
.ico-deverrouiller {
  background-position: -64px -48px;
}
.ico-acces {
  background-position: -80px -48px;
}
.ico-liste {
  background-position: -96px -48px;
}
.ico-coche {
  background-position: -112px -48px;
}
.ico-decoche {
  background-position: 0px -64px;
}
.ico-pdf {
  background-position: -16px -64px;
}
.ico-photo {
  background-position: -32px -64px;
}
.ico-appareil-photo {
  background-position: -48px -64px;
}
.ico-montant {
  background-position: -64px -64px;
}
.ico-facture {
  background-position: -80px -64px;
}
.ico-contrat {
  background-position: -96px -64px;
}
.ico-signature {
  background-position: -112px -64px;
}
.ico-travaux {
  background-position: 0px -80px;
}
.ico-electricite {
  background-position: -16px -80px;
}
.ico-telechargement {
  background-position: -32px -80px;
}
.ico-envoi {
  background-position: -48px -80px;
}
.ico-lien-externe {
  background-position: -64px -80px;
}
.ico-favori {
  background-position: -80px -80px;
}
.ico-corbeille {
  background-position: -96px -80px;
}
.ico-lecture {
  background-position: -112px -80px;
}
.ico-pause {
  background-position: 0px -96px;
}
.ico-stop {
  background-position: -16px -96px;
}
.ico-precedent {
  background-position: -32px -96px;
}
.ico-suivant {
  background-position: -48px -96px;
}
.ico-premier {
  background-position: -64px -96px;
}
.ico-dernier {
  background-position: -80px -96px;
}
.ico-haut {
  background-position: -96px -96px;
}
.ico-bas {
  background-position: -112px -96px;
}
.ico-gauche {
  background-position: 0px -112px;
}
.ico-droite {
  background-position: -16px -112px;
}
.ico-tri-asc {
  background-position: -32px -112px;
}
.ico-tri-desc {
  background-position: -48px -112px;
}
.ico-filtre {
  background-position: -64px -112px;
}
.ico-etiquette {
  background-position: -80px -112px;
}
.ico-aide {
  background-position: -96px -112px;
}
.ico-plus {
  background-position: -112px -112px;
}
/* Exemple :
   <span class="ico ico-oeil"></span>
   <span class="ico ico-en-ligne"></span>
   <span class="ico ico-imprimer"></span>
*/
/* ===================================================== */
/*  Extension de la sprite unifiée                       */
/*  Bloc historique 128x128 strictement inchangé         */
/* ===================================================== */
.ico-telephone {
  background-position: -128px 0px;
}
.ico-localisation {
  background-position: -144px 0px;
}
.ico-globe {
  background-position: -160px 0px;
}
.ico-devis {
  background-position: -176px 0px;
}
.ico-chevron-droite {
  background-position: -192px 0px;
}
.ico-chevron-bas {
  background-position: -208px 0px;
}
.ico-plan-site {
  background-position: -224px 0px;
}
.ico-bouclier {
  background-position: -240px 0px;
}
.ico-maison {
  background-position: -256px 0px;
}
.ico-contact {
  background-position: -272px 0px;
}
.ico-prise {
  background-position: -128px -16px;
}
.ico-tableau-electrique {
  background-position: -144px -16px;
}
.ico-casque-chantier {
  background-position: -160px -16px;
}
.ico-outil {
  background-position: -176px -16px;
}
.ico-tournevis {
  background-position: -192px -16px;
}
.ico-ampoule {
  background-position: -208px -16px;
}
.ico-eclair-pro {
  background-position: -224px -16px;
}
.ico-reseau {
  background-position: -240px -16px;
}
.ico-wifi {
  background-position: -256px -16px;
}
.ico-vmc {
  background-position: -272px -16px;
}
.ico-entreprise {
  background-position: -128px -32px;
}
.ico-particulier {
  background-position: -144px -32px;
}
.ico-professionnel {
  background-position: -160px -32px;
}
.ico-public {
  background-position: -176px -32px;
}
.ico-archive {
  background-position: -192px -32px;
}
.ico-avoir {
  background-position: -208px -32px;
}
.ico-paiement {
  background-position: -224px -32px;
}
.ico-carte-bancaire {
  background-position: -240px -32px;
}
.ico-qr-code {
  background-position: -256px -32px;
}
.ico-chantier {
  background-position: -272px -32px;
}
.ico-connexion {
  background-position: -128px -48px;
}
.ico-deconnexion {
  background-position: -144px -48px;
}
.ico-cle {
  background-position: -160px -48px;
}
.ico-mot-de-passe {
  background-position: -176px -48px;
}
.ico-mobile {
  background-position: -192px -48px;
}
.ico-ordinateur {
  background-position: -208px -48px;
}
.ico-synchroniser {
  background-position: -224px -48px;
}
.ico-cloud {
  background-position: -240px -48px;
}
.ico-historique {
  background-position: -256px -48px;
}
.ico-sauvegarde {
  background-position: -272px -48px;
}
.ico-livraison {
  background-position: -128px -64px;
}
label {
  color: #4d4d4d;
  cursor: pointer;
  display: block;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.5;
  margin-bottom: 0;
}
form .error-message {
  display: block;
  padding: 0;
  margin-top: -5px;
  margin-bottom: 20px;
  font-size: 0.84rem;
  font-weight: normal;
  font-style: italic;
  color: rgba(0, 0, 0, 0.54);
}
.required > label {
  font-weight: bold;
}
.required > label:after {
  content: ' *';
  color: #C3232D;
}
.info_input {
  color: #4d4d4d;
  font-style: italic;
  font-size: 0.9rem;
}
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="color"],
input[type="phone"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  background-color: #fff;
  border-style: solid;
  border-width: 1px;
  border-color: #ccc;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.75);
  display: block;
  font-family: inherit;
  font-size: 0.875rem;
  height: 2.3125rem;
  margin: 0 0 1rem 0;
  padding: 0.5rem;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: border-color 0.15s linear, background 0.15s linear;
  -moz-transition: border-color 0.15s linear, background 0.15s linear;
  -ms-transition: border-color 0.15s linear, background 0.15s linear;
  -o-transition: border-color 0.15s linear, background 0.15s linear;
  transition: border-color 0.15s linear, background 0.15s linear;
}
textarea {
  min-height: 40px;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  background-color: #fff;
  border-style: solid;
  border-width: 1px;
  border-color: #ccc;
}
select {
  -webkit-appearance: listbox;
  padding: 0.5rem;
  margin: 0 0 1rem 0;
  font-size: 0.8rem;
  background-color: #fff;
  border-style: solid;
  border-width: 1px;
  border-color: #ccc;
}
.buttonDefault,
form button[type="submit"],
button[type="submit"] {
  box-shadow: none;
  box-sizing: border-box;
  border: none;
  border-radius: 5px;
  color: #ebf1f7;
  font-size: 0.9rem;
  background-color: #1c4880;
  padding: 0 20px;
  height: 50px;
  line-height: 50px;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  cursor: pointer;
}
.buttonDefault:hover,
form button[type="submit"]:hover,
button[type="submit"]:hover {
  background-color: #007095;
  color: #FFF;
}
fieldset {
  border: 1px solid #c0c0c0;
}
.checkbox input {
  display: none;
}
.switch {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0;
  width: 70px;
  height: 20px;
  overflow: hidden;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
}
.switch .switch-container {
  display: inline-block;
  width: 120px;
  height: 20px;
  margin-left: -50px;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
  cursor: pointer;
}
.on,
.off {
  display: inline-block;
  float: left;
  background-color: #27ae60;
  width: 50%;
  height: 20px;
  padding: 2px 0;
  text-align: center;
  color: #FFF;
  font-size: 12px;
  position: relative;
  z-index: 1;
}
.switch .on {
  -moz-border-radius-topleft: 20px;
  -webkit-border-top-left-radius: 20px;
  border-top-left-radius: 20px;
  -moz-border-radius-bottomleft: 20px;
  -webkit-border-bottom-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.switch .off {
  background-color: #e74c3c;
  -moz-border-radius-topright: 20px;
  -webkit-border-top-right-radius: 20px;
  border-top-right-radius: 20px;
  -moz-border-radius-bottomright: 20px;
  -webkit-border-bottom-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
.switch .mid {
  display: inline-block;
  float: left;
  width: 20px;
  height: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
  background-color: #fff;
  margin-left: -10px;
  margin-right: -10px;
  position: relative;
  z-index: 2;
  border: 4px solid #e74c3c;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.switch input:checked + .switch-container {
  margin: 0;
}
.switch input:checked + .switch-container .mid {
  border-color: #27ae60;
}
.checkbox_text {
  padding: 0 0 0 5px;
  height: 20px;
  line-height: 20px;
  cursor: pointer;
}
/*** 

  ====================================================================
      page index
  ====================================================================

***/
.section_home_vu {
  padding: 0 0 100px 0 ;
}
.section_home_vu h1 {
  font-size: 2.3rem;
  font-weight: 600;
  padding: 50px 0 50px 0;
  text-align: center;
}
.section_home {
  padding: 0 0 100px 0 ;
}
.bloc_home {
  padding: 80px 0 ;
}
.head_home {
  padding: 120px 0;
  background-color: #ebf1f7;
}
.head_home h1 {
  font-size: 2.3rem;
  font-weight: 600;
  padding: 0 0 30px 0;
}
.head_home h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #00aae7;
}
.head_home h1,
.head_home h2 {
  text-align: center;
}
.home_text_principal {
  padding: 140px 0 60px 0;
  font-size: 1.2rem;
  line-height: 2.3rem;
}
.art_activite {
  padding: 0 0;
}
.art_activite h3 {
  font-size: 2rem;
  font-weight: 900;
  padding-bottom: 20px;
  text-align: center;
}
.art_activite h4 {
  font-size: 1.4rem;
  font-weight: 900;
  text-align: center;
}
.act_list {
  width: 100%;
  margin: 50px 0 50px 0 ;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  grid-auto-flow: dense;
  column-gap: 20px;
  row-gap: 0px;
  padding: 20px;
  justify-items: center;
  align-items: flex-start;
  font-size: 1.1rem;
}
.li_act_box {
  list-style: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 15px;
}
.li_act_box a {
  padding: 0 0 5px 5px;
  display: inline-block;
  border-bottom: solid 1px #e6eff4;
}
.act_list :hover {
  background-color: #e6eff4;
}
h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong {
  color: #00aae7;
}
.head_page {
  padding: 50px 0 0 0 ;
}
.head_page h1 {
  font-size: 2.1rem;
  font-weight: 900;
  padding: 0;
  text-align: left;
}
.content_page {
  font-size: 1.2rem;
  padding: 0 0 100px 0 ;
  text-align: left;
  line-height: 2.3rem;
}
.content_page h3 {
  font-size: 1.2rem;
  padding: 50px 0 20px 0 ;
  color: #00aae7;
}
.home_photo_box {
  padding: 0px 0 0 0 ;
}
/* ========================================================================== */
/* Catalogue V2 - module Administration                                       */
/* ========================================================================== */
.catalogue-v2 {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.catalogue-v2 * {
  box-sizing: border-box;
}
.catalogue-v2-main {
  width: 100%;
  min-width: 0;
}
.catalogue-v2-section {
  width: 100%;
  min-width: 0;
}
.catalogue-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px 0;
}
.catalogue-header h1 {
  margin: 0 0 6px 0;
  font-size: 1.65rem;
  font-weight: 600;
  color: #1c4880;
}
.catalogue-header p {
  margin: 0;
  color: #5d6972;
  line-height: 1.45;
}
.catalogue-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.catalogue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #d5e3ec;
  border-radius: 7px;
  background: #ffffff;
  color: #1c4880;
  font-size: .88rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.catalogue-btn:hover {
  border-color: #00aae7;
  color: #00aae7;
}
.catalogue-btn-primary {
  background: #00aae7;
  border-color: #00aae7;
  color: #fff;
}
.catalogue-btn-primary:hover {
  color: #fff;
  opacity: .9;
}
.catalogue-btn-danger {
  border-color: #b84949;
  color: #9e3030;
  background: #fff7f7;
}
.catalogue-btn.is-active {
  border-color: #00aae7;
  box-shadow: inset 0 0 0 1px #00aae7;
}
.catalogue-link {
  color: #00aae7;
  text-decoration: none;
  font-size: .88rem;
}
.catalogue-link:hover {
  text-decoration: underline;
}
.catalogue-link.danger {
  color: #a33;
}
.catalogue-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  margin: 0 0 18px 0;
  padding: 8px 0;
  overflow-x: auto;
  white-space: nowrap;
  color: #5d6972;
  font-size: .85rem;
}
.catalogue-breadcrumb a {
  color: #00aae7;
  text-decoration: none;
}
.catalogue-breadcrumb strong {
  color: #1c4880;
  font-weight: 600;
}
.catalogue-searchbar form,
.catalogue-filterbar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
}
.catalogue-searchbar {
  margin: 0 0 22px 0;
}
.catalogue-searchbar .input,
.catalogue-filterbar .input {
  margin: 0;
  flex: 1 1 auto;
}
.catalogue-searchbar input,
.catalogue-filterbar input,
.catalogue-filterbar select {
  width: 100%;
  min-height: 38px;
  margin: 0;
  border-radius: 7px;
}
.catalogue-filterbar {
  margin-bottom: 16px;
}
.catalogue-filterbar .input:nth-child(2) {
  flex: 0 1 360px;
}
.catalogue-filterbar .input:nth-child(3) {
  flex: 0 1 190px;
}
.catalogue-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
  margin: 0 0 28px 0;
}
.catalogue-summary > div {
  padding: 15px;
  border: 1px solid #d5e3ec;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 2px 5px #d8e1e8;
}
.catalogue-summary strong {
  display: block;
  font-size: 1.45rem;
  color: #1c4880;
}
.catalogue-summary span {
  display: block;
  margin-top: 3px;
  color: #5d6972;
  font-size: .84rem;
}
.catalogue-subtoolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 9px 0;
  margin: 24px 0 12px 0;
  border-bottom: 1px solid #d5e3ec;
}
.catalogue-subtoolbar h2 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  color: #1c4880;
}
.catalogue-subtoolbar > div {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.catalogue-count {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 12px;
  background: #ebf1f7;
  color: #5d6972;
  font-size: .78rem;
}
.catalogue-folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  width: 100%;
}
.catalogue-folder-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.catalogue-folder-card {
  min-width: 0;
  border: 1px solid #d5e3ec;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 2px 5px #d8e1e8;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.catalogue-folder-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px #d8e1e8;
}
.catalogue-folder-card.is-archived {
  opacity: .62;
}
.catalogue-folder-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.catalogue-folder-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 145px;
  background: #fff;
  overflow: hidden;
}
.catalogue-folder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalogue-folder-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 12px;
}
.catalogue-folder-content h3 {
  display: -webkit-box;
  min-height: 2.35em;
  max-height: 2.35em;
  margin: 0 0 6px 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #1c4880;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.18;
}
.catalogue-folder-content p {
  margin: auto 0 0 0;
  color: #5d6972;
  font-size: .78rem;
  line-height: 1.35;
}
.catalogue-badge {
  display: inline-block;
  margin-top: 7px;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: .72rem;
}
.catalogue-badge.muted {
  background: #eceff1;
  color: #68757d;
}
.catalogue-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 16px;
  width: 100%;
}
.catalogue-product-card {
  min-width: 0;
  position: relative;
  border: 1px solid #d5e3ec;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 2px 5px #d8e1e8;
  overflow: hidden;
}
.catalogue-product-card.is-archived {
  opacity: .6;
}
.catalogue-product-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.catalogue-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  background: #fff;
  overflow: hidden;
}
.catalogue-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.catalogue-product-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 13px;
}
.catalogue-product-content h3 {
  display: -webkit-box;
  min-height: 3.55em;
  max-height: 3.55em;
  margin: 0 0 8px 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: .89rem;
  font-weight: 600;
  line-height: 1.18;
  color: #1c4880;
}
.catalogue-reference {
  margin: 0 0 8px 0;
  color: #5d6972;
  font-size: .8rem;
}
.catalogue-path-mini {
  margin: 0 0 8px 0;
  color: #00aae7;
  font-size: .76rem;
}
.catalogue-product-footer {
  margin-top: auto;
  padding-top: 10px;
}
.catalogue-stock {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 600;
}
.catalogue-stock.success {
  background: #eaf6e8;
  color: #32723a;
}
.catalogue-stock.warning {
  background: #fff3d9;
  color: #8b6300;
}
.catalogue-stock.danger {
  background: #fde8e8;
  color: #9d3333;
}
.catalogue-stock.unknown {
  background: #edf0f2;
  color: #66727a;
}
.catalogue-stock.big {
  padding: 8px 12px;
  font-size: .95rem;
}
.catalogue-select-product {
  display: block;
  padding: 7px 10px;
  border-bottom: 1px solid #d5e3ec;
  background: #fafafa;
  font-size: .75rem;
  color: #5d6972;
}
.catalogue-bulkbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 15px 0;
  padding: 10px;
  border: 1px solid #d5e3ec;
  border-radius: 8px;
  background: #fafafa;
}
.catalogue-bulkbar .input {
  margin: 0;
  min-width: 260px;
  flex: 1 1 320px;
}
.catalogue-bulkbar select {
  margin: 0;
  min-height: 38px;
  width: 100%;
}
.catalogue-product-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid #d5e3ec;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.catalogue-product-row {
  display: grid;
  grid-template-columns: 42px 72px minmax(260px, 2fr) minmax(160px, 1fr) 110px 110px;
  gap: 10px;
  align-items: center;
  min-height: 76px;
  padding: 8px 12px;
  border-bottom: 1px solid #d5e3ec;
}
.catalogue-product-row:last-child {
  border-bottom: 0;
}
.catalogue-product-row.is-archived {
  opacity: .6;
}
.catalogue-row-image img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.catalogue-row-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.catalogue-row-main a {
  color: #1c4880;
  text-decoration: none;
}
.catalogue-row-main span,
.catalogue-row-folder,
.catalogue-row-stock,
.catalogue-row-price {
  color: #5d6972;
  font-size: .82rem;
}
.catalogue-form-page {
  max-width: 1250px;
  margin: 0 auto;
}
.catalogue-form {
  width: 100%;
}
.catalogue-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  gap: 16px;
  width: 100%;
}
.catalogue-form-grid.two-thirds {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
}
.catalogue-form-card,
.catalogue-section-card,
.catalogue-info-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #d5e3ec;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 2px 5px #d8e1e8;
  margin-bottom: 16px;
}
.catalogue-form-card h2,
.catalogue-section-card h2,
.catalogue-info-card h2 {
  margin: 0 0 15px 0;
  font-size: 1.05rem;
  color: #1c4880;
}
.catalogue-form-card .input,
.catalogue-document-form .input {
  margin-bottom: 14px;
}
.catalogue-form-card input[type="text"],
.catalogue-form-card input[type="number"],
.catalogue-form-card select,
.catalogue-form-card textarea,
.catalogue-document-form input,
.catalogue-document-form select {
  width: 100%;
}
.catalogue-form-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.catalogue-form-columns.three {
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 0.7fr) minmax(240px, 1.2fr);
}
.catalogue-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 0 0;
}
.catalogue-form-actions.compact {
  margin-top: 8px;
}
.catalogue-help {
  margin: 7px 0 0 0;
  color: #5d6972;
  font-size: .78rem;
  line-height: 1.45;
}
.catalogue-current-image img {
  max-width: 260px;
  max-height: 190px;
  object-fit: contain;
}
.catalogue-pdf-options {
  max-width: 650px;
}
.catalogue-product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}
.catalogue-product-gallery {
  min-width: 0;
}
.catalogue-main-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 15px;
  border: 1px solid #d5e3ec;
  border-radius: 9px;
  background: #fff;
}
.catalogue-main-photo img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}
.catalogue-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 9px;
}
.catalogue-thumb {
  padding: 7px;
  border: 1px solid #d5e3ec;
  border-radius: 7px;
  background: #fff;
}
.catalogue-thumb.is-main {
  border-color: #00aae7;
}
.catalogue-thumb > img {
  display: block;
  width: 100%;
  height: 82px;
  object-fit: contain;
}
.catalogue-thumb-actions {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin-top: 5px;
  font-size: .7rem;
}
.catalogue-inline-upload {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed #d5e3ec;
  border-radius: 7px;
  background: #fafafa;
}
.catalogue-inline-upload .input {
  margin-bottom: 8px;
}
.catalogue-product-info {
  min-width: 0;
}
.catalogue-info-card dl {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
  gap: 8px 14px;
  margin: 0;
}
.catalogue-info-card dt {
  color: #5d6972;
}
.catalogue-info-card dd {
  margin: 0;
  color: #1c4880;
  font-weight: 500;
  word-break: break-word;
}
.catalogue-info-card.stock-card p {
  margin: 10px 0 0 0;
  color: #5d6972;
  font-size: .82rem;
}
.catalogue-description {
  margin: 0;
  line-height: 1.55;
  color: #1c4880;
}
.catalogue-documents-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.catalogue-documents-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #d5e3ec;
}
.catalogue-documents-list article:last-child {
  border-bottom: 0;
}
.catalogue-documents-list article > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.catalogue-documents-list span {
  color: #5d6972;
  font-size: .78rem;
}
.catalogue-document-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.catalogue-document-actions .catalogue-btn {
  min-height: 32px;
  padding: 6px 9px;
  font-size: .76rem;
}
.catalogue-document-form {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #d5e3ec;
}
.catalogue-stock-history {
  width: 100%;
  overflow-x: auto;
}
.catalogue-stock-row {
  display: grid;
  grid-template-columns: 130px 100px 90px 90px 90px minmax(220px, 1fr);
  gap: 8px;
  min-width: 800px;
  padding: 8px;
  border-bottom: 1px solid #d5e3ec;
  font-size: .78rem;
}
.catalogue-stock-row.header {
  background: #f5f6f7;
  font-weight: 600;
  color: #1c4880;
}
.catalogue-stock-row:not(.header) {
  color: #5d6972;
}
.catalogue-empty {
  padding: 30px 15px;
  text-align: center;
  color: #5d6972;
  border: 1px dashed #d5e3ec;
  border-radius: 8px;
  background: #fafafa;
}
.catalogue-empty.small {
  padding: 16px;
}
.catalogue-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 22px 0 0 0;
}
.catalogue-pagination a,
.catalogue-pagination span {
  display: inline-flex;
  min-width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border: 1px solid #d5e3ec;
  border-radius: 5px;
  background: #fff;
  color: #1c4880;
  text-decoration: none;
}
.catalogue-danger-zone {
  display: flex;
  justify-content: flex-end;
  padding: 25px 0 5px 0;
  margin-top: 25px;
  border-top: 1px solid #d5e3ec;
}
@media (max-width: 1024px) {
  .catalogue-v2-section {
    width: 100%;
    max-width: none;
    padding: 10px;
  }
  .catalogue-header {
    flex-direction: column;
  }
  .catalogue-actions {
    justify-content: flex-start;
  }
  .catalogue-summary {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
  .catalogue-form-grid,
  .catalogue-form-grid.two-thirds,
  .catalogue-product-detail {
    grid-template-columns: 1fr;
  }
  .catalogue-product-row {
    grid-template-columns: 38px 65px minmax(220px, 2fr) 120px 100px;
  }
  .catalogue-row-price {
    display: none;
  }
}
@media (max-width: 650px) {
  .catalogue-v2-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px;
  }
  .catalogue-header {
    gap: 12px;
    margin-bottom: 15px;
  }
  .catalogue-header h1 {
    font-size: 1.35rem;
  }
  .catalogue-actions {
    width: 100%;
  }
  .catalogue-actions .catalogue-btn {
    flex: 1 1 auto;
  }
  .catalogue-searchbar form,
  .catalogue-filterbar {
    flex-direction: column;
    align-items: stretch;
  }
  .catalogue-filterbar .input:nth-child(2),
  .catalogue-filterbar .input:nth-child(3) {
    flex: auto;
    width: 100%;
  }
  .catalogue-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .catalogue-summary > div {
    padding: 11px;
  }
  .catalogue-folder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .catalogue-folder-image {
    height: 112px;
  }
  .catalogue-folder-content {
    padding: 9px;
  }
  .catalogue-folder-content h3 {
    min-height: 2.35em;
    max-height: 2.35em;
    font-size: .82rem;
  }
  .catalogue-folder-content p {
    font-size: .7rem;
  }
  .catalogue-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .catalogue-product-image {
    height: 125px;
  }
  .catalogue-product-content {
    padding: 9px;
  }
  .catalogue-product-content h3 {
    min-height: 3.55em;
    max-height: 3.55em;
    font-size: .79rem;
  }
  .catalogue-reference {
    font-size: .72rem;
  }
  .catalogue-stock {
    font-size: .67rem;
    padding: 3px 6px;
  }
  .catalogue-form-card,
  .catalogue-section-card,
  .catalogue-info-card {
    padding: 12px;
  }
  .catalogue-form-columns,
  .catalogue-form-columns.three {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .catalogue-form-actions {
    justify-content: stretch;
  }
  .catalogue-form-actions .catalogue-btn {
    flex: 1 1 100%;
  }
  .catalogue-main-photo {
    min-height: 250px;
  }
  .catalogue-documents-list article {
    align-items: flex-start;
    flex-direction: column;
  }
  .catalogue-document-actions {
    width: 100%;
  }
  .catalogue-document-actions .catalogue-btn {
    flex: 1 1 auto;
  }
  .catalogue-bulkbar {
    align-items: stretch;
    flex-direction: column;
  }
  .catalogue-bulkbar .input {
    min-width: 0;
    width: 100%;
  }
  .catalogue-product-list {
    border: 0;
    background: transparent;
    gap: 8px;
  }
  .catalogue-product-row {
    grid-template-columns: 34px 58px minmax(0, 1fr);
    min-width: 0;
    border: 1px solid #d5e3ec;
    border-radius: 7px;
    background: #fff;
  }
  .catalogue-row-folder,
  .catalogue-row-stock,
  .catalogue-row-price {
    grid-column: 3;
  }
}
@media (max-width: 390px) {
  .catalogue-folder-grid,
  .catalogue-product-grid {
    grid-template-columns: 1fr;
  }
  .catalogue-folder-image {
    height: 150px;
  }
  .catalogue-product-image {
    height: 165px;
  }
}
/* ========================================================================== */
/* Catalogue V2 - navigation contextuelle / consultation / PDF               */
/* ========================================================================== */
.catalogue-aside-menu li.is-active > a {
  background-color: #e8f3fb;
  color: #00aae7;
  border-right: 4px solid #00aae7;
}
.catalogue-aside-menu .catalogue-menu-sector > a {
  font-weight: 700;
}
.catalogue-aside-menu .catalogue-menu-sector:not(.is-active) > a {
  background-color: #f4f7f9;
}
.catalogue-consultation-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.catalogue-consultation-price {
  color: #1c4880;
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
}
.catalogue-product-detail-consultation .catalogue-product-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.catalogue-thumbnails-consultation .catalogue-thumb {
  cursor: default;
}
.catalogue-pdf-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.catalogue-check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid #d5e3ec;
  border-radius: 7px;
  background: #fafafa;
  color: #1c4880;
  cursor: pointer;
}
.catalogue-check-option input[type="checkbox"] {
  display: inline-block;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  opacity: 1;
  visibility: visible;
  position: static;
  vertical-align: middle;
  cursor: pointer;
}
.catalogue-check-option span {
  display: inline-block;
  font-size: .9rem;
  line-height: 1.25;
}
@media (max-width: 650px) {
  .catalogue-consultation-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .catalogue-check-option {
    min-height: 40px;
    padding: 8px 10px;
  }
}
/* Catalogue consultation - informations produit compactes */
.catalogue-info-card-compact .catalogue-compact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.catalogue-info-card-compact .catalogue-compact-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px 18px;
  max-width: 100%;
}
.catalogue-info-card-compact .catalogue-compact-row span {
  color: #5d6972;
  min-width: 155px;
}
.catalogue-info-card-compact .catalogue-compact-row strong {
  color: #1c4880;
  font-weight: 600;
  word-break: break-word;
}
@media (max-width: 650px) {
  .catalogue-info-card-compact .catalogue-compact-row {
    gap: 3px;
  }
  .catalogue-info-card-compact .catalogue-compact-row span,
  .catalogue-info-card-compact .catalogue-compact-row strong {
    flex: 1 1 100%;
    min-width: 0;
  }
}
/* ========================================================================== 
   MODULE CHANTIERS V15.3.3
   PC + tablette + mobile dans un seul fichier.
   ========================================================================== */
.chantier-module {
  padding-bottom: 50px;
}
.chantier-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: solid 1px #d5e3ec;
}
.chantier-search-form,
.chantier-client-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  margin: 0;
}
.chantier-search-field {
  flex: 1;
  min-width: 240px;
}
.chantier-filter-field {
  width: 190px;
}
.chantier-search-form .input,
.chantier-client-search .input {
  margin: 0;
}
.chantier-search-form input,
.chantier-search-form select,
.chantier-client-search input {
  margin: 0;
}
.chantier-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border: solid 1px #d5e3ec;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.2;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chantier-btn-primary {
  background: #1c4880;
  border-color: #1c4880;
  color: #fff;
}
.chantier-btn-primary:hover {
  background: #00aae7;
  border-color: #00aae7;
  color: #fff;
}
.chantier-btn-secondary {
  background: #fff;
  color: #1c4880;
}
.chantier-btn-secondary:hover {
  background: rgba(0, 0, 0, 0.04);
}
.chantier-btn-danger {
  background: #fff;
  color: #8a2d2d;
  border-color: rgba(138, 45, 45, 0.35);
}
.chantier-empty {
  margin-top: 25px;
  padding: 35px 25px;
  border: solid 1px #d5e3ec;
  background: #fff;
  text-align: center;
}
.chantier-empty strong {
  display: block;
  margin-bottom: 7px;
  color: #1c4880;
  font-size: 1.05rem;
}
.chantier-empty p {
  margin: 0;
}
/* Liste administration ---------------------------------------------------- */
.chantier-list {
  margin-top: 25px;
  border-top: solid 1px #d5e3ec;
  border-left: solid 1px #d5e3ec;
  border-right: solid 1px #d5e3ec;
  background: #fff;
}
.chantier-list-head,
.chantier-list-row {
  display: grid;
  grid-template-columns: 125px minmax(200px, 1.4fr) minmax(200px, 1.3fr) 110px minmax(145px, 0.9fr) 110px 110px 120px;
  align-items: center;
  column-gap: 12px;
}
.chantier-list-head {
  padding: 11px 14px;
  background: rgba(0, 0, 0, 0.04);
  border-bottom: solid 1px #d5e3ec;
  color: #1c4880;
  font-size: .78rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.chantier-list-row {
  min-height: 82px;
  padding: 13px 14px;
  border-bottom: solid 1px #d5e3ec;
  font-size: .9rem;
}
.chantier-list-row:hover {
  background: rgba(0, 0, 0, 0.018);
}
.chantier-list-row > div {
  min-width: 0;
}
.chantier-col-reference strong,
.chantier-col-client strong,
.chantier-col-montant strong {
  display: block;
  color: #1c4880;
}
.chantier-col-reference span,
.chantier-col-client span,
.chantier-col-adresse span {
  display: block;
  margin-top: 3px;
  color: #00aae7;
  font-size: .82rem;
}
.chantier-col-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}
.chantier-action,
.chantier-action-link {
  color: #1c4880;
  text-decoration: none;
  font-size: .85rem;
}
.chantier-action:hover,
.chantier-action-link:hover {
  text-decoration: underline;
}
.chantier-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 0;
  border: solid 1px #d5e3ec;
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.chantier-action-icon:hover {
  background: rgba(0, 0, 0, 0.045);
  border-color: rgba(0, 0, 0, 0.18);
}
.chantier-action-icon.is-online {
  border-color: rgba(138, 45, 45, 0.22);
}
.chantier-action-icon.is-offline {
  border-color: rgba(45, 130, 75, 0.25);
}
.chantier-muted {
  color: #00aae7;
  font-style: italic;
}
/* Badges ---------------------------------------------------------------- */
.chantier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 13px;
  white-space: nowrap;
  font-size: .76rem;
  font-weight: bold;
}
.chantier-badge-online {
  background: rgba(45, 130, 75, 0.1);
  color: #246a3c;
  border: solid 1px rgba(45, 130, 75, 0.25);
}
.chantier-badge-offline {
  background: rgba(0, 0, 0, 0.055);
  color: #00aae7;
  border: solid 1px #d5e3ec;
}
.chantier-badge-status {
  background: rgba(0, 0, 0, 0.04);
  color: #1c4880;
  border: solid 1px #d5e3ec;
}
.chantier-status-en_cours,
.chantier-status-planifie {
  background: rgba(36, 95, 135, 0.08);
  border-color: rgba(36, 95, 135, 0.22);
}
.chantier-status-termine {
  background: rgba(45, 130, 75, 0.1);
  color: #246a3c;
  border-color: rgba(45, 130, 75, 0.25);
}
.chantier-status-suspendu,
.chantier-status-annule {
  background: rgba(138, 45, 45, 0.08);
  color: #7b2929;
  border-color: rgba(138, 45, 45, 0.22);
}
/* Avancement ------------------------------------------------------------- */
.chantier-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: .82rem;
}
.chantier-progress-track {
  position: relative;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.09);
}
.chantier-progress-track-large {
  height: 12px;
}
.chantier-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: block;
  max-width: 100%;
  border-radius: inherit;
  background: #00aae7;
}
.chantier-progress-preview {
  margin-top: 8px;
}
/* Fiche chantier --------------------------------------------------------- */
.chantier-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  border-bottom: solid 1px #d5e3ec;
}
.chantier-tabs::-webkit-scrollbar {
  display: none;
}
.chantier-tab {
  flex: none;
  padding: 9px 13px;
  border-radius: 4px;
  color: #1c4880;
  text-decoration: none;
  white-space: nowrap;
  font-size: .88rem;
}
.chantier-tab:hover,
.chantier-tab.is-active {
  background: rgba(0, 0, 0, 0.055);
}
.chantier-tab.is-active {
  font-weight: bold;
}
.chantier-tab.is-disabled {
  color: #00aae7;
  cursor: default;
  opacity: .7;
}
.chantier-tab small {
  margin-left: 4px;
  font-size: .7rem;
}
.chantier-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  padding: 24px;
  background: #fff;
  border: solid 1px #d5e3ec;
  border-radius: 4px;
}
.chantier-hero-main {
  min-width: 0;
}
.chantier-reference {
  display: inline-block;
  margin-bottom: 6px;
  color: #00aae7;
  font-size: .8rem;
  font-weight: bold;
  text-transform: uppercase;
}
.chantier-hero h1 {
  margin: 0 0 8px 0;
  color: #1c4880;
  font-size: 1.55rem;
}
.chantier-hero p {
  margin: 0;
  color: #00aae7;
}
.chantier-hero-actions,
.chantier-footer-actions,
.chantier-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.chantier-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 15px;
}
.chantier-summary-card,
.chantier-card {
  background: #fff;
  border: solid 1px #d5e3ec;
  border-radius: 4px;
}
.chantier-summary-card {
  padding: 18px;
}
.chantier-summary-card span {
  display: block;
  margin-bottom: 6px;
  color: #00aae7;
  font-size: .78rem;
  text-transform: uppercase;
}
.chantier-summary-card strong {
  color: #1c4880;
  font-size: 1.05rem;
}
.chantier-linked-card {
  padding-bottom: 20px;
}
.chantier-counter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.chantier-counter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-width: 0;
  padding: 15px 16px;
  border: solid 1px #d5e3ec;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.015);
  color: #1c4880;
}
.chantier-counter-card span {
  color: #00aae7;
  font-size: .84rem;
}
.chantier-counter-card strong {
  font-size: 1.3rem;
  color: #1c4880;
}
.chantier-counter-link {
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.chantier-counter-link:hover {
  background: rgba(0, 0, 0, 0.045);
  border-color: rgba(0, 0, 0, 0.18);
}
.chantier-card {
  margin-top: 15px;
  padding: 22px;
}
.chantier-card h2 {
  margin: 0 0 15px 0;
  color: #1c4880;
  font-size: 1.05rem;
}
.chantier-card p {
  margin-top: 0;
  line-height: 1.55;
}
.chantier-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.chantier-card-head h2 {
  margin-bottom: 5px;
}
.chantier-card-head p {
  margin: 0;
  color: #00aae7;
  font-size: .86rem;
}
.chantier-card-head > strong {
  color: #1c4880;
  font-size: 1.35rem;
}
.chantier-two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.chantier-details {
  margin: 0;
}
.chantier-details > div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 15px;
  padding: 8px 0;
  border-bottom: solid 1px rgba(0, 0, 0, 0.06);
}
.chantier-details > div:last-child {
  border-bottom: 0;
}
.chantier-details dt {
  color: #00aae7;
  font-size: .82rem;
}
.chantier-details dd {
  margin: 0;
  color: #1c4880;
}
.chantier-card-internal {
  border-style: dashed;
  background: rgba(0, 0, 0, 0.018);
}
.chantier-card-internal small {
  color: #00aae7;
}
.chantier-footer-actions,
.chantier-form-actions {
  margin-top: 20px;
}
/* Formulaire ------------------------------------------------------------- */
.chantier-form {
  width: 100%;
}
/*
 * Grille dédiée au formulaire d’édition.
 * On utilise 12 colonnes afin de garder des proportions propres sans
 * dépendre des anciennes règles de formulaire du site.
 */
.chantier-edit-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px 20px;
  width: 100%;
}
.chantier-field {
  min-width: 0;
}
.chantier-field-name {
  grid-column: -1 !important;
  width: 100% !important;
  min-width: 0;
  justify-self: stretch;
  float: none !important;
}
.chantier-field-name label,
.chantier-field-name input {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.chantier-field-name label:after {
  content: ' *';
  color: #C3232D;
}
.chantier-span-3 {
  grid-column: span 3;
}
.chantier-span-4 {
  grid-column: span 4;
}
.chantier-span-6 {
  grid-column: span 6;
}
.chantier-span-8 {
  grid-column: span 8;
}
.chantier-span-12 {
  grid-column: -1;
}
/* Neutralise les anciennes règles globales qui pouvaient décaler les controls. */
.chantier-form .chantier-field .input {
  display: block;
  float: none;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
}
.chantier-form .chantier-field label {
  display: block;
  float: none;
  width: auto;
  margin: 0 0 6px 0;
}
.chantier-form .chantier-field input,
.chantier-form .chantier-field select,
.chantier-form .chantier-field textarea {
  display: block;
  float: none;
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
}
.chantier-form .chantier-field input,
.chantier-form .chantier-field select {
  min-height: 40px;
}
.chantier-form .chantier-field textarea {
  min-height: 125px;
  padding: 9px 10px;
  resize: vertical;
}
.chantier-field small {
  display: block;
  margin-top: 6px;
  color: #00aae7;
}
/* Datepicker chantier ------------------------------------------------------ */
.chantier-datepicker-control {
  position: relative;
  width: 100%;
}
.chantier-form .chantier-datepicker-control input {
  width: 100%;
  padding-right: 38px;
  cursor: pointer;
}
.chantier-datepicker-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  margin-top: -8px;
  pointer-events: none;
}
#ui-datepicker-div {
  z-index: 9999 !important;
}
/* Espace client ---------------------------------------------------------- */
.chantier-client-search {
  max-width: 620px;
  margin: 20px 0;
}
.chantier-client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 5px;
}
.chantier-client-card {
  padding: 22px;
  background: #fff;
  border: solid 1px #d5e3ec;
  border-radius: 4px;
}
.chantier-client-card-head,
.chantier-client-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.chantier-client-card-head > span:first-child {
  color: #00aae7;
  font-size: .8rem;
  font-weight: bold;
}
.chantier-client-card h2 {
  margin: 15px 0 8px 0;
  color: #1c4880;
  font-size: 1.15rem;
}
.chantier-client-card p {
  min-height: 42px;
  margin: 0 0 20px 0;
  color: #00aae7;
  line-height: 1.45;
}
.chantier-client-card-footer {
  margin-top: 18px;
}
.chantier-client-card-footer strong {
  color: #1c4880;
}
/* Tablette --------------------------------------------------------------- */
@media screen and (max-width: 1180px) {
  .chantier-list-head {
    display: none;
  }
  .chantier-list {
    border: 0;
    background: transparent;
  }
  .chantier-list-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
    margin-bottom: 14px;
    padding: 18px;
    background: #fff;
    border: solid 1px #d5e3ec;
    border-radius: 4px;
  }
  .chantier-list-row > div {
    position: relative;
    padding-top: 17px;
  }
  .chantier-list-row > div:before {
    content: attr(data-label);
    position: absolute;
    top: 0;
    left: 0;
    color: #00aae7;
    font-size: .68rem;
    font-weight: bold;
    text-transform: uppercase;
  }
  .chantier-col-actions {
    justify-content: flex-start;
  }
  .chantier-summary-grid,
  .chantier-counter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 980px) {
  .chantier-edit-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .chantier-span-3,
  .chantier-span-4 {
    grid-column: span 3;
  }
  .chantier-span-6,
  .chantier-span-8,
  .chantier-span-12 {
    grid-column: -1;
  }
}
/* Mobile ----------------------------------------------------------------- */
@media screen and (max-width: 760px) {
  .chantier-edit-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .chantier-span-3,
  .chantier-span-4,
  .chantier-span-6,
  .chantier-span-8,
  .chantier-span-12 {
    grid-column: auto;
  }
  .chantier-toolbar,
  .chantier-search-form,
  .chantier-client-search,
  .chantier-hero,
  .chantier-card-head {
    align-items: stretch;
    flex-direction: column;
  }
  .chantier-toolbar {
    gap: 12px;
  }
  .chantier-search-field,
  .chantier-filter-field,
  .chantier-client-search {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .chantier-list-row,
  .chantier-summary-grid,
  .chantier-counter-grid,
  .chantier-two-columns,
  .chantier-client-grid {
    grid-template-columns: 1fr;
  }
  .chantier-hero,
  .chantier-card,
  .chantier-summary-card,
  .chantier-client-card {
    padding: 17px;
  }
  .chantier-hero-actions,
  .chantier-form-actions,
  .chantier-footer-actions {
    justify-content: stretch;
  }
  .chantier-hero-actions .chantier-btn,
  .chantier-form-actions .chantier-btn,
  .chantier-footer-actions .chantier-btn,
  .chantier-toolbar > .chantier-btn {
    width: 100%;
  }
  .chantier-details > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .chantier-summary-grid-client {
    grid-template-columns: 1fr 1fr;
  }
  .chantier-client-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media screen and (max-width: 430px) {
  .chantier-summary-grid-client {
    grid-template-columns: 1fr;
  }
}
/* ========================================================================== 
   V15.4.1 - Fiche chantier client plus compacte
   ========================================================================== */
.chantier-module-client .chantier-summary-grid-client {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.chantier-module-client .chantier-summary-grid-client .chantier-summary-card {
  min-height: 0;
  padding: 11px 13px;
}
.chantier-module-client .chantier-summary-grid-client .chantier-summary-card span {
  margin-bottom: 3px;
  font-size: .7rem;
}
.chantier-module-client .chantier-summary-grid-client .chantier-summary-card strong {
  font-size: .96rem;
}
.chantier-module-client .chantier-progress-card {
  margin-top: 10px;
  padding: 13px 15px;
}
.chantier-module-client .chantier-progress-card .chantier-card-head {
  margin-bottom: 8px;
}
@media screen and (max-width: 980px) {
  .chantier-module-client .chantier-summary-grid-client {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 430px) {
  .chantier-module-client .chantier-summary-grid-client {
    grid-template-columns: 1fr;
  }
}
/* ========================================================================== 
   V15.4.2 - Navigation chantier mobile horizontale
   ========================================================================== */
@media screen and (max-width: 760px) {
  .chantier-tabs {
    flex-wrap: nowrap;
    gap: 2px;
    margin-left: -4px;
    margin-right: -4px;
    padding: 0 4px 9px;
    scroll-snap-type: x proximity;
  }
  .chantier-tab {
    scroll-snap-align: start;
    padding: 9px 11px;
    font-size: .82rem;
  }
}
/* ========================================================================== 
   V15.4.7 - Liste Mes chantiers plus compacte
   ========================================================================== */
.chantier-client-list-head {
  display: block;
  padding: 10px 0 22px;
  border-bottom: solid 1px #d5e3ec;
}
.chantier-client-list-title {
  min-width: 0;
}
.chantier-client-list-title h1 {
  margin: 0;
  color: #1c4880;
  font-size: 1.55rem;
  line-height: 1.15;
}
.chantier-client-list-title p {
  margin: 5px 0 0;
  color: #00aae7;
  font-size: .88rem;
  line-height: 1.4;
}
.chantier-client-search-row {
  margin-top: 16px;
}
.chantier-client-list-head .chantier-client-search {
  width: 100%;
  max-width: 520px;
  margin: 0;
}
.chantier-client-list-head + .chantier-client-grid {
  padding-top: 20px;
}
.chantier-client-card h2 {
  font-size: 1.02rem;
}
.chantier-client-card p {
  font-size: .86rem;
  line-height: 1.4;
}
@media screen and (max-width: 760px) {
  .chantier-client-list-head {
    padding-bottom: 15px;
  }
  .chantier-client-list-title h1 {
    font-size: 1.35rem;
  }
  .chantier-client-list-head .chantier-client-search {
    max-width: none;
  }
}
/* ==========================================================================
   V15.4.10 - Alignement final de la recherche Mes chantiers
   ========================================================================== */
.chantier-client-list-head {
  padding-bottom: 12px;
}
.chantier-client-search-row {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  margin-top: 0;
  padding: 16px 0 20px;
  border-bottom: 0;
  box-sizing: border-box;
}
.chantier-client-search-row .chantier-client-search {
  flex: 0 0 520px;
  width: 520px;
  max-width: 100%;
  margin: 0 0 0 auto;
}
.chantier-client-search-row + .chantier-client-grid {
  padding-top: 22px;
}
.chantier-client-card-footer {
  justify-content: flex-end;
}
@media screen and (max-width: 760px) {
  .chantier-client-search-row {
    justify-content: stretch;
    padding: 12px 0 16px;
  }
  .chantier-client-search-row .chantier-client-search {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
}
/* ========================================================================== 
   CHANTIERS - PHOTOS / DOCUMENTS / ENVOIS V15.4
   PC + tablette + mobile dans un seul fichier.
   ========================================================================== */
.chantier-files-module .chantier-card {
  margin-top: 22px;
}
.chantier-inline-form {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin: 0;
}
.chantier-inline-form-main {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.5fr);
  gap: 16px;
  flex: 1;
}
.chantier-inline-form-main .input,
.chantier-upload-form .input,
.chantier-send-form .input,
.chantier-item-settings .input {
  margin: 0;
}
.chantier-upload-form {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}
.chantier-upload-form input[type="file"] {
  flex: 1;
  min-width: 0;
  padding: 10px;
  border: 1px dashed #d5e3ec;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.018);
}
/* Dossiers ---------------------------------------------------------------- */
.chantier-folder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.chantier-folder-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid #d5e3ec;
  border-radius: 5px;
  background: #fff;
}
.chantier-folder-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}
.chantier-folder-card h2 {
  margin: 4px 0 0;
  color: #1c4880;
  font-size: 1.05rem;
}
.chantier-folder-card > p {
  min-height: 42px;
  margin: 12px 0 16px;
  color: #00aae7;
  font-size: .88rem;
  line-height: 1.45;
}
.chantier-folder-kind {
  color: #00aae7;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.chantier-folder-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: auto;
  padding: 12px 0;
  border-top: 1px solid #d5e3ec;
}
.chantier-folder-count strong {
  color: #1c4880;
  font-size: 1.55rem;
}
.chantier-folder-count span {
  color: #00aae7;
  font-size: .82rem;
}
.chantier-folder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
/* Sélection / galerie ------------------------------------------------------ */
.chantier-selection-form {
  margin: 0;
}
.chantier-selection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0 14px;
  padding: 14px 16px;
  border: 1px solid #d5e3ec;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.02);
}
.chantier-selection-toolbar strong,
.chantier-selection-toolbar span {
  display: block;
}
.chantier-selection-toolbar strong {
  color: #1c4880;
}
.chantier-selection-toolbar span {
  margin-top: 3px;
  color: #00aae7;
  font-size: .82rem;
}
.chantier-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.chantier-photo-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d5e3ec;
  border-radius: 5px;
  background: #fff;
}
.chantier-select-box {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  color: #00aae7;
}
.chantier-photo-card > .chantier-select-box {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9399999999999999);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
}
.chantier-select-box input {
  margin: 0;
}
.chantier-photo-preview {
  display: block;
  width: 100%;
  aspect-ratio: 1.33333333;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.035);
}
.chantier-photo-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chantier-photo-body {
  padding: 13px;
}
.chantier-photo-body > strong {
  display: block;
  overflow: hidden;
  color: #1c4880;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chantier-photo-body > span {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #00aae7;
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chantier-photo-body > p {
  margin: 8px 0;
  color: #00aae7;
  font-size: .84rem;
  line-height: 1.45;
}
.chantier-item-settings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #d5e3ec;
}
.chantier-item-settings label {
  font-size: .75rem;
}
.chantier-item-settings input,
.chantier-item-settings select {
  width: 100%;
  margin: 0;
}
.chantier-item-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.chantier-link-danger {
  color: #8a2d2d;
}
/* Documents --------------------------------------------------------------- */
.chantier-virtual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.chantier-virtual-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #d5e3ec;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.012);
}
.chantier-virtual-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.chantier-virtual-title strong {
  color: #1c4880;
}
.chantier-virtual-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.055);
  color: #1c4880;
  font-size: .78rem;
  font-weight: bold;
}
.chantier-virtual-link,
.chantier-virtual-card em {
  display: block;
  margin: 6px 0;
  overflow: hidden;
  color: #00aae7;
  font-size: .82rem;
  line-height: 1.4;
  text-overflow: ellipsis;
}
.chantier-virtual-link {
  color: #1c4880;
  text-decoration: none;
}
.chantier-virtual-link:hover {
  text-decoration: underline;
}
.chantier-document-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chantier-document-row {
  display: grid;
  grid-template-columns: 115px minmax(220px, 1fr) auto 75px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #d5e3ec;
  border-radius: 4px;
  background: #fff;
}
.chantier-document-main {
  min-width: 0;
}
.chantier-document-main strong {
  display: block;
  color: #1c4880;
}
.chantier-document-main span {
  display: block;
  margin-top: 4px;
  color: #00aae7;
  font-size: .78rem;
}
.chantier-document-main p {
  margin: 6px 0 0;
  color: #00aae7;
  font-size: .82rem;
}
.chantier-document-actions {
  white-space: nowrap;
}
.chantier-document-settings {
  grid-column: -1;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) auto;
  align-items: end;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #d5e3ec;
}
.chantier-document-delete {
  grid-column: 4;
  grid-row: 1;
  text-align: right;
}
.chantier-document-list-client .chantier-document-row {
  grid-template-columns: minmax(220px, 1fr) auto;
}
/* E-mail ------------------------------------------------------------------ */
.chantier-send-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 20px;
  align-items: start;
}
.chantier-send-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chantier-send-form input,
.chantier-send-form select,
.chantier-send-form textarea {
  width: 100%;
}
.chantier-send-form textarea {
  min-height: 210px;
  resize: vertical;
}
.chantier-send-form small {
  display: block;
  margin-top: 5px;
  color: #00aae7;
  font-size: .75rem;
}
.chantier-send-mode {
  padding: 13px 15px;
  border: 1px solid #d5e3ec;
  border-left: 4px solid #00aae7;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.018);
}
.chantier-send-mode strong,
.chantier-send-mode span {
  display: block;
}
.chantier-send-mode strong {
  color: #1c4880;
}
.chantier-send-mode span {
  margin-top: 4px;
  color: #00aae7;
  font-size: .82rem;
  line-height: 1.45;
}
.chantier-send-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.chantier-send-selection ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.chantier-send-selection li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #d5e3ec;
}
.chantier-send-selection li:last-child {
  border-bottom: 0;
}
.chantier-send-selection li strong {
  min-width: 0;
  overflow: hidden;
  color: #1c4880;
  font-size: .82rem;
  text-overflow: ellipsis;
}
.chantier-send-selection li span {
  flex: none;
  color: #00aae7;
  font-size: .75rem;
}
/* Historique -------------------------------------------------------------- */
.chantier-send-history {
  margin-top: 22px;
  border: 1px solid #d5e3ec;
  background: #fff;
}
.chantier-send-history-head,
.chantier-send-history-row {
  display: grid;
  grid-template-columns: 125px minmax(160px, 1fr) minmax(190px, 1.3fr) 105px 110px 120px 80px;
  align-items: center;
  gap: 10px;
}
.chantier-send-history-head {
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid #d5e3ec;
  color: #1c4880;
  font-size: .72rem;
  font-weight: bold;
  text-transform: uppercase;
}
.chantier-send-history-row {
  padding: 12px;
  border-bottom: 1px solid #d5e3ec;
  font-size: .82rem;
}
.chantier-send-history-row:last-child {
  border-bottom: 0;
}
.chantier-send-history-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.chantier-send-history-row small {
  display: block;
  margin-top: 4px;
  color: #00aae7;
  font-size: .7rem;
}
/* Partage public ---------------------------------------------------------- */
.chantier-public-share {
  width: 1180px;
  margin: 40px auto 70px;
}
.chantier-public-card {
  padding: 24px;
  border: 1px solid #d5e3ec;
  border-radius: 6px;
  background: #fff;
}
.chantier-public-card h1 {
  margin: 5px 0 10px;
  color: #1c4880;
}
.chantier-public-card p {
  color: #00aae7;
  line-height: 1.55;
}
.chantier-public-kicker {
  color: #00aae7;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.chantier-public-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.chantier-public-file {
  overflow: hidden;
  border: 1px solid #d5e3ec;
  border-radius: 5px;
  background: #fff;
}
.chantier-public-photo {
  display: block;
  aspect-ratio: 1.33333333;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.03);
}
.chantier-public-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chantier-public-document-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  background: rgba(0, 0, 0, 0.035);
  color: #1c4880;
  font-size: 1.3rem;
  font-weight: bold;
}
.chantier-public-file-body {
  padding: 14px;
}
.chantier-public-file-body strong,
.chantier-public-file-body span {
  display: block;
}
.chantier-public-file-body strong {
  overflow: hidden;
  color: #1c4880;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chantier-public-file-body span {
  margin: 5px 0 12px;
  color: #00aae7;
  font-size: .78rem;
}
/* Tablette ---------------------------------------------------------------- */
@media only screen and (min-width: 761px) and (max-width: 1180px) {
  .chantier-folder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chantier-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .chantier-virtual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chantier-document-row {
    grid-template-columns: 100px minmax(180px, 1fr) auto 70px;
  }
  .chantier-document-settings {
    grid-column: -1;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  }
  .chantier-document-delete {
    grid-column: 4;
    text-align: right;
  }
  .chantier-send-grid {
    grid-template-columns: 1fr;
  }
  .chantier-public-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chantier-send-history-head {
    display: none;
  }
  .chantier-send-history-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chantier-send-history-row > span:before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: #00aae7;
    font-size: .68rem;
    text-transform: uppercase;
  }
}
/* Mobile ------------------------------------------------------------------ */
@media only screen and (max-width: 760px) {
  .chantier-inline-form,
  .chantier-upload-form,
  .chantier-selection-toolbar,
  .chantier-send-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .chantier-inline-form-main {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .chantier-inline-form > .chantier-btn,
  .chantier-upload-form .chantier-btn,
  .chantier-selection-toolbar .chantier-btn,
  .chantier-send-actions .chantier-btn {
    width: 100%;
  }
  .chantier-folder-grid,
  .chantier-virtual-grid,
  .chantier-send-grid,
  .chantier-public-grid {
    grid-template-columns: 1fr;
  }
  .chantier-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .chantier-photo-body {
    padding: 10px;
  }
  .chantier-photo-card > .chantier-select-box span {
    display: none;
  }
  .chantier-document-row,
  .chantier-document-list-client .chantier-document-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .chantier-document-check,
  .chantier-document-main,
  .chantier-document-actions,
  .chantier-document-settings,
  .chantier-document-delete {
    grid-column: 1;
  }
  .chantier-document-settings {
    grid-template-columns: 1fr;
  }
  .chantier-document-delete {
    text-align: left;
  }
  .chantier-document-actions .chantier-btn {
    width: 100%;
  }
  .chantier-send-history-head {
    display: none;
  }
  .chantier-send-history {
    border: 0;
    background: transparent;
  }
  .chantier-send-history-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px;
    border: 1px solid #d5e3ec;
    border-radius: 4px;
    background: #fff;
  }
  .chantier-send-history-row > span:before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: #00aae7;
    font-size: .68rem;
    text-transform: uppercase;
  }
  .chantier-public-share {
    width: calc(80%);
    margin-top: 18px;
  }
  .chantier-public-card {
    padding: 18px;
  }
}
/* ========================================================================== 
   V15.4.2 - Listes client compactes + dossiers compacts
   ========================================================================== */
.chantier-record-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.chantier-record-row {
  display: grid;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid #d5e3ec;
  border-radius: 5px;
  background: #fff;
  box-sizing: border-box;
}
.chantier-record-contract {
  grid-template-columns: minmax(260px, 1.45fr) 120px minmax(180px, 0.85fr) 105px auto;
}
.chantier-record-report {
  grid-template-columns: minmax(250px, 1.2fr) minmax(220px, 0.95fr) 115px auto;
}
.chantier-record-main,
.chantier-record-meta,
.chantier-record-status,
.chantier-record-actions {
  min-width: 0;
}
.chantier-record-main strong,
.chantier-record-main span,
.chantier-record-meta strong,
.chantier-record-meta span {
  display: block;
}
.chantier-record-main strong {
  overflow: hidden;
  color: #1c4880;
  font-size: .95rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chantier-record-main span {
  margin-top: 4px;
  overflow: hidden;
  color: #00aae7;
  font-size: .76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chantier-record-label {
  margin-bottom: 4px;
  color: #00aae7;
  font-size: .66rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.chantier-record-meta strong {
  overflow: hidden;
  color: #1c4880;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chantier-record-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}
.chantier-record-actions .chantier-btn {
  min-width: 0;
  padding: 8px 11px;
  font-size: .76rem;
  white-space: nowrap;
}
/* Dossiers client : 4 cartes compactes sur grand écran. */
.chantier-client-folder-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 12px;
}
.chantier-folder-card-compact {
  padding: 14px;
  min-height: 0;
}
.chantier-folder-compact-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.chantier-folder-compact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.035);
}
.chantier-folder-compact-title {
  min-width: 0;
}
.chantier-folder-card-compact h2 {
  overflow: hidden;
  margin: 2px 0 0;
  font-size: .92rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chantier-folder-card-compact > p {
  min-height: 0;
  margin: 10px 0;
  overflow: hidden;
  color: #00aae7;
  font-size: .76rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chantier-folder-compact-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.055);
  color: #1c4880;
  font-size: .76rem;
  font-weight: bold;
}
.chantier-folder-compact-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 9px;
  border-top: 1px solid #d5e3ec;
  color: #1c4880;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
}
.chantier-folder-compact-open:hover {
  text-decoration: none;
}
@media only screen and (max-width: 1180px) {
  .chantier-record-contract {
    grid-template-columns: minmax(230px, 1.2fr) 115px minmax(150px, 0.8fr) auto;
  }
  .chantier-record-contract .chantier-record-date {
    display: none;
  }
  .chantier-client-folder-grid {
    grid-template-columns: repeat(3, minmax(175px, 1fr));
  }
}
@media only screen and (max-width: 900px) {
  .chantier-record-contract,
  .chantier-record-report {
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.65fr) auto;
  }
  .chantier-record-contract .chantier-record-status,
  .chantier-record-report .chantier-record-date {
    grid-row: 2;
  }
  .chantier-record-contract .chantier-record-meta,
  .chantier-record-report .chantier-record-meta {
    grid-column: 2;
  }
  .chantier-record-contract .chantier-record-actions,
  .chantier-record-report .chantier-record-actions {
    grid-column: 3;
    grid-row: 1 span 2;
  }
  .chantier-client-folder-grid {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }
}
@media only screen and (max-width: 620px) {
  .chantier-record-contract,
  .chantier-record-report {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 13px;
  }
  .chantier-record-contract .chantier-record-status,
  .chantier-record-contract .chantier-record-meta,
  .chantier-record-contract .chantier-record-date,
  .chantier-record-contract .chantier-record-actions,
  .chantier-record-report .chantier-record-meta,
  .chantier-record-report .chantier-record-date,
  .chantier-record-report .chantier-record-actions {
    display: block;
    grid-column: 1;
    grid-row: auto;
  }
  .chantier-record-actions {
    display: flex !important;
    justify-content: flex-start;
  }
  .chantier-record-actions .chantier-btn {
    width: auto;
    flex: 1 1 auto;
    text-align: center;
  }
  .chantier-client-folder-grid {
    grid-template-columns: 1fr;
  }
}
/* ========================================================================== 
   V15.4.4 - Galerie photos client compacte
   ========================================================================== */
.chantier-photo-grid-client {
  margin-top: 24px;
}
.chantier-photo-body-client {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 9px 10px;
}
.chantier-photo-info-client {
  min-width: 0;
  flex: 1 1 auto;
}
.chantier-photo-title-client {
  display: block;
  overflow: hidden;
  color: #1c4880;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chantier-photo-info-client > p {
  margin: 5px 0 0;
  color: #00aae7;
  font-size: .82rem;
  line-height: 1.4;
}
.chantier-photo-download-client {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid #d5e3ec;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
}
.chantier-photo-download-client:hover,
.chantier-photo-download-client:focus {
  background: rgba(0, 0, 0, 0.035);
}
@media only screen and (max-width: 760px) {
  .chantier-photo-grid-client {
    margin-top: 18px;
  }
  .chantier-photo-body-client {
    padding: 8px;
  }
}
/* ========================================================================== 
   V15.4.7 - Synthèse documents et consultation client
   ========================================================================== */
.chantier-virtual-card-summary {
  display: flex;
  flex-direction: column;
  min-height: 82px;
}
.chantier-virtual-card-summary .chantier-virtual-title {
  margin-bottom: 8px;
}
.chantier-virtual-link-summary {
  margin-top: auto;
  padding-top: 5px;
  font-weight: 600;
}
.chantier-document-actions-client {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
@media only screen and (max-width: 620px) {
  .chantier-document-list-client .chantier-document-row {
    grid-template-columns: 1fr;
  }
  .chantier-document-actions-client {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .chantier-document-actions-client .chantier-btn {
    flex: 1 1 auto;
  }
}
/* ========================================================================== 
   V15.4.8 - Blocs administratifs entièrement cliquables
   ========================================================================== */
.chantier-virtual-card-clickable {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.chantier-virtual-card-clickable:hover,
.chantier-virtual-card-clickable:focus {
  border-color: rgba(28, 72, 128, 0.3);
  background: rgba(23, 59, 92, 0.035);
  box-shadow: 0 2px 7px rgba(23, 59, 92, 0.06);
  text-decoration: none;
}
.chantier-virtual-card-clickable .chantier-virtual-title {
  margin-bottom: 0;
}
/* Relevés de surface ------------------------------------------------------ */
.chantier-create-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.chantier-create-action {
  min-width: 0;
  padding: 16px;
  border: 1px solid #d5e3ec;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.012);
  box-sizing: border-box;
}
.chantier-create-action-head {
  margin-bottom: 13px;
}
.chantier-create-action-head strong,
.chantier-create-action-head span {
  display: block;
}
.chantier-create-action-head strong {
  color: #1c4880;
  font-size: .95rem;
}
.chantier-create-action-head span {
  margin-top: 4px;
  color: #00aae7;
  font-size: .8rem;
  line-height: 1.4;
}
.chantier-create-action-module {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.chantier-create-action-module .chantier-btn {
  align-self: flex-start;
}
.chantier-collapsible-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #d5e3ec;
}
.chantier-collapsible-form-wide {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #d5e3ec;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.012);
}
.chantier-collapsible-form-wide .chantier-inline-form {
  width: 100%;
}
.chantier-collapsible-form[hidden] {
  display: none;
}
@media (max-width: 900px) {
  .chantier-create-actions-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .chantier-create-action {
    padding: 13px;
  }
  .chantier-create-action-module .chantier-btn {
    width: 100%;
  }
  .chantier-collapsible-form-wide .chantier-inline-form {
    flex-direction: column;
    align-items: stretch;
  }
  .chantier-collapsible-form-wide .chantier-inline-form-main {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .chantier-collapsible-form-wide .chantier-btn {
    width: 100%;
  }
}
/*** 

  ====================================================================
      login
  ====================================================================

***/
.main_auth {
  color: #626262;
  display: flex;
  flex: 1 0;
  justify-content: center;
  align-items: center;
}
.section_login {
  display: flex;
}
.section_login article {
  width: 400px;
  background-color: rgba(146, 185, 78, 0.07000000000000001);
  padding: 20px;
  border: solid 1px #e6e6e6;
}
.section_login article:nth-child(2) {
  margin-left: 50px;
}
.section_login h1 {
  font-weight: normal;
  text-align: center;
  letter-spacing: 0.2rem;
  font-size: 1.9rem;
  margin-bottom: 30px;
  color: rgba(0, 0, 0, 0.3);
}
.mdp_oublie {
  display: block;
  margin-top: 30px;
  margin-bottom: 10px;
  color: rgba(0, 0, 0, 0.3);
  letter-spacing: 0.1rem;
}
.section_login form input {
  border: none;
  color: #777;
  border-radius: 20px;
}
.section_login form input {
  margin-bottom: 15px;
  height: 40px;
  line-height: 40px;
  padding: 0 10px;
}
.section_login button {
  display: block;
  margin-top: 10px;
}
/*** 

  ====================================================================
      mon compte , editer mes infos, mot de passe etc 
  ====================================================================

***/
.user_gestion_box {
  display: flex;
  align-items: center;
}
.user_gestion_box div :nth-child(1) {
  padding-right: 50px;
}
.user_cp_box {
  display: flex;
  justify-content: space-between;
}
.user_cp_avatar_box {
  min-width: 250px;
  max-width: 250px;
  margin-right: 30px;
  word-wrap: break-word;
  overflow: hidden;
}
.user_cp_avatar {
  border-radius: 50%;
}
.en-tete_manager_box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.en-tete_manager_title h1 {
  font-size: 1.6rem;
  margin-bottom: 5px;
}
.en-tete_manager_title h2 {
  font-size: 1.1rem;
  font-weight: normal;
}
.en-tete_manager_user_box a {
  display: flex;
  align-items: center;
}
.en-tete_manager_user_box h3 {
  margin-right: 10px;
  font-weight: normal;
  font-size: 1.1rem;
}
.en-tete_manager_avatar_text {
  background-color: #0e1635;
  color: #ebf1f7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.1rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.secu_ic_box {
  padding: 80px 0;
}
.secu_ic_box h3 {
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.secu_ic_list {
  display: flex;
  justify-content: flex-start;
}
.secu_ic_container {
  border: solid 1px #e6eff4;
  margin-right: 40px;
  background-color: #ebf1f7;
  cursor: pointer;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
}
.secu_ic_container:hover {
  background-color: #ffffff;
}
.secu_ic_img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 100px;
}
.secu_ic_title {
  text-align: center;
  font-weight: 600;
  padding: 0 0 20px 0;
}
/*
.li_mdp_mod{
    color: #78ab4e; 
    cursor: pointer;
}
.li_mdp_mod:hover{
    color: #646464; 
}
*/
/*** 

  ====================================================================
      ADMINISTRATION 
  ====================================================================

***/
.tab_user_head_box {
  display: flex;
  padding: 5px 0 5px 0;
  background-color: rgba(0, 0, 0, 0.1);
}
.tab_user_head_box > * {
  flex: 1 100%;
}
.tab_user_ref {
  min-width: 50px;
  max-width: 8%;
  padding-left: 10px;
}
.tab_user_online {
  min-width: 50px;
  max-width: 7%;
}
.tab_user_role {
  min-width: 50px;
  max-width: 7%;
  display: flex;
}
.tab_user_name {
  max-width: 31%;
}
.tab_user_societe {
  max-width: 31%;
}
.tab_user_action {
  max-width: 16%;
  text-align: right;
  padding-right: 10px;
  display: flex;
  justify-content: flex-end;
}
.tab_user_box {
  display: flex;
  padding: 10px 0 10px 0;
  background-color: #ffffff;
  align-items: center;
}
.tab_user_box > * {
  flex: 1 100%;
}
.s_title_page_box {
  height: 60px;
  border-bottom: solid 1px #d5e3ec;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.s_title_page_box h3 {
  padding-bottom: 10px;
}
/* ============================================================
   BOUTONS & ICÔNES
   Sprite unique : data/icones.png

   Important :
   - Les noms de classes historiques sont conservés pour ne pas
     modifier les templates existants.
   - Les coordonnées correspondent à la sprite unifiée.
   - Les fautes historiques de nommage (.i_livaison_*, .i_pannier,
     .bonton_*) sont volontairement conservées pour compatibilité.
   ============================================================ */
/* ============================================================
   MIXINS
   ============================================================ */
/* ============================================================
   BOUTONS GÉNÉRAUX
   ============================================================ */
.buttonPayer {
  padding: 0;
  border: none;
  cursor: pointer;
}
.buttonPayer_link {
  display: block;
  padding: 5px;
  font-size: 0.7rem;
  color: #007095;
  background-color: #bef1ff;
  border: solid 1px rgba(0, 112, 149, 0.2);
  cursor: pointer;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
}
.buttonPayer_link:hover {
  color: #fff;
  background-color: #007095;
}
/* ============================================================
   SUPPRESSION FICHIER / PHOTO
   ============================================================ */
.delete_file,
.delete_file_photo {
  display: block;
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0;
  line-height: 15px;
  text-align: center;
  border-radius: 50%;
  font-size: 0.8rem;
}
.delete_file {
  color: #ff0000;
  border: solid 1px #ff0000;
}
.delete_file_photo {
  z-index: 1;
  color: #fff;
  background-color: #333230;
}
/* ============================================================
   PETITS INDICATEURS
   ============================================================ */
.bonton_rond_rouge,
.bonton_rond_vert {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.bonton_rond_rouge {
  background-color: #f25353;
}
.bonton_rond_vert {
  background-color: #92b94e;
}
/* ============================================================
   BOUTONS AVEC LIBELLÉ
   ============================================================ */
.i_button {
  height: 20px;
  margin: 0;
  padding: 0;
  line-height: 20px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  background-color: transparent;
  word-wrap: break-word;
  overflow: hidden;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
}
.i_button:hover .i_link {
  text-decoration: underline;
}
.i_link {
  display: block;
  float: left;
  height: 20px;
  margin: 0;
  padding: 0 0 0 5px;
  line-height: 20px;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #626262;
}
/* ============================================================
   ICÔNES 40 PX - ACTIONS / DOSSIERS
   ============================================================ */
.i_doss,
.img_dossier {
  padding: 0;
  margin: 0;
  content: '';
  width: 40px;
  height: 40px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: 0 -168px;
}
.i_doss {
  float: left;
}
.i_livaison_g {
  padding: 0;
  margin: 0;
  content: '';
  width: 40px;
  height: 40px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  float: left;
  background-position: -165px -453px;
}
.i_commande_p {
  padding: 0;
  margin: 0;
  content: '';
  width: 40px;
  height: 40px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  float: left;
  background-position: -185px -438px;
}
.i_commande_g {
  padding: 0;
  margin: 0;
  content: '';
  width: 40px;
  height: 40px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  float: left;
  background-position: -205px -453px;
}
/* ============================================================
   ICÔNES 20 PX - ACTIONS
   ============================================================ */
.i_edit_add {
  padding: 0;
  margin: 0;
  content: '';
  width: 20px;
  height: 20px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  float: left;
  background-position: 0 -128px;
}
.i_livaison_m {
  padding: 0;
  margin: 0;
  content: '';
  width: 20px;
  height: 20px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  float: left;
  background-position: -60px -148px;
}
.i_commande_m {
  padding: 0;
  margin: 0;
  content: '';
  width: 20px;
  height: 20px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  float: left;
  background-position: -40px -148px;
}
.i_edit {
  padding: 0;
  margin: 0;
  content: '';
  width: 20px;
  height: 20px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  float: left;
  background-position: -20px -128px;
}
.i_supp {
  padding: 0;
  margin: 0;
  content: '';
  width: 20px;
  height: 20px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  float: left;
  background-position: -40px -128px;
}
.i_print {
  padding: 0;
  margin: 0;
  content: '';
  width: 20px;
  height: 20px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  float: left;
  background-position: -80px -128px;
}
.i_echange {
  padding: 0;
  margin: 0 10px 0 0;
  content: '';
  width: 20px;
  height: 20px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -120px -128px;
}
.i_download {
  padding: 0;
  margin: 0 10px 0 0;
  content: '';
  width: 20px;
  height: 20px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -140px -128px;
}
.i_pannier {
  padding: 0;
  margin: 0;
  content: '';
  width: 20px;
  height: 20px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -200px -128px;
}
.i_repas {
  padding: 0;
  margin: 0;
  content: '';
  width: 20px;
  height: 20px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -20px -148px;
}
/* ============================================================
   ICÔNE SPÉCIALE 25 x 20 PX
   ============================================================ */
.i_image {
  padding: 0;
  margin: 0 10px 0 0;
  content: '';
  width: 25px;
  height: 20px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -30px -368px;
}
/* ============================================================
   ICÔNES 15 PX - ACTIONS
   ============================================================ */
.i_livaison_p {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  float: left;
  background-position: -128px -64px;
}
.i_small_edit {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  float: left;
  background-position: -20px -298px;
}
.i_small_supp {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  float: left;
  background-position: -35px -298px;
}
.i_small_off {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -110px -298px;
}
.i_small_on {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -95px -298px;
}
.i_small_accepter {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -140px -298px;
}
.i_small_valide_admin {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -50px -298px;
}
.i_small_valide_user {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -65px -298px;
}
.i_small_verrou {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -80px -298px;
}
.i_small_download {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -155px -298px;
}
/* ============================================================
   ICÔNES 15 PX - INLINE
   ============================================================ */
.i_small_categories {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -125px -298px;
}
.i_small_date,
.i_small_temps {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -120px -313px;
}
.i_small_contact {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -45px -313px;
}
.i_small_home {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -15px -313px;
}
.i_small_user {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: 0 -313px;
}
.i_small_notif {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -30px -313px;
}
.i_small_photo {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -60px -313px;
}
.i_small_user_white {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: 0 -283px;
}
.i_small_notif_white {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -15px -283px;
}
.i_small_gestion {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -90px -313px;
}
.i_small_participer {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -105px -313px;
}
/* ============================================================
   ICÔNES 15 PX - NOTIFICATIONS
   ============================================================ */
.i_not_mail {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: 0 -438px;
}
.i_not_phone {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -15px -438px;
}
.i_not_doss {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -30px -438px;
}
.i_not_lien {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -45px -438px;
}
.i_not_print {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -90px -438px;
}
.i_not_id {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -105px -438px;
}
.i_not_mdp {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -120px -438px;
}
.i_not_param {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -135px -438px;
}
.i_not_profil {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -150px -438px;
}
.i_not_attention {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -200px -438px;
}
.i_not_attention_jaune {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -215px -438px;
}
.i_not_attention_rouge {
  padding: 0;
  margin: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: inline-block;
  background-position: -230px -438px;
}
/* ============================================================
   ÉTATS ONLINE / OFFLINE
   ============================================================ */
.i_offline,
.i_online {
  display: block;
  width: 15px;
  height: 15px;
  margin: 0;
  content: "";
  border-radius: 50%;
}
.i_online {
  color: #222;
  background-color: #DCE47E;
}
.i_offline {
  color: #222;
  background-color: #ff1e00d7;
}
/* ============================================================
   GRANDES ICÔNES / ILLUSTRATIONS
   ============================================================ */
.img_pdf {
  padding: 0;
  margin: 0;
  content: '';
  width: 30px;
  height: 40px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -30px -328px;
}
.img_identifiant {
  padding: 0;
  margin: 0;
  content: '';
  width: 40px;
  height: 40px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -135px -328px;
}
.img_mdp {
  padding: 0;
  margin: 0;
  content: '';
  width: 40px;
  height: 40px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -175px -328px;
}
.img_repas {
  padding: 0;
  margin: 0;
  content: '';
  width: 40px;
  height: 40px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: 0 -453px;
}
.img_heure {
  padding: 0;
  margin: 0;
  content: '';
  width: 40px;
  height: 40px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -40px -453px;
}
.img_chantier {
  padding: 0;
  margin: 0;
  content: '';
  width: 40px;
  height: 40px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -80px -453px;
}
.img_catalogue {
  padding: 0;
  margin: 0;
  content: '';
  width: 40px;
  height: 40px;
  background-image: url('data/icones.png');
  background-repeat: no-repeat;
  display: block;
  background-position: -120px -453px;
}
/* le menu qui se trouve dans le aside */
.aside_menu {
  margin: 0 0 0 0;
  padding: 0;
  list-style: none;
  border-top: solid 1px #d5e3ec;
}
.aside_menu li a {
  display: block;
  background-color: #ebf1f7;
  color: #1c4880;
  padding: 15px 15px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: solid 1px #d5e3ec;
}
.aside_menu li ul li a {
  text-transform: none;
  font-size: 1rem;
  font-weight: lighter;
  padding: 5px 0 5px 25px;
  min-height: 50px;
  display: flex;
  align-items: center;
  border-right: solid 4px #d5e3ec;
  border-bottom: solid 1px #e6eff4;
}
.aside_menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 0;
  overflow: hidden;
}
.aside_menu li:hover ul {
  height: auto;
  transition: all 900ms ease;
  -moz-transition: all 900ms ease;
  -webkit-transition: all 900ms ease;
  -ms-transition: all 900ms ease;
  -o-transition: all 900ms ease;
}
.aside_menu ul li a {
  background-color: #ffffff;
}
.aside_menu ul li a:hover {
  background-color: #eaeaea;
  transition: all 900ms ease;
  -moz-transition: all 900ms ease;
  -webkit-transition: all 900ms ease;
  -ms-transition: all 900ms ease;
  -o-transition: all 900ms ease;
}
/*menu catégorie dans une page*/
.conteneur_menu_cat {
  margin: 0 0 0 50px;
  padding: 0 10px 0 10px ;
  position: absolute;
  background-color: #fff;
  border-radius: 20px;
  cursor: pointer;
}
.menu_cat {
  margin: 0;
  padding: 0;
}
.menu_cat i {
  margin: 7px 10px 0 0;
  padding: 0;
}
.menu_cat dt {
  margin: 0;
  padding: 0;
  height: 30px;
  line-height: 30px;
  font-size: 0.9rem;
  font-weight: 100;
  color: #626262;
  border-radius: 20px;
  display: flex;
}
.menu_cat p {
  margin: 0 0 0 0;
  padding: 0;
}
.menu_cat dl {
  display: block;
  margin: 0;
  padding: 0;
}
.menu_cat dd {
  display: block;
  margin: 0;
  padding: 0;
}
.menu_cat dd ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu_cat dd ul li a {
  display: block;
  margin: 0;
  padding: 0 20px 0 20px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #ffffff;
  color: #626262;
  border-bottom: solid 1px #eaeaea;
}
.menu_cat dd ul li a:hover {
  background-color: #eaeaea;
  color: #626262;
}
.menu_cat dl dd {
  display: none;
  margin: 0;
  padding: 0;
}
.menu_cat dl:hover dd {
  display: block;
  margin: 0;
  padding: 0;
}
.menu_cat_rond {
  display: inline-block;
  background-color: #92b94e;
  color: #fff;
  width: 15px;
  height: 15px;
  line-height: 15px;
  text-align: center;
  border-radius: 50%;
  margin-left: 5px;
  font-size: 0.75rem;
}
.agenda_tab {
  width: 100%;
  height: calc(100vh);
  border-collapse: collapse;
}
.page_nav_box {
  margin: 10px 0 30px 0;
}
.page_nav a {
  display: inline-block;
  margin: 0 20px 0 0;
  padding: 0 0 10px 0 ;
  color: #1c4880;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: solid 1px #1c4880;
  cursor: pointer;
}
.page_nav a:hover,
.page_nav a:active {
  color: #00aae7;
  border-bottom: solid 1px #00aae7;
}
.main_admin,
.main_user {
  display: flex;
  flex: 1 0;
}
.section_admin,
.section_user {
  background-color: transparent;
  flex: 1 1;
  padding: 24px;
}
.aside_admin,
.aside_user {
  flex: none;
  width: 250px;
  background-color: #ebf1f7;
}
.main_form {
  display: flex;
  flex: 1 0;
  justify-content: center;
}
.section_form {
  background-color: #ffffff;
  min-width: 960px;
  max-width: 1200px;
  padding: 20px;
  -webkit-box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
}
@media only screen and (min-width: 1024px) and (max-width: 1160px) {
  .section_form {
    width: 820px;
    min-width: 820px;
    max-width: 820px;
  }
}
.main_apercu {
  display: flex;
  flex: 1 0;
  justify-content: center;
}
.section_apercu {
  background-color: #ffffff;
  width: 960px;
  padding: 20px 20px 60px 20px;
  -webkit-box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
}
.section_apercu_zero {
  background-color: #ffffff;
  width: 960px;
  padding: 0;
  -webkit-box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
}
.aside_apercu {
  flex: none;
  width: 200px;
  background-color: rgba(0, 0, 0, 0.05);
}
.aside_ajust {
  flex: none;
  background-color: #ffffff;
}
@media only screen and (min-width: 1024px) and (max-width: 1160px) {
  .section_apercu {
    width: 820px;
  }
}
.section_ajust_a {
  background-color: #ffffff;
  width: 60%;
  padding: 20px 20px 60px 10px;
}
.section_ajust_b {
  background-color: #ffffff;
  width: 40%;
  padding: 20px 10px 60px 20px;
}
/*** 

  ====================================================================
      page conditions generales 
  ====================================================================

***/
.main_condition {
  display: flex;
  flex: 1 0;
  justify-content: center;
}
.section_condition {
  background-color: #ffffff;
  min-width: 960px;
  max-width: 960px;
  padding: 20px;
  -webkit-box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
}
.section_condition h1 {
  padding: 50px 0;
  font-size: 1.8rem;
}
.condition_content {
  margin-bottom: 80px;
}
.mention {
  margin: 0 0 60px 0;
}
.mention_action {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.mention h2 {
  display: block;
  font-size: 1rem;
  margin-bottom: 10px;
}
.condition_infos {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  margin-bottom: 20px;
}
.tab_condition_head_box {
  display: flex;
  padding: 5px 0 5px 0;
  background-color: rgba(0, 0, 0, 0.1);
}
.tab_condition_head_box > * {
  flex: 1 100%;
}
.tab_condition_name {
  min-width: 200px;
  max-width: 30%;
  padding-left: 10px;
}
.tab_condition_online {
  min-width: 50px;
  display: flex;
  justify-content: center;
}
.tab_condition_created {
  max-width: 20%;
  display: flex;
}
.tab_condition_modified {
  max-width: 20%;
}
.tab_condition_action {
  max-width: 20%;
  text-align: right;
  padding-right: 10px;
  display: flex;
  justify-content: flex-end;
}
.tab_condition_box {
  display: flex;
  padding: 10px 0 10px 0;
  background-color: #ffffff;
}
.tab_condition_box > * {
  flex: 1 100%;
}
/*** 

  ====================================================================
      page contact
  ====================================================================

***/
.mainContact {
  color: #626262;
  display: flex;
  flex: 1 0;
  justify-content: center;
  align-items: center;
}
.sectionContact {
  display: flex;
  border: solid 1px #e6e6e6;
}
.articleContactA {
  width: 430px;
  background-color: #fff;
  color: rgba(0, 0, 0, 0.4);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
}
.articleContactA h1 {
  font-size: 1.8rem;
  letter-spacing: 0.2rem;
  font-weight: normal;
  padding-bottom: 20px;
  margin-bottom: 70px;
  text-transform: uppercase;
  border-bottom: solid 1px rgba(0, 0, 0, 0.099);
}
.articleContactA h2 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}
.articleContactB {
  width: 530px;
  min-height: 200px;
  background-color: rgba(146, 185, 78, 0.07000000000000001);
}
.articleContactB h3 {
  font-weight: normal;
  text-align: left;
  font-size: 1.3rem;
  letter-spacing: 0.2rem;
  margin-bottom: 30px;
  color: rgba(0, 0, 0, 0.3);
}
.sectionContact form {
  padding: 30px 20px;
}
.sectionContact form label {
  color: #888;
}
.sectionContact form input[type="email"] {
  margin-bottom: 40px;
}
.sectionContact form input,
.sectionContact form textarea,
.sectionContact form select {
  border: none;
  color: #777;
  border-radius: 20px;
}
.sectionContact form input,
.sectionContact form select {
  margin-bottom: 15px;
  height: 40px;
  line-height: 40px;
  padding: 0 10px;
}
.sectionContact textarea {
  min-height: 100px;
  padding: 10px;
}
/*** 

  ====================================================================
      catégories tableau index admin
  ====================================================================

***/
.tab_cat_head_box {
  display: flex;
  padding: 5px 0 5px 0;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px 10px 0 0;
}
.tab_cat_head_box > * {
  flex: 1 100%;
}
.tab_cat_name {
  min-width: 100px;
  max-width: 25%;
  padding-left: 10px;
}
.tab_cat_count {
  max-width: 10%;
  display: flex;
  justify-content: center;
}
.tab_cat_action {
  max-width: 15%;
  text-align: right;
  padding-right: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.tab_cat_box {
  display: flex;
  padding: 10px 0 10px 0;
  background-color: #fff;
}
.tab_cat_box > * {
  flex: 1 100%;
  word-wrap: break-word;
  overflow: hidden;
}
/*** 

  ====================================================================
      page errors
  ====================================================================

***/
.main_error {
  color: #626262;
  display: flex;
  flex: 1 0;
  justify-content: center;
  align-items: center;
}
.section_error article h1,
.section_error article p {
  text-align: center;
}
.section_error article h1 {
  margin-bottom: 40px;
  font-size: 2rem;
}
.section_error article p {
  font-size: 1.3rem;
}
/*** 

  ====================================================================
      paiements
  ====================================================================

***/
.paiement_title {
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: solid 1px #d5e3ec;
  color: #1c4880;
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
}
.paiement_box {
  margin-bottom: 50px;
}
.paiement_t-s_box {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.paiement_t-s_nb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #1c4880;
  color: #ebf1f7;
  font-size: 1.1rem;
  font-weight: 500;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.paiement_t-s_box h2 {
  color: #1c4880;
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
}
.paiement_box p {
  padding-left: 40px;
}
.main_cc {
  display: flex;
  flex: 1 0;
  justify-content: center;
  align-items: center;
}
.section_paiement {
  background-color: #ffffff;
  padding: 30px;
  border: solid 1px #e6e6e6;
  color: rgba(0, 0, 0, 0.5);
  min-width: 450px;
}
.section_paiement h1 {
  margin-bottom: 30px;
  letter-spacing: 0.1rem;
  font-size: 1.7rem;
}
.paiement_recap {
  display: flex;
  justify-content: space-between;
}
.paiement_recap_a {
  margin-right: 50px;
}
.paiement_recap h3 {
  font-weight: normal;
  letter-spacing: 0.2rem;
  font-size: 1.1rem;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: solid 1px #e6eff4;
}
.paiement_montant {
  background-color: #00aae7;
  text-align: center;
  height: 40px;
  line-height: 40px;
  color: #ebf1f7;
  font-size: 1.1rem;
  margin: 30px 0 30px;
}
.paiement_carte {
  margin: 40px 0 40px 0;
  text-align: center;
}
/*** 

  ====================================================================
      rib
  ====================================================================

***/
.rib {
  border: solid 1px rgba(0, 0, 0, 0.1);
  padding: 10px;
  min-width: 450px;
  color: rgba(0, 0, 0, 0.8);
  font-size: 0.9rem;
}
.rib h4 {
  margin-bottom: 15px;
  text-align: center;
}
.rib_title {
  margin-bottom: 5px;
  letter-spacing: 0.1rem;
  font-size: 0.9rem;
}
.rib .flex div {
  width: 100%;
}
.ribcpv {
  display: flex;
}
.ribcp {
  max-width: 50px;
}
.ribcode {
  margin: 15px 0 15px  0 ;
  display: flex;
  justify-content: space-between;
}
/*** 

  ====================================================================
      activite tableau index admin
  ====================================================================

***/
.tab_activite_head_box {
  display: flex;
  padding: 5px 0 5px 0;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px 10px 0 0;
}
.tab_activite_head_box > * {
  flex: 1 100%;
}
.tab_activite_online {
  max-width: 5%;
  text-align: right;
  padding-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tab_activite_action {
  max-width: 8%;
  text-align: right;
  padding-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tab_activite_name {
  min-width: 100px;
  max-width: 25%;
}
.tab_activite_box {
  display: flex;
  padding: 15px 0 15px 0;
  background-color: #fff;
}
.tab_activite_box > * {
  flex: 1 100%;
  word-wrap: break-word;
  overflow: hidden;
}
/*** 

  ====================================================================
      INDEX | mon compte | private
  ====================================================================

***/
.en-tete_manager_box {
  display: flex;
  justify-content: space-between;
}
.en-tete_manager_title h1 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}
.en-tete_manager_title h2 {
  font-size: 1.2rem;
  font-weight: normal;
}
.en-tete_manager_user_box a {
  display: flex;
  align-items: center;
}
.en-tete_manager_user_box h3 {
  margin-right: 10px;
  font-weight: normal;
  font-size: 1.1rem;
}
.en-tete_manager_avatar_text {
  background-color: #0e1635;
  color: #ebf1f7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.1rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.situation_manager_box {
  margin: 100px 0 100px 0;
}
.situation_manager_head {
  height: 35px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: solid 1px #d5e3ec;
}
.managerBc h3,
.situation_manager_head h3,
.annexe_manager_head h3 {
  color: #1c4880;
  font-weight: 900;
  font-size: 1.2rem;
  display: inline-block;
}
.situation_manager {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
}
.situation_manager_nb_box {
  display: flex;
  align-items: center;
  font-weight: normal;
}
.situation_manager_nb_box h4 {
  font-weight: normal;
}
.situation_manager_nb {
  height: 40px;
  width: 40px;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 1rem;
  background-color: #0e1635;
  color: #ebf1f7;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px rgba(48, 47, 47, 0.1);
}
.situation_manager_restant {
  height: 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.situation_manager_total {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #263263;
  font-weight: bold;
}
.managerBc {
  margin-bottom: 60px;
  max-width: 320px;
  text-align: center;
}
.managerBc p {
  margin: 10px 0;
  display: block;
}
.manager_box {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
}
.manager_box_ebf {
  min-width: 50%;
}
.manager_box_annexe {
  min-width: 10%;
}
.tab_ebf_manager {
  background-color: #ffffff;
  margin-bottom: 60px;
  padding: 10px 20px 20px 20px;
  border: solid 1px #e6e6e6;
  word-wrap: break-word;
  overflow: hidden;
}
.annexe_manager_box {
  min-width: 320px;
  max-width: 350px;
  margin: 0 0 60px 0;
  border: solid 1px #e6e6e6;
  word-wrap: break-word;
  overflow: hidden;
}
.annexe_manager_head {
  border-bottom: solid 1px #e6e6e6;
  font-weight: normal;
  height: 50px;
  padding: 0 10px ;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.annexe_manage {
  min-height: 150px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.annexe_manage_echange_box-0,
.annexe_manage_echange_box-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px ;
  border-bottom: solid 1px #e6e6e6;
  cursor: pointer;
}
.annexe_manage_echange_box-0 {
  background-color: #f5f5f5;
}
.annexe_manage_echange_box-1 {
  background-color: #ffffff;
}
.annexe_manage_echange_box-0:hover {
  background-color: #ffffff;
}
.annexe_manage_echange_box-1:hover {
  background-color: #f5f5f5;
}
.annexe_manage_echange_desc {
  font-size: 0.95rem;
}
.annexe_manage_echange_nb-0,
.annexe_manage_echange_nb-1 {
  height: 18px;
  min-width: 18px;
  background-color: #92b94e;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 0.7rem;
}
.annexe_manage_echange_nb-0 {
  background-color: #c11b1b;
}
.annexe_manage_echange_nb-1 {
  background-color: #92b94e;
}
.annexe_manage_echange_date {
  color: #5d6972;
}
.annexe_manage_echange_name {
  font-weight: 600;
}
/*** 

  ====================================================================
      files fichier | private
  ====================================================================

***/
.progress_bar_div {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex: 1 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
}
.none {
  display: none;
}
.progress_bar_box {
  max-width: 500px;
  height: auto;
  background-color: #e6e6e6;
  padding: 40px;
  color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.progress_bar_box h1 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}
.progress_bar_box h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.barre-progress-box {
  background-color: #007095;
  height: 5px;
  width: 80%;
  max-width: 450px;
  margin-bottom: 20px;
}
.barre-progress-gif {
  margin-bottom: 20px;
}
.progress_bar_box h4 {
  font-size: 1rem;
  text-align: center;
}
.apercu_file_ref {
  margin: 40px 0;
  display: flex;
  justify-content: space-between;
}
.apercu_file_ref_action {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: space-between;
}
.apercu_file_content {
  margin: 40px 0;
}
.apercu_file_photo_box {
  width: auto;
  margin: auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  grid-auto-flow: dense;
  grid-gap: 20px;
  word-wrap: break-word;
  overflow: hidden;
  justify-items: center;
}
.apercu_file_video_box {
  width: auto;
  margin-bottom: 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-flow: dense;
  grid-gap: 40px;
  word-wrap: break-word;
  overflow: hidden;
  justify-items: center;
}
.control_file_photo {
  margin: 0 0 0 -150px;
  width: 150px;
  height: 20px;
  justify-content: flex-end;
  align-items: center;
}
.apercu_file_photo {
  display: block;
  margin: 10px 0 10px 10px;
}
.apercu_file_box {
  margin: 60px 0;
}
.apercu_file_pdf_box {
  display: flex;
  margin: 0 0 10px 0;
  align-items: center;
}
.apercu_file_pdf_name {
  margin-left: 20px;
}
.liste_file_head {
  margin: 40px 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 90px;
  border: solid 1px #e6e6e6;
  background-color: #f5f5f5;
}
.liste_file_head h4 {
  margin-bottom: 10px;
}
.liste_file_box {
  margin: 50px 0 ;
}
.apercu_file_box h3 {
  border-bottom: solid 1px #e6e6e6;
  margin-bottom: 20px;
  padding-bottom: 5px;
  font-weight: normal;
  font-size: 1.2rem;
}
.liste_file_tab-0,
.liste_file_tab-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: solid 1px #e6e6e6;
  padding: 15px 10px;
  cursor: pointer;
}
.liste_file_tab-1 {
  background-color: #ffffff;
}
.liste_file_tab-0,
.liste_file_tab-1:hover {
  background-color: #f5f5f5;
}
.liste_file_tab-0:hover {
  background-color: #ffffff;
}
.liste_file_tab > * {
  flex: 1 100%;
}
.liste_file_name {
  min-width: 42%;
}
.liste_file_name h3 {
  font-size: 1rem;
  font-weight: normal;
}
.liste_file_name h4 {
  font-size: 0.9rem;
  font-weight: normal;
}
.liste_file_nb {
  min-width: 18%;
}
.liste_file_vu {
  min-width: 18%;
  font-weight: normal;
  font-size: 0.9rem;
}
.liste_file_action {
  min-width: 22%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.liste_file_nb,
.liste_file_vu {
  display: flex;
  justify-content: center;
}
.file_nb-0,
.file_nb-1 {
  height: 20px;
  min-width: 20px;
  background-color: #92b94e;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 0.7rem;
}
.file_nb-0 {
  background-color: #c11b1b;
}
.file_nb-1 {
  background-color: #92b94e;
}
.list_doss_container {
  padding: 40px 0 0 0 ;
}
.list_doss_content {
  width: 100%;
  margin: 20px 0 0 0 ;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-flow: dense;
  column-gap: 20px;
  row-gap: 20px;
  justify-items: flex-start;
  align-items: flex-start;
  font-size: 1rem;
}
.list_doss_box {
  display: flex;
  align-items: center;
}
.list_doss_box_text {
  padding-left: 10px;
}
.pages-statiques-admin {
  width: 1180px;
  margin: 34px auto 60px;
  color: #27364b;
}
.pages-statiques-admin * {
  box-sizing: border-box;
}
.pages-statiques-admin__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}
.pages-statiques-admin__header h1 {
  margin: 0 0 8px;
  color: #13345b;
  font-size: 30px;
}
.pages-statiques-admin__header p {
  max-width: 760px;
  margin: 0;
  color: #6c788a;
  line-height: 1.6;
}
.pages-statiques-admin__header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.pages-statiques-admin__eyebrow {
  margin-bottom: 8px !important;
  color: #0d6fd8 !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pages-statiques-admin__primary,
.pages-statiques-admin__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.pages-statiques-admin__primary {
  border: 0;
  background: #0d6fd8;
  color: #fff;
}
.pages-statiques-admin__secondary {
  border: 1px solid #cfd8e3;
  background: #fff;
  color: #24476d;
}
.pages-statiques-admin__list {
  border: 1px solid #e1e7ee;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.pages-statiques-admin__list-head,
.pages-statiques-admin__row {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) 90px 90px 110px minmax(220px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
}
.pages-statiques-admin__list-head {
  background: #f5f8fb;
  color: #697689;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.pages-statiques-admin__row {
  min-height: 66px;
  border-top: 1px solid #edf1f5;
}
.pages-statiques-admin__title strong,
.pages-statiques-admin__title span {
  display: block;
}
.pages-statiques-admin__title strong {
  color: #18395f;
}
.pages-statiques-admin__title span {
  margin-top: 4px;
  color: #8792a3;
  font-size: 12px;
}
.pages-statiques-admin__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.pages-statiques-admin__actions a {
  color: #0d6fd8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.pages-statiques-admin__summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.pages-statiques-admin__summary span {
  padding: 17px 18px;
  border: 1px solid #e2e8ef;
  border-radius: 9px;
  background: #fff;
  color: #607086;
}
.pages-statiques-admin__summary span strong {
  display: block;
  margin-bottom: 5px;
  color: #17385f;
  font-size: 12px;
  text-transform: uppercase;
}
.pages-statiques-admin__intro,
.pages-statiques-admin__articles {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #e2e8ef;
  border-radius: 10px;
  background: #fff;
}
.pages-statiques-admin__intro h2,
.pages-statiques-admin__articles h2 {
  margin: 0 0 18px;
  color: #17385f;
  font-size: 21px;
}
.pages-statiques-admin__intro p,
.pages-statiques-admin__articles p {
  color: #58687d;
  line-height: 1.7;
}
.pages-statiques-admin__section-title,
.pages-statiques-admin__article-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.pages-statiques-admin__section-title {
  border-bottom: 1px solid #edf1f5;
  padding-bottom: 14px;
}
.pages-statiques-admin__section-title a {
  color: #0d6fd8;
  font-weight: 700;
  text-decoration: none;
}
.pages-statiques-admin__article {
  padding: 24px 0;
  border-bottom: 1px solid #edf1f5;
}
.pages-statiques-admin__article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.pages-statiques-admin__article-head span {
  display: block;
  margin-bottom: 5px;
  color: #8a95a5;
  font-size: 12px;
}
.pages-statiques-admin__article-head h3 {
  margin: 0;
  color: #1c3d62;
  font-size: 18px;
}
.pages-statiques-admin__article-content {
  margin-top: 16px;
  color: #5b6b7e;
  font-size: 14px;
  line-height: 1.7;
}
.pages-statiques-admin__empty {
  margin: 20px 0 0;
}
.pages-statiques-form form {
  padding: 26px;
  border: 1px solid #e1e7ee;
  border-radius: 10px;
  background: #fff;
}
.pages-statiques-form .input {
  margin-bottom: 20px;
}
.pages-statiques-form label {
  display: block;
  margin-bottom: 7px;
  color: #33445b;
  font-size: 13px;
  font-weight: 700;
}
.pages-statiques-form input[type="text"],
.pages-statiques-form input[type="number"],
.pages-statiques-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  background: #fff;
  color: #27364b;
  font: inherit;
}
.pages-statiques-form textarea {
  resize: vertical;
  line-height: 1.6;
}
.pages-statiques-form input:focus,
.pages-statiques-form textarea:focus {
  outline: 0;
  border-color: #0d6fd8;
  box-shadow: 0 0 0 3px rgba(13, 111, 216, 0.1);
}
.pages-statiques-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: end;
}
.pages-statiques-form__seo {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e7ecf1;
}
.pages-statiques-form__seo h2 {
  margin: 0 0 18px;
  color: #17385f;
  font-size: 19px;
}
.pages-statiques-form__options {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding: 18px;
  border-radius: 8px;
  background: #f6f8fb;
}
.pages-statiques-form__options--simple {
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px);
  align-items: end;
}
.pages-statiques-form__options .input {
  margin: 0;
}
.pages-statiques-form__hint,
.pages-statiques-form__online-help {
  color: #7a8798;
  font-size: 12px;
  line-height: 1.55;
}
.pages-statiques-form__hint {
  margin: -8px 0 22px;
}
.pages-statiques-form__hint strong {
  color: #40546d;
}
.pages-statiques-form__online-help {
  margin: 10px 0 0;
}
.pages-statiques-form__publication {
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid #dce4ed;
  border-radius: 8px;
  background: #fff;
}
.pages-statiques-form__publication-title {
  display: block;
  margin-bottom: 10px;
  color: #33445b;
  font-size: 13px;
  font-weight: 700;
}
.pages-statiques-form__submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}
.pages-statiques-switch {
  display: inline-flex !important;
  align-items: center;
  gap: 11px;
  margin: 0 !important;
  cursor: pointer;
  user-select: none;
}
.pages-statiques-switch input[type="checkbox"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
}
.pages-statiques-switch__control {
  position: relative;
  display: inline-block;
  flex: 0 0 46px;
  width: 46px;
  height: 24px;
  border: 1px solid #b9c5d3;
  border-radius: 999px;
  background: #dfe5ec;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.pages-statiques-switch__control::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(25, 46, 70, 0.22);
  transition: transform .15s ease;
}
.pages-statiques-switch__label {
  color: #526176;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
input[type="checkbox"]:checked + .pages-statiques-switch__control {
  border-color: #0d6fd8;
  background: #0d6fd8;
}
input[type="checkbox"]:checked + .pages-statiques-switch__control::after {
  transform: translateX(22px);
}
input[type="checkbox"]:focus + .pages-statiques-switch__control {
  box-shadow: 0 0 0 3px rgba(13, 111, 216, 0.14);
}
@media (max-width: 980px) {
  .pages-statiques-admin__list-head {
    display: none;
  }
  .pages-statiques-admin__row,
  .pages-statiques-admin__summary {
    grid-template-columns: 1fr 1fr;
  }
  .pages-statiques-form__options--simple {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .pages-statiques-admin {
    width: calc(76%);
    margin-top: 22px;
  }
  .pages-statiques-admin__header,
  .pages-statiques-admin__section-title,
  .pages-statiques-admin__article-head {
    display: block;
  }
  .pages-statiques-admin__header-actions,
  .pages-statiques-admin__actions {
    margin-top: 12px;
  }
  .pages-statiques-admin__row,
  .pages-statiques-admin__summary {
    grid-template-columns: 1fr;
  }
  .pages-statiques-form form {
    padding: 18px;
  }
  .pages-statiques-form__grid,
  .pages-statiques-form__options--simple {
    grid-template-columns: 1fr;
  }
  .pages-statiques-form__submit {
    display: block;
  }
  .pages-statiques-form__submit .pages-statiques-admin__primary {
    width: 100%;
  }
}
.page-statique {
  color: #24344d;
  background: #fff;
}
.page-statique * {
  box-sizing: border-box;
}
.page-statique__wrap {
  width: 980px;
  margin: 0 auto;
  padding: 70px 0 76px;
}
.page-statique__header {
  max-width: 800px;
  margin-bottom: 52px;
}
.page-statique__eyebrow {
  margin: 0 0 12px;
  color: #0d6fd8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.page-statique h1 {
  margin: 0;
  color: #0d2f59;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.page-statique__intro {
  margin-top: 24px;
  color: #607086;
  font-size: 17px;
  line-height: 1.75;
}
.page-statique__articles {
  display: grid;
  gap: 42px;
}
.page-statique__article {
  padding-top: 34px;
  border-top: 1px solid #e4eaf1;
}
.page-statique__article h2 {
  margin: 0 0 18px;
  color: #17385f;
  font-size: 25px;
  line-height: 1.3;
}
.page-statique__content {
  color: #4d5d72;
  font-size: 15px;
  line-height: 1.8;
}
@media (max-width: 820px) {
  .page-statique__wrap {
    width: calc(64%);
    padding: 52px 0 58px;
  }
  .page-statique h1 {
    font-size: 38px;
  }
  .page-statique__header {
    margin-bottom: 40px;
  }
  .page-statique__articles {
    gap: 34px;
  }
}
@media (max-width: 560px) {
  .page-statique__wrap {
    width: calc(72%);
    padding: 38px 0 44px;
  }
  .page-statique h1 {
    font-size: 32px;
  }
  .page-statique__intro {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.7;
  }
  .page-statique__article {
    padding-top: 26px;
  }
  .page-statique__article h2 {
    font-size: 21px;
  }
  .page-statique__content {
    font-size: 15px;
    line-height: 1.75;
  }
}
/* ========================================================================== 
   MOBILE : largeur utile maximale
   ========================================================================== */
@media (max-width: 680px) {
  .page-statique__wrap {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }
}
.public-activity-page {
  color: #263b4b;
  font-size: 17px;
  line-height: 1.75;
}
.public-activity-page .wrap_default {
  width: auto;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
  box-sizing: border-box;
}
.public-page-hero {
  text-align: center;
  background: linear-gradient(180deg, #f3f8fc 0%, #ffffff 100%);
  border-bottom: 1px solid #eef3f6;
}
.public-page-hero > .wrap_default {
  padding-top: 72px;
  padding-bottom: 78px;
}
.public-page-hero__eyebrow {
  margin: 0 0 17px;
  color: #0f4f82;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.public-page-hero h1 {
  max-width: 880px;
  margin: 0 auto;
  color: #153f63;
  font-size: 40px;
  line-height: 1.25;
}
.public-page-hero h1 + p {
  max-width: 780px;
  margin: 24px auto 0;
  color: #587083;
  font-size: 19px;
  line-height: 1.65;
}
.public-list-page {
  padding-top: 80px;
  padding-bottom: 80px;
}
.public-list-page__intro {
  max-width: 820px;
  margin: 0 auto 58px;
  color: #4c6374;
  text-align: center;
}
.public-list-page__crosslink {
  margin-top: 58px;
  text-align: center;
}
.public-list-page__crosslink a {
  color: #0f4f82;
  font-weight: 600;
  text-decoration: none;
}
.public-activity-links ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 50px;
  row-gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.public-activity-links li {
  text-align: center;
}
.public-activity-links a {
  display: inline-block;
  padding: 7px 2px;
  color: #0f4f82;
  text-decoration: none;
  font-size: 17px;
  line-height: 1.5;
  border-bottom: 1px solid transparent;
}
.public-activity-links a:hover {
  border-color: #0f4f82;
}
.public-detail-content {
  padding-top: 84px;
  padding-bottom: 84px;
}
.public-content-blocks {
  max-width: 900px;
  margin: 0 auto;
}
.public-content-block {
  margin: 0 0 72px;
}
.public-content-block:last-child {
  margin-bottom: 0;
}
.public-content-block h2 {
  margin: 0 0 22px;
  color: #153f63;
  font-size: 28px;
  line-height: 1.35;
}
.public-content-block__subtitle {
  margin: -9px 0 25px;
  color: #6d7f8d;
  font-size: 17px;
}
.public-content-block__content {
  color: #405868;
  font-size: 17px;
  line-height: 1.85;
}
.public-content-block__content p {
  margin: 0 0 18px;
}
.public-content-block__content h2,
.public-content-block__content h3,
.public-content-block__content h4 {
  margin: 35px 0 16px;
  color: #153f63;
  line-height: 1.4;
}
.public-content-block--encadre {
  padding: 32px 35px;
  background: #f5f8fb;
  border-left: 3px solid #a9c6da;
  border-radius: 6px;
}
.public-related-section {
  margin-top: 96px;
  padding-top: 54px;
  border-top: 1px solid #dfe8ee;
}
.public-related-section__head {
  margin-bottom: 34px;
  text-align: center;
}
.public-related-section__head h2 {
  margin: 0;
  color: #153f63;
  font-size: 27px;
}
.public-related-section__head span {
  display: block;
  margin-top: 12px;
  color: #6d7f8d;
  font-size: 15px;
}
.public-related-section--links .public-activity-links {
  max-width: 920px;
  margin: 0 auto;
}
.public-realisation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.public-realisation-card {
  border: 1px solid #dfe8ee;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(29, 62, 87, 0.05);
}
.public-realisation-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.public-realisation-card__media {
  aspect-ratio: 1.33333333;
  overflow: hidden;
  background: #edf2f5;
}
.public-realisation-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.public-realisation-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.public-realisation-card__body {
  padding: 22px 20px;
}
.public-realisation-card h3 {
  margin: 0;
  color: #153f63;
  font-size: 18px;
  line-height: 1.45;
}
.public-realisation-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.public-realisation-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: #f5f8fb;
  border-radius: 6px;
  color: #536b7b;
  font-size: 14px;
}
.public-realisation-card__meta b {
  color: #0f4f82;
  font-size: 11px;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.public-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  margin-top: 100px;
  padding: 36px 40px;
  border: 1px solid #dfe8ee;
  border-radius: 10px;
  background: #fff;
}
.public-cta h2 {
  margin: 0 0 8px;
  color: #153f63;
  font-size: 24px;
}
.public-cta p {
  margin: 0;
  color: #6d7f8d;
  font-size: 15px;
}
.public-cta__button {
  display: inline-block;
  flex: 0 0 auto;
  padding: 13px 20px;
  border-radius: 6px;
  background: #0f4f82;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
}
.public-page-hero__eyebrow a {
  color: inherit;
  text-decoration: none;
}
.public-page-hero__eyebrow a:hover {
  text-decoration: underline;
}
.public-family-links {
  max-width: 940px;
  margin: 0 auto 58px;
  text-align: center;
}
.public-family-links__label {
  display: block;
  margin-bottom: 17px;
  color: #6d7f8d;
  font-size: 15px;
  font-weight: 600;
}
.public-family-links__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.public-family-links__items a {
  display: inline-block;
  padding: 9px 13px;
  border: 1px solid #dfe8ee;
  border-radius: 999px;
  background: #fff;
  color: #0f4f82;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
}
.public-family-links__items a:hover {
  border-color: #b7ccda;
  background: #f5f8fb;
}
@media only screen and (max-width: 1024px) {
  .public-page-hero h1 {
    font-size: 35px;
  }
  .public-activity-links ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-realisation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 680px) {
  .public-activity-page {
    font-size: 16px;
  }
  .public-activity-page .wrap_default {
    padding-left: 20px;
    padding-right: 20px;
  }
  .public-page-hero > .wrap_default {
    padding-top: 58px;
    padding-bottom: 62px;
  }
  .public-page-hero h1 {
    font-size: 29px;
  }
  .public-page-hero h1 + p {
    margin-top: 20px;
    font-size: 16px;
  }
  .public-list-page,
  .public-detail-content {
    padding-top: 62px;
    padding-bottom: 62px;
  }
  .public-activity-links ul {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .public-content-block {
    margin-bottom: 58px;
  }
  .public-content-block h2 {
    font-size: 24px;
  }
  .public-content-block__content {
    font-size: 16px;
    line-height: 1.8;
  }
  .public-realisation-grid {
    grid-template-columns: 1fr;
  }
  .public-related-section {
    margin-top: 75px;
    padding-top: 45px;
  }
  .public-cta {
    display: block;
    margin-top: 75px;
    padding: 30px 24px;
    text-align: center;
  }
  .public-cta__button {
    margin-top: 22px;
  }
}
/* ========================================================================== 
   V1.3 - largeur fluide et listes plus compactes
   ========================================================================== */
.public-activity-page .wrap_default {
  width: calc(52%);
  max-width: 1600px;
  padding-left: 0;
  padding-right: 0;
}
.public-page-hero > .wrap_default {
  padding-top: 54px;
  padding-bottom: 58px;
}
.public-list-page {
  padding-top: 56px;
  padding-bottom: 72px;
}
.public-activity-links ul {
  row-gap: 10px;
  column-gap: 44px;
}
.public-activity-links a {
  padding-top: 4px;
  padding-bottom: 4px;
}
@media only screen and (max-width: 680px) {
  .public-activity-page .wrap_default {
    width: auto;
    padding-left: 18px;
    padding-right: 18px;
  }
  .public-page-hero > .wrap_default {
    padding-top: 46px;
    padding-bottom: 50px;
  }
  .public-list-page {
    padding-top: 48px;
    padding-bottom: 60px;
  }
  .public-activity-links ul {
    row-gap: 8px;
  }
}
/* ========================================================================== 
   V1.3.1 - CORRECTIF LARGEUR REELLE ACTIVITES
   ========================================================================== */
.public-activity-page .wrap_default {
  width: 96vw !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}
.public-activity-page .public-page-hero > .wrap_default {
  padding-top: 38px !important;
  padding-bottom: 42px !important;
}
.public-activity-page .public-list-page {
  padding-top: 38px !important;
  padding-bottom: 62px !important;
}
.public-activity-page .public-realisation-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
@media only screen and (max-width: 1279px) and (min-width: 1025px) {
  .public-activity-page .public-realisation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 1024px) {
  .public-activity-page .wrap_default {
    width: calc(64%) !important;
  }
  .public-activity-page .public-realisation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 680px) {
  .public-activity-page .wrap_default {
    width: calc(72%) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .public-activity-page .public-realisation-grid {
    grid-template-columns: 1fr;
  }
}
/* ========================================================================== 
   V1.4.9 - largeur du contenu activité et navigation familles allégée
   ========================================================================== */
.public-activity-page .public-detail-content .public-content-blocks {
  width: 92%;
  max-width: 1450px;
  margin-left: auto;
  margin-right: auto;
}
.public-activity-page .public-content-block__content [align="center"],
.public-activity-page .public-content-block__content [style*="text-align: center"],
.public-activity-page .public-content-block__content [style*="text-align:center"],
.public-activity-page .public-content-block__content .text-center {
  text-align: center !important;
}
.public-activity-page .public-content-block__content [align="right"],
.public-activity-page .public-content-block__content [style*="text-align: right"],
.public-activity-page .public-content-block__content [style*="text-align:right"],
.public-activity-page .public-content-block__content .text-right {
  text-align: right !important;
}
.public-activity-page .public-content-block__content [align="justify"],
.public-activity-page .public-content-block__content [style*="text-align: justify"],
.public-activity-page .public-content-block__content [style*="text-align:justify"],
.public-activity-page .public-content-block__content .text-justify {
  text-align: justify !important;
}
.public-activity-page .public-family-links__label {
  display: none !important;
}
@media only screen and (max-width: 1024px) {
  .public-activity-page .public-detail-content .public-content-blocks {
    width: 96%;
  }
}
@media only screen and (max-width: 680px) {
  .public-activity-page .public-detail-content .public-content-blocks {
    width: 100%;
  }
}
/* ========================================================================== 
   V1.5.0 - blocs de contenu structurés
   ========================================================================== */
.public-activity-page .public-content-block--encadre {
  padding: 30px 32px;
  border: 1px solid #d7e4ec;
  border-left: 4px solid #8eb8d1;
  border-radius: 8px;
  background: #f7fafc;
}
.public-activity-page .public-content-block--mise_en_avant {
  padding: 32px 34px;
  border: 1px solid #c9dce8;
  border-radius: 10px;
  background: linear-gradient(135deg, #f2f8fc 0%, #ffffff 100%);
  box-shadow: 0 8px 24px rgba(25, 74, 108, 0.06);
}
.public-activity-page .public-content-block--mise_en_avant h2 {
  color: #0f4f82;
}
.public-activity-page .public-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.public-activity-page .public-step {
  min-width: 0;
  padding: 22px 20px 20px;
  border: 1px solid #dce7ed;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(29, 62, 87, 0.04);
}
.public-activity-page .public-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.public-activity-page .public-step__number {
  color: #9eb8c9;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
}
.public-activity-page .public-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #edf5fa;
  color: #0f4f82;
  font-size: 18px;
  font-weight: 700;
}
.public-activity-page .public-step__icon--diagnostic:before {
  content: '⌕';
}
.public-activity-page .public-step__icon--preparation:before {
  content: '▦';
}
.public-activity-page .public-step__icon--travaux:before {
  content: '⚒';
}
.public-activity-page .public-step__icon--controle:before {
  content: '✓';
}
.public-activity-page .public-step__icon--electricite:before {
  content: '⚡';
}
.public-activity-page .public-step__icon--placo:before {
  content: '▤';
}
.public-activity-page .public-step__icon--isolation:before {
  content: '≋';
}
.public-activity-page .public-step h3 {
  margin: 0 0 9px;
  color: #153f63;
  font-size: 16px;
  line-height: 1.4;
}
.public-activity-page .public-step p {
  margin: 0;
  color: #586f7f;
  font-size: 13px;
  line-height: 1.6;
}
.public-activity-page .public-key-points--body {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.public-activity-page .public-key-points__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px 7px 33px;
  border: 1px solid #d9e6ee;
  border-radius: 999px;
  background: #f7fafc;
  color: #496579;
  font-size: 14px;
  line-height: 1.35;
}
.public-activity-page .public-key-points__item:before {
  content: '✓';
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #0f4f82;
  font-weight: 700;
}
.public-activity-page .public-content-block--cta {
  margin-bottom: 72px;
}
.public-activity-page .public-content-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 32px;
  border: 1px solid #d8e5ed;
  border-radius: 10px;
  background: #fff;
}
.public-activity-page .public-content-cta h2 {
  margin: 0 0 8px;
  font-size: 24px;
}
.public-activity-page .public-content-cta p,
.public-activity-page .public-content-cta__text {
  margin: 0;
  color: #607383;
  font-size: 15px;
  line-height: 1.6;
}
.public-activity-page .public-content-cta__text p {
  margin: 0;
}
.public-activity-page .public-content-cta__button {
  display: inline-block;
  flex: 0 0 auto;
  padding: 12px 18px;
  border-radius: 6px;
  background: #0f4f82;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
@media only screen and (max-width: 1180px) {
  .public-activity-page .public-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 680px) {
  .public-activity-page .public-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .public-activity-page .public-step {
    padding: 18px 17px;
  }
  .public-activity-page .public-key-points__item {
    width: 100%;
    box-sizing: border-box;
    border-radius: 7px;
  }
  .public-activity-page .public-content-block--encadre,
  .public-activity-page .public-content-block--mise_en_avant {
    padding: 22px 18px;
  }
  .public-activity-page .public-content-cta {
    display: block;
    padding: 22px 18px;
    text-align: center;
  }
  .public-activity-page .public-content-cta__button {
    margin-top: 18px;
  }
}
/* ========================================================================== 
   V1.5.0.3 - page activité : contenu centré, navigation secteur, étapes
   ========================================================================== */
.public-activity-page .public-content-block > h2,
.public-activity-page .public-content-block__subtitle,
.public-activity-page .public-content-block__content {
  text-align: center;
}
/* Les alignements explicitement saisis dans l'éditeur restent prioritaires. */
.public-activity-page .public-content-block__content [align="left"],
.public-activity-page .public-content-block__content [style*="text-align: left"],
.public-activity-page .public-content-block__content [style*="text-align:left"],
.public-activity-page .public-content-block__content .text-left {
  text-align: left !important;
}
.public-activity-page .public-family-links {
  margin-top: 10px;
}
.public-activity-page .public-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
}
.public-activity-page .public-step {
  flex: 1 1 245px;
  width: 100%;
  max-width: 330px;
  box-sizing: border-box;
}
.public-activity-page .public-step__top {
  justify-content: flex-start;
}
.public-activity-page .public-step__number {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf5fa;
  color: #547a93;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25px;
  line-height: 1;
}
.public-activity-page .public-step__icon {
  margin-left: auto;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}
.public-activity-page .public-step__icon--diagnostic:before {
  content: 'D';
}
.public-activity-page .public-step__icon--preparation:before {
  content: 'Pr';
}
.public-activity-page .public-step__icon--travaux:before {
  content: 'T';
}
.public-activity-page .public-step__icon--controle:before {
  content: 'OK';
}
.public-activity-page .public-step__icon--electricite:before {
  content: 'E';
}
.public-activity-page .public-step__icon--placo:before {
  content: 'Pl';
}
.public-activity-page .public-step__icon--isolation:before {
  content: 'I';
}
@media only screen and (max-width: 680px) {
  .public-activity-page .public-step {
    max-width: 100%;
  }
}
/* ========================================================================== 
   V1.5.0.4 - ajustements page activité + réalisations famille
   ========================================================================== */
/* Rapproche le premier contenu du titre uniquement sur la View activité. */
.public-activity-page .public-page-hero--activity + .public-detail-content {
  padding-top: 38px !important;
}
/* Détache clairement la navigation familles du dernier bloc de contenu. */
.public-activity-page .public-detail-content > .public-family-links {
  margin-top: 48px !important;
}
/* La page famille affiche au maximum 4 réalisations sur une rangée large. */
.public-activity-page .public-related-section--family-realisations {
  margin-top: 72px;
}
@media only screen and (max-width: 680px) {
  .public-activity-page .public-page-hero--activity + .public-detail-content {
    padding-top: 30px !important;
  }
  .public-activity-page .public-detail-content > .public-family-links {
    margin-top: 38px !important;
  }
}
/* ========================================================================== 
   V1.5.0.5 - MOBILE : largeur utile maximale
   ========================================================================== */
@media only screen and (max-width: 680px) {
  .public-activity-page .wrap_default {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }
  .public-activity-page .public-detail-content .public-content-blocks,
  .public-activity-page .public-related-section,
  .public-activity-page .public-realisation-grid {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .public-activity-page .public-realisation-card {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}
/* ========================================================================== 
   V1.5.0.6 - navigation familles sur page famille + espace avant footer
   ========================================================================== */
.public-activity-page .public-list-page__sector-nav {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid #dfe8ee;
}
.public-activity-page .public-list-page__sector-nav .public-family-links {
  max-width: 1180px;
  margin: 0 auto;
}
.public-activity-page > .wrap_default:not(.public-detail-content):last-child {
  padding-bottom: 72px;
}
@media only screen and (max-width: 680px) {
  .public-activity-page .public-list-page__sector-nav {
    margin-top: 40px;
    padding-top: 22px;
  }
  .public-activity-page .public-list-page__sector-nav .public-family-links__items {
    gap: 8px;
  }
  .public-activity-page .public-list-page__sector-nav .public-family-links__items a {
    padding: 7px 10px;
    font-size: 13px;
  }
  .public-activity-page > .wrap_default:not(.public-detail-content):last-child {
    padding-bottom: 48px;
  }
}
.public-home {
  color: #263b4b;
  font-size: 17px;
  line-height: 1.7;
}
.public-home .wrap_default {
  width: auto;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
  box-sizing: border-box;
}
.public-home__hero {
  background: linear-gradient(180deg, #f3f8fc 0%, #ffffff 100%);
  border-bottom: 1px solid #eef3f6;
}
.public-home__hero-inner {
  text-align: center;
  padding-top: 86px;
  padding-bottom: 92px;
}
.public-home__hero h1 {
  margin: 0;
  color: #153f63;
  font-size: 42px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -.4px;
}
.public-home__hero p {
  max-width: 820px;
  margin: 30px auto 0;
  color: #51687a;
  font-size: 20px;
  line-height: 1.65;
}
.public-home__intro {
  text-align: center;
  padding-top: 88px;
  padding-bottom: 76px;
}
.public-home__intro h2 {
  margin: 0 0 32px;
  color: #153f63;
  font-size: 31px;
  line-height: 1.3;
}
.public-home__intro-text {
  max-width: 860px;
  margin: 0 auto;
  color: #485d6e;
  font-size: 18px;
  line-height: 1.85;
}
.public-home__intro-text p {
  margin: 0 0 18px;
}
.public-home__sector {
  padding-top: 72px;
  padding-bottom: 104px;
  border-top: 1px solid #dfe8ee;
}
.public-sector-heading {
  text-align: center;
  margin-bottom: 58px;
}
.public-sector-heading__line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.public-sector-heading__line .ico {
  flex: 0 0 16px;
  transform: scale(1.25);
}
.public-sector-heading h2 {
  margin: 0;
  color: #153f63;
  font-size: 32px;
  line-height: 1.28;
}
.public-sector-heading h2 a {
  color: inherit;
  text-decoration: none;
}
.public-sector-heading h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.public-sector-heading > p {
  margin: 18px auto 0;
  color: #6d7f8d;
  font-size: 18px;
  line-height: 1.6;
}
.public-activity-links ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 54px;
  row-gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.public-activity-links li {
  text-align: center;
  min-width: 0;
}
.public-activity-links a {
  display: inline-block;
  padding: 6px 2px;
  color: #0f4f82;
  font-size: 17px;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.public-activity-links a:hover {
  border-bottom-color: #0f4f82;
}
.public-home__realisations-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  margin-top: 92px;
  margin-bottom: 34px;
  padding-top: 34px;
  border-top: 1px solid #edf1f4;
}
.public-home__realisations-head h3 {
  margin: 0;
  color: #153f63;
  font-size: 25px;
}
.public-home__realisations-head a {
  color: #0f4f82;
  font-size: 15px;
  text-decoration: none;
  font-weight: 600;
}
.public-realisation-grid {
  display: grid;
  gap: 30px;
}
.public-realisation-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.public-realisation-card {
  min-width: 0;
  border: 1px solid #dfe8ee;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(29, 62, 87, 0.055);
}
.public-realisation-card__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.public-realisation-card__media {
  aspect-ratio: 1.33333333;
  background: #edf2f5;
  overflow: hidden;
}
.public-realisation-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.public-realisation-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.public-realisation-card__body {
  padding: 24px 22px 22px;
}
.public-realisation-card h3 {
  margin: 0;
  min-height: 54px;
  color: #153f63;
  font-size: 19px;
  line-height: 1.42;
}
.public-realisation-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.public-realisation-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #f5f8fb;
  color: #526a7b;
  font-size: 14px;
  line-height: 1.3;
}
.public-realisation-card__meta b {
  color: #0f4f82;
  font-size: 11px;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.public-home__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 14px;
  margin-bottom: 76px;
  padding-top: 42px;
  padding-bottom: 42px;
  border-top: 1px solid #dfe8ee;
  border-bottom: 1px solid #dfe8ee;
}
.public-home__trust > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: #153f63;
}
.public-home__trust-icon {
  display: inline-flex;
  width: 27px;
  height: 27px;
  justify-content: center;
  align-items: center;
  border: 1px solid #b8ccd9;
  border-radius: 50%;
  color: #0f4f82;
  font-size: 13px;
}
@media only screen and (max-width: 1024px) {
  .public-home__hero-inner {
    padding-top: 70px;
    padding-bottom: 76px;
  }
  .public-home__hero h1 {
    font-size: 36px;
  }
  .public-activity-links ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 38px;
    row-gap: 19px;
  }
  .public-realisation-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-home__sector {
    padding-top: 64px;
    padding-bottom: 90px;
  }
}
@media only screen and (max-width: 680px) {
  .public-home {
    font-size: 16px;
  }
  .public-home .wrap_default {
    padding-left: 20px;
    padding-right: 20px;
  }
  .public-home__hero-inner {
    padding-top: 58px;
    padding-bottom: 62px;
  }
  .public-home__hero h1 {
    font-size: 29px;
    line-height: 1.3;
  }
  .public-home__hero p {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.7;
  }
  .public-home__intro {
    padding-top: 66px;
    padding-bottom: 62px;
  }
  .public-home__intro h2 {
    margin-bottom: 25px;
    font-size: 26px;
  }
  .public-home__intro-text {
    font-size: 16px;
    line-height: 1.8;
  }
  .public-home__sector {
    padding-top: 58px;
    padding-bottom: 76px;
  }
  .public-sector-heading {
    margin-bottom: 44px;
  }
  .public-sector-heading__line {
    align-items: center;
    gap: 11px;
  }
  .public-sector-heading h2 {
    font-size: 27px;
  }
  .public-sector-heading > p {
    margin-top: 14px;
    font-size: 16px;
  }
  .public-activity-links ul {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .public-activity-links a {
    font-size: 16px;
    padding: 8px 2px;
  }
  .public-home__realisations-head {
    display: block;
    margin-top: 72px;
    margin-bottom: 28px;
    padding-top: 30px;
    text-align: center;
  }
  .public-home__realisations-head h3 {
    margin-bottom: 12px;
    font-size: 23px;
  }
  .public-realisation-grid--3 {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .public-realisation-card h3 {
    min-height: 0;
  }
  .public-home__trust {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 55px;
    padding-top: 36px;
    padding-bottom: 36px;
  }
}
/* ========================================================================== 
   V1.3 - largeur fluide et rythme vertical resserré
   ========================================================================== */
.public-home .wrap_default {
  width: calc(52%);
  max-width: 1600px;
  padding-left: 0;
  padding-right: 0;
}
.public-home__hero-inner {
  padding-top: 62px;
  padding-bottom: 66px;
}
.public-home__hero p {
  margin-top: 22px;
}
.public-home__intro {
  padding-top: 56px;
  padding-bottom: 50px;
}
.public-home__intro h2 {
  margin-bottom: 22px;
}
.public-home__sector {
  padding-top: 50px;
  padding-bottom: 76px;
}
.public-sector-heading {
  margin-bottom: 36px;
}
.public-sector-heading > p {
  margin-top: 12px;
}
.public-activity-links ul {
  row-gap: 10px;
  column-gap: 44px;
}
.public-activity-links a {
  padding-top: 4px;
  padding-bottom: 4px;
}
.public-home__realisations-head {
  margin-top: 58px;
  margin-bottom: 28px;
  padding-top: 28px;
}
.public-realisation-card__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
}
.public-realisation-card__meta span {
  min-width: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  white-space: nowrap;
}
.public-realisation-card__meta span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}
.public-realisation-card__meta .ico {
  flex: 0 0 20px;
}
@media only screen and (max-width: 680px) {
  .public-home .wrap_default {
    width: auto;
    padding-left: 18px;
    padding-right: 18px;
  }
  .public-home__hero-inner {
    padding-top: 48px;
    padding-bottom: 52px;
  }
  .public-home__intro {
    padding-top: 48px;
    padding-bottom: 44px;
  }
  .public-home__sector {
    padding-top: 46px;
    padding-bottom: 64px;
  }
  .public-sector-heading {
    margin-bottom: 32px;
  }
  .public-activity-links ul {
    row-gap: 8px;
  }
  .public-home__realisations-head {
    margin-top: 52px;
  }
  .public-realisation-card__meta {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}
/* ========================================================================== 
   V1.3.1 - CORRECTIF LARGEUR REELLE ACCUEIL
   ========================================================================== */
.public-home .wrap_default {
  width: 96vw !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}
.public-home .public-realisation-grid--3 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.public-home__hero-inner {
  padding-top: 44px !important;
  padding-bottom: 48px !important;
}
.public-home__intro {
  padding-top: 42px !important;
  padding-bottom: 40px !important;
}
.public-home__sector {
  padding-top: 42px !important;
  padding-bottom: 62px !important;
}
@media only screen and (max-width: 1279px) and (min-width: 1025px) {
  .public-home .public-realisation-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 1024px) {
  .public-home .wrap_default {
    width: calc(64%) !important;
  }
  .public-home .public-realisation-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 680px) {
  .public-home .wrap_default {
    width: calc(72%) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .public-home .public-realisation-grid--3 {
    grid-template-columns: 1fr;
  }
}
/* ========================================================================== 
   V1.4 - rythme, lisibilité, interactions et cartes accueil
   ========================================================================== */
.public-home__hero-inner {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
.public-home__hero h1 {
  font-size: 36px;
  line-height: 1.24;
  letter-spacing: -.25px;
}
.public-home__hero p {
  max-width: 900px;
  margin-top: 18px;
  color: #4f7694;
  font-size: 18px;
  line-height: 1.55;
}
.public-home__intro {
  padding-top: 38px !important;
  padding-bottom: 38px !important;
}
.public-home__intro h2 {
  margin-bottom: 20px;
  font-size: 28px;
  line-height: 1.3;
}
.public-home__intro-text {
  font-size: 17px;
  line-height: 1.75;
}
.public-home__sector {
  padding-top: 42px !important;
  padding-bottom: 60px !important;
}
.public-sector-heading {
  margin-bottom: 30px;
}
.public-sector-heading h2 {
  font-size: 29px;
}
.public-sector-heading > p {
  margin-top: 10px;
  color: #3d79a4;
  font-size: 17px;
  line-height: 1.55;
}
.public-activity-links ul {
  row-gap: 8px;
}
.public-activity-links a {
  padding: 7px 12px;
  border: 0;
  border-radius: 5px;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.public-activity-links a:hover,
.public-activity-links a:focus {
  background: #edf5fa;
  color: #0b436f;
  text-decoration: none;
}
.public-home__realisations-head {
  margin-top: 52px;
  margin-bottom: 26px;
  padding-top: 26px;
}
.public-home .public-realisation-card__body {
  padding: 18px 17px 18px;
}
.public-home .public-realisation-card h3 {
  min-height: 0;
  font-size: 16px;
  line-height: 1.38;
  font-weight: 600;
}
.public-home .public-realisation-card__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 14px;
}
.public-home .public-realisation-card__meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  background: transparent;
  color: #647887;
  font-size: 13px;
  line-height: 1.35;
  white-space: normal;
}
.public-home .public-realisation-card__meta span:first-child {
  overflow: visible;
  text-overflow: clip;
}
.public-home .public-realisation-card__meta-icon {
  display: inline-block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  overflow: hidden;
}
.public-home__trust {
  gap: 32px;
  margin-top: 38px;
  margin-bottom: 84px;
  padding-top: 38px;
  padding-bottom: 38px;
}
.public-home__trust > div {
  gap: 11px;
}
.public-home__trust-icon {
  width: 30px;
  height: 30px;
  overflow: hidden;
}
.public-home__trust-icon i {
  display: inline-block;
  transform: scale(0.92);
  transform-origin: center;
}
@media only screen and (max-width: 1024px) {
  .public-home__hero h1 {
    font-size: 32px;
  }
  .public-home__hero p {
    font-size: 17px;
  }
  .public-sector-heading h2 {
    font-size: 27px;
  }
  .public-home__trust {
    margin-bottom: 68px;
  }
}
@media only screen and (max-width: 680px) {
  .public-home__hero-inner {
    padding-top: 32px !important;
    padding-bottom: 34px !important;
  }
  .public-home__hero h1 {
    font-size: 27px;
  }
  .public-home__hero p {
    margin-top: 14px;
    font-size: 16px;
  }
  .public-home__intro {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  .public-home__intro h2 {
    font-size: 24px;
  }
  .public-sector-heading h2 {
    font-size: 25px;
  }
  .public-sector-heading > p {
    font-size: 16px;
  }
  .public-home__trust {
    margin-top: 30px;
    margin-bottom: 56px;
  }
}
/* ========================================================================== 
   V1.4.2 - hiérarchie visuelle et espacements validés
   ========================================================================== */
.public-home {
  padding-bottom: 56px;
}
.public-home__hero-inner {
  padding-top: 56px !important;
  padding-bottom: 28px !important;
}
.public-home__hero h1 {
  font-size: 33px;
  line-height: 1.24;
}
.public-home__hero p {
  margin-top: 14px;
  color: #2f83b5;
  font-size: 17px;
  line-height: 1.5;
}
.public-home__intro {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}
.public-home__intro h2 {
  margin-bottom: 18px;
  font-size: 26px;
}
.public-home__intro-text {
  max-width: 1120px;
  color: #486173;
  font-size: 16px;
  line-height: 1.72;
}
.public-home__intro-text p {
  margin: 0 0 10px;
}
.public-home__intro-text p:last-child {
  margin-bottom: 0;
}
.public-home__sector {
  padding-top: 28px !important;
  padding-bottom: 54px !important;
}
.public-sector-heading {
  margin-bottom: 24px;
}
.public-sector-heading h2 {
  font-size: 27px;
}
.public-sector-heading > p {
  margin-top: 8px;
  color: #2f83b5;
  font-size: 16px;
  font-weight: 500;
}
.public-home .public-activity-links ul {
  row-gap: 6px;
}
.public-home .public-activity-links a {
  color: #486a81;
  font-size: 16px;
}
.public-home .public-activity-links a:hover,
.public-home .public-activity-links a:focus {
  background: #eaf4fa;
  color: #0f4f82;
}
.public-home__realisations-head {
  margin-top: 46px;
  margin-bottom: 24px;
  padding-top: 24px;
}
.public-home .public-realisation-card h3 {
  min-height: 45px;
  font-size: 15px;
  line-height: 1.48;
}
.public-home .public-realisation-card__meta-icon {
  flex: 0 0 15px !important;
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  overflow: hidden !important;
}
.public-home__trust {
  margin-top: 56px;
  margin-bottom: 0;
  padding-top: 34px;
  padding-bottom: 34px;
}
@media only screen and (max-width: 1024px) {
  .public-home {
    padding-bottom: 48px;
  }
  .public-home__hero-inner {
    padding-top: 48px !important;
    padding-bottom: 24px !important;
  }
  .public-home__intro {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
  .public-home__sector {
    padding-top: 24px !important;
  }
}
@media only screen and (max-width: 680px) {
  .public-home {
    padding-bottom: 38px;
  }
  .public-home__hero-inner {
    padding-top: 38px !important;
    padding-bottom: 20px !important;
  }
  .public-home__hero h1 {
    font-size: 26px;
  }
  .public-home__hero p {
    font-size: 15px;
  }
  .public-home__intro {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  .public-home__intro h2 {
    font-size: 23px;
  }
  .public-home__sector {
    padding-top: 20px !important;
  }
  .public-sector-heading h2 {
    font-size: 24px;
  }
  .public-home .public-realisation-card h3 {
    min-height: 0;
  }
  .public-home__trust {
    margin-top: 42px;
  }
}
/* ========================================================================== 
   V1.4.3 - largeur du texte de confiance et rythme vertical homogène
   ========================================================================== */
.public-home__hero-inner {
  padding-top: 48px !important;
  padding-bottom: 0 !important;
}
.public-home__intro {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}
.public-home__intro-text {
  width: 90%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.48;
}
.public-home__intro-text p {
  margin: 0 0 8px;
}
.public-home__sector {
  padding-top: 0 !important;
}
.public-home__trust {
  margin-top: 56px !important;
  margin-bottom: 72px !important;
}
@media only screen and (max-width: 1024px) {
  .public-home__hero-inner {
    padding-top: 42px !important;
  }
  .public-home__intro {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
  .public-home__intro-text {
    width: 94%;
  }
  .public-home__trust {
    margin-bottom: 60px !important;
  }
}
@media only screen and (max-width: 680px) {
  .public-home__hero-inner {
    padding-top: 32px !important;
  }
  .public-home__intro {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  .public-home__intro-text {
    width: 100%;
    line-height: 1.55;
  }
  .public-home__trust {
    margin-bottom: 48px !important;
  }
}
/* ========================================================================== 
   V1.4.6 - respiration avant les secteurs d'activité
   ========================================================================== */
.public-home__sector {
  padding-top: 48px !important;
}
@media only screen and (max-width: 1024px) {
  .public-home__sector {
    padding-top: 36px !important;
  }
}
@media only screen and (max-width: 680px) {
  .public-home__sector {
    padding-top: 28px !important;
  }
}
/* ========================================================================== 
   V1.4.9 - hiérarchie accueil, listes compactes et pictogramme placo
   ========================================================================== */
.public-home__intro h2 {
  font-size: 20px !important;
  line-height: 1.32;
}
.public-home .public-activity-links ul {
  row-gap: 0 !important;
}
.public-home .public-activity-links a {
  padding-top: 1px !important;
  padding-bottom: 1px !important;
  line-height: 1.30;
}
.public-sector-heading__placo-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 26px;
  width: 26px;
  height: 22px;
}
.public-sector-heading__placo-icon:before,
.public-sector-heading__placo-icon:after,
.public-sector-heading__placo-icon i {
  content: '';
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 19px;
  height: 12px;
  border: 2px solid #0f4f82;
  border-radius: 2px;
  background: #fff;
}
.public-sector-heading__placo-icon:before {
  left: 1px;
  top: 1px;
}
.public-sector-heading__placo-icon i {
  left: 4px;
  top: 5px;
}
.public-sector-heading__placo-icon:after {
  left: 7px;
  top: 9px;
}
@media only screen and (max-width: 680px) {
  .public-home__intro h2 {
    font-size: 18px !important;
  }
  .public-home .public-activity-links ul {
    row-gap: 0 !important;
  }
}
/* ==========================================================================
   V1.5.0.4 - accueil : structure restauree + respiration du bandeau principal
   ========================================================================== */
/* Le seul bloc deplace est la presentation "Electricien de confiance depuis 1999". */
.public-home__hero-inner {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}
.public-home__hero p {
  margin-top: 22px !important;
}
/* Presentation deplacee en bas sans modifier l'ordre des secteurs/realisations. */
.public-home__trust + .public-home__intro {
  padding-top: 50px !important;
  padding-bottom: 58px !important;
}
@media only screen and (max-width: 1024px) {
  .public-home__hero-inner {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  .public-home__trust + .public-home__intro {
    padding-top: 42px !important;
    padding-bottom: 48px !important;
  }
}
@media only screen and (max-width: 680px) {
  .public-home__hero-inner {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
  .public-home__hero p {
    margin-top: 16px !important;
  }
  .public-home__trust + .public-home__intro {
    padding-top: 34px !important;
    padding-bottom: 40px !important;
  }
}
/* ========================================================================== 
   V1.5.0.5 - MOBILE : largeur utile maximale
   --------------------------------------------------------------------------
   Le mobile exploite toute la largeur de l'ecran. La respiration est geree
   par un petit padding interieur, et non par un conteneur reduit/centre.
   ========================================================================== */
@media only screen and (max-width: 680px) {
  .public-home .wrap_default {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }
  .public-home .public-realisation-grid,
  .public-home .public-realisation-grid--3 {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .public-home .public-realisation-card {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}
.public-admin {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 24px 70px;
  box-sizing: border-box;
  color: #243847;
}
.public-admin__head,
.public-admin__subhead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
.public-admin__head h1 {
  margin: 0 0 7px;
  font-size: 29px;
  color: #173f60;
}
.public-admin__head p,
.public-admin__subhead p {
  margin: 0;
  color: #71808b;
}
.public-admin__subhead h2 {
  margin: 0 0 5px;
  color: #244b68;
}
.public-admin__panel {
  margin-bottom: 26px;
  padding: 26px;
  border: 1px solid #dbe4ea;
  border-radius: 7px;
  background: #fff;
}
.public-admin__panel--spaced {
  margin-top: 35px;
}
.public-admin__panel h2 {
  margin: 0 0 20px;
  color: #244b68;
  font-size: 20px;
}
.public-admin__help {
  color: #71808b;
  font-size: 13px;
  line-height: 1.55;
}
.public-admin__grid-2,
.public-admin__grid-3 {
  display: grid;
  gap: 18px 24px;
}
.public-admin__grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.public-admin__grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.public-admin .input {
  margin-bottom: 18px;
}
.public-admin label {
  display: block;
  margin-bottom: 7px;
  color: #405666;
  font-weight: 600;
}
.public-admin input[type=text],
.public-admin input[type=number],
.public-admin input[type=date],
.public-admin select,
.public-admin textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 11px;
  border: 1px solid #cdd9e0;
  border-radius: 4px;
  background: #fff;
  color: #263b4b;
}
.public-admin textarea {
  min-height: 90px;
  resize: vertical;
}
.public-admin input[type=checkbox] {
  margin-right: 7px;
}
.public-admin__actions {
  margin-top: 20px;
}
.public-admin__button {
  display: inline-block;
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  background: #0f4f82;
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
}
.public-admin__button--secondary {
  background: #627889;
}
.public-admin__link {
  color: #0f4f82;
  text-decoration: none;
  font-weight: 600;
}
.public-admin__filters {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: #f6f8fa;
  border: 1px solid #dbe4ea;
  border-radius: 6px;
}
.public-admin__filters form {
  display: flex;
  align-items: end;
  gap: 15px;
}
.public-admin__filters .input {
  min-width: 220px;
  margin: 0;
}
.public-admin__list {
  border-top: 1px solid #dbe4ea;
}
.public-admin__list--inside {
  border-top: 0;
}
.public-admin__row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid #dbe4ea;
}
.public-admin__row-main strong {
  display: block;
  color: #29495f;
}
.public-admin__row-main small {
  display: block;
  margin-top: 5px;
  color: #71808b;
  line-height: 1.45;
}
.public-admin__status {
  padding: 6px 9px;
  border-radius: 4px;
  background: #edf1f4;
  color: #536572;
  font-size: 12px;
  white-space: nowrap;
}
.public-admin__status--on {
  background: #e8f5ed;
  color: #2e6a44;
}
.public-admin__status--off {
  background: #f5ecec;
  color: #8a4949;
}
.public-admin__row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 12px;
}
.public-admin__row-actions a {
  color: #0f4f82;
  text-decoration: none;
  font-size: 13px;
}
.public-admin__empty {
  padding: 24px;
  background: #f6f8fa;
  color: #71808b;
  text-align: center;
}
.public-admin fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.public-admin .checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  margin: 4px 18px 8px 0;
}
.public-admin .checkbox label {
  display: inline;
  margin: 0;
  font-weight: 400;
}
.public-admin__photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.public-admin__photo-card {
  border: 1px solid #dbe4ea;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}
.public-admin__photo-preview {
  aspect-ratio: 1.33333333;
  background: #edf1f4;
  overflow: hidden;
}
.public-admin__photo-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.public-admin__photo-body {
  padding: 16px;
}
.public-admin__photo-body strong,
.public-admin__photo-body small {
  display: block;
}
.public-admin__photo-body small {
  margin-top: 6px;
  color: #71808b;
}
.public-admin__photo-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.public-admin__photo-flags span {
  padding: 4px 7px;
  border-radius: 4px;
  background: #f6f8fa;
  color: #5a6d7a;
  font-size: 11px;
}
@media only screen and (max-width: 1024px) {
  .public-admin__grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-admin__row {
    grid-template-columns: 1fr auto;
  }
  .public-admin__row-actions {
    grid-column: -1;
    justify-content: flex-start;
  }
  .public-admin__photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 680px) {
  .public-admin {
    padding: 22px 14px 50px;
  }
  .public-admin__head,
  .public-admin__subhead {
    display: block;
  }
  .public-admin__head .public-admin__button,
  .public-admin__subhead .public-admin__button {
    margin-top: 15px;
  }
  .public-admin__panel {
    padding: 19px 16px;
  }
  .public-admin__grid-2,
  .public-admin__grid-3 {
    grid-template-columns: 1fr;
  }
  .public-admin__filters form {
    display: block;
  }
  .public-admin__filters .input {
    min-width: 0;
    margin-bottom: 12px;
  }
  .public-admin__row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .public-admin__row-actions {
    grid-column: auto;
  }
  .public-admin__photo-grid {
    grid-template-columns: 1fr;
  }
}
/* ========================================================================== 
   V1.3 - intégration trame Admin + contrôles lisibles
   ========================================================================== */
.public-admin {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px 24px 60px;
}
.public-admin input[type="checkbox"] {
  display: inline-block !important;
  position: static !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  margin: 0 9px 0 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  clip: auto !important;
  visibility: visible !important;
  vertical-align: middle;
  -webkit-appearance: checkbox !important;
  appearance: auto !important;
}
.public-admin .checkbox {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin: 0;
}
.public-admin .checkbox label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: #405666;
  font-weight: 600;
  cursor: pointer;
}
.public-admin__activity-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-top: 20px;
}
.public-admin__activity-choice {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  padding: 13px 14px;
  border: 1px solid #dbe4ea;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}
.public-admin__activity-choice:hover {
  background: #f6f8fa;
}
.public-admin__activity-choice input[type="checkbox"] {
  flex: 0 0 18px;
  margin-top: 2px !important;
}
.public-admin__activity-choice-content {
  display: block;
  min-width: 0;
}
.public-admin__activity-choice-content strong {
  display: block;
  color: #29495f;
  font-size: 14px;
  line-height: 1.4;
}
.public-admin__activity-choice-content small {
  display: block;
  margin-top: 4px;
  color: #71808b;
  font-size: 12px;
  line-height: 1.45;
}
.public-admin__datepicker {
  background: #fff;
}
@media only screen and (max-width: 900px) {
  .public-admin__activity-choices {
    grid-template-columns: 1fr;
  }
}
@media only screen and (max-width: 680px) {
  .public-admin {
    padding: 18px 12px 45px;
  }
}
/* ========================================================================== 
   V1.4.3 - choix explicite de la photo de couverture
   ========================================================================== */
.public-admin__cover-help {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid #d9e5ec;
  border-radius: 6px;
  background: #f7fafc;
}
.public-admin__cover-help strong {
  flex: 0 0 auto;
  color: #244b68;
}
.public-admin__cover-help span {
  color: #71808b;
  line-height: 1.5;
}
.public-admin__photo-card--cover {
  border-color: #7fb8dc;
  box-shadow: 0 0 0 2px rgba(47, 131, 181, 0.1);
}
.public-admin__photo-preview {
  position: relative;
}
.public-admin__cover-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 4px;
  background: rgba(15, 79, 130, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.public-admin__cover-action {
  margin: 14px 0 16px;
}
.public-admin__button--cover {
  padding: 9px 12px;
  font-size: 12px;
}
.public-admin__cover-current {
  display: inline-block;
  color: #2e6a44;
  font-size: 12px;
  font-weight: 700;
}
@media only screen and (max-width: 680px) {
  .public-admin__cover-help {
    display: block;
  }
  .public-admin__cover-help span {
    display: block;
    margin-top: 6px;
  }
}
/* ========================================================================== 
   V1.4.8 - information pendant le traitement des photos
   ========================================================================== */
body.public-admin-processing-open {
  overflow: hidden;
}
.public-admin-processing[hidden] {
  display: none !important;
}
.public-admin-processing {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.public-admin-processing__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 42, 55, 0.46);
}
.public-admin-processing__box {
  position: relative;
  z-index: 1;
  width: 92vw;
  max-width: 470px;
  padding: 28px 30px;
  box-sizing: border-box;
  border: 1px solid #d5e1e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(22, 45, 61, 0.24);
  color: #243847;
  text-align: center;
}
.public-admin-processing__box strong {
  display: block;
  margin-top: 14px;
  color: #244b68;
  font-size: 19px;
}
.public-admin-processing__box p {
  margin: 12px 0 7px;
  color: #526978;
  font-size: 14px;
  line-height: 1.55;
}
.public-admin-processing__box small {
  color: #71808b;
  font-size: 12px;
}
.public-admin-processing__spinner {
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 4px solid #dce8ef;
  border-top-color: #0f4f82;
  border-radius: 50%;
  animation: public-admin-spin 0.8s linear infinite;
}
.public-admin__button:disabled {
  opacity: .62;
  cursor: wait;
}
@keyframes public-admin-spin {
  to {
    transform: rotate(360deg);
  }
}
/* ========================================================================== 
   V1.4.9 - familles directement sélectionnables dans une réalisation
   ========================================================================== */
.public-admin__family-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-top: 20px;
}
.public-admin__family-choice {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  padding: 13px 14px;
  border: 1px solid #dbe4ea;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}
.public-admin__family-choice:hover {
  background: #f6f8fa;
}
.public-admin__family-choice input[type="checkbox"] {
  flex: 0 0 18px;
  margin-top: 2px !important;
}
.public-admin__family-choice-content {
  display: block;
  min-width: 0;
}
.public-admin__family-choice-content strong {
  display: block;
  color: #29495f;
  font-size: 14px;
  line-height: 1.4;
}
.public-admin__family-choice-content small {
  display: block;
  margin-top: 4px;
  color: #71808b;
  font-size: 12px;
  line-height: 1.45;
}
@media only screen and (max-width: 900px) {
  .public-admin__family-choices {
    grid-template-columns: 1fr;
  }
}
/* ========================================================================== 
   V1.5.0 - blocs de contenu structurés
   ========================================================================== */
.public-admin__block-help {
  margin: 16px 0 22px;
  padding: 13px 15px;
  border: 1px solid #dce6ec;
  border-radius: 6px;
  background: #f7fafc;
  color: #71808b;
  font-size: 13px;
  line-height: 1.5;
}
.public-admin__block-help strong {
  display: block;
  margin-bottom: 5px;
  color: #243847;
  font-size: 13px;
}
.public-admin__block-help [data-block-help] {
  display: none;
}
.public-admin__block-section {
  margin-top: 24px;
}
.public-admin__block-settings {
  margin-top: 26px;
}
.public-admin__notice {
  margin: 12px 0 0;
  padding: 11px 13px;
  border-left: 3px solid #d5a74a;
  background: #fff9eb;
  color: #6b5b35;
  font-size: 12px;
  line-height: 1.5;
}
.public-admin__structured-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 14px;
}
.public-admin__structured-head h3 {
  margin: 0;
  color: #243847;
  font-size: 18px;
}
.public-admin__structured-head p {
  margin: 6px 0 0;
  color: #71808b;
  font-size: 12px;
  line-height: 1.5;
}
.public-admin__button--small {
  flex: 0 0 auto;
  padding: 9px 12px;
  font-size: 12px;
}
.public-admin__structured-list {
  display: grid;
  gap: 12px;
}
.public-admin__structured-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid #dbe4ea;
  border-radius: 7px;
  background: #fff;
}
.public-admin__structured-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #edf5fa;
  color: #0f4f82;
  font-size: 15px;
  font-weight: 700;
}
.public-admin__structured-index--check {
  font-size: 20px;
}
.public-admin__structured-fields {
  min-width: 0;
}
.public-admin__structured-fields > label,
.public-admin__structured-grid > label {
  display: block;
  margin-bottom: 12px;
  color: #405666;
  font-size: 12px;
  font-weight: 600;
}
.public-admin__structured-fields input[type="text"],
.public-admin__structured-fields textarea,
.public-admin__structured-fields select {
  width: 100%;
  box-sizing: border-box;
  margin-top: 5px;
}
.public-admin__structured-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(170px, 0.6fr);
  gap: 16px;
  align-items: end;
}
.public-admin__structured-active {
  display: flex !important;
  align-items: center;
  min-height: 38px;
  margin-bottom: 12px !important;
  padding-top: 18px;
}
.public-admin__structured-active input[type="checkbox"] {
  margin-right: 8px !important;
}
.public-admin__structured-actions {
  display: flex;
  gap: 5px;
}
.public-admin__structured-actions button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #d7e2e8;
  border-radius: 4px;
  background: #fff;
  color: #0f4f82;
  cursor: pointer;
  font-size: 14px;
}
.public-admin__structured-actions button:hover {
  background: #f6f8fa;
}
.public-admin__structured-row--point {
  grid-template-columns: 52px minmax(0, 1fr) auto;
}
@media only screen and (max-width: 900px) {
  .public-admin__structured-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .public-admin__structured-active {
    padding-top: 0;
  }
}
@media only screen and (max-width: 680px) {
  .public-admin__structured-head {
    display: block;
  }
  .public-admin__structured-head .public-admin__button {
    margin-top: 12px;
  }
  .public-admin__structured-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
  }
  .public-admin__structured-index {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .public-admin__structured-actions {
    grid-column: 2;
    justify-content: flex-end;
  }
}
.public-admin__block-type {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef5f9;
  color: #41657d;
  font-weight: 600;
}
.public-realisations-page {
  color: #263b4b;
  font-size: 17px;
  line-height: 1.75;
}
.public-realisations-page .wrap_default {
  width: auto;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
  box-sizing: border-box;
}
.public-page-hero {
  text-align: center;
  background: linear-gradient(180deg, #f3f8fc 0%, #ffffff 100%);
  border-bottom: 1px solid #eef3f6;
}
.public-page-hero > .wrap_default {
  padding-top: 72px;
  padding-bottom: 78px;
}
.public-page-hero__eyebrow {
  margin: 0 0 17px;
  color: #0f4f82;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.public-page-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  color: #153f63;
  font-size: 40px;
  line-height: 1.25;
}
.public-page-hero h1 + p {
  max-width: 800px;
  margin: 24px auto 0;
  color: #587083;
  font-size: 19px;
  line-height: 1.65;
}
.public-list-page {
  padding-top: 80px;
  padding-bottom: 80px;
}
.public-list-page__intro {
  max-width: 840px;
  margin: 0 auto 54px;
  text-align: center;
  color: #4d6475;
}
.public-list-page__crosslink {
  margin-top: 58px;
  text-align: center;
}
.public-list-page__crosslink a {
  color: #0f4f82;
  text-decoration: none;
  font-weight: 600;
}
.public-realisation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 31px;
}
.public-realisation-card {
  border: 1px solid #dfe8ee;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(29, 62, 87, 0.05);
}
.public-realisation-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.public-realisation-card__media {
  aspect-ratio: 1.33333333;
  overflow: hidden;
  background: #edf2f5;
}
.public-realisation-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.public-realisation-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.public-realisation-card__body {
  padding: 24px 22px 23px;
}
.public-realisation-card h3 {
  margin: 0;
  color: #153f63;
  font-size: 19px;
  line-height: 1.45;
}
.public-realisation-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.public-realisation-card__meta span,
.public-realisation-detail__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f5f8fb;
  color: #526a7b;
  font-size: 14px;
  line-height: 1.3;
}
.public-realisation-card__meta b,
.public-realisation-detail__meta b {
  color: #0f4f82;
  font-size: 11px;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.public-realisation-detail {
  padding-top: 72px;
  padding-bottom: 84px;
}
.public-realisation-detail__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
}
.public-realisation-detail__cover {
  max-width: 980px;
  margin: 0 auto 64px;
}
.public-realisation-detail__cover picture {
  display: block;
}
.public-realisation-detail__cover-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  background: #eef2f4;
  border-radius: 9px;
}
.public-realisation-detail__cover figcaption,
.public-gallery figcaption {
  margin-top: 10px;
  color: #6d7f8d;
  font-size: 13px;
  text-align: center;
}
.public-realisation-detail__resume {
  max-width: 850px;
  margin: 0 auto 64px;
  color: #4a6172;
  font-size: 18px;
  line-height: 1.85;
  text-align: center;
}
.public-content-blocks {
  max-width: 900px;
  margin: 0 auto;
}
.public-content-block {
  margin-bottom: 72px;
}
.public-content-block h2 {
  margin: 0 0 22px;
  color: #153f63;
  font-size: 28px;
  line-height: 1.35;
}
.public-content-block__subtitle {
  margin: -9px 0 25px;
  color: #6d7f8d;
}
.public-content-block__content {
  color: #405868;
  font-size: 17px;
  line-height: 1.85;
}
.public-content-block__content p {
  margin: 0 0 18px;
}
.public-content-block__content h2,
.public-content-block__content h3,
.public-content-block__content h4 {
  margin: 35px 0 16px;
  color: #153f63;
  line-height: 1.4;
}
.public-content-block--encadre {
  padding: 32px 35px;
  background: #f5f8fb;
  border-left: 3px solid #a9c6da;
  border-radius: 6px;
}
.public-gallery,
.public-related-section {
  margin-top: 96px;
  padding-top: 54px;
  border-top: 1px solid #dfe8ee;
}
.public-related-section__head {
  margin-bottom: 34px;
  text-align: center;
}
.public-related-section__head h2 {
  margin: 0;
  color: #153f63;
  font-size: 27px;
}
.public-related-section__head span {
  display: block;
  margin-top: 12px;
  color: #6d7f8d;
  font-size: 15px;
}
.public-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.public-gallery figure {
  margin: 0;
}
.public-gallery picture {
  display: block;
}
.public-gallery__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  background: #eef2f4;
  border-radius: 8px;
}
.public-activity-links ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 42px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.public-activity-links li {
  text-align: center;
}
.public-activity-links a {
  display: inline-block;
  padding: 7px 2px;
  color: #0f4f82;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.public-activity-links a:hover {
  border-color: #0f4f82;
}
.public-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  margin-top: 100px;
  padding: 36px 40px;
  border: 1px solid #dfe8ee;
  border-radius: 10px;
  background: #fff;
}
.public-cta h2 {
  margin: 0 0 8px;
  color: #153f63;
  font-size: 24px;
}
.public-cta p {
  margin: 0;
  color: #6d7f8d;
  font-size: 15px;
}
.public-cta__button {
  display: inline-block;
  flex: 0 0 auto;
  padding: 13px 20px;
  border-radius: 6px;
  background: #0f4f82;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
}
.public-page-hero__eyebrow a {
  color: inherit;
  text-decoration: none;
}
.public-page-hero__eyebrow a:hover {
  text-decoration: underline;
}
.public-family-links {
  max-width: 940px;
  margin: 0 auto 58px;
  text-align: center;
}
.public-family-links__label {
  display: block;
  margin-bottom: 17px;
  color: #6d7f8d;
  font-size: 15px;
  font-weight: 600;
}
.public-family-links__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.public-family-links__items a {
  display: inline-block;
  padding: 9px 13px;
  border: 1px solid #dfe8ee;
  border-radius: 999px;
  background: #fff;
  color: #0f4f82;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
}
.public-family-links__items a:hover {
  border-color: #b7ccda;
  background: #f5f8fb;
}
@media only screen and (max-width: 1024px) {
  .public-page-hero h1 {
    font-size: 35px;
  }
  .public-realisation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-activity-links ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 680px) {
  .public-realisations-page {
    font-size: 16px;
  }
  .public-realisations-page .wrap_default {
    padding-left: 20px;
    padding-right: 20px;
  }
  .public-page-hero > .wrap_default {
    padding-top: 58px;
    padding-bottom: 62px;
  }
  .public-page-hero h1 {
    font-size: 29px;
  }
  .public-page-hero h1 + p {
    font-size: 16px;
  }
  .public-list-page,
  .public-realisation-detail {
    padding-top: 62px;
    padding-bottom: 62px;
  }
  .public-realisation-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .public-realisation-detail__cover {
    margin-bottom: 48px;
  }
  .public-realisation-detail__resume {
    font-size: 16px;
    margin-bottom: 54px;
  }
  .public-content-block {
    margin-bottom: 58px;
  }
  .public-content-block h2 {
    font-size: 24px;
  }
  .public-content-block__content {
    font-size: 16px;
    line-height: 1.8;
  }
  .public-gallery,
  .public-related-section {
    margin-top: 75px;
    padding-top: 45px;
  }
  .public-gallery__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .public-activity-links ul {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .public-cta {
    display: block;
    margin-top: 75px;
    padding: 30px 24px;
    text-align: center;
  }
  .public-cta__button {
    margin-top: 22px;
  }
}
/* ========================================================================== 
   V1.3 - largeur fluide, hero simplifié, cartes alignées
   ========================================================================== */
.public-realisations-page .wrap_default {
  width: calc(52%);
  max-width: 1600px;
  padding-left: 0;
  padding-right: 0;
}
.public-page-hero > .wrap_default {
  padding-top: 54px;
  padding-bottom: 58px;
}
.public-page-hero h1 + p {
  margin-top: 18px;
}
.public-page-hero__description {
  max-width: 1040px;
  margin: 22px auto 0 !important;
  color: #607383 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}
.public-list-page {
  padding-top: 56px;
  padding-bottom: 72px;
}
.public-realisation-card__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
}
.public-realisation-card__meta span,
.public-realisation-detail__meta span {
  min-width: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  white-space: nowrap;
}
.public-realisation-card__meta span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}
.public-realisation-card__meta .ico,
.public-realisation-detail__meta .ico {
  flex: 0 0 20px;
}
@media only screen and (max-width: 680px) {
  .public-realisations-page .wrap_default {
    width: auto;
    padding-left: 18px;
    padding-right: 18px;
  }
  .public-page-hero > .wrap_default {
    padding-top: 46px;
    padding-bottom: 50px;
  }
  .public-list-page {
    padding-top: 48px;
    padding-bottom: 60px;
  }
  .public-realisation-card__meta {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .public-page-hero__description {
    font-size: 15px !important;
  }
}
/* ========================================================================== 
   V1.3.1 - CORRECTIF LARGEUR REELLE / GRILLE REALISATIONS
   ========================================================================== */
.public-realisations-page .wrap_default {
  width: 96vw !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}
.public-realisations-page .public-page-hero > .wrap_default {
  padding-top: 38px !important;
  padding-bottom: 42px !important;
}
.public-realisations-page .public-list-page {
  padding-top: 38px !important;
  padding-bottom: 62px !important;
}
.public-realisations-page .public-realisation-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}
.public-realisations-page .public-realisation-card__body {
  padding: 20px 18px 19px;
}
.public-realisations-page .public-realisation-card h3 {
  font-size: 18px;
  line-height: 1.4;
}
@media only screen and (max-width: 1279px) and (min-width: 1025px) {
  .public-realisations-page .public-realisation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 1024px) {
  .public-realisations-page .wrap_default {
    width: calc(64%) !important;
  }
  .public-realisations-page .public-realisation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 680px) {
  .public-realisations-page .wrap_default {
    width: calc(72%) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .public-realisations-page .public-page-hero > .wrap_default {
    padding-top: 32px !important;
    padding-bottom: 36px !important;
  }
  .public-realisations-page .public-list-page {
    padding-top: 32px !important;
    padding-bottom: 50px !important;
  }
  .public-realisations-page .public-realisation-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
/* ========================================================================== 
   V1.4 - cartes, métadonnées et page détail réalisation
   ========================================================================== */
.public-realisations-page .public-realisation-card__body {
  padding: 18px 17px 18px;
}
.public-realisations-page .public-realisation-card h3 {
  font-size: 16px;
  line-height: 1.38;
  font-weight: 600;
}
.public-realisations-page .public-realisation-card__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 14px;
}
.public-realisations-page .public-realisation-card__meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  background: transparent;
  color: #647887;
  font-size: 13px;
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.public-realisations-page .public-realisation-card__meta-icon {
  display: inline-block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  overflow: hidden;
}
.public-realisations-page .public-activity-links a {
  padding: 7px 12px;
  border: 0;
  border-radius: 5px;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.public-realisations-page .public-activity-links a:hover,
.public-realisations-page .public-activity-links a:focus {
  background: #edf5fa;
  color: #0b436f;
  text-decoration: none;
}
.public-page-hero--realisation > .wrap_default {
  padding-top: 34px !important;
  padding-bottom: 34px !important;
}
.public-page-hero--realisation h1 {
  max-width: 980px;
  font-size: 32px;
  line-height: 1.28;
  letter-spacing: -.15px;
}
.public-page-hero--realisation h1 + p {
  margin-top: 14px;
  color: #4f7694;
  font-size: 17px;
}
.public-realisation-detail__meta--hero {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 18px;
  margin-bottom: 0;
}
.public-realisation-detail__meta--hero span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid #d9e6ee;
  border-radius: 6px;
  background: #f7fafc;
  color: #587182;
  font-size: 14px;
  line-height: 1.3;
  white-space: normal;
}
.public-realisation-detail__meta-icon {
  display: inline-block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  overflow: hidden;
}
.public-realisation-detail {
  padding-top: 48px;
}
@media only screen and (max-width: 1024px) {
  .public-page-hero--realisation h1 {
    font-size: 29px;
  }
}
@media only screen and (max-width: 680px) {
  .public-page-hero--realisation > .wrap_default {
    padding-top: 28px !important;
    padding-bottom: 30px !important;
  }
  .public-page-hero--realisation h1 {
    font-size: 25px;
  }
  .public-page-hero--realisation h1 + p {
    font-size: 16px;
  }
  .public-realisation-detail__meta--hero {
    margin-top: 15px;
  }
  .public-realisation-detail__meta--hero span {
    font-size: 13px;
  }
  .public-realisation-detail {
    padding-top: 38px;
  }
}
/* ========================================================================== 
   V1.4.2 - alignement cartes, icônes, détail et CTA
   ========================================================================== */
.public-realisations-page .public-realisation-card h3 {
  min-height: 45px;
  font-size: 15px;
  line-height: 1.48;
}
.public-realisations-page .public-realisation-card__meta-icon,
.public-realisations-page .public-realisation-detail__meta-icon {
  flex: 0 0 15px !important;
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  overflow: hidden !important;
}
.public-realisations-page .public-realisation-card__meta span,
.public-realisations-page .public-realisation-detail__meta span {
  gap: 8px;
}
.public-page-hero--realisation > .wrap_default {
  padding-top: 38px !important;
  padding-bottom: 28px !important;
}
.public-page-hero--realisation h1 {
  max-width: 1180px;
  font-size: 27px;
  line-height: 1.3;
}
.public-realisation-detail__meta--hero {
  margin-top: 27px;
  margin-bottom: 0;
}
.public-realisation-detail__meta--hero span {
  padding: 6px 10px;
  font-size: 13px;
}
.public-realisation-detail {
  padding-top: 0;
}
.public-realisation-detail__cover {
  margin-top: 28px;
}
.public-realisation-detail__resume {
  margin-top: 28px;
}
.public-list-page {
  padding-bottom: 56px !important;
}
.public-realisations-page > .wrap_default:not(.public-realisation-detail) > .public-cta {
  margin-top: 0;
  margin-bottom: 0;
}
.public-realisations-page > .wrap_default:not(.public-realisation-detail):last-child {
  padding-bottom: 56px;
}
.public-realisations-page .public-activity-links a {
  color: #486a81;
}
.public-realisations-page .public-activity-links a:hover,
.public-realisations-page .public-activity-links a:focus {
  background: #eaf4fa;
  color: #0f4f82;
}
@media only screen and (max-width: 680px) {
  .public-realisations-page .public-realisation-card h3 {
    min-height: 0;
  }
  .public-page-hero--realisation > .wrap_default {
    padding-top: 30px !important;
    padding-bottom: 24px !important;
  }
  .public-page-hero--realisation h1 {
    font-size: 23px;
  }
  .public-realisation-detail__meta--hero {
    margin-top: 22px;
  }
  .public-realisation-detail__cover,
  .public-realisation-detail__resume {
    margin-top: 24px;
  }
  .public-list-page {
    padding-bottom: 42px !important;
  }
  .public-realisations-page > .wrap_default:not(.public-realisation-detail):last-child {
    padding-bottom: 42px;
  }
}
.public-realisation-detail.has-cover .public-realisation-detail__resume {
  margin-top: 0;
}
.public-realisation-detail.no-cover .public-realisation-detail__resume {
  margin-top: 28px;
}
/* ========================================================================== 
   V1.4.3 - fiche réalisation structurée + galerie compacte
   ========================================================================== */
.public-realisation-page .public-realisation-page__wrap {
  width: 96vw !important;
  max-width: 1680px !important;
  margin: 0 auto !important;
  padding: 34px 0 64px !important;
}
.public-realisation-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  color: #718392;
  font-size: 13px;
  line-height: 1.4;
}
.public-realisation-breadcrumb a {
  color: #52748d;
  text-decoration: none;
}
.public-realisation-breadcrumb a:hover {
  text-decoration: underline;
}
.public-realisation-breadcrumb strong {
  color: #6b7d8b;
  font-weight: 500;
}
.public-realisation-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 34px;
  align-items: start;
  padding-bottom: 34px;
  border-bottom: 1px solid #dfe8ee;
}
.public-realisation-sheet--no-cover {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}
.public-realisation-sheet__media figure {
  position: relative;
  margin: 0;
}
.public-realisation-sheet__media picture {
  display: block;
}
.public-realisation-sheet__cover-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: #eef2f4;
  border-radius: 9px;
}
.public-realisation-sheet__media figcaption {
  margin-top: 8px;
  color: #6d7f8d;
  font-size: 12px;
  text-align: center;
}
.public-realisation-sheet__photo-count {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 5px;
  background: rgba(27, 39, 49, 0.8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.public-realisation-sheet__info {
  padding: 2px 0 0;
}
.public-realisation-sheet__family {
  display: inline-block;
  margin-bottom: 15px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #edf5fb;
  color: #17699d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.public-realisation-sheet__info h1 {
  margin: 0;
  color: #153f63;
  font-size: 31px;
  line-height: 1.18;
  letter-spacing: -.35px;
}
.public-realisation-sheet__subtitle {
  margin: 12px 0 0;
  color: #52748d;
  font-size: 16px;
  line-height: 1.5;
}
.public-realisation-sheet__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 20px;
}
.public-realisation-sheet__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5d7485;
  font-size: 14px;
  line-height: 1.35;
}
.public-realisation-detail__meta-icon {
  flex: 0 0 14px !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  overflow: hidden !important;
  clip-path: inset(0 1px 1px 0);
}
.public-realisation-sheet__activity-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 22px;
}
.public-realisation-sheet__activity-points span {
  position: relative;
  padding-left: 18px;
  color: #496579;
  font-size: 13px;
  line-height: 1.4;
}
.public-realisation-sheet__activity-points span:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #1680bf;
  font-weight: 700;
}
.public-realisation-sheet__resume {
  margin: 24px 0 0;
  color: #486172;
  font-size: 15px;
  line-height: 1.65;
}
.public-realisation-sheet__actions {
  margin-top: 24px;
}
.public-realisation-sheet__cta {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 6px;
  background: #0f4f82;
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.public-realisation-page .public-content-blocks {
  width: 100%;
  max-width: none;
  margin: 32px 0 0;
}
.public-realisation-page .public-content-block {
  margin: 0;
  padding: 28px 0;
  border-bottom: 1px solid #dfe8ee;
}
.public-realisation-page .public-content-block h2 {
  margin: 0 0 14px;
  font-size: 24px;
}
.public-realisation-page .public-content-block__subtitle {
  margin: -3px 0 16px;
}
.public-realisation-page .public-content-block__content {
  max-width: 1180px;
  font-size: 15px;
  line-height: 1.65;
}
.public-realisation-page .public-content-block--encadre {
  margin: 28px 0;
  padding: 24px 28px;
  border: 1px solid #dfe8ee;
  border-left: 3px solid #a9c6da;
}
.public-realisation-page .public-content-block--etapes .public-content-block__content ol,
.public-realisation-page .public-content-block--etapes .public-content-block__content ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style-position: inside;
}
.public-realisation-page .public-content-block--etapes .public-content-block__content li {
  padding: 16px;
  border: 1px solid #dfe8ee;
  border-radius: 7px;
  background: #fff;
}
.public-realisation-page .public-gallery,
.public-realisation-page .public-related-section {
  margin-top: 34px;
  padding-top: 28px;
}
.public-realisation-page .public-related-section__head {
  margin-bottom: 20px;
  text-align: left;
}
.public-realisation-page .public-related-section__head h2 {
  font-size: 23px;
}
.public-realisation-page .public-related-section__head span {
  margin-top: 5px;
  font-size: 13px;
}
.public-realisation-page .public-gallery__grid--compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.public-realisation-page .public-gallery__grid--compact figure {
  margin: 0;
}
.public-realisation-page .public-gallery__image--thumb {
  width: 100%;
  aspect-ratio: 1.33333333;
  height: auto;
  max-height: none;
  object-fit: cover;
  border-radius: 6px;
}
.public-realisation-page .public-gallery__grid--compact figcaption {
  margin-top: 6px;
  font-size: 11px;
  text-align: left;
}
.public-realisation-page__families {
  margin-top: 28px;
}
.public-realisation-page__families .public-family-links {
  max-width: none;
  margin: 0;
  text-align: left;
}
.public-realisation-page__families .public-family-links__label {
  margin-bottom: 10px;
  font-size: 13px;
}
.public-realisation-page__families .public-family-links__items {
  justify-content: flex-start;
  gap: 8px;
}
.public-realisation-page__families .public-family-links__items a {
  padding: 7px 10px;
  font-size: 13px;
}
.public-realisation-page .public-related-section--compact .public-activity-links ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 18px;
}
.public-realisation-page .public-related-section--compact .public-activity-links li {
  text-align: left;
}
.public-realisation-page .public-related-section--compact .public-activity-links a {
  padding: 6px 8px;
  font-size: 14px;
}
.public-realisation-page .public-realisation-grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.public-realisation-page .public-realisation-grid--related .public-realisation-card h3 {
  min-height: 42px;
  font-size: 14px;
}
.public-realisation-page .public-realisation-grid--related .public-realisation-card__body {
  padding: 14px;
}
.public-realisation-page .public-realisation-grid--related .public-realisation-card__meta {
  margin-top: 10px;
}
.public-realisation-page__cta {
  margin-top: 42px;
  margin-bottom: 42px;
}
.public-realisation-page__cta .public-cta {
  margin: 0;
  padding: 24px 28px;
}
.public-realisation-page__cta .public-cta h2 {
  font-size: 22px;
}
/* cartes listes : coupe le pixel voisin du sprite sans déformer l'icône */
.public-realisations-page .public-realisation-card__meta-icon {
  clip-path: inset(0 1px 1px 0);
}
@media only screen and (max-width: 1180px) {
  .public-realisation-sheet {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 26px;
  }
  .public-realisation-sheet__info h1 {
    font-size: 28px;
  }
  .public-realisation-page .public-gallery__grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .public-realisation-page .public-content-block--etapes .public-content-block__content ol,
  .public-realisation-page .public-content-block--etapes .public-content-block__content ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 900px) {
  .public-realisation-page .public-realisation-page__wrap {
    width: calc(64%) !important;
    padding-top: 26px !important;
  }
  .public-realisation-sheet {
    grid-template-columns: 1fr;
  }
  .public-realisation-sheet__media {
    max-width: 760px;
    margin: 0 auto;
  }
  .public-realisation-sheet__info {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
  }
  .public-realisation-page .public-gallery__grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .public-realisation-page .public-related-section--compact .public-activity-links ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-realisation-page .public-realisation-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 680px) {
  .public-realisation-page .public-realisation-page__wrap {
    width: calc(72%) !important;
    padding-top: 20px !important;
    padding-bottom: 42px !important;
  }
  .public-realisation-breadcrumb {
    margin-bottom: 18px;
    font-size: 12px;
  }
  .public-realisation-sheet {
    gap: 22px;
    padding-bottom: 26px;
  }
  .public-realisation-sheet__info h1 {
    font-size: 25px;
  }
  .public-realisation-sheet__meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 16px;
  }
  .public-realisation-sheet__activity-points {
    display: grid;
    gap: 7px;
    margin-top: 18px;
  }
  .public-realisation-sheet__resume {
    margin-top: 18px;
    font-size: 14px;
  }
  .public-realisation-page .public-content-block {
    padding: 24px 0;
  }
  .public-realisation-page .public-content-block h2 {
    font-size: 21px;
  }
  .public-realisation-page .public-content-block__content {
    font-size: 14px;
  }
  .public-realisation-page .public-content-block--etapes .public-content-block__content ol,
  .public-realisation-page .public-content-block--etapes .public-content-block__content ul {
    grid-template-columns: 1fr;
  }
  .public-realisation-page .public-gallery__grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .public-realisation-page .public-related-section--compact .public-activity-links ul {
    grid-template-columns: 1fr;
  }
  .public-realisation-page .public-realisation-grid--related {
    grid-template-columns: 1fr;
  }
  .public-realisation-page__cta {
    margin-top: 34px;
    margin-bottom: 34px;
  }
  .public-realisation-page__cta .public-cta {
    padding: 22px 18px;
  }
}
/* ========================================================================== 
   V1.4.6 - correctif ergonomie réalisations / navigation / fiche détail
   ========================================================================== */
/* Titres des pages listes : légèrement moins imposants. */
.public-realisations-page:not(.public-realisation-page) .public-page-hero h1 {
  font-size: 36px;
  line-height: 1.24;
}
/* Navigation par familles placée sous la grille, sans libellé superflu. */
.public-realisations-page .public-list-page__families {
  margin-top: 46px;
}
.public-realisations-page .public-list-page__families .public-family-links {
  max-width: none;
  margin: 0;
}
.public-realisations-page .public-list-page__families .public-family-links__items {
  justify-content: center;
}
/* Fiche réalisation : photo volontairement moins dominante que les informations. */
.public-realisation-page .public-realisation-sheet {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 40px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}
.public-realisation-page .public-realisation-sheet--no-cover {
  grid-template-columns: minmax(0, 820px);
}
.public-realisation-page .public-realisation-sheet__cover-image {
  max-height: 500px;
}
/* Les activités liées sont directement cliquables dans la colonne d'informations. */
.public-realisation-page .public-realisation-sheet__activity-points {
  gap: 8px 16px;
}
.public-realisation-page .public-realisation-sheet__activity-points a {
  position: relative;
  display: inline-block;
  padding: 5px 9px 5px 24px;
  border-radius: 5px;
  color: #496579;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.public-realisation-page .public-realisation-sheet__activity-points a:before {
  content: '✓';
  position: absolute;
  left: 7px;
  top: 5px;
  color: #1680bf;
  font-weight: 700;
}
.public-realisation-page .public-realisation-sheet__activity-points a:hover,
.public-realisation-page .public-realisation-sheet__activity-points a:focus {
  background: #edf5fa;
  color: #0f4f82;
  text-decoration: none;
}
/* Autres réalisations : quatre cartes compactes sur un écran PC. */
.public-realisation-page .public-realisation-grid--related {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.public-realisation-page .public-realisation-grid--related .public-realisation-card__media {
  aspect-ratio: 1.33333333;
}
@media only screen and (max-width: 1180px) {
  .public-realisation-page .public-realisation-sheet {
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
    gap: 30px;
  }
  .public-realisations-page:not(.public-realisation-page) .public-page-hero h1 {
    font-size: 33px;
  }
}
@media only screen and (max-width: 1024px) {
  .public-realisation-page .public-realisation-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-realisations-page .public-list-page__families {
    margin-top: 38px;
  }
}
@media only screen and (max-width: 900px) {
  .public-realisation-page .public-realisation-sheet {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .public-realisation-page .public-realisation-sheet__media {
    max-width: 680px;
  }
  .public-realisation-page .public-realisation-sheet__cover-image {
    max-height: none;
  }
}
@media only screen and (max-width: 680px) {
  .public-realisations-page:not(.public-realisation-page) .public-page-hero h1 {
    font-size: 26px;
  }
  .public-realisations-page .public-list-page__families {
    margin-top: 30px;
  }
  .public-realisation-page .public-realisation-sheet__activity-points a {
    display: block;
  }
  .public-realisation-page .public-realisation-grid--related {
    grid-template-columns: 1fr;
  }
}
/* ========================================================================== 
   V1.4.7 - contenu historique / navigation familles / couvertures
   ========================================================================== */
/*
 * Les contenus saisis dans TinyMCE doivent utiliser quasiment toute la largeur
 * disponible de la fiche. Le wrap de la page conserve déjà la marge générale.
 */
.public-realisation-page .public-content-block__content {
  width: 94%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
/* Le rendu public respecte explicitement les alignements enregistrés par l'éditeur. */
.public-realisation-page .public-content-block__content [align="center"],
.public-realisation-page .public-content-block__content [style*="text-align: center"],
.public-realisation-page .public-content-block__content [style*="text-align:center"],
.public-realisation-page .public-content-block__content .text-center {
  text-align: center !important;
}
.public-realisation-page .public-content-block__content [align="right"],
.public-realisation-page .public-content-block__content [style*="text-align: right"],
.public-realisation-page .public-content-block__content [style*="text-align:right"],
.public-realisation-page .public-content-block__content .text-right {
  text-align: right !important;
}
.public-realisation-page .public-content-block__content [align="justify"],
.public-realisation-page .public-content-block__content [style*="text-align: justify"],
.public-realisation-page .public-content-block__content [style*="text-align:justify"],
.public-realisation-page .public-content-block__content .text-justify {
  text-align: justify !important;
}
.public-realisation-page .public-content-block__content [align="left"],
.public-realisation-page .public-content-block__content [style*="text-align: left"],
.public-realisation-page .public-content-block__content [style*="text-align:left"],
.public-realisation-page .public-content-block__content .text-left {
  text-align: left !important;
}
/* Même navigation que sur la liste du secteur, entre galerie et réalisations liées. */
.public-realisation-page__families {
  margin: 38px 0 8px;
  padding: 26px 0;
  border-top: 1px solid #dfe8ee;
  border-bottom: 1px solid #dfe8ee;
}
.public-realisation-page__families .public-family-links {
  max-width: none;
  margin: 0;
  text-align: center;
}
.public-realisation-page__families .public-family-links__items {
  justify-content: center;
  gap: 10px 12px;
}
.public-realisation-page__families .public-family-links__items a {
  padding: 8px 12px;
  font-size: 14px;
}
@media only screen and (max-width: 900px) {
  .public-realisation-page .public-content-block__content {
    width: 100%;
  }
  .public-realisation-page__families {
    margin-top: 30px;
    padding: 22px 0;
  }
}
@media only screen and (max-width: 680px) {
  .public-realisation-page__families .public-family-links__items {
    gap: 8px;
  }
  .public-realisation-page__families .public-family-links__items a {
    padding: 7px 10px;
    font-size: 13px;
  }
}
/* ========================================================================== 
   V1.4.8 - visionneuse photos + centrage du contenu historique
   ========================================================================== */
/* Le contenu historique est centré par défaut. Un alignement explicite saisi
 * dans TinyMCE continue de prendre le dessus grâce aux règles V1.4.7. */
.public-realisation-page .public-content-block--legacy .public-content-block__content {
  text-align: center;
}
.public-lightbox-link {
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}
.public-lightbox-link:focus {
  outline: 2px solid #1680bf;
  outline-offset: 3px;
}
html.public-lightbox-open,
body.public-lightbox-open {
  overflow: hidden;
}
.public-lightbox[hidden] {
  display: none !important;
}
.public-lightbox {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  box-sizing: border-box;
}
.public-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 20, 29, 0.9);
}
.public-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 60px;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 94vw;
  max-width: 1450px;
  height: 92vh;
  max-height: 980px;
  padding: 48px 18px 16px;
  box-sizing: border-box;
}
.public-lightbox__stage {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
}
.public-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
}
.public-lightbox__close,
.public-lightbox__nav,
.public-lightbox__thumb {
  appearance: none;
  border: 0;
  cursor: pointer;
}
.public-lightbox__close {
  position: absolute;
  top: 0;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 30px;
  line-height: 42px;
}
.public-lightbox__nav {
  align-self: center;
  width: 48px;
  height: 70px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 46px;
  line-height: 1;
}
.public-lightbox__nav:hover,
.public-lightbox__nav:focus,
.public-lightbox__close:hover,
.public-lightbox__close:focus {
  background: rgba(255, 255, 255, 0.24);
  outline: none;
}
.public-lightbox__nav--prev {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}
.public-lightbox__nav--next {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.public-lightbox__counter {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 9px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 13px;
  line-height: 1;
}
.public-lightbox__caption {
  position: absolute;
  left: 50%;
  bottom: 13px;
  transform: translateX(-50%);
  max-width: 70%;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}
.public-lightbox__thumbs {
  grid-column: -1;
  grid-row: 2;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  justify-content: flex-start;
  margin-top: 12px;
  padding: 4px 2px 2px;
  scrollbar-width: thin;
}
.public-lightbox__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
}
.public-lightbox__thumb.is-active {
  border-color: #fff;
}
.public-lightbox__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
@media only screen and (max-width: 680px) {
  .public-lightbox {
    padding: 8px;
  }
  .public-lightbox__dialog {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    width: 100%;
    height: 96vh;
    padding: 44px 4px 10px;
  }
  .public-lightbox__close {
    right: 6px;
  }
  .public-lightbox__nav {
    width: 38px;
    height: 58px;
    font-size: 36px;
  }
  .public-lightbox__thumb {
    flex-basis: 58px;
    width: 58px;
    height: 44px;
  }
  .public-lightbox__caption {
    max-width: 78%;
    font-size: 12px;
  }
}
/* ========================================================================== 
   V1.4.9 - état vide d'une famille de réalisations
   ========================================================================== */
.public-list-page__empty {
  margin: 28px auto 0;
  padding: 24px 28px;
  max-width: 760px;
  border: 1px solid #dfe8ee;
  border-radius: 8px;
  background: #f7fafc;
  color: #607383;
  text-align: center;
}
/* ========================================================================== 
   V1.5.0 - blocs de contenu structurés
   ========================================================================== */
.public-realisation-page .public-key-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 10px;
  margin-top: 20px;
}
.public-realisation-page .public-key-points__title {
  flex: 0 0 100%;
  margin-bottom: 1px;
  color: #153f63;
  font-size: 13px;
}
.public-realisation-page .public-key-points__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 11px 6px 31px;
  border: 1px solid #d9e6ee;
  border-radius: 999px;
  background: #f7fafc;
  color: #496579;
  font-size: 12px;
  line-height: 1.35;
}
.public-realisation-page .public-key-points__item:before {
  content: '✓';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #0f4f82;
  font-weight: 700;
}
.public-realisation-page .public-key-points--body {
  margin-top: 0;
  gap: 10px 12px;
}
.public-realisation-page .public-content-block--encadre {
  margin: 28px 0;
  padding: 28px 30px;
  border: 1px solid #d7e4ec;
  border-left: 4px solid #8eb8d1;
  border-radius: 8px;
  background: #f7fafc;
}
.public-realisation-page .public-content-block--mise_en_avant {
  margin: 32px 0;
  padding: 30px 32px;
  border: 1px solid #c9dce8;
  border-radius: 10px;
  background: linear-gradient(135deg, #f2f8fc 0%, #ffffff 100%);
  box-shadow: 0 8px 24px rgba(25, 74, 108, 0.06);
}
.public-realisation-page .public-content-block--mise_en_avant h2 {
  color: #0f4f82;
}
.public-realisation-page .public-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.public-realisation-page .public-step {
  min-width: 0;
  padding: 22px 20px 20px;
  border: 1px solid #dce7ed;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(29, 62, 87, 0.04);
}
.public-realisation-page .public-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.public-realisation-page .public-step__number {
  color: #9eb8c9;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
}
.public-realisation-page .public-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #edf5fa;
  color: #0f4f82;
  font-size: 18px;
  font-weight: 700;
}
.public-realisation-page .public-step__icon--diagnostic:before {
  content: '⌕';
}
.public-realisation-page .public-step__icon--preparation:before {
  content: '▦';
}
.public-realisation-page .public-step__icon--travaux:before {
  content: '⚒';
}
.public-realisation-page .public-step__icon--controle:before {
  content: '✓';
}
.public-realisation-page .public-step__icon--electricite:before {
  content: '⚡';
}
.public-realisation-page .public-step__icon--placo:before {
  content: '▤';
}
.public-realisation-page .public-step__icon--isolation:before {
  content: '≋';
}
.public-realisation-page .public-step h3 {
  margin: 0 0 9px;
  color: #153f63;
  font-size: 16px;
  line-height: 1.4;
}
.public-realisation-page .public-step p {
  margin: 0;
  color: #586f7f;
  font-size: 13px;
  line-height: 1.6;
}
.public-realisation-page .public-content-block--cta {
  padding: 30px 0;
  border-bottom: 0;
}
.public-realisation-page .public-content-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 26px 30px;
  border: 1px solid #d8e5ed;
  border-radius: 10px;
  background: #fff;
}
.public-realisation-page .public-content-cta h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.public-realisation-page .public-content-cta p,
.public-realisation-page .public-content-cta__text {
  margin: 0;
  color: #607383;
  font-size: 14px;
  line-height: 1.6;
}
.public-realisation-page .public-content-cta__text p {
  margin: 0;
}
.public-realisation-page .public-content-cta__button {
  display: inline-block;
  flex: 0 0 auto;
  padding: 12px 18px;
  border-radius: 6px;
  background: #0f4f82;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
@media only screen and (max-width: 1180px) {
  .public-realisation-page .public-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 680px) {
  .public-realisation-page .public-key-points {
    gap: 7px;
    margin-top: 16px;
  }
  .public-realisation-page .public-key-points__item {
    width: 100%;
    box-sizing: border-box;
    border-radius: 7px;
  }
  .public-realisation-page .public-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .public-realisation-page .public-step {
    padding: 18px 17px;
  }
  .public-realisation-page .public-content-block--encadre,
  .public-realisation-page .public-content-block--mise_en_avant {
    padding: 22px 18px;
  }
  .public-realisation-page .public-content-cta {
    display: block;
    padding: 22px 18px;
    text-align: center;
  }
  .public-realisation-page .public-content-cta__button {
    margin-top: 18px;
  }
}
/* ========================================================================== 
   V1.5.0.3 - fil d'Ariane, points clés et étapes du chantier
   ========================================================================== */
.public-realisation-breadcrumb {
  width: 92%;
  max-width: 1450px;
  justify-content: center;
  margin: 0 auto 28px;
  text-align: center;
  color: #81909b;
  font-size: 12px;
}
.public-realisation-breadcrumb a {
  color: #668299;
}
.public-realisation-breadcrumb strong {
  color: #758793;
  font-weight: 500;
}
.public-realisation-page .public-key-points:empty {
  display: none;
}
.public-realisation-page .public-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
}
.public-realisation-page .public-step {
  flex: 1 1 245px;
  width: 100%;
  max-width: 330px;
  box-sizing: border-box;
}
.public-realisation-page .public-step__top {
  justify-content: flex-start;
}
.public-realisation-page .public-step__number {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf5fa;
  color: #547a93;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25px;
  line-height: 1;
}
.public-realisation-page .public-step__icon {
  margin-left: auto;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}
.public-realisation-page .public-step__icon--diagnostic:before {
  content: 'D';
}
.public-realisation-page .public-step__icon--preparation:before {
  content: 'Pr';
}
.public-realisation-page .public-step__icon--travaux:before {
  content: 'T';
}
.public-realisation-page .public-step__icon--controle:before {
  content: 'OK';
}
.public-realisation-page .public-step__icon--electricite:before {
  content: 'E';
}
.public-realisation-page .public-step__icon--placo:before {
  content: 'Pl';
}
.public-realisation-page .public-step__icon--isolation:before {
  content: 'I';
}
@media only screen and (max-width: 680px) {
  .public-realisation-breadcrumb {
    width: 100%;
    margin-bottom: 20px;
  }
  .public-realisation-page .public-step {
    max-width: 100%;
  }
}
/* ========================================================================== 
   V1.5.0.5 - MOBILE : largeur utile maximale
   ========================================================================== */
@media only screen and (max-width: 680px) {
  .public-realisations-page .wrap_default,
  .public-realisation-page .public-realisation-page__wrap {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }
  .public-realisations-page .public-realisation-grid,
  .public-realisation-page .public-gallery,
  .public-realisation-page .public-related-section,
  .public-realisation-page .public-content-blocks,
  .public-realisation-page .public-content-block__content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .public-realisations-page .public-realisation-card,
  .public-realisation-page .public-realisation-card {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}
/* ========================================================================== 
   V1.5.0.6 - navigation familles sur page famille + espace avant footer
   ========================================================================== */
.public-realisations-page:not(.public-realisation-page) .public-list-page__sector-nav {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid #dfe8ee;
}
.public-realisations-page:not(.public-realisation-page) .public-list-page__sector-nav .public-family-links {
  max-width: 1180px;
  margin: 0 auto;
}
.public-realisations-page:not(.public-realisation-page) > .wrap_default:last-child {
  padding-bottom: 72px;
}
@media only screen and (max-width: 680px) {
  .public-realisations-page:not(.public-realisation-page) .public-list-page__sector-nav {
    margin-top: 40px;
    padding-top: 22px;
  }
  .public-realisations-page:not(.public-realisation-page) .public-list-page__sector-nav .public-family-links__items {
    gap: 8px;
  }
  .public-realisations-page:not(.public-realisation-page) .public-list-page__sector-nav .public-family-links__items a {
    padding: 7px 10px;
    font-size: 13px;
  }
  .public-realisations-page:not(.public-realisation-page) > .wrap_default:last-child {
    padding-bottom: 48px;
  }
}
.devis-page {
  width: 100%;
  box-sizing: border-box;
  color: #343a40;
}
.devis-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.devis-head h1 {
  margin: 0 0 5px 0;
  color: #1c4880;
  font-size: 1.55rem;
  font-weight: 600;
}
.devis-head p {
  margin: 0;
  color: #6c757d;
  font-size: .9rem;
}
.devis-head-actions {
  align-items: center;
}
.devis-head-links,
.devis-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.devis-link,
.devis-link-primary,
.devis-link-success,
.devis-link-danger {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #cbd7df;
  border-radius: 4px;
  background: #fff;
  color: #1c4880;
  text-decoration: none;
  font-size: .82rem;
  box-sizing: border-box;
}
.devis-link-primary {
  background: #1c4880;
  border-color: #1c4880;
  color: #fff;
}
.devis-link-success {
  background: #268403;
  border-color: #268403;
  color: #fff;
}
.devis-link-danger {
  background: #fff;
  border-color: #dc3545;
  color: #dc3545;
}
.devis-card {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 18px 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #d5e3ec;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.devis-card-small {
  max-width: 620px;
}
.devis-card h2 {
  margin: 0 0 14px 0;
  color: #1c4880;
  font-size: 1.05rem;
  font-weight: 600;
}
.devis-card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
}
.devis-card-title h2 {
  margin: 0;
}
.devis-card-title span {
  color: #6c757d;
  font-size: .82rem;
}
.devis-help {
  margin: -4px 0 14px 0;
  color: #6c757d;
  font-size: .82rem;
  line-height: 1.45;
}
.devis-form-grid {
  display: grid;
  gap: 14px 18px;
}
.devis-form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.devis-form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.devis-grid-full {
  grid-column-start: 1;
  grid-column-end: -1;
}
.devis-inline-2 {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
}
.devis-form-row {
  display: flex;
  gap: 14px;
  align-items: flex-end;
}
.devis-form-row-action .devis-field-grow {
  flex: 1 1 auto;
}
.devis-field-button {
  flex: 0 0 auto;
  padding-bottom: 16px;
}
.devis-client-summary {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: #ebf1f7;
  border-left: 3px solid #1c4880;
}
.devis-client-summary span {
  color: #6c757d;
  font-size: .85rem;
}
.devis-echeance-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 14px;
  align-items: end;
  border-bottom: 1px solid #e6eff4;
  margin-bottom: 12px;
}
.devis-echeance-row:last-child {
  border-bottom: 0;
}
.devis-readonly-value {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  margin-bottom: 16px;
  background: #f7fafb;
  border: 1px solid #d7e0e6;
  box-sizing: border-box;
  font-weight: 600;
}
.devis-form-submit {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 20px 0;
}
.devis-form-submit-left {
  justify-content: flex-start;
}
.devis-section-setting {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 210px 100px 140px;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e6eff4;
}
.devis-section-setting:last-child {
  border-bottom: 0;
}
.devis-section-total {
  text-align: right;
  font-weight: 600;
}
.devis-zone-settings {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 8px;
}
.devis-zone-setting {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px 34px;
  gap: 6px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid #e6eff4;
  border-radius: 4px;
  background: #fff;
}
.devis-zone-setting .input,
.devis-zone-setting input {
  min-width: 0;
  margin-bottom: 0;
}
.devis-zone-action {
  display: flex;
  justify-content: flex-end;
}
.devis-zone-delete-button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #dc3545;
  border-radius: 4px;
  background: #fff;
  color: #dc3545;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.devis-zone-note {
  margin: 8px 0 0;
  color: #6c757d;
  font-size: .75rem;
}
.devis-zone-toggle-button {
  min-height: 36px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid #1c4880;
  border-radius: 4px;
  background: #fff;
  color: #1c4880;
  font-size: .8rem;
  cursor: pointer;
}
.devis-new-zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 10px;
  align-items: end;
  margin-top: 10px;
}
.devis-new-zone[hidden] {
  display: none;
}
.devis-new-zone-field .input,
.devis-new-zone-field input {
  margin-bottom: 0;
}
.devis-zone-add-button {
  width: 92px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #1c4880;
  border-radius: 4px;
  background: #1c4880;
  color: #fff;
  font-size: .78rem;
  cursor: pointer;
}
.devis-resale-calculator {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e6eff4;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.015);
}
.devis-resale-calculator-head strong,
.devis-resale-calculator-head span {
  display: block;
}
.devis-resale-calculator-head span {
  margin-top: 3px;
  color: #6c757d;
  font-size: .78rem;
}
.devis-resale-calculator-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.devis-resale-calculator-grid label span,
.devis-resale-result span {
  display: block;
  margin-bottom: 5px;
  color: #6c757d;
  font-size: .74rem;
}
.devis-resale-calculator-grid input {
  width: 100%;
  margin: 0;
}
.devis-resale-result {
  padding: 8px 10px;
  border: 1px solid #e6eff4;
  border-radius: 4px;
  background: #fff;
}
.devis-resale-result strong {
  font-size: .95rem;
}
.devis-resale-result-main strong {
  color: #1c4880;
}
.devis-resale-apply {
  margin-top: 10px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #1c4880;
  border-radius: 4px;
  background: #1c4880;
  color: #fff;
  cursor: pointer;
}
.devis-lines-section {
  margin-bottom: 18px;
  border: 1px solid #d5e3ec;
}
.devis-lines-section-title,
.devis-view-section-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 12px;
  background: #ebf1f7;
  color: #1c4880;
}
.devis-lines-section-title span,
.devis-view-section-head span {
  font-size: .8rem;
  color: #6c757d;
}
.devis-zone-group {
  border-top: 1px solid #e6eff4;
}
.devis-zone-group:first-child {
  border-top: 0;
}
.devis-zone-group-title {
  padding: 8px 12px;
  background: #f8fbfc;
  color: #1c4880;
  border-bottom: 1px solid #e6eff4;
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
}
.devis-zone-group .devis-line-row {
  border-top: 0;
  border-bottom: 1px solid #e6eff4;
}
.devis-zone-group .devis-line-row:last-child {
  border-bottom: 0;
}
.devis-line-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px 70px;
  gap: 15px;
  align-items: center;
  padding: 12px;
  border-top: 1px solid #e6eff4;
}
.devis-line-main p {
  margin: 4px 0;
  color: #6c757d;
  font-size: .84rem;
  line-height: 1.4;
}
.devis-line-main p:first-child {
  margin-top: 0;
}

.devis-line-main small {
  color: #7f8b93;
}
.devis-line-zone {
  margin-bottom: 3px;
  color: #1c4880;
  font-size: .74rem;
  text-transform: uppercase;
  font-weight: 600;
}
.devis-line-total {
  text-align: right;
  font-weight: 600;
}
.devis-line-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.devis-line-readonly {
  grid-template-columns: minmax(0, 1fr) 140px;
}
.devis-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.devis-summary-grid > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.devis-summary-grid span {
  color: #6c757d;
  font-size: .78rem;
}
.devis-totals {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}
.devis-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 10px;
  border-bottom: 1px solid #e6eff4;
}
.devis-total-final {
  color: #1c4880;
  font-size: 1.05rem;
  border-top: 2px solid #1c4880;
}
.devis-list-head,
.devis-list-row {
  display: grid;
  grid-template-columns: 150px minmax(180px, 1fr) 110px 120px 110px 130px 90px;
  gap: 10px;
  align-items: center;
}
.devis-list-head {
  padding: 9px 10px;
  background: #ebf1f7;
  color: #1c4880;
  font-size: .78rem;
  font-weight: 600;
}
.devis-list-row {
  padding: 11px 10px;
  border-bottom: 1px solid #e6eff4;
  font-size: .83rem;
}
.col-online {
  text-align: center;
}
.devis-online-status {
  display: inline-block;
  min-width: 68px;
  padding: 4px 7px;
  border-radius: 3px;
  font-size: .72rem;
  font-weight: 600;
  text-align: center;
}
.devis-online-status.is-online {
  background: #eaf6ee;
  color: #277447;
}
.devis-online-status.is-offline {
  background: #f2f3f4;
  color: #68737b;
}
.devis-online-status.is-na {
  min-width: 0;
  background: transparent;
  color: #9aa2a8;
}
.col-total {
  text-align: right;
}
.col-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.devis-status {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 3px;
  background: #eef2f4;
  color: #5d6972;
  font-size: .75rem;
}
.status-accepte {
  background: #e6f4df;
  color: #268403;
}
.status-refuse,
.status-annule {
  background: #fde7e7;
  color: #b22b2b;
}
.status-envoye {
  background: #e5eef8;
  color: #1c4880;
}
.status-finalise {
  background: #fff4d7;
  color: #84651e;
}
.status-brouillon {
  background: #eef2f4;
  color: #5d6972;
}
.devis-empty {
  padding: 25px 15px;
  text-align: center;
  color: #7b868d;
}
.devis-empty-small {
  padding: 12px;
  text-align: left;
}
.devis-version-row,
.devis-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px 180px;
  gap: 15px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e6eff4;
}
.devis-version-row > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.devis-version-row span,
.devis-history-row span {
  font-size: .8rem;
  color: #6c757d;
}
.devis-pagination {
  margin-top: 15px;
}
@media only screen and (max-width: 1100px) {
  .devis-form-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .devis-section-setting {
    grid-template-columns: minmax(180px, 1fr) 180px 90px;
  }
  .devis-section-total {
    grid-column-start: 1;
    grid-column-end: -1;
    text-align: left;
  }
  .devis-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .devis-list-head {
    display: none;
  }
  .devis-list-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 14px;
    padding: 14px 10px;
  }
  .col-actions {
    justify-content: flex-start;
  }
  .col-online {
    text-align: left;
  }
  .col-total {
    text-align: left;
  }
}
@media only screen and (max-width: 700px) {
  .devis-card {
    padding: 13px;
  }
  .devis-head,
  .devis-head-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .devis-head-links,
  .devis-actions-bar {
    width: 100%;
  }
  .devis-link,
  .devis-link-primary,
  .devis-link-success,
  .devis-link-danger {
    justify-content: center;
    flex: 1 1 auto;
  }
  .devis-form-grid-2,
  .devis-form-grid-3 {
    grid-template-columns: 1fr;
  }
  .devis-inline-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .devis-form-row {
    flex-direction: column;
    align-items: stretch;
  }
  .devis-field-button {
    padding-bottom: 0;
  }
  .devis-echeance-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .devis-section-setting {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .devis-zone-grid-head {
    display: none;
  }
  .devis-zone-setting {
    grid-template-columns: minmax(0, 1fr) 72px 86px;
    gap: 7px;
  }
  .devis-zone-delete-button {
    width: 86px;
    padding: 0 7px;
  }
  .devis-new-zone {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 7px;
  }
  .devis-zone-add-button {
    width: 86px;
  }
  .devis-line-row,
  .devis-line-readonly {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .devis-line-total {
    text-align: left;
  }
  .devis-line-actions {
    justify-content: flex-start;
  }
  .devis-summary-grid {
    grid-template-columns: 1fr;
  }
  .devis-list-row {
    grid-template-columns: 1fr;
  }
  .devis-version-row,
  .devis-history-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .devis-card-title {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* ==========================================================================
   PUBLICATION DEVIS DANS L'ESPACE CLIENT
   ========================================================================== */
.devis-publication-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.devis-publication-card > div {
  min-width: 0;
}
.devis-publication-card p {
  margin: 6px 0 0 0;
  line-height: 1.45;
}
.devis-publication-card.is-online {
  border-left: 4px solid #2f7d4e;
  background: #f2f8f4;
}
.devis-publication-card.is-online > div > strong,
.devis-publication-card.is-online .devis-publication-status {
  color: #2f7d4e;
}
.devis-publication-card.is-offline {
  border-left: 4px solid #8b9298;
  background: #f7f8f9;
}
.devis-publication-card.is-offline > div > strong,
.devis-publication-card.is-offline .devis-publication-status {
  color: #666f76;
}
.devis-publication-status {
  flex: 0 0 auto;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid #dfe4e8;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.devis-link-online {
  border-color: #2f7d4e;
  color: #2f7d4e;
}
.devis-link-offline {
  border-color: #8b9298;
  color: #666f76;
}
@media (max-width: 700px) {
  .devis-publication-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* ========================================================================== 
   ACCUSE D'ACCEPTATION - ADMINISTRATION
   ========================================================================== */
.devis-receipt-success {
  border-left: 4px solid #268403;
  background: #f4faf2;
}
.devis-receipt-success strong {
  color: #236f35;
  font-size: 1rem;
}
.devis-receipt-success p {
  margin: 6px 0 0 0;
  color: #4f5f68;
  line-height: 1.45;
}
.devis-receipt-grid {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #d5e3ec;
  border-left: 1px solid #d5e3ec;
}
.devis-receipt-grid > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 33.333%;
  min-height: 72px;
  padding: 12px 14px;
  border-right: 1px solid #d5e3ec;
  border-bottom: 1px solid #d5e3ec;
  box-sizing: border-box;
}
.devis-receipt-grid span {
  color: #6c757d;
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
}
.devis-receipt-grid strong {
  color: #343a40;
  line-height: 1.4;
}
.devis-receipt-trace p {
  margin: 0 0 10px 0;
  line-height: 1.45;
}
.devis-receipt-hash {
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #5d6c76;
  font-size: .78rem;
}
@media only screen and (max-width: 900px) {
  .devis-receipt-grid > div {
    width: 50%;
  }
}
@media only screen and (max-width: 600px) {
  .devis-receipt-grid {
    display: block;
  }
  .devis-receipt-grid > div {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .devis-zone-settings {
    grid-template-columns: 1fr;
  }
  .devis-resale-calculator-grid {
    grid-template-columns: 1fr;
  }
  .devis-new-zone {
    grid-template-columns: 1fr;
  }
  .devis-zone-add-button {
    width: 100%;
  }
  .devis-resale-apply {
    width: 100%;
  }
}
/*
 * FACTURATION V2
 * Feuille LESS dédiée au module Factures.
 * PC + tablette + mobile dans le même fichier.
 */
.facture-page {
  width: 100%;
  color: #27333c;
}
.facture-head {
  margin-bottom: 18px;
}
.facture-head h1 {
  margin: 0 0 5px 0;
  color: #173b5c;
  font-size: 25px;
  line-height: 1.2;
}
.facture-head p {
  margin: 0;
  color: #6d7880;
}
.facture-head-actions,
.facture-card-title,
.facture-actions-bar,
.facture-line-row,
.facture-totals > div,
.facture-create-title,
.facture-form-row,
.facture-calcul-zone {
  display: flex;
  align-items: center;
}
.facture-head-actions,
.facture-card-title,
.facture-line-row,
.facture-totals > div,
.facture-create-title {
  justify-content: space-between;
}
.facture-head-links,
.facture-actions-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.facture-card {
  margin-bottom: 18px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #dce3e8;
  box-sizing: border-box;
}
.facture-card h2 {
  margin-top: 0;
}
/* ========================================================================== 
   SYNTHÈSE
   ========================================================================== */
.facture-summary {
  padding: 0;
  overflow: hidden;
}
.facture-summary-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.facture-summary-item {
  flex: 1 1 170px;
  min-width: 0;
  padding: 15px 17px;
  border-right: 1px solid #dce3e8;
  box-sizing: border-box;
}
.facture-summary-item:last-child {
  border-right: 0;
}
.facture-summary-item span,
.facture-summary-item strong {
  display: block;
}
.facture-summary-item span {
  margin-bottom: 5px;
  color: #6d7880;
  font-size: 12px;
}
.facture-summary-item strong {
  color: #27333c;
  font-size: 15px;
  line-height: 1.25;
}
.facture-summary-client {
  flex-grow: 1.3;
}
.facture-summary-important {
  background: #eaf4f7;
}
.facture-summary-important strong {
  color: #173b5c;
  font-size: 19px;
}
/* ========================================================================== 
   FORMULAIRE DE CRÉATION
   ========================================================================== */
.facture-create-card {
  padding: 0;
  overflow: visible;
}
.facture-create-title {
  padding: 18px 20px;
  border-bottom: 1px solid #dce3e8;
  align-items: flex-start;
}
.facture-create-title h2 {
  margin: 0 0 4px 0;
  color: #173b5c;
  font-size: 21px;
}
.facture-create-title p {
  margin: 0;
  color: #6d7880;
  font-size: 13px;
}
.facture-brouillon-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  background: #f0f2f4;
  color: #6d7880;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.facture-help,
.facture-notice,
.facture-warning-card {
  line-height: 1.45;
}
.facture-help-important {
  margin: 0;
  padding: 12px 20px;
  border-bottom: 1px solid #dce3e8;
  background: #f6fafb;
  color: #6d7880;
  font-size: 13px;
}
.facture-create-form {
  width: 100%;
}
.facture-form-section {
  padding: 20px;
  border-bottom: 1px solid #dce3e8;
}
.facture-form-section:last-of-type {
  border-bottom: 0;
}
.facture-form-section-head {
  margin-bottom: 16px;
}
.facture-form-section-head h3 {
  margin: 0 0 4px 0;
  color: #173b5c;
  font-size: 16px;
  line-height: 1.25;
}
.facture-form-section-head p {
  margin: 0;
  color: #6d7880;
  font-size: 12px;
}
.facture-form-row {
  width: 100%;
  gap: 18px;
  align-items: flex-start;
}
.facture-field {
  min-width: 0;
  margin-bottom: 15px;
}
.facture-field .input {
  margin: 0;
}
.facture-field label {
  display: block;
  margin-bottom: 6px;
  color: #27333c;
  font-size: 13px;
  font-weight: 700;
}
.facture-field input,
.facture-field select,
.facture-field textarea {
  width: 100%;
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid #dce3e8;
  border-radius: 2px;
  box-sizing: border-box;
  background: #ffffff;
  color: #27333c;
  font-size: 14px;
}
.facture-field input:focus,
.facture-field select:focus,
.facture-field textarea:focus {
  outline: 0;
  border-color: #173b5c;
  box-shadow: 0 0 0 2px rgba(23, 59, 92, 0.09);
}
.facture-field textarea {
  min-height: 105px;
  resize: vertical;
  line-height: 1.5;
}
.facture-field-half {
  flex: 1 1 0;
}
.facture-field-full {
  width: 100%;
}
.facture-field-hint {
  display: block;
  margin-top: 5px;
  color: #6d7880;
  font-size: 11px;
  line-height: 1.35;
}
.facture-calcul-zone {
  width: 100%;
  margin-top: 3px;
  gap: 18px;
  align-items: stretch;
}
.facture-calcul-inputs {
  flex: 1 1 62%;
  min-width: 0;
}
.facture-calcul-preview {
  flex: 0 0 310px;
  min-width: 260px;
  padding: 15px 17px;
  border: 1px solid #dce3e8;
  border-left: 4px solid #173b5c;
  box-sizing: border-box;
  background: #f6fafb;
}
.facture-calcul-preview span,
.facture-calcul-preview strong {
  display: block;
}
.facture-calcul-preview-label {
  margin-bottom: 5px;
  color: #6d7880;
  font-size: 12px;
}
.facture-calcul-preview strong {
  margin-bottom: 10px;
  color: #173b5c;
  font-size: 22px;
  line-height: 1.2;
}
.facture-calcul-preview-after {
  color: #6d7880;
  font-size: 12px;
}
.facture-calcul-preview-after b {
  color: #27333c;
}
.facture-calcul-preview-error {
  min-height: 16px;
  margin-top: 8px;
  color: #a83b3b;
  font-size: 11px;
  font-weight: 700;
}
.facture-calcul-preview-alert {
  border-color: rgba(168, 59, 59, 0.4);
  border-left-color: #a83b3b;
  background: #fff8f8;
}
.facture-solde-info {
  padding: 13px 14px;
  border: 1px solid #dce3e8;
  background: #f6fafb;
}
.facture-solde-info strong,
.facture-solde-info span {
  display: block;
}
.facture-solde-info strong {
  margin-bottom: 4px;
  color: #173b5c;
  font-size: 13px;
}
.facture-solde-info span {
  color: #6d7880;
  font-size: 12px;
}
.facture-date-row {
  max-width: 760px;
}
.facture-date-field {
  position: relative;
}
.facture-datepicker {
  cursor: pointer;
}
.facture-create-actions {
  justify-content: flex-end;
  padding: 17px 20px;
  background: #fbfcfd;
  border-top: 1px solid #dce3e8;
}
.facture-notice {
  margin: 15px 0;
  padding: 10px 12px;
  border-left: 3px solid #2f7da8;
  background: #f4f8fb;
}
.facture-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
}
.facture-status.status-brouillon {
  background: #eeeeee;
}
.facture-link {
  color: #173b5c;
  text-decoration: none;
}
.facture-link:hover {
  text-decoration: underline;
}
.facture-action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  box-sizing: border-box;
  border: 0;
  background: #173b5c;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.facture-action-primary:hover {
  background: #10293f;
  color: #ffffff;
  text-decoration: none;
}
.facture-actions-bar form {
  display: inline-flex;
  margin: 0;
}
.facture-final-card {
  border-left: 4px solid #173b5c;
  background: #f6fafb;
}
.facture-final-card strong {
  color: #173b5c;
}
.facture-final-card p {
  margin: 6px 0 0 0;
}
.facture-warning-card p {
  margin: 6px 0 0 0;
}
/* ========================================================================== 
   DATEPICKER JQUERY UI - MODULE FACTURATION
   ========================================================================== */
#ui-datepicker-div.facture-datepicker-ui {
  z-index: 9999 !important;
  width: 270px;
  padding: 8px;
  border: 1px solid #dce3e8;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.16);
  font-size: 12px;
}
#ui-datepicker-div.facture-datepicker-ui .ui-datepicker-header {
  position: relative;
  min-height: 32px;
  margin-bottom: 6px;
  padding: 3px 34px;
  background: #173b5c;
  color: #ffffff;
  text-align: center;
}
#ui-datepicker-div.facture-datepicker-ui .ui-datepicker-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 26px;
}
#ui-datepicker-div.facture-datepicker-ui select {
  height: 25px;
  padding: 2px 4px;
  border: 0;
  background: #ffffff;
  color: #27333c;
  font-size: 11px;
}
#ui-datepicker-div.facture-datepicker-ui .ui-datepicker-prev,
#ui-datepicker-div.facture-datepicker-ui .ui-datepicker-next {
  position: absolute;
  top: 5px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  text-indent: -9999px;
}
#ui-datepicker-div.facture-datepicker-ui .ui-datepicker-prev {
  left: 5px;
}
#ui-datepicker-div.facture-datepicker-ui .ui-datepicker-next {
  right: 5px;
}
#ui-datepicker-div.facture-datepicker-ui .ui-datepicker-prev:after,
#ui-datepicker-div.facture-datepicker-ui .ui-datepicker-next:after {
  position: absolute;
  top: 3px;
  color: #ffffff;
  font-size: 15px;
  line-height: 18px;
  text-indent: 0;
}
#ui-datepicker-div.facture-datepicker-ui .ui-datepicker-prev:after {
  left: 7px;
  content: '‹';
}
#ui-datepicker-div.facture-datepicker-ui .ui-datepicker-next:after {
  right: 7px;
  content: '›';
}
#ui-datepicker-div.facture-datepicker-ui table {
  width: 100%;
  border-collapse: collapse;
}
#ui-datepicker-div.facture-datepicker-ui th {
  padding: 5px 2px;
  color: #6d7880;
  font-weight: 700;
  text-align: center;
}
#ui-datepicker-div.facture-datepicker-ui td {
  padding: 1px;
  text-align: center;
}
#ui-datepicker-div.facture-datepicker-ui td a,
#ui-datepicker-div.facture-datepicker-ui td span {
  display: block;
  padding: 6px 3px;
  color: #27333c;
  text-decoration: none;
}
#ui-datepicker-div.facture-datepicker-ui td a:hover,
#ui-datepicker-div.facture-datepicker-ui .ui-datepicker-current-day a {
  background: #173b5c;
  color: #ffffff;
}
#ui-datepicker-div.facture-datepicker-ui .ui-datepicker-other-month span,
#ui-datepicker-div.facture-datepicker-ui .ui-state-disabled span {
  color: #b7bdc2;
}
/* ========================================================================== 
   CONSULTATION FACTURE
   ========================================================================== */
.facture-card-title {
  margin-bottom: 12px;
}
.facture-section-title {
  margin-top: 18px;
  padding: 7px 10px;
  font-weight: bold;
  background: #eaf4f7;
}
.facture-zone-title {
  padding: 7px 10px;
  font-weight: bold;
  border-bottom: 1px solid #e1e1e1;
}
.facture-line-row {
  padding: 9px 10px;
  border-bottom: 1px solid #eeeeee;
  align-items: flex-start;
}
.facture-line-main {
  flex: 1 1 auto;
  min-width: 0;
}
.facture-line-main p {
  margin: 4px 0 0 0;
}
.facture-line-main p:first-child {
  margin-top: 0;
}

.facture-line-total {
  flex: 0 0 140px;
  text-align: right;
  font-weight: bold;
}
.facture-totals {
  margin-left: auto;
  max-width: 420px;
}
.facture-totals > div {
  padding: 7px 0;
  border-bottom: 1px solid #e5e5e5;
}
.facture-total-final {
  font-size: 18px;
  font-weight: bold;
}
/* ========================================================================== 
   TABLETTE
   ========================================================================== */
@media (max-width: 1024px) {
  .facture-summary-item {
    flex-basis: 33.333%;
    border-bottom: 1px solid #dce3e8;
  }
  .facture-calcul-zone {
    align-items: flex-start;
  }
  .facture-calcul-preview {
    flex-basis: 280px;
    min-width: 240px;
  }
}
@media (max-width: 850px) {
  .facture-form-row,
  .facture-calcul-zone {
    flex-direction: column;
    gap: 0;
  }
  .facture-field-half,
  .facture-calcul-inputs,
  .facture-calcul-preview {
    width: 100%;
    flex: 0 0 auto;
    min-width: 0;
  }
  .facture-calcul-preview {
    margin-top: 5px;
  }
  .facture-date-row {
    max-width: none;
  }
}
/* ========================================================================== 
   MOBILE
   ========================================================================== */
@media (max-width: 700px) {
  .facture-head-actions,
  .facture-card-title,
  .facture-line-row,
  .facture-totals > div,
  .facture-create-title {
    align-items: flex-start;
  }
  .facture-head-actions,
  .facture-line-row,
  .facture-create-title {
    flex-direction: column;
  }
  .facture-head-links {
    margin-top: 10px;
  }
  .facture-summary-item,
  .facture-summary-client {
    flex: 0 0 100%;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #dce3e8;
  }
  .facture-summary-item:last-child {
    border-bottom: 0;
  }
  .facture-brouillon-badge {
    margin-top: 10px;
  }
  .facture-create-title,
  .facture-help-important,
  .facture-form-section,
  .facture-create-actions {
    padding-left: 13px;
    padding-right: 13px;
  }
  .facture-field input,
  .facture-field select,
  .facture-field textarea {
    font-size: 16px;
  }
  .facture-actions-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .facture-actions-bar form {
    width: 100%;
  }
  .facture-actions-bar button,
  .facture-actions-bar a {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .facture-line-total {
    flex: 0 0 auto;
    width: 100%;
    margin-top: 6px;
    text-align: left;
  }
  .facture-totals {
    max-width: none;
  }
  #ui-datepicker-div.facture-datepicker-ui {
    width: 250px;
  }
}
/* ========================================================================== 
   ENVOI FACTURE FINALISÉE
   ========================================================================== */
.facture-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  box-sizing: border-box;
  border: 1px solid #173b5c;
  background: #ffffff;
  color: #173b5c;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.facture-action-secondary:hover {
  background: #f6fafb;
  color: #173b5c;
  text-decoration: none;
}
.facture-send-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-left: 4px solid #2f7da8;
}
.facture-send-card .facture-send-main {
  min-width: 0;
}
.facture-send-card .facture-send-main > strong {
  color: #173b5c;
}
.facture-send-card .facture-send-main p {
  margin: 6px 0 0 0;
  line-height: 1.45;
}
.facture-send-card .facture-send-warning {
  flex: 0 0 330px;
  max-width: 100%;
  padding: 10px 12px;
  box-sizing: border-box;
  background: #fff5f5;
  color: #a83b3b;
  font-size: 12px;
  line-height: 1.4;
}
@media (max-width: 700px) {
  .facture-send-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .facture-send-card .facture-send-warning {
    flex: 0 0 auto;
    width: 100%;
  }
}
/* ========================================================================== 
   LOT 4 - SITUATION FINANCIERE / AVOIRS / REMBOURSEMENTS
   ========================================================================== */
.facture-action-refund {
  border-color: #c8a45c;
}
.facture-payment-card .status-credit {
  background: #fff3d7;
  color: #8a5a12;
}
.facture-payment-card .status-avoir {
  background: #edf2f8;
  color: #173b5c;
}
.facture-financial-summary {
  flex-wrap: wrap;
}
.facture-financial-summary .facture-payment-summary-item {
  flex: 1 1 150px;
}
.facture-payment-summary-credit {
  background: #fff7e7;
}
.facture-payment-summary-credit strong {
  color: #8a5a12;
}
.facture-financial-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #dce3e8;
}
.facture-financial-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.facture-financial-section-head strong {
  color: #173b5c;
  font-size: 14px;
}
.facture-financial-section-head span {
  color: #6d7880;
  font-size: 11px;
}
.facture-credit-row,
.facture-refund-row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  border-bottom: 1px solid #dce3e8;
  font-size: 12px;
  box-sizing: border-box;
}
.facture-credit-main {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 10px;
}
.facture-credit-main strong,
.facture-credit-main span {
  display: block;
}
.facture-credit-main span {
  margin-top: 2px;
  color: #6d7880;
}
.facture-credit-amount {
  flex: 0 0 115px;
  padding: 8px 10px;
  text-align: right;
  font-weight: 700;
}
.facture-credit-status {
  flex: 0 0 85px;
  padding: 5px 7px;
  text-align: center;
  font-weight: 700;
}
.facture-credit-status.is-final {
  background: #eaf6ee;
  color: #277447;
}
.facture-credit-status.is-draft {
  background: #f2f3f4;
  color: #6d7880;
}
.facture-credit-action {
  flex: 0 0 60px;
  padding: 8px 10px;
  text-align: right;
}
.facture-refund-row > div {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 10px;
}
.facture-refund-row > div:last-child {
  flex: 0 0 80px;
  text-align: right;
}
.remboursement-annule {
  opacity: .55;
  text-decoration: line-through;
}
@media (max-width: 980px) {
  .facture-financial-summary .facture-payment-summary-item {
    flex: 1 1 33.333%;
  }
}
@media (max-width: 700px) {
  .facture-financial-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .facture-financial-summary .facture-payment-summary-item {
    flex: 1 1 100%;
    border-right: 0;
    border-bottom: 1px solid #dce3e8;
  }
  .facture-credit-row,
  .facture-refund-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 0;
  }
  .facture-credit-main,
  .facture-credit-amount,
  .facture-credit-status,
  .facture-credit-action,
  .facture-refund-row > div,
  .facture-refund-row > div:last-child {
    flex: 0 0 auto;
    width: 100%;
    padding: 5px 10px;
    text-align: left;
    box-sizing: border-box;
  }
}
/* ========================================================================== 
   LISTE GENERALE DES FACTURES
   ========================================================================== */
.facture-index-summary,
.facture-index-filter-form,
.facture-index-row {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}
.facture-index-summary {
  margin-bottom: 18px;
  border: 1px solid #dce3e8;
  background: #ffffff;
}
.facture-index-summary-item {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid #dce3e8;
  box-sizing: border-box;
}
.facture-index-summary-item:last-child {
  border-right: 0;
}
.facture-index-summary-item span,
.facture-index-summary-item strong {
  display: block;
}
.facture-index-summary-item span {
  margin-bottom: 5px;
  color: #6d7880;
  font-size: 12px;
}
.facture-index-summary-item strong {
  color: #27333c;
  font-size: 18px;
}
.facture-index-summary-important {
  background: #eaf4f7;
}
.facture-index-summary-important strong {
  color: #173b5c;
}
.facture-index-filter-card {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #dce3e8;
  background: #ffffff;
}
.facture-index-filter-form {
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.facture-index-filter-field {
  flex: 1 1 155px;
  min-width: 140px;
}
.facture-index-filter-field .input {
  margin: 0;
}
.facture-index-filter-field label {
  display: block;
  margin-bottom: 5px;
  color: #27333c;
  font-size: 12px;
  font-weight: 700;
}
.facture-index-filter-field input,
.facture-index-filter-field select {
  width: 100%;
  min-height: 39px;
  padding: 8px 9px;
  border: 1px solid #dce3e8;
  box-sizing: border-box;
  background: #ffffff;
  color: #27333c;
}
.facture-index-filter-search {
  flex: 2 1 260px;
}
.facture-index-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 39px;
}
.facture-index-list {
  width: 100%;
  border: 1px solid #dce3e8;
  background: #ffffff;
  overflow: hidden;
}
.facture-index-row {
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid #dce3e8;
}
.facture-index-row:last-child {
  border-bottom: 0;
}
.facture-index-row-head {
  min-height: 40px;
  background: #173b5c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}
.facture-index-col {
  min-width: 0;
  padding: 9px 10px;
  box-sizing: border-box;
  font-size: 12px;
}
.facture-index-col-numero {
  flex: 0 0 170px;
}
.facture-index-col-numero strong,
.facture-index-col-numero span {
  display: block;
}
.facture-index-col-numero span {
  margin-top: 3px;
  color: #6d7880;
  font-size: 11px;
}
.facture-index-row-head .facture-index-col-numero span {
  color: inherit;
}
.facture-index-col-client {
  flex: 1 1 210px;
}
.facture-index-col-date {
  flex: 0 0 95px;
}
.facture-index-col-type {
  flex: 0 0 95px;
}
.facture-index-col-total,
.facture-index-col-reste {
  flex: 0 0 105px;
  text-align: right;
}
.facture-index-col-paiement {
  flex: 0 0 145px;
  text-align: center;
}
.facture-index-col-online {
  flex: 0 0 110px;
  text-align: center;
}
.facture-index-online-status {
  display: inline-block;
  min-width: 68px;
  padding: 5px 8px;
  box-sizing: border-box;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.facture-index-online-status.is-online {
  background: #eaf6ee;
  color: #277447;
}
.facture-index-online-status.is-offline {
  background: #f0f2f4;
  color: #6d7880;
}
.facture-index-online-status.is-na {
  min-width: 0;
  background: transparent;
  color: #6d7880;
}
.facture-index-col-actions {
  flex: 0 0 115px;
  text-align: right;
}
.facture-index-status {
  display: inline-block;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.facture-index-status.status-payee {
  background: #eaf6ee;
  color: #277447;
}
.facture-index-status.status-partiellement_payee {
  background: #fff3d7;
  color: #8a5a12;
}
.facture-index-status.status-non_payee {
  background: #f8eaea;
  color: #a83b3b;
}
.facture-index-status.status-brouillon {
  background: #f0f2f4;
  color: #6d7880;
}
.facture-index-action {
  margin-left: 8px;
  color: #173b5c;
  font-weight: 700;
  text-decoration: none;
}
.facture-index-action:first-child {
  margin-left: 0;
}
.facture-index-empty {
  padding: 22px;
  border: 1px solid #dce3e8;
  background: #ffffff;
  color: #6d7880;
}
.facture-index-pagination {
  margin-top: 16px;
  text-align: center;
}
.facture-index-pagination a,
.facture-index-pagination span {
  display: inline-block;
  margin: 0 2px;
  padding: 6px 9px;
  text-decoration: none;
}
@media (max-width: 980px) {
  .facture-index-summary {
    flex-wrap: wrap;
  }
  .facture-index-summary-item {
    flex: 1 1 50%;
    border-bottom: 1px solid #dce3e8;
  }
  .facture-index-row-head {
    display: none;
  }
  .facture-index-row:not(.facture-index-row-head) {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px;
  }
  .facture-index-col {
    flex: 1 1 33.333%;
    padding: 7px 9px;
    text-align: left;
  }
  .facture-index-col::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: #6d7880;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
  }
}
@media (max-width: 700px) {
  .facture-index-summary-item {
    flex: 1 1 100%;
    border-right: 0;
  }
  .facture-index-filter-field,
  .facture-index-filter-search,
  .facture-index-filter-actions {
    flex: 1 1 100%;
    width: 100%;
  }
  .facture-index-filter-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .facture-index-col {
    flex: 1 1 100%;
    width: 100%;
    text-align: left;
  }
  .facture-index-col-actions {
    padding-top: 10px;
    border-top: 1px solid #dce3e8;
  }
}
/* ========================================================================== 
   PUBLICATION FACTURE DANS L'ESPACE CLIENT
   ========================================================================== */
.facture-publication-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.facture-publication-card > div {
  min-width: 0;
}
.facture-publication-card p {
  margin: 6px 0 0 0;
  line-height: 1.45;
}
.facture-publication-card.is-online {
  border-left: 4px solid #2f7d4e;
  background: #f2f8f4;
}
.facture-publication-card.is-online > div > strong,
.facture-publication-card.is-online .facture-publication-status {
  color: #2f7d4e;
}
.facture-publication-card.is-offline {
  border-left: 4px solid #8b9298;
  background: #f7f8f9;
}
.facture-publication-card.is-offline > div > strong,
.facture-publication-card.is-offline .facture-publication-status {
  color: #666f76;
}
.facture-publication-status {
  flex: 0 0 auto;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid #dfe4e8;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.facture-action-online {
  border-color: #2f7d4e;
  color: #2f7d4e;
}
.facture-action-offline {
  border-color: #8b9298;
  color: #666f76;
}
@media (max-width: 700px) {
  .facture-publication-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
/*
 * PAIEMENTS V2
 * Feuille LESS dédiée au module Paiements.
 * PC + tablette + mobile dans le même fichier.
 */
.paiement-page {
  width: 100%;
  color: #27333c;
}
.paiement-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.paiement-head h1 {
  margin: 0 0 5px 0;
  color: #173b5c;
  font-size: 25px;
  line-height: 1.2;
}
.paiement-head p {
  margin: 0;
  color: #6d7880;
}
.paiement-link {
  flex: 0 0 auto;
  color: #173b5c;
  text-decoration: none;
}
.paiement-link:hover {
  text-decoration: underline;
}
.paiement-summary {
  display: flex;
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid #dce3e8;
  background: #ffffff;
  box-sizing: border-box;
}
.paiement-summary-item {
  flex: 1 1 0;
  min-width: 0;
  padding: 15px 17px;
  border-right: 1px solid #dce3e8;
  box-sizing: border-box;
}
.paiement-summary-item:last-child {
  border-right: 0;
}
.paiement-summary-item span,
.paiement-summary-item strong {
  display: block;
}
.paiement-summary-item span {
  margin-bottom: 5px;
  color: #6d7880;
  font-size: 12px;
}
.paiement-summary-item strong {
  color: #27333c;
  font-size: 17px;
}
.paiement-summary-important {
  background: #eaf4f7;
}
.paiement-summary-important strong {
  color: #173b5c;
  font-size: 20px;
}
.paiement-card {
  border: 1px solid #dce3e8;
  background: #ffffff;
}
.paiement-card-head {
  padding: 18px 20px;
  border-bottom: 1px solid #dce3e8;
}
.paiement-card-head h2 {
  margin: 0 0 4px 0;
  color: #173b5c;
  font-size: 20px;
}
.paiement-card-head p {
  margin: 0;
  color: #6d7880;
  font-size: 12px;
}
.paiement-form {
  padding: 20px;
}
.paiement-form-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.paiement-field {
  min-width: 0;
  margin-bottom: 16px;
}
.paiement-field .input {
  margin: 0;
}
.paiement-field label {
  display: block;
  margin-bottom: 6px;
  color: #27333c;
  font-size: 13px;
  font-weight: 700;
}
.paiement-field input,
.paiement-field select,
.paiement-field textarea {
  width: 100%;
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid #dce3e8;
  border-radius: 2px;
  box-sizing: border-box;
  background: #ffffff;
  color: #27333c;
  font-size: 14px;
}
.paiement-field input:focus,
.paiement-field select:focus,
.paiement-field textarea:focus {
  outline: 0;
  border-color: #173b5c;
  box-shadow: 0 0 0 2px rgba(23, 59, 92, 0.09);
}
.paiement-field textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.45;
}
.paiement-field-half {
  flex: 1 1 0;
}
.paiement-field-full {
  width: 100%;
}
.paiement-datepicker {
  cursor: pointer;
}
.paiement-hint {
  display: block;
  margin-top: 5px;
  color: #6d7880;
  font-size: 11px;
}
.paiement-notice {
  margin: 2px 0 18px 0;
  padding: 11px 13px;
  border-left: 3px solid #173b5c;
  background: #f7fafb;
  color: #6d7880;
  font-size: 12px;
  line-height: 1.45;
}
.paiement-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #dce3e8;
}
.paiement-button-primary,
.paiement-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.paiement-button-primary {
  background: #173b5c;
  color: #ffffff;
}
.paiement-button-secondary {
  background: #edf0f2;
  color: #27333c;
}
/* Bloc intégré à la vue Facture. */
.facture-payment-card .facture-payment-head,
.facture-payment-card .facture-payment-summary,
.facture-payment-card .facture-payment-row {
  display: flex;
  align-items: center;
}
.facture-payment-card .facture-payment-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}
.facture-payment-card .facture-payment-title strong,
.facture-payment-card .facture-payment-title span {
  display: block;
}
.facture-payment-card .facture-payment-title strong {
  margin-bottom: 3px;
  color: #173b5c;
  font-size: 17px;
}
.facture-payment-card .facture-payment-title span {
  color: #6d7880;
  font-size: 12px;
}
.facture-payment-card .facture-payment-status {
  flex: 0 0 auto;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
}
.facture-payment-card .status-non-payee {
  background: #f2f3f4;
  color: #6d7880;
}
.facture-payment-card .status-partielle {
  background: #fff4e5;
  color: #9b671f;
}
.facture-payment-card .status-payee {
  background: #eaf6ee;
  color: #277447;
}
.facture-payment-card .facture-payment-summary {
  width: 100%;
  margin-bottom: 16px;
  border: 1px solid #dce3e8;
}
.facture-payment-card .facture-payment-summary-item {
  flex: 1 1 0;
  min-width: 0;
  padding: 11px 13px;
  border-right: 1px solid #dce3e8;
}
.facture-payment-card .facture-payment-summary-item:last-child {
  border-right: 0;
}
.facture-payment-card .facture-payment-summary-item span,
.facture-payment-card .facture-payment-summary-item strong {
  display: block;
}
.facture-payment-card .facture-payment-summary-item span {
  margin-bottom: 3px;
  color: #6d7880;
  font-size: 11px;
}
.facture-payment-card .facture-payment-summary-due {
  background: #eaf4f7;
}
.facture-payment-card .facture-payment-summary-due strong {
  color: #173b5c;
}
.facture-payment-card .facture-payment-history {
  border-top: 1px solid #dce3e8;
}
.facture-payment-card .facture-payment-row {
  width: 100%;
  border-bottom: 1px solid #dce3e8;
  font-size: 12px;
}
.facture-payment-card .facture-payment-col {
  padding: 9px 10px;
  box-sizing: border-box;
}
.facture-payment-card .col-date {
  flex: 0 0 120px;
}
.facture-payment-card .col-mode {
  flex: 0 0 150px;
}
.facture-payment-card .col-reference {
  flex: 1 1 auto;
  min-width: 0;
}
.facture-payment-card .col-montant {
  flex: 0 0 120px;
  text-align: right;
  font-weight: 700;
}
.facture-payment-card .col-action {
  flex: 0 0 80px;
  text-align: right;
}
.facture-payment-card .facture-payment-row-head {
  background: #f7fafb;
  color: #6d7880;
  font-weight: 700;
}
.facture-payment-card .facture-payment-empty {
  padding: 12px 0 0 0;
  color: #6d7880;
  font-size: 12px;
}
.facture-payment-card .facture-payment-cancel {
  color: #a83b3b;
  text-decoration: none;
}
@media (max-width: 980px) {
  .paiement-summary {
    flex-wrap: wrap;
  }
  .paiement-summary-item {
    flex: 0 0 50%;
    border-bottom: 1px solid #dce3e8;
  }
}
@media (max-width: 700px) {
  .paiement-head,
  .paiement-form-row,
  .paiement-actions,
  .facture-payment-card .facture-payment-head,
  .facture-payment-card .facture-payment-summary {
    flex-direction: column;
    align-items: stretch;
  }
  .paiement-summary-item {
    flex: 0 0 100%;
    width: 100%;
    border-right: 0;
  }
  .paiement-actions a,
  .paiement-actions button {
    width: 100%;
  }
  .paiement-field input,
  .paiement-field select,
  .paiement-field textarea {
    font-size: 16px;
  }
  .facture-payment-card .facture-payment-row-head {
    display: none;
  }
  .facture-payment-card .facture-payment-row {
    flex-wrap: wrap;
    padding: 8px 0;
  }
  .facture-payment-card .facture-payment-col,
  .facture-payment-card .col-date,
  .facture-payment-card .col-mode,
  .facture-payment-card .col-reference,
  .facture-payment-card .col-montant,
  .facture-payment-card .col-action {
    flex: 0 0 50%;
    width: 50%;
    text-align: left;
  }
  .facture-payment-card .col-montant,
  .facture-payment-card .col-action {
    text-align: right;
  }
}
.facture-payment-card .paiement-annule {
  opacity: 0.62;
}
.facture-payment-card .facture-payment-cancelled-label {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 5px;
  background: #f4e7e7;
  color: #a83b3b;
  font-size: 10px;
  font-weight: 700;
}
/* LOT 4 - le paiement peut désormais produire un trop-perçu traçable. */
.paiement-summary-credit {
  background: #fff7e7;
}
.paiement-summary-credit strong {
  color: #8a5a12;
}
/*
 * REMBOURSEMENTS V2
 * PC + tablette + mobile dans la même feuille.
 */
.remboursement-page {
  width: 100%;
  color: #27333c;
}
.remboursement-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.remboursement-head h1 {
  margin: 0 0 5px;
  color: #173b5c;
  font-size: 25px;
  line-height: 1.2;
}
.remboursement-head p {
  margin: 0;
  color: #6d7880;
}
.remboursement-link {
  color: #173b5c;
  text-decoration: none;
}
.remboursement-link:hover {
  text-decoration: underline;
}
.remboursement-summary {
  display: flex;
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid #dce3e8;
  background: #ffffff;
}
.remboursement-summary-item {
  flex: 1 1 0;
  padding: 15px 17px;
  border-right: 1px solid #dce3e8;
  box-sizing: border-box;
}
.remboursement-summary-item:last-child {
  border-right: 0;
}
.remboursement-summary-item span,
.remboursement-summary-item strong {
  display: block;
}
.remboursement-summary-item span {
  margin-bottom: 5px;
  color: #6d7880;
  font-size: 12px;
}
.remboursement-summary-item strong {
  font-size: 17px;
}
.remboursement-summary-important {
  background: #fff7e7;
}
.remboursement-summary-important strong {
  color: #8a5a12;
  font-size: 20px;
}
.remboursement-card {
  border: 1px solid #dce3e8;
  background: #ffffff;
}
.remboursement-card-head {
  padding: 18px 20px;
  border-bottom: 1px solid #dce3e8;
}
.remboursement-card-head h2 {
  margin: 0 0 4px;
  color: #173b5c;
  font-size: 20px;
}
.remboursement-card-head p {
  margin: 0;
  color: #6d7880;
  font-size: 12px;
}
.remboursement-form {
  padding: 20px;
}
.remboursement-form-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.remboursement-field {
  min-width: 0;
  margin-bottom: 16px;
}
.remboursement-field-half {
  flex: 1 1 0;
}
.remboursement-field-full {
  width: 100%;
}
.remboursement-field .input {
  margin: 0;
}
.remboursement-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}
.remboursement-field input,
.remboursement-field select,
.remboursement-field textarea {
  width: 100%;
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid #dce3e8;
  border-radius: 2px;
  box-sizing: border-box;
  background: #ffffff;
  color: #27333c;
  font-size: 14px;
}
.remboursement-field textarea {
  min-height: 90px;
  resize: vertical;
}
.remboursement-field input:focus,
.remboursement-field select:focus,
.remboursement-field textarea:focus {
  outline: 0;
  border-color: #173b5c;
  box-shadow: 0 0 0 2px rgba(23, 59, 92, 0.09);
}
.remboursement-hint {
  display: block;
  margin-top: 5px;
  color: #6d7880;
  font-size: 11px;
}
.remboursement-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #dce3e8;
}
.remboursement-button-primary,
.remboursement-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.remboursement-button-primary {
  background: #173b5c;
  color: #ffffff;
}
.remboursement-button-secondary {
  background: #edf0f2;
  color: #27333c;
}
@media (max-width: 700px) {
  .remboursement-head,
  .remboursement-form-row {
    flex-direction: column;
  }
  .remboursement-field-half {
    width: 100%;
  }
  .remboursement-summary {
    flex-direction: column;
  }
  .remboursement-summary-item {
    border-right: 0;
    border-bottom: 1px solid #dce3e8;
  }
  .remboursement-actions {
    flex-direction: column-reverse;
  }
  .remboursement-button-primary,
  .remboursement-button-secondary {
    width: 100%;
  }
}
/*
 * AVOIRS V2
 * PC + tablette + mobile dans la même feuille.
 */
.avoir-page {
  width: 100%;
  color: #27333c;
}
.avoir-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.avoir-head h1 {
  margin: 0 0 5px;
  color: #173b5c;
  font-size: 25px;
  line-height: 1.2;
}
.avoir-head p {
  margin: 0;
  color: #6d7880;
}
.avoir-head-actions {
  align-items: center;
}
.avoir-actions-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.avoir-link {
  color: #173b5c;
  text-decoration: none;
}
.avoir-link:hover {
  text-decoration: underline;
}
.avoir-summary {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid #dce3e8;
  background: #ffffff;
}
.avoir-summary-item {
  flex: 1 1 180px;
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid #dce3e8;
  box-sizing: border-box;
}
.avoir-summary-item:last-child {
  border-right: 0;
}
.avoir-summary-item span,
.avoir-summary-item strong {
  display: block;
}
.avoir-summary-item span {
  margin-bottom: 5px;
  color: #6d7880;
  font-size: 12px;
}
.avoir-summary-item strong {
  font-size: 15px;
}
.avoir-summary-important {
  background: #eaf4f7;
}
.avoir-summary-important strong {
  color: #173b5c;
  font-size: 19px;
}
.avoir-card {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #dce3e8;
  background: #ffffff;
  box-sizing: border-box;
}
.avoir-card-head {
  margin: -18px -18px 18px;
  padding: 18px 20px;
  border-bottom: 1px solid #dce3e8;
}
.avoir-card-head h2,
.avoir-card-title h2 {
  margin: 0 0 4px;
  color: #173b5c;
  font-size: 20px;
}
.avoir-card-head p {
  margin: 0;
  color: #6d7880;
  font-size: 12px;
}
.avoir-form-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.avoir-field {
  min-width: 0;
  margin-bottom: 16px;
}
.avoir-field-half {
  flex: 1 1 0;
}
.avoir-field-full {
  width: 100%;
}
.avoir-field .input {
  margin: 0;
}
.avoir-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}
.avoir-field input,
.avoir-field select,
.avoir-field textarea {
  width: 100%;
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid #dce3e8;
  border-radius: 2px;
  box-sizing: border-box;
  background: #ffffff;
  color: #27333c;
  font-size: 14px;
}
.avoir-field textarea {
  min-height: 90px;
  resize: vertical;
}
.avoir-field input:focus,
.avoir-field select:focus,
.avoir-field textarea:focus {
  outline: 0;
  border-color: #173b5c;
  box-shadow: 0 0 0 2px rgba(23, 59, 92, 0.09);
}
.avoir-datepicker {
  cursor: pointer;
}
.avoir-hint {
  display: block;
  margin-top: 5px;
  color: #6d7880;
  font-size: 11px;
}
.avoir-notice {
  margin: 2px 0 18px;
  padding: 11px 13px;
  border-left: 3px solid #173b5c;
  background: #f7fafb;
  color: #6d7880;
  font-size: 12px;
  line-height: 1.45;
}
.avoir-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #dce3e8;
}
.avoir-button-primary,
.avoir-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.avoir-button-primary {
  background: #173b5c;
  color: #ffffff;
}
.avoir-button-secondary {
  background: #edf0f2;
  color: #27333c;
}
.avoir-status {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
}
.avoir-status.is-final {
  background: #eaf6ee;
  color: #277447;
}
.avoir-status.is-draft {
  background: #f2f3f4;
  color: #6d7880;
}
.avoir-warning-card {
  border-left: 4px solid #173b5c;
  background: #f7fafb;
}
.avoir-final-card {
  border-left: 4px solid #277447;
  background: #f7fbf8;
}
.avoir-warning-card p,
.avoir-final-card p {
  margin: 5px 0 0;
  color: #6d7880;
}
.avoir-section-title {
  margin-top: 12px;
  padding: 8px 10px;
  background: #173b5c;
  color: #ffffff;
  font-weight: 700;
}
.avoir-zone-title {
  padding: 7px 10px;
  background: #eaf4f7;
  color: #173b5c;
  font-weight: 700;
}
.avoir-line-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 10px;
  border-bottom: 1px solid #dce3e8;
}
.avoir-line-main {
  flex: 1 1 auto;
  min-width: 0;
}
.avoir-line-main p {
  margin: 3px 0 0;
  color: #6d7880;
  font-size: 12px;
}
.avoir-line-main p:first-child {
  margin-top: 0;
}

.avoir-line-total {
  flex: 0 0 120px;
  text-align: right;
  font-weight: 700;
}
.avoir-totals {
  max-width: 420px;
  margin-left: auto;
}
.avoir-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 10px;
  border-bottom: 1px solid #dce3e8;
}
.avoir-total-final {
  background: #173b5c;
  color: #ffffff;
}
@media (max-width: 980px) {
  .avoir-summary-item {
    flex: 1 1 33.333%;
  }
}
@media (max-width: 700px) {
  .avoir-head,
  .avoir-head-actions,
  .avoir-form-row {
    flex-direction: column;
  }
  .avoir-actions-bar {
    width: 100%;
  }
  .avoir-field-half {
    width: 100%;
  }
  .avoir-summary-item {
    flex: 1 1 100%;
    border-right: 0;
    border-bottom: 1px solid #dce3e8;
  }
  .avoir-actions {
    flex-direction: column-reverse;
  }
  .avoir-button-primary,
  .avoir-button-secondary {
    width: 100%;
  }
  .avoir-line-row {
    flex-direction: column;
  }
  .avoir-line-total {
    flex: 0 0 auto;
    width: 100%;
    text-align: left;
  }
  .avoir-totals {
    max-width: none;
  }
}
/* Publication de l'avoir dans l'espace client */
.avoir-publication-online {
  border-left: 4px solid #2d7d46;
  background: #f1f8f3;
}
.avoir-publication-offline {
  border-left: 4px solid #9a7b2f;
  background: #faf7ee;
}
/* Liste générale des avoirs */
.avoir-index-summary {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid #dce3e8;
  background: #ffffff;
}
.avoir-index-summary-item {
  flex: 1 1 180px;
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid #dce3e8;
  box-sizing: border-box;
}
.avoir-index-summary-item:last-child {
  border-right: 0;
}
.avoir-index-summary-item span,
.avoir-index-summary-item strong {
  display: block;
}
.avoir-index-summary-item span {
  margin-bottom: 5px;
  color: #6d7880;
  font-size: 12px;
}
.avoir-index-summary-item strong {
  font-size: 18px;
}
.avoir-index-summary-important {
  background: #eaf4f7;
}
.avoir-index-summary-important strong {
  color: #173b5c;
}
.avoir-index-filter-card {
  margin-bottom: 18px;
  padding: 15px;
  border: 1px solid #dce3e8;
  background: #ffffff;
}
.avoir-index-filter-form {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}
.avoir-index-filter-field {
  flex: 0 1 220px;
  min-width: 180px;
}
.avoir-index-filter-search {
  flex: 1 1 320px;
}
.avoir-index-filter-field .input {
  margin: 0;
}
.avoir-index-filter-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
}
.avoir-index-filter-field input,
.avoir-index-filter-field select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #dce3e8;
  box-sizing: border-box;
  background: #ffffff;
}
.avoir-index-filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.avoir-index-list {
  width: 100%;
  border: 1px solid #dce3e8;
  background: #ffffff;
}
.avoir-index-row {
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid #dce3e8;
  box-sizing: border-box;
}
.avoir-index-row:last-child {
  border-bottom: 0;
}
.avoir-index-row-head {
  background: #173b5c;
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
}
.avoir-index-col {
  padding: 10px 12px;
  box-sizing: border-box;
  min-width: 0;
}
.avoir-index-col-numero {
  flex: 0 0 150px;
}
.avoir-index-col-client {
  flex: 1 1 190px;
}
.avoir-index-col-facture {
  flex: 0 0 145px;
}
.avoir-index-col-date {
  flex: 0 0 105px;
}
.avoir-index-col-total {
  flex: 0 0 110px;
  text-align: right;
}
.avoir-index-col-statut {
  flex: 0 0 105px;
  text-align: center;
}
.avoir-index-col-online {
  flex: 0 0 115px;
  text-align: center;
}
.avoir-index-online-status {
  display: inline-block;
  min-width: 68px;
  padding: 5px 8px;
  box-sizing: border-box;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.avoir-index-online-status.is-online {
  background: #eaf6ee;
  color: #277447;
}
.avoir-index-online-status.is-offline {
  background: #f0f2f4;
  color: #6d7880;
}
.avoir-index-online-status.is-na {
  min-width: 0;
  background: transparent;
  color: #6d7880;
}
.avoir-index-col-actions {
  flex: 0 0 120px;
  text-align: right;
}
.avoir-index-action {
  display: inline-block;
  margin-left: 8px;
  color: #173b5c;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
}
.avoir-index-row-head .avoir-index-col-total,
.avoir-index-row-head .avoir-index-col-actions {
  text-align: right;
}
.avoir-index-empty {
  padding: 25px;
  border: 1px solid #dce3e8;
  background: #ffffff;
  color: #6d7880;
  text-align: center;
}
.avoir-index-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.avoir-index-pagination a,
.avoir-index-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  padding: 3px 7px;
  border: 1px solid #dce3e8;
  text-decoration: none;
  box-sizing: border-box;
}
@media (max-width: 980px) {
  .avoir-index-row-head {
    display: none;
  }
  .avoir-index-row {
    display: block;
    padding: 8px 12px;
  }
  .avoir-index-col {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 7px 0;
    text-align: right;
  }
  .avoir-index-col:before {
    content: attr(data-label);
    font-weight: 700;
    color: #6d7880;
    text-align: left;
  }
  .avoir-index-col-numero,
  .avoir-index-col-client,
  .avoir-index-col-facture,
  .avoir-index-col-date,
  .avoir-index-col-total,
  .avoir-index-col-statut,
  .avoir-index-col-online,
  .avoir-index-col-actions {
    flex: none;
  }
  .avoir-index-col-actions {
    justify-content: flex-end;
  }
}
@media (max-width: 700px) {
  .avoir-index-summary-item {
    flex: 1 1 100%;
    border-right: 0;
    border-bottom: 1px solid #dce3e8;
  }
  .avoir-index-filter-form,
  .avoir-index-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .avoir-index-filter-field,
  .avoir-index-filter-search {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
  }
  .avoir-index-filter-actions .avoir-button-primary,
  .avoir-index-filter-actions .avoir-button-secondary {
    width: 100%;
  }
}
.fournisseurs-page {
  width: 100%;
  color: #27333d;
}
.fournisseurs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.fournisseurs-head h1 {
  margin: 0 0 5px;
  color: #173b5c;
  font-size: 25px;
}
.fournisseurs-head p {
  margin: 0;
  color: #6f7b84;
  font-size: 13px;
  line-height: 1.5;
}
.fournisseur-button-primary,
.fournisseur-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-radius: 3px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.fournisseur-button-primary {
  background: #173b5c;
  color: #ffffff;
}
.fournisseur-button-secondary {
  background: #e8edf1;
  color: #173b5c;
}
.fournisseur-card {
  padding: 20px;
  border: 1px solid #d7dee5;
  background: #ffffff;
}
.fournisseur-section-title {
  margin: 20px 0 12px;
  padding: 8px 10px;
  background: #eef4f8;
  border-left: 3px solid #173b5c;
  color: #173b5c;
  font-size: 13px;
  font-weight: 700;
}
.fournisseur-section-title:first-child {
  margin-top: 0;
}
.fournisseur-form-row {
  display: flex;
  gap: 16px;
  width: 100%;
}
.fournisseur-field {
  min-width: 0;
  margin-bottom: 14px;
}
.fournisseur-field-two {
  flex: 1 1 0;
}
.fournisseur-field-three {
  flex: 1 1 0;
}
.fournisseur-field-grow {
  flex: 1 1 0;
}
.fournisseur-field-small {
  flex: 0 0 150px;
}
.fournisseur-field-full {
  width: 100%;
}
.fournisseur-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
}
.fournisseur-form input,
.fournisseur-form select,
.fournisseur-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #d7dee5;
  background: #ffffff;
  color: #27333d;
  font-size: 14px;
}
.fournisseur-form textarea {
  resize: vertical;
  line-height: 1.5;
}
.fournisseur-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #d7dee5;
}
.fournisseur-list {
  border-top: 1px solid #d7dee5;
  border-left: 1px solid #d7dee5;
  background: #ffffff;
}
.fournisseur-row {
  display: flex;
  width: 100%;
}
.fournisseur-row-head {
  background: #173b5c;
  color: #ffffff;
  font-weight: 700;
}
.fournisseur-col {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 9px 10px;
  border-right: 1px solid #d7dee5;
  border-bottom: 1px solid #d7dee5;
  font-size: 12.5px;
  box-sizing: border-box;
}
.fournisseur-row-head .fournisseur-col {
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.2);
}
.fournisseur-col-name {
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.fournisseur-col-name span {
  margin-top: 3px;
  color: #6f7b84;
  font-size: 11px;
}
.fournisseur-row-head .fournisseur-col-name {
  color: #ffffff;
}
.fournisseur-col-contact {
  flex: 0 0 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.fournisseur-col-contact span + span {
  margin-top: 2px;
}
.fournisseur-col-ville {
  flex: 0 0 130px;
}
.fournisseur-col-siret {
  flex: 0 0 145px;
}
.fournisseur-col-statut {
  flex: 0 0 80px;
  justify-content: center;
}
.fournisseur-col-actions {
  flex: 0 0 150px;
  gap: 8px;
  justify-content: center;
}
.fournisseur-action-link {
  color: #173b5c;
  font-weight: 700;
  text-decoration: none;
}
.fournisseur-action-link.secondaire {
  color: #6f7b84;
}
.fournisseur-badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}
.fournisseur-badge.actif {
  color: #2d7b4f;
  background: rgba(45, 123, 79, 0.12);
}
.fournisseur-badge.inactif {
  color: #6f7b84;
  background: #f6f8fa;
}
.fournisseur-inactif {
  opacity: .62;
  background: #f6f8fa;
}
.fournisseur-empty {
  padding: 18px;
  border: 1px solid #d7dee5;
  background: #f6f8fa;
  color: #6f7b84;
}
@media (max-width: 980px) {
  .fournisseur-row-head {
    display: none;
  }
  .fournisseur-list {
    border: 0;
    background: transparent;
  }
  .fournisseur-row {
    flex-wrap: wrap;
    margin-bottom: 12px;
    border-top: 1px solid #d7dee5;
    border-left: 1px solid #d7dee5;
    background: #ffffff;
  }
  .fournisseur-col {
    flex: 0 0 50%;
    width: 50%;
    align-items: flex-start;
    flex-direction: column;
  }
  .fournisseur-col:before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #173b5c;
    font-size: 11px;
    font-weight: 700;
  }
  .fournisseur-col-actions {
    flex: 0 0 100%;
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
  }
}
@media (max-width: 700px) {
  .fournisseurs-head {
    flex-direction: column;
  }
  .fournisseur-form-row {
    flex-direction: column;
    gap: 0;
  }
  .fournisseur-field-small {
    flex: 1 1 auto;
  }
  .fournisseur-col {
    flex: 0 0 100%;
    width: 100%;
  }
  .fournisseur-actions {
    flex-direction: column;
  }
  .fournisseur-button-primary,
  .fournisseur-button-secondary {
    width: 100%;
    box-sizing: border-box;
  }
}
.achats-page {
  width: 100%;
  color: #27333d;
}
.achats-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.achats-head h1 {
  margin: 0 0 5px;
  font-size: 25px;
  color: #173b5c;
}
.achats-head p {
  margin: 0;
  color: #6f7b84;
  font-size: 13px;
  line-height: 1.5;
}
.achats-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.achat-button-primary,
.achat-button-secondary,
.achat-button-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-radius: 3px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.achat-button-primary {
  background: #173b5c;
  color: #ffffff;
}
.achat-button-primary:hover {
  background: #10293f;
  color: #ffffff;
  text-decoration: none;
}
.achat-button-secondary {
  background: #e8edf1;
  color: #173b5c;
}
.achat-button-secondary:hover {
  background: #d8e1e7;
  color: #173b5c;
  text-decoration: none;
}
.achat-button-danger {
  background: #a53b3b;
  color: #ffffff;
}
.achats-summary {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.achats-summary-item {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #d7dee5;
  background: #ffffff;
}
.achats-summary-item span {
  display: block;
  margin-bottom: 4px;
  color: #6f7b84;
  font-size: 12px;
}
.achats-summary-item strong {
  display: block;
  color: #173b5c;
  font-size: 18px;
}
.achat-list {
  border-top: 1px solid #d7dee5;
  border-left: 1px solid #d7dee5;
  background: #ffffff;
}
.achat-row {
  display: flex;
  width: 100%;
}
.achat-row-head {
  background: #173b5c;
  color: #ffffff;
  font-weight: 700;
}
.achat-col {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 9px 10px;
  border-right: 1px solid #d7dee5;
  border-bottom: 1px solid #d7dee5;
  font-size: 12.5px;
}
.achat-row-head .achat-col {
  border-color: rgba(255, 255, 255, 0.2);
  min-height: 38px;
}
.achat-col-date {
  flex: 0 0 80px;
}
.achat-col-libelle {
  flex: 1 1 260px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.achat-col-libelle span {
  margin-top: 3px;
  color: #6f7b84;
  font-size: 11px;
}
.achat-row-head .achat-col-libelle {
  color: #ffffff;
}
.achat-col-fournisseur {
  flex: 0 0 160px;
}
.achat-col-categorie {
  flex: 0 0 175px;
}
.achat-col-montant {
  flex: 0 0 100px;
  justify-content: flex-end;
  text-align: right;
}
.achat-col-statut {
  flex: 0 0 92px;
  justify-content: center;
}
.achat-col-actions {
  flex: 0 0 120px;
  gap: 7px;
  justify-content: center;
}
.achat-action-link {
  color: #173b5c;
  font-weight: 700;
  text-decoration: none;
}
.achat-annule {
  opacity: .62;
  background: #f6f8fa;
}
.achat-badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.achat-badge.paye {
  background: rgba(45, 123, 79, 0.12);
  color: #2d7b4f;
}
.achat-badge.non-paye {
  background: rgba(154, 101, 0, 0.12);
  color: #9a6500;
}
.achat-badge.annule {
  background: rgba(165, 59, 59, 0.12);
  color: #a53b3b;
}
.achat-empty {
  padding: 18px;
  border: 1px solid #d7dee5;
  background: #f6f8fa;
  color: #6f7b84;
}
.achat-card {
  padding: 20px;
  border: 1px solid #d7dee5;
  background: #ffffff;
}
.achat-card-spacing {
  margin-top: 18px;
}
.achat-section-title {
  margin: 20px 0 12px;
  padding: 8px 10px;
  background: #eef4f8;
  color: #173b5c;
  font-size: 13px;
  font-weight: 700;
  border-left: 3px solid #173b5c;
}
.achat-section-title:first-child {
  margin-top: 0;
}
.achat-form-row {
  display: flex;
  gap: 16px;
  width: 100%;
}
.achat-field {
  min-width: 0;
  margin-bottom: 14px;
}
.achat-field-two {
  flex: 1 1 0;
}
.achat-field-three {
  flex: 1 1 0;
}
.achat-field-full {
  width: 100%;
}
.achat-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #27333d;
}
.achat-form input[type="text"],
.achat-form input[type="email"],
.achat-form input[type="file"],
.achat-form select,
.achat-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #d7dee5;
  background: #ffffff;
  color: #27333d;
  font-size: 14px;
}
.achat-form input:focus,
.achat-form select:focus,
.achat-form textarea:focus {
  outline: 0;
  border-color: #173b5c;
  box-shadow: 0 0 0 2px rgba(23, 59, 92, 0.1);
}
.achat-form textarea {
  resize: vertical;
  line-height: 1.5;
}
.achat-amount-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: end;
}
.achat-total-box {
  min-height: 42px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid #173b5c;
  background: #eef4f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.achat-total-box span {
  font-size: 12px;
  color: #6f7b84;
}
.achat-total-box strong {
  font-size: 18px;
  color: #173b5c;
}
.achat-notice {
  margin-top: 3px;
  padding: 11px 13px;
  background: #f6f8fa;
  border-left: 3px solid #173b5c;
  color: #6f7b84;
  font-size: 12px;
  line-height: 1.5;
}
.achat-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #d7dee5;
}
.achat-existing-file {
  margin-bottom: 10px;
  padding: 10px 12px;
  background: #f6f8fa;
  border: 1px solid #d7dee5;
  font-size: 12px;
}
.achat-view-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.achat-view-summary > div {
  padding: 13px 15px;
  border: 1px solid #d7dee5;
  background: #ffffff;
}
.achat-view-summary span {
  display: block;
  margin-bottom: 4px;
  color: #6f7b84;
  font-size: 11.5px;
}
.achat-view-summary strong {
  display: block;
  color: #173b5c;
  font-size: 14px;
}
.achat-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.achat-info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid #d7dee5;
}
.achat-info-row:last-child {
  border-bottom: 0;
}
.achat-info-row span {
  color: #6f7b84;
  font-size: 12px;
}
.achat-info-row strong {
  text-align: right;
  font-size: 12.5px;
}
.achat-document-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.achat-document-row span,
.achat-document-row strong {
  display: block;
}
.achat-document-row span {
  margin-bottom: 3px;
  color: #6f7b84;
  font-size: 12px;
}
.achat-commentaire {
  margin-top: 12px;
  padding: 12px;
  background: #f6f8fa;
  font-size: 12.5px;
  line-height: 1.55;
}
.achat-danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(165, 59, 59, 0.35);
  background: rgba(165, 59, 59, 0.05);
}
.achat-danger-zone strong,
.achat-danger-zone span {
  display: block;
}
.achat-danger-zone span {
  margin-top: 3px;
  color: #6f7b84;
  font-size: 12px;
}
.achat-cancelled-notice {
  margin-top: 20px;
  padding: 13px 15px;
  background: rgba(165, 59, 59, 0.06);
  border: 1px solid rgba(165, 59, 59, 0.28);
  color: #a53b3b;
  font-weight: 700;
}
@media (max-width: 980px) {
  .achats-summary {
    flex-wrap: wrap;
  }
  .achats-summary-item {
    flex: 1 1 calc(38%);
  }
  .achat-row-head {
    display: none;
  }
  .achat-list {
    border: 0;
    background: transparent;
  }
  .achat-row {
    flex-wrap: wrap;
    margin-bottom: 12px;
    border-top: 1px solid #d7dee5;
    border-left: 1px solid #d7dee5;
    background: #ffffff;
  }
  .achat-col {
    flex: 0 0 50%;
    width: 50%;
    box-sizing: border-box;
    align-items: flex-start;
    flex-direction: column;
  }
  .achat-col:before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #173b5c;
    font-size: 11px;
    font-weight: 700;
  }
  .achat-col-actions {
    flex: 0 0 100%;
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
  }
  .achat-view-summary {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .achats-head {
    flex-direction: column;
  }
  .achats-head-actions {
    justify-content: flex-start;
  }
  .achats-summary-item {
    flex: 0 0 100%;
  }
  .achat-col {
    flex: 0 0 100%;
    width: 100%;
  }
  .achat-form-row {
    flex-direction: column;
    gap: 0;
  }
  .achat-amount-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .achat-view-summary,
  .achat-view-grid {
    grid-template-columns: 1fr;
  }
  .achat-actions,
  .achat-danger-zone,
  .achat-document-row {
    flex-direction: column;
    align-items: stretch;
  }
  .achat-button-primary,
  .achat-button-secondary,
  .achat-button-danger {
    width: 100%;
    box-sizing: border-box;
  }
}
.registres-page {
  width: 100%;
  color: #27333d;
}
.registres-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.registres-head h1 {
  margin: 0 0 5px;
  font-size: 25px;
  color: #173b5c;
}
.registres-head p {
  margin: 0;
  color: #6f7b84;
  font-size: 13px;
  line-height: 1.5;
}
.registres-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.registre-button-primary,
.registre-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-radius: 3px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.registre-button-primary {
  background: #173b5c;
  color: #ffffff;
}
.registre-button-primary:hover {
  background: #10293f;
  color: #ffffff;
  text-decoration: none;
}
.registre-button-secondary {
  background: #e8edf1;
  color: #173b5c;
}
.registre-button-secondary:hover {
  background: #d8e1e7;
  color: #173b5c;
  text-decoration: none;
}
.registre-filter-card {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #d7dee5;
  background: #ffffff;
}
.registre-filter-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.registre-filter-field {
  flex: 0 0 190px;
}
.registre-filter-field label {
  display: block;
  margin-bottom: 5px;
  color: #27333d;
  font-size: 12px;
  font-weight: 700;
}
.registre-filter-field input,
.registre-filter-field select {
  box-sizing: border-box;
  width: 100%;
  height: 38px;
  padding: 7px 9px;
  border: 1px solid #d7dee5;
  background: #ffffff;
  color: #27333d;
}
.registre-filter-actions {
  display: flex;
  align-items: flex-end;
}
.registres-summary {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.registres-summary-item {
  flex: 1 1 0;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #d7dee5;
  background: #ffffff;
}
.registres-summary-item span {
  display: block;
  margin-bottom: 4px;
  color: #6f7b84;
  font-size: 11.5px;
}
.registres-summary-item strong {
  display: block;
  color: #173b5c;
  font-size: 17px;
  white-space: nowrap;
}
.registres-summary-highlight {
  background: #eef4f8;
  border-color: rgba(23, 59, 92, 0.25);
}
.registre-notice {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-left: 3px solid #173b5c;
  background: #f6f8fa;
  color: #6f7b84;
  font-size: 12px;
  line-height: 1.5;
}
.registre-empty {
  padding: 18px;
  border: 1px solid #d7dee5;
  background: #f6f8fa;
  color: #6f7b84;
}
.registre-list {
  border-top: 1px solid #d7dee5;
  border-left: 1px solid #d7dee5;
  background: #ffffff;
  overflow-x: auto;
}
.registre-row {
  display: flex;
  width: 100%;
  min-width: 980px;
}
.registre-row-head {
  background: #173b5c;
  color: #ffffff;
  font-weight: 700;
}
.registre-col {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 9px;
  border-right: 1px solid #d7dee5;
  border-bottom: 1px solid #d7dee5;
  font-size: 12px;
}
.registre-row-head .registre-col {
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.2);
}
.registre-row-negative {
  background: rgba(165, 59, 59, 0.04);
}
.registre-link {
  color: #173b5c;
  font-weight: 700;
  text-decoration: none;
}
.registre-link:hover {
  text-decoration: underline;
}
.registre-badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}
.registre-badge.encaissement,
.registre-badge.paye {
  background: rgba(45, 123, 79, 0.12);
  color: #2d7b4f;
}
.registre-badge.remboursement {
  background: rgba(165, 59, 59, 0.12);
  color: #a53b3b;
}
.registre-badge.non-paye {
  background: rgba(154, 101, 0, 0.12);
  color: #9a6500;
}
.registre-recettes-list .col-date {
  flex: 0 0 82px;
}
.registre-recettes-list .col-type {
  flex: 0 0 112px;
  justify-content: center;
}
.registre-recettes-list .col-client {
  flex: 1 1 190px;
  min-width: 150px;
}
.registre-recettes-list .col-piece {
  flex: 0 0 120px;
}
.registre-recettes-list .col-mode {
  flex: 0 0 125px;
}
.registre-recettes-list .col-reference {
  flex: 1 1 160px;
  min-width: 120px;
}
.registre-recettes-list .col-montant {
  flex: 0 0 110px;
  justify-content: flex-end;
  text-align: right;
}
.registre-achats-list .registre-row {
  min-width: 1260px;
}
.registre-achats-list .col-date {
  flex: 0 0 80px;
}
.registre-achats-list .col-fournisseur {
  flex: 0 0 150px;
}
.registre-achats-list .col-piece-achat {
  flex: 0 0 105px;
}
.registre-achats-list .col-libelle {
  flex: 1 1 190px;
  min-width: 160px;
}
.registre-achats-list .col-categorie {
  flex: 0 0 165px;
}
.registre-achats-list .col-paiement {
  flex: 0 0 130px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
}
.registre-achats-list .col-paiement small {
  color: #6f7b84;
  font-size: 10px;
}
.registre-achats-list .col-ht,
.registre-achats-list .col-tva,
.registre-achats-list .col-ttc {
  flex: 0 0 95px;
  justify-content: flex-end;
  text-align: right;
}
@media (max-width: 1024px) {
  .registres-summary-five {
    flex-wrap: wrap;
  }
  .registres-summary-five .registres-summary-item {
    flex: 1 1 calc(23.333%);
  }
}
@media (max-width: 767px) {
  .registres-head {
    flex-direction: column;
  }
  .registres-head-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .registre-filter-form {
    display: block;
  }
  .registre-filter-field {
    width: 100%;
    margin-bottom: 10px;
  }
  .registre-filter-actions {
    width: 100%;
  }
  .registre-filter-actions .registre-button-primary {
    width: 100%;
  }
  .registres-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .registres-summary-item {
    min-width: 0;
  }
  .registres-summary-three .registres-summary-highlight {
    grid-column: -1;
  }
  .registres-summary-five .registres-summary-item {
    width: auto;
  }
  .registre-list {
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .registre-row-head {
    display: none;
  }
  .registre-row,
  .registre-achats-list .registre-row {
    display: block;
    min-width: 0;
    margin-bottom: 12px;
    border: 1px solid #d7dee5;
    background: #ffffff;
  }
  .registre-row-negative {
    background: rgba(165, 59, 59, 0.04);
  }
  .registre-col,
  .registre-recettes-list .registre-col,
  .registre-achats-list .registre-col {
    display: flex;
    flex: none !important;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 7px 9px;
    border-right: 0;
    border-bottom: 1px solid #d7dee5;
    justify-content: space-between;
    text-align: right;
    gap: 14px;
  }
  .registre-col:last-child {
    border-bottom: 0;
  }
  .registre-col:before {
    content: attr(data-label);
    flex: 0 0 42%;
    text-align: left;
    color: #6f7b84;
    font-size: 11px;
    font-weight: 700;
  }
  .registre-achats-list .col-paiement {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }
}
.pilotage-page {
  width: 100%;
  color: #27333d;
}
.pilotage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.pilotage-head h1 {
  margin: 0 0 5px;
  font-size: 25px;
  color: #173b5c;
}
.pilotage-head p {
  margin: 0;
  color: #6f7b84;
  font-size: 13px;
  line-height: 1.5;
}
.pilotage-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.pilotage-button-primary,
.pilotage-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-radius: 3px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}
.pilotage-button-primary {
  background: #173b5c;
  color: #ffffff;
}
.pilotage-button-primary:hover {
  background: #10293f;
  color: #ffffff;
  text-decoration: none;
}
.pilotage-button-secondary {
  background: #e8edf1;
  color: #173b5c;
}
.pilotage-button-secondary:hover {
  background: #d8e1e7;
  color: #173b5c;
  text-decoration: none;
}
.pilotage-filter-card {
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #d7dee5;
  background: #ffffff;
}
.pilotage-filter-form {
  display: block;
}
.pilotage-filter-line {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.pilotage-filter-line + .pilotage-filter-line {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eaedf1;
}
.pilotage-filter-line-title {
  display: flex;
  align-items: center;
  align-self: stretch;
  flex: 0 0 62px;
  color: #173b5c;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .35px;
}
.pilotage-filter-field {
  flex: 0 0 145px;
}
.pilotage-filter-view {
  flex-basis: 160px;
}
.pilotage-filter-small {
  flex-basis: 105px;
}
.pilotage-filter-wide {
  flex: 1 1 210px;
  max-width: 280px;
}
.pilotage-filter-date {
  flex: 0 0 auto;
}
.pilotage-filter-field label {
  display: block;
  margin-bottom: 5px;
  color: #27333d;
  font-size: 11.5px;
  font-weight: 700;
}
.pilotage-filter-field input,
.pilotage-filter-field select {
  box-sizing: border-box;
  width: 100%;
  height: 38px;
  padding: 7px 9px;
  border: 1px solid #d7dee5;
  background: #ffffff;
  color: #27333d;
}
.pilotage-filter-date > div {
  display: flex;
  gap: 5px;
}
.pilotage-filter-date select {
  width: auto;
  min-width: 76px;
}
.pilotage-filter-date select[id$="month"] {
  min-width: 112px;
}
.pilotage-filter-actions {
  display: flex;
  align-items: flex-end;
  margin-left: auto;
}
.pilotage-filter-hidden {
  display: none !important;
}
.pilotage-period-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.pilotage-period-line span,
.pilotage-period-line strong {
  display: inline-flex;
  padding: 5px 8px;
  background: #f6f8fa;
  border: 1px solid #d7dee5;
  color: #6f7b84;
  font-size: 11px;
}
.pilotage-period-line strong {
  color: #173b5c;
}
.pilotage-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.pilotage-kpi {
  padding: 14px;
  border: 1px solid #d7dee5;
  background: #ffffff;
  min-width: 0;
}
.pilotage-kpi span {
  display: block;
  margin-bottom: 5px;
  color: #6f7b84;
  font-size: 11.5px;
}
.pilotage-kpi strong {
  display: block;
  color: #173b5c;
  font-size: 20px;
  white-space: nowrap;
}
.pilotage-kpi small {
  display: block;
  margin-top: 5px;
  color: #6f7b84;
  font-size: 10.5px;
  line-height: 1.35;
}
.pilotage-kpi-highlight {
  background: #eef4f8;
  border-color: rgba(23, 59, 92, 0.25);
}
.pilotage-kpi-tresorerie {
  border-left: 4px solid #2d7b4f;
}
.pilotage-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.pilotage-card {
  border: 1px solid #d7dee5;
  background: #ffffff;
  padding: 14px;
  box-sizing: border-box;
}
.pilotage-card-full {
  margin-bottom: 10px;
}
.pilotage-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}
.pilotage-card-head h2 {
  margin: 0 0 3px;
  color: #173b5c;
  font-size: 17px;
}
.pilotage-card-head p {
  margin: 0;
  color: #6f7b84;
  font-size: 11px;
  line-height: 1.45;
}
.pilotage-card-note {
  margin-top: 10px;
  padding: 8px 9px;
  background: #f6f8fa;
  color: #6f7b84;
  font-size: 11px;
  line-height: 1.4;
}
.pilotage-notice {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-left: 3px solid #173b5c;
  background: #f6f8fa;
  color: #6f7b84;
  font-size: 11.5px;
  line-height: 1.5;
}
.pilotage-empty {
  padding: 14px;
  background: #f6f8fa;
  color: #6f7b84;
  font-size: 12px;
}
.pilotage-urssaf-estimation-title {
  margin: 13px 0 7px;
  color: #173b5c;
  font-size: 12px;
  font-weight: 700;
}
.pilotage-urssaf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pilotage-urssaf-grid > div,
.pilotage-mini-grid > div {
  padding: 10px;
  border: 1px solid #d7dee5;
  background: #f6f8fa;
}
.pilotage-urssaf-grid span,
.pilotage-mini-grid span {
  display: block;
  margin-bottom: 4px;
  color: #6f7b84;
  font-size: 10.5px;
}
.pilotage-urssaf-grid strong,
.pilotage-mini-grid strong {
  display: block;
  color: #173b5c;
  font-size: 16px;
  white-space: nowrap;
}
.pilotage-urssaf-grid .total {
  grid-column: -1;
  background: #eef4f8;
  border-color: rgba(23, 59, 92, 0.25);
}
.pilotage-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pilotage-table {
  border-top: 1px solid #d7dee5;
  border-left: 1px solid #d7dee5;
  overflow-x: auto;
}
.pilotage-row {
  display: grid;
  min-width: 780px;
  background: #ffffff;
}
.pilotage-row > div {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 43px;
  padding: 7px 8px;
  border-right: 1px solid #d7dee5;
  border-bottom: 1px solid #d7dee5;
  font-size: 11.5px;
  justify-content: flex-end;
  text-align: right;
}
.pilotage-row > div:first-child {
  justify-content: flex-start;
  text-align: left;
}
.pilotage-row-head {
  background: #173b5c;
  color: #ffffff;
  font-weight: 700;
}
.pilotage-row-head > div {
  min-height: 36px;
  border-color: rgba(255, 255, 255, 0.2);
  font-size: 10.5px;
  justify-content: flex-end;
}
.pilotage-row-head > div:first-child {
  justify-content: flex-start;
}
.pilotage-table-months .pilotage-row {
  grid-template-columns: 1.3fr repeat(4, 1fr);
}
.pilotage-table-activities .pilotage-row {
  grid-template-columns: 1.4fr repeat(6, 1fr);
  min-width: 1080px;
}
.pilotage-table-sites .pilotage-row {
  grid-template-columns: 1.6fr repeat(5, 1fr);
  min-width: 940px;
}
.pilotage-table-expenses .pilotage-row {
  grid-template-columns: 1.6fr repeat(3, 1fr);
  min-width: 620px;
}
@media (max-width: 1100px) {
  .pilotage-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pilotage-columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .pilotage-head {
    flex-direction: column;
  }
  .pilotage-head-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .pilotage-filter-line {
    display: block;
  }
  .pilotage-filter-line-title {
    display: block;
    width: 100%;
    margin-bottom: 9px;
  }
  .pilotage-filter-field,
  .pilotage-filter-small,
  .pilotage-filter-wide,
  .pilotage-filter-view,
  .pilotage-filter-date {
    width: 100%;
    max-width: none;
    margin-bottom: 9px;
  }
  .pilotage-filter-date > div {
    width: 100%;
  }
  .pilotage-filter-date select {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
  }
  .pilotage-filter-actions {
    width: 100%;
    margin-left: 0;
  }
  .pilotage-filter-actions .pilotage-button-primary {
    width: 100%;
  }
  .pilotage-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pilotage-kpi {
    padding: 11px;
  }
  .pilotage-kpi strong {
    font-size: 17px;
  }
  .pilotage-columns {
    display: block;
  }
  .pilotage-columns .pilotage-card {
    margin-bottom: 10px;
  }
  .pilotage-urssaf-grid,
  .pilotage-mini-grid {
    grid-template-columns: 1fr;
  }
  .pilotage-urssaf-grid .total {
    grid-column: auto;
  }
  .pilotage-table {
    border: 0;
    overflow: visible;
  }
  .pilotage-row-head {
    display: none;
  }
  .pilotage-row,
  .pilotage-table-months .pilotage-row,
  .pilotage-table-activities .pilotage-row,
  .pilotage-table-sites .pilotage-row,
  .pilotage-table-expenses .pilotage-row {
    display: block;
    min-width: 0;
    margin-bottom: 10px;
    border: 1px solid #d7dee5;
  }
  .pilotage-row > div {
    display: flex;
    min-height: 38px;
    border-right: 0;
    justify-content: space-between;
    text-align: right;
    gap: 12px;
  }
  .pilotage-row > div:first-child {
    justify-content: space-between;
    text-align: right;
  }
  .pilotage-row > div:before {
    content: attr(data-label);
    flex: 0 0 44%;
    text-align: left;
    color: #6f7b84;
    font-size: 10.5px;
    font-weight: 700;
  }
  .pilotage-row > div:first-child:before {
    content: attr(data-label);
  }
  .pilotage-row > div:last-child {
    border-bottom: 0;
  }
}
@media (max-width: 460px) {
  .pilotage-kpi-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   ADMINISTRATION CLIENTS / USERS
   PC + tablette + mobile dans le même fichier.
   ========================================================================== */
.clients-admin {
  width: 100%;
  min-width: 0;
}
.clients-admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}
.clients-admin-head h1 {
  font-size: 2rem;
  line-height: 1.1;
  color: #0e1635;
  margin-bottom: 6px;
}
.clients-admin-head p {
  color: #5d6972;
  line-height: 1.45;
}
.clients-admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid #d5e3ec;
  border-radius: 5px;
  background: #ffffff;
  color: #1c4880;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.clients-admin-button:hover {
  background: #ebf1f7;
}
.clients-admin-button-primary {
  background: #0e1635;
  border-color: #0e1635;
  color: #fff;
}
.clients-admin-button-primary:hover {
  background: #263263;
  color: #fff;
}
.clients-admin-button-danger {
  border-color: #d9a8ad;
  color: #dc3545;
  background: #fff;
}
.clients-admin-button-success {
  border-color: #a9d8bc;
  color: #1d7a46;
  background: #fff;
}
.clients-admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.clients-admin-stats > div {
  border: 1px solid #d5e3ec;
  background: #ffffff;
  padding: 15px 16px;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.clients-admin-stats span {
  font-size: .82rem;
  color: #5d6972;
  margin-bottom: 6px;
}
.clients-admin-stats strong {
  font-size: 1.55rem;
  color: #0e1635;
}
.clients-admin-filter-card {
  border: 1px solid #d5e3ec;
  background: #ffffff;
  padding: 16px;
  margin-bottom: 18px;
}
.clients-admin-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.8fr) repeat(3, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
}
.clients-admin-filter-check {
  display: flex;
  align-items: center;
  min-height: 40px;
}
.clients-admin-filter-check label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.clients-admin-filter-actions {
  grid-column: -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.clients-admin-list {
  border: 1px solid #d5e3ec;
  background: #ffffff;
}
.clients-admin-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.35fr .9fr .9fr 1.2fr;
  align-items: center;
  min-height: 66px;
  border-bottom: 1px solid #e6eff4;
  padding: 10px 12px;
  gap: 12px;
}
.clients-admin-row:last-child {
  border-bottom: 0;
}
.clients-admin-row-head {
  min-height: 44px;
  background: #0e1635;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}
.clients-admin-row-archived {
  background: #f6f7f8;
  opacity: .78;
}
.clients-admin-client-cell,
.clients-admin-contact-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.clients-admin-client-name {
  font-weight: 800;
  color: #1c4880;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clients-admin-client-cell span,
.clients-admin-contact-cell span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clients-admin-client-cell small,
.clients-admin-contact-cell small {
  font-size: .75rem;
  color: #5d6972;
}
.clients-admin-actions-cell {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.clients-admin-action-link {
  font-size: .79rem;
  font-weight: 700;
  color: #1c4880;
}
.clients-admin-action-danger {
  color: #dc3545;
}
.clients-admin-action-success {
  color: #1d7a46;
}
.clients-admin-badge,
.clients-admin-mini-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 3px;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.2;
}
.clients-admin-badge-type {
  background: #edf3f8;
  color: #1c4880;
}
.clients-admin-badge-archive {
  background: #f7e5e7;
  color: #a52c37;
}
.clients-admin-badge-access-sans_acces {
  background: #eef0f2;
  color: #5f6770;
}
.clients-admin-badge-access-invitation {
  background: #fff4d5;
  color: #886200;
}
.clients-admin-badge-access-actif {
  background: #e4f6eb;
  color: #1d7a46;
}
.clients-admin-badge-access-suspendu {
  background: #f7e5e7;
  color: #a52c37;
}
.clients-admin-mini-tag {
  margin-top: 5px;
  background: #f4f0ff;
  color: #5b42a6;
}
.clients-admin-empty {
  padding: 35px;
  text-align: center;
  color: #5d6972;
}
.clients-admin-paginator {
  margin-top: 18px;
}
.clients-admin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.clients-admin-form-card {
  border: 1px solid #d5e3ec;
  background: #ffffff;
  padding: 18px;
}
.clients-admin-form-card-head {
  margin-bottom: 16px;
}
.clients-admin-form-card-head h2 {
  font-size: 1.1rem;
  color: #0e1635;
  margin-bottom: 4px;
}
.clients-admin-form-card-head p {
  font-size: .85rem;
  color: #5d6972;
  line-height: 1.45;
}
.clients-admin-form-grid {
  display: grid;
  gap: 14px;
}
.clients-admin-form-grid-1 {
  grid-template-columns: 1fr;
}
.clients-admin-form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.clients-admin-form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.clients-admin-form-grid + .clients-admin-form-grid {
  margin-top: 12px;
}
.clients-admin-check-card {
  display: flex;
  align-items: end;
}
.clients-admin-check-card label {
  width: 100%;
  min-height: 63px;
  border: 1px solid #e6eff4;
  background: #f7fafb;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  cursor: pointer;
}
.clients-admin-check-card label > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.clients-admin-check-card small {
  color: #5d6972;
  line-height: 1.35;
}
.clients-admin-access-card {
  background: #f7fafc;
}
.clients-admin-access-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.clients-admin-access-info strong {
  color: #0e1635;
}
.clients-admin-access-info span {
  font-size: .86rem;
  color: #5d6972;
  line-height: 1.45;
}
.clients-admin-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 2px;
}
.clients-admin-profile {
  margin-bottom: 22px;
}
.clients-admin-profile-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid #d5e3ec;
  background: #ffffff;
  padding: 18px;
  margin-bottom: 12px;
}
.clients-admin-profile-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 5px;
}
.clients-admin-profile-title-line h1 {
  font-size: 1.65rem;
  color: #0e1635;
}
.clients-admin-profile-head p {
  color: #5d6972;
}
.clients-admin-profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.clients-admin-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.clients-admin-profile-card {
  border: 1px solid #d5e3ec;
  background: #ffffff;
  padding: 15px;
  min-width: 0;
}
.clients-admin-profile-card h2 {
  font-size: 1rem;
  color: #0e1635;
  margin-bottom: 12px;
}
.clients-admin-profile-info {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #e6eff4;
}
.clients-admin-profile-info:last-child {
  border-bottom: 0;
}
.clients-admin-profile-info span {
  font-size: .77rem;
  color: #5d6972;
}
.clients-admin-profile-info strong {
  font-size: .82rem;
  overflow-wrap: anywhere;
}
.clients-admin-profile-access-status {
  margin-bottom: 12px;
}
.clients-admin-profile-access p {
  font-size: .82rem;
  color: #5d6972;
  line-height: 1.5;
}
@media only screen and (min-width: 769px) and (max-width: 1100px) {
  .clients-admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .clients-admin-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .clients-admin-row {
    grid-template-columns: 1.4fr 1fr 1.2fr .9fr 1fr;
  }
  .clients-admin-row > div:nth-child(4) {
    display: none;
  }
  .clients-admin-row-head > div:nth-child(4) {
    display: none;
  }
  .clients-admin-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .clients-admin-form-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 768px) {
  .clients-admin-head,
  .clients-admin-profile-head {
    flex-direction: column;
    align-items: stretch;
  }
  .clients-admin-head .clients-admin-button {
    width: 100%;
  }
  .clients-admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .clients-admin-filters,
  .clients-admin-form-grid-2,
  .clients-admin-form-grid-3,
  .clients-admin-profile-grid {
    grid-template-columns: 1fr;
  }
  .clients-admin-filter-actions,
  .clients-admin-form-actions,
  .clients-admin-profile-actions {
    flex-direction: column;
  }
  .clients-admin-filter-actions .clients-admin-button,
  .clients-admin-form-actions .clients-admin-button,
  .clients-admin-profile-actions .clients-admin-button {
    width: 100%;
  }
  .clients-admin-row-head {
    display: none;
  }
  .clients-admin-list {
    border: 0;
    background: transparent;
  }
  .clients-admin-row {
    display: block;
    border: 1px solid #d5e3ec;
    background: #ffffff;
    margin-bottom: 10px;
    padding: 13px;
  }
  .clients-admin-row > div {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #e6eff4;
  }
  .clients-admin-row > div:last-child {
    border-bottom: 0;
  }
  .clients-admin-row > div:before {
    content: attr(data-label);
    font-size: .72rem;
    font-weight: 800;
    color: #5d6972;
    text-transform: uppercase;
  }
  .clients-admin-client-cell,
  .clients-admin-contact-cell {
    display: grid;
  }
  .clients-admin-actions-cell {
    justify-content: flex-start;
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .clients-admin-actions-cell:before {
    grid-column: 1;
  }
  .clients-admin-actions-cell > a,
  .clients-admin-actions-cell > form {
    grid-column: 2;
  }
  .clients-admin-profile-info {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
/* --------------------------------------------------------------------------
   Accès espace client - gestion Admin V10
   -------------------------------------------------------------------------- */
.clients-admin-access-details {
  margin-top: 10px;
}
.clients-admin-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.clients-admin-access-help {
  margin-top: 12px !important;
  padding-top: 10px;
  border-top: 1px solid #e6eff4;
}
@media only screen and (max-width: 768px) {
  .clients-admin-access-actions {
    flex-direction: column;
  }
  .clients-admin-access-actions .clients-admin-button {
    width: 100%;
  }
}
.einv-page {
  width: 100%;
  box-sizing: border-box;
}
.einv-head,
.einv-head-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}
.einv-head h1 {
  margin: 0 0 5px 0;
}
.einv-head p {
  margin: 0;
}
.einv-actions,
.einv-row-actions,
.einv-filter-actions,
.facture-electronic-actions,
.avoir-electronic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.einv-alert,
.einv-card,
.facture-electronic-card,
.avoir-electronic-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  padding: 18px;
  margin-bottom: 18px;
}
.einv-alert {
  border-left: 4px solid #0f8aa6;
}
.einv-alert p,
.facture-electronic-card p,
.avoir-electronic-card p {
  margin: 6px 0 0 0;
}
.einv-kpis,
.einv-summary {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.einv-kpis > div,
.einv-summary > div {
  flex: 1 1 180px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 14px;
  box-sizing: border-box;
}
.einv-kpis span,
.einv-summary span,
.einv-integrity span {
  display: block;
  margin-bottom: 5px;
}
.einv-kpis strong,
.einv-summary strong {
  font-size: 1.15em;
}
.einv-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}
.einv-filters > div {
  flex: 1 1 220px;
}
.einv-filter-actions {
  flex: 0 1 auto !important;
}
.einv-button-primary,
.einv-button-secondary,
.einv-link {
  display: inline-block;
  text-decoration: none;
}
.einv-list-head,
.einv-list-row {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 1fr 1fr .9fr;
  gap: 12px;
  align-items: center;
}
.einv-list-head {
  font-weight: bold;
  padding: 11px 12px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.14);
}
.einv-list-row {
  padding: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.einv-list-row small {
  display: block;
  margin-top: 3px;
}
.einv-empty {
  padding: 18px 12px;
}
.einv-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 3px;
}
.einv-status.status-preparee,
.einv-card.is-ready {
  border-left: 4px solid #2c9b65;
}
.einv-status.status-erreur_preparation,
.einv-card.is-error,
.facture-electronic-error,
.avoir-electronic-error {
  border-left: 4px solid #c95b5b;
}
.facture-electronic-card,
.avoir-electronic-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.facture-electronic-main,
.avoir-electronic-card > div:first-child {
  flex: 1 1 auto;
}
.facture-electronic-note,
.avoir-electronic-note {
  font-size: .92em;
}
.facture-electronic-error,
.avoir-electronic-error {
  padding-left: 10px;
}
.einv-check-block {
  margin-top: 14px;
}
.einv-check-block ul {
  margin: 7px 0 0 20px;
}
.einv-integrity > div {
  margin-bottom: 12px;
}
.einv-integrity code {
  display: block;
  overflow-wrap: anywhere;
  white-space: normal;
}
.einv-event {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.einv-event > span {
  margin-left: 12px;
}
.einv-event p {
  margin: 4px 0 0 0;
}
@media only screen and (max-width: 1024px) {
  .einv-list-head {
    display: none;
  }
  .einv-list-row {
    grid-template-columns: 1fr 1fr;
  }
  .facture-electronic-card,
  .avoir-electronic-card {
    flex-direction: column;
  }
}
@media only screen and (max-width: 640px) {
  .einv-head,
  .einv-head-actions,
  .einv-actions,
  .einv-filters,
  .einv-filter-actions,
  .facture-electronic-actions,
  .avoir-electronic-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .einv-list-row {
    display: block;
  }
  .einv-list-row > div {
    margin-bottom: 9px;
  }
  .einv-kpis > div,
  .einv-summary > div,
  .einv-filters > div {
    flex-basis: 100%;
  }
}
.einv-button-primary,
.einv-button-secondary {
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.einv-button-primary {
  background: #173b5c;
  color: #ffffff;
}
.einv-button-secondary {
  background: #edf0f2;
  color: #27333c;
}
.einv-link {
  color: #173b5c;
  font-weight: 700;
}
/* ========================================================================== 
   TABLEAU DE BORD - LOGICIEL DEVIS / FACTURATION
   PC + tablette + mobile dans ce même fichier.
   ========================================================================== */
.dashboard-logiciel {
  width: 100%;
  color: #27333d;
  box-sizing: border-box;
}
.dashboard-logiciel a {
  text-decoration: none;
}
.dashboard-logiciel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.dashboard-logiciel-head h1 {
  margin: 0 0 5px;
  color: #173b5c;
  font-size: 27px;
  line-height: 1.2;
}
.dashboard-logiciel-head p {
  margin: 0;
  color: #6f7b84;
  font-size: 13px;
  line-height: 1.45;
}
.dashboard-logiciel-period {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #d9e2e9;
  background: #f7fafc;
  color: #6f7b84;
  font-size: 11px;
  font-weight: 700;
}
.dashboard-logiciel-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.dashboard-logiciel-kpi {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 94px;
  padding: 14px 15px;
  border: 1px solid #d9e2e9;
  background: #ffffff;
  color: #27333d;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.dashboard-logiciel-kpi:hover {
  border-color: rgba(23, 59, 92, 0.35);
  box-shadow: 0 3px 10px rgba(23, 59, 92, 0.08);
}
.dashboard-logiciel-kpi-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #edf5fb;
}
.dashboard-logiciel-kpi-body {
  display: block;
  min-width: 0;
}
.dashboard-logiciel-kpi-title {
  display: block;
  margin-bottom: 4px;
  color: #173b5c;
  font-size: 12px;
  font-weight: 700;
}
.dashboard-logiciel-kpi strong {
  display: block;
  margin-bottom: 4px;
  color: #173b5c;
  font-size: 23px;
  line-height: 1.05;
  white-space: nowrap;
}
.dashboard-logiciel-kpi-link {
  display: block;
  color: #0f5ea8;
  font-size: 10.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dashboard-logiciel-card {
  margin-bottom: 14px;
  border: 1px solid #d9e2e9;
  background: #ffffff;
  box-sizing: border-box;
}
.dashboard-logiciel-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 0;
}
.dashboard-logiciel-card-head h2 {
  margin: 0;
  color: #173b5c;
  font-size: 17px;
  line-height: 1.2;
}
.dashboard-logiciel-actions {
  padding-bottom: 14px;
}
.dashboard-logiciel-actions-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
  padding: 12px 16px 0;
}
.dashboard-logiciel-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
  padding: 8px;
  border: 1px solid #d9e2e9;
  background: #f7fafc;
  color: #173b5c;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  box-sizing: border-box;
}
.dashboard-logiciel-action:hover {
  background: #edf5fb;
  color: #173b5c;
}
.dashboard-logiciel-action-primary {
  background: #2d8a57;
  color: #ffffff;
  border-color: #2d8a57;
}
.dashboard-logiciel-action-primary:hover {
  background: #27774b;
  color: #ffffff;
}
.dashboard-logiciel-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
}
.dashboard-logiciel-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.85fr);
  gap: 14px;
  margin-bottom: 14px;
}
.dashboard-logiciel-columns .dashboard-logiciel-card {
  margin-bottom: 0;
}
.dashboard-logiciel-table {
  padding: 12px 16px 16px;
  overflow-x: auto;
}
.dashboard-logiciel-row {
  display: grid;
  grid-template-columns: 90px 75px 1.15fr 120px 1.8fr;
  min-width: 690px;
  border-bottom: 1px solid #d9e2e9;
  color: #27333d;
}
.dashboard-logiciel-row > div {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 7px;
  box-sizing: border-box;
  font-size: 10.5px;
}
.dashboard-logiciel-row:hover:not(.dashboard-logiciel-row-head) {
  background: #f7fafc;
}
.dashboard-logiciel-row-head {
  background: #f1f5f8;
  color: #173b5c;
  font-weight: 700;
  border-bottom: 1px solid #d9e2e9;
}
.dashboard-logiciel-row-head > div {
  min-height: 31px;
  font-size: 10px;
}
.dashboard-logiciel-reference {
  color: #0f5ea8;
  font-weight: 700;
}
.dashboard-logiciel-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
  box-sizing: border-box;
}
.dashboard-logiciel-badge-succes {
  background: #eaf7ef;
  color: #2d8a57;
}
.dashboard-logiciel-badge-attention {
  background: #fff6e3;
  color: #b97a12;
}
.dashboard-logiciel-badge-erreur {
  background: #fff0f0;
  color: #b33d3d;
}
.dashboard-logiciel-badge-info {
  background: #edf5fb;
  color: #0f5ea8;
}
.dashboard-logiciel-badge-neutre {
  background: #eef1f3;
  color: #6f7b84;
}
.dashboard-logiciel-empty {
  margin: 12px 16px 16px;
  padding: 14px;
  background: #f7fafc;
  color: #6f7b84;
  font-size: 11px;
}
.dashboard-logiciel-client-card {
  padding-bottom: 16px;
}
.dashboard-logiciel-client-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding: 12px 16px;
}
.dashboard-logiciel-client-stats a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  padding: 11px;
  border: 1px solid #d9e2e9;
  background: #f7fafc;
  color: #173b5c;
  box-sizing: border-box;
}
.dashboard-logiciel-client-stats a > span:nth-child(2) {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}
.dashboard-logiciel-client-stats strong {
  font-size: 20px;
  line-height: 1;
}
.dashboard-logiciel-client-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 16px;
  padding: 12px;
  border-left: 3px solid #0f5ea8;
  background: #edf5fb;
}
.dashboard-logiciel-client-info > div {
  min-width: 0;
}
.dashboard-logiciel-client-info strong,
.dashboard-logiciel-client-info > div > span {
  display: block;
}
.dashboard-logiciel-client-info strong {
  margin-bottom: 3px;
  color: #173b5c;
  font-size: 11.5px;
}
.dashboard-logiciel-client-info > div > span {
  color: #6f7b84;
  font-size: 10px;
  line-height: 1.4;
}
.dashboard-logiciel-alerts-card {
  padding-bottom: 16px;
}
.dashboard-logiciel-alerts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 16px 0;
}
.dashboard-logiciel-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 68px;
  padding: 10px 11px;
  border: 1px solid #d9e2e9;
  color: #27333d;
  box-sizing: border-box;
}
.dashboard-logiciel-alert-erreur {
  background: #fff0f0;
  border-color: #e8bbbb;
}
.dashboard-logiciel-alert-attention {
  background: #fff6e3;
  border-color: #f4cc8a;
}
.dashboard-logiciel-alert-info {
  background: #edf5fb;
  border-color: #97c8f6;
}
.dashboard-logiciel-alert-succes {
  background: #eaf7ef;
  border-color: #9bdeb9;
}
.dashboard-logiciel-alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}
.dashboard-logiciel-alert-body {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}
.dashboard-logiciel-alert-body strong,
.dashboard-logiciel-alert-body > span {
  display: block;
}
.dashboard-logiciel-alert-body strong {
  margin-bottom: 3px;
  color: #173b5c;
  font-size: 10.5px;
  line-height: 1.3;
}
.dashboard-logiciel-alert-body > span {
  color: #6f7b84;
  font-size: 9.5px;
  line-height: 1.35;
}
.dashboard-logiciel-alert-arrow {
  flex: 0 0 auto;
  color: #0f5ea8;
  font-size: 18px;
}
@media (max-width: 1200px) {
  .dashboard-logiciel-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-logiciel-actions-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .dashboard-logiciel-columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .dashboard-logiciel-head {
    display: block;
  }
  .dashboard-logiciel-period {
    display: inline-block;
    margin-top: 10px;
  }
  .dashboard-logiciel-kpis {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .dashboard-logiciel-kpi {
    min-height: 84px;
    padding: 10px;
    gap: 9px;
  }
  .dashboard-logiciel-kpi-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
  .dashboard-logiciel-kpi strong {
    font-size: 18px;
  }
  .dashboard-logiciel-kpi-link {
    display: none;
  }
  .dashboard-logiciel-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-logiciel-client-stats {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .dashboard-logiciel-alerts {
    grid-template-columns: 1fr;
  }
  .dashboard-logiciel-table {
    overflow: visible;
  }
  .dashboard-logiciel-row-head {
    display: none;
  }
  .dashboard-logiciel-row {
    display: block;
    min-width: 0;
    margin-bottom: 9px;
    border: 1px solid #d9e2e9;
    background: #ffffff;
  }
  .dashboard-logiciel-row > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    min-height: 34px;
    border-bottom: 1px solid #e9eef2;
    text-align: right;
  }
  .dashboard-logiciel-row > div:last-child {
    border-bottom: 0;
  }
  .dashboard-logiciel-row > div:before {
    content: attr(data-label);
    flex: 0 0 35%;
    color: #6f7b84;
    font-size: 9.5px;
    font-weight: 700;
    text-align: left;
  }
}
@media (max-width: 480px) {
  .dashboard-logiciel-kpis {
    grid-template-columns: 1fr;
  }
  .dashboard-logiciel-actions-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-logiciel-client-stats {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   Lisibilité ciblée du tableau de bord espace client
   L'augmentation reste volontairement légère : titres principaux et KPI
   ne changent pas, seuls les contenus secondaires gagnent en lisibilité.
   ========================================================================== */
.dashboard-espace-client .dashboard-logiciel-action {
  font-size: 13px;
}
.dashboard-espace-client .dashboard-logiciel-row > div {
  font-size: 11.5px;
}
.dashboard-espace-client .dashboard-logiciel-row-head > div {
  font-size: 11px;
}
.dashboard-espace-client .dashboard-logiciel-badge {
  font-size: 10.5px;
}
.dashboard-espace-client .dashboard-logiciel-empty {
  font-size: 12px;
}
.dashboard-espace-client .dashboard-logiciel-client-stats a > span:nth-child(2) {
  font-size: 12px;
}
.dashboard-espace-client .dashboard-logiciel-client-info strong {
  font-size: 12.5px;
}
.dashboard-espace-client .dashboard-logiciel-client-info > div > span {
  font-size: 11.5px;
}
.dashboard-espace-client .dashboard-logiciel-alert-body strong {
  font-size: 12px;
}
.dashboard-espace-client .dashboard-logiciel-alert-body > span {
  font-size: 11px;
}
/* ========================================================================== 
   TABLEAU DE BORD CLIENT - VUE ADMIN / USERS / VIEW
   Complément au tableau_bord.less existant.
   ========================================================================== */
.dashboard-logiciel-client-stats > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  padding: 11px;
  border: 1px solid #d9e2e9;
  background: #f7fafc;
  color: #173b5c;
  box-sizing: border-box;
}
.dashboard-logiciel-client-stats > div > span:nth-child(2) {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}
.dashboard-logiciel-client-stats > div strong {
  font-size: 20px;
  line-height: 1;
}
/* ========================================================================== 
   TABLEAU DE BORD - ESPACE CLIENT / USERS / INDEX
   Complément au tableau_bord.less. PC + tablette + mobile ici.
   ========================================================================== */
.dashboard-espace-client .dashboard-espace-client-actions .dashboard-logiciel-actions-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dashboard-espace-client .dashboard-logiciel-client-stats a {
  min-height: 82px;
}
@media (max-width: 1200px) {
  .dashboard-espace-client .dashboard-espace-client-actions .dashboard-logiciel-actions-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .dashboard-espace-client .dashboard-espace-client-actions .dashboard-logiciel-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .dashboard-espace-client .dashboard-espace-client-actions .dashboard-logiciel-actions-grid {
    grid-template-columns: 1fr;
  }
}
/*
 * ESPACE CLIENT - DEVIS
 * Liste + détail + impression.
 * PC / tablette / mobile dans le même fichier.
 */
.devis_client_page {
  width: 100%;
  color: #27333c;
  box-sizing: border-box;
}
.devis_client_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin: 0 0 18px 0;
  padding: 0 0 16px 0;
  border-bottom: 1px solid #dce3e8;
  box-sizing: border-box;
}
.devis_client_header h1 {
  margin: 0 0 5px 0;
  color: #173b5c;
  font-size: 25px;
  line-height: 1.2;
}
.devis_client_header p {
  margin: 0;
  color: #6d7880;
  line-height: 1.4;
}
.devis_client_document_type {
  display: inline-block;
  margin: 0 0 5px 0;
  color: #6d7880;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.devis_client_actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.devis_client_button,
.devis_client_action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #173b5c;
  box-sizing: border-box;
  color: #173b5c;
  background: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all .2s ease;
}
.devis_client_button:hover,
.devis_client_action:hover {
  background: #173b5c;
  color: #ffffff;
  text-decoration: none;
}
.devis_client_button_primary {
  background: #173b5c;
  color: #ffffff;
}
.devis_client_button_primary:hover {
  background: #0f2d48;
}
.devis_client_button_secondary {
  border-color: #dce3e8;
  color: #6d7880;
}
.devis_client_button_secondary:hover {
  border-color: #173b5c;
}
/* ========================================================================== 
   LISTE
   ========================================================================== */
.devis_client_table_wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid #dce3e8;
  background: #ffffff;
  box-sizing: border-box;
}
.devis_client_table_head,
.devis_client_table_row {
  display: flex;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}
.devis_client_table_head {
  min-height: 42px;
  background: #173b5c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}
.devis_client_table_head > div,
.devis_client_col {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  box-sizing: border-box;
}
.devis_client_table_row {
  min-height: 60px;
  border-bottom: 1px solid #dce3e8;
  background: #ffffff;
}
.devis_client_table_row:last-child {
  border-bottom: 0;
}
.devis_client_table_row:hover {
  background: #f6fafb;
}
.devis_client_table_head > div:nth-child(1),
.devis_client_col_ref {
  width: 15%;
}
.devis_client_table_head > div:nth-child(2),
.devis_client_col_date {
  width: 12%;
}
.devis_client_table_head > div:nth-child(3),
.devis_client_col_objet {
  width: 32%;
}
.devis_client_table_head > div:nth-child(4),
.devis_client_col_status {
  width: 15%;
}
.devis_client_table_head > div:nth-child(5),
.devis_client_col_amount {
  width: 14%;
  justify-content: flex-end;
  text-align: right;
}
.devis_client_table_head > div:nth-child(6),
.devis_client_col_actions {
  width: 12%;
  justify-content: flex-end;
  text-align: right;
}
.devis_client_col_ref strong,
.devis_client_col_amount strong {
  color: #173b5c;
}
.devis_client_status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  box-sizing: border-box;
  background: #eef2f5;
  color: #27333c;
  font-size: 12px;
  font-weight: 700;
}
.devis_client_status_accepte {
  background: #e8f5ec;
  color: #2d7d46;
}
.devis_client_status_refuse,
.devis_client_status_annule {
  background: #f7eded;
  color: #9b3b3b;
}
.devis_client_action {
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
}
.devis_client_empty {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px;
  text-align: center;
}
.devis_client_empty strong {
  color: #173b5c;
  font-size: 16px;
}
.devis_client_empty span {
  color: #6d7880;
}
/* ========================================================================== 
   DÉTAIL - SYNTHÈSE
   ========================================================================== */
.devis_client_summary {
  display: flex;
  width: 100%;
  margin: 0 0 18px 0;
  border: 1px solid #dce3e8;
  background: #ffffff;
  box-sizing: border-box;
}
.devis_client_summary_item {
  flex: 1 1 0;
  min-width: 0;
  padding: 15px 17px;
  border-right: 1px solid #dce3e8;
  box-sizing: border-box;
}
.devis_client_summary_item:last-child {
  border-right: 0;
}
.devis_client_summary_item span,
.devis_client_summary_item strong {
  display: block;
}
.devis_client_summary_item span {
  margin: 0 0 5px 0;
  color: #6d7880;
  font-size: 12px;
}
.devis_client_summary_item strong {
  font-size: 15px;
  line-height: 1.25;
}
.devis_client_summary_status {
  color: #2d7d46;
}
.devis_client_summary_important {
  background: #eaf4f7;
}
.devis_client_summary_important strong {
  color: #173b5c;
  font-size: 20px;
}
.devis_client_block,
.devis_client_document {
  width: 100%;
  margin: 0 0 18px 0;
  border: 1px solid #dce3e8;
  background: #ffffff;
  box-sizing: border-box;
}
.devis_client_block {
  padding: 18px;
}
.devis_client_block_title {
  margin: 0 0 14px 0;
  padding: 0 0 10px 0;
  border-bottom: 1px solid #dce3e8;
}
.devis_client_block_title h2 {
  margin: 0;
  color: #173b5c;
  font-size: 18px;
}
.devis_client_block p {
  margin: 8px 0 0 0;
  line-height: 1.5;
}
.devis_client_intervention_grid {
  display: flex;
  gap: 30px;
}
.devis_client_intervention_grid > div {
  flex: 1 1 0;
  min-width: 0;
}
.devis_client_intervention_grid span,
.devis_client_intervention_grid strong,
.devis_client_intervention_grid small {
  display: block;
}
.devis_client_intervention_grid span {
  margin-bottom: 5px;
  color: #6d7880;
  font-size: 12px;
}
.devis_client_intervention_grid strong {
  color: #27333c;
}
.devis_client_intervention_grid small {
  margin-top: 3px;
  color: #6d7880;
  font-size: 12px;
}
/* ========================================================================== 
   DÉTAIL - PRESTATIONS
   ========================================================================== */
.devis_client_document {
  overflow: hidden;
}
.devis_client_document_table_head,
.devis_client_line {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}
.devis_client_document_table_head {
  min-height: 40px;
  background: #173b5c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}
.devis_client_document_table_head > div {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  box-sizing: border-box;
}
.devis_client_document_table_head > div:nth-child(1) {
  width: 68%;
}
.devis_client_document_table_head > div:nth-child(2) {
  width: 16%;
  justify-content: flex-end;
}
.devis_client_document_table_head > div:nth-child(3) {
  width: 16%;
  justify-content: flex-end;
}
.devis_client_section {
  width: 100%;
}
.devis_client_section + .devis_client_section {
  border-top: 1px solid #dce3e8;
}
.devis_client_section_title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  padding: 10px 14px;
  background: #f6fafb;
  border-bottom: 1px solid #dce3e8;
  box-sizing: border-box;
}
.devis_client_section_title h2 {
  margin: 0;
  color: #173b5c;
  font-size: 18px;
}
.devis_client_section_title strong {
  color: #173b5c;
  white-space: nowrap;
}
.devis_client_zone_title {
  padding: 10px 14px 7px 14px;
  color: #173b5c;
  font-size: 14px;
  font-weight: 700;
}
.devis_client_line {
  align-items: flex-start;
  min-height: 54px;
  border-top: 1px solid #edf1f3;
}
.devis_client_line_text,
.devis_client_line_qty,
.devis_client_line_total {
  padding: 11px 14px;
  box-sizing: border-box;
}
.devis_client_line_text {
  width: 68%;
}
.devis_client_line_text strong,
.devis_client_line_text span {
  display: block;
}
.devis_client_line_text strong {
  color: #27333c;
}
.devis_client_line_text span {
  margin-top: 4px;
  color: #6d7880;
  font-size: 12px;
  line-height: 1.4;
}
.devis_client_line_text span:first-child {
  margin-top: 0;
}

.devis_client_line_qty {
  width: 16%;
  color: #6d7880;
  text-align: right;
}
.devis_client_line_total {
  width: 16%;
  color: #173b5c;
  text-align: right;
  font-weight: 700;
}
/* ========================================================================== 
   TOTAUX / ÉCHÉANCIER / STATUT
   ========================================================================== */
.devis_client_totals {
  display: flex;
  width: 100%;
  max-width: 650px;
  margin: 0 0 18px auto;
  border: 1px solid #dce3e8;
  background: #ffffff;
  box-sizing: border-box;
}
.devis_client_totals > div {
  flex: 1 1 0;
  padding: 14px 16px;
  border-right: 1px solid #dce3e8;
  box-sizing: border-box;
}
.devis_client_totals > div:last-child {
  border-right: 0;
}
.devis_client_totals span,
.devis_client_totals strong {
  display: block;
}
.devis_client_totals span {
  margin-bottom: 4px;
  color: #6d7880;
  font-size: 12px;
}
.devis_client_totals strong {
  font-size: 16px;
}
.devis_client_total_main {
  background: #eaf4f7;
}
.devis_client_total_main strong {
  color: #173b5c;
  font-size: 20px;
}
.devis_client_due_head,
.devis_client_due {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.devis_client_due_head {
  min-height: 34px;
  background: #f6fafb;
  color: #6d7880;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.devis_client_due {
  min-height: 45px;
  border-bottom: 1px solid #edf1f3;
}
.devis_client_due:last-child {
  border-bottom: 0;
}
.devis_client_due_head > div,
.devis_client_due > div {
  padding: 8px 10px;
  box-sizing: border-box;
}
.devis_client_due_head > div:nth-child(1),
.devis_client_due > div:nth-child(1) {
  width: 58%;
}
.devis_client_due_head > div:nth-child(2),
.devis_client_due > div:nth-child(2) {
  width: 17%;
  text-align: right;
}
.devis_client_due_head > div:nth-child(3),
.devis_client_due > div:nth-child(3) {
  width: 25%;
  text-align: right;
}
.devis_client_notice {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 14px 16px;
  margin: 0 0 18px 0;
  border: 1px solid #dce3e8;
  border-left: 4px solid #6d7880;
  background: #ffffff;
  box-sizing: border-box;
}
.devis_client_notice span {
  color: #6d7880;
  font-size: 12px;
}
.devis_client_notice_ok {
  border-left-color: #2d7d46;
  background: #e8f5ec;
}
.devis_client_notice_ok strong {
  color: #2d7d46;
}
/* ========================================================================== 
   REPONSE CLIENT AU DEVIS
   ========================================================================== */
.devis_client_response {
  margin: 24px 0 18px 0;
  padding: 20px;
  border: 1px solid #dce3e8;
  background: #ffffff;
  box-sizing: border-box;
}
.devis_client_response_intro {
  margin: 0 0 18px 0;
  color: #6d7880;
  font-size: 13px;
  line-height: 1.5;
}
.devis_client_response_grid {
  display: flex;
  gap: 18px;
  align-items: stretch;
}
.devis_client_response_choice {
  flex: 1 1 50%;
  padding: 18px;
  border: 1px solid #dce3e8;
  box-sizing: border-box;
}
.devis_client_response_choice h3 {
  margin: 0 0 7px 0;
  font-size: 17px;
  font-weight: 700;
}
.devis_client_response_choice > p {
  min-height: 38px;
  margin: 0 0 14px 0;
  color: #6d7880;
  font-size: 12px;
  line-height: 1.45;
}
.devis_client_response_accept {
  border-left: 4px solid #2d7d46;
}
.devis_client_response_refuse {
  border-left: 4px solid #b04a4a;
}
.devis_client_response_form textarea {
  display: block;
  width: 100%;
  min-height: 82px;
  margin: 0 0 12px 0;
  padding: 10px 12px;
  border: 1px solid #dce3e8;
  background: #fff;
  resize: vertical;
  box-sizing: border-box;
  font: inherit;
}
.devis_client_confirmation {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0 0 14px 0;
  color: #263746;
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}
.devis_client_confirmation input {
  flex: 0 0 auto;
  margin: 3px 0 0 0;
}
.devis_client_confirmation a,
.devis_client_legal_links a {
  color: #173b5c;
  font-weight: 700;
  text-decoration: underline;
}
.devis_client_confirmation strong {
  color: #173b5c;
}
.devis_client_confirmation_optional {
  padding: 10px 12px;
  border: 1px solid #dce3e8;
  background: #f6fafb;
}
.devis_client_confirmation_optional em {
  display: block;
  margin-top: 5px;
  color: #6d7880;
  font-size: 11px;
  font-style: normal;
}
.devis_client_legal_links {
  margin: 2px 0 14px;
  color: #6d7880;
  font-size: 11.5px;
  line-height: 1.5;
}
.devis_client_response_accept .devis_client_button_accept {
  width: 100%;
  white-space: normal;
  text-align: center;
}
.devis_client_button_accept {
  background: #2d7d46;
  color: #fff;
}
.devis_client_button_refuse {
  background: #8f3f3f;
  color: #fff;
}
.devis_client_notice_refuse {
  border-left-color: #b04a4a;
  background: #fff7f7;
}
.devis_client_notice_refuse strong {
  color: #8f3f3f;
}
/* ========================================================================== 
   TABLETTE
   ========================================================================== */
@media only screen and (max-width: 1024px) {
  .devis_client_table_head > div:nth-child(1),
  .devis_client_col_ref {
    width: 17%;
  }
  .devis_client_table_head > div:nth-child(2),
  .devis_client_col_date {
    width: 14%;
  }
  .devis_client_table_head > div:nth-child(3),
  .devis_client_col_objet {
    width: 27%;
  }
  .devis_client_table_head > div:nth-child(4),
  .devis_client_col_status {
    width: 15%;
  }
  .devis_client_table_head > div:nth-child(5),
  .devis_client_col_amount {
    width: 15%;
  }
  .devis_client_table_head > div:nth-child(6),
  .devis_client_col_actions {
    width: 12%;
  }
  .devis_client_summary {
    flex-wrap: wrap;
  }
  .devis_client_summary_item {
    flex: 1 1 50%;
    border-bottom: 1px solid #dce3e8;
  }
  .devis_client_summary_item:nth-child(2) {
    border-right: 0;
  }
  .devis_client_summary_item:nth-child(3),
  .devis_client_summary_item:nth-child(4) {
    border-bottom: 0;
  }
}
/* ========================================================================== 
   MOBILE
   ========================================================================== */
@media only screen and (max-width: 700px) {
  .devis_client_response_grid {
    display: block;
  }
  .devis_client_response_choice {
    width: 100%;
    margin: 0 0 12px 0;
  }
  .devis_client_header {
    flex-direction: column;
    align-items: stretch;
  }
  .devis_client_actions {
    justify-content: flex-start;
  }
  .devis_client_table_wrap {
    border: 0;
    background: transparent;
  }
  .devis_client_table_head {
    display: none;
  }
  .devis_client_table_row {
    display: block;
    margin: 0 0 12px 0;
    padding: 8px 12px;
    border: 1px solid #dce3e8;
    background: #ffffff;
  }
  .devis_client_col {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    width: 100% !important;
    min-height: 38px;
    padding: 9px 0;
    border-bottom: 1px solid #edf1f3;
    text-align: right !important;
  }
  .devis_client_col:last-child {
    border-bottom: 0;
  }
  .devis_client_col:before {
    content: attr(data-label);
    flex: 0 0 95px;
    color: #6d7880;
    font-size: 11px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
  }
  .devis_client_col_objet {
    line-height: 1.4;
  }
  .devis_client_col_actions {
    justify-content: flex-end;
  }
  .devis_client_action {
    min-width: 90px;
  }
  .devis_client_summary {
    display: block;
  }
  .devis_client_summary_item {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #dce3e8 !important;
  }
  .devis_client_summary_item:last-child {
    border-bottom: 0 !important;
  }
  .devis_client_intervention_grid {
    flex-direction: column;
    gap: 15px;
  }
  .devis_client_document_table_head {
    display: none;
  }
  .devis_client_section_title {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .devis_client_line {
    display: block;
    padding: 8px 12px;
  }
  .devis_client_line_text,
  .devis_client_line_qty,
  .devis_client_line_total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 7px 0;
    text-align: right;
  }
  .devis_client_line_text {
    display: block;
    text-align: left;
  }
  .devis_client_line_qty:before,
  .devis_client_line_total:before {
    content: attr(data-label);
    color: #6d7880;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .devis_client_totals {
    display: block;
    max-width: none;
  }
  .devis_client_totals > div {
    border-right: 0;
    border-bottom: 1px solid #dce3e8;
  }
  .devis_client_totals > div:last-child {
    border-bottom: 0;
  }
  .devis_client_due_head {
    display: none;
  }
  .devis_client_due {
    display: block;
    padding: 7px 0;
  }
  .devis_client_due > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100% !important;
    padding: 6px 0;
    text-align: right !important;
  }
  .devis_client_due > div:before {
    content: attr(data-label);
    color: #6d7880;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
  }
}
/* ========================================================================== 
   IMPRESSION DE LA PAGE CLIENT
   ========================================================================== */
@media print {
  .aside_user,
  .devis_client_no_print,
  header,
  footer {
    display: none !important;
  }
  .wrap_main,
  .main_user,
  .section_user,
  .devis_client_page {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }
  .devis_client_header {
    margin-bottom: 12px;
  }
  .devis_client_block,
  .devis_client_document,
  .devis_client_summary,
  .devis_client_totals,
  .devis_client_notice {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none !important;
  }
  .devis_client_table_row:hover {
    background: #ffffff;
  }
}
/* ========================================================================== 
   ACCUSE D'ACCEPTATION - ESPACE CLIENT
   ========================================================================== */
.devis_client_receipt_success {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 18px 0;
  padding: 16px 18px;
  border: 1px solid #bdd9c6;
  background: #e8f5ec;
  box-sizing: border-box;
}
.devis_client_receipt_success strong {
  color: #2d7d46;
  font-size: 16px;
}
.devis_client_receipt_success span {
  color: #27333c;
  line-height: 1.45;
}
.devis_client_receipt_card {
  margin: 0 0 18px 0;
  padding: 18px;
  border: 1px solid #dce3e8;
  background: #ffffff;
  box-sizing: border-box;
}
.devis_client_receipt_rows {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #dce3e8;
  border-left: 1px solid #dce3e8;
}
.devis_client_receipt_rows > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 50%;
  min-height: 68px;
  padding: 12px 14px;
  border-right: 1px solid #dce3e8;
  border-bottom: 1px solid #dce3e8;
  box-sizing: border-box;
}
.devis_client_receipt_rows span {
  color: #6d7880;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.devis_client_receipt_rows strong {
  color: #27333c;
  font-size: 14px;
  line-height: 1.4;
}
.devis_client_receipt_confirmation {
  margin: 0 0 18px 0;
  padding: 16px 18px;
  border-left: 4px solid #173b5c;
  background: #f6fafb;
  box-sizing: border-box;
}
.devis_client_receipt_confirmation strong {
  color: #173b5c;
}
.devis_client_receipt_confirmation p {
  margin: 7px 0 0 0;
  line-height: 1.5;
}
.devis_client_receipt_trace {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: #6d7880;
  font-size: 12px;
}
.devis_client_notice_action {
  display: block;
  margin-top: 10px;
}
@media only screen and (max-width: 700px) {
  .devis_client_receipt_rows {
    display: block;
  }
  .devis_client_receipt_rows > div {
    width: 100%;
  }
}
@media print {
  .devis_client_receipt_success,
  .devis_client_receipt_card,
  .devis_client_receipt_confirmation {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none !important;
  }
}
/*
 * ESPACE CLIENT - FACTURES
 * Liste + détail + impression.
 * PC / tablette / mobile dans le même fichier.
 */
.factures_client_page {
  width: 100%;
  color: #27333c;
  box-sizing: border-box;
}
.factures_client_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin: 0 0 18px 0;
  padding: 0 0 16px 0;
  border-bottom: 1px solid #dce3e8;
  box-sizing: border-box;
}
.factures_client_header h1 {
  margin: 0 0 5px 0;
  color: #173b5c;
  font-size: 25px;
  line-height: 1.2;
}
.factures_client_header p {
  margin: 0;
  color: #6d7880;
  line-height: 1.4;
}
.factures_client_document_type {
  display: inline-block;
  margin: 0 0 5px 0;
  color: #6d7880;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.factures_client_actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.factures_client_button,
.factures_client_action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #173b5c;
  box-sizing: border-box;
  color: #173b5c;
  background: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all .2s ease;
}
.factures_client_button:hover,
.factures_client_action:hover {
  background: #173b5c;
  color: #ffffff;
  text-decoration: none;
}
.factures_client_button_primary {
  background: #173b5c;
  color: #ffffff;
}
.factures_client_button_primary:hover {
  background: #0f2d48;
}
.factures_client_button_secondary {
  border-color: #dce3e8;
  color: #6d7880;
}
.factures_client_button_secondary:hover {
  border-color: #173b5c;
}
/* ========================================================================== 
   LISTE
   ========================================================================== */
.factures_client_table_wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid #dce3e8;
  background: #ffffff;
  box-sizing: border-box;
}
.factures_client_table_head,
.factures_client_table_row {
  display: flex;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}
.factures_client_table_head {
  min-height: 42px;
  background: #173b5c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}
.factures_client_table_head > div,
.factures_client_col {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 10px 11px;
  box-sizing: border-box;
}
.factures_client_table_row {
  min-height: 60px;
  border-bottom: 1px solid #dce3e8;
  background: #ffffff;
}
.factures_client_table_row:last-child {
  border-bottom: 0;
}
.factures_client_table_row:hover {
  background: #f6fafb;
}
.factures_client_table_head > div:nth-child(1),
.factures_client_col_ref {
  width: 15%;
}
.factures_client_table_head > div:nth-child(2),
.factures_client_col_date {
  width: 11%;
}
.factures_client_table_head > div:nth-child(3),
.factures_client_col_type {
  width: 12%;
}
.factures_client_table_head > div:nth-child(4),
.factures_client_col_amount {
  width: 14%;
  justify-content: flex-end;
  text-align: right;
}
.factures_client_table_head > div:nth-child(5),
.factures_client_col_status {
  width: 20%;
}
.factures_client_table_head > div:nth-child(6),
.factures_client_col_reste {
  width: 15%;
  justify-content: flex-end;
  text-align: right;
}
.factures_client_table_head > div:nth-child(7),
.factures_client_col_actions {
  width: 13%;
  justify-content: flex-end;
  text-align: right;
}
.factures_client_col_ref strong,
.factures_client_col_amount strong,
.factures_client_col_reste strong {
  color: #173b5c;
}
.factures_client_status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  box-sizing: border-box;
  background: #eef2f5;
  color: #27333c;
  font-size: 12px;
  font-weight: 700;
}
.factures_client_status_payee,
.factures_client_status_soldee_par_avoir {
  background: #e8f5ec;
  color: #2d7d46;
}
.factures_client_status_partiellement_payee,
.factures_client_status_non_payee {
  background: #fff6df;
  color: #8a651d;
}
.factures_client_action {
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
}
.factures_client_empty {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px;
  text-align: center;
}
.factures_client_empty strong {
  color: #173b5c;
  font-size: 16px;
}
.factures_client_empty span {
  color: #6d7880;
}
/* ========================================================================== 
   DÉTAIL - SYNTHÈSE
   ========================================================================== */
.factures_client_summary {
  display: flex;
  width: 100%;
  margin: 0 0 18px 0;
  border: 1px solid #dce3e8;
  background: #ffffff;
  box-sizing: border-box;
}
.factures_client_summary_item {
  flex: 1 1 0;
  min-width: 0;
  padding: 15px 17px;
  border-right: 1px solid #dce3e8;
  box-sizing: border-box;
}
.factures_client_summary_item:last-child {
  border-right: 0;
}
.factures_client_summary_item span,
.factures_client_summary_item strong {
  display: block;
}
.factures_client_summary_item span {
  margin: 0 0 5px 0;
  color: #6d7880;
  font-size: 12px;
}
.factures_client_summary_item strong {
  font-size: 15px;
  line-height: 1.25;
}
.factures_client_summary_important {
  background: #eaf4f7;
}
.factures_client_summary_important strong {
  color: #173b5c;
  font-size: 20px;
}
.factures_client_block,
.factures_client_document {
  width: 100%;
  margin: 0 0 18px 0;
  border: 1px solid #dce3e8;
  background: #ffffff;
  box-sizing: border-box;
}
.factures_client_block {
  padding: 18px;
}
.factures_client_block_title {
  margin: 0 0 14px 0;
  padding: 0 0 10px 0;
  border-bottom: 1px solid #dce3e8;
}
.factures_client_block_title h2 {
  margin: 0;
  color: #173b5c;
  font-size: 18px;
}
.factures_client_block p {
  margin: 8px 0 0 0;
  line-height: 1.5;
}
.factures_client_chantier_grid {
  display: flex;
  gap: 30px;
}
.factures_client_chantier_grid > div {
  flex: 1 1 0;
  min-width: 0;
}
.factures_client_chantier_grid span,
.factures_client_chantier_grid strong,
.factures_client_chantier_grid small {
  display: block;
}
.factures_client_chantier_grid span {
  margin-bottom: 5px;
  color: #6d7880;
  font-size: 12px;
}
.factures_client_chantier_grid strong {
  color: #27333c;
}
.factures_client_chantier_grid small {
  margin-top: 3px;
  color: #6d7880;
  font-size: 12px;
}
/* ========================================================================== 
   DÉTAIL - PRESTATIONS
   ========================================================================== */
.factures_client_document {
  overflow: hidden;
}
.factures_client_document_table_head,
.factures_client_line {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}
.factures_client_document_table_head {
  min-height: 40px;
  background: #173b5c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}
.factures_client_document_table_head > div {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  box-sizing: border-box;
}
.factures_client_document_table_head > div:nth-child(1) {
  width: 68%;
}
.factures_client_document_table_head > div:nth-child(2) {
  width: 16%;
  justify-content: flex-end;
}
.factures_client_document_table_head > div:nth-child(3) {
  width: 16%;
  justify-content: flex-end;
}
.factures_client_section + .factures_client_section {
  border-top: 1px solid #dce3e8;
}
.factures_client_section_title {
  min-height: 48px;
  padding: 10px 14px;
  background: #f6fafb;
  border-bottom: 1px solid #dce3e8;
  box-sizing: border-box;
}
.factures_client_section_title h2 {
  margin: 0;
  color: #173b5c;
  font-size: 18px;
}
.factures_client_line {
  align-items: flex-start;
  min-height: 54px;
  border-top: 1px solid #edf1f3;
}
.factures_client_line_text,
.factures_client_line_qty,
.factures_client_line_total {
  padding: 11px 14px;
  box-sizing: border-box;
}
.factures_client_line_text {
  width: 68%;
}
.factures_client_line_text strong,
.factures_client_line_text span,
.factures_client_line_text small {
  display: block;
}
.factures_client_line_text strong {
  color: #27333c;
}
.factures_client_line_text span,
.factures_client_line_text small {
  margin-top: 4px;
  color: #6d7880;
  font-size: 12px;
  line-height: 1.4;
}
.factures_client_line_text span:first-child {
  margin-top: 0;
}

.factures_client_line_qty {
  width: 16%;
  color: #6d7880;
  text-align: right;
}
.factures_client_line_total {
  width: 16%;
  color: #173b5c;
  text-align: right;
  font-weight: 700;
}
/* ========================================================================== 
   TOTAUX / PAIEMENT
   ========================================================================== */
.factures_client_totals {
  display: flex;
  width: 100%;
  max-width: 650px;
  margin: 0 0 18px auto;
  border: 1px solid #dce3e8;
  background: #ffffff;
  box-sizing: border-box;
}
.factures_client_totals > div {
  flex: 1 1 0;
  padding: 14px 16px;
  border-right: 1px solid #dce3e8;
  box-sizing: border-box;
}
.factures_client_totals > div:last-child {
  border-right: 0;
}
.factures_client_totals span,
.factures_client_totals strong {
  display: block;
}
.factures_client_totals span {
  margin-bottom: 4px;
  color: #6d7880;
  font-size: 12px;
}
.factures_client_totals strong {
  font-size: 16px;
}
.factures_client_total_main {
  background: #eaf4f7;
}
.factures_client_total_main strong {
  color: #173b5c;
  font-size: 20px;
}
.factures_client_payment {
  display: flex;
  width: 100%;
  border: 1px solid #dce3e8;
  box-sizing: border-box;
}
.factures_client_payment > div {
  flex: 1 1 0;
  padding: 13px 15px;
  border-right: 1px solid #dce3e8;
  box-sizing: border-box;
}
.factures_client_payment > div:last-child {
  border-right: 0;
}
.factures_client_payment span,
.factures_client_payment strong {
  display: block;
}
.factures_client_payment span {
  margin-bottom: 4px;
  color: #6d7880;
  font-size: 12px;
}
.factures_client_payment_due {
  background: #f6fafb;
}
.factures_client_payment_due strong {
  color: #173b5c;
  font-size: 18px;
}
/* ========================================================================== 
   TABLETTE
   ========================================================================== */
@media only screen and (max-width: 1024px) {
  .factures_client_table_head > div:nth-child(1),
  .factures_client_col_ref {
    width: 16%;
  }
  .factures_client_table_head > div:nth-child(2),
  .factures_client_col_date {
    width: 12%;
  }
  .factures_client_table_head > div:nth-child(3),
  .factures_client_col_type {
    width: 12%;
  }
  .factures_client_table_head > div:nth-child(4),
  .factures_client_col_amount {
    width: 14%;
  }
  .factures_client_table_head > div:nth-child(5),
  .factures_client_col_status {
    width: 19%;
  }
  .factures_client_table_head > div:nth-child(6),
  .factures_client_col_reste {
    width: 15%;
  }
  .factures_client_table_head > div:nth-child(7),
  .factures_client_col_actions {
    width: 12%;
  }
  .factures_client_summary {
    flex-wrap: wrap;
  }
  .factures_client_summary_item {
    flex: 1 1 50%;
    border-bottom: 1px solid #dce3e8;
  }
  .factures_client_summary_item:nth-child(2) {
    border-right: 0;
  }
  .factures_client_summary_item:nth-child(3),
  .factures_client_summary_item:nth-child(4) {
    border-bottom: 0;
  }
}
/* ========================================================================== 
   MOBILE
   ========================================================================== */
@media only screen and (max-width: 700px) {
  .factures_client_header {
    flex-direction: column;
    align-items: stretch;
  }
  .factures_client_actions {
    justify-content: flex-start;
  }
  .factures_client_table_wrap {
    border: 0;
    background: transparent;
  }
  .factures_client_table_head {
    display: none;
  }
  .factures_client_table_row {
    display: block;
    margin: 0 0 12px 0;
    padding: 8px 12px;
    border: 1px solid #dce3e8;
    background: #ffffff;
  }
  .factures_client_col {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    width: 100% !important;
    min-height: 38px;
    padding: 9px 0;
    border-bottom: 1px solid #edf1f3;
    text-align: right !important;
  }
  .factures_client_col:last-child {
    border-bottom: 0;
  }
  .factures_client_col:before {
    content: attr(data-label);
    flex: 0 0 95px;
    color: #6d7880;
    font-size: 11px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
  }
  .factures_client_col_actions {
    justify-content: flex-end;
  }
  .factures_client_action {
    min-width: 90px;
  }
  .factures_client_summary {
    display: block;
  }
  .factures_client_summary_item {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #dce3e8 !important;
  }
  .factures_client_summary_item:last-child {
    border-bottom: 0 !important;
  }
  .factures_client_chantier_grid {
    flex-direction: column;
    gap: 15px;
  }
  .factures_client_document_table_head {
    display: none;
  }
  .factures_client_line {
    display: block;
    padding: 8px 12px;
  }
  .factures_client_line_text,
  .factures_client_line_qty,
  .factures_client_line_total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 7px 0;
    text-align: right;
  }
  .factures_client_line_text {
    display: block;
    text-align: left;
  }
  .factures_client_line_qty:before,
  .factures_client_line_total:before {
    content: attr(data-label);
    color: #6d7880;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .factures_client_totals,
  .factures_client_payment {
    display: block;
    max-width: none;
  }
  .factures_client_totals > div,
  .factures_client_payment > div {
    border-right: 0;
    border-bottom: 1px solid #dce3e8;
  }
  .factures_client_totals > div:last-child,
  .factures_client_payment > div:last-child {
    border-bottom: 0;
  }
}
/* ========================================================================== 
   IMPRESSION DE LA PAGE CLIENT
   ========================================================================== */
@media print {
  .aside_user,
  .factures_client_no_print,
  header,
  footer {
    display: none !important;
  }
  .wrap_main,
  .main_user,
  .section_user,
  .factures_client_page {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }
  .factures_client_header {
    margin-bottom: 12px;
  }
  .factures_client_block,
  .factures_client_document,
  .factures_client_summary,
  .factures_client_totals {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none !important;
  }
  .factures_client_table_row:hover {
    background: #ffffff;
  }
}
/* Documents comptables associés */
.factures_client_related_documents {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.factures_client_related_document {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #dce3e8;
}
.factures_client_related_document:last-child {
  border-bottom: 0;
}
.factures_client_related_document > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.factures_client_related_document span {
  color: #6d7880;
  font-size: 12px;
}
@media only screen and (max-width: 700px) {
  .factures_client_related_document {
    align-items: stretch;
    flex-direction: column;
  }
  .factures_client_related_document .factures_client_button {
    width: 100%;
  }
}
/*
 * ESPACE CLIENT - AVOIRS
 * Liste + détail + impression.
 * PC / tablette / mobile dans le même fichier.
 */
.avoirs_client_page {
  width: 100%;
  color: #27333c;
  box-sizing: border-box;
}
.avoirs_client_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin: 0 0 18px 0;
  padding: 0 0 16px 0;
  border-bottom: 1px solid #dce3e8;
  box-sizing: border-box;
}
.avoirs_client_header h1 {
  margin: 0 0 5px 0;
  color: #173b5c;
  font-size: 25px;
  line-height: 1.2;
}
.avoirs_client_header p {
  margin: 0;
  color: #6d7880;
  line-height: 1.4;
}
.avoirs_client_document_type {
  display: inline-block;
  margin: 0 0 5px 0;
  color: #6d7880;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.avoirs_client_actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.avoirs_client_button,
.avoirs_client_action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #173b5c;
  box-sizing: border-box;
  color: #173b5c;
  background: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.avoirs_client_button:hover,
.avoirs_client_action:hover {
  background: #173b5c;
  color: #ffffff;
  text-decoration: none;
}
.avoirs_client_button_primary {
  background: #173b5c;
  color: #ffffff;
}
.avoirs_client_button_secondary {
  border-color: #dce3e8;
  color: #6d7880;
}
/* Liste */
.avoirs_client_table_wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid #dce3e8;
  background: #ffffff;
  box-sizing: border-box;
}
.avoirs_client_table_head,
.avoirs_client_table_row {
  display: flex;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}
.avoirs_client_table_head {
  min-height: 42px;
  background: #173b5c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}
.avoirs_client_table_head > div,
.avoirs_client_col {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  box-sizing: border-box;
}
.avoirs_client_table_row {
  min-height: 60px;
  border-bottom: 1px solid #dce3e8;
  background: #ffffff;
}
.avoirs_client_table_row:last-child {
  border-bottom: 0;
}
.avoirs_client_table_row:hover {
  background: #f6fafb;
}
.avoirs_client_table_head > div:nth-child(1),
.avoirs_client_col_ref {
  width: 16%;
}
.avoirs_client_table_head > div:nth-child(2),
.avoirs_client_col_date {
  width: 13%;
}
.avoirs_client_table_head > div:nth-child(3),
.avoirs_client_col_facture {
  width: 22%;
}
.avoirs_client_table_head > div:nth-child(4),
.avoirs_client_col_type {
  width: 18%;
}
.avoirs_client_table_head > div:nth-child(5),
.avoirs_client_col_amount {
  width: 18%;
  justify-content: flex-end;
  text-align: right;
}
.avoirs_client_table_head > div:nth-child(6),
.avoirs_client_col_actions {
  width: 13%;
  justify-content: flex-end;
  text-align: right;
}
.avoirs_client_col_ref strong,
.avoirs_client_col_amount strong {
  color: #173b5c;
}
.avoirs_client_action {
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
}
.avoirs_client_empty {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px;
  border: 1px solid #dce3e8;
  text-align: center;
}
.avoirs_client_empty strong {
  color: #173b5c;
}
.avoirs_client_empty span {
  color: #6d7880;
}
/* Détail */
.avoirs_client_summary {
  display: flex;
  width: 100%;
  margin: 0 0 18px 0;
  border: 1px solid #dce3e8;
  box-sizing: border-box;
}
.avoirs_client_summary_item {
  width: 25%;
  padding: 14px 16px;
  border-right: 1px solid #dce3e8;
  box-sizing: border-box;
}
.avoirs_client_summary_item:last-child {
  border-right: 0;
}
.avoirs_client_summary_item span,
.avoirs_client_block span {
  display: block;
  margin: 0 0 5px 0;
  color: #6d7880;
  font-size: 12px;
}
.avoirs_client_summary_item strong {
  display: block;
  color: #27333c;
}
.avoirs_client_summary_important {
  background: #eaf4f7;
}
.avoirs_client_summary_important strong {
  color: #173b5c;
  font-size: 19px;
}
.avoirs_client_source_link {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 14px 0;
}
.avoirs_client_document {
  width: 100%;
  margin: 0 0 16px 0;
  border: 1px solid #dce3e8;
  box-sizing: border-box;
}
.avoirs_client_document_table_head {
  display: flex;
  width: 100%;
  min-height: 40px;
  background: #173b5c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}
.avoirs_client_document_table_head > div {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  box-sizing: border-box;
}
.avoirs_client_document_table_head > div:nth-child(1) {
  width: 68%;
}
.avoirs_client_document_table_head > div:nth-child(2) {
  width: 16%;
  justify-content: flex-end;
}
.avoirs_client_document_table_head > div:nth-child(3) {
  width: 16%;
  justify-content: flex-end;
}
.avoirs_client_section_title {
  padding: 12px 14px 8px 14px;
  background: #f6fafb;
  border-bottom: 1px solid #dce3e8;
}
.avoirs_client_section_title h2 {
  margin: 0;
  color: #173b5c;
  font-size: 18px;
}
.avoirs_client_line {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 58px;
  border-bottom: 1px solid #dce3e8;
  box-sizing: border-box;
}
.avoirs_client_line:last-child {
  border-bottom: 0;
}
.avoirs_client_line > div {
  padding: 10px 12px;
  box-sizing: border-box;
}
.avoirs_client_line_text {
  width: 68%;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.avoirs_client_line_text span,
.avoirs_client_line_text small {
  color: #6d7880;
}
.avoirs_client_line_qty {
  width: 16%;
  text-align: right;
}
.avoirs_client_line_total {
  width: 16%;
  text-align: right;
  font-weight: 700;
  color: #173b5c;
}
.avoirs_client_totals {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: 0 0 18px 0;
  box-sizing: border-box;
}
.avoirs_client_totals > div {
  width: 18%;
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid #dce3e8;
  border-right: 0;
  box-sizing: border-box;
}
.avoirs_client_totals > div:last-child {
  border-right: 1px solid #dce3e8;
}
.avoirs_client_totals span {
  display: block;
  margin-bottom: 4px;
  color: #6d7880;
  font-size: 12px;
}
.avoirs_client_totals strong {
  color: #27333c;
}
.avoirs_client_total_main {
  background: #eaf4f7;
}
.avoirs_client_total_main strong {
  color: #173b5c;
  font-size: 18px;
}
.avoirs_client_block {
  width: 100%;
  margin: 0 0 16px 0;
  padding: 16px;
  border: 1px solid #dce3e8;
  box-sizing: border-box;
}
.avoirs_client_block_title h2 {
  margin: 0 0 10px 0;
  color: #173b5c;
  font-size: 18px;
}
@media only screen and (max-width: 1024px) {
  .avoirs_client_header {
    flex-direction: column;
  }
  .avoirs_client_actions {
    justify-content: flex-start;
  }
  .avoirs_client_summary {
    flex-wrap: wrap;
  }
  .avoirs_client_summary_item {
    width: 50%;
    border-bottom: 1px solid #dce3e8;
  }
  .avoirs_client_summary_item:nth-child(2) {
    border-right: 0;
  }
  .avoirs_client_summary_item:nth-child(3),
  .avoirs_client_summary_item:nth-child(4) {
    border-bottom: 0;
  }
  .avoirs_client_totals > div {
    width: 33.333%;
    min-width: 0;
  }
}
@media only screen and (max-width: 700px) {
  .avoirs_client_header h1 {
    font-size: 22px;
  }
  .avoirs_client_table_head {
    display: none;
  }
  .avoirs_client_table_row {
    display: block;
    padding: 8px 0;
  }
  .avoirs_client_col {
    width: 100% !important;
    min-height: 38px;
    padding: 7px 12px 7px 46%;
    position: relative;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  .avoirs_client_col:before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    top: 7px;
    width: 40%;
    color: #6d7880;
    font-size: 12px;
    font-weight: 700;
  }
  .avoirs_client_actions {
    width: 100%;
  }
  .avoirs_client_button {
    flex: 1 1 auto;
  }
  .avoirs_client_summary {
    display: block;
  }
  .avoirs_client_summary_item {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #dce3e8 !important;
  }
  .avoirs_client_summary_item:last-child {
    border-bottom: 0 !important;
  }
  .avoirs_client_document_table_head {
    display: none;
  }
  .avoirs_client_line {
    display: block;
    padding: 8px 0;
  }
  .avoirs_client_line > div {
    width: 100% !important;
    padding: 7px 12px 7px 42%;
    position: relative;
    text-align: left !important;
  }
  .avoirs_client_line > div:before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    top: 7px;
    width: 36%;
    color: #6d7880;
    font-size: 12px;
    font-weight: 700;
  }
  .avoirs_client_line_text {
    padding-left: 12px !important;
  }
  .avoirs_client_line_text:before {
    display: none;
  }
  .avoirs_client_totals {
    display: block;
  }
  .avoirs_client_totals > div {
    width: 100%;
    border-right: 1px solid #dce3e8;
    border-bottom: 0;
  }
  .avoirs_client_totals > div:last-child {
    border-bottom: 1px solid #dce3e8;
  }
  .avoirs_client_source_link {
    justify-content: stretch;
  }
  .avoirs_client_source_link .avoirs_client_button {
    width: 100%;
  }
}
@media print {
  .avoirs_client_no_print,
  .aside_user,
  header,
  footer {
    display: none !important;
  }
  .wrap_main,
  .main_user,
  .section_user,
  .avoirs_client_page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .avoirs_client_header {
    margin-bottom: 12px;
  }
  .avoirs_client_document,
  .avoirs_client_summary,
  .avoirs_client_totals,
  .avoirs_client_block {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
/* ========================================================================== 
   SECURITE / MOT DE PASSE - ESPACE CLIENT
   PC + tablette + mobile dans ce même fichier.
   ========================================================================== */
.client-security {
  width: 100%;
  min-width: 0;
}
.client-security-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}
.client-security-head h1 {
  font-size: 1.75rem;
  color: #0e1635;
  margin-bottom: 5px;
}
.client-security-head p {
  color: #5d6972;
  line-height: 1.45;
}
.client-security-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid #0e1635;
  border-radius: 4px;
  background: #0e1635;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.client-security-button-secondary {
  background: #fff;
  color: #1c4880 !important;
  border-color: #d5e3ec;
}
.client-security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.client-security-card {
  display: flex;
  gap: 14px;
  border: 1px solid #d5e3ec;
  background: #ffffff;
  padding: 18px;
  min-height: 145px;
}
.client-security-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #ebf1f7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-security-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}
.client-security-label {
  font-size: .75rem;
  text-transform: uppercase;
  font-weight: 800;
  color: #5d6972;
  letter-spacing: .04em;
}
.client-security-card-body strong {
  color: #0e1635;
  overflow-wrap: anywhere;
}
.client-security-card-body small {
  font-size: .8rem;
  color: #5d6972;
  line-height: 1.45;
}
.client-security-inline-link {
  margin-top: auto;
  font-size: .82rem;
  font-weight: 800;
  color: #1c4880;
}
.client-security-history {
  border: 1px solid #d5e3ec;
  background: #ffffff;
  padding: 18px;
}
.client-security-section-head {
  margin-bottom: 14px;
}
.client-security-section-head h2 {
  font-size: 1.05rem;
  color: #0e1635;
  margin-bottom: 4px;
}
.client-security-section-head p {
  font-size: .82rem;
  color: #5d6972;
}
.client-security-history-list {
  display: flex;
  flex-direction: column;
}
.client-security-history-row {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #e6eff4;
}
.client-security-history-row:last-child {
  border-bottom: 0;
}
.client-security-history-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1c4880;
  margin-top: 5px;
  flex: 0 0 9px;
}
.client-security-history-row > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.client-security-history-row strong {
  font-size: .84rem;
  color: #343a40;
}
.client-security-history-row span {
  font-size: .76rem;
  color: #5d6972;
}
.client-security-empty {
  padding: 20px;
  text-align: center;
  color: #5d6972;
  background: #f7fafb;
}
.client-password-page {
  max-width: 720px;
}
.client-password-notice {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: #fff4d5;
  border-left: 3px solid #ffc107;
  color: #6f5700;
  font-size: .84rem;
  line-height: 1.5;
}
.client-password-form {
  border: 1px solid #d5e3ec;
  background: #ffffff;
  padding: 18px;
}
.client-password-form .input {
  margin-bottom: 15px;
}
.client-password-form label {
  display: block;
  margin-bottom: 6px;
  font-size: .82rem;
  font-weight: 700;
  color: #1c4880;
}
.client-password-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d5e3ec;
  border-radius: 4px;
  padding: 8px 10px;
}
.client-security-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
@media only screen and (min-width: 769px) and (max-width: 1100px) {
  .client-security-grid {
    grid-template-columns: 1fr;
  }
}
@media only screen and (max-width: 768px) {
  .client-security-head {
    flex-direction: column;
    align-items: stretch;
  }
  .client-security-grid {
    grid-template-columns: 1fr;
  }
  .client-security-card {
    min-height: auto;
  }
  .client-security-button {
    width: 100%;
  }
  .client-security-form-actions {
    flex-direction: column-reverse;
  }
}
/* ========================================================================== 
   MES INFORMATIONS - ESPACE CLIENT
   PC + tablette + mobile dans ce même fichier.
   ========================================================================== */
.client-profile {
  width: 100%;
  min-width: 0;
}
.client-profile-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}
.client-profile-head h1 {
  font-size: 1.75rem;
  color: #0e1635;
  margin-bottom: 5px;
}
.client-profile-head p {
  color: #5d6972;
  line-height: 1.45;
}
.client-profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid #0e1635;
  border-radius: 4px;
  background: #0e1635;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.client-profile-button-secondary {
  background: #fff;
  color: #1c4880 !important;
  border-color: #d5e3ec;
}
.client-profile-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.client-profile-status > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid #d5e3ec;
  background: #ffffff;
  padding: 14px 16px;
  min-width: 0;
}
.client-profile-status span {
  font-size: .75rem;
  text-transform: uppercase;
  font-weight: 800;
  color: #5d6972;
  letter-spacing: .04em;
}
.client-profile-status strong {
  color: #0e1635;
  overflow-wrap: anywhere;
}
.client-profile-status small {
  font-size: .78rem;
  color: #5d6972;
  line-height: 1.4;
}
.client-profile-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.client-profile-card {
  border: 1px solid #d5e3ec;
  background: #ffffff;
  padding: 18px;
}
.client-profile-card-head {
  margin-bottom: 16px;
}
.client-profile-card-head h2 {
  font-size: 1.05rem;
  color: #0e1635;
  margin-bottom: 4px;
}
.client-profile-card-head p {
  font-size: .82rem;
  color: #5d6972;
  line-height: 1.45;
}
.client-profile-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.client-profile-grid:last-child {
  margin-bottom: 0;
}
.client-profile-grid-1 {
  grid-template-columns: 1fr;
}
.client-profile-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.client-profile-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.client-profile-form .input {
  min-width: 0;
}
.client-profile-form label {
  display: block;
  margin-bottom: 6px;
  font-size: .8rem;
  font-weight: 700;
  color: #1c4880;
}
.client-profile-form input,
.client-profile-form select,
.client-profile-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d5e3ec;
  border-radius: 4px;
  background: #fff;
  padding: 8px 10px;
  box-sizing: border-box;
}
.client-profile-form textarea {
  min-height: 105px;
  resize: vertical;
}
.client-profile-form .error-message {
  display: block;
  margin-top: 5px;
  color: #a01919;
  font-size: .76rem;
  line-height: 1.35;
}
.client-profile-form .error input,
.client-profile-form .error select,
.client-profile-form .error textarea {
  border-color: #a01919;
}
.client-profile-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}
.client-public-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 4px;
  background: #0e1635;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
}
@media only screen and (min-width: 769px) and (max-width: 1100px) {
  .client-profile-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 768px) {
  .client-profile-head {
    flex-direction: column;
    align-items: stretch;
  }
  .client-profile-head .client-profile-button {
    width: 100%;
  }
  .client-profile-status,
  .client-profile-grid-2,
  .client-profile-grid-3 {
    grid-template-columns: 1fr;
  }
  .client-profile-actions {
    flex-direction: column-reverse;
  }
  .client-profile-actions .client-profile-button {
    width: 100%;
  }
}
/* ============================================================
   CONNEXION / MOT DE PASSE
   PC + tablette + mobile dans ce fichier uniquement
   ============================================================ */
/*
 * Le layout public est composé de trois zones successives : header, contenu,
 * footer. Sur les pages d'authentification le body reçoit une classe dédiée
 * depuis le contrôleur. Le contenu reste donc dans le flux normal, sans
 * calculer artificiellement une hauteur à partir du viewport.
 */
body.client-auth-layout {
  height: auto !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-x: hidden;
}
body.client-auth-layout > .publicHeader,
body.client-auth-layout > .site_footer {
  flex: 0 0 auto !important;
  position: relative;
  z-index: 2;
}
body.client-auth-layout > .client-auth-page {
  flex: 1 0 auto !important;
  min-height: 0 !important;
}
.client-auth-page,
.client-auth-page * {
  box-sizing: border-box;
}
.client-auth-page {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  padding: 36px 20px 54px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: visible !important;
  background: #f7f9fb;
}
.client-auth-card {
  width: 100%;
  max-width: 560px;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto;
  padding: 34px 38px 30px;
  position: relative;
  float: none !important;
  overflow: visible !important;
  background: #fff;
  border: 1px solid #dfe7ed;
  border-radius: 6px;
  box-shadow: 0 8px 26px rgba(20, 54, 78, 0.08);
}
.client-auth-head {
  margin: 0 0 26px;
  text-align: center;
}
.client-auth-head .ico {
  display: inline-block;
  margin-bottom: 10px;
}
.client-auth-head h1 {
  margin: 0 0 8px;
  color: #173653;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}
.client-auth-head p {
  max-width: 420px;
  margin: 0 auto;
  color: #6b7b87;
  font-size: 14px;
  line-height: 1.55;
}
.client-auth-form .input {
  width: 100%;
  margin: 0 0 18px;
}
.client-auth-form label {
  display: block;
  margin: 0 0 7px;
  color: #35546b;
  font-size: 13px;
  font-weight: 600;
}
.client-auth-form input[type="text"],
.client-auth-form input[type="email"],
.client-auth-form input[type="password"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d6e0e7;
  border-radius: 4px;
  background: #fff;
  color: #263746;
  font-size: 15px;
  outline: 0;
}
.client-auth-form input:focus {
  border-color: #3b9bd6;
  box-shadow: 0 0 0 3px rgba(59, 155, 214, 0.12);
}
.client-auth-links {
  margin: -2px 0 18px;
  text-align: right;
}
.client-auth-links a {
  color: #557084;
  font-size: 13px;
  text-decoration: none;
}
.client-auth-links a:hover,
.client-auth-links a:focus {
  color: #173653;
  text-decoration: underline;
}
.client-auth-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}
.client-auth-actions-two {
  justify-content: space-between;
}
.client-auth-button {
  min-height: 44px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1680bf;
  border-radius: 4px;
  background: #1680bf;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
}
.client-auth-button:hover,
.client-auth-button:focus {
  background: #116c9f;
  border-color: #116c9f;
}
.client-auth-button-secondary {
  background: #fff;
  color: #35546b !important;
  border-color: #ccd8e0;
}
.client-auth-button-secondary:hover,
.client-auth-button-secondary:focus {
  background: #f3f7f9;
  border-color: #afc0cc;
}
.client-auth-help,
.client-auth-reset-info {
  width: 100%;
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 3px solid #3b9bd6;
  background: #f5f9fc;
  color: #627481;
  font-size: 13px;
  line-height: 1.55;
}
.client-auth-help strong,
.client-auth-help span {
  display: block;
}
.client-auth-help strong {
  margin-bottom: 4px;
  color: #35546b;
}
@media screen and (max-width: 1024px) {
  .client-auth-page {
    width: 100%;
    padding: 24px 12px 40px;
  }
  .client-auth-card {
    width: 100%;
    max-width: 760px;
  }
}
@media screen and (max-width: 680px) {
  .client-auth-page {
    width: 100%;
    padding: 26px 10px 44px;
  }
  .client-auth-card {
    width: 100%;
    max-width: none;
    padding: 26px 14px 22px;
    border-radius: 4px;
  }
  .client-auth-head h1 {
    font-size: 25px;
  }
  .client-auth-actions,
  .client-auth-actions-two {
    flex-direction: column;
    align-items: stretch;
  }
  .client-auth-button {
    width: 100%;
  }
  .client-auth-links {
    margin-top: 2px;
  }
}
.tab_prod_head_box {
  display: flex;
  padding: 5px 0 5px 0;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px 10px 0 0;
}
.tab_prod_head_box > * {
  flex: 1 100%;
}
.tab_prod_img {
  min-width: 100px;
  max-width: 13%;
  padding-left: 10px;
}
.tab_prod_designation {
  max-width: 46%;
}
.tab_prod_cat {
  max-width: 13%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab_prod_tarif {
  max-width: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab_prod_action {
  max-width: 13%;
  text-align: right;
  padding-right: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.tab_prod_box {
  display: flex;
  padding: 10px 0 10px 0;
  background-color: #fff;
}
.tab_prod_box > * {
  flex: 1 100%;
  word-wrap: break-word;
  overflow: hidden;
}
.tab_prod_designation h4 {
  margin-bottom: 10px;
}
.tab_prod_action_ajout {
  display: block;
  font-size: 0.9rem;
  padding: 5px 10px;
  background-color: #59544a;
  color: #fff;
  border-radius: 5px;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
}
.tab_prod_action_ajout:hover {
  background-color: #92b94e;
  color: #59544a;
}
.form_prod_imb_box {
  min-width: 150px;
  max-width: 150px;
  margin-right: 30px;
  word-wrap: break-word;
  overflow: hidden;
}
.tab_ftes_head_box {
  display: flex;
  padding: 5px 0 5px 0;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px 10px 0 0;
}
.tab_ftes_head_box > * {
  flex: 1 100%;
}
.tab_ftes_img {
  min-width: 100px;
  max-width: 8%;
  padding-left: 10px;
  word-wrap: break-word;
  overflow: hidden;
}
.tab_ftes_designation {
  max-width: 40%;
  display: flex;
  align-items: center;
}
.tab_ftes_cat {
  max-width: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab_ftes_cat input[type="number"] {
  margin: 0 0 0 0;
}
.tab_ftes_cat_small {
  font-size: 0.9rem;
  font-style: italic;
}
.tab_ftes_tarif {
  max-width: 14%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab_ftes_action {
  max-width: 9%;
  text-align: right;
  padding-right: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.tab_ftes_box {
  display: flex;
  padding: 10px 0 10px 0;
  background-color: #fff;
}
.tab_ftes_box > * {
  flex: 1 100%;
  word-wrap: break-word;
  overflow: hidden;
}
.tab_ftes_box:hover {
  background-color: rgba(0, 0, 0, 0.06);
}
.tab_ftes_designation h4 {
  margin-bottom: 0;
  font-weight: normal;
  color: #000000;
}
/*** 

  ====================================================================
      page index
  ====================================================================

***/
.notif_container {
  background-color: #ffffff;
  padding: 10px 20px;
}
.notif_box {
  display: flex;
  align-items: center;
  padding: 15px 0;
}
.notif_box_action {
  display: flex;
  align-items: center;
  padding: 15px 0;
}
.notif_box:hover,
.notif_box_action:hover {
  background-color: #ebf1f7;
}
.notif_box_action i {
  margin-right: 10px;
  min-width: 15px;
}
.notif_avatar {
  width: 50px;
  height: 50px;
  background: url(data/icones.png) no-repeat;
  background-position: 0px -388px;
  border: solid 1px #e6eff4;
  border-radius: 50%;
  min-width: 50px;
  margin-right: 10px;
}
.notif_box picture {
  padding-right: 10px;
  min-width: 50px;
}
.notif_title {
  font-size: 1rem;
}
.notif_ip {
  font-size: 0.9rem;
  color: #5d6972;
}
.notif_date {
  font-size: 0.9rem;
  color: #00aae7;
}
/*** 

  ====================================================================
      tableau recap dans les pages
  ====================================================================

***/
.recap_notif {
  background-color: #e6e6e6;
  padding: 10px;
  border: solid 1px #c2c2c2;
}
.recap_notif_title {
  font-size: 0.9rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  padding: 10px 0 15px 0;
}
.recap_notif_list {
  font-size: 0.8rem;
}
.recap_notif_line {
  padding: 5px 0;
  display: flex;
  align-items: center;
}
.recap_notif_line i,
.recap_notif_title i {
  margin-right: 5px;
  min-width: 15px;
}
.recap_notif_date {
  color: #00aae7;
  font-size: 0.8rem;
}
/* ============================================================
   FOOTER PUBLIC
   Responsive PC / tablette / mobile dans ce fichier uniquement
   Sprite utilisée : data/icones.png via icones.less
   ============================================================ */
/* ============================================================
   STRUCTURE GÉNÉRALE
   ============================================================ */
.site_footer {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #f5f7f9;
  background-color: #102a40;
  border-top: 4px solid #3b9bd6;
}
.site_footer *,
.site_footer *::before,
.site_footer *::after {
  box-sizing: border-box;
}
.site_footer .wrap_default {
  width: 100%;
}
/* ============================================================
   BANDEAU APPEL À L'ACTION
   ============================================================ */
.footer_cta {
  background-color: #f5f7f9;
  border-bottom: 1px solid rgba(16, 42, 64, 0.1);
}
.footer_cta_inner {
  min-height: 120px;
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.footer_cta_text {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #16364e;
}
.footer_cta_icon {
  flex: 0 0 16px;
}
.footer_cta_text strong {
  display: block;
  margin: 0 0 7px 0;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 600;
  color: #102a40;
}
.footer_cta_text p {
  max-width: 760px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #5d6d79;
}
.footer_cta_button {
  min-height: 44px;
  padding: 0 18px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  background-color: #3b9bd6;
  border: 1px solid #3b9bd6;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.footer_cta_button:hover,
.footer_cta_button:focus {
  color: #fff;
  background-color: #257eb5;
  border-color: #257eb5;
  text-decoration: none;
}
.footer_cta_button:active {
  transform: translateY(1px);
}
/* ============================================================
   CORPS DU FOOTER
   ============================================================ */
.footer_main {
  background-color: #102a40;
}
.footer_grid {
  padding-top: 48px;
  padding-bottom: 46px;
  display: grid;
  grid-template-columns: 1.35fr 1.15fr 0.85fr 1fr;
  gap: 46px;
  align-items: start;
}
.footer_block {
  min-width: 0;
}
.footer_block p {
  margin-top: 0;
}
.footer_brand {
  margin: 0;
  padding: 0;
  font-size: 1.42rem;
  line-height: 1.2;
  font-weight: 600;
  color: #fff;
}
.footer_activity {
  margin: 7px 0 0 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: #b8c6d1;
}
.footer_accent {
  width: 44px;
  height: 2px;
  margin: 16px 0 18px 0;
  background-color: #3b9bd6;
}
.footer_description {
  max-width: 330px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #b8c6d1;
}
.footer_zone {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #f5f7f9;
}
.footer_zone .ico {
  flex: 0 0 16px;
  margin-top: 2px;
}
/* ============================================================
   TITRES
   ============================================================ */
.footer_title {
  margin: 0 0 20px 0;
  padding: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.98rem;
  line-height: 1.3;
  font-weight: 600;
  color: #fff;
}
.footer_title .ico {
  flex: 0 0 16px;
}
/* ============================================================
   COORDONNÉES
   ============================================================ */
.footer_contact_line {
  margin: 0 0 14px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #b8c6d1;
  font-size: 0.86rem;
  line-height: 1.45;
}
.footer_contact_line > .ico {
  flex: 0 0 16px;
  margin-top: 2px;
}
.footer_contact_line > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.footer_label {
  margin-bottom: 1px;
  font-size: 0.72rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8396a5;
}
.footer_contact_line a,
.footer_site_link {
  color: #f5f7f9;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer_contact_line a:hover,
.footer_contact_line a:focus,
.footer_site_link:hover,
.footer_site_link:focus {
  color: #3b9bd6;
  text-decoration: underline;
}
.footer_contact_button {
  min-height: 36px;
  margin-top: 6px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background-color: #15364f;
  border: 1px solid rgba(59, 155, 214, 0.55);
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.82rem;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.footer_contact_button:hover,
.footer_contact_button:focus {
  color: #fff;
  background-color: #1a4665;
  border-color: #3b9bd6;
  text-decoration: none;
}
/* ============================================================
   NAVIGATION / INFORMATIONS
   ============================================================ */
.footer_links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer_links li {
  margin: 0;
  padding: 0;
}
.footer_links a {
  min-height: 34px;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b8c6d1;
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  transition: color 150ms ease, padding-left 150ms ease;
}
.footer_links li:last-child a {
  border-bottom: none;
}
.footer_links a .ico {
  flex: 0 0 16px;
}
.footer_links a:hover,
.footer_links a:focus {
  padding-left: 4px;
  color: #fff;
  text-decoration: none;
}
/* ============================================================
   BARRE BASSE
   ============================================================ */
.footer_bottom {
  background-color: #0b2032;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer_bottom_inner {
  min-height: 54px;
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.footer_bottom p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #93a5b2;
}
.footer_bottom_activity {
  text-align: right;
}
/* ============================================================
   TABLETTE
   ============================================================ */
@media screen and (max-width: 1100px) {
  .footer_cta_inner {
    min-height: 110px;
    gap: 25px;
  }
  .footer_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 55px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .footer_description {
    max-width: 440px;
  }
}
/* ============================================================
   MOBILE
   ============================================================ */
@media screen and (max-width: 767px) {
  .footer_cta_inner {
    min-height: 0;
    padding-top: 24px;
    padding-bottom: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .footer_cta_text {
    align-items: flex-start;
  }
  .footer_cta_text strong {
    font-size: 1.18rem;
  }
  .footer_cta_text p {
    font-size: 0.9rem;
  }
  .footer_cta_button {
    width: 100%;
  }
  .footer_grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 42px;
    padding-bottom: 30px;
  }
  .footer_block {
    padding: 0 0 28px 0;
    margin: 0 0 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .footer_block:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
  }
  .footer_description {
    max-width: none;
  }
  .footer_title {
    margin-bottom: 15px;
  }
  .footer_links a {
    min-height: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .footer_contact_button {
    width: 100%;
    min-height: 40px;
    margin-top: 8px;
  }
  .footer_bottom_inner {
    padding-top: 18px;
    padding-bottom: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer_bottom_activity {
    margin-top: 2px !important;
    text-align: left;
  }
}
/* ============================================================
   PETITS MOBILES
   ============================================================ */
@media screen and (max-width: 420px) {
  .footer_cta_text {
    gap: 12px;
  }
  .footer_cta_text strong {
    font-size: 1.08rem;
  }
  .footer_cta_text p,
  .footer_description,
  .footer_contact_line,
  .footer_links a {
    font-size: 0.83rem;
  }
  .footer_brand {
    font-size: 1.28rem;
  }
}
/*

@color:#121c42;
@color-medium: #343a40;
@color-light: #5d6972;
@color-bis:#4869ee;

@color-white-light: #ebf1f7;

@bleu:#4869ee;
@red: #f25353;
@green: #41cf7c;
@vert: #92b94e; 
@vert-a : #268403;
@yellow: #feb32b;
@jaune: #ffe602;

@background:#f7fafb;
@background-light: #ebf1f7;
@background-bleu:#121c42;
@background-white: #ffffff;

@border: #d5e3ec;
@border-light: #e6eff4;

@shadow: #d8e1e8;





@admin-background-bleu:#0e1635;
@admin-background:#f7fafb;
@admin-background-light: #ebf1f7;
@admin-color:#121c42;
@admin-color-bis:#263263;
@admin-color-w-light: #ebf1f7;


@admin-background-block:rgb(230, 230, 230);
@admin-border-block:#c2c2c2;

*/
/*




@rgba-primary-0: rgba( 51, 50, 48,1);	
@rgba-primary-1: rgba( 89, 84, 74,1);
@rgba-primary-2: rgba( 31, 30, 28,1);


@vert_a: #78ab4e;
@vert_b: #92b94e; //desfault
@vert_c: #80c31c;

@jaune_a: #ffe602;

@bleu_a:#007095;
@bleu_b:#4d5592;
@bleu_c:#bef1ff;


@gris_a: #4f5f6f;
@gris_a: #f0f3f6;
@gris_b: #404040;

@blue: #007bff;
@indigo: #6610f2;
@purple: #6f42c1;
@pink: #e83e8c;
@red: #dc3545;
@orange: #fd7e14;
@yellow: #ffc107;
@green: #28a745;
@teal: #20c997;
@cyan: #17a2b8;
@white: #fff;
@gray: #6c757d;
@gray-dark: #343a40;
@primary: #007bff;
@bleu: #0050d7;
@secondary: #ebebeb;
@secondary: #6c757d;
@success: #28a745;
@info: #17a2b8;
@warning: #ffc107;
@danger: #dc3545;
@light: #f8f9fa;
@dark: #b7b9b9;

@statutValide: #ecffd1;
@colorStatutValide : #268403;

@statutInvalide: #ffd2dd;
@colorStatutInalide :#c11b1b;


.colorVert{
    color: @vert_b;
}

.infRef,
.infRef legend
{
    background-color: #ebebeb;
}

*/
/*
===============================================================================
    TABLEAU CONTRATS / SIGNATURES DOCUMENTS
===============================================================================

    Toutes les classes utilisent le préfixe contrats_st_
    afin d'éviter les conflits avec les autres pages.

===============================================================================
*/
/*
===============================================================================
    CONTENEUR
===============================================================================
*/
.contrats_st_container {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/*
===============================================================================
    TABLEAU
===============================================================================
*/
.contrats_st_table {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #fff;
  border: solid 1px #d5e3ec;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow: hidden;
}
/*
===============================================================================
    LIGNES
===============================================================================
*/
.contrats_st_row {
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  background-color: #fff;
  border-bottom: solid 1px #e6eff4;
  box-sizing: border-box;
  transition: background-color 200ms ease;
}
.contrats_st_row:last-child {
  border-bottom: none;
}
.contrats_st_row:not(.contrats_st_header):hover {
  background-color: rgba(28, 72, 128, 0.035);
}
/*
===============================================================================
    ENTETE
===============================================================================
*/
.contrats_st_header {
  min-height: 40px;
  background-color: #ebf1f7;
  color: #1c4880;
  font-size: 0.82rem;
  font-weight: bold;
}
.contrats_st_header > div {
  display: flex;
  align-items: center;
}
/*
===============================================================================
    COLONNES

    Document    : 46 %
    Signature   : 16 %
    En ligne    : 10 %
    Envoi       : 12 %
    Actions     : 16 %

===============================================================================
*/
.contrats_st_col_document {
  width: 46%;
  padding: 9px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: solid 1px #e6eff4;
  box-sizing: border-box;
}
.contrats_st_col_signature {
  width: 16%;
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-right: solid 1px #e6eff4;
  box-sizing: border-box;
}
.contrats_st_col_online {
  width: 10%;
  padding: 7px 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: solid 1px #e6eff4;
  box-sizing: border-box;
}
.contrats_st_col_date {
  width: 12%;
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: solid 1px #e6eff4;
  box-sizing: border-box;
}
.contrats_st_col_actions {
  width: 16%;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
/*
===============================================================================
    ESPACEMENT ENTRE BOUTONS ACTION
===============================================================================
*/
.contrats_st_col_actions > * {
  margin: 0 3px;
}
/*
===============================================================================
    DOCUMENT
===============================================================================
*/
.contrats_st_document_name {
  margin: 0;
  padding: 0;
  color: #1c4880;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
}
.contrats_st_document_ref {
  margin: 3px 0 0 0;
  padding: 0;
  color: #5d6972;
  font-size: 0.76rem;
  line-height: 1.25;
}
.contrats_st_document_info {
  margin: 2px 0 0 0;
  padding: 0;
  color: #5d6972;
  font-size: 0.76rem;
  line-height: 1.25;
}
/*
===============================================================================
    BADGES
===============================================================================
*/
.contrats_st_badge {
  min-height: 23px;
  padding: 2px 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  box-sizing: border-box;
  font-size: 0.75rem;
  line-height: 19px;
  white-space: nowrap;
}
/*
===============================================================================
    PETIT ICONE DANS BADGE
===============================================================================
*/
.contrats_st_badge_icon {
  margin-right: 4px;
  font-size: 0.72rem;
}
/*
===============================================================================
    SIGNE
===============================================================================
*/
.contrats_st_badge_signed {
  color: #fff;
  background-color: #41cf7c;
}
/*
===============================================================================
    EN ATTENTE
===============================================================================
*/
.contrats_st_badge_wait {
  color: #a86600;
  background-color: rgba(254, 179, 43, 0.2);
  border: solid 1px rgba(254, 179, 43, 0.15);
}
.contrats_st_wait_icon {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: solid 1px #feb32b;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: bold;
  line-height: 12px;
}
/*
===============================================================================
    EN LIGNE
===============================================================================
*/
.contrats_st_badge_online {
  color: #268403;
  background-color: rgba(65, 207, 124, 0.15);
  border: solid 1px rgba(65, 207, 124, 0.1);
}
/*
===============================================================================
    HORS LIGNE
===============================================================================
*/
.contrats_st_badge_offline {
  color: #f25353;
  background-color: rgba(242, 83, 83, 0.12);
  border: solid 1px rgba(242, 83, 83, 0.2);
}
.contrats_st_offline_icon {
  margin-right: 4px;
  font-weight: bold;
}
/*
===============================================================================
    DATE SIGNATURE
===============================================================================
*/
.contrats_st_signature_date {
  margin: 4px 0 0 0;
  color: #5d6972;
  font-size: 0.72rem;
  line-height: 1.2;
}
.contrats_st_signature_time {
  margin: 1px 0 0 0;
  color: #5d6972;
  font-size: 0.70rem;
  line-height: 1.2;
}
/*
===============================================================================
    DATE CREATION / ENVOI
===============================================================================
*/
.contrats_st_created_date {
  color: #1c4880;
  font-size: 0.77rem;
  line-height: 1.25;
}
.contrats_st_created_time {
  margin-top: 2px;
  color: #5d6972;
  font-size: 0.72rem;
  line-height: 1.2;
}
.contrats_st_no_date {
  color: #5d6972;
}
/*
===============================================================================
    ACTIONS
===============================================================================
*/
.contrats_st_action {
  width: 29px;
  height: 29px;
  min-width: 29px;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px transparent;
  border-radius: 3px;
  box-sizing: border-box;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: bold;
  line-height: 29px;
  cursor: pointer;
  transition: all 200ms ease;
}
.contrats_st_action:hover {
  text-decoration: none;
}
/*
===============================================================================
    ACTION : CONSULTER
===============================================================================
*/
.contrats_st_action_view {
  color: #1c4880;
  background-color: rgba(28, 72, 128, 0.08);
}
.contrats_st_action_view:hover {
  color: #fff;
  background-color: #1c4880;
}
/*
===============================================================================
    ACTION : VALIDATION
===============================================================================
*/
.contrats_st_action_validation {
  color: #268403;
  background-color: rgba(65, 207, 124, 0.15);
}
.contrats_st_action_validation:hover {
  color: #fff;
  background-color: #f25353;
}
/*
===============================================================================
    ACTION : MODIFIER
===============================================================================
*/
.contrats_st_action_edit {
  color: #1c4880;
  background-color: rgba(28, 72, 128, 0.08);
}
.contrats_st_action_edit:hover {
  color: #fff;
  background-color: #1c4880;
}
/*
===============================================================================
    ACTION : DOCUMENT ACTUELLEMENT EN LIGNE
===============================================================================
*/
.contrats_st_action_web_online {
  color: #268403;
  background-color: rgba(65, 207, 124, 0.15);
}
.contrats_st_action_web_online:hover {
  color: #fff;
  background-color: #41cf7c;
}
/*
===============================================================================
    ACTION : DOCUMENT HORS LIGNE
===============================================================================
*/
.contrats_st_action_web_offline {
  color: #5d6972;
  background-color: #ebf1f7;
}
.contrats_st_action_offline {
  background-color: rgba(242, 83, 83, 0.18);
}
.contrats_st_action_web_offline:hover,
.contrats_st_action_offline:hover {
  color: #fff;
  background-color: #5d6972;
}
/*
===============================================================================
    ACTION DESACTIVEE
===============================================================================
*/
.contrats_st_action_disabled {
  color: #bcc7ce;
  background-color: #f2f5f7;
  cursor: default;
}
/*
===============================================================================
    ACTION : SUPPRIMER
===============================================================================
*/
.contrats_st_action_delete {
  color: #f25353;
  background-color: rgba(242, 83, 83, 0.1);
}
.contrats_st_action_delete:hover {
  color: #fff;
  background-color: #f25353;
}
/*
===============================================================================
    AUCUN DOCUMENT
===============================================================================
*/
.contrats_st_empty {
  width: 100%;
  padding: 30px 15px;
  box-sizing: border-box;
  color: #5d6972;
  font-size: 0.85rem;
  text-align: center;
  background-color: #fff;
}
/*
===============================================================================
    COMPTEUR
===============================================================================
*/
.contrats_st_count {
  width: 100%;
  margin: 20px 0 5px 0;
  padding: 0;
  color: #5d6972;
  font-size: 0.75rem;
  text-align: left;
}
/*
===============================================================================
    MAIL NON ENVOYE
===============================================================================
*/
.contrats_st_badge_not_sent {
  color: #f25353;
  background-color: rgba(242, 83, 83, 0.12);
  border: solid 1px rgba(242, 83, 83, 0.2);
}
/*
===============================================================================
    ACTION : ENVOYER MAIL
===============================================================================
*/
.contrats_st_action_mail {
  color: #1c4880;
  background-color: rgba(28, 72, 128, 0.08);
}
.contrats_st_action_mail:hover {
  color: #fff;
  background-color: #1c4880;
}
/*
===============================================================================
    ACTION : MAIL DEJA ENVOYE
===============================================================================
*/
.contrats_st_action_mail_sent {
  color: #268403;
  background-color: rgba(65, 207, 124, 0.15);
}
.contrats_st_action_mail_sent:hover {
  color: #fff;
  background-color: #41cf7c;
}
/*
===============================================================================
    RESPONSIVE TABLETTE
===============================================================================
*/
@media screen and (max-width: 1100px) {
  .contrats_st_col_document {
    width: 40%;
  }
  .contrats_st_col_signature {
    width: 18%;
  }
  .contrats_st_col_online {
    width: 11%;
  }
  .contrats_st_col_date {
    width: 13%;
  }
  .contrats_st_col_actions {
    width: 18%;
  }
}
/*
===============================================================================
    RESPONSIVE PETIT ECRAN
===============================================================================
*/
@media screen and (max-width: 800px) {
  .contrats_st_table {
    min-width: 720px;
  }
  .contrats_st_container {
    overflow-x: auto;
    padding-bottom: 5px;
  }
}
/*
===============================================================================
    CORRECTIF RESPONSIVE MOBILE
    Le tableau devient une fiche par document au lieu de depasser de l'ecran.
===============================================================================
*/
@media screen and (max-width: 700px) {
  .contrats_st_container {
    overflow-x: visible;
    padding-bottom: 0;
  }
  .contrats_st_table {
    width: 100%;
    min-width: 0;
    overflow: visible;
    border: none;
    background-color: transparent;
  }
  /* Masque la ligne d'entete du tableau sur mobile.
       Le second selecteur couvre aussi le cas ou la classe
       contrats_st_header n'est pas presente dans le CTP. */
  .contrats_st_header,
  .contrats_st_table > .contrats_st_row:first-child {
    display: none;
  }
  .contrats_st_row {
    width: 100%;
    min-height: 0;
    margin: 0 0 14px 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: solid 1px #d5e3ec;
    background-color: #fff;
  }
  .contrats_st_row:last-child {
    border-bottom: solid 1px #d5e3ec;
  }
  .contrats_st_col_document,
  .contrats_st_col_signature,
  .contrats_st_col_online,
  .contrats_st_col_date,
  .contrats_st_col_actions {
    width: 100%;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-right: none;
    border-bottom: solid 1px #e6eff4;
  }
  .contrats_st_col_document:before,
  .contrats_st_col_signature:before,
  .contrats_st_col_online:before,
  .contrats_st_col_date:before,
  .contrats_st_col_actions:before {
    display: block;
    margin: 0 0 5px 0;
    color: #1c4880;
    font-size: 0.78rem;
    font-weight: bold;
    line-height: 1.2;
  }
  .contrats_st_col_document:before {
    content: "Document";
  }
  .contrats_st_col_signature:before {
    content: "Signature";
  }
  .contrats_st_col_online:before {
    content: "En ligne";
  }
  .contrats_st_col_date:before {
    content: "Envoi";
  }
  .contrats_st_col_actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    border-bottom: none;
  }
  .contrats_st_col_actions:before {
    flex: 0 0 100%;
    width: 100%;
  }
  .contrats_st_col_actions > * {
    margin: 0;
  }
}
/*
|--------------------------------------------------------------------------
| SIGNATURE DOCUMENT + ACCUSÉ DE RÉCEPTION
|--------------------------------------------------------------------------
| Fichier LESS unique
| Compatible avec la page "Signer un document"
| + la page "Accusé de réception"
| + responsive PC / tablette / mobile
|--------------------------------------------------------------------------
*/
/* =========================================================
   BASE GÉNÉRALE
   ========================================================= */
.signature-document-page,
.signature-page,
.accuse-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}
.signature-document-page *,
.signature-page *,
.accuse-page * {
  box-sizing: border-box;
}
/* =========================================================
   PAGE SIGNATURE - EN-TÊTE / CARTE DOCUMENT
   ========================================================= */
.signature-document-entete {
  width: 100%;
  margin-bottom: 18px;
}
.signature-document-entete h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}
.signature-document-carte,
.signature-info,
.accuse-success {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 20px 0;
  padding: 14px 18px;
  background: #eaf6f7;
  border: 1px solid #d7ebed;
}
.signature-document-carte-icone,
.signature-info-icon {
  display: flex;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin-right: 13px;
  align-items: center;
  justify-content: center;
}
.signature-document-carte-contenu,
.signature-info-text {
  flex: 1 1 auto;
  min-width: 0;
}
.signature-document-titre {
  margin: 0 0 3px 0;
  font-weight: 600;
  color: #24343a;
}
.signature-document-meta {
  margin: 0;
  color: #56666c;
  font-size: 13px;
}
/* =========================================================
   PAGE SIGNATURE - PDF
   ========================================================= */
.signature-document-pdf,
.signature-document,
.signature-pdf {
  width: 100%;
  margin: 0 0 12px 0;
  overflow: hidden;
  background: #f2f2f2;
}
.signature-document-pdf iframe,
.signature-document iframe,
.signature-document-frame,
.signature-pdf iframe {
  display: block;
  width: 100%;
  height: 650px;
  border: 0;
  background: #f2f2f2;
}
.signature-document-consulter,
.signature-document-open {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: 10px 0 26px 0;
}
.signature-document-bouton-document,
.signature-document-open a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid #8fb9c0;
  border-radius: 3px;
  background: #fff;
  color: #397f8c;
  text-decoration: none;
  font-size: 13px;
  cursor: pointer;
}
.signature-document-bouton-document:hover,
.signature-document-open a:hover {
  text-decoration: none;
  opacity: .9;
}
/* =========================================================
   PAGE SIGNATURE - TEXTE / CONSIGNES
   ========================================================= */
.signature-document-texte,
.signature-intro {
  width: 100%;
  margin: 22px 0 12px 0;
}
.signature-document-texte p,
.signature-intro p {
  margin: 0 0 5px 0;
}
.signature-document-texte-secondaire,
.signature-accept-note {
  color: #777;
  font-size: 12px;
}
/* =========================================================
   PAGE SIGNATURE - FORMULAIRE
   ========================================================= */
.signature-document-form,
.signature-form {
  width: 100%;
  margin-top: 12px;
}
.signature-document-acceptation,
.signature-accept {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 12px 0 22px 0;
}
.signature-document-acceptation input[type="checkbox"],
.signature-accept input[type="checkbox"] {
  flex: 0 0 auto;
  margin: 4px 10px 0 0;
}
.signature-document-acceptation label,
.signature-accept label {
  flex: 1 1 auto;
  cursor: pointer;
}
.signature-document-validation,
.signature-document-validation-note {
  margin: 0 0 14px 28px;
  color: #777;
  font-size: 12px;
}
.signature-document-action {
  margin-top: 20px;
}
/* =========================================================
   BOUTONS COMMUNS
   ========================================================= */
.signature-document-bouton,
.signature-btn,
.signature-actions a,
.accuse-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.2;
}
.signature-document-bouton:hover,
.signature-btn:hover,
.signature-actions a:hover,
.accuse-actions a:hover {
  text-decoration: none;
  opacity: .9;
}
.signature-document-bouton-signature,
.signature-btn-primary,
.accuse-print-btn {
  background: #2c93a2;
  border-color: #2c93a2;
  color: #fff;
}
.signature-document-bouton-signature {
  min-height: 28px;
  padding: 4px 10px;
  font-size: 12px;
}
.signature-btn-secondary {
  background: #fff;
  border-color: #bfc6c8;
  color: #555;
}
.signature-document-actions,
.signature-actions,
.accuse-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin-top: 20px;
}
/* =========================================================
   CARTES GÉNÉRIQUES
   ========================================================= */
.signature-card {
  width: 100%;
  margin: 0 0 22px 0;
  background: #fff;
  border: 1px solid #dedede;
}
.signature-card-title {
  width: 100%;
  padding: 12px 16px;
  background: #f5f5f5;
  border-bottom: 1px solid #dedede;
  font-size: 15px;
  font-weight: 600;
}
/* =========================================================
   ACCUSÉ DE RÉCEPTION - EN-TÊTE
   ========================================================= */
.accuse-page {
  padding-top: 24px;
}
.accuse-success {
  padding: 18px 20px;
}
.accuse-success-icon {
  display: flex;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin-right: 15px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e4f4e8;
  color: #24783a;
  font-size: 23px;
  font-weight: 700;
}
.accuse-success-content {
  flex: 1 1 auto;
  min-width: 0;
}
.accuse-success h1 {
  margin: 0 0 4px 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
}
.accuse-success p {
  margin: 0;
}
/* =========================================================
   ACCUSÉ DE RÉCEPTION - INFORMATIONS
   ========================================================= */
.accuse-card {
  overflow: hidden;
}
.accuse-table {
  width: 100%;
}
.accuse-row {
  display: flex;
  width: 100%;
  min-height: 44px;
  border-bottom: 1px solid #ededed;
}
.accuse-row:last-child {
  border-bottom: 0;
}
.accuse-label {
  display: flex;
  flex: 0 0 220px;
  align-items: center;
  padding: 11px 15px;
  background: #fafafa;
  font-weight: 600;
}
.accuse-value {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  padding: 11px 15px;
  overflow-wrap: anywhere;
}
.accuse-address-separator {
  padding: 0 4px;
}
.signature-status {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
}
.signature-status-valid {
  background: #e7f6ea;
  color: #24783a;
}
/* =========================================================
   ACCUSÉ DE RÉCEPTION - CONFIRMATION
   ========================================================= */
.accuse-confirmation {
  border-left: 4px solid #5ca96d;
}
.accuse-confirmation-content {
  padding: 16px 18px;
}
.accuse-confirmation-content p {
  margin: 0 0 8px 0;
}
.accuse-confirmation-content p:last-child {
  margin-bottom: 0;
}
.accuse-actions {
  margin-top: 24px;
  padding-bottom: 10px;
}
.accuse-print-btn {
  min-width: 230px;
}
/* =========================================================
   TABLETTE
   ========================================================= */
@media screen and (max-width: 900px) {
  .signature-document-page,
  .signature-page,
  .accuse-page {
    max-width: 100%;
    padding: 16px;
  }
  .signature-document-pdf iframe,
  .signature-document iframe,
  .signature-document-frame,
  .signature-pdf iframe {
    height: 560px;
  }
  .accuse-label {
    flex-basis: 190px;
  }
  .signature-document-carte,
  .signature-info,
  .accuse-success {
    padding: 14px 16px;
  }
}
/* =========================================================
   PETITE TABLETTE / GRAND MOBILE
   ========================================================= */
@media screen and (max-width: 700px) {
  .signature-document-page,
  .signature-page,
  .accuse-page {
    padding: 12px;
    font-size: 13px;
  }
  .signature-document-pdf iframe,
  .signature-document iframe,
  .signature-document-frame,
  .signature-pdf iframe {
    height: 470px;
  }
  .signature-document-consulter,
  .signature-document-open {
    justify-content: stretch;
  }
  .signature-document-consulter a,
  .signature-document-open a {
    width: 100%;
  }
  .signature-document-carte,
  .signature-info,
  .accuse-success {
    align-items: flex-start;
  }
  .accuse-success {
    margin-bottom: 18px;
  }
  .accuse-success-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    margin-right: 12px;
    font-size: 20px;
  }
  .accuse-success h1 {
    font-size: 19px;
  }
  .accuse-row {
    display: block;
    min-height: 0;
  }
  .accuse-label {
    display: block;
    width: 100%;
    padding: 9px 12px 4px 12px;
  }
  .accuse-value {
    display: block;
    width: 100%;
    padding: 5px 12px 11px 12px;
  }
  .accuse-address-separator {
    display: none;
  }
  .signature-document-actions,
  .signature-actions,
  .accuse-actions {
    display: block;
  }
  .signature-document-actions a,
  .signature-document-actions button,
  .signature-actions a,
  .signature-actions button,
  .accuse-actions a,
  .accuse-actions button {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
  }
  .accuse-print-btn {
    min-width: 0;
  }
}
/* =========================================================
   MOBILE
   ========================================================= */
@media screen and (max-width: 480px) {
  .signature-document-page,
  .signature-page,
  .accuse-page {
    padding: 8px;
  }
  .signature-document-entete h1 {
    font-size: 18px;
  }
  .signature-document-carte,
  .signature-info,
  .accuse-success {
    padding: 11px 12px;
  }
  .signature-document-carte-icone,
  .signature-info-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    margin-right: 9px;
  }
  .signature-document-pdf iframe,
  .signature-document iframe,
  .signature-document-frame,
  .signature-pdf iframe {
    height: 400px;
  }
  .signature-document-texte,
  .signature-intro {
    margin-top: 18px;
  }
  .signature-document-acceptation,
  .signature-accept {
    padding: 10px 0;
  }
  .signature-document-bouton,
  .signature-btn,
  .signature-actions a,
  .accuse-actions a {
    min-height: 42px;
    padding: 10px 14px;
  }
  .accuse-page {
    padding-top: 10px;
  }
  .accuse-success-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    font-size: 18px;
  }
  .accuse-success h1 {
    font-size: 18px;
  }
  .accuse-confirmation-content {
    padding: 13px;
  }
}
/* =========================================================
   TRÈS PETIT MOBILE
   ========================================================= */
@media screen and (max-width: 360px) {
  .signature-document-page,
  .signature-page,
  .accuse-page {
    padding-left: 6px;
    padding-right: 6px;
  }
  .signature-document-pdf iframe,
  .signature-document iframe,
  .signature-document-frame,
  .signature-pdf iframe {
    height: 350px;
  }
  .accuse-success {
    display: block;
  }
  .accuse-success-icon {
    margin: 0 0 10px 0;
  }
}
/* =========================================================
   RESTAURATION PAGE SIGNATURE - BANDEAU D'INFORMATION
   =========================================================
   Le template "Signer un document" place le bloc d'information
   juste après le bouton "Ouvrir le document...".
   Les sélecteurs nommés + le sélecteur structurel permettent
   de conserver le rendu de la page d'origine.
   ========================================================= */
.signature-document-information,
.signature-document-informations,
.signature-document-info,
.signature-document-infos,
.signature-document-consigne,
.signature-document-consignes,
.signature-document-lecture,
.signature-document-message,
.signature-document-page > .signature-document-consulter + div {
  width: 100%;
  margin: 0 0 18px 0;
  padding: 14px 18px;
  background: #eaf6f7;
  border: 1px solid #d7ebed;
  border-radius: 2px;
  color: #40565d;
}
.signature-document-information p,
.signature-document-informations p,
.signature-document-info p,
.signature-document-infos p,
.signature-document-consigne p,
.signature-document-consignes p,
.signature-document-lecture p,
.signature-document-message p,
.signature-document-page > .signature-document-consulter + div p {
  margin: 0 0 3px 0;
}
.signature-document-information p:last-child,
.signature-document-informations p:last-child,
.signature-document-info p:last-child,
.signature-document-infos p:last-child,
.signature-document-consigne p:last-child,
.signature-document-consignes p:last-child,
.signature-document-lecture p:last-child,
.signature-document-message p:last-child,
.signature-document-page > .signature-document-consulter + div p:last-child {
  margin-bottom: 0;
}
.signature-document-information strong,
.signature-document-informations strong,
.signature-document-info strong,
.signature-document-infos strong,
.signature-document-consigne strong,
.signature-document-consignes strong,
.signature-document-lecture strong,
.signature-document-message strong,
.signature-document-page > .signature-document-consulter + div strong {
  color: #24343a;
}
/* =========================================================
   RESTAURATION PAGE SIGNATURE - BOUTON ACTIF / DÉSACTIVÉ
   ========================================================= */
.signature-document-bouton-signature,
.signature-document-page button[type="submit"] {
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid #157c94;
  border-radius: 4px;
  background: #1487a1;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.signature-document-bouton-signature:hover,
.signature-document-page button[type="submit"]:hover {
  background: #11768d;
  border-color: #11768d;
}
.signature-document-bouton-signature:disabled,
.signature-document-bouton-signature[disabled],
.signature-document-page button[type="submit"]:disabled,
.signature-document-page button[type="submit"][disabled] {
  background: #b9d9df;
  border-color: #b9d9df;
  color: #f4f9fa;
  cursor: not-allowed;
  opacity: 1;
}
.signature-document-bouton-signature:disabled:hover,
.signature-document-bouton-signature[disabled]:hover,
.signature-document-page button[type="submit"]:disabled:hover,
.signature-document-page button[type="submit"][disabled]:hover {
  background: #b9d9df;
  border-color: #b9d9df;
}
/* =========================================================
   RESPONSIVE DU BANDEAU + BOUTON
   ========================================================= */
@media screen and (max-width: 700px) {
  .signature-document-information,
  .signature-document-informations,
  .signature-document-info,
  .signature-document-infos,
  .signature-document-consigne,
  .signature-document-consignes,
  .signature-document-lecture,
  .signature-document-message,
  .signature-document-page > .signature-document-consulter + div {
    padding: 12px 14px;
    margin-bottom: 14px;
  }
  .signature-document-bouton-signature,
  .signature-document-page button[type="submit"] {
    width: 100%;
    min-height: 44px;
  }
}
@media screen and (max-width: 480px) {
  .signature-document-information,
  .signature-document-informations,
  .signature-document-info,
  .signature-document-infos,
  .signature-document-consigne,
  .signature-document-consignes,
  .signature-document-lecture,
  .signature-document-message,
  .signature-document-page > .signature-document-consulter + div {
    padding: 10px 12px;
  }
}
/* ===== CORRECTION FINALE BOUTON SIGNATURE ===== */
.signature-document-bouton-signature {
  display: inline-flex;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 9px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid #2c93a2;
  border-radius: 3px;
  background: #2c93a2;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  opacity: 1;
  box-shadow: none;
}
.signature-document-bouton-signature:disabled,
.signature-document-bouton-signature[disabled] {
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 40px;
  padding: 9px 18px;
  background: #d5d5d5;
  border: 1px solid #d5d5d5;
  color: #888;
  cursor: not-allowed;
  opacity: 1;
  box-shadow: none;
}
@media screen and (max-width: 700px) {
  .signature-document-bouton-signature,
  .signature-document-bouton-signature:disabled,
  .signature-document-bouton-signature[disabled] {
    width: 100%;
    min-height: 42px;
  }
}
.rapports-chantiers,
.rapport-chantier,
.rapports-chantiers-postes {
  width: 100%;
  max-width: none;
  margin: 0 0 30px 0;
  padding-left: 0;
  padding-right: 0;
  color: #263238;
}
.rapports-chantiers *,
.rapport-chantier *,
.rapports-chantiers-postes *,
.rapports-chantiers *:before,
.rapport-chantier *:before,
.rapports-chantiers-postes *:before,
.rapports-chantiers *:after,
.rapport-chantier *:after,
.rapports-chantiers-postes *:after {
  box-sizing: border-box;
}
.rapport-header {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid #173b5c;
}
.rapport-header-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.rapport-title {
  margin: 0 0 4px;
  color: #173b5c;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
}
.rapport-subtitle {
  color: #66727b;
  font-size: 13px;
}
.rapport-section-title {
  width: 100%;
  margin: 20px 0 10px;
  padding: 9px 14px;
  background: #173b5c;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.rapport-info-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  border-top: 1px solid #cdd6dd;
  border-left: 1px solid #cdd6dd;
}
.rapport-info-row {
  display: flex;
  width: 50%;
  min-width: 0;
}
.rapport-info-label,
.rapport-info-value {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border-right: 1px solid #cdd6dd;
  border-bottom: 1px solid #cdd6dd;
}
.rapport-info-label {
  flex: 0 0 135px;
  background: #eff4f7;
  font-weight: 700;
}
.rapport-info-value {
  flex: 1 1 auto;
  min-width: 0;
  background: #ffffff;
}
.rapport-list {
  width: 100%;
  border-top: 1px solid #cdd6dd;
  border-left: 1px solid #cdd6dd;
}
.rapport-list-head,
.rapport-list-row {
  display: flex;
  width: 100%;
}
.rapport-list-head {
  background: #eff4f7;
  font-weight: 700;
}
.rapport-col {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  border-right: 1px solid #cdd6dd;
  border-bottom: 1px solid #cdd6dd;
  font-size: 13px;
}
.rapport-col-ref {
  flex: 0 0 18%;
}
.rapport-col-date {
  flex: 0 0 18%;
}
.rapport-col-address {
  flex: 1 1 auto;
}
.rapport-col-actions {
  flex: 0 0 290px;
}
.rapport-types {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  border-top: 1px solid #cdd6dd;
  border-left: 1px solid #cdd6dd;
}
.rapport-type {
  width: 50%;
  min-height: 74px;
  padding: 12px 14px;
  border-right: 1px solid #cdd6dd;
  border-bottom: 1px solid #cdd6dd;
  background: #f8fafb;
}
.rapport-type-title {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
}
.rapport-type-text {
  color: #66727b;
  font-size: 12px;
  line-height: 1.45;
}
.rapport-poste {
  margin-bottom: 24px;
  border: 1px solid #cdd6dd;
  background: #ffffff;
}
.rapport-poste-header {
  padding: 10px 14px;
  background: #173b5c;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.poste-information .rapport-poste-header {
  background: #356b50;
}
.poste-anomalie .rapport-poste-header,
.poste-reserve .rapport-poste-header {
  background: #9b3434;
}
.poste-travaux .rapport-poste-header {
  background: #173b5c;
}
.poste-consigne .rapport-poste-header {
  background: #84651e;
}
.rapport-poste-meta {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.rapport-meta-item {
  display: flex;
  width: 50%;
  min-width: 0;
  border-bottom: 1px solid #cdd6dd;
}
.rapport-meta-label,
.rapport-meta-value {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
}
.rapport-meta-label {
  flex: 0 0 120px;
  background: #eff4f7;
  font-weight: 700;
}
.rapport-meta-value {
  flex: 1 1 auto;
  min-width: 0;
  border-left: 1px solid #cdd6dd;
}
.rapport-poste-content {
  padding: 16px;
}
.rapport-champ {
  margin-bottom: 15px;
}
.rapport-champ-label {
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
}
.rapport-champ-value {
  font-size: 13px;
  line-height: 1.55;
}
.rapport-statut {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}
.rapport-statut.information {
  color: #356b50;
  background: rgba(53, 107, 80, 0.1);
}
.rapport-statut.a-traiter {
  color: #9b3434;
  background: rgba(155, 52, 52, 0.1);
}
.rapport-statut.traite {
  color: #173b5c;
  background: rgba(23, 59, 92, 0.1);
}
.rapport-form {
  margin-top: 15px;
  padding: 18px;
  border: 1px solid #cdd6dd;
  background: #ffffff;
}
.rapport-form-row {
  display: flex;
  gap: 16px;
  width: 100%;
}
.rapport-form-col {
  flex: 1 1 0;
  min-width: 0;
}
.rapport-form-full {
  width: 100%;
}
.rapport-form-small {
  width: 220px;
  max-width: 100%;
}
.rapport-form .input {
  margin-bottom: 16px;
}
.rapport-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
}
.rapport-form input,
.rapport-form select,
.rapport-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #cdd6dd;
  background: #ffffff;
  color: #263238;
}
.rapport-form textarea {
  min-height: 120px;
  resize: vertical;
}
.rapport-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.rapport-actions-inline {
  margin-top: 0;
}
.rapport-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  background: #173b5c;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.rapport-button:hover {
  background: #10293f;
  color: #ffffff;
  text-decoration: none;
}
.rapport-button.secondary {
  background: #66727b;
}
.rapport-button.danger {
  background: #9b3434;
}
.rapport-summary {
  width: 100%;
  border-top: 1px solid #cdd6dd;
  border-left: 1px solid #cdd6dd;
}
.rapport-summary-row {
  display: flex;
  width: 100%;
}
.rapport-summary-label,
.rapport-summary-value {
  padding: 10px 12px;
  border-right: 1px solid #cdd6dd;
  border-bottom: 1px solid #cdd6dd;
}
.rapport-summary-label {
  flex: 0 0 260px;
  background: #eff4f7;
  font-weight: 700;
}
.rapport-summary-value {
  flex: 1 1 auto;
  min-width: 0;
}
.rapport-empty {
  padding: 14px;
  border: 1px solid #cdd6dd;
  background: #f8fafb;
}
@media (max-width: 980px) {
  .rapports-chantiers,
  .rapport-chantier,
  .rapports-chantiers-postes {
    padding-left: 0;
    padding-right: 0;
  }
  .rapport-list-head {
    display: none;
  }
  .rapport-list-row {
    flex-wrap: wrap;
    margin-bottom: 12px;
    border-top: 1px solid #cdd6dd;
  }
  .rapport-col {
    width: 50%;
    flex: 0 0 50%;
    align-items: flex-start;
    flex-direction: column;
  }
  .rapport-col:before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    color: #173b5c;
  }
  .rapport-col-actions {
    width: 100%;
    flex: 0 0 100%;
  }
}
@media (max-width: 700px) {
  .rapports-chantiers,
  .rapport-chantier,
  .rapports-chantiers-postes {
    padding-left: 0;
    padding-right: 0;
  }
  .rapport-title {
    font-size: 21px;
  }
  .rapport-info-row,
  .rapport-type,
  .rapport-meta-item,
  .rapport-col {
    width: 100%;
    flex: 0 0 100%;
  }
  .rapport-info-row,
  .rapport-meta-item,
  .rapport-summary-row,
  .rapport-form-row {
    flex-direction: column;
  }
  .rapport-info-label,
  .rapport-meta-label {
    flex: 0 0 auto;
    min-height: auto;
    padding-bottom: 4px;
  }
  .rapport-info-value,
  .rapport-meta-value {
    min-height: auto;
    padding-top: 4px;
  }
  .rapport-meta-value {
    border-left: 0;
  }
  .rapport-form-row {
    gap: 0;
  }
  .rapport-actions {
    flex-direction: column;
  }
  .rapport-actions .rapport-button,
  .rapport-actions a,
  .rapport-actions button {
    width: 100%;
  }
  .rapport-summary-label {
    flex: 0 0 auto;
    width: 100%;
    border-bottom: 0;
  }
  .rapport-summary-value {
    width: 100%;
  }
}
/* LISTE GLOBALE DES RAPPORTS */
/* ==========================================================================
   LISTE GLOBALE DES RAPPORTS DE CHANTIER
   DIV + FLEX
   ========================================================================== */
.rapports-chantiers-global .rapport-global-list {
  width: 100%;
  border-top: 1px solid #cdd6dd;
  border-left: 1px solid #cdd6dd;
  background: #ffffff;
}
.rapports-chantiers-global .rapport-global-head,
.rapports-chantiers-global .rapport-global-row {
  display: flex;
  width: 100%;
}
.rapports-chantiers-global .rapport-global-head {
  background: #eff4f7;
  font-weight: 700;
}
.rapports-chantiers-global .rapport-global-row:nth-child(odd) {
  background: #fbfcfd;
}
.rapports-chantiers-global .rapport-global-col {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  border-right: 1px solid #cdd6dd;
  border-bottom: 1px solid #cdd6dd;
  font-size: 13px;
  line-height: 1.4;
}
.rapports-chantiers-global .rapport-global-ref {
  flex: 0 0 13%;
}
.rapports-chantiers-global .rapport-global-client {
  flex: 0 0 16%;
}
.rapports-chantiers-global .rapport-global-chantier {
  flex: 1 1 auto;
}
.rapports-chantiers-global .rapport-global-date {
  flex: 0 0 14%;
}
.rapports-chantiers-global .rapport-global-devis {
  flex: 0 0 12%;
}
.rapports-chantiers-global .rapport-global-postes {
  flex: 0 0 70px;
  justify-content: center;
}
.rapports-chantiers-global .rapport-global-actions {
  flex: 0 0 250px;
}
/* ==========================================================================
   TABLETTE
   ========================================================================== */
@media (max-width: 1100px) {
  .rapports-chantiers-global .rapport-global-head {
    display: none;
  }
  .rapports-chantiers-global .rapport-global-row {
    flex-wrap: wrap;
    margin-bottom: 14px;
    border-top: 1px solid #cdd6dd;
  }
  .rapports-chantiers-global .rapport-global-col {
    flex: 0 0 50%;
    width: 50%;
    align-items: flex-start;
    flex-direction: column;
  }
  .rapports-chantiers-global .rapport-global-col:before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #173b5c;
    font-weight: 700;
  }
  .rapports-chantiers-global .rapport-global-actions {
    flex: 0 0 100%;
    width: 100%;
  }
}
/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width: 700px) {
  .rapports-chantiers-global .rapport-global-row {
    display: flex;
    flex-direction: column;
  }
  .rapports-chantiers-global .rapport-global-col {
    flex: 0 0 100%;
    width: 100%;
  }
  .rapports-chantiers-global .rapport-global-actions {
    width: 100%;
  }
  .rapports-chantiers-global .rapport-global-actions .rapport-actions {
    width: 100%;
  }
  .rapports-chantiers-global .rapport-global-actions .rapport-button,
  .rapports-chantiers-global .rapport-global-actions a {
    width: 100%;
  }
}
.rapport-online-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid #cdd6dd;
  background: #f8fafb;
}
.rapport-online-text {
  flex: 1 1 auto;
  min-width: 0;
}
.rapport-online-help {
  margin-top: 3px;
  color: #66727b;
  font-size: 12px;
  line-height: 1.4;
}
.rapport-switch {
  position: relative;
  display: inline-block;
  flex: 0 0 54px;
  width: 54px;
  height: 28px;
  margin: 0;
  cursor: pointer;
}
.rapport-switch input[type="checkbox"] {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
}
.rapport-switch-slider {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: #b7bec4;
  transition: .2s;
}
.rapport-switch-slider:before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #ffffff;
  transition: .2s;
}
.rapport-switch input[type="checkbox"]:checked + .rapport-switch-slider {
  background: #356b50;
}
.rapport-switch input[type="checkbox"]:checked + .rapport-switch-slider:before {
  transform: translateX(26px);
}
.rapport-section-title-form {
  margin-top: 18px;
}
.rapport-diffusion {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  border-top: 1px solid #cdd6dd;
  border-left: 1px solid #cdd6dd;
}
.rapport-checkbox {
  display: flex;
  align-items: center;
  width: 50%;
  min-height: 48px;
  margin: 0;
  padding: 10px 14px;
  border-right: 1px solid #cdd6dd;
  border-bottom: 1px solid #cdd6dd;
  background: #ffffff;
  cursor: pointer;
}
.rapport-checkbox input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  margin: 0 10px 0 0!important;
}
.rapport-checkbox span {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
}
.rapport-diffusion-autre {
  margin-top: 14px;
}
@media (max-width: 700px) {
  .rapport-checkbox {
    width: 100%;
  }
}
/* ==========================================================================
   LISTE GLOBALE DES RAPPORTS - PROPORTIONS DEFINITIVES
   ========================================================================== */
.rapports-chantiers-global {
  /* Référence volontairement plus étroite */
  /* Plus d'espace pour les informations utiles */
  /* Date au format jj/mm/aaaa : colonne resserrée */
}
.rapports-chantiers-global .rapport-global-list {
  width: 100%;
  border-top: 1px solid #cdd6dd;
  border-left: 1px solid #cdd6dd;
  background: #ffffff;
}
.rapports-chantiers-global .rapport-global-head,
.rapports-chantiers-global .rapport-global-row {
  display: flex;
  width: 100%;
}
.rapports-chantiers-global .rapport-global-head {
  background: #eff4f7;
  font-weight: 700;
}
.rapports-chantiers-global .rapport-global-row:nth-child(odd) {
  background: #fbfcfd;
}
.rapports-chantiers-global .rapport-global-col {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  border-right: 1px solid #cdd6dd;
  border-bottom: 1px solid #cdd6dd;
  font-size: 13px;
  line-height: 1.4;
}
.rapports-chantiers-global .rapport-global-ref {
  flex: 0 0 130px;
}
.rapports-chantiers-global .rapport-global-client {
  flex: 0 0 19%;
}
.rapports-chantiers-global .rapport-global-chantier {
  flex: 1 1 auto;
}
.rapports-chantiers-global .rapport-global-date {
  flex: 0 0 120px;
}
.rapports-chantiers-global .rapport-global-online {
  flex: 0 0 135px;
}
.rapports-chantiers-global .rapport-global-postes {
  flex: 0 0 70px;
  justify-content: center;
}
.rapports-chantiers-global .rapport-global-actions {
  flex: 0 0 235px;
}
.rapports-chantiers-global .rapport-online-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.rapports-chantiers-global .rapport-online-status.online {
  color: #356b50;
  background: rgba(53, 107, 80, 0.1);
}
.rapports-chantiers-global .rapport-online-status.offline {
  color: #9b3434;
  background: rgba(155, 52, 52, 0.1);
}
.rapports-chantiers-global .rapport-online-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}
/* TABLETTE */
@media (max-width: 1100px) {
  .rapports-chantiers-global .rapport-global-head {
    display: none;
  }
  .rapports-chantiers-global .rapport-global-row {
    flex-wrap: wrap;
    margin-bottom: 14px;
    border-top: 1px solid #cdd6dd;
  }
  .rapports-chantiers-global .rapport-global-col {
    flex: 0 0 50%;
    width: 50%;
    align-items: flex-start;
    flex-direction: column;
  }
  .rapports-chantiers-global .rapport-global-col:before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #173b5c;
    font-weight: 700;
  }
  .rapports-chantiers-global .rapport-global-actions {
    flex: 0 0 100%;
    width: 100%;
  }
}
/* MOBILE */
@media (max-width: 700px) {
  .rapports-chantiers-global .rapport-global-row {
    display: flex;
    flex-direction: column;
  }
  .rapports-chantiers-global .rapport-global-col {
    flex: 0 0 100%;
    width: 100%;
  }
  .rapports-chantiers-global .rapport-global-actions {
    width: 100%;
  }
  .rapports-chantiers-global .rapport-global-actions .rapport-actions {
    width: 100%;
  }
  .rapports-chantiers-global .rapport-global-actions .rapport-button,
  .rapports-chantiers-global .rapport-global-actions a {
    width: 100%;
  }
}
/* ==========================================================================
   AJOUT ET AFFICHAGE DES PHOTOS DES POSTES
   ========================================================================== */
.rapport-photo-upload-block {
  width: 100%;
  margin: 12px 0 18px 0;
  padding: 14px;
  border: 1px solid #cdd6dd;
  background: #f8fafb;
}
.rapport-photo-upload-block .input {
  margin-bottom: 8px;
}
.rapport-photo-upload-block label {
  display: block;
  margin-bottom: 6px;
  color: #263238;
  font-size: 13px;
  font-weight: 700;
}
.rapport-photo-upload-block input[type="file"] {
  width: 100%;
  min-height: 42px;
  padding: 8px;
  border: 1px solid #cdd6dd;
  background: #ffffff;
}
.rapport-photo-help {
  margin: 4px 0 12px 0;
  color: #66727b;
  font-size: 12px;
  line-height: 1.45;
}
.rapport-photo-legendes {
  width: 100%;
}
.rapport-photo-legende-row {
  width: 100%;
  margin-top: 10px;
}
.rapport-photo-legende-row label {
  display: block;
  margin-bottom: 4px;
  color: #66727b;
  font-size: 12px;
  font-weight: 600;
}
.rapport-photo-legende-row input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #cdd6dd;
  background: #ffffff;
  color: #263238;
}
.rapport-photo-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #cdd6dd;
}
.rapport-photo-title {
  margin-bottom: 10px;
  color: #173b5c;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.rapport-photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
}
.rapport-photo-card {
  flex: 0 0 calc(43%);
  min-width: 0;
  border: 1px solid #cdd6dd;
  background: #ffffff;
}
.rapport-photo-card > a {
  display: block;
  width: 100%;
  background: #f8fafb;
  text-align: center;
}
.rapport-photo-img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: contain;
}
.rapport-photo-caption {
  min-height: 42px;
  padding: 9px 10px;
  border-top: 1px solid #cdd6dd;
  color: #263238;
  font-size: 12px;
  line-height: 1.4;
}
.rapport-photo-actions {
  display: flex;
  justify-content: flex-end;
  padding: 8px 10px 10px 10px;
}
.rapport-photo-delete {
  color: #9b3434;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.rapport-photo-delete:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .rapport-photo-card {
    flex: 0 0 100%;
    width: 100%;
  }
  .rapport-photo-img {
    height: auto;
    max-height: 500px;
  }
}
@media (max-width: 700px) {
  .rapport-photo-upload-block {
    padding: 12px;
  }
  .rapport-photo-upload-block input[type="file"],
  .rapport-photo-legende-row input {
    font-size: 16px;
  }
}
/* ==========================================================================
   REGROUPEMENT DES POSTES PAR CATEGORIE
   ========================================================================== */
.rapport-postes-groupes {
  width: 100%;
}
.rapport-groupe-postes {
  width: 100%;
  margin: 0 0 26px 0;
  border: 1px solid #cdd6dd;
  background: #ffffff;
}
.rapport-groupe-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 14px;
  color: #ffffff;
  background: #173b5c;
}
.rapport-groupe-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.rapport-groupe-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 700;
}
.rapport-groupe-postes.groupe-information .rapport-groupe-header {
  background: #356b50;
}
.rapport-groupe-postes.groupe-anomalie .rapport-groupe-header {
  background: #9b3434;
}
.rapport-groupe-postes.groupe-travaux .rapport-groupe-header {
  background: #173b5c;
}
/*
 * Réserve volontairement différente de l'anomalie.
 * L'anomalie reste rouge, la réserve passe en ton brun / orangé.
 */
.rapport-groupe-postes.groupe-reserve .rapport-groupe-header {
  background: #a85f23;
}
.rapport-groupe-postes.groupe-consigne .rapport-groupe-header {
  background: #84651e;
}
.rapport-groupe-content {
  width: 100%;
}
.rapport-poste-item {
  width: 100%;
  border-bottom: 1px solid #cdd6dd;
}
.rapport-poste-item:last-child {
  border-bottom: 0;
}
.rapport-poste-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 40px;
  padding: 9px 14px;
  background: #eff4f7;
  border-bottom: 1px solid #cdd6dd;
}
.rapport-poste-numero {
  color: #263238;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.rapport-poste-reference {
  color: #66727b;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}
.rapport-poste-item .rapport-poste-meta {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  border-bottom: 1px solid #cdd6dd;
}
.rapport-poste-item .rapport-meta-item {
  display: flex;
  align-items: stretch;
  flex: 0 0 25%;
  min-width: 0;
  border-right: 1px solid #cdd6dd;
}
.rapport-poste-item .rapport-meta-item:nth-child(2) {
  flex: 0 0 25%;
}
.rapport-poste-item .rapport-meta-localisation {
  flex: 1 1 50%;
  border-right: 0;
}
.rapport-poste-item .rapport-meta-label {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 92px;
  padding: 9px 10px;
  background: #eff4f7;
  color: #263238;
  font-size: 12px;
  font-weight: 700;
}
.rapport-poste-item .rapport-meta-value {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 10px;
  color: #263238;
  font-size: 13px;
}
.rapport-poste-item .rapport-poste-content {
  padding: 14px;
}
.rapport-poste-item .rapport-champ {
  margin: 0 0 14px 0;
}
.rapport-poste-item .rapport-champ:last-of-type {
  margin-bottom: 10px;
}
.rapport-poste-item .rapport-champ-label {
  margin-bottom: 4px;
  color: #263238;
  font-size: 12px;
  font-weight: 700;
}
.rapport-poste-item .rapport-champ-value {
  color: #263238;
  font-size: 13px;
  line-height: 1.5;
}
/* TABLETTE */
@media (max-width: 980px) {
  .rapport-poste-item .rapport-meta-item,
  .rapport-poste-item .rapport-meta-item:nth-child(2),
  .rapport-poste-item .rapport-meta-localisation {
    flex: 0 0 50%;
    width: 50%;
  }
  .rapport-poste-item .rapport-meta-item:nth-child(2) {
    border-right: 0;
  }
  .rapport-poste-item .rapport-meta-localisation {
    flex: 0 0 100%;
    width: 100%;
    border-top: 1px solid #cdd6dd;
  }
}
/* MOBILE */
@media (max-width: 700px) {
  .rapport-groupe-header {
    min-height: 40px;
    padding: 9px 10px;
  }
  .rapport-groupe-title {
    font-size: 13px;
  }
  .rapport-poste-item-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 9px 10px;
  }
  .rapport-poste-reference {
    text-align: left;
  }
  .rapport-poste-item .rapport-meta-item,
  .rapport-poste-item .rapport-meta-item:nth-child(2),
  .rapport-poste-item .rapport-meta-localisation {
    flex: 0 0 100%;
    width: 100%;
    border-right: 0;
    border-top: 1px solid #cdd6dd;
  }
  .rapport-poste-item .rapport-meta-item:first-child {
    border-top: 0;
  }
  .rapport-poste-item .rapport-meta-label {
    min-width: 100px;
  }
  .rapport-poste-item .rapport-poste-content {
    padding: 12px 10px;
  }
}
/* ==========================================================================
   PHOTOS EXISTANTES - MODIFICATION D'UN POSTE
   ========================================================================== */
.rapport-photo-section-edit {
  margin: 0 0 16px 0;
  padding: 14px;
  border: 1px solid #cdd6dd;
  background: #f8fafb;
}
.rapport-photo-empty {
  margin: 0 0 16px 0;
  padding: 12px 14px;
  border: 1px solid #cdd6dd;
  background: #f8fafb;
  color: #66727b;
  font-size: 13px;
}
/* ==========================================================================
   CORRECTIF MOBILE - ACTIONS LISTE GLOBALE
   Les icones du sprite ont une zone utile de 16 x 16 px.
   On recadre strictement cette zone pour supprimer les fragments parasites
   visibles a droite et en bas sur mobile.
   ========================================================================== */
@media (max-width: 700px) {
  .rapports-chantiers-global {
    /* CakePHP peut envelopper un postLink dans un formulaire. */
  }
  .rapports-chantiers-global .rapport-global-actions .rapport-actions {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 0;
  }
  .rapports-chantiers-global .rapport-global-actions .rapport-actions .ico {
    display: inline-block;
    flex: 0 0 16px;
    width: 16px;
    min-width: 16px;
    max-width: 16px;
    height: 16px;
    min-height: 16px;
    max-height: 16px;
    padding: 0;
    margin: 0;
    border: 0;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    text-decoration: none;
    background-repeat: no-repeat;
  }
  .rapports-chantiers-global .rapport-global-actions .rapport-actions .ico:before,
  .rapports-chantiers-global .rapport-global-actions .rapport-actions .ico:after {
    content: none !important;
    display: none !important;
  }
  .rapports-chantiers-global .rapport-global-actions .rapport-actions form {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 0;
  }
}
/* ========================================================================== 
   V15.4.8 - Envoi e-mail du rapport de chantier
   ========================================================================== */
.rapport-email-page {
  max-width: 920px;
  margin: 0 auto;
}
.rapport-email-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid #d9e2e9;
  background: #f7fafc;
}
.rapport-email-file strong {
  color: #173b5c;
}
.rapport-email-file span {
  min-width: 0;
  color: #667784;
  overflow-wrap: anywhere;
}
.rapport-email-form .input {
  margin-bottom: 16px;
}
.rapport-email-form label {
  display: block;
  margin-bottom: 6px;
  color: #173b5c;
  font-weight: 600;
}
.rapport-email-form input,
.rapport-email-form textarea {
  width: 100%;
  box-sizing: border-box;
}
.rapport-email-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
@media screen and (max-width: 620px) {
  .rapport-email-file {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .rapport-email-actions {
    flex-direction: column-reverse;
  }
  .rapport-email-actions .rapport-button {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}
@media (max-width: 700px) {
  .rapport-header-actions {
    flex-direction: column;
  }
  .rapport-header-actions .chantier-btn {
    width: 100%;
  }
}
/* Module Repérage de tableaux — page autonome responsive */
.tr-module {
  width: 100%;
  box-sizing: border-box;
  padding: 18px 20px 36px;
  color: #243746;
}
.tr-module * {
  box-sizing: border-box;
}
.tr-module h1,
.tr-module h2,
.tr-module h3,
.tr-module p {
  margin-top: 0;
}
.tr-module h1 {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 6px;
  color: #173b5c;
}
.tr-module h2 {
  font-size: 18px;
  color: #173b5c;
  margin-bottom: 6px;
}
.tr-module input,
.tr-module select,
.tr-module textarea {
  width: 100%;
  border: 1px solid #c9d3da;
  border-radius: 7px;
  background: #fff;
  padding: 9px 10px;
  min-height: 39px;
  color: #243746;
  font-size: 14px;
}
.tr-module textarea {
  min-height: 72px;
  resize: vertical;
}
.tr-module label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #536572;
  margin: 0 0 5px;
}
.tr-module .input {
  margin-bottom: 12px;
}
.tr-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid #dce4e9;
}
.tr-page-head > div:first-child {
  min-width: 0;
}
.tr-page-head p {
  margin: 0;
  color: #6d7c86;
}
.tr-head-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.tr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #bfcbd3;
  border-radius: 7px;
  padding: 9px 13px;
  min-height: 38px;
  background: #fff;
  color: #26465f;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.tr-btn:hover {
  background: #f3f7f9;
}
.tr-btn-primary {
  background: #1769aa;
  border-color: #1769aa;
  color: #fff;
}
.tr-btn-primary:hover {
  background: #135b94;
  color: #fff;
}
.tr-btn-secondary {
  background: #f7fafb;
}
.tr-btn-danger {
  background: #fff4f4;
  border-color: #e1aaaa;
  color: #9d2a2a;
}
.tr-btn-block {
  width: 100%;
}
.tr-card {
  background: #fff;
  border: 1px solid #dbe3e8;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(30, 55, 70, 0.06);
}
.tr-create-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.tr-create-card {
  padding: 18px;
}
.tr-create-card p {
  color: #71808a;
  min-height: 42px;
}
.tr-source-select {
  margin: 4px 0 8px;
}
.tr-create-card .tr-btn {
  width: 100%;
}
.tr-section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 20px 0 10px;
}
.tr-section-title-row h2 {
  margin: 0;
}
.tr-section-title-row p {
  margin: 3px 0 0;
  color: #77858e;
}
.tr-list {
  border: 1px solid #dbe3e8;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}
.tr-list-row {
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1.2fr .55fr .7fr;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid #edf1f3;
  align-items: center;
}
.tr-list-head {
  background: #f4f7f9;
  border-top: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #71808a;
  font-weight: 700;
}
.tr-list-row > div {
  min-width: 0;
}
.tr-list-row strong,
.tr-list-row span {
  display: block;
}
.tr-list-row strong {
  color: #243746;
}
.tr-list-row span {
  font-size: 12px;
  color: #78858d;
  margin-top: 2px;
}
.tr-list-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tr-list-actions a {
  font-weight: 700;
  font-size: 12px;
}
.tr-empty {
  padding: 26px;
  border: 1px dashed #cbd5db;
  border-radius: 9px;
  text-align: center;
  color: #77858e;
  background: #fafcfd;
}
.tr-badge {
  display: inline-block !important;
  width: max-content;
  border-radius: 999px;
  padding: 4px 8px!important;
  font-size: 11px !important;
  font-weight: 700;
}
.tr-badge.ok {
  background: #e4f5ec;
  color: #167244;
}
.tr-badge.info {
  background: #e9f2fb;
  color: #276394;
}
.tr-form-card {
  padding: 20px;
  max-width: 980px;
}
.tr-section-title {
  font-size: 15px;
  font-weight: 800;
  color: #173b5c;
  border-bottom: 1px solid #e3e9ed;
  padding-bottom: 7px;
  margin: 6px 0 14px;
}
.tr-grid {
  display: grid;
  gap: 12px;
}
.tr-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tr-grid.three {
  grid-template-columns: 2fr .7fr 1fr;
}
.tr-grid.compact {
  gap: 8px;
}
.tr-form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}
.tr-form-actions.stacked {
  display: grid;
  margin-top: 8px;
}
.tr-help,
.tr-field-help {
  color: #75838c;
  font-size: 12px;
  line-height: 1.45;
}
.tr-field-help {
  margin: -7px 0 10px;
}
.tr-info-box,
.tr-warning-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.tr-info-box {
  background: #eff7fc;
  border: 1px solid #cfe3f1;
  color: #31586f;
}
.tr-warning-box {
  background: #fff8e8;
  border: 1px solid #eed799;
  color: #6f5720;
}
.tr-info-box.compact {
  margin: 0;
  justify-content: center;
}
.tr-source-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 12px;
  background: #f5f8fa;
  border-radius: 8px;
}
.tr-source-pill label {
  margin: 0 0 3px;
}
.tr-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 800;
  color: #70818d;
  margin-bottom: 4px;
}
.tr-builder-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 300px;
  gap: 14px;
  align-items: start;
}
.tr-builder-left,
.tr-builder-right {
  position: sticky;
  top: 10px;
  display: grid;
  gap: 12px;
}
.tr-side-card {
  padding: 14px;
}
.tr-side-card h2 {
  font-size: 14px;
  margin-bottom: 10px;
}
.tr-project-facts {
  display: grid;
  gap: 7px;
}
.tr-project-facts span {
  display: flex;
  justify-content: space-between;
  color: #74828c;
  font-size: 12px;
}
.tr-project-facts strong {
  color: #243746;
}
.tr-mini-form .input {
  margin-bottom: 8px;
}
.tr-mini-form input {
  min-height: 34px;
  padding: 7px 8px;
}
.tr-library-card p {
  font-size: 11px;
  color: #7a8790;
}
.tr-library-list {
  display: grid;
  gap: 6px;
}
.tr-library-list > div {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e3e8eb;
  border-radius: 6px;
  padding: 7px;
  background: #fafcfd;
}
.tr-library-list img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.tr-library-list span {
  font-size: 11px;
  font-weight: 700;
}
.tr-alert {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-radius: 7px;
  padding: 9px;
  font-size: 11px;
}
.tr-alert.error {
  background: #fff0f0;
  color: #9a2d2d;
  border: 1px solid #efcaca;
}
.tr-builder-center {
  min-width: 0;
  display: grid;
  gap: 12px;
}
.tr-ddr-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 8px;
}
.tr-ddr-summary {
  display: block;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid #dbe3e8;
  border-left: 5px solid #8fa3af;
  border-radius: 8px;
  padding: 10px;
  color: #334b5b;
}
.tr-ddr-summary.ok {
  background: #fbfefd;
}
.tr-ddr-summary.erreur {
  border-color: #efbebe;
  background: #fff7f7;
}
.tr-ddr-summary.attention {
  border-color: #efd596;
  background: #fffbf0;
}
.tr-ddr-summary-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.tr-ddr-summary-top span {
  font-size: 10px;
  color: #6d7c85;
}
.tr-ddr-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 7px 0;
}
.tr-ddr-metrics span {
  font-size: 10px;
  color: #75838c;
}
.tr-ddr-metrics b {
  display: block;
  font-size: 13px;
  color: #243746;
}
.tr-ddr-summary small {
  display: block;
  font-size: 10px;
  line-height: 1.3;
  color: #6b7880;
}
.tr-row-card {
  padding: 14px;
  overflow: visible;
}
.tr-row-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 9px;
}
.tr-row-head h2 {
  font-size: 16px;
  margin: 0;
}
.tr-row-head p {
  font-size: 11px;
  color: #7a8790;
  margin: 3px 0 0;
}
.tr-row-settings {
  position: relative;
}
.tr-row-settings summary {
  cursor: pointer;
  color: #497087;
  font-size: 11px;
  font-weight: 700;
  list-style: none;
}
.tr-row-settings summary::-webkit-details-marker {
  display: none;
}
.tr-popover {
  position: absolute;
  right: 0;
  top: 22px;
  width: 220px;
  padding: 12px;
  background: #fff;
  border: 1px solid #cad5db;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(30, 55, 70, 0.14);
  z-index: 20;
}
.tr-link-danger {
  display: block;
  margin-top: 9px;
  color: #a52d2d;
  font-size: 11px;
  text-align: center;
}
.tr-module-numbers,
.tr-board-row {
  display: grid;
  grid-template-columns: repeat(var(--modules), minmax(56px, 1fr));
  min-width: 100%;
}
.tr-module-numbers {
  border-left: 1px solid #cad3d9;
  border-right: 1px solid #cad3d9;
}
.tr-module-numbers span {
  text-align: center;
  font-size: 9px;
  color: #8c989f;
  padding: 3px 0;
  border-right: 1px solid #e2e7ea;
}
.tr-board-row {
  position: relative;
  grid-template-rows: 104px;
  border: 1px solid #aebbc3;
  background: #f7f9fa;
  overflow: hidden;
}
.tr-row-card {
  overflow-x: auto;
}
.tr-empty-module {
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  z-index: 1;
  min-width: 0;
  color: #a0adb5;
}
.tr-empty-module:hover {
  background: #eaf4fa;
  color: #1769aa;
}
.tr-empty-module span {
  display: flex;
  width: 25px;
  height: 25px;
  border: 1px dashed #a6b5bd;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.8);
}
.tr-device {
  grid-row: 1;
  z-index: 3;
  display: grid;
  grid-template-rows: 55px 49px;
  border: 2px solid #9fb0b9;
  background: #fff;
  color: #243746;
  text-decoration: none !important;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.tr-device:hover,
.tr-device.selected {
  border-color: #1769aa;
  box-shadow: 0 0 0 2px rgba(23, 105, 170, 0.13);
}
.tr-device.orphan {
  border-color: #d74c4c;
  background: #fff8f8;
}
.tr-device-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #dbe2e6;
  background: linear-gradient(#fbfcfd, #eef2f4);
  font-size: 10px;
}
.tr-device-toggle {
  width: 14px;
  height: 22px;
  border: 2px solid #657782;
  border-radius: 3px;
  background: #d9e1e5;
  margin-bottom: 3px;
}
.tr-device-face b {
  font-size: 11px;
}
.tr-device-label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 1px 4px;
  align-content: center;
  padding: 4px;
  background: #fff;
  overflow: hidden;
}
.tr-device-label img {
  grid-row: 0.33333333;
  width: 17px;
  height: 17px;
  object-fit: contain;
  align-self: center;
}
.tr-device-label strong {
  font-size: 8.5px;
  line-height: 1.05;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
  max-height: 18px;
}
.tr-device-label small {
  font-size: 7.5px;
  line-height: 1.05;
  color: #77858d;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
  max-height: 16px;
}
.tr-device.span-1 .tr-device-label {
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 1px 2px;
  padding: 3px;
}
.tr-device.span-1 .tr-device-label img {
  width: 15px;
  height: 15px;
}
.tr-device.span-1 .tr-device-label strong {
  font-size: 7.7px;
}
.tr-device.span-1 .tr-device-label small {
  font-size: 7px;
}
.tr-device.group-1,
.tr-ddr-summary.group-1 {
  border-left-color: #2f7fb9;
}
.tr-device.group-2,
.tr-ddr-summary.group-2 {
  border-left-color: #4a9c68;
}
.tr-device.group-3,
.tr-ddr-summary.group-3 {
  border-left-color: #b27a31;
}
.tr-device.group-4,
.tr-ddr-summary.group-4 {
  border-left-color: #8c64aa;
}
.tr-device.group-5,
.tr-ddr-summary.group-5 {
  border-left-color: #3f9295;
}
.tr-device.group-6,
.tr-ddr-summary.group-6 {
  border-left-color: #a45c6f;
}
.tr-placement-box {
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #cfd9df;
  border-radius: 8px;
  background: #f7fafc;
}
.tr-placement-box > strong {
  display: block;
  margin-bottom: 3px;
  color: #173b5c;
  font-size: 12px;
}
.tr-placement-box > p {
  margin: 0 0 9px;
  color: #687985;
  font-size: 10px;
  line-height: 1.35;
}
.tr-device-form input.tr-readonly {
  background: #eef3f6;
  color: #52636f;
}
.tr-properties-card {
  padding: 14px;
}
.tr-properties-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.tr-properties-head span {
  font-size: 10px;
  color: #78858d;
  text-transform: uppercase;
  font-weight: 800;
}
.tr-properties-head h2 {
  font-size: 16px;
  margin: 2px 0 0;
}
.tr-properties-head > a {
  font-size: 24px;
  text-decoration: none;
  color: #8d9aa1;
}
.tr-device-form .input {
  margin-bottom: 9px;
}
.tr-device-form input,
.tr-device-form select,
.tr-device-form textarea {
  font-size: 12px;
  min-height: 35px;
  padding: 7px 8px;
}
.tr-properties-empty {
  text-align: center;
  padding: 18px 4px;
}
.tr-properties-empty > img {
  width: 52px;
  height: 52px;
  opacity: .7;
  margin-bottom: 8px;
}
.tr-properties-empty p {
  color: #6f7f89;
  font-size: 12px;
  line-height: 1.5;
}
.tr-tip {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 3px;
  padding: 10px;
  background: #eef6fb;
  border-radius: 7px;
  font-size: 11px;
  color: #426178;
}
.tr-control-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 7px;
  font-size: 11px;
}
.tr-control-box.ok {
  background: #eaf7ef;
  color: #287044;
}
.tr-control-box.erreur {
  background: #fff0f0;
  color: #9d3030;
}
.tr-control-box.attention {
  background: #fff8e6;
  color: #78601d;
}
.tr-footer-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
}
.tr-label-preview-card {
  padding: 14px;
  margin-bottom: 12px;
  overflow-x: auto;
}
.tr-card-head {
  display: flex;
  justify-content: space-between;
}
.tr-card-head h2 {
  margin: 0;
}
.tr-card-head p {
  font-size: 11px;
  color: #7a8790;
}
.tr-label-preview-row {
  display: grid;
  grid-template-columns: repeat(var(--row-modules), minmax(46px, 1fr));
  min-width: 100%;
  border: 1px solid #aebbc3;
}
.tr-label-cell {
  grid-column: span var(--span);
  height: 82px;
  border-right: 1px solid #aebbc3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px;
  color: #233d4d;
  text-decoration: none !important;
  overflow: hidden;
}
.tr-label-cell img {
  width: 22px;
  height: 22px;
  margin-bottom: 3px;
}
.tr-label-cell strong {
  font-size: 9px;
  line-height: 1.1;
}
.tr-label-cell span,
.tr-label-cell small {
  font-size: 8px;
  color: #73818a;
}
.tr-label-cell.empty {
  border-style: dashed;
  color: #a0acb4;
}
.tr-muted {
  color: #839099;
  font-size: 12px;
}
@media (max-width: 1250px) {
  .tr-builder-layout {
    grid-template-columns: 180px minmax(0, 1fr) 270px;
  }
  .tr-module {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 980px) {
  .tr-create-grid {
    grid-template-columns: 1fr;
  }
  .tr-builder-layout {
    grid-template-columns: 1fr;
  }
  .tr-builder-left,
  .tr-builder-right {
    position: static;
  }
  .tr-builder-left {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tr-library-card {
    display: none;
  }
  .tr-builder-right {
    order: 2;
  }
  .tr-properties-card {
    max-width: none;
  }
  .tr-page-head {
    flex-direction: column;
  }
  .tr-head-actions {
    justify-content: flex-start;
  }
  .tr-list-head {
    display: none;
  }
  .tr-list-row {
    grid-template-columns: 1fr 1fr;
  }
  .tr-list-row > div:before {
    content: attr(data-label);
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    color: #9aa5ac;
    margin-bottom: 2px;
  }
}
@media (max-width: 600px) {
  .tr-module {
    width: 100%;
    padding: 10px 0 28px;
  }
  .tr-page-head,
  .tr-create-grid,
  .tr-section-title-row,
  .tr-list,
  .tr-form-card,
  .tr-builder-layout,
  .tr-footer-actions,
  .tr-info-box,
  .tr-warning-box {
    margin-left: 0;
    margin-right: 0;
  }
  .tr-page-head {
    padding: 0 10px 12px;
  }
  .tr-page-head h1 {
    font-size: 22px;
  }
  .tr-head-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .tr-head-actions .tr-btn {
    white-space: normal;
    text-align: center;
  }
  .tr-create-grid {
    padding: 0 10px;
  }
  .tr-section-title-row {
    padding: 0 10px;
  }
  .tr-list {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .tr-list-row {
    grid-template-columns: 1fr;
    padding: 12px 10px;
  }
  .tr-form-card {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 14px 10px;
  }
  .tr-grid.two,
  .tr-grid.three {
    grid-template-columns: 1fr;
  }
  .tr-builder-layout {
    gap: 10px;
  }
  .tr-builder-left {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
  .tr-builder-center {
    padding: 0;
  }
  .tr-ddr-summary-grid {
    padding: 0 10px;
    grid-template-columns: 1fr;
  }
  .tr-row-card {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 12px 10px;
  }
  .tr-builder-right {
    padding: 0 10px;
  }
  .tr-footer-actions {
    padding: 0 10px;
    flex-direction: column;
  }
  .tr-popover {
    position: fixed;
    right: 10px;
    left: 10px;
    top: 20%;
    width: auto;
  }
  .tr-label-preview-card {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .tr-label-preview-card,
  .tr-info-box {
    margin-left: 0;
    margin-right: 0;
  }
  .tr-module-numbers,
  .tr-board-row {
    grid-template-columns: repeat(var(--modules), 42px);
  }
  .tr-board-row {
    background: repeating-linear-gradient(90deg, #f7f9fa 0, #f7f9fa 41px, #d4dde2 41px, #d4dde2 42px);
  }
}
/* ========================================================================== */
/* CORRECTIF 02 - interactions explicites du constructeur                     */
/* ========================================================================== */
.tr-library-help {
  margin: 0 0 9px;
  line-height: 1.35;
}
.tr-library-list .tr-library-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e3e8eb;
  border-radius: 6px;
  padding: 7px;
  background: #fafcfd;
  color: #243746;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.tr-library-list .tr-library-item:hover,
.tr-library-list .tr-library-item.selected {
  border-color: #1769aa;
  background: #edf6fc;
  color: #1769aa;
}
.tr-library-list .tr-library-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.tr-library-list .tr-library-item span {
  font-size: 11px;
  font-weight: 700;
}
.tr-waiting-slot .tr-empty-module span {
  border-color: #1769aa;
  background: #e9f4fb;
  color: #1769aa;
  box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.1);
}
.tr-editor-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(22, 36, 45, 0.3);
}
.tr-builder-right.tr-editor-active {
  position: fixed;
  top: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 410px;
  max-width: calc(64vw);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.tr-builder-right.tr-editor-active .tr-properties-card {
  min-height: 100%;
  border-color: #a9cce3;
  box-shadow: 0 12px 40px rgba(27, 74, 104, 0.24);
}
@media (max-width: 700px) {
  .tr-builder-right.tr-editor-active {
    top: 8px;
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
    max-width: none;
  }
}
.releve-module {
  width: 100%;
  box-sizing: border-box;
  color: #27333d;
}
.releve-page-head,
.releve-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.releve-page-head h1,
.releve-head h1 {
  margin: 0 0 5px;
  color: #173b5c;
  font-size: 25px;
}
.releve-page-head p,
.releve-head p {
  margin: 0;
  color: #6f7b84;
}
.releve-ref {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #6f7b84;
}
.releve-head-actions,
.releve-toolbar,
.releve-form-actions,
.releve-footer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.releve-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-radius: 3px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}
.releve-btn-primary {
  background: #173b5c;
  color: #ffffff;
}
.releve-btn-secondary {
  background: #e8edf1;
  color: #173b5c;
}
.releve-btn-danger {
  background: #a43c3c;
  color: #ffffff;
}
.releve-btn-small {
  min-height: 32px;
  padding: 6px 10px;
  background: #eef4f8;
  color: #173b5c;
}
.releve-card {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid #d7dee5;
  background: #ffffff;
  box-sizing: border-box;
}
.releve-card h2 {
  margin: 0 0 12px;
  color: #173b5c;
  font-size: 18px;
}
.releve-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.releve-summary {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}
.releve-summary > div {
  flex: 1;
  padding: 14px;
  border: 1px solid #d7dee5;
  background: #ffffff;
}
.releve-summary span {
  display: block;
  color: #6f7b84;
  font-size: 12px;
}
.releve-summary strong {
  display: block;
  margin-top: 5px;
  color: #173b5c;
  font-size: 20px;
}
.releve-toolbar {
  margin-bottom: 15px;
}
.releve-section-title {
  margin: 18px 0 12px;
  padding: 8px 10px;
  border-left: 3px solid #173b5c;
  background: #eef4f8;
  color: #173b5c;
  font-weight: 700;
}
.releve-grid {
  display: grid;
  gap: 14px;
}
.releve-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.releve-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.releve-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.releve-form label,
.releve-label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
}
.releve-form input,
.releve-form select,
.releve-form textarea,
.library-form input,
.coef-form input {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #d7dee5;
  background: #ffffff;
  color: #27333d;
}
.releve-form textarea {
  resize: vertical;
}
.releve-form-actions {
  justify-content: flex-end;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #d7dee5;
}
.releve-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 8px 0 15px;
}
.releve-check-grid label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px;
  border: 1px solid #d7dee5;
  background: #f6f8fa;
  font-weight: 400;
}
.releve-check-grid input {
  width: auto;
  min-height: 0;
}
.releve-info-box,
.releve-subcard {
  margin: 10px 0;
  padding: 12px;
  border: 1px solid #d7dee5;
  background: #f6f8fa;
}
.releve-help,
.releve-muted {
  color: #6f7b84;
  font-size: 12.5px;
}
.releve-list {
  border-top: 1px solid #d7dee5;
  border-left: 1px solid #d7dee5;
  background: #ffffff;
}
.releve-list-row {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.55fr 0.5fr 0.65fr;
}
.releve-list-row > div {
  min-width: 0;
  padding: 10px;
  border-right: 1px solid #d7dee5;
  border-bottom: 1px solid #d7dee5;
}
.releve-list-head {
  background: #173b5c;
  color: #ffffff;
  font-weight: 700;
}
.releve-list-row strong,
.releve-list-row span {
  display: block;
}
.releve-list-row span {
  margin-top: 3px;
  color: #6f7b84;
  font-size: 11px;
}
.releve-list-actions {
  display: flex;
  gap: 8px;
}
.releve-list-actions a {
  color: #173b5c;
  font-weight: 700;
  text-decoration: none;
}
.releve-badge {
  display: inline-flex !important;
  width: auto;
  padding: 4px 7px;
  border-radius: 12px;
  font-weight: 700;
}
.releve-badge.done {
  background: rgba(45, 123, 79, 0.12);
  color: #2d7b4f;
}
.releve-badge.work {
  background: #eef4f8;
  color: #173b5c;
}
.releve-empty {
  padding: 18px;
  border: 1px solid #d7dee5;
  background: #f6f8fa;
  color: #6f7b84;
}
.releve-level {
  margin-bottom: 10px;
  border: 1px solid #d7dee5;
  background: #ffffff;
}
.releve-level > summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: #173b5c;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}
.releve-level-body {
  padding: 12px;
}
.releve-level-actions,
.releve-room-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.releve-level-actions {
  justify-content: flex-end;
  margin-bottom: 10px;
}
.releve-level-actions a,
.releve-room-actions a {
  color: #173b5c;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.releve-link-danger {
  color: #a43c3c !important;
}
.releve-room {
  margin-bottom: 12px;
  border: 1px solid #d7dee5;
}
.releve-room-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  background: #eef4f8;
}
.releve-room-head h3 {
  margin: 0;
  color: #173b5c;
  font-size: 16px;
}
.releve-room-head p {
  margin: 4px 0 0;
  color: #6f7b84;
  font-size: 12px;
}
.releve-work-list {
  padding: 8px;
}
.releve-work-row {
  display: grid;
  grid-template-columns: 1fr 100px 190px;
  gap: 10px;
  align-items: center;
  padding: 9px 6px;
  border-bottom: 1px solid #d7dee5;
}
.releve-work-row:last-child {
  border-bottom: 0;
}
.releve-work-row strong,
.releve-work-row span {
  display: block;
}
.releve-work-row span {
  color: #6f7b84;
  font-size: 11px;
}
.releve-work-surface {
  text-align: right;
  font-weight: 700;
}
.releve-work-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.releve-work-actions a {
  color: #173b5c;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.releve-add-level {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #d7dee5;
}
.releve-add-level form {
  display: contents;
}
.quant-table {
  border-left: 1px solid #d7dee5;
  border-top: 1px solid #d7dee5;
}
.quant-row {
  display: grid;
  grid-template-columns: 1.25fr 0.65fr 1fr 0.7fr 1.2fr;
}
.quant-row > div {
  min-width: 0;
  padding: 8px;
  border-right: 1px solid #d7dee5;
  border-bottom: 1px solid #d7dee5;
}
.quant-head {
  background: #173b5c;
  color: #ffffff;
  font-weight: 700;
}
.quant-row strong,
.quant-row span {
  display: block;
}
.quant-row span {
  color: #6f7b84;
  font-size: 11px;
}
.quant-adjust {
  display: grid;
  grid-template-columns: 65px 1fr auto;
  gap: 4px;
}
.quant-adjust input {
  width: 100%;
  min-width: 0;
  padding: 5px;
  border: 1px solid #d7dee5;
}
.quant-adjust button,
.library-form button,
.coef-form button {
  border: 0;
  background: #173b5c;
  color: #ffffff;
  padding: 6px 8px;
  cursor: pointer;
}
.releve-warning {
  color: #9a6815 !important;
  font-weight: 700;
}
.releve-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.releve-photo-card {
  border: 1px solid #d7dee5;
  background: #ffffff;
}
.releve-photo-card img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.releve-photo-card > div {
  padding: 9px;
}
.releve-photo-card strong,
.releve-photo-card span {
  display: block;
}
.releve-photo-card span {
  margin: 3px 0;
  color: #6f7b84;
  font-size: 11px;
}
.releve-photo-card a {
  color: #a43c3c;
  font-size: 12px;
}
.releve-supplier-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.releve-supplier {
  display: flex !important;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid #d7dee5;
  background: #f6f8fa;
  font-weight: 400 !important;
}
.releve-supplier input {
  width: auto;
  min-height: 0;
}
.releve-supplier strong,
.releve-supplier small {
  display: block;
}
.releve-supplier small {
  margin-top: 2px;
  color: #6f7b84;
}
.releve-history > div {
  padding: 9px;
  border-bottom: 1px solid #d7dee5;
}
.releve-history strong,
.releve-history span {
  display: block;
}
.releve-history span {
  color: #6f7b84;
  font-size: 11px;
}
.library-list details,
.library-system {
  margin-bottom: 7px;
  border: 1px solid #d7dee5;
}
.library-list summary,
.library-system summary {
  display: flex;
  justify-content: space-between;
  padding: 9px;
  background: #f6f8fa;
  cursor: pointer;
}
.library-body {
  padding: 10px;
}
.library-current span {
  display: block;
  margin-bottom: 4px;
  color: #6f7b84;
  font-size: 12px;
}
.library-form {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr auto;
  gap: 6px;
  margin-top: 8px;
}
.coef-row {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #d7dee5;
}
.coef-form {
  display: grid;
  grid-template-columns: 90px 70px auto;
  gap: 5px;
  align-items: center;
}
.coef-form span {
  font-size: 11px;
  color: #6f7b84;
}
@media (max-width: 980px) {
  .releve-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .releve-check-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .releve-list-head,
  .quant-head {
    display: none;
  }
  .releve-list-row,
  .quant-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 10px;
    border-top: 1px solid #d7dee5;
  }
  .releve-list-row > div:before,
  .quant-row > div:before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: #173b5c;
    font-size: 10px;
    font-weight: 700;
  }
  .releve-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .releve-supplier-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .releve-module {
    width: 100%;
    box-sizing: border-box;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .releve-page-head,
  .releve-head {
    flex-direction: column;
  }
  .releve-head-actions,
  .releve-toolbar {
    width: 100%;
  }
  .releve-btn {
    flex: 1 1 auto;
  }
  .releve-summary {
    flex-direction: column;
  }
  .releve-grid.two,
  .releve-grid.three,
  .releve-grid.four {
    grid-template-columns: 1fr;
  }
  .releve-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .releve-list-row,
  .quant-row {
    grid-template-columns: 1fr;
  }
  .releve-room-head {
    flex-direction: column;
  }
  .releve-work-row {
    grid-template-columns: 1fr;
  }
  .releve-work-surface {
    text-align: left;
  }
  .releve-work-actions {
    justify-content: flex-start;
  }
  .releve-add-level {
    grid-template-columns: 1fr;
  }
  .releve-photo-grid,
  .releve-supplier-list {
    grid-template-columns: 1fr 1fr;
  }
  .library-form {
    grid-template-columns: 1fr;
  }
  .coef-row {
    grid-template-columns: 1fr;
  }
  .coef-form {
    grid-template-columns: 90px 1fr auto;
  }
  .quant-adjust {
    grid-template-columns: 70px 1fr auto;
  }
  .releve-form-actions {
    flex-direction: column;
  }
  .releve-form-actions .releve-btn {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .releve-check-grid,
  .releve-photo-grid,
  .releve-supplier-list {
    grid-template-columns: 1fr;
  }
  .releve-module {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .releve-card {
    padding: 12px;
  }
}
.releve-filter-card {
  padding: 12px;
}
.releve-filter-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}
.releve-filter-form label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
}
.releve-filter-form select {
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  padding: 7px;
  border: 1px solid #d7dee5;
  background: #ffffff;
}
@media (max-width: 700px) {
  .releve-filter-form {
    grid-template-columns: 1fr;
  }
  .releve-filter-form .releve-btn {
    width: 100%;
  }
}
/* V1.5 - quantitatif consolidé / DatePicker compact ---------------------- */
.releve-date-picker {
  width: 180px !important;
  max-width: 100%;
}
.entraxe-field small {
  display: block;
  margin-top: 5px;
}
.quant-row {
  grid-template-columns: 1.15fr .62fr 1.35fr .72fr 1.16fr;
}
.quant-destinations-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quant-destination-line {
  display: flex !important;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 3px;
  border-bottom: 1px dotted #d7dee5;
  color: #27333d !important;
}
.quant-destination-line:last-child {
  border-bottom: 0;
}
.quant-destination-line strong {
  color: #27333d;
  font-size: 11px;
}
.quant-destination-line em {
  white-space: nowrap;
  color: #173b5c;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.library-form-formats {
  grid-template-columns: minmax(180px, 1fr) auto;
}
@media (max-width: 700px) {
  .releve-date-picker {
    width: 100% !important;
  }
  .library-form-formats {
    grid-template-columns: 1fr;
  }
}
/* V4 - lisibilité du quantitatif ---------------------------------------- */
.quant-row {
  grid-template-columns: 1.2fr .68fr 1.15fr .72fr .72fr;
}
.quant-row > div {
  display: flex;
  align-items: center;
  min-height: 54px;
}
.quant-cell-product {
  justify-content: flex-start;
  text-align: left;
}
.quant-cell-center {
  justify-content: center;
  text-align: center;
}
.quant-destinations-cell {
  align-items: center;
  justify-content: center;
}
.quant-destination-line {
  justify-content: center;
  width: 100%;
}
.quant-adjust {
  display: grid;
  grid-template-columns: minmax(72px, 1fr) auto;
  gap: 5px;
  width: 100%;
  align-items: center;
}
.quant-adjust input {
  text-align: center;
}
.isolant-nature-display[readonly] {
  background: #f6f8fa;
  color: #6f7b84;
}
@media (max-width: 980px) {
  .quant-row > div {
    min-height: 0;
    justify-content: flex-start;
    text-align: left;
  }
  .quant-destination-line {
    justify-content: space-between;
  }
}
/* V4.3 - envois de documents ------------------------------------------- */
.releve-document-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}
.releve-document-options > div {
  margin: 0;
}
.releve-document-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #d7dee5;
  background: #f6f8fa;
  font-weight: 600;
  cursor: pointer;
}
/* formulaire.less masque historiquement les inputs contenus dans .checkbox.
 * Ici ce sont de vraies cases de sélection de pièces jointes : elles doivent
 * rester visibles, cliquables et envoyées normalement par FormHelper. */
.releve-document-options .checkbox input[type="checkbox"],
.releve-document-options input.releve-doc-checkbox[type="checkbox"] {
  display: inline-block !important;
  -webkit-appearance: checkbox !important;
  appearance: auto !important;
  flex: 0 0 auto;
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
}
.releve-info-box strong {
  color: #173b5c;
}
.releve-form textarea {
  min-height: 150px;
}
@media (max-width: 700px) {
  .releve-document-options {
    flex-direction: column;
  }
  .releve-document-options label {
    width: 100%;
    box-sizing: border-box;
  }
}
@media only screen and (min-width: 600px) and (max-width: 1024px) {
  .mobile {
    display: block;
  }
  .web {
    display: none;
  }
  .tablette {
    display: none;
  }
  .wrap_main {
    padding: 0 0 0 0;
    display: block;
    flex: none;
  }
  .wrap {
    width: 100%;
    padding: 0 0 0 0;
    margin: auto;
  }
  .wrap_960,
  .wrap_1024,
  .wrap_1200,
  .wrap_10,
  .wrap_20 {
    width: 100%;
    margin: auto;
    padding: 0;
  }
  html {
    height: auto;
    margin: 0;
    padding: 0;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
  }
  body {
    background-color: #f5f5f5;
    border: 0;
    margin: 0;
    padding: 0;
    height: auto;
    display: block;
    flex-direction: initial;
  }
  .publicHeader {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 50px;
    background-color: transparent;
  }
  .header_box {
    border-bottom: solid 1px #d5e3ec;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo_box i {
    display: none;
  }
  .logo_box {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 80%;
    height: 50px;
    top: 0;
    left: 10%;
  }
  .logo_box_a {
    font-size: 1.2rem;
    margin-top: 5px;
    color: #343a40;
  }
  .logo_box_b {
    display: block;
    color: #00aae7;
    font-weight: normal;
    font-size: 0.95rem;
  }
  .header_notif_box {
    display: none;
  }
  .header__icon_menu,
  .private_header__icon_menu {
    position: absolute;
    display: block;
    width: 10%;
    height: 50px;
    margin: 0;
    top: 0;
    left: 0;
    cursor: pointer;
  }
  .private_header__icon_menu:after {
    content: '';
    position: absolute;
    display: block;
    width: 20px;
    height: 0;
    top: 6px;
    left: 5px;
    -moz-box-shadow: 0 10px 0 1px #fefefe, 0 16px 0 1px #fefefe, 0 22px 0 1px #fefefe, 0 28px 0 1px #fefefe;
    -webkit-box-shadow: 0 10px 0 1px #fefefe, 0 16px 0 1px #fefefe, 0 22px 0 1px #fefefe, 0 28px 0 1px #fefefe;
    box-shadow: 0 10px 0 1px #fefefe, 0 16px 0 1px #fefefe, 0 22px 0 1px #fefefe, 0 28px 0 1px #fefefe;
  }
  .header__icon_menu:after {
    content: '';
    position: absolute;
    display: block;
    width: 20px;
    height: 0;
    top: 6px;
    left: 5px;
    -moz-box-shadow: 0 10px 0 1px #343a40, 0 16px 0 1px #343a40, 0 22px 0 1px #343a40, 0 28px 0 1px #343a40;
    -webkit-box-shadow: 0 10px 0 1px #343a40, 0 16px 0 1px #343a40, 0 22px 0 1px #343a40, 0 28px 0 1px #343a40;
    box-shadow: 0 10px 0 1px #343a40, 0 16px 0 1px #343a40, 0 22px 0 1px #343a40, 0 28px 0 1px #343a40;
  }
  .header_nav {
    z-index: 9;
    position: absolute;
    top: 0;
    left: 0;
    margin-right: 0;
    padding: 0 0 0 0;
    width: 200px;
    height: 100%;
    display: block;
    background-color: #f7fafb;
    -moz-transform: translateX(-200px);
    -ms-transform: translateX(-200px);
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
  }
  .header_nav a {
    border-top: solid 1px #eaeaea;
    display: flex;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 0 10px 0 10px;
    color: #1c4880;
    font-size: 0.9rem;
  }
  .with--sidebar .header_nav {
    -moz-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  .header__icon_compte,
  .private_header__icon_compte {
    position: absolute;
    width: 10%;
    height: 50px;
    margin: 0;
    top: 0;
    left: 90%;
    padding-right: 5px;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
  }
  .header__icon_compte:after {
    content: '';
    padding: 0;
    margin: 0;
    height: 20px;
    width: 20px;
    background: url(data/icones.png) no-repeat;
    background-position: -180px -128px;
    /* largeur hauteur  */
    display: block;
  }
  .private_header__icon_compte:after {
    content: '';
    padding: 0;
    margin: 0;
    height: 20px;
    width: 20px;
    background: url(data/icones.png) no-repeat;
    background-position: -100px -128px;
    /* largeur hauteur  */
    display: block;
  }
  .header_auth_nav {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 0 0 0;
    width: 200px;
    height: 100%;
    display: block;
    background-color: #f7fafb;
    -moz-transform: translateX(-200px);
    -ms-transform: translateX(-200px);
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
  }
  .header_auth_nav a {
    border-top: solid 1px #eaeaea;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 0 10px 0 10px;
    color: #1c4880;
    background-color: #f7fafb;
    border-radius: 0;
    transition: all 0s ease;
    -moz-transition: all 0ms ease;
    -webkit-transition: all 0ms ease;
    -ms-transition: all 0ms ease;
    -o-transition: all 0ms ease;
    cursor: pointer;
  }
  .with--icon_compte .header_auth_nav {
    right: 0;
    position: absolute;
    top: 0;
    left: auto;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  /* private header*/
  .privateHeader {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 50px;
  }
  .private_logo_box {
    position: absolute;
    display: flex;
    align-items: center;
    justify-items: center;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    width: 80%;
    height: 50px;
    top: 0;
    left: 10%;
  }
  .icon_logo {
    display: none;
  }
  .private_logo_box_a {
    font-size: 1.2rem;
    color: #ebf1f7;
  }
  .private_logo_box_b {
    display: block;
    color: #5d6972;
    font-weight: normal;
    font-size: 0.95rem;
  }
  .private_header_nav {
    z-index: 9;
    position: absolute;
    top: 0;
    left: 0;
    margin-right: 0;
    padding: 0 0 0 0;
    width: 200px;
    height: 100%;
    display: block;
    background-color: #f7fafb;
    -moz-transform: translateX(-200px);
    -ms-transform: translateX(-200px);
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
  }
  .private_header_nav a {
    display: flex;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 0 10px 0 10px;
    color: #1c4880;
    border-top: solid 1px #eaeaea;
    font-size: 0.9rem;
  }
  .with--sidebar .private_header_nav {
    -moz-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  .private_header_auth_nav {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 0 0 0;
    width: 200px;
    height: 100%;
    display: block;
    background-color: #f7fafb;
    -moz-transform: translateX(-200px);
    -ms-transform: translateX(-200px);
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
  }
  .private_header_auth_nav a {
    display: flex;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 0 10px 0 10px;
    border-top: solid 1px #eaeaea;
    color: #1c4880;
    background-color: #f7fafb;
    border-radius: 0;
    transition: all 0s ease;
    -moz-transition: all 0ms ease;
    -webkit-transition: all 0ms ease;
    -ms-transition: all 0ms ease;
    -o-transition: all 0ms ease;
    cursor: pointer;
  }
  .with--icon_compte .private_header_auth_nav {
    right: 0;
    position: absolute;
    top: 0;
    left: auto;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  /*** 

  ====================================================================
      menu admin
  ====================================================================

***/
  .menu__icon_admin {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background-color: #00aae7;
  }
  .menu__icon_admin:after {
    position: relative;
    content: "";
    display: block;
    width: 20px;
    height: 0;
    top: 0;
    left: 5px;
    margin: 0;
    padding: 0;
    -moz-box-shadow: 0 10px 0 1px #333230, 0 16px 0 1px #333230, 0 22px 0 1px #333230, 0 28px 0 1px #333230;
    -webkit-box-shadow: 0 10px 0 1px #333230, 0 16px 0 1px #333230, 0 22px 0 1px #333230, 0 28px 0 1px #333230;
    box-shadow: 0 10px 0 1px #333230, 0 16px 0 1px #333230, 0 22px 0 1px #333230, 0 28px 0 1px #333230;
  }
  .aside_menu {
    list-style: none;
    border-top: solid 1px #eaeaea;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    width: 200px;
    height: 100%;
    display: block;
    background-color: #f7fafb;
    -moz-transform: translateX(-200px);
    -ms-transform: translateX(-200px);
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
  }
  .with--aside_menu .aside_menu {
    -moz-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  .menu__icon_user {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background-color: #ebf1f7;
  }
  .menu__icon_user:after {
    position: relative;
    content: "";
    display: block;
    width: 20px;
    height: 0;
    top: 0;
    left: 5px;
    margin: 0;
    padding: 0;
    -moz-box-shadow: 0 10px 0 1px #333230, 0 16px 0 1px #333230, 0 22px 0 1px #333230, 0 28px 0 1px #333230;
    -webkit-box-shadow: 0 10px 0 1px #333230, 0 16px 0 1px #333230, 0 22px 0 1px #333230, 0 28px 0 1px #333230;
    box-shadow: 0 10px 0 1px #333230, 0 16px 0 1px #333230, 0 22px 0 1px #333230, 0 28px 0 1px #333230;
  }
  .with--aside_menu_user .aside_menu {
    -moz-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  .aside_menu li a,
  .aside_menu li ul li a {
    font-size: 0.9rem;
  }
  .progress_bar_div {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex: 1 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
  }
  .none {
    display: none;
  }
  .progress_bar_box {
    max-width: 100%;
  }
  /*** 

  ====================================================================
      page admin
  ====================================================================

***/
  .main_admin,
  .main_user {
    display: block;
    flex: none;
    width: 100%;
  }
  .section_admin,
  .section_user {
    background-color: transparent;
    flex: none;
    padding: 10px;
    margin: 0;
    width: 100%;
  }
  .aside_admin,
  .aside_user {
    flex: none;
    width: 100%;
    background-color: #ffffff;
  }
  /* ============================================================
   TABLETTE - exploitation complète de la largeur disponible
   Les anciennes trames formulaire / aperçu / conditions avaient
   encore des largeurs fixes héritées du desktop (820/960 px).
   ============================================================ */
  .main_form,
  .main_apercu,
  .main_condition {
    display: block;
    width: 100%;
    max-width: none;
    flex: none;
  }
  .section_form,
  .section_apercu,
  .section_apercu_zero,
  .section_condition {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
  }
  .section_form,
  .section_apercu,
  .section_condition {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section_admin,
  .section_user {
    padding-left: 8px;
    padding-right: 8px;
  }
  .dashboard-logiciel,
  .devis_client_page,
  .factures_client_page,
  .avoirs_client_page {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}
@media only screen and (min-width: 100px) and (max-width: 600px) {
  .mobile {
    display: block;
  }
  .web {
    display: none;
  }
  .tablette {
    display: none;
  }
  .wrap_main {
    padding: 0 0 0 0;
    display: block;
    flex: none;
  }
  .wrap {
    width: 100%;
    padding: 0 0 0 0;
    margin: auto;
  }
  .wrap_default,
  .wrap_960,
  .wrap_1024,
  .wrap_1200,
  .wrap_10,
  .wrap_20 {
    width: 100%;
    margin: auto;
    padding: 0;
  }
  .wrap_default {
    width: 100%;
    margin: auto;
    padding: 0 10px;
  }
  .w3 {
    width: 100%;
  }
  .w5 {
    width: 100%;
  }
  .w10 {
    width: 100%;
  }
  .w14 {
    width: 100%;
  }
  .w15 {
    width: 100%;
  }
  .w20 {
    width: 100%;
  }
  .w25 {
    width: 100%;
  }
  .w28 {
    width: 100%;
  }
  .w30 {
    width: 100%;
  }
  .w40 {
    width: 100%;
  }
  .w45 {
    width: 100%;
  }
  .w50 {
    width: 100%;
  }
  .w60 {
    width: 100%;
  }
  .w70 {
    width: 100%;
  }
  .w80 {
    width: 100%;
  }
  .w90 {
    width: 100%;
  }
  .w100 {
    width: 100%;
  }
  html {
    height: auto;
    margin: 0;
    padding: 0;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
  }
  body {
    border: 0;
    margin: 0;
    padding: 0;
    height: auto;
    display: block;
    flex-direction: initial;
  }
  .publicHeader {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 50px;
    background-color: transparent;
  }
  .header_box {
    border-bottom: solid 1px #d5e3ec;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo_box i {
    display: none;
  }
  .logo_box {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
    flex-direction: column;
    width: 80%;
    height: 50px;
    top: 0;
    left: 10%;
  }
  .logo_box_a {
    font-size: 1.1rem;
    margin-top: 5px;
    color: #343a40;
    text-align: center;
  }
  .logo_box_b {
    display: block;
    color: #00aae7;
    font-size: 0.9rem;
    text-align: center;
    font-weight: normal;
  }
  .header_notif_box {
    display: none;
  }
  .header__icon_menu,
  .private_header__icon_menu {
    position: absolute;
    display: block;
    width: 10%;
    height: 50px;
    margin: 0;
    top: 0;
    left: 0;
    cursor: pointer;
  }
  .private_header__icon_menu:after {
    content: '';
    position: absolute;
    display: block;
    width: 20px;
    height: 0;
    top: 6px;
    left: 5px;
    -moz-box-shadow: 0 10px 0 1px #fefefe, 0 16px 0 1px #fefefe, 0 22px 0 1px #fefefe, 0 28px 0 1px #fefefe;
    -webkit-box-shadow: 0 10px 0 1px #fefefe, 0 16px 0 1px #fefefe, 0 22px 0 1px #fefefe, 0 28px 0 1px #fefefe;
    box-shadow: 0 10px 0 1px #fefefe, 0 16px 0 1px #fefefe, 0 22px 0 1px #fefefe, 0 28px 0 1px #fefefe;
  }
  .header__icon_menu:after {
    content: '';
    position: absolute;
    display: block;
    width: 20px;
    height: 0;
    top: 6px;
    left: 5px;
    -moz-box-shadow: 0 10px 0 1px #343a40, 0 16px 0 1px #343a40, 0 22px 0 1px #343a40, 0 28px 0 1px #343a40;
    -webkit-box-shadow: 0 10px 0 1px #343a40, 0 16px 0 1px #343a40, 0 22px 0 1px #343a40, 0 28px 0 1px #343a40;
    box-shadow: 0 10px 0 1px #343a40, 0 16px 0 1px #343a40, 0 22px 0 1px #343a40, 0 28px 0 1px #343a40;
  }
  .header_nav {
    z-index: 9999999;
    position: absolute;
    top: 0;
    left: 0;
    margin-right: 0;
    padding: 0 0 0 0;
    width: 200px;
    height: 100%;
    display: block;
    background-color: #f7fafb;
    -moz-transform: translateX(-200px);
    -ms-transform: translateX(-200px);
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
  }
  .header_nav a {
    border-top: solid 1px #eaeaea;
    display: flex;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 0 10px 0 10px;
    color: #1c4880;
    font-size: 0.9rem;
  }
  .with--sidebar .header_nav {
    -moz-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  .header__icon_compte,
  .private_header__icon_compte {
    position: absolute;
    width: 10%;
    height: 50px;
    margin: 0;
    top: 0;
    left: 90%;
    padding-right: 5px;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
  }
  .header__icon_compte:after {
    content: '';
    padding: 0;
    margin: 0;
    height: 20px;
    width: 20px;
    background: url(data/icones.png) no-repeat;
    background-position: -180px -128px;
    /* largeur hauteur  */
    display: block;
  }
  .private_header__icon_compte:after {
    content: '';
    padding: 0;
    margin: 0;
    height: 20px;
    width: 20px;
    background: url(data/icones.png) no-repeat;
    background-position: -100px -128px;
    /* largeur hauteur  */
    display: block;
  }
  .header_auth_nav {
    z-index: 9999999;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 0 0 0;
    width: 200px;
    height: 100%;
    display: block;
    background-color: #f7fafb;
    -moz-transform: translateX(-200px);
    -ms-transform: translateX(-200px);
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
  }
  .header_auth_nav a {
    border-top: solid 1px #eaeaea;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 0 10px 0 10px;
    color: #1c4880;
    background-color: #f7fafb;
    border-radius: 0;
    transition: all 0s ease;
    -moz-transition: all 0ms ease;
    -webkit-transition: all 0ms ease;
    -ms-transition: all 0ms ease;
    -o-transition: all 0ms ease;
    cursor: pointer;
  }
  .with--icon_compte .header_auth_nav {
    right: 0;
    position: absolute;
    top: 0;
    left: auto;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  /* private header*/
  .privateHeader {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 50px;
  }
  .private_logo_box {
    position: absolute;
    display: flex;
    align-items: center;
    justify-items: center;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    width: 80%;
    height: 50px;
    top: 0;
    left: 10%;
  }
  .icon_logo {
    display: none;
  }
  .private_logo_box_a {
    font-size: 1.2rem;
    color: #ebf1f7;
  }
  .private_logo_box_b {
    display: block;
    color: #5d6972;
    font-weight: normal;
    font-size: 0.95rem;
  }
  .private_header_nav {
    z-index: 9999999;
    position: absolute;
    top: 0;
    left: 0;
    margin-right: 0;
    padding: 0 0 0 0;
    width: 200px;
    height: 100%;
    display: block;
    background-color: #f7fafb;
    -moz-transform: translateX(-200px);
    -ms-transform: translateX(-200px);
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
  }
  .private_header_nav a {
    display: flex;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 0 10px 0 10px;
    color: #1c4880;
    border-top: solid 1px #eaeaea;
    font-size: 0.9rem;
  }
  .with--sidebar .private_header_nav {
    -moz-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  .private_header_auth_nav {
    z-index: 9999999;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 0 0 0;
    width: 200px;
    height: 100%;
    display: block;
    background-color: #f7fafb;
    -moz-transform: translateX(-200px);
    -ms-transform: translateX(-200px);
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
  }
  .private_header_auth_nav a {
    display: flex;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 0 10px 0 10px;
    border-top: solid 1px #eaeaea;
    color: #333230;
    background-color: #f7fafb;
    border-radius: 0;
    transition: all 0s ease;
    -moz-transition: all 0ms ease;
    -webkit-transition: all 0ms ease;
    -ms-transition: all 0ms ease;
    -o-transition: all 0ms ease;
    cursor: pointer;
  }
  .with--icon_compte .private_header_auth_nav {
    right: 0;
    position: absolute;
    top: 0;
    left: auto;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  /*** 
  
    ====================================================================
        menu admin
    ====================================================================
  
  ***/
  .menu__icon_admin {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background-color: #00aae7;
  }
  .menu__icon_admin:after {
    position: relative;
    content: "";
    display: block;
    width: 20px;
    height: 0;
    top: 0;
    left: 5px;
    margin: 0;
    padding: 0;
    -moz-box-shadow: 0 10px 0 1px #333230, 0 16px 0 1px #333230, 0 22px 0 1px #333230, 0 28px 0 1px #333230;
    -webkit-box-shadow: 0 10px 0 1px #333230, 0 16px 0 1px #333230, 0 22px 0 1px #333230, 0 28px 0 1px #333230;
    box-shadow: 0 10px 0 1px #333230, 0 16px 0 1px #333230, 0 22px 0 1px #333230, 0 28px 0 1px #333230;
  }
  .aside_menu {
    list-style: none;
    border-top: solid 1px #eaeaea;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    width: 200px;
    height: 100%;
    display: block;
    background-color: #f7fafb;
    -moz-transform: translateX(-200px);
    -ms-transform: translateX(-200px);
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
  }
  .with--aside_menu .aside_menu {
    -moz-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  .menu__icon_user {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background-color: #ebf1f7;
  }
  .menu__icon_user:after {
    position: relative;
    content: "";
    display: block;
    width: 20px;
    height: 0;
    top: 0;
    left: 5px;
    margin: 0;
    padding: 0;
    -moz-box-shadow: 0 10px 0 1px #333230, 0 16px 0 1px #333230, 0 22px 0 1px #333230, 0 28px 0 1px #333230;
    -webkit-box-shadow: 0 10px 0 1px #333230, 0 16px 0 1px #333230, 0 22px 0 1px #333230, 0 28px 0 1px #333230;
    box-shadow: 0 10px 0 1px #333230, 0 16px 0 1px #333230, 0 22px 0 1px #333230, 0 28px 0 1px #333230;
  }
  .with--aside_menu_user .aside_menu {
    -moz-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  .aside_menu li a,
  .aside_menu li ul li a {
    font-size: 0.9rem;
  }
  /*** 

  ====================================================================
      page admin
  ====================================================================

***/
  .main_admin,
  .main_user {
    display: block;
    flex: none;
    width: 100%;
  }
  .section_admin,
  .section_user {
    background-color: transparent;
    flex: none;
    padding: 10px;
    margin: 0;
    width: 100%;
  }
  .aside_admin,
  .aside_user {
    flex: none;
    width: 100%;
    background-color: #ffffff;
  }
  /*** 

  ====================================================================
      rib
  ====================================================================

***/
  .apercu_accord {
    margin-top: 30px;
    display: block;
  }
  .rib {
    border: solid 1px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 100%;
    min-width: 100%;
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.8rem;
    margin-bottom: 20px;
  }
  .rib .flex {
    display: block;
  }
  .ribcode {
    display: block;
  }
  .ribcode div {
    display: flex;
    margin-right: 10px;
  }
  .rib_title {
    margin-top: 20px;
  }
  .main_form {
    display: block;
    flex: none;
    width: 100%;
  }
  .section_form {
    background-color: #ffffff;
    min-width: 100%;
    max-width: 100%;
    padding: 10px;
    -webkit-box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.1);
  }
  .flexform {
    display: block;
  }
  fieldset {
    padding: 10px 10px 5px 10px ;
  }
  .checkbox {
    margin-top: 10px;
    cursor: pointer;
  }
  select {
    -webkit-appearance: listbox;
    padding: 0.25rem;
    margin: 0 0 1rem 0;
    font-size: 0.8rem;
  }
  /* ========================================================================== 
   MOBILE GLOBAL : utiliser toute la largeur utile de l'ecran
   --------------------------------------------------------------------------
   Les wrappers restent a 100 %, avec seulement 12 px de respiration interne.
   Les max-width desktop ne doivent pas reduire artificiellement les pages.
   ========================================================================== */
  .wrap_default,
  .wrap_960,
  .wrap_1024,
  .wrap_1200,
  .wrap_10,
  .wrap_20 {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }
}
/* =========================================================
 * Mobile width safety — CakePHP 5 migration
 * Keep the useful viewport width on small screens and avoid
 * desktop fixed-width wrappers leaking into the mobile layout.
 * ========================================================= */
@media only screen and (max-width: 600px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .wrap_main,
  .wrap,
  .wrap_default,
  .wrap_960,
  .wrap_1024,
  .wrap_1200,
  .wrap_10,
  .wrap_20 {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  .wrap_10,
  .wrap_20,
  .wrap_default {
    padding-left: 10px;
    padding-right: 10px;
  }
  img,
  video,
  canvas,
  iframe {
    max-width: 100%;
  }
}
@media only screen and (min-width: 1601px) and (max-width: 4000px) {
  .wrap_main {
    width: 1600px;
    margin: auto;
    padding: 0 0 0 0;
    display: flex;
    flex: 1 0;
  }
  .wrap_10,
  .wrap_20 {
    width: 1600px;
    margin: auto;
    padding: 0 0 0 0 ;
  }
  .wrap_default,
  .wrap,
  .wrap1,
  .wrap2,
  .wrap3,
  .wrap4,
  .wrap5,
  .wrap6,
  .wrap7,
  .wrap8,
  .wrap9,
  .wrap10,
  .wrap11,
  .wrap12,
  .wrap13,
  .wrap14,
  .wrap15,
  .wrap16,
  .wrap17,
  .wrap18,
  .wrap19,
  .wrap20,
  .wrap21 {
    width: 1600px;
    margin: auto;
    padding: 0 0 0 0 ;
  }
}

/* Listes de matériel — généré depuis listes_materiel.less. */
.listes-materiel{width:100%;box-sizing:border-box;padding:24px;color:#243247}
.listes-materiel *,.listes-materiel *::before,.listes-materiel *::after{box-sizing:border-box}
.listes-materiel .lm-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
.listes-materiel h1{margin:0 0 8px;font-size:clamp(1.5rem,2vw,2rem)}
.listes-materiel h2{font-size:1.15rem}
.listes-materiel .lm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:16px}
.listes-materiel .lm-card,.listes-materiel .lm-line,.listes-materiel .lm-add,.listes-materiel .lm-form{background:#fff;border:1px solid #dce3ed;border-radius:10px;padding:18px}
.listes-materiel .lm-card h2{margin:0 0 10px}
.listes-materiel .lm-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.listes-materiel .lm-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:7px;padding:10px 14px;background:#234a79;color:#fff;text-decoration:none;cursor:pointer}
.listes-materiel .lm-secondary{background:#e8eef6;color:#234a79}
.listes-materiel .lm-link{color:#a33}
.listes-materiel .lm-form{max-width:650px;display:flex;flex-direction:column;gap:14px}
.listes-materiel .lm-form input,.listes-materiel .lm-form select,.listes-materiel .lm-form textarea,.listes-materiel .lm-line-form input{width:100%;max-width:100%;padding:8px}
.listes-materiel .lm-lines{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}
.listes-materiel .lm-line{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.listes-materiel .lm-line>div:first-child{flex:1 1 200px}
.listes-materiel .lm-line small{display:block;color:#617087;margin-top:5px}
.listes-materiel .lm-line-form{display:flex;align-items:end;gap:10px;flex:3 1 420px;flex-wrap:wrap}
.listes-materiel .lm-line-form .input{flex:1 1 100px}
.listes-materiel .lm-line-form .lm-check{white-space:nowrap}
.listes-materiel .lm-line-form .lm-check input{width:auto}
.listes-materiel .lm-done{background:#f0f7f2}
.listes-materiel .lm-notice{padding:12px;background:#fff3d7}
.listes-materiel .lm-add{margin-bottom:18px}
.lm-quick-add{display:inline-flex;padding:7px 10px;margin:7px;border-radius:7px;background:#e8eef6;color:#234a79;font-weight:600;text-decoration:none}
@media(max-width:900px){.listes-materiel{padding:15px}.listes-materiel .lm-header{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:600px){.listes-materiel{width:100%;max-width:none;margin:0;padding:10px}.listes-materiel .lm-card,.listes-materiel .lm-line,.listes-materiel .lm-add,.listes-materiel .lm-form{padding:12px}.listes-materiel .lm-grid{grid-template-columns:1fr}.listes-materiel .lm-line-form{flex-direction:column;align-items:stretch}.listes-materiel .lm-line-form .input{width:100%}}
@media print{.listes-materiel .lm-actions,.listes-materiel .lm-add,.listes-materiel .lm-line-form,.listes-materiel .lm-link,.listes-materiel .lm-btn{display:none!important}.listes-materiel .lm-line{break-inside:avoid}}
/* Complément compilé du module listes_materiel.less. */
.listes-materiel .lm-table{background:#fff;border:1px solid #dce3ed;border-radius:10px;overflow:hidden}
.listes-materiel .lm-table-head,.listes-materiel .lm-table-row{display:grid;grid-template-columns:minmax(160px,2fr) minmax(95px,1fr) 70px 105px 90px minmax(130px,1.2fr);gap:10px;align-items:center;padding:13px 16px}
.listes-materiel .lm-table-head{background:#eef3f9;color:#45576d;font-size:.87rem;font-weight:700}
.listes-materiel .lm-table-row{border-top:1px solid #e5eaf0}
.listes-materiel .lm-table-row:hover{background:#fafcff}
.listes-materiel .lm-table-title a{font-weight:700;color:#204d7e}
.listes-materiel .lm-status{display:inline-block;padding:4px 9px;border-radius:20px;background:#ecf3fa;font-size:.85rem}
.listes-materiel .lm-back{display:inline-block;padding:8px 12px;border:1px solid #aabbd0;border-radius:6px;background:#f4f7fb;color:#234a79;font-weight:700;text-decoration:none}
.listes-materiel .lm-summary{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 20px;padding:15px;background:#f0f5fa;border:1px solid #dce5ee;border-radius:9px}
.listes-materiel .lm-summary>div{min-width:115px;padding:0 12px 0 0}
.listes-materiel .lm-summary small,.listes-materiel .lm-summary strong{display:block}
.listes-materiel .lm-summary small{color:#66778b}
.listes-materiel .lm-send{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 22px;padding:14px;border:1px solid #dce3ed;border-radius:9px;background:#fff}
.listes-materiel .lm-send .input{margin:0}
.listes-materiel .lm-empty{padding:25px;text-align:center}
.listes-materiel .lm-btn:hover,.lm-quick-add:hover{filter:brightness(.93)}
.lm-card-add,.lm-product-add{text-align:center}
.lm-card-add .lm-quick-add,.lm-product-add .lm-quick-add{margin:6px auto 10px}
.lm-quick-add{font-size:.86rem;line-height:1.25}
@media(max-width:1100px){.listes-materiel .lm-table-head{display:none}.listes-materiel .lm-table-row{grid-template-columns:repeat(3,minmax(0,1fr))}.listes-materiel .lm-table-row>div::before{content:attr(data-label);display:block;font-size:.75rem;color:#6c7d90}}
@media(max-width:600px){.listes-materiel .lm-table-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.listes-materiel .lm-table-row .lm-table-title,.listes-materiel .lm-table-row .lm-actions{grid-column:1 / -1}.listes-materiel .lm-summary>div{min-width:calc(50% - 12px)}.listes-materiel .lm-send{align-items:stretch;flex-direction:column}}

/* Cartes : conserver le stock et l'action dans la carte, après la référence. */
.catalogue-product-card.lm-has-add { display:flex; flex-direction:column; }
.catalogue-product-card.lm-has-add > a { height:auto; flex:1 1 auto; min-height:0; }
.catalogue-product-card.lm-has-add .lm-card-add { flex:none; padding:0 10px; }
.catalogue-product-card.lm-has-add > .catalogue-product-content { flex:none; padding:0 13px 12px; }
.catalogue-product-card.lm-has-add .catalogue-product-footer { margin:0; padding:0; }
.lm-quick-add { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:35px; padding:7px 12px; line-height:1.2; text-align:center; vertical-align:middle; }
.lm-card-add .lm-quick-add { font-size:.78rem; min-height:30px; padding:5px 9px; margin:7px auto; white-space:nowrap; }
.lm-product-add .lm-quick-add { font-size:.92rem; min-height:39px; padding:9px 14px; }
.lm-cart-icon { display:inline-block; flex:none; width:15px; height:15px; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm10 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM7.2 14.5h10.6l2.4-9H5.1l-.5-2H1v2h2l2.9 10.5A2 2 0 0 0 7.8 17H20v-2H7.8l-.6-.5Z'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm10 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM7.2 14.5h10.6l2.4-9H5.1l-.5-2H1v2h2l2.9 10.5A2 2 0 0 0 7.8 17H20v-2H7.8l-.6-.5Z'/%3E%3C/svg%3E") center/contain no-repeat; }
@media (max-width:600px) { .catalogue-product-card.lm-has-add .lm-card-add { padding:0 5px; } .lm-card-add .lm-quick-add { white-space:normal; } }
/* Sur la fiche produit, l'action suit l'alignement des blocs d'informations. */
.catalogue-product-info .lm-product-add { text-align:left; padding-left:0; }
.catalogue-product-info .lm-product-add .lm-quick-add { margin-left:0; margin-right:0; }
@media (min-width:1101px) {
  .listes-materiel .lm-line { flex-wrap:nowrap; gap:12px; }
  .listes-materiel .lm-line > div:first-child { flex:1 1 auto; min-width:0; overflow-wrap:anywhere; }
  .listes-materiel .lm-line-form { flex:0 1 auto; width:auto; min-width:0; flex-wrap:nowrap; }
  .listes-materiel .lm-line-form > .input:first-child { flex:0 0 108px; width:108px; max-width:108px; }
  .listes-materiel .lm-line-form > .input:nth-child(2) { flex:0 0 155px; width:155px; max-width:155px; }
  .listes-materiel .lm-line-form > .input input { width:100%; box-sizing:border-box; }
  .listes-materiel .lm-line-form .lm-check { flex:none; }
}
@media (min-width:601px) {
  .listes-materiel .lm-line > div:first-child { flex:1 1 auto; min-width:0; }
  .listes-materiel .lm-line-form-compact { flex:0 1 auto; width:auto; min-width:0; }
  .listes-materiel .lm-line-form-compact .lm-field-qty input,
  .listes-materiel .lm-line-form-compact .lm-field-note input { width:100%; box-sizing:border-box; }
}
@media (max-width:600px) {
  .listes-materiel .lm-line-form-compact .lm-field-qty,
  .listes-materiel .lm-line-form-compact .lm-field-note { flex:1 1 100%!important; width:100%!important; max-width:100%!important; }
}
@media (min-width:901px) {
  .listes-materiel .lm-line-editable {
    display:grid;
    grid-template-columns:minmax(0,1fr) max-content max-content;
    align-items:center;
    column-gap:16px;
  }
  .listes-materiel .lm-line-form-compact {
    display:flex; flex:none; width:max-content; max-width:none; flex-wrap:nowrap;
    align-items:end; gap:10px;
  }
  .listes-materiel .lm-line-editable > div:first-child {
    min-width:0; overflow-wrap:anywhere;
  }
}
