/* ==========================================================================
   Salles360 by Nehos Groupe : habillage
   Posé après les feuilles de GRR 4.6.8 (Bootstrap 3, themes/default/css/style.css, AdminLTE pour l'administration).
   Aucun fichier de GRR n'est modifié : la couche salles360/couche.php ajoute cette feuille à chaque page.
   Les classes s360-* et les éléments #s360-* sont posés par salles360.js ; sans script, la page reste lisible.
   Sommaire :
     1. Polices
     2. Jetons (mêmes valeurs que Cimetière360 et Courrier360)
     3. Base : fond, texte, liens, focus, petites tailles
     4. Bandeau et menu
     5. Pied de page
     6. Boutons, champs, messages, cartes
     7. Planning : panneau de choix, navigation, tableaux, liste du jour
     8. Fenêtre d'une réservation et page d'une réservation
     9. Formulaire de réservation
    10. Demandes à valider, compte, demande de compte
    11. Connexion
    12. Fiche d'une salle (fenêtre simple)
    13. Administration (AdminLTE)
    14. Écrans étroits
    15. Mouvement réduit et impression
   ========================================================================== */

/* 1. Polices : DM Sans (texte) et DM Serif Display (titres, graisse 400 seulement), licence OFL jointe dans fonts/ */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:100 1000;font-display:swap;src:url(fonts/DMSans-wght.woff2) format('woff2')}
@font-face{font-family:'DM Serif Display';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/DMSerifDisplay-400.woff2) format('woff2')}

/* 2. Jetons */
:root{
  --s360-marine:#011436; --s360-noir:#00081B; --s360-survol:#16305E; --s360-accent:#3F5380; --s360-argent:#B8B4B4;
  --s360-fond:#F4F6FA; --s360-carte:#FFFFFF; --s360-carte-2:#F8F9FC; --s360-doux:#EBEFF6; --s360-trait:#D5DBE8; --s360-filet:#E3E8F1;
  --s360-clair:#C9D2E3;
  --s360-encre:#00081B; --s360-encre-douce:#232F4B; --s360-encre-pale:#4A5776; --s360-contour:#7A86A1;
  --s360-vert:#2A7048; --s360-vert-doux:#E4F3EA; --s360-ambre:#8F5400; --s360-ambre-doux:#FDF1DC;
  --s360-brique:#A63A2B; --s360-brique-doux:#FBE4E1;
  --s360-r-s:10px; --s360-r-m:14px; --s360-r-l:20px; --s360-r-xl:28px;
  --s360-ombre-1:0 1px 2px rgba(0,8,27,.05),0 1px 3px rgba(0,8,27,.04);
  --s360-ombre-2:0 1px 2px rgba(0,8,27,.04),0 4px 8px -2px rgba(0,8,27,.06),0 12px 24px -10px rgba(0,8,27,.10);
  --s360-ombre-3:0 2px 4px rgba(0,8,27,.05),0 12px 24px -8px rgba(0,8,27,.12),0 32px 56px -20px rgba(0,8,27,.22);
  --s360-police:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --s360-police-titre:'DM Serif Display',Georgia,'Times New Roman',serif;
  --s360-bandeau:64px;
  --s360-marge:clamp(12px,2.2vw,28px);
  --s360-courbe:cubic-bezier(.2,.8,.2,1);
}

/* 3. Base */
html[data-s360]{-webkit-text-size-adjust:100%}
html[data-s360] body:not(.s360-corps){font-family:var(--s360-police);font-size:15px;line-height:1.5;color:var(--s360-encre);background:var(--s360-fond);
  overflow-x:clip;min-height:100vh;display:flex;flex-direction:column}
html[data-s360] body:not(.s360-corps) .s360-contenu{flex:1 0 auto}
html[data-s360] body:not(.s360-corps) input,html[data-s360] body:not(.s360-corps) select,html[data-s360] body:not(.s360-corps) textarea,html[data-s360] body:not(.s360-corps) button,html[data-s360] body:not(.s360-corps) .btn{font-family:var(--s360-police)}
:where(html[data-s360] body:not(.s360-corps)) a,:where(html[data-s360] body:not(.s360-corps)) a:link,:where(html[data-s360] body:not(.s360-corps)) a:visited{color:var(--s360-survol)}
:where(html[data-s360] body:not(.s360-corps)) a:hover{color:var(--s360-marine)}
html[data-s360] body:not(.s360-corps) :focus{outline:none}
html[data-s360] body:not(.s360-corps) :focus-visible{outline:3px solid var(--s360-accent);outline-offset:2px}
:where(html[data-s360] body:not(.s360-corps)) h1,:where(html[data-s360] body:not(.s360-corps)) h2{font-family:var(--s360-police-titre);font-weight:400;color:var(--s360-encre);letter-spacing:0}
:where(html[data-s360] body:not(.s360-corps)) h3,:where(html[data-s360] body:not(.s360-corps)) h4{font-family:var(--s360-police);font-weight:650;color:var(--s360-encre)}
html[data-s360] body:not(.s360-corps) .small,html[data-s360] body:not(.s360-corps) small{font-size:max(12.5px,.85em)}
html[data-s360] body:not(.s360-corps) .tiny{font-size:12px}
html[data-s360] body:not(.s360-corps) td.calendar2{font-size:12px}
html[data-s360] body:not(.s360-corps) #pwd1_text{font-size:12px!important}
html[data-s360] body:not(.s360-corps) img{max-width:100%}
.s360-masque{display:none!important}
.s360-ic{display:inline-block;flex:none;width:20px;height:20px;background:currentColor;vertical-align:-4px;
  -webkit-mask:no-repeat center/contain;mask:no-repeat center/contain}
/* texte réservé aux lecteurs d'écran */
.s360-pour-lecteur{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* contenu principal : marges régulières */
html[data-s360] body:not(.s360-corps) .s360-contenu{width:100%;max-width:1680px;margin:0 auto;padding:20px var(--s360-marge) 28px;box-sizing:border-box}
html.s360-connexion body:not(.s360-corps) .s360-contenu{max-width:none;padding:0}
/* chargement de GRR et horloge : inutiles */
html[data-s360] body:not(.s360-corps) #chargement{display:none!important}

/* 4. Bandeau et menu (#s360-bandeau, posé par salles360.js à la place de l'en-tête de GRR) */
html.s360-avec-bandeau .s360-entete-grr{display:none}
#s360-bandeau{position:sticky;top:0;z-index:1000;display:flex;align-items:center;gap:8px 14px;min-height:var(--s360-bandeau);
  padding:0 var(--s360-marge);padding-left:max(var(--s360-marge),env(safe-area-inset-left));padding-right:max(var(--s360-marge),env(safe-area-inset-right));
  background:linear-gradient(100deg,var(--s360-marine),var(--s360-noir));color:#fff;box-sizing:border-box}
#s360-bandeau :focus-visible{outline-color:#fff}
#s360-bandeau .s360-marque{display:flex;align-items:center;min-height:44px;flex:none;border-radius:8px}
#s360-bandeau .s360-marque img{display:block;height:40px;width:auto}
#s360-bandeau .s360-commune{color:var(--s360-clair);font-weight:500;font-size:14px;white-space:nowrap;
  border-left:1px solid rgba(255,255,255,.22);padding-left:14px;overflow:hidden;text-overflow:ellipsis;min-width:0}
#s360-nav{margin-left:auto;min-width:0}
#s360-nav ul{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0}
#s360-nav a{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:6px 10px;border-radius:9px;color:#fff;font-weight:600;
  font-size:14.5px;text-decoration:none;white-space:nowrap}
#s360-nav a:hover{background:rgba(255,255,255,.12);color:#fff}
#s360-nav a[aria-current="page"]{background:rgba(255,255,255,.14)}
#s360-nav a.s360-alerte,#s360-nav a.s360-alerte:visited{background:var(--s360-ambre-doux);color:var(--s360-ambre)}
#s360-nav a.s360-alerte:hover{background:#fff;color:var(--s360-ambre)}
.s360-bandeau-actions{display:flex;align-items:center;gap:8px;flex:none}
#s360-demander,#s360-demander:visited{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:var(--s360-r-s);
  background:#fff;color:var(--s360-marine);font-weight:700;font-size:14.5px;text-decoration:none;white-space:nowrap;
  box-shadow:0 1px 2px rgba(0,8,27,.2);transition:transform .15s var(--s360-courbe),box-shadow .15s}
#s360-demander:hover{color:var(--s360-marine);transform:translateY(-1px);box-shadow:0 6px 16px -6px rgba(0,0,0,.45)}
#s360-demander .s360-court{display:none}
#s360-nav-bouton{display:none;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;padding:0 12px;border-radius:var(--s360-r-s);
  border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;font:600 14.5px var(--s360-police);cursor:pointer}
#s360-nav-bouton:hover{background:rgba(255,255,255,.12)}
/* grand écran : liens dans le bandeau ; « Recherche » et « Se déconnecter » en icône jusqu'à 1 600 px */
@media (min-width:1340px) and (max-width:1599px){
  #s360-nav .s360-nav-recherche span:not(.s360-ic),#s360-nav .s360-nav-deconnexion span:not(.s360-ic){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  #s360-nav .s360-nav-recherche a,#s360-nav .s360-nav-deconnexion a{min-width:44px;justify-content:center;padding:6px}
  #s360-bandeau .s360-commune{display:none}
  #s360-demander .s360-long{display:none}
  #s360-demander .s360-court{display:inline}
  #s360-nav a{padding:6px 8px}
}
/* sous 1 340 px : les liens passent dans un menu déroulant (bouton « Menu ») */
@media (max-width:1339px){
  #s360-nav-bouton{display:inline-flex}
  #s360-bandeau .s360-bandeau-actions{margin-left:auto}
  #s360-nav{position:absolute;top:calc(100% + 6px);right:max(8px,env(safe-area-inset-right));width:min(360px,calc(100vw - 16px));margin:0;
    background:#fff;border:1px solid var(--s360-filet);border-radius:var(--s360-r-l);box-shadow:var(--s360-ombre-3);padding:8px;box-sizing:border-box;
    max-height:calc(100dvh - var(--s360-bandeau) - 16px);overflow-y:auto;
    opacity:0;visibility:hidden;transform:translateY(-6px) scale(.98);transform-origin:top right;transition:opacity .18s,transform .22s var(--s360-courbe),visibility 0s .22s}
  html.s360-nav-ouverte #s360-nav{opacity:1;visibility:visible;transform:none;transition:opacity .18s,transform .22s var(--s360-courbe)}
  #s360-nav ul{flex-direction:column;align-items:stretch;gap:2px}
  #s360-nav a,#s360-nav a:visited{display:flex;color:var(--s360-encre-douce);min-height:48px;padding:10px 12px;font-size:15px;white-space:normal}
  #s360-nav a:hover{background:var(--s360-doux);color:var(--s360-marine)}
  #s360-nav a[aria-current="page"]{background:var(--s360-doux);color:var(--s360-marine);box-shadow:inset 3px 0 0 var(--s360-marine)}
  #s360-nav a.s360-alerte{color:var(--s360-ambre)}
  #s360-nav :focus-visible{outline-color:var(--s360-accent)}
  #s360-nav .s360-nav-deconnexion{border-top:1px solid var(--s360-filet);margin-top:4px;padding-top:4px}
}
@media (max-width:1100px){ #s360-bandeau .s360-commune{display:none} }
@media (max-width:767px){
  #s360-demander .s360-long{display:none}
  #s360-demander .s360-court{display:inline}
  #s360-demander{padding:0 12px}
  #s360-nav-bouton span:not(.s360-ic){display:none}
  #s360-nav-bouton{padding:0}
  #s360-bandeau{gap:8px}
  #s360-bandeau .s360-bandeau-actions{gap:6px}
  #s360-bandeau .s360-marque{min-width:0;flex:0 1 auto}
  #s360-bandeau .s360-marque img{height:30px;max-width:100%;object-fit:contain;object-position:left center}
}
@media (max-width:399px){
  #s360-bandeau{padding:0 10px}
  #s360-bandeau .s360-marque img{height:26px}
  #s360-demander{padding:0 10px;gap:6px}
  #s360-demander .s360-ic{width:18px;height:18px}
}
/* sans script : l'en-tête d'origine prend au moins les couleurs du bandeau */
html[data-s360]:not(.s360-avec-bandeau) header:has(> #panel){background:linear-gradient(100deg,var(--s360-marine),var(--s360-noir));color:#fff;border:0}
html[data-s360]:not(.s360-avec-bandeau) header:has(> #panel) a{color:#fff}
html[data-s360] body:not(.s360-corps) header .clock,html[data-s360] body:not(.s360-corps) header a[href*="default_language"],
html[data-s360] body:not(.s360-corps) header a[href*="admin_view_connexions"],html[data-s360] body:not(.s360-corps) header #open{display:none}

/* 5. Pied de page */
#s360-pied{margin-top:auto;padding:18px var(--s360-marge) calc(18px + env(safe-area-inset-bottom));text-align:center;color:var(--s360-encre-pale);
  font-size:13px;font-weight:500;border-top:1px solid var(--s360-filet);background:transparent}
#s360-pied a,#s360-pied a:visited{color:var(--s360-encre-douce);text-decoration:underline;text-underline-offset:2px;font-weight:600}

/* 6. Boutons, champs, messages, cartes */
html[data-s360] body:not(.s360-corps) .btn{border-radius:var(--s360-r-s);font-weight:650;text-transform:none;letter-spacing:0;box-shadow:none;
  transition:background-color .15s,border-color .15s,box-shadow .15s,transform .15s}
html[data-s360] body:not(.s360-corps) .btn:active{transform:scale(.97)}
html[data-s360] body:not(.s360-corps) .btn-primary,html[data-s360] body:not(.s360-corps) .btn-primary:visited,html[data-s360] body:not(.s360-corps) .btn-primary:focus{background:var(--s360-marine);border:1px solid var(--s360-marine);color:#fff}
html[data-s360] body:not(.s360-corps) .btn-primary:hover,html[data-s360] body:not(.s360-corps) .btn-primary:active,html[data-s360] body:not(.s360-corps) .btn-primary.active{background:var(--s360-survol);border-color:var(--s360-survol);color:#fff}
html[data-s360] body:not(.s360-corps) .btn-default,html[data-s360] body:not(.s360-corps) .btn-info,html[data-s360] body:not(.s360-corps) .btn-outlined-black{background:#fff;border:1px solid var(--s360-contour);color:var(--s360-marine)}
html[data-s360] body:not(.s360-corps) .btn-default:hover,html[data-s360] body:not(.s360-corps) .btn-info:hover{background:var(--s360-doux);border-color:var(--s360-marine);color:var(--s360-marine)}
html[data-s360] body:not(.s360-corps) .btn-success{background:var(--s360-vert);border:1px solid var(--s360-vert);color:#fff}
html[data-s360] body:not(.s360-corps) .btn-success:hover{background:#215a3a;border-color:#215a3a;color:#fff}
html[data-s360] body:not(.s360-corps) .btn-danger,html[data-s360] body:not(.s360-corps) a.btn-danger{background:#fff;border:1px solid var(--s360-brique);color:var(--s360-brique)}
html[data-s360] body:not(.s360-corps) .btn-danger:hover,html[data-s360] body:not(.s360-corps) a.btn-danger:hover{background:var(--s360-brique-doux);color:var(--s360-brique);border-color:var(--s360-brique)}
html[data-s360] body:not(.s360-corps) .btn-warning{background:#fff;border:1px solid var(--s360-ambre);color:var(--s360-ambre)}
html[data-s360] body:not(.s360-corps) .btn-warning:hover{background:var(--s360-ambre-doux);color:var(--s360-ambre)}
html[data-s360] body:not(.s360-corps) .btn:not(.btn-xs):not(.btn-sm){min-height:40px;padding:8px 16px}
html[data-s360] body:not(.s360-corps) .btn-sm,html[data-s360] body:not(.s360-corps) .btn-xs{min-height:36px;padding:6px 12px;font-size:14px;line-height:1.3}
html[data-s360] body:not(.s360-corps) input[type="submit"]:not(.btn),html[data-s360] body:not(.s360-corps) input[type="button"]:not(.btn){min-height:40px;padding:8px 16px;border-radius:var(--s360-r-s);
  background:#fff;border:1px solid var(--s360-marine);color:var(--s360-marine);font-weight:650;cursor:pointer}
html[data-s360] body:not(.s360-corps) input[type="submit"]:not(.btn){background:var(--s360-marine);color:#fff}
html[data-s360] body:not(.s360-corps) .form-control,html[data-s360] body:not(.s360-corps) input[type="text"],html[data-s360] body:not(.s360-corps) input[type="email"],html[data-s360] body:not(.s360-corps) input[type="password"],
html[data-s360] body:not(.s360-corps) input[type="number"],html[data-s360] body:not(.s360-corps) input[type="tel"],html[data-s360] body:not(.s360-corps) input[type="date"],html[data-s360] body:not(.s360-corps) textarea,html[data-s360] body:not(.s360-corps) select:not(.btn){
  border:1px solid var(--s360-contour);border-radius:8px;background:#fff;color:var(--s360-encre);min-height:42px;padding:8px 10px;box-shadow:none;max-width:100%;
  font-size:15px;box-sizing:border-box}
html[data-s360] body:not(.s360-corps) select.btn{border:1px solid var(--s360-contour);color:var(--s360-encre);min-height:40px;font-weight:500;background:#fff}
html[data-s360] body:not(.s360-corps) .form-control:focus,html[data-s360] body:not(.s360-corps) input:focus,html[data-s360] body:not(.s360-corps) textarea:focus,html[data-s360] body:not(.s360-corps) select:focus{
  border-color:var(--s360-marine);box-shadow:0 0 0 3px rgba(1,20,54,.16);outline:0}
html[data-s360] body:not(.s360-corps) input[type="checkbox"],html[data-s360] body:not(.s360-corps) input[type="radio"]{width:20px;height:20px;accent-color:var(--s360-marine);vertical-align:-4px;margin:0 6px 0 0}
:where(html[data-s360] body:not(.s360-corps)) label{font-weight:600;color:var(--s360-encre-douce)}
html[data-s360] body:not(.s360-corps) .input-group-addon{background:var(--s360-carte-2);border-color:var(--s360-contour);color:var(--s360-encre-pale)}
html[data-s360] body:not(.s360-corps) .alert-info,html[data-s360] body:not(.s360-corps) .bg-info{background:var(--s360-doux)!important;border:1px solid var(--s360-trait);color:var(--s360-encre)!important;border-radius:var(--s360-r-m);padding:12px 14px}
html[data-s360] body:not(.s360-corps) .bg-info p{margin:0}
html[data-s360] body:not(.s360-corps) .alert-danger{background:var(--s360-brique-doux);border:1px solid var(--s360-brique);border-left-width:4px;color:var(--s360-encre);border-radius:var(--s360-r-m)}
html[data-s360] body:not(.s360-corps) .alert-success{background:var(--s360-vert-doux);border:1px solid var(--s360-vert);border-left-width:4px;color:var(--s360-encre);border-radius:var(--s360-r-m)}
/* « avertissement » de GRR (rose vif) : fond ambre doux, texte foncé, toujours accompagné d'un mot */
html[data-s360] body:not(.s360-corps) .avertissement,html[data-s360] body:not(.s360-corps) th.avertissement,html[data-s360] body:not(.s360-corps) td.avertissement{background:var(--s360-ambre-doux)!important;color:var(--s360-ambre)!important;font-weight:650}
html[data-s360] body:not(.s360-corps) p.avertissement{border-radius:var(--s360-r-s);padding:4px 10px;display:inline-block}
html[data-s360] body:not(.s360-corps) .texte_ress_tempo_indispo,html[data-s360] body:not(.s360-corps) .texte_ress_moderee{color:var(--s360-ambre);font-weight:650}
html[data-s360] body:not(.s360-corps) .texte_ress_moderee{display:inline-flex;align-items:center;gap:6px;background:var(--s360-ambre-doux);border-radius:999px;padding:2px 10px 2px 8px;font-size:13px}
html[data-s360] body:not(.s360-corps) .texte_ress_moderee .s360-ic{width:15px;height:15px}
/* cartes : celles de GRR (.card, .panel) et les blocs de l'habillage */
html[data-s360] body:not(.s360-corps) .card,html[data-s360] body:not(.s360-corps) .panel{background:#fff;border:1px solid var(--s360-filet);border-radius:var(--s360-r-l);box-shadow:var(--s360-ombre-1)}
html[data-s360] body:not(.s360-corps) .card{margin-bottom:20px;overflow:hidden}
html[data-s360] body:not(.s360-corps) .card-header,html[data-s360] body:not(.s360-corps) .panel-heading{background:transparent;border-bottom:1px solid var(--s360-filet);padding:14px 18px}
html[data-s360] body:not(.s360-corps) .card-title{font-family:var(--s360-police-titre);font-weight:400;font-size:clamp(22px,1vw + 16px,28px);margin:0;display:flex;align-items:center;gap:10px}
html[data-s360] body:not(.s360-corps) .card-title .fas,html[data-s360] body:not(.s360-corps) .card-title .fa{display:none}
html[data-s360] body:not(.s360-corps) .card-body{padding:16px 18px}
html[data-s360] body:not(.s360-corps) .table > thead > tr > th{border-bottom:1px solid var(--s360-trait);color:var(--s360-encre-pale);font-size:13px;font-weight:650;background:var(--s360-carte-2)}
html[data-s360] body:not(.s360-corps) .table > tbody > tr > td{border-top:1px solid var(--s360-filet);vertical-align:middle}
html[data-s360] body:not(.s360-corps) .table > tbody > tr:hover > td{background:var(--s360-doux)}
/* tableau trop large pour sa place : il défile dans son propre cadre (posé par salles360.js) */
.s360-defile{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.s360-defile:focus-visible{outline:3px solid var(--s360-accent);outline-offset:2px}

/* 7. Planning ------------------------------------------------------------------------------------------- */
/* corps : panneau de choix à gauche, planning à droite */
html.s360-planning #menuHaut{display:none!important}
html.s360-planning #planning2{min-width:0!important;text-align:left;vertical-align:top;box-sizing:border-box}
@media (min-width:992px){
  html.s360-planning #menuGauche2[style*="inline-block"]{width:292px!important;min-width:0;box-sizing:border-box;padding-right:18px;float:left}
  html.s360-planning #menuGauche2[style*="inline-block"] ~ #planning2{width:calc(100% - 296px)!important}
  html.s360-planning #menuGauche2[style*="none"] ~ #planning2{width:100%!important}
}
html.s360-planning #menuGauche2{text-align:left}
html.s360-planning #menuGauche2 > form{background:#fff;border:1px solid var(--s360-filet);border-radius:var(--s360-r-l);padding:12px;margin-bottom:12px;box-shadow:var(--s360-ombre-1)}
html.s360-planning #menuGauche2 > form center{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:flex-start}
html.s360-planning #menuGauche2 > form select{flex:1 1 60px;min-width:0;padding:6px 4px}
html.s360-planning #menuGauche2 > form button{min-width:44px;min-height:40px;background:var(--s360-marine);border-color:var(--s360-marine);color:#fff}
html.s360-planning #menuGauche2 .col-lg-12,html.s360-planning #menuGauche2 .col-xs-12{padding-left:0;padding-right:0;float:none;width:auto}
html.s360-planning #calendriersG .col-xs-12{padding:0;float:none;width:auto}
html.s360-planning #calendriersG{background:#fff;border:1px solid var(--s360-filet);border-radius:var(--s360-r-l);padding:10px 8px;box-shadow:var(--s360-ombre-1)}
html.s360-planning #resource_selectorG > br{display:none}
html.s360-planning #resource_selectorG .panel{margin:12px 0 0;overflow:hidden}
html.s360-planning #resource_selectorG .panel-heading{font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--s360-encre-pale);font-weight:700;padding:12px 14px 8px;border:0}
html.s360-planning #resource_selectorG .panel-body{padding:0 8px 8px}
html.s360-planning #resource_selectorG .btn-block{display:block;width:100%;text-align:left;white-space:normal;font-size:14.5px;font-weight:600;padding:10px 12px;
  min-height:44px;margin:2px 0;border:0;border-radius:var(--s360-r-s);background:transparent;color:var(--s360-encre-douce)}
html.s360-planning #resource_selectorG .btn-block:hover{background:var(--s360-doux);color:var(--s360-marine)}
html.s360-planning #resource_selectorG .btn-block.btn-primary,html.s360-planning #resource_selectorG .item_select{background:var(--s360-doux);color:var(--s360-marine);
  box-shadow:inset 3px 0 0 var(--s360-marine)}
html.s360-planning #resource_selectorG select{width:100%}
/* mini-calendrier */
html[data-s360] body:not(.s360-corps) table.calendar{width:100%;border-collapse:separate;border-spacing:0;margin:0;table-layout:fixed;padding:0}
html[data-s360] body:not(.s360-corps) table.calendar caption{padding:0 0 8px;color:var(--s360-encre)}
html[data-s360] body:not(.s360-corps) table.calendar caption .btn-group{display:flex;width:100%;gap:2px}
html[data-s360] body:not(.s360-corps) table.calendar caption .btn-group .btn{flex:none;min-width:32px;padding:6px 4px;border-radius:8px!important;margin:0;float:none;border-color:transparent;background:transparent}
html[data-s360] body:not(.s360-corps) table.calendar caption .btn-group .btn:nth-child(3){flex:1;min-width:0;white-space:normal;line-height:1.1;font-family:var(--s360-police-titre);font-weight:400;font-size:18px;color:var(--s360-encre)}
html[data-s360] body:not(.s360-corps) table.calendar caption .btn-group .btn:hover{background:var(--s360-doux)}
html[data-s360] body:not(.s360-corps) table.calendar caption > br{display:none}
html[data-s360] body:not(.s360-corps) table.calendar caption > .btn{margin-top:6px;width:100%}
html[data-s360] body:not(.s360-corps) table.calendar th{font-size:12px;font-weight:650;color:var(--s360-encre-pale);text-align:center;padding:2px 0}
html[data-s360] body:not(.s360-corps) .calendar td,html[data-s360] body:not(.s360-corps) .calendarcol1{width:auto;height:36px;line-height:1;padding:0;text-align:center;vertical-align:middle}
html[data-s360] body:not(.s360-corps) .calendarcol1{font-size:12px;color:var(--s360-encre-pale);font-weight:500}
html[data-s360] body:not(.s360-corps) .calendarcol1 a{color:var(--s360-encre-pale)!important;font-weight:500!important}
html[data-s360] body:not(.s360-corps) a.cellcalendar{display:flex;align-items:center;justify-content:center;min-height:36px;border-radius:8px;font-weight:500;color:var(--s360-encre-douce);text-decoration:none}
html[data-s360] body:not(.s360-corps) a.cellcalendar:hover{background:var(--s360-doux);color:var(--s360-marine)}
html[data-s360] body:not(.s360-corps) .cal_current_day{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--s360-marine);color:#fff;font-weight:700}
/* légende des types : pastilles avec leur mot */
html[data-s360] body:not(.s360-corps) table.legende{width:100%;border-collapse:separate;border-spacing:4px;margin-top:12px;background:#fff;border:1px solid var(--s360-filet);border-radius:var(--s360-r-l);padding:6px}
html[data-s360] body:not(.s360-corps) table.legende caption{font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--s360-encre-pale);font-weight:700;text-align:left;padding:0 4px 6px}
html[data-s360] body:not(.s360-corps) table.legende td{border-radius:8px;padding:6px 8px;font-size:13px;font-weight:600;text-align:left;box-shadow:inset 3px 0 0 currentColor}
/* bouton « Changer de date, de famille ou de salle » (téléphone et tablette) */
#s360-filtres-bouton{display:none}
/* navigation au-dessus du tableau (sortie du tableau par salles360.js) */
html[data-s360] body:not(.s360-corps) .s360-planning-tete{display:flex;flex-direction:column;gap:12px;margin:0 0 14px}
html[data-s360] body:not(.s360-corps) .s360-planning-tete > div:last-child{order:-1;display:flex;align-items:center;gap:12px}
html[data-s360] body:not(.s360-corps) .s360-planning-tete > div:last-child > .left{float:none}
html[data-s360] body:not(.s360-corps) .s360-planning-tete .titre{margin:0;font-family:var(--s360-police-titre);font-weight:400;font-size:clamp(22px,1.2vw + 16px,32px);line-height:1.15;color:var(--s360-encre);text-align:left}
html[data-s360] body:not(.s360-corps) .s360-planning-tete .titre a{color:inherit}
html[data-s360] body:not(.s360-corps) .s360-planning-tete .ligne23{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:0}
html[data-s360] body:not(.s360-corps) .s360-planning-tete .ligne23 > .left,html[data-s360] body:not(.s360-corps) .s360-planning-tete .ligne23 > .right{float:none}
html[data-s360] body:not(.s360-corps) .s360-planning-tete .ligne23 > .right{margin-left:auto}
html[data-s360] body:not(.s360-corps) .s360-planning-tete .ligne23 .btn{min-height:40px;padding:8px 14px;font-size:14.5px}
html[data-s360] body:not(.s360-corps) .s360-planning-tete #voir .btn,html[data-s360] body:not(.s360-corps) .s360-planning-tete #cacher .btn{min-width:44px;min-height:44px}
html[data-s360] body:not(.s360-corps) .s360-planning-tete #lienPrecedent{display:block}
/* choix « Liste / Grille » du jour */
.s360-vues{display:none;gap:4px;padding:4px;background:var(--s360-doux);border-radius:12px;margin:0 0 12px;width:max-content;max-width:100%}
.s360-vues button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border:0;border-radius:9px;background:transparent;
  color:var(--s360-encre-douce);font:600 14.5px var(--s360-police);cursor:pointer}
.s360-vues button[aria-pressed="true"]{background:#fff;color:var(--s360-marine);box-shadow:var(--s360-ombre-1)}
.s360-vues .s360-ic{width:18px;height:18px}
.s360-liste-jour{display:none}
/* tableaux du planning (jour, semaine, mois) */
#planning2 .s360-defile{background:#fff;border:1px solid var(--s360-filet);border-radius:var(--s360-r-l);box-shadow:var(--s360-ombre-1)}
html[data-s360] body:not(.s360-corps) table.jour,html[data-s360] body:not(.s360-corps) table.semaine,html[data-s360] body:not(.s360-corps) table.mois{border-collapse:separate;border-spacing:0;border:0;margin:0;background:#fff;width:100%}
html[data-s360] body:not(.s360-corps) table.jour > thead > tr > *,html[data-s360] body:not(.s360-corps) table.semaine > thead > tr > *,html[data-s360] body:not(.s360-corps) table.mois > thead > tr > *{
  background:var(--s360-carte-2);color:var(--s360-encre-douce);border:0;border-bottom:1px solid var(--s360-trait);border-right:1px solid var(--s360-filet);
  padding:10px 10px;font-size:13px;font-weight:500;line-height:1.35;vertical-align:top}
html[data-s360] body:not(.s360-corps) table.jour > tbody > tr > td,html[data-s360] body:not(.s360-corps) table.semaine > tbody > tr > td,html[data-s360] body:not(.s360-corps) table.mois > tbody > tr > td{
  border:0;border-bottom:1px solid var(--s360-filet);border-right:1px solid var(--s360-filet);padding:0}
html[data-s360] body:not(.s360-corps) table.jour > thead > tr > th{min-width:150px}
html[data-s360] body:not(.s360-corps) thead .s360-th-detail{display:none}
html[data-s360] body:not(.s360-corps) table.jour > thead > tr > td:first-child,html[data-s360] body:not(.s360-corps) table.semaine > thead > tr > td:first-child{width:1%!important}
html[data-s360] body:not(.s360-corps) table.semaine > thead > tr > th{min-width:120px}
html[data-s360] body:not(.s360-corps) .table-striped > tbody > tr:nth-of-type(odd){background:transparent}
html[data-s360] body:not(.s360-corps) a.lienPlanning,html[data-s360] body:not(.s360-corps) a.lienPlanning:visited{font-size:14.5px;font-weight:700;color:var(--s360-marine)}
html[data-s360] body:not(.s360-corps) a.lienPlanning:hover{color:var(--s360-survol);text-decoration:underline}
html[data-s360] body:not(.s360-corps) a.lienPlanning[style*="inline"]:hover{display:inline}
html[data-s360] body:not(.s360-corps) th .s360-lien-fiche,html[data-s360] body:not(.s360-corps) td .s360-lien-fiche{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;border-radius:8px;color:var(--s360-accent)}
html[data-s360] body:not(.s360-corps) th .s360-lien-fiche:hover{background:var(--s360-doux)}
html[data-s360] body:not(.s360-corps) th .fa-gear{color:var(--s360-accent)}
/* colonne des heures (ou des salles) toujours visible quand le tableau défile */
html[data-s360] body:not(.s360-corps) td.cell_hours,html[data-s360] body:not(.s360-corps) td.cell_hours2,html[data-s360] body:not(.s360-corps) th.cell_hours{background:var(--s360-carte-2)!important;color:var(--s360-encre-pale)!important;
  font-size:13px;font-weight:600;white-space:nowrap;padding:6px 8px!important;height:auto;line-height:1.3;text-align:left}
html[data-s360] body:not(.s360-corps) td.cell_hours a,html[data-s360] body:not(.s360-corps) td.cell_hours2 a,html[data-s360] body:not(.s360-corps) .cell_hours a{color:var(--s360-marine)!important}
html[data-s360] body:not(.s360-corps) table.jour > * > tr > :first-child,html[data-s360] body:not(.s360-corps) table.semaine > * > tr > :first-child{position:sticky;left:0;z-index:2;box-shadow:1px 0 0 var(--s360-trait)}
html[data-s360] body:not(.s360-corps) table.semaine > tbody > tr > td.cell_hours2:first-child,html[data-s360] body:not(.s360-corps) table.semaine > tbody > tr > td.cell_hours:first-child{min-width:110px;white-space:normal}
html[data-s360] body:not(.s360-corps) th.jour_sem,html[data-s360] body:not(.s360-corps) th.cell_hours{background:var(--s360-carte-2)!important;color:var(--s360-encre-douce)!important}
html[data-s360] body:not(.s360-corps) .jour_sem a,html[data-s360] body:not(.s360-corps) .jour_sem a:visited{color:var(--s360-marine)!important;font-weight:700}
html[data-s360] body:not(.s360-corps) .vacance,html[data-s360] body:not(.s360-corps) .vacance a{background:var(--s360-vert-doux)!important;color:var(--s360-vert)!important}
html[data-s360] body:not(.s360-corps) .ferie,html[data-s360] body:not(.s360-corps) .ferie a{background:var(--s360-brique-doux)!important;color:var(--s360-brique)!important}
/* cases : réservation (fond de son type + liseré), libre (+ discret), impossible */
html[data-s360] body:not(.s360-corps) td.resadrag,html[data-s360] body:not(.s360-corps) table.resadrag td{box-shadow:inset 3px 0 0 currentColor;vertical-align:top}
html[data-s360] body:not(.s360-corps) a.lienCellule,html[data-s360] body:not(.s360-corps) a.poplight{display:block;padding:6px 8px 6px 10px!important;min-height:0!important;font-size:13.5px;font-weight:500;
  line-height:1.35;text-align:left;text-decoration:none;cursor:pointer}
html[data-s360] body:not(.s360-corps) a.lienCellule:hover,html[data-s360] body:not(.s360-corps) a:hover.lienCellule{color:inherit;font-weight:500;text-decoration:underline}
html[data-s360] body:not(.s360-corps) table.resadrag{margin:2px 0;border-radius:8px;overflow:hidden;width:100%}
html[data-s360] body:not(.s360-corps) table.resadrag td{padding:0}
html[data-s360] body:not(.s360-corps) .empty_cell{height:auto}
html[data-s360] body:not(.s360-corps) .empty_cell a,html[data-s360] body:not(.s360-corps) td.dragdrop > a{display:flex!important;align-items:center;justify-content:center;min-height:30px!important;padding:0!important;
  color:var(--s360-contour);opacity:.55;text-decoration:none}
html[data-s360] body:not(.s360-corps) .empty_cell a:hover,html[data-s360] body:not(.s360-corps) td.dragdrop > a:hover{background:var(--s360-doux);color:var(--s360-marine);opacity:1}
html[data-s360] body:not(.s360-corps) .empty_cell a .fa-plus{font-size:12px}
html[data-s360] body:not(.s360-corps) td .fa-xmark{color:var(--s360-contour)!important}
html[data-s360] body:not(.s360-corps) .monthday{font-size:15px;text-align:left;padding:6px 8px 2px}
html[data-s360] body:not(.s360-corps) .monthday a{font-weight:700;color:var(--s360-encre-douce)}
html[data-s360] body:not(.s360-corps) td.cell_month_o{background:var(--s360-carte-2)}
html[data-s360] body:not(.s360-corps) table.mois > tbody > tr > td{min-width:110px;height:96px}
/* mots ajoutés aux icônes d'état */
.s360-etat{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:650;margin:2px 6px 0 2px;white-space:nowrap}
.s360-etat .s360-ic{width:14px;height:14px;vertical-align:-2px}
html[data-s360] body:not(.s360-corps) i.icone{opacity:.9}
/* bouton « Haut de la page » */
html[data-s360] body:not(.s360-corps) #toTop{width:auto;border:0;border-radius:999px;background:var(--s360-marine);color:#fff;padding:10px 16px;font:600 14px var(--s360-police);
  right:16px;bottom:16px;box-shadow:var(--s360-ombre-2);z-index:800}
html[data-s360] body:not(.s360-corps) #toTop b{font-weight:600}
/* liste du jour (cartes par salle, construites par salles360.js) */
.s360-liste-jour{gap:12px}
.s360-salle{background:#fff;border:1px solid var(--s360-filet);border-radius:var(--s360-r-l);box-shadow:var(--s360-ombre-1);padding:14px 14px 6px}
.s360-salle h3{font-family:var(--s360-police-titre);font-weight:400;font-size:21px;margin:0 0 8px;line-height:1.2}
.s360-salle ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.s360-resa-bouton{display:grid;gap:2px;width:100%;text-align:left;border:0;border-radius:var(--s360-r-m);padding:10px 12px;font:inherit;color:inherit;
  background:inherit;box-shadow:inset 3px 0 0 currentColor;cursor:pointer}
.s360-resa{border-radius:var(--s360-r-m)}
.s360-resa.typeA{background:#D9E6F7;color:#011436}.s360-resa.typeB{background:#E4F3EA;color:#123A24}.s360-resa.typeC{background:#E6E3F5;color:#231A52}
.s360-resa.typeD{background:#FDF1DC;color:#4A2C00}.s360-resa.typeE{background:#DFF1F0;color:#0E3A37}.s360-resa.typeF{background:#E8ECF3;color:#232F4B}
.s360-resa-heure{font-size:15px}
.s360-resa-ligne{font-size:14px}
.s360-resa-etats{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.s360-libre{display:flex;align-items:center;gap:8px;margin:0 0 6px;color:var(--s360-vert);font-weight:650}
.s360-lien-salle,.s360-lien-salle:visited{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;margin-top:6px;
  border-top:1px solid var(--s360-filet);color:var(--s360-marine);font-weight:650;text-decoration:none}

/* 8. Fenêtre d'une réservation (#popup_name) et page d'une réservation */
html[data-s360] body:not(.s360-corps) #fade{position:fixed!important;inset:0;width:auto;height:auto;background:rgba(0,8,27,.5)!important;z-index:1990;opacity:1!important}
html[data-s360] body:not(.s360-corps) .popup_block{position:fixed!important;z-index:2000!important;top:50%!important;left:50%!important;margin:0!important;
  transform:translate(-50%,-50%);width:min(680px,calc(100vw - 24px))!important;max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;
  border:0!important;border-radius:var(--s360-r-l);padding:22px 22px 18px!important;background:#fff;box-shadow:var(--s360-ombre-3)!important;
  font-size:15px;float:none;height:auto!important}
html[data-s360] body:not(.s360-corps) .popup_block .ui-resizable-handle{display:none!important}
html[data-s360] body:not(.s360-corps) .popup_block .s360-fermer-popup,html[data-s360] body:not(.s360-corps) .popup_block input.closepop{margin-top:14px;min-height:44px;float:right}
html[data-s360] body:not(.s360-corps) .popup_block fieldset,html[data-s360][data-s360-ecran="vuereservation"] section fieldset{border:0;margin:0 0 12px;padding:0;min-width:0}
html[data-s360] body:not(.s360-corps) .popup_block legend,html[data-s360][data-s360-ecran="vuereservation"] section legend{font-family:var(--s360-police-titre)!important;font-weight:400!important;
  font-size:clamp(22px,1vw + 17px,28px)!important;border:0;margin:0 0 12px;color:var(--s360-encre);line-height:1.2;width:100%}
html[data-s360] body:not(.s360-corps) .popup_block fieldset > table,html[data-s360][data-s360-ecran="vuereservation"] section fieldset > table{width:100%;border-collapse:collapse;margin-bottom:12px}
html[data-s360] body:not(.s360-corps) .popup_block fieldset > table th,html[data-s360][data-s360-ecran="vuereservation"] section fieldset > table th{
  width:38%;text-align:left;font-weight:600;color:var(--s360-encre-pale);font-size:14px;padding:8px 12px 8px 0;vertical-align:top;border-bottom:1px solid var(--s360-filet)}
html[data-s360] body:not(.s360-corps) .popup_block fieldset > table td,html[data-s360][data-s360-ecran="vuereservation"] section fieldset > table td{
  padding:8px 0;border-bottom:1px solid var(--s360-filet);vertical-align:top;overflow-wrap:anywhere}
html[data-s360] body:not(.s360-corps) .popup_block .btn,html[data-s360][data-s360-ecran="vuereservation"] section .btn{margin:4px 6px 4px 0}
html[data-s360] body:not(.s360-corps) .popup_block .upload,html[data-s360][data-s360-ecran="vuereservation"] .upload{background:var(--s360-carte-2);border:1px solid var(--s360-filet);border-radius:var(--s360-r-m);padding:12px 14px;margin:12px 0}
html[data-s360] body:not(.s360-corps) .upload h4{font-size:14.5px;margin:0 0 8px}
html[data-s360] body:not(.s360-corps) .upload form{display:flex;flex-wrap:wrap;gap:8px}
html[data-s360] body:not(.s360-corps) .upload input[type="text"]{flex:1 1 180px}
html[data-s360][data-s360-ecran="vuereservation"] .s360-contenu > .container{background:#fff;border:1px solid var(--s360-filet);border-radius:var(--s360-r-l);
  box-shadow:var(--s360-ombre-1);padding:20px clamp(16px,3vw,32px);max-width:860px;width:auto}
html[data-s360][data-s360-ecran="vuereservation"] .s360-contenu > .container > div:first-child a{display:inline-flex;align-items:center;min-height:44px;font-weight:650}
html[data-s360][data-s360-ecran="vuereservation"] .s360-contenu > .container > div:first-child a::before{content:'';width:18px;height:18px;margin-right:6px;background:currentColor;
  -webkit-mask:url(icones/chevron-gauche.svg) no-repeat center/contain;mask:url(icones/chevron-gauche.svg) no-repeat center/contain}
html[data-s360][data-s360-ecran="vuereservation"] form[action="app.php"] fieldset{background:var(--s360-doux);border-radius:var(--s360-r-m);padding:14px 16px;margin-top:16px}
html[data-s360][data-s360-ecran="vuereservation"] form[action="app.php"] fieldset legend{font-size:20px!important;margin:0 0 8px;float:left}
html[data-s360][data-s360-ecran="vuereservation"] form[action="app.php"] fieldset legend + *{clear:both}
html[data-s360][data-s360-ecran="vuereservation"] form[action="app.php"] fieldset p{line-height:2.4}

/* 9. Formulaire de réservation (editentree) */
html[data-s360][data-s360-ecran="editentree"] .s360-contenu > h2{font-size:clamp(26px,1.4vw + 18px,36px);margin:4px 0 6px}
html[data-s360][data-s360-ecran="editentree"] .s360-contenu > h3{margin:0 0 14px;font-size:14px}
html[data-s360] body:not(.s360-corps) form#main{background:#fff;border:1px solid var(--s360-filet);border-radius:var(--s360-r-l);box-shadow:var(--s360-ombre-1);padding:8px 4px 0}
html[data-s360] body:not(.s360-corps) form#main .row2::after{content:'';display:table;clear:both}
html[data-s360] body:not(.s360-corps) form#main .row2 > .col{padding:12px 18px}
html[data-s360] body:not(.s360-corps) form#main label{display:block;margin:14px 0 6px}
html[data-s360] body:not(.s360-corps) form#main .E{margin:14px 0;display:block}
html[data-s360] body:not(.s360-corps) form#main .E.form-inline{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
html[data-s360] body:not(.s360-corps) form#main .E.form-inline > label{flex:1 0 100%;margin:0}
html[data-s360] body:not(.s360-corps) form#main .E.form-inline .form-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
html[data-s360] body:not(.s360-corps) form#main .E.form-inline select.btn{padding:6px 8px}
html[data-s360] body:not(.s360-corps) form#main .clockpicker{display:inline-flex!important;width:auto!important}
html[data-s360] body:not(.s360-corps) form#main .clockpicker input{width:96px}
html[data-s360] body:not(.s360-corps) form#main #duree{width:90px}
html[data-s360] body:not(.s360-corps) form#main select[multiple]{width:100%;min-height:150px}
html[data-s360] body:not(.s360-corps) form#main select[multiple] option{padding:6px 8px;border-radius:6px}
html[data-s360] body:not(.s360-corps) form#main #ouvrir,html[data-s360] body:not(.s360-corps) form#main #fermer{padding:12px 0}
html[data-s360] body:not(.s360-corps) form#main #ouvrir input,html[data-s360] body:not(.s360-corps) form#main #fermer input{background:#fff;color:var(--s360-marine);border:1px dashed var(--s360-contour);width:100%;white-space:normal}
html[data-s360] body:not(.s360-corps) form#main #menu1{background:var(--s360-carte-2);border:1px solid var(--s360-filet);border-radius:var(--s360-r-m);padding:12px 14px}
html[data-s360] body:not(.s360-corps) form#main .alert-info{display:flex;align-items:center;gap:8px}
html[data-s360] body:not(.s360-corps) form#main #choix_beneficiaire select{min-width:0!important;width:100%}
html[data-s360] body:not(.s360-corps) form#main #choix_beneficiaire .input-group{display:block;width:100%}
html[data-s360] body:not(.s360-corps) form#main #choix_beneficiaire .col-sm-3{padding-top:8px}
html[data-s360] body:not(.s360-corps) form#main #choix_beneficiaire > .col{float:none;width:100%;padding-left:0;padding-right:0}
html[data-s360] body:not(.s360-corps) form#main #choix_beneficiaire{margin:0}
html[data-s360] body:not(.s360-corps) form#main .select2-container{width:100%!important;max-width:100%}
html[data-s360] body:not(.s360-corps) form#main .select2-container .select2-selection--single{min-height:42px;border-color:var(--s360-contour);border-radius:8px;display:flex;align-items:center}
html[data-s360] body:not(.s360-corps) form#main .clockpicker .input-group-addon{display:flex;align-items:center;justify-content:center;width:44px}
/* barre « Annuler / Enregistrer » collée en bas du formulaire */
html[data-s360] body:not(.s360-corps) form#main #fixe{position:sticky;bottom:0;right:auto;clear:both;display:flex;justify-content:flex-end;gap:10px;z-index:40;
  background:rgba(255,255,255,.96);border-top:1px solid var(--s360-filet);padding:12px 18px calc(12px + env(safe-area-inset-bottom));
  border-radius:0 0 var(--s360-r-l) var(--s360-r-l);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html[data-s360] body:not(.s360-corps) form#main #fixe input{min-height:44px;padding:0 20px}
html[data-s360] body:not(.s360-corps) form#main #fixe input:first-child{background:#fff;color:var(--s360-marine);border-color:var(--s360-marine)}

/* 10. Demandes à valider, compte, demande de compte */
html[data-s360][data-s360-ecran="moderationsliste"] #container{max-width:1100px;margin:0 auto}
html[data-s360][data-s360-ecran="moderationsliste"] #container > .col{float:none;padding:0}
html[data-s360] body:not(.s360-corps) #moderationForm .table{margin:0}
html[data-s360] body:not(.s360-corps) #moderationForm .form-group{display:flex;flex-wrap:wrap;gap:8px;padding:14px 0 0}
html[data-s360] body:not(.s360-corps) #moderationForm .form-group .btn{min-height:44px;margin:0}
html[data-s360] body:not(.s360-corps) #moderationForm .fa,html[data-s360] body:not(.s360-corps) #moderationForm .fas{margin-right:4px}
html[data-s360] body:not(.s360-corps) a.s360-ouvrir{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;border:1px solid var(--s360-contour);border-radius:var(--s360-r-s);
  color:var(--s360-marine);font-weight:650;text-decoration:none;white-space:nowrap}
html[data-s360] body:not(.s360-corps) a.s360-ouvrir:hover{background:var(--s360-doux)}
/* « Gérer mon compte » */
html[data-s360] body:not(.s360-corps) #menu-compte{display:flex;flex-direction:column;gap:4px;padding-top:6px}
html[data-s360] body:not(.s360-corps) #menu-compte > br{display:none}
html[data-s360] body:not(.s360-corps) #menu-compte a.btn{float:none;width:100%;text-align:left;background:transparent;border:0;color:var(--s360-encre-douce);min-height:44px;display:flex;align-items:center}
html[data-s360] body:not(.s360-corps) #menu-compte a.btn:hover{background:var(--s360-doux);color:var(--s360-marine)}
html[data-s360][data-s360-ecran="compte-moncompte"] #menu-compte a[href*="moncompte"],html[data-s360][data-s360-ecran="compte-mesconnexions"] #menu-compte a[href*="mesconnexions"],
html[data-s360][data-s360-ecran="compte-mesreservations"] #menu-compte a[href*="mesreservations"]{background:var(--s360-doux);color:var(--s360-marine);box-shadow:inset 3px 0 0 var(--s360-marine)}
html[data-s360] body:not(.s360-corps) #page-compte > div,html[data-s360] body:not(.s360-corps) #page-compte > form{background:#fff;border:1px solid var(--s360-filet);border-radius:var(--s360-r-l);box-shadow:var(--s360-ombre-1);padding:18px clamp(14px,2.5vw,28px);overflow:clip}
html[data-s360] body:not(.s360-corps) #page-compte h3{font-family:var(--s360-police-titre);font-weight:400;font-size:24px}
html[data-s360] body:not(.s360-corps) #page-compte h4{font-size:15px;margin-top:18px}
html[data-s360] body:not(.s360-corps) #page-compte table td{padding:6px 10px 6px 0}
html[data-s360] body:not(.s360-corps) #page-compte .form-group::after{content:'';display:table;clear:both}
html[data-s360] body:not(.s360-corps) #page-compte .control-label{padding-top:10px}
html[data-s360] body:not(.s360-corps) #page-compte #fixe{position:sticky;bottom:0;right:auto;clear:both;z-index:40;background:rgba(255,255,255,.96);
  border-top:1px solid var(--s360-filet);margin:16px calc(-1 * clamp(14px,2.5vw,28px)) -18px;padding:12px clamp(14px,2.5vw,28px) calc(12px + env(safe-area-inset-bottom))}
html[data-s360] body:not(.s360-corps) #page-compte #fixe{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:center}
html[data-s360] body:not(.s360-corps) #page-compte #fixe > div,html[data-s360] body:not(.s360-corps) #page-compte #fixe form,html[data-s360] body:not(.s360-corps) #page-compte #fixe form > div{display:flex;flex-wrap:wrap;gap:10px;margin:0}
html[data-s360] body:not(.s360-corps) #page-compte #fixe > div{order:2}
html[data-s360] body:not(.s360-corps) #page-compte form#reset .btn{background:#fff;color:var(--s360-marine);border:1px solid var(--s360-marine)}
html[data-s360] body:not(.s360-corps) .radio-inline,html[data-s360] body:not(.s360-corps) .checkbox-inline{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding-left:0;margin:0 14px 0 0;font-weight:500}
html[data-s360] body:not(.s360-corps) .radio-inline input,html[data-s360] body:not(.s360-corps) .checkbox-inline input{position:static;margin:0}
html[data-s360] body:not(.s360-corps) #page-compte form.form-inline{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:8px 0 14px}
html[data-s360] body:not(.s360-corps) #page-compte #fixe .btn{min-height:44px;margin:0}
html[data-s360] body:not(.s360-corps) #page-compte #fixe br{display:none}
/* demande de compte et formulaire de contact */
html[data-s360] body:not(.s360-corps) #formContact{background:#fff;border:1px solid var(--s360-filet);border-radius:var(--s360-r-l);box-shadow:var(--s360-ombre-1);
  padding:22px clamp(16px,3vw,32px);max-width:820px;margin:0 auto}
html[data-s360] body:not(.s360-corps) #formContact h2{margin-top:0;font-size:clamp(26px,1.4vw + 18px,34px)}
html[data-s360] body:not(.s360-corps) #page-resa{float:none;padding:0}
html[data-s360] body:not(.s360-corps) #page-resa .container{width:auto;max-width:100%;padding:0}

/* 11. Connexion */
html.s360-connexion body:not(.s360-corps){background:radial-gradient(1100px 620px at 100% 0,rgba(63,83,128,.42),transparent 62%),linear-gradient(135deg,var(--s360-marine),var(--s360-noir));
  min-height:100vh;min-height:100dvh;align-items:center;padding:28px 16px 0;box-sizing:border-box}
.s360-connexion-logo{display:block;width:min(260px,70vw);height:auto;margin:8px auto 22px}
html.s360-connexion body > .center{width:min(480px,100%);box-sizing:border-box;background:#fff;border-radius:var(--s360-r-xl);padding:30px clamp(20px,5vw,36px) 24px;
  box-shadow:0 2px 4px rgba(0,8,27,.05),0 12px 24px -8px rgba(0,8,27,.12),0 32px 56px -20px rgba(0,8,27,.22);text-align:center;margin:0 auto}
html.s360-connexion .center > h1{font-size:clamp(26px,2vw + 18px,32px);line-height:1.15;margin:0 0 6px;text-wrap:balance}
html.s360-connexion .center > h2{font-family:var(--s360-police);font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--s360-encre-pale);margin:0 0 12px}
html.s360-connexion .center > p{color:var(--s360-encre-douce);text-wrap:balance}
html.s360-connexion .center form{margin:18px 0 8px!important}
html.s360-connexion .center fieldset{width:100%!important;padding:0!important;margin:0!important;border:0}
html.s360-connexion .center legend{font-family:var(--s360-police-titre);font-variant:normal!important;font-size:24px;border:0;margin:0 0 4px;text-align:left;color:var(--s360-encre)}
html.s360-connexion .center legend + p{font-size:13px;color:var(--s360-encre-pale);text-align:left}
html.s360-connexion .center fieldset table,html.s360-connexion .center fieldset tbody,html.s360-connexion .center fieldset tr,
html.s360-connexion .center fieldset td{display:block;width:100%!important;text-align:left!important;padding:0;border-spacing:0}
html.s360-connexion .center fieldset tr{margin:0 0 12px}
html.s360-connexion .center fieldset td.s360-etiquette,html.s360-connexion .center fieldset td:first-child{font-variant:normal!important;font-weight:600;margin:0 0 6px}
html.s360-connexion .center fieldset input[type="text"],html.s360-connexion .center fieldset input[type="password"]{width:100%;min-height:48px;font-size:16px}
html.s360-connexion .center fieldset input[type="submit"]{width:100%;min-height:50px;font-size:16px;margin-top:6px}
html.s360-connexion .center .avertissement{display:inline-block;border-radius:var(--s360-r-s);padding:8px 12px}
html.s360-connexion .center > h4{margin:0}
html.s360-connexion .center > h4 + br,html.s360-connexion .center > h4 + br + br,html.s360-connexion .center > br{display:none}
html.s360-connexion .center .s360-second,html.s360-connexion .center .s360-principal{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;
  min-height:48px;border-radius:var(--s360-r-s);font-weight:650;text-decoration:none;box-sizing:border-box;padding:8px 14px;margin:8px 0 0}
html.s360-connexion .center .s360-second,html.s360-connexion .center a.btn.s360-second{background:#fff;color:var(--s360-marine);border:1px solid var(--s360-marine)}
html.s360-connexion .center .s360-principal,html.s360-connexion .center .s360-principal:visited{background:var(--s360-marine);color:#fff;border:1px solid var(--s360-marine)}
html.s360-connexion .center .s360-second:hover{background:var(--s360-doux)}
html.s360-connexion .center .s360-principal:hover{background:var(--s360-survol);color:#fff}
html.s360-connexion .s360-sans-compte{border-top:1px solid var(--s360-filet);margin:22px 0 14px;padding-top:16px}
html.s360-connexion .s360-sans-compte p{margin:0 0 4px;font-size:14px;color:var(--s360-encre-douce)}
html.s360-connexion .center > p:last-of-type{font-size:13px;margin-top:14px}
html.s360-connexion .center > p.small{display:none}
html.s360-connexion #s360-pied{border:0;color:var(--s360-clair);width:100%;margin-top:24px}
html.s360-connexion #s360-pied a{color:#fff}

/* 12. Fiche d'une salle (fenêtre simple) */
#s360-barre-simple{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:0 16px;
  background:linear-gradient(100deg,var(--s360-marine),var(--s360-noir))}
#s360-barre-simple img{height:34px;width:auto}
#s360-barre-simple .s360-retour,#s360-barre-simple .s360-retour:visited{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border-radius:var(--s360-r-s);
  color:#fff;border:1px solid rgba(255,255,255,.35);font-weight:600;text-decoration:none}
#s360-barre-simple :focus-visible{outline-color:#fff}
html.s360-fenetre-simple body > #container{background:#fff;border:1px solid var(--s360-filet);border-radius:var(--s360-r-l);box-shadow:var(--s360-ombre-1);
  max-width:760px;width:calc(100% - 24px);box-sizing:border-box;margin:16px auto;padding:20px clamp(16px,3vw,32px)}
html.s360-fenetre-simple body > #container > h3:first-child{font-family:var(--s360-police-titre);font-weight:400;font-size:clamp(24px,1.5vw + 18px,32px);text-align:left!important;margin:0}
html.s360-fenetre-simple body > #container > h3:nth-child(2){text-align:left!important;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--s360-encre-pale);margin:4px 0 16px}
html.s360-fenetre-simple body > #container > h3:not(:first-child):not(:nth-child(2)){font-size:15px;margin:18px 0 4px;color:var(--s360-encre-pale)}
html.s360-fenetre-simple body > #container img{border-radius:var(--s360-r-m)}

/* 13. Administration (AdminLTE) */
html.s360-admin body:not(.s360-corps),html.s360-admin .content-wrapper{background:var(--s360-fond);font-family:var(--s360-police)}
html.s360-admin body:not(.s360-corps){display:block}
html.s360-admin .preloader{display:none!important}
html.s360-admin .main-sidebar{background:linear-gradient(180deg,var(--s360-marine),var(--s360-noir))!important}
html.s360-admin .brand-link{display:flex!important;flex-direction:column;align-items:flex-start;gap:2px;border-bottom:1px solid rgba(255,255,255,.12)!important;padding:12px 14px!important;min-height:64px}
html.s360-admin .s360-admin-logo{height:34px;width:auto}
html.s360-admin .s360-admin-titre{color:var(--s360-clair);font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;font-weight:700}
html.s360-admin.sidebar-collapse .s360-admin-titre,html.s360-admin .sidebar-collapse .s360-admin-titre{display:none}
html.s360-admin .nav-sidebar .nav-link{color:#DCE2EE!important;border-radius:var(--s360-r-s)!important;min-height:44px;display:flex;align-items:center;gap:8px}
html.s360-admin .nav-sidebar .nav-link p{margin:0;white-space:normal}
html.s360-admin .nav-sidebar .nav-link:hover{background:rgba(255,255,255,.1)!important;color:#fff!important}
html.s360-admin .nav-sidebar .nav-link.active{background:rgba(255,255,255,.16)!important;color:#fff!important;box-shadow:inset 3px 0 0 #fff!important}
html.s360-admin .main-header{border-bottom:1px solid var(--s360-filet)!important;background:#fff}
html.s360-admin .main-header .nav-link{color:var(--s360-encre-douce)!important;min-height:44px;display:flex;align-items:center}
html.s360-admin h1,html.s360-admin .content-header h1{font-family:var(--s360-police-titre);font-weight:400;font-size:clamp(26px,1.4vw + 18px,34px)}
html.s360-admin .btn-primary,html.s360-admin .bg-primary{background:var(--s360-marine)!important;border-color:var(--s360-marine)!important;color:#fff!important}
html.s360-admin .btn-success,html.s360-admin .bg-success{background:var(--s360-vert)!important;border-color:var(--s360-vert)!important;color:#fff!important}
html.s360-admin .bg-info,html.s360-admin .bg-warning,html.s360-admin .bg-danger{color:#fff!important}
html.s360-admin .bg-info{background:var(--s360-accent)!important}
html.s360-admin :is(.bg-info,.bg-warning,.bg-danger,.bg-success,.bg-primary) a{color:#fff!important;text-decoration:underline}
html.s360-admin .bg-warning{background:var(--s360-ambre)!important}
html.s360-admin .bg-danger{background:var(--s360-brique)!important}
html.s360-admin .small-box{border-radius:var(--s360-r-l);overflow:hidden}
html.s360-admin .small-box h3{font-family:var(--s360-police-titre);font-weight:400}
html.s360-admin a:not(.btn):not(.nav-link):not(.small-box-footer){color:var(--s360-survol)}
html.s360-admin .content-wrapper{overflow-x:clip}
html.s360-admin .content-wrapper .table-responsive,html.s360-admin .content-wrapper .card-body{overflow-x:auto}
html.s360-admin .main-footer{background:transparent;border-top:1px solid var(--s360-filet);padding:0}
html.s360-admin .main-footer #s360-pied{border:0}
html.s360-admin .card-primary:not(.card-outline) > .card-header{background:var(--s360-marine)}
html.s360-admin .card-primary.card-outline{border-top-color:var(--s360-marine)}
html.s360-admin .page-item.active .page-link{background:var(--s360-marine);border-color:var(--s360-marine)}
html.s360-admin .custom-control-input:checked ~ .custom-control-label::before{background:var(--s360-marine);border-color:var(--s360-marine)}

/* 14. Écrans étroits ------------------------------------------------------------------------------------- */
@media (max-width:991px){
  /* panneau « date, famille, salle » replié par défaut, ouvert par le bouton */
  #s360-filtres-bouton{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:0 14px;margin:0 0 12px;border:1px solid var(--s360-trait);
    border-radius:var(--s360-r-m);background:#fff;color:var(--s360-marine);font:650 15px var(--s360-police);text-align:left;cursor:pointer;box-shadow:var(--s360-ombre-1)}
  #s360-filtres-bouton .s360-filtres-texte{flex:1}
  #s360-filtres-bouton .s360-ic:last-child{transition:transform .2s var(--s360-courbe)}
  html.s360-filtres-ouverts #s360-filtres-bouton .s360-ic:last-child{transform:rotate(180deg)}
  html.s360-planning #menuGauche2{display:none!important;float:none;width:100%!important;min-width:0;padding:0;margin:0 0 14px}
  html.s360-planning.s360-filtres-ouverts #menuGauche2{display:block!important}
  html.s360-planning #planning2{display:block!important;width:100%!important;float:none}
  html[data-s360] body:not(.s360-corps) .s360-planning-tete #voir,html[data-s360] body:not(.s360-corps) .s360-planning-tete #cacher{display:none!important}
  html[data-s360] body:not(.s360-corps) #toTop{display:none!important}
  /* champs à 16 px : l'iPhone ne zoome plus sur le champ */
  html[data-s360] body:not(.s360-corps) input[type="text"],html[data-s360] body:not(.s360-corps) input[type="email"],html[data-s360] body:not(.s360-corps) input[type="password"],html[data-s360] body:not(.s360-corps) input[type="number"],
  html[data-s360] body:not(.s360-corps) input[type="tel"],html[data-s360] body:not(.s360-corps) textarea,html[data-s360] body:not(.s360-corps) select,html[data-s360] body:not(.s360-corps) .form-control{font-size:16px}
  html[data-s360] body:not(.s360-corps) form#main .row2 > .col{width:100%;float:none}
  html[data-s360] body:not(.s360-corps) #menu-compte{flex-direction:row;overflow-x:auto;padding:0 0 10px;margin:0 0 6px;float:none;width:100%}
  html[data-s360] body:not(.s360-corps) #menu-compte a.btn{width:auto;white-space:nowrap;border:1px solid var(--s360-trait)}
  html[data-s360] body:not(.s360-corps) #page-compte{float:none;width:100%;padding:0}
}
@media (max-width:767px){
  html[data-s360] body:not(.s360-corps) .s360-contenu{padding-top:14px}
  /* liste ou grille pour le jour */
  .s360-vues{display:flex}
  html[data-s360-vue="liste"] .s360-liste-jour{display:grid}
  html[data-s360-vue="liste"] #planning2 .s360-defile{display:none}
  html[data-s360] body:not(.s360-corps) .s360-planning-tete .ligne23{flex-wrap:nowrap}
  html[data-s360] body:not(.s360-corps) .s360-planning-tete .ligne23 > .left,html[data-s360] body:not(.s360-corps) .s360-planning-tete .ligne23 > .right{flex:1 1 0;min-width:0;margin:0}
  html[data-s360] body:not(.s360-corps) .s360-planning-tete .ligne23 > .left .btn,html[data-s360] body:not(.s360-corps) .s360-planning-tete .ligne23 > .right .btn{width:100%;min-height:44px;white-space:normal;padding:6px 8px}
  html[data-s360] body:not(.s360-corps) .s360-planning-tete .ligne23 > button.btn{order:3;flex:none;width:44px;min-height:44px;padding:0}
  html[data-s360] body:not(.s360-corps) .s360-planning-tete .ligne23 > .right{order:2}
  html[data-s360] body:not(.s360-corps) .s360-planning-tete .titre{font-size:24px}
  html[data-s360] body:not(.s360-corps) .empty_cell a,html[data-s360] body:not(.s360-corps) td.dragdrop > a{min-height:44px!important}
  html[data-s360] body:not(.s360-corps) table.jour > thead > tr > th,html[data-s360] body:not(.s360-corps) table.semaine > thead > tr > th{min-width:132px;font-size:12.5px}
  /* mois : une carte par jour, avec le nom du jour */
  html[data-s360] body:not(.s360-corps) table.mois > thead{display:none}
  html[data-s360] body:not(.s360-corps) table.mois,html[data-s360] body:not(.s360-corps) table.mois > tbody,html[data-s360] body:not(.s360-corps) table.mois > tbody > tr{display:block}
  html[data-s360] body:not(.s360-corps) table.mois > tbody > tr > td{display:block;min-width:0;height:auto;border-right:0;padding:4px 10px 8px}
  html[data-s360] body:not(.s360-corps) table.mois > tbody > tr > td.s360-hors-mois,html[data-s360] body:not(.s360-corps) table.mois > tbody > tr > td.cell_month_o{display:none}
  html[data-s360] body:not(.s360-corps) table.mois > tbody > tr > td[data-s360-jour]::before{content:attr(data-s360-jour);display:block;font-size:12.5px;font-weight:700;
    letter-spacing:.05em;text-transform:uppercase;color:var(--s360-encre-pale);padding-top:6px}
  html[data-s360] body:not(.s360-corps) table.mois .monthday{display:flex;align-items:center;gap:8px;padding:0 0 4px}
  html[data-s360] body:not(.s360-corps) table.mois .monthday a{display:inline-flex;align-items:center;min-height:36px}
  html[data-s360] body:not(.s360-corps) table.mois > tbody > tr > td.s360-jour-vide{padding-bottom:4px}
  #planning2 .s360-defile:has(> table.mois){overflow:visible}
  /* tableaux de liste : une carte par ligne */
  html[data-s360] body:not(.s360-corps) table.s360-cartes > thead{display:none}
  html[data-s360] body:not(.s360-corps) table.s360-cartes,html[data-s360] body:not(.s360-corps) table.s360-cartes > tbody,html[data-s360] body:not(.s360-corps) table.s360-cartes > tbody > tr,html[data-s360] body:not(.s360-corps) table.s360-cartes > tbody > tr > td{display:block;width:100%;box-sizing:border-box}
  html[data-s360] body:not(.s360-corps) table.s360-cartes > tbody > tr{position:relative;border:1px solid var(--s360-filet);border-radius:var(--s360-r-m);padding:10px 12px;margin:0 0 10px;background:#fff}
  html[data-s360] body:not(.s360-corps) table.s360-cartes > tbody > tr:has(> td > input[type="checkbox"]){padding-left:46px}
  html[data-s360] body:not(.s360-corps) table.s360-cartes{border:0}
  html[data-s360] body:not(.s360-corps) table.s360-cartes > tbody > tr > td{border:0!important;padding:3px 0!important;display:flex;gap:10px;background:transparent!important}
  html[data-s360] body:not(.s360-corps) table.s360-cartes > tbody > tr > td[data-label]::before{content:attr(data-label);flex:0 0 42%;font-size:13px;font-weight:600;color:var(--s360-encre-pale)}
  html[data-s360] body:not(.s360-corps) table.s360-cartes > tbody > tr > td:first-child:has(> input[type="checkbox"]){position:absolute;left:12px;top:12px;width:auto;padding:0!important}
  html[data-s360] body:not(.s360-corps) table.s360-cartes > tbody > tr > td:last-child{padding-top:8px!important}
  /* page d'une réservation : intitulé au-dessus de la valeur */
  html[data-s360] body:not(.s360-corps) .popup_block fieldset > table th,html[data-s360] body:not(.s360-corps) .popup_block fieldset > table td,
  html[data-s360][data-s360-ecran="vuereservation"] section fieldset > table th,html[data-s360][data-s360-ecran="vuereservation"] section fieldset > table td{display:block;width:auto;border:0;padding:0}
  html[data-s360] body:not(.s360-corps) .popup_block fieldset > table th,html[data-s360][data-s360-ecran="vuereservation"] section fieldset > table th{padding-top:10px;font-size:13px}
  html[data-s360] body:not(.s360-corps) .popup_block fieldset > table td,html[data-s360][data-s360-ecran="vuereservation"] section fieldset > table td{padding-bottom:10px;border-bottom:1px solid var(--s360-filet)}
  html[data-s360] body:not(.s360-corps) .popup_block{top:auto!important;bottom:0;transform:translateX(-50%);width:100vw!important;max-height:88dvh;border-radius:var(--s360-r-l) var(--s360-r-l) 0 0;
    padding-bottom:calc(18px + env(safe-area-inset-bottom))!important}
  html[data-s360] body:not(.s360-corps) .popup_block .btn,html[data-s360][data-s360-ecran="vuereservation"] section .btn{width:100%;margin:4px 0;min-height:44px}
  html[data-s360] body:not(.s360-corps) .popup_block input.closepop{float:none;width:100%}
  html[data-s360] body:not(.s360-corps) form#main #fixe input{flex:1}
  html[data-s360] body:not(.s360-corps) form#main .row2 > .col{padding:8px 14px}
  html[data-s360] body:not(.s360-corps) #moderationForm .form-group .btn{flex:1 1 100%}
  html[data-s360] body:not(.s360-corps) #page-compte .control-label,html[data-s360] body:not(.s360-corps) #page-compte .col{width:100%;float:none;text-align:left}
}
@media (max-width:399px){
  html[data-s360] body:not(.s360-corps) table.calendar td.calendarcol1,html[data-s360] body:not(.s360-corps) table.calendar thead td.calendarcol1{display:none}
}

/* 15. Mouvement réduit et impression */
@media (prefers-reduced-motion:reduce){
  html[data-s360] body:not(.s360-corps) *,html[data-s360] body:not(.s360-corps) *::before,html[data-s360] body:not(.s360-corps) *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}
@media print{
  #s360-bandeau,#s360-pied,#s360-filtres-bouton,.s360-vues,.s360-liste-jour,#s360-aide-bouton,#s360-aide-panneau{display:none!important}
  html[data-s360] body:not(.s360-corps) #planning2 .s360-defile{display:block!important;overflow:visible;border:0;box-shadow:none}
}

/* 12. Grille du planning : la semaine tient en entier sur grand écran, les longues réservations respirent */
html[data-s360] body:not(.s360-corps) a.lienCellule{overflow-wrap:break-word;max-height:calc(1.35em * 6 + 12px);overflow:hidden}
html[data-s360] body:not(.s360-corps) a.lienCellule::first-line{font-weight:700}
html[data-s360] body:not(.s360-corps) td:hover > a.lienCellule,html[data-s360] body:not(.s360-corps) a.lienCellule:focus-visible{max-height:none}
@media (min-width:992px){
  html[data-s360] body:not(.s360-corps) table.semaine{table-layout:fixed;width:100%}
  html[data-s360] body:not(.s360-corps) table.semaine > thead > tr > th{min-width:0}
  html[data-s360] body:not(.s360-corps) table.semaine > thead > tr > :first-child{width:132px!important}
  html[data-s360] body:not(.s360-corps) table.semaine > tbody > tr > td.cell_hours2:first-child,html[data-s360] body:not(.s360-corps) table.semaine > tbody > tr > td.cell_hours:first-child{min-width:0}
}
/* Tableaux de l'administration : plus de défilement dans la carte quand le tableau peut se resserrer */
html[data-s360] .content-wrapper .card-body > .table-responsive > table,html[data-s360] .content-wrapper .card-body > table{width:100%}
html[data-s360] .content-wrapper .card-body table td,html[data-s360] .content-wrapper .card-body table th{white-space:normal;overflow-wrap:anywhere}
