/* GRH V9.10.0 — bandeaux avec les photos des campus, comme Gestion de site et Réunions.
   Calque visuel seul : le titre, les boutons et les filtres des bandeaux ne changent pas.
   Les bandeaux sont le haut de chaque onglet (.view > .top) et celui du tableau de bord (.dashboard-hero). */
html:not(#_g1):not(#_g2){--grh-veil-a:rgba(26,40,86,.95);--grh-veil-b:rgba(34,53,111,.8);--grh-veil-c:rgba(65,90,167,.15);--grh-gold:#d89b2b}
html[data-theme="dark"]:not(#_g1):not(#_g2){--grh-veil-a:rgba(16,24,44,.95);--grh-veil-b:rgba(30,44,78,.84);--grh-veil-c:rgba(40,60,110,.25)}

html:not(#_g1):not(#_g2) .view > .top,html:not(#_g1):not(#_g2) .view > .dashboard-hero{position:relative;overflow:hidden;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 18px;min-height:150px;padding:24px 28px 26px;margin:0 0 18px;border:0!important;border-radius:18px;color:#fff;background:linear-gradient(90deg,var(--grh-veil-a) 0%,var(--grh-veil-b) 42%,var(--grh-veil-c) 82%),var(--grh-photo,url("../images/intro/tous-campus.jpg")) center 42%/cover no-repeat!important;box-shadow:0 14px 30px -14px rgba(26,40,86,.55)!important}
html:not(#_g1):not(#_g2) .view > .top::after,html:not(#_g1):not(#_g2) .view > .dashboard-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:linear-gradient(90deg,var(--grh-gold),rgba(216,155,43,0));pointer-events:none}
html:not(#_g1):not(#_g2) .view > .top > *,html:not(#_g1):not(#_g2) .view > .dashboard-hero > *{position:relative;z-index:1}
html:not(#_g1):not(#_g2) .view > .top h1,html:not(#_g1):not(#_g2) .view > .dashboard-hero h1{margin:0;color:#fff!important;-webkit-text-fill-color:#fff;background:none!important;font-size:26px;font-weight:800;letter-spacing:-.01em;text-shadow:0 2px 10px rgba(14,22,48,.55)}
html:not(#_g1):not(#_g2) .view > .top .subtitle,html:not(#_g1):not(#_g2) .view > .dashboard-hero .subtitle{margin-top:6px;color:rgba(255,255,255,.92)!important;font-size:14px;text-shadow:0 1px 8px rgba(14,22,48,.55)}
html:not(#_g1):not(#_g2) .view > .top .month{color:#fff!important;font-weight:800;text-shadow:0 1px 8px rgba(14,22,48,.55)}
html:not(#_g1):not(#_g2) .view > .top .siham-import-stamp{display:inline-flex;margin-top:8px;padding:3px 10px;border-radius:99px;background:rgba(255,255,255,.14)!important;color:#fff!important;border:0!important}

/* Boutons et listes posés sur la photo : fond blanc, texte bleu GRH, comme dans Réunions. */
html:not(#_g1):not(#_g2) .view > .top .btn,html:not(#_g1):not(#_g2) .view > .dashboard-hero .btn,html:not(#_g1):not(#_g2) .view > .top .btn.primary,html:not(#_g1):not(#_g2) .view > .dashboard-hero .btn.primary,html:not(#_g1):not(#_g2) .view > .top select,html:not(#_g1):not(#_g2) .view > .dashboard-hero select{background:#fff!important;color:#22356f!important;border:0!important;font-weight:800;box-shadow:0 6px 16px -8px rgba(0,0,0,.45)!important}
html:not(#_g1):not(#_g2) .view > .top .btn:hover,html:not(#_g1):not(#_g2) .view > .dashboard-hero .btn:hover{background:#f3f5fb!important}
html:not(#_g1):not(#_g2) .view > .top .btn:focus-visible,html:not(#_g1):not(#_g2) .view > .dashboard-hero .btn:focus-visible{outline:3px solid var(--grh-gold);outline-offset:2px}
html[data-theme="dark"]:not(#_g1):not(#_g2) .view > .top .btn,html[data-theme="dark"]:not(#_g1):not(#_g2) .view > .dashboard-hero .btn,html[data-theme="dark"]:not(#_g1):not(#_g2) .view > .top select{background:#eef2fa!important;color:#1a2856!important}
html:not(#_g1):not(#_g2) .view > .top .nav,html:not(#_g1):not(#_g2) .view > .top .agent-actions,html:not(#_g1):not(#_g2) .view > .dashboard-hero .dashboard-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
html:not(#_g1):not(#_g2) .view > .top [hidden],html:not(#_g1):not(#_g2) .view > .dashboard-hero [hidden]{display:none!important}

/* Avertissement « version en développement » : discret sur la photo. */
html:not(#_g1):not(#_g2) .view > .dashboard-hero .development-warning{margin-top:12px;display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border:0!important;border-radius:99px;background:rgba(255,255,255,.12)!important;color:rgba(255,255,255,.85)!important;font-size:11.5px;font-weight:600;box-shadow:none!important}
html:not(#_g1):not(#_g2) .view > .dashboard-hero .development-warning *{color:inherit!important}
html:not(#_g1):not(#_g2) .view > .dashboard-hero .development-warning .warning-icon{color:#f3cf85}

/* Une photo par onglet. */
#dashboardView{--grh-photo:url("../images/intro/tous-campus.jpg")}
#planningView{--grh-photo:url("../images/intro/citadelle-default.jpg")}
#recuperationsView{--grh-photo:url("../images/intro/saint-leu-hover.jpg")}
#horairesView{--grh-photo:url("../images/intro/cathedrale-hover.jpg")}
#logesView{--grh-photo:url("../images/intro/saint-charles.jpg")}
#agentsView{--grh-photo:url("../images/intro/citadelle-hover.jpg")}
#formationsView{--grh-photo:url("../images/intro/saint-leu-hover.jpg")}
#analyseView{--grh-photo:url("../images/intro/saint-charles.jpg")}
#annuaireView{--grh-photo:url("../images/intro/tous-campus.jpg")}
#helpView{--grh-photo:url("../images/intro/cathedrale-hover.jpg")}
#adminView{--grh-photo:url("../images/intro/citadelle-default.jpg")}
#versionsView{--grh-photo:url("../images/intro/citadelle-hover.jpg")}

@media (max-width:760px){
  html:not(#_g1):not(#_g2) .view > .top,html:not(#_g1):not(#_g2) .view > .dashboard-hero{flex-direction:column;align-items:flex-start;min-height:0;padding:20px 20px 22px;background:linear-gradient(180deg,var(--grh-veil-a),var(--grh-veil-b)),var(--grh-photo,url("../images/intro/tous-campus.jpg")) center/cover no-repeat!important}
}
@media print{html:not(#_g1):not(#_g2) .view > .top,html:not(#_g1):not(#_g2) .view > .dashboard-hero{background:none!important;color:#000;box-shadow:none!important;min-height:0}html:not(#_g1):not(#_g2) .view > .top h1,html:not(#_g1):not(#_g2) .view > .top .subtitle{color:#000!important;-webkit-text-fill-color:#000;text-shadow:none}html:not(#_g1):not(#_g2) .view > .top::after{display:none}}
html:not(#_g1):not(#_g2) .view > .top .month{background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:10px;box-shadow:none!important;-webkit-text-fill-color:#fff}
