/* ================================================================
   THE TIMER V1.0.27 — STATUS WIDTH + TEST TOOLS CLEANUP
   ================================================================ */

/* Session state becomes a true full-width dashboard strip. */
#hostView #v4413CommandBar{
  grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;
  padding:12px 14px!important;
}
#hostView #v4413CommandBar .v4413Vitals{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  gap:8px!important;
  align-items:stretch!important;
}
#hostView #v4413CommandBar .v4413Vitals:before{
  grid-column:1/-1!important;
  min-height:20px!important;
  padding:0 2px 2px!important;
  display:flex!important;
  align-items:center!important;
  color:#7e8990!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.19em!important;
}
#hostView #v4413CommandBar .v4413Vital{
  width:100%!important;
  min-width:0!important;
  min-height:54px!important;
  padding:9px 12px!important;
  border-radius:9px!important;
}
#hostView #v4413CommandBar .v4413Vital span{
  font-size:9px!important;
  letter-spacing:.14em!important;
}
#hostView #v4413CommandBar .v4413Vital strong{
  margin-top:2px!important;
  font-size:13px!important;
  line-height:1.15!important;
}
#hostView #v125QaActions{
  grid-column:1/-1!important;
  width:100%!important;
  justify-content:flex-end!important;
  padding-top:2px!important;
}
#hostView #v4413CommandBar .v4413Warnings{
  grid-column:1/-1!important;
  width:100%!important;
}

/* The side test panel is for test controls only. Player screens live in the
   dedicated "Écrans joueurs" view, so old simulated previews are removed. */
#v4411QaDock.v108QaOpen{
  width:min(430px,calc(100vw - 32px))!important;
  max-height:calc(100vh - 28px)!important;
  overflow:auto!important;
}
#v4411QaDock #v104QaPreview,
#v4411QaDock #v105QaGallery,
#v4411QaDock #v106QaWallBtn,
#v4411QaDock #v109RealMirrorBtn,
#v4411QaDock .v107QaDockCollapse,
#v107QaDockTab{
  display:none!important;
}
#v4411QaDock .v4411QaDockHead{
  position:sticky!important;
  top:-12px!important;
  z-index:4!important;
  margin:-12px -12px 10px!important;
  padding:12px!important;
  background:rgba(5,7,9,.985)!important;
  border-bottom:1px solid rgba(255,255,255,.06)!important;
}
#v4411QaDock .v4411QaDockHead strong{font-size:12px!important;letter-spacing:.16em!important}
#v4411QaDock .v103QaCoach{font-size:11px!important;line-height:1.5!important}
#v4411QaDock .v4411QaDockGrid{gap:8px!important}
#v4411QaDock .v4411QaDockGrid button{min-height:40px!important;font-size:9px!important}
#v4411QaDock .v103QaTimeline{max-height:180px!important;overflow:auto!important}

@media(max-width:1450px){
  #hostView #v4413CommandBar .v4413Vitals{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:900px){
  #hostView #v4413CommandBar .v4413Vitals{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #hostView #v125QaActions{justify-content:flex-start!important}
}
