/* Bộ học liệu AI 12 tiết (bo-hoc-lieu-ai.html, scripts/trang/bo-hoc-lieu-ai.py) */
.hl { display: flex; flex-direction: column; gap: 26px; padding-top: 32px; }
.hl-can-cu { padding: 16px 20px; border-radius: 16px; background: var(--panel); border: 1px dashed var(--edge); font-size: 14.5px; line-height: 1.55; }
.hl-can-cu p { margin: 0 0 10px; color: var(--muted); }
.hl-mach-ds { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 600; }
.hl-mach { display: inline-grid; place-items: center; min-width: 26px; padding: 2px 7px; border-radius: 8px; color: #fff; font: 700 12.5px var(--f-mono); }
.hl-mach-A { background: #7C3AED; } .hl-mach-B { background: #DC2626; } .hl-mach-C { background: #2563EB; } .hl-mach-D { background: #059669; }
.hl-cap h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; font: 800 22px/1.3 var(--f-display); }
.hl-cap h2 small { font: 600 13px var(--f-mono); color: var(--muted); }
.hl-ds { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hl-tiet { border-radius: 16px; background: var(--panel); border: 1.5px solid var(--edge); }
.hl-tiet.is-san { border-color: color-mix(in srgb, #10B981 55%, var(--edge)); }
.hl-dau { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; cursor: default; list-style: none; }
.hl-dau::-webkit-details-marker { display: none; }
summary.hl-dau { cursor: pointer; }
.hl-so { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #0F172A; color: #FDE047; font: 800 16px var(--f-display); }
.hl-ten { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hl-ten b { font: 700 16px/1.35 var(--f-body); }
.hl-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.hl-tt { padding: 3px 10px; border-radius: 999px; background: var(--bg2); color: var(--muted); font: 600 12.5px var(--f-body); white-space: nowrap; }
.hl-tt.is-san { background: #10B981; color: #fff; }
.hl-y { margin: -4px 16px 12px 62px; color: var(--muted); font-size: 14px; }
.hl-chi-tiet[open] summary.hl-dau { border-bottom: 1px dashed var(--edge); }
.hl-than { display: flex; flex-direction: column; gap: 16px; padding: 16px 20px 20px; }
.hl-than h3 { margin: 0 0 6px; font: 800 16px/1.3 var(--f-display); }
.hl-than ul, .hl-than ol { margin: 0; padding-left: 20px; line-height: 1.55; }
.hl-hai { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hl-bang { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.hl-bang td, .hl-bang th { padding: 8px 10px; border: 1px solid var(--edge); vertical-align: top; text-align: left; }
.hl-dg thead th { background: var(--bg2); font: 700 13px var(--f-mono); }
.hl-phut { width: 52px; font: 700 14px var(--f-mono); text-align: center !important; }
.hl-lien { list-style: none; padding: 0 !important; display: grid; gap: 6px; }
.hl-lien a { font-weight: 600; }
.hl-phieu { padding: 14px 16px; border-radius: 12px; border: 2px dashed var(--edge); background: var(--bg); }
.hl-phieu ol { display: grid; gap: 10px; }
.hl-dong { display: block; height: 26px; border-bottom: 1px solid var(--edge); }
.hl-ten-hs span { display: inline-block; width: 180px; border-bottom: 1px solid var(--edge); margin-right: 14px; }
.hl-the-in .hl-hd { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.hl-the { list-style: none; padding: 0 !important; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.hl-the li { padding: 12px 14px; border: 2px dashed var(--edge); border-radius: 10px; background: var(--bg); font-size: 14.5px; line-height: 1.45; break-inside: avoid; }
.hl-khong-mang { margin: 0; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, #F59E0B 12%, var(--panel)); font-size: 14.5px; }
.hl-nut { margin: 0; }
.hl-in-dau { display: none; }
.hl-cuoi { padding: 20px 22px; border-radius: 20px; background: #FEF9C3; color: #0F172A; border: 2px solid #0F172A; box-shadow: 4px 4px 0 #0F172A; }
.hl-cuoi h2 { margin: 0 0 6px; font: 800 20px var(--f-display); }
.hl-cuoi p { margin: 0 0 12px; }
@media (max-width: 760px) { .hl-hai { grid-template-columns: 1fr; } .hl-y { margin-left: 16px; } .hl-ten-hs span { width: 120px; } }
@media print {
  html.hl-dang-in body * { visibility: hidden !important; }
  html.hl-dang-in .hl-in-day, html.hl-dang-in .hl-in-day * { visibility: visible !important; }
  html.hl-dang-in .hl-in-day { position: absolute; left: 0; top: 0; width: 100%; padding: 0; background: #fff; color: #111; }
  html.hl-dang-in .hl-in-day .hl-nut, html.hl-dang-in .hl-in-day .hl-khong-in { display: none !important; }
  html.hl-dang-in .hl-in-dau { display: block; font: 700 13px var(--f-mono); }
  .hl-phieu, .hl-the-in { break-before: page; border-color: #999; }
  .hl-the li { border-color: #999; }
  .hl-bang td, .hl-bang th { border-color: #999; }
}
