/* TM2 — training and development as drawn (mk-auto-training-*, mk-auto-development-*, competencies, check-ins). */
.tm2-card { margin-top: 12px; }
.tm2-card > .tm2-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.tm2-card > .tm2-head h2 { font-size: 15px; font-weight: 700; margin: 0; }
.tm2-foot { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.tm2-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 18px; margin: 0 0 12px; }
.tm2-facts .k { font-size: 12px; color: var(--mu, #64748b); }
.tm2-facts .v { font-size: 14px; font-weight: 600; }
.tm2-filter { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.tm2-filter .md-row { margin: 0; min-width: 220px; }
.tm2-filter input[type=number] { max-width: 140px; }
.tm2-dates { display: inline-flex; gap: 6px; align-items: center; }
.tm2-dates input[type=date] { max-width: 150px; }
.tm2-dates .emp-picker { min-width: 200px; }
.tm2-more { margin-top: 8px; border-top: 1px dashed var(--bd, #e2e8f0); padding-top: 8px; }
.tm2-more > summary { cursor: pointer; font-size: 13px; color: var(--ac, #0f766e); min-height: 36px; display: inline-flex; align-items: center; }
.tm2-who { font-size: 13px; color: var(--mu, #64748b); margin: 0 0 8px; }
.tm2-step { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; border-radius: 999px;
  background: color-mix(in srgb, var(--ac, #0f766e) 12%, transparent); color: var(--ac, #0f766e); font-weight: 700; }
.tm2-rowacts { display: inline-flex; gap: 6px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.tm2-note { font-size: 12px; color: var(--mu, #64748b); }
@media (max-width: 640px), (pointer: coarse) { .tm2-foot .btn, .tm2-rowacts .btn { min-height: 44px; } }
/* the drawn toolbar order, whatever the list toolbar inserts: the search, its chips, then Export and More, then the main button */
.tm2-bar > .lt-search { order: 0; } .tm2-bar > .lt-chips { order: 1; } .tm2-bar > .lt-spacer { order: 2; }
.tm2-bar > .lt-bar { order: 3; } .tm2-bar > .btn.pr { order: 4; }
/* the check-ins search: the box, the employee and the two dates in one row */
.tm2-bar > .lt-search:has(.tm2-dates) { max-width: none; flex: 1 1 560px; }
.tm2-bar > .lt-search:has(.tm2-dates) input[type=search] { min-width: 200px; }
