/* Console i-WATT : onglets en haut, en-tête noir (disposition demandée, comme la console ORBIT).
   Chargé en dernier : il complète admin.css et admin-noir.css sans les supprimer. */
.shell.top-layout { display: block; min-height: 100vh; }

.hdr {
  background: #000; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 22px; border-bottom: 1px solid #222; flex-wrap: wrap;
}
.hdr-left { display: flex; align-items: center; gap: 12px; }
.hdr-left img { width: 34px; height: 34px; border-radius: 9px; }
.hdr-left b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.adm-badge { border: 1.5px solid #fff; border-radius: 6px; padding: 4px 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; }
.hdr-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.who { display: grid; font-weight: 800; font-size: 16px; line-height: 1.2; text-align: right; }
.who small { font-weight: 500; font-size: 12.5px; color: #B8BEC9; }
.hbtn {
  display: inline-flex; align-items: center; gap: 7px; background: #fff; color: #000; border: 0; border-radius: 10px;
  padding: 10px 16px; font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer;
}
.hbtn .ic { width: 17px; height: 17px; }
.hbtn:hover { background: var(--volt); }
#logout.hbtn { color: #0B3D91; }

/* Onglets : pastilles blanches, l'onglet ouvert en jaune i-WATT */
.navtabs {
  background: #000; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  padding: 14px 18px 18px; border-bottom: 5px solid var(--volt);
}
.navtabs button {
  background: #fff; color: #000; border: 0; border-radius: 10px; padding: 11px 18px;
  font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.navtabs button:hover { background: #FFF3C4; }
.navtabs button.on { background: var(--volt); color: #000; }
.navtabs button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Contenu : plus de barre latérale, le titre de la page n'est plus collé en haut */
.shell.top-layout .main { min-height: 0; }
.shell.top-layout .topbar { position: static; }

@media (max-width: 700px) {
  .hdr-left b { font-size: 20px; }
  .navtabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; }
}

/* Bouton Installer sur le bureau retire de l en-tete (console installee). Code conserve dans admin.js. */
.hdr #install { display: none !important; }
