/* 1.4.3F (28/11/2026, demande de Maître) — TABLETTE seulement : zone haut gauche de tous les modules.
   Logo à la hauteur de la zone (proportions conservées), puis sur deux lignes : nom du module, environnement.
   Le téléphone n'est pas concerné (body.device-phone). Chargé en dernier, après CSS_38. */
html body.device-tablet .ttModuleFrame > .ttZoneHG,
html body.device-tablet .ttModuleFrame > .ttZoneHG > .hostessBrandBlock,
html body.device-tablet .ttModuleFrame > .ttZoneHG > .statisticsBrandStack {
  display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important;
  align-items:stretch !important; justify-content:flex-start !important; max-height:72px;
  gap:8px !important; padding:0 !important; overflow:hidden !important; min-width:0 !important;
}
html body.device-tablet .ttModuleFrame > .ttZoneHG > .hostessBrandBlock,
html body.device-tablet .ttModuleFrame > .ttZoneHG > .statisticsBrandStack {
  flex:1 1 auto !important; width:100% !important; height:100% !important; margin:0 !important;
}
html body.device-tablet .ttModuleFrame .ttZoneHG .ttTitleBrand {
  flex:0 0 auto !important; align-self:stretch !important; height:auto !important; width:auto !important;
  display:flex !important; align-items:center !important; justify-content:flex-start !important;
  margin:0 !important; padding:0 !important; overflow:visible !important; font-size:0 !important; line-height:0 !important;
}
html body.device-tablet .ttModuleFrame .ttZoneHG .ttPassBrandLogo {
  display:block !important; height:100% !important; width:auto !important; max-width:none !important; max-height:72px !important;
  min-height:0 !important; aspect-ratio:1 / 1; object-fit:contain !important; margin:0 !important; padding:0 !important;
  position:static !important; transform:none !important;
}
html body.device-tablet .ttModuleFrame .ttZoneHG :is(.moduleHeaderSubRow,.hostessBrandSubRow,.workspaceBrandSubRow,.statisticsBrandSubRow) {
  display:flex !important; flex-direction:column !important; justify-content:center !important; align-items:flex-start !important;
  gap:4px !important; flex:1 1 auto !important; min-width:0 !important; width:auto !important; height:auto !important;
  margin:0 !important; padding:0 !important; position:static !important; transform:none !important;
}
html body.device-tablet .ttModuleFrame .ttZoneHG .ttTitleModule {
  display:block !important; max-width:100% !important; min-width:0 !important; margin:0 !important; padding:0 !important;
  font-size:15px; font-weight:900 !important; line-height:1.35 !important; letter-spacing:.02em !important; padding-top:1px !important;
  white-space:nowrap !important; overflow:hidden !important; text-overflow:clip !important; position:static !important;
}
html body.device-tablet .ttModuleFrame .ttZoneHG .ttTitleEnv {
  display:inline-flex !important; align-items:center !important; align-self:flex-start !important; flex:0 0 auto !important;
  margin:0 !important; position:static !important; transform:none !important; white-space:nowrap !important;
}

/* 1.4.3H (28/11/2026) — Statistiques tablette : présences sur 3 rangées égales (loges, tribune face, tribune côté). */
html body.device-tablet.module-statistics.statistics-view-general #statisticsScreen .statisticsGeneralCard > #statisticsNormalAttendance {
  grid-template-rows:repeat(3,minmax(0,1fr)) !important;
}

/* 1.4.3K — Statistiques tablette : 4 rangées quand la rubrique Crazy Day est affichée. */
html body.device-tablet.module-statistics.statistics-view-general #statisticsScreen .statisticsGeneralCard > #statisticsNormalAttendance.statisticsHasCrazy {
  grid-template-rows:repeat(4,minmax(0,1fr)) !important;
}
