/* Coach OS v3.31 • Light-mode colour system for Session Planner interactive panels */

/* Light mode: use brand colour families instead of near-black islands. */
body:not([data-coach-theme="dark"]) #sessions .session-mode-switch{
  background:#e8f2ee!important;
  border:1px solid #bdd4cb!important;
  box-shadow:0 5px 16px rgba(18,63,53,.06)!important;
}
body:not([data-coach-theme="dark"]) #sessions .session-mode-switch button{
  color:#31594f!important;
  background:transparent!important;
}
body:not([data-coach-theme="dark"]) #sessions .session-mode-switch button:hover{
  background:#d8e9e2!important;
  color:#123f35!important;
}
body:not([data-coach-theme="dark"]) #sessions .session-mode-switch button.active{
  background:#155447!important;
  color:#fffdf9!important;
  box-shadow:0 5px 14px rgba(18,63,53,.18)!important;
}

body:not([data-coach-theme="dark"]) #sessions .cohort-builder{
  background:linear-gradient(145deg,#f2effb,#faf8ff)!important;
  border:1px solid #d7cfea!important;
  color:#2d2532!important;
}
body:not([data-coach-theme="dark"]) #sessions .cohort-builder label{
  color:#4a3f50!important;
}
body:not([data-coach-theme="dark"]) #sessions .cohort-help{
  background:#eaf1ff!important;
  border:1px solid #c8d6f5!important;
  color:#354667!important;
}
body:not([data-coach-theme="dark"]) #sessions .cohort-help b{color:#243757!important}
body:not([data-coach-theme="dark"]) #sessions .cohort-feasibility{
  background:#fff8ed!important;
  border:1px solid #ead8ba!important;
  color:#5b4931!important;
}
body:not([data-coach-theme="dark"]) #sessions .cohort-feasibility strong{color:#3e2f1d!important}
body:not([data-coach-theme="dark"]) #sessions .cohort-feasibility.warn{
  background:#fff0f4!important;
  border-color:#efbfd0!important;
  color:#6b3347!important;
}

body:not([data-coach-theme="dark"]) #sessions .builder-player-block{
  background:linear-gradient(145deg,#edf6f2,#f8fcfa)!important;
  border:1px solid #c9ded6!important;
  color:#253d36!important;
}
body:not([data-coach-theme="dark"]) #sessions .builder-player-block label{color:#294c43!important}
body:not([data-coach-theme="dark"]) #sessions .builder-player-block :is(.builder-counter,.structured-select-note,.small-muted){
  color:#5d6d67!important;
}
body:not([data-coach-theme="dark"]) #sessions .session-player-chip{
  background:#fff!important;
  border:1px solid #bfd4cc!important;
  color:#29483f!important;
  box-shadow:0 2px 7px rgba(18,63,53,.04)!important;
}
body:not([data-coach-theme="dark"]) #sessions .session-player-chip:hover{
  background:#e4f1ec!important;
  border-color:#7fab9c!important;
}
body:not([data-coach-theme="dark"]) #sessions .session-player-chip.active{
  background:#f04f87!important;
  border-color:#f04f87!important;
  color:#fff!important;
}
body:not([data-coach-theme="dark"]) #sessions .cohort-linked-note{
  background:#e2eee9!important;
  border:1px solid #c1d7cf!important;
  color:#3f5d54!important;
}

/* Dark mode: keep the same hierarchy with genuinely dark, readable surfaces. */
body[data-coach-theme="dark"] #sessions .session-mode-switch{
  background:#211c21!important;
  border-color:#574a52!important;
}
body[data-coach-theme="dark"] #sessions .session-mode-switch button{color:#c9bcc3!important}
body[data-coach-theme="dark"] #sessions .session-mode-switch button:hover{background:#30282e!important;color:#fff8f1!important}
body[data-coach-theme="dark"] #sessions .session-mode-switch button.active{background:#285e52!important;color:#fff!important}
body[data-coach-theme="dark"] #sessions :is(.cohort-builder,.builder-player-block){
  background:#251f25!important;
  border-color:#574a52!important;
  color:#fff8f1!important;
}
body[data-coach-theme="dark"] #sessions .cohort-help{background:#202a40!important;border-color:#435274!important;color:#d8e1fa!important}
body[data-coach-theme="dark"] #sessions .cohort-feasibility{background:#30291f!important;border-color:#675b48!important;color:#e4d7c2!important}
body[data-coach-theme="dark"] #sessions .cohort-feasibility strong{color:#fff3df!important}
body[data-coach-theme="dark"] #sessions .cohort-feasibility.warn{background:#3b252f!important;border-color:#7c465d!important;color:#f5d6e1!important}
body[data-coach-theme="dark"] #sessions .cohort-linked-note{background:#29332f!important;border:1px solid #435b52!important;color:#d2e5de!important}
body[data-coach-theme="dark"] #sessions .session-player-chip{background:#30282e!important;border-color:#5b4d55!important;color:#f1e7ec!important}
body[data-coach-theme="dark"] #sessions .session-player-chip:hover{background:#3a3037!important;border-color:#806c77!important}
body[data-coach-theme="dark"] #sessions .session-player-chip.active{background:#f04f87!important;border-color:#f04f87!important;color:#fff!important}

@media(max-width:760px){
  #sessions .session-mode-switch button{min-height:42px!important;font-size:10.5px!important}
  #sessions :is(.cohort-builder,.builder-player-block){padding:12px!important}
  #sessions .session-player-chip{min-height:40px!important}
}
