/* CKM sales .791: finalize LIGHT palette on player history and resume states.
   The Negotiation Master legacy skin hardcodes dark backgrounds on these
   components, so inheritance/theme variables do not affect them.
   Limit changes to light theme within Effective Sales, never global styles. */

/* Unfinished session: light surface, readable heading, clear buttons. */
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-active {
  background:#eef7ff!important; color:#17384f!important; border:1px solid #b6d6e9!important;
  box-shadow:0 3px 12px rgba(24,75,110,.06)!important;
}
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-active > strong {
  color:#193d58!important; font-weight:750;
}
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-active :is(p,span,small) {
  color:#4a687d!important;
}
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-active .ckm-neg-btn:not(.ckm-neg-primary) {
  background:#fff!important; border-color:#a9c7dc!important; color:#173e59!important;
}
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-active .ckm-neg-primary {
  background:#116f9f!important; border-color:#116f9f!important; color:#fff!important;
}

/* Attempts history: rows and active badges were forcing dark backgrounds. */
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen :is(.ckm-neg-attempt-row,.ckm-neg-attempt-state,.ckm-neg-attempt-state.is-active) {
  background:#f6faff!important; border:1px solid #c7ddeb!important; color:#163a55!important;
  box-shadow:none!important;
}
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-attempt-row > div:first-child > strong,
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-attempt-state > strong,
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-attempt-result > strong {
  color:#153c58!important;
}
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen :is(.ckm-neg-attempt-row span,.ckm-neg-attempt-state span,.ckm-neg-attempt-result span) {
  color:#48677e!important;
}
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-attempt-row .ckm-neg-btn {
  background:#fff!important; color:#165b83!important; border:1px solid #accada!important;
  text-decoration:none!important;
}
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-attempt-row .ckm-neg-btn:hover {
  background:#e5f3fb!important; color:#07547a!important; border-color:#4b9ec5!important;
}
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-attempts-card :is(.ckm-neg-attempts-head h3,.ckm-neg-kicker){
  color:#163d59!important;
}
/* Restrict other historical dark tokens that appear in the same list UI. */
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-attempt-state.is-locked {
  background:#fff7ee!important; color:#6c4a24!important; border-color:#ebd0a8!important;
}
html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-attempt-state.is-locked :is(strong,span) {
  color:#765123!important;
}
@media (max-width:680px) {
  html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-attempt-row {
    grid-template-columns:minmax(0,1fr)!important;
  }
  html.ckm-sales-app-html[data-ckm-theme="light"] body.ckm-sales-app-document .ckm-sales-training-screen .ckm-neg-active .ckm-neg-actions {
    grid-template-columns:minmax(0,1fr)!important;
  }
}
