/* ================================================================
   THE TIMER V1.0.26 — SESSION POLISH
   Status visibility, notifications, dropdown polish, QA controls placement.
   ================================================================ */

/* Bring the important session strip back as a first-class cockpit element. */
#hostView #v4413CommandBar{
  display:grid!important;
  position:sticky!important;
  top:68px!important;
  z-index:31!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:9px 12px!important;
  margin:8px 0 18px!important;
  padding:11px 12px!important;
  border:1px solid rgba(255,255,255,.075)!important;
  border-radius:11px!important;
  background:linear-gradient(180deg,rgba(8,11,14,.97),rgba(5,7,9,.96))!important;
  box-shadow:0 12px 30px rgba(0,0,0,.22)!important;
}
#hostView #v4413CommandBar .v4413Vitals{display:flex!important;align-items:stretch!important;gap:8px!important;flex-wrap:wrap!important}
#hostView #v4413CommandBar .v4413Vitals:before{
  content:'ÉTAT SESSION';display:flex;align-items:center;padding:0 10px 0 2px;
  color:#727d84;font-size:9px;font-weight:950;letter-spacing:.18em;text-transform:uppercase;
}
#hostView #v4413CommandBar .v4413Vital{
  min-width:104px!important;min-height:42px!important;padding:7px 10px!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;
  border-radius:8px!important;background:rgba(255,255,255,.022)!important;border-color:rgba(255,255,255,.055)!important;
}
#hostView #v4413CommandBar .v4413Vital span{font-size:8px!important;letter-spacing:.13em!important;color:#707a81!important}
#hostView #v4413CommandBar .v4413Vital strong{font-size:12px!important;letter-spacing:.025em!important;color:#ebe8e4!important}
#hostView #v4413CommandBar .v4413Vital.warn{background:rgba(103,62,18,.13)!important;border-color:rgba(206,143,61,.30)!important}
#hostView #v4413CommandBar .v4413Vital.bad{background:rgba(101,25,18,.18)!important;border-color:rgba(211,68,52,.36)!important}
#hostView #v4413CommandBar .v4413Quick{display:none!important}
#hostView #v4413CommandBar .v4413Warnings{grid-column:1/-1!important;margin-top:0!important;padding:9px 10px!important;border:1px solid rgba(209,91,70,.16)!important;border-radius:8px!important;background:rgba(95,29,21,.10)!important;color:#c6b7b2!important}
#hostView #v4413CommandBar .v4413Warnings.on{display:flex!important}
#hostView #v4413CommandBar .v4413Warnings b{font-size:9px!important;letter-spacing:.13em!important;color:#e38272!important}
#hostView #v4413CommandBar .v4413Warnings span{font-size:11px!important;line-height:1.45!important}

/* QA tools live inside the session strip instead of floating over the sidebar footer. */
#v125QaActions{display:none;align-items:center;gap:7px;align-self:center}
body.v4411QaMode #v125QaActions{display:flex}
#v125QaActions #v108QaToggle,#v125QaActions #v109MirrorQuick{
  position:static!important;inset:auto!important;transform:none!important;display:inline-flex!important;
  min-height:38px!important;margin:0!important;padding:0 11px!important;border-radius:8px!important;
  box-shadow:none!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;
}
body.v108QaPanelOpen #v125QaActions #v108QaToggle{display:none!important}
/* Fallback: if JS has not moved them yet, do not sit on the bottom of the cockpit. */
body.v4411QaMode > #v108QaToggle,body.v4411QaMode > #v109MirrorQuick{bottom:auto!important;top:142px!important}

/* Stronger notification affordance. */
#hostView #v412NotifButton{
  width:auto!important;min-width:92px!important;height:38px!important;padding:0 10px!important;gap:7px!important;
  border-radius:8px!important;background:rgba(255,255,255,.022)!important;color:#c7cdd0!important;font-size:14px!important;
}
#hostView #v412NotifButton .v125NotifLabel{display:inline!important;font-size:9px!important;font-weight:950!important;letter-spacing:.10em!important;text-transform:uppercase!important}
#hostView #v412NotifButton.hasUnread{border-color:rgba(211,72,56,.46)!important;background:rgba(106,29,22,.20)!important;color:#f1d0ca!important;box-shadow:0 0 0 1px rgba(211,72,56,.10)!important}
.v412NotifBadge{right:-6px!important;top:-7px!important;min-width:21px!important;height:21px!important;font-size:10px!important;box-shadow:0 0 0 3px #070a0d!important}
.v412NotifStack{width:min(440px,calc(100vw - 28px))!important;top:132px!important;gap:10px!important}
.v412Toast{padding:14px 14px!important;grid-template-columns:34px 1fr auto!important;border-radius:11px!important;background:rgba(7,10,13,.985)!important;box-shadow:0 22px 55px rgba(0,0,0,.48)!important}
.v412ToastText strong{font-size:13px!important}.v412ToastText small{font-size:11px!important;line-height:1.45!important}.v412ToastIcon{font-size:19px!important}
.v412NotifPanel{top:128px!important;width:min(450px,calc(100vw - 32px))!important;border-color:rgba(255,255,255,.10)!important}
.v412NotifHead strong{font-size:13px!important}.v412NotifItem{padding:12px 10px!important}.v412NotifItem strong{font-size:12px!important}.v412NotifItem small{font-size:10px!important;line-height:1.45!important}

/* Premium native selects: still reliable, but no Excel look. */
#hostView .v117EditGrid select,#hostView .v117SelectLabel select,#hostView #modeSelect{
  -webkit-appearance:none!important;appearance:none!important;
  min-height:48px!important;padding:0 44px 0 14px!important;
  border:1px solid rgba(255,255,255,.09)!important;border-radius:10px!important;
  color:#edf0f1!important;font-size:13px!important;font-weight:750!important;letter-spacing:.015em!important;
  background-color:#080b0e!important;
  background-image:linear-gradient(45deg,transparent 50%,#89939a 50%),linear-gradient(135deg,#89939a 50%,transparent 50%),linear-gradient(to right,rgba(255,255,255,.055),rgba(255,255,255,.055))!important;
  background-position:calc(100% - 19px) 20px,calc(100% - 14px) 20px,calc(100% - 38px) 0!important;
  background-size:5px 5px,5px 5px,1px 100%!important;background-repeat:no-repeat!important;
  box-shadow:inset 0 1px rgba(255,255,255,.018)!important;cursor:pointer!important;
}
#hostView .v117EditGrid select:hover,#hostView .v117SelectLabel select:hover,#hostView #modeSelect:hover{border-color:rgba(202,79,62,.28)!important;background-color:#0a0e11!important}
#hostView .v117EditGrid select:focus,#hostView .v117SelectLabel select:focus,#hostView #modeSelect:focus{outline:none!important;border-color:rgba(210,78,61,.52)!important;box-shadow:0 0 0 3px rgba(142,39,29,.12)!important}
#hostView select option{background:#0a0d10;color:#e6e8e9}

@media(max-width:1180px){
  #hostView #v4413CommandBar{position:relative!important;top:auto!important;grid-template-columns:1fr!important}
  #hostView #v4413CommandBar .v4413Vital{min-width:92px!important;flex:1 1 92px!important}
  #v125QaActions{justify-content:flex-start}
}


/* V1.0.26 — footer / test tools cleanup */
#hostView .v115NavFooter{position:relative!important;z-index:20!important;margin-top:auto!important;padding:12px 0 max(18px,env(safe-area-inset-bottom))!important;background:linear-gradient(180deg,rgba(4,6,8,0),rgba(4,6,8,.98) 24%)!important}
#hostView .v28HostNav{padding-bottom:0!important}
body.v4411QaMode #hostView:after{content:none!important;display:none!important}
#v125QaActions #v108QaToggle{min-width:126px!important}
#v125QaActions #v108QaToggle span:nth-child(2){font-size:9px!important;letter-spacing:.09em!important}
