/* Southkey Hub - Training module (used by assets/training.js). Separate file because the site's CSP blocks inline styles. */
.tr-lang{margin:0}
.tr-sm{font-size:18px}
.tr-bar{display:block;width:100%;height:8px;margin-top:10px;border:0;border-radius:6px;background:#f1f5f9;overflow:hidden;appearance:none;-webkit-appearance:none}
.tr-bar::-webkit-progress-bar{background:#f1f5f9;border-radius:6px}
.tr-bar::-webkit-progress-value{background:var(--brand);border-radius:6px}
.tr-bar::-moz-progress-bar{background:var(--brand);border-radius:6px}
.tr-cal-card{flex:1 1 320px;max-width:420px}
.tr-up-card{flex:1.4 1 360px;min-width:0}
.tr-up-card h2{text-transform:none}
.tr-cal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.tr-cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.tr-dow{font-size:11px;color:var(--tx2);text-align:center;padding:4px 0;text-transform:capitalize}
.tr-day{min-height:44px;border:1px solid transparent;border-radius:8px;background:#fff;font:inherit;font-size:13px;color:var(--tx);cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px 0}
.tr-day:hover{background:#f8fafc}.tr-day.has{background:#f0f7f7}.tr-day.today{border-color:var(--brand);font-weight:700}
.tr-day.sel{background:var(--brand);color:#fff}
.tr-dots{display:flex;gap:3px;min-height:6px}
.tr-dot{display:inline-block;width:7px;height:7px;border-radius:50%;vertical-align:middle}
.tr-dot.s{background:var(--brand)}.tr-dot.q{background:#d97706}.tr-dot.h{background:#94a3b8}
.tr-key{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:var(--tx2)}
.tr-key span{display:inline-flex;align-items:center;gap:6px}
.tr-up{list-style:none;margin:0;padding:0}
.tr-up li{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid #f1f5f9}
.tr-up li:first-child{border-top:0}
.tr-when{font-size:13px;font-weight:600;color:var(--tx2);white-space:nowrap}
h2.tr-sec{font-size:18px;margin:26px 0 10px}
.tr-nw{white-space:nowrap}
.tr-links{margin:6px 0 0;padding-left:18px;font-size:13px}
.tr-links li{margin:3px 0}
details summary{cursor:pointer;color:var(--brand);font-weight:600;min-height:32px}
.tr-quiz ol.tr-qs{padding-left:22px;margin:14px 0}
.tr-quiz li{margin-bottom:12px;padding:4px 8px;border-radius:8px}
.tr-q{flex-direction:column}.tr-q legend{font-size:14px}
.tr-quiz li.ok-q{background:var(--green-bg)}.tr-quiz li.bad-q{background:var(--red-bg)}
.tr-key-opt{border-color:#86efac!important;background:var(--green-bg)}
.tr-result{margin-top:12px;padding:12px 14px;border-radius:8px}
.tr-result.pass{background:var(--green-bg);color:var(--green)}.tr-result.fail{background:var(--amber-bg);color:var(--amber)}
.tbl.tr-team{min-width:900px;font-size:13px}
.tr-team th,.tr-team td{padding:8px 4px;text-align:center}.tr-team th:first-child,.tr-team td:first-child{text-align:left;padding-left:12px}
.tr-cell{min-width:36px;min-height:36px;border:1px solid var(--line2);border-radius:8px;background:#fff;font:inherit;cursor:pointer;color:var(--tx2)}
.tr-cell.on{background:var(--green-bg);border-color:#86efac;color:var(--green);font-weight:700}
#dashTraining:empty{display:none}
#dashTraining .card{margin-bottom:14px}
@media (max-width:700px){.tr-up li{grid-template-columns:1fr;gap:2px}}
