/* Train365 Core 1.4.6 — accessible contrast and four-language knowledge cards */
body.t365-sr-active .t365-coreux-contrast-fix146,
body.t365-sr-active .t365-coreux-contrast-fix146 :is(span,strong,em){color:var(--t365-contrast-146,#192a49)!important;-webkit-text-fill-color:var(--t365-contrast-146,#192a49)!important;text-shadow:none!important}
body.t365-sr-active .t365-knowledge-146{margin:clamp(36px,5vw,70px) auto!important;padding:clamp(28px,3.5vw,54px) 0;position:relative;isolation:isolate}
body.t365-sr-active .t365-knowledge-heading{max-width:850px;margin-bottom:30px}
body.t365-sr-active .t365-knowledge-kicker{color:#2b6384;font-size:.75rem;font-weight:850;letter-spacing:.12em}
body.t365-sr-active .t365-knowledge-heading h2{color:#17233e!important;font-size:clamp(1.9rem,3.25vw,3.6rem)!important;font-weight:850;line-height:1.15;letter-spacing:-.045em;margin:10px 0 12px}
body.t365-sr-active .t365-knowledge-heading p{font-size:1.05rem;color:#566b88;line-height:1.55;margin:0 0 12px}
body.t365-sr-active .t365-knowledge-total{display:inline-flex;border-radius:20px;background:#e4f9d8;color:#225726;padding:5px 12px;font-weight:800;font-size:.8rem}
body.t365-sr-active .t365-knowledge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.t365-sr-active .t365-knowledge-card{display:flex;flex-direction:column;min-width:0;background:white;border:1px solid #d9e4f3;border-radius:20px;padding:clamp(20px,2vw,29px);box-shadow:0 8px 25px #18345a08}
body.t365-sr-active .t365-knowledge-category{color:#335d88;text-transform:uppercase;letter-spacing:.08em;font-size:.71rem;font-weight:820}
body.t365-sr-active .t365-knowledge-card h3{color:#182847!important;font-weight:840!important;font-size:clamp(1.2rem,1.55vw,1.48rem)!important;line-height:1.25!important;margin:15px 0!important;letter-spacing:-.02em}
body.t365-sr-active .t365-knowledge-card p{color:#556b88;font-size:.93rem;line-height:1.6;margin:0 0 17px}
body.t365-sr-active .t365-knowledge-card details{margin-top:auto;border-top:1px solid #ecf0f7;padding-top:12px}
body.t365-sr-active .t365-knowledge-card summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;list-style:none;color:#297231;font-weight:800;min-height:34px}
body.t365-sr-active .t365-knowledge-card summary::-webkit-details-marker{display:none}
body.t365-sr-active .t365-knowledge-card summary:focus-visible{outline:2px solid #73d216;outline-offset:4px}
body.t365-sr-active .t365-knowledge-guide-body{padding-top:12px;font-size:.88rem;color:#384e6b;line-height:1.6}
body.t365-sr-active .t365-knowledge-guide-body strong{font-weight:850;color:#243d5d}
body.t365-sr-active .t365-knowledge-guide-body ol{margin:12px 0 18px!important;padding-left:21px!important}
body.t365-sr-active .t365-knowledge-guide-body li{padding:0 0 7px 3px}
body.t365-sr-active .t365-knowledge-guide-body a{font-weight:800;color:#17692b;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1100px){body.t365-sr-active .t365-knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body.t365-sr-active .t365-knowledge-grid{grid-template-columns:1fr}body.t365-sr-active .t365-knowledge-146{width:calc(100% - 30px)!important}body.t365-sr-active .t365-knowledge-card{padding:22px}}

body.t365-sr-active main .t365-coreux-status-banner146 :is(h1,h2,h3,h4){color:#f7faff!important;-webkit-text-fill-color:#f7faff!important;text-shadow:none!important}
body.t365-sr-active main .t365-coreux-status-banner146 p{color:#dae5f7!important;-webkit-text-fill-color:#dae5f7!important}
body.t365-sr-active main :is(h1,h2,h3,h4).t365-coreux-contrast-fix146,
body.t365-sr-active main :is(h1,h2,h3,h4).t365-coreux-step-title.t365-coreux-contrast-fix146,
body.t365-sr-active main :is(h1,h2,h3,h4).t365-coreux-contrast-fix146 *{color:var(--t365-contrast-146,#192a49)!important;-webkit-text-fill-color:var(--t365-contrast-146,#192a49)!important;text-shadow:none!important}
body.t365-sr-active main .t365-coreux-status-banner146 :is(h1,h2,h3,h4).t365-coreux-contrast-fix146,
body.t365-sr-active main .t365-coreux-status-banner146 :is(h1,h2,h3,h4){color:#f7faff!important;-webkit-text-fill-color:#f7faff!important;text-shadow:none!important}
body.t365-sr-active .t365-knowledge-controls{margin:0 0 25px}
body.t365-sr-active .t365-knowledge-controls label{display:block;font-size:.85rem;font-weight:800;color:#263a59;margin-bottom:8px}
body.t365-sr-active .t365-knowledge-controls input{width:min(100%,570px);border:1px solid #bfcee5;border-radius:12px;background:#fff;color:#162842;padding:15px 17px;min-height:51px;font-size:1rem}
body.t365-sr-active .t365-knowledge-controls input:focus-visible{outline:3px solid #8ddf53;outline-offset:2px}
body.t365-sr-active .t365-knowledge-filters{display:flex;flex-wrap:wrap;gap:8px;padding-top:14px}
body.t365-sr-active .t365-knowledge-filters button{border:1px solid #d2e2ed;background:#fff;border-radius:20px;padding:8px 14px;color:#314b68;font-weight:750;cursor:pointer}
body.t365-sr-active .t365-knowledge-filters button[aria-pressed="true"]{background:#e1fbd0;color:#1d4f1e;border-color:#9ddb71}
body.t365-sr-active .t365-knowledge-card[hidden]{display:none!important}
body.t365-sr-active .t365-knowledge-empty{color:#596d85;font-size:1rem;padding:24px;border:1px dashed #b8cae0;border-radius:15px}

/* Train365 1.6.1 — dark marketing heroes own their contrast, not the generic light-surface correction. */
body.t365-sr-active main .t365-sales-hero :is(h1,h2,h3).t365-coreux-contrast-fix146,
body.t365-sr-active main .t365-sales-hero :is(h1,h2,h3){
  color:#f6f9ff!important;-webkit-text-fill-color:#f6f9ff!important;
}

/* Train365 2.1: the dark Launch hero is not a light-surface candidate. */
body.t365-sr-active main.t365-launch200-page .t365-launch200-hero :is(h1,h2,h3),
body.t365-sr-active main.t365-launch200-page .t365-launch200-hero :is(h1,h2,h3).t365-coreux-contrast-fix146{
 color:#f5f9ff!important;-webkit-text-fill-color:#f5f9ff!important;opacity:1!important;
}
