/* Admin Learning screens: courses, lessons, notes library, certificate tracks (admin_learning.js) */
.al-item { margin-bottom: 12px; }
.al-loading { text-align: center; padding: 26px 12px; color: var(--muted); }
.al-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.al-grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.al-grow b { overflow-wrap: anywhere; }
.al-emoji { flex: none; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; background: var(--surface-2); }
.al-type { flex: none; width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); font-size: 15px; }
.al-ic { min-width: 44px; padding: 0 10px; flex: none; }
.al-ic[disabled] { opacity: .35; cursor: default; }
.al-sub { margin-top: 22px; }
.head.al-sub { align-items: center; margin-bottom: 10px; }
.head.al-sub .section-title { margin: 0; }
[data-chapter] { margin-bottom: 12px; }
[data-chapter] .list { margin-top: 8px; }
.al-danger { margin-top: 24px; }
.al-lbl { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.al-boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0 12px; }
.al-boxes .check { margin-bottom: 8px; min-height: 32px; }
.al-color { padding: 4px; height: 44px; cursor: pointer; }
.al-seg { margin-bottom: 10px; }
.al-nrow { align-items: flex-start; }
.al-racts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.al-warn { color: var(--warn); }
.al-bank { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
#lfBox [hidden] { display: none !important; }
@media (max-width: 400px) {
  .al-top { flex-wrap: wrap; }
  .al-top > .chip { order: 3; }
  [data-chapter] .row { flex-wrap: wrap; }
  [data-chapter] .row .grow { flex-basis: calc(100% - 42px); }
}
