:root {
  --navy: #0B1E36;
  --navy-2: #122B4B;
  --steel: #1E293B;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --gold: #EAB308;
  --bg: #F1F5F9;
  --card: #FFFFFF;
  --border: #CBD5E1;
  --text: #0F172A;
  --muted: #64748B;
  --ok: #15803D;
  --danger: #DC2626;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); }

/* Top Metallic Enterprise Header */
.topbar {
  position: sticky; top: 0; z-index: 60; height: 64px;
  background: linear-gradient(90deg, #071324 0%, var(--navy) 55%, #162F50 100%);
  border-bottom: 3px solid var(--orange);
  color: #fff; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; gap: 12px; box-shadow: 0 4px 18px rgba(7,19,36,0.28);
}
.topbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.menu-btn { display: none; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); color: #fff; padding: 6px 10px; border-radius: 8px; cursor: pointer; font-size: 18px; }
.brand-logo { height: 40px; border-radius: 6px; object-fit: contain; background: #fff; padding: 2px 6px; }
.brand-text h1 { margin: 0; font-size: 16px; letter-spacing: 0.4px; white-space: nowrap; }
.brand-text span { display: block; font-size: 11px; color: #FDBA74; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.user-chip { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 5px 12px; border-radius: 999px; font-size: 12.5px; }
.user-chip b { color: #FDE68A; }

/* App Shell Layout */
.shell { display: grid; grid-template-columns: 270px 1fr; min-height: calc(100vh - 64px); }
.sidebar {
  background: #0F172A; color: #CBD5E1; padding: 16px 12px;
  border-right: 1px solid #1E293B; overflow-y: auto;
}
.nav-group { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; color: #94A3B8; font-weight: 800; padding: 12px 10px 6px; }
.nav-item {
  width: 100%; text-align: left; border: none; background: transparent; color: #E2E8F0;
  padding: 9px 12px; border-radius: 9px; font-size: 13px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 9px; margin-bottom: 3px; transition: .15s;
}
.nav-item:hover { background: rgba(255,255,255,0.08); }
.nav-item.active { background: linear-gradient(90deg, var(--orange) 0%, #EA580C 100%); color: #fff; font-weight: 700; box-shadow: 0 3px 10px rgba(249,115,22,0.35); }
.nav-item.hidden { display: none; }

.main { padding: 22px 26px; min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.page-head h2 { margin: 0; font-size: 22px; color: var(--navy); }
.page-head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* Cards, Grids, Buttons */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.kpi-card { background: var(--card); border: 1px solid #E2E8F0; border-radius: 14px; padding: 18px; border-top: 3px solid var(--orange); box-shadow: 0 1px 3px rgba(15,23,42,0.05), 0 8px 20px rgba(15,23,42,0.03); }
.kpi-card .val { font-size: 26px; font-weight: 900; color: var(--navy); font-variant-numeric: tabular-nums; }
.kpi-card .lbl { font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.panel { background: var(--card); border: 1px solid #E2E8F0; border-radius: 14px; padding: 20px; margin-bottom: 18px; box-shadow: 0 1px 3px rgba(15,23,42,0.05), 0 8px 24px rgba(15,23,42,0.03); }
.panel h3 { margin-top: 0; color: var(--navy); font-size: 16px; letter-spacing: -0.1px; }

/* Enterprise Hub Sub-Navigation Tabs */
.subtabs { display: flex; gap: 8px; flex-wrap: wrap; background: #fff; border: 1px solid #E2E8F0; padding: 6px; border-radius: 12px; margin-bottom: 18px; box-shadow: 0 1px 2px rgba(15,23,42,0.04); }
.subtab { border: none; background: transparent; color: #475569; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; transition: .15s; }
.subtab:hover { background: #F1F5F9; color: var(--navy); }
.subtab.active { background: var(--navy); color: #fff; box-shadow: 0 2px 8px rgba(11,30,54,0.22); }

.btn { border: none; border-radius: 8px; padding: 8px 15px; font-size: 13px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: .15s; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: #fff; color: var(--navy); border: 1px solid var(--border); }
.btn-outline:hover { background: #F8FAFC; }
.btn-danger { background: #FEE2E2; color: #B91C1C; border: 1px solid #FCA5A5; }
.btn-sm { padding: 5px 10px; font-size: 12px; }

.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; flex-shrink: 0; }
.b-ok { background: #DCFCE7; color: #166534; }
.b-warn { background: #FEF3C7; color: #92400E; }
.b-err { background: #FEE2E2; color: #991B1B; }
.b-navy { background: #E0E7FF; color: #1E3A8A; }
.b-gold { background: linear-gradient(90deg, #FDE68A, #F59E0B); color: #78350F; }

.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 11px; border-bottom: 1px solid #E2E8F0; text-align: left; vertical-align: top; }
th { background: #F8FAFC; color: var(--navy); font-weight: 800; font-size: 12px; }
tr:hover td { background: #F8FAFC; }

input, select, textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 13px; background: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

/* Hall of Fame & Trophy Showcase (Executive Enterprise Polish) */
.hof-hero {
  background: radial-gradient(circle at 85% 20%, rgba(249,115,22,0.22) 0%, transparent 45%), linear-gradient(135deg, #071324 0%, #0F2942 65%, #162E4D 100%);
  color: #fff; border-radius: 16px; padding: 26px 30px; margin-bottom: 18px;
  border: 1px solid rgba(198,146,46,0.55); box-shadow: 0 14px 34px rgba(7,19,36,0.22);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.trophy-card {
  background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 14px; padding: 18px;
  display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04), 0 6px 18px rgba(15,23,42,0.03); transition: transform .15s, box-shadow .15s;
}
.trophy-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,30,54,0.09); border-color: #CBD5E1; }
.trophy-icon { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; box-shadow: 0 6px 14px rgba(15,23,42,0.18); }

/* Phòng Truyền Thống GHN — Monumental Museum & Heritage Styling */
.ptt-hero {
  background: radial-gradient(circle at 82% 18%, rgba(245,158,11,0.28) 0%, transparent 42%),
              radial-gradient(circle at 12% 88%, rgba(249,115,22,0.18) 0%, transparent 40%),
              linear-gradient(135deg, #050D1A 0%, #0B1E36 52%, #132C4E 100%);
  color: #fff; border-radius: 18px; padding: 30px 32px; margin-bottom: 20px;
  border: 1px solid rgba(217,164,65,0.62);
  box-shadow: 0 18px 44px rgba(5,13,26,0.28), inset 0 1px 0 rgba(255,235,175,0.22);
  position: relative; overflow: hidden;
}
.ptt-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px;
  background: rgba(217,164,65,0.16); border: 1px solid rgba(251,191,36,0.45);
  color: #FDE68A; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}
.ptt-hero-title {
  margin: 10px 0 6px; font-size: 28px; font-weight: 900; letter-spacing: .5px;
  background: linear-gradient(90deg, #FFFFFF 0%, #FDE68A 65%, #F59E0B 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.ptt-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 12px; margin-top: 18px; }
.ptt-stat-box {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(253,230,138,0.22);
  border-radius: 12px; padding: 12px 14px; backdrop-filter: blur(6px);
}
.ptt-stat-num { font-size: 22px; font-weight: 900; color: #FDE68A; font-variant-numeric: tabular-nums; }
.ptt-stat-lbl { font-size: 11.5px; color: #CBD5E1; margin-top: 2px; }

.emp-avatar {
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
  background: linear-gradient(135deg, #0B1E36 0%, #1E3A8A 100%);
  color: #FDE68A; font-weight: 900; display: inline-flex; align-items: center; justify-content: center;
  border: 2.5px solid #D97706; box-shadow: 0 4px 12px rgba(11,30,54,0.22);
  letter-spacing: .4px;
}
.emp-avatar.tier-1 { border-color: #F59E0B; box-shadow: 0 0 0 3px rgba(245,158,11,0.25), 0 6px 14px rgba(180,83,9,0.28); }
.emp-avatar.tier-2 { border-color: #94A3B8; box-shadow: 0 0 0 3px rgba(148,163,184,0.22); }
.emp-avatar.tier-3 { border-color: #D97706; }

@keyframes pttGoldShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pttSparklePulse {
  0%, 100% { opacity: 0.45; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.08); }
}

.ptt-legends-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 22px; }
.ptt-legend-panel {
  position: relative; border-radius: 18px; padding: 20px 22px; overflow: hidden;
  background: radial-gradient(circle at 85% 12%, rgba(251,191,36,0.22) 0%, transparent 45%),
              radial-gradient(circle at 12% 88%, rgba(249,115,22,0.16) 0%, transparent 42%),
              linear-gradient(145deg, #061020 0%, #0D223E 55%, #16335A 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 18px 42px rgba(7,19,36,0.32), 0 0 24px rgba(245,158,11,0.18);
  color: #fff;
}
.ptt-legend-panel::before {
  content: ''; position: absolute; inset: -2px; border-radius: 19px; z-index: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(245,158,11,0.35), rgba(253,230,138,0.95), rgba(249,115,22,0.45), rgba(253,230,138,0.9), rgba(245,158,11,0.35));
  background-size: 240% 240%;
  animation: pttGoldShimmer 4.5s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
}
.ptt-legend-panel::after {
  content: '✦ ✧ ✦'; position: absolute; top: 12px; right: 78px; font-size: 13px; letter-spacing: 6px;
  color: #FDE68A; pointer-events: none; animation: pttSparklePulse 2.8s ease-in-out infinite;
}
.ptt-legend-panel > * { position: relative; z-index: 1; }
.ptt-legend-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 13px; border-radius: 12px; margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px); cursor: pointer; transition: .18s;
}
.ptt-legend-row:hover { border-color: #FBBF24; background: rgba(251,191,36,0.16); transform: translateX(3px); }
.ptt-legend-row.top1 {
  background: linear-gradient(90deg, rgba(245,158,11,0.28) 0%, rgba(251,191,36,0.10) 75%, rgba(255,255,255,0.06) 100%);
  border: 1.5px solid rgba(251,191,36,0.75);
  box-shadow: 0 6px 20px rgba(245,158,11,0.22);
}

.ptt-year-banner {
  background: linear-gradient(135deg, #0B1E36 0%, #163358 100%);
  color: #fff; border-radius: 14px; padding: 16px 20px; margin-bottom: 14px;
  border: 1px solid rgba(245,158,11,0.55); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.ptt-tier-section {
  background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 16px; padding: 20px; margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.ptt-tier-section.annual {
  background: linear-gradient(180deg, #FFFBEB 0%, #FFFFFF 38%);
  border: 2.5px solid #D97706;
  padding: 0; overflow: hidden;
  box-shadow: 0 16px 38px rgba(180,83,9,0.14), 0 0 0 4px rgba(245,158,11,0.12);
}
.ptt-annual-header {
  background: linear-gradient(135deg, #071324 0%, #132C4E 70%, #1E3A5F 100%);
  color: #fff; padding: 16px 22px; border-bottom: 2px solid #D97706;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.ptt-annual-body { padding: 20px; }
.ptt-section-head {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid #E2E8F0;
}
.ptt-honor-card {
  background: #FFFFFF; border: 1.5px solid #E2E8F0; border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; gap: 10px; transition: .15s; position: relative;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.ptt-honor-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11,30,54,0.12); }
.ptt-honor-card.tier-annual-1 {
  background: linear-gradient(155deg, #FEF3C7 0%, #FFFBEB 35%, #FFFFFF 100%);
  border: 2px solid #D97706; border-left: 6px solid #F59E0B;
  box-shadow: 0 8px 24px rgba(217,119,6,0.16);
}
.ptt-honor-card.tier-annual-2 {
  background: linear-gradient(155deg, #F1F5F9 0%, #F8FAFC 45%, #FFFFFF 100%);
  border: 2px solid #94A3B8; border-left: 6px solid #64748B;
  box-shadow: 0 6px 18px rgba(71,85,105,0.11);
}
.ptt-honor-card.tier-annual-3 {
  background: linear-gradient(155deg, #FFEDD5 0%, #FFF7ED 40%, #FFFFFF 100%);
  border: 2px solid #EA580C; border-left: 6px solid #C2410C;
  box-shadow: 0 6px 18px rgba(194,65,12,0.11);
}
.ptt-honor-card.tier-monthly-kd {
  border: 1.5px solid #FED7AA; border-left: 5px solid #F97316;
}
.ptt-honor-card.tier-monthly-dp {
  border: 1.5px solid #A7F3D0; border-left: 5px solid #10B981;
}
.ptt-realtime-box {
  background: linear-gradient(135deg, #09192F 0%, #122947 100%);
  color: #fff; border: 1.5px solid rgba(56,189,248,0.45); border-radius: 16px;
  padding: 18px 22px; margin-bottom: 20px; box-shadow: 0 10px 28px rgba(7,19,36,0.16);
}
.ptt-timeline { position: relative; padding-left: 26px; border-left: 3px solid #D97706; display: grid; gap: 14px; }
.ptt-timeline-item { position: relative; background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 14px 16px; }
.ptt-timeline-item::before {
  content: ''; position: absolute; left: -35px; top: 18px; width: 14px; height: 14px;
  border-radius: 50%; background: #F59E0B; border: 3px solid #0B1E36; box-shadow: 0 0 0 3px rgba(245,158,11,0.25);
}
@media (max-width: 900px) {
  .ptt-legends-grid { grid-template-columns: 1fr; }
  .ptt-hero-stats { grid-template-columns: 1fr; }
}

/* Academy Workspace Split */
.lms-split { display: grid; grid-template-columns: 340px 1fr; gap: 16px; align-items: start; }
.lesson-row { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; background: #fff; transition: .12s; }
.lesson-row:hover { border-color: var(--orange); background: #FFF7ED; }
.lesson-row.active { border-color: var(--orange); background: #FFF7ED; box-shadow: 0 0 0 2px rgba(249,115,22,0.2); }
.md-body { line-height: 1.65; font-size: 14px; }
.md-body h1, .md-body h2, .md-body h3 { color: var(--navy); }
.md-body table { border: 1px solid var(--border); margin: 12px 0; }
.md-body th, .md-body td { border: 1px solid var(--border); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 12px 0; }
.media-grid img { width: 100%; border-radius: 8px; border: 1px solid var(--border); cursor: pointer; }

/* Flashcards & Exam Runner */
.fc-card { border: 2px solid var(--navy); border-radius: 12px; padding: 16px; background: #fff; cursor: pointer; min-height: 120px; }
.fc-card.flipped { background: #FFFBEB; border-color: var(--orange); }
.exam-q { border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin-bottom: 12px; background: #fff; }
.exam-opt { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border: 1px solid #E2E8F0; border-radius: 8px; margin-top: 6px; cursor: pointer; }
.exam-opt input { width: auto; margin-top: 3px; }

/* Login Overlay & Modals */
.modal-backdrop { position: fixed; inset: 0; background: rgba(7,19,36,0.78); backdrop-filter: blur(4px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-backdrop.hidden { display: none; }
.modal-card { background: #fff; border-radius: 16px; max-width: 620px; width: 100%; padding: 24px; box-shadow: 0 24px 54px rgba(0,0,0,0.35); max-height: 92vh; overflow-y: auto; }
#demoDirectoryGrid { max-height: 230px; overflow-y: auto; padding-right: 4px; }
.demo-pill { border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 12px; cursor: pointer; background: #F8FAFC; text-align: left; color: var(--text); width: 100%; display: block; }
.demo-pill:hover { border-color: var(--orange); background: #FFF7ED; }

.toast { position: fixed; bottom: 20px; right: 20px; z-index: 150; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; border-left: 4px solid var(--orange); font-size: 13px; font-weight: 700; box-shadow: 0 10px 24px rgba(0,0,0,0.28); display: none; }

/* Responsive Tablet & Mobile */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .lms-split { grid-template-columns: 1fr; }
  .user-chip span, .user-chip b { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 780px) {
  html, body { overflow-x: hidden; }
  .topbar { height: auto; min-height: 58px; padding: 8px 12px; flex-wrap: wrap; gap: 8px; }
  .topbar-left { width: 100%; justify-content: flex-start; }
  .topbar-right { width: 100%; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
  .user-chip { display: none; }
  .menu-btn { display: inline-flex; flex-shrink: 0; position: relative; z-index: 5; }
  .brand-text h1 { font-size: 14px; white-space: normal; }
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; top: 96px; bottom: 0; left: -290px; width: 270px; z-index: 80; transition: left .2s ease; }
  .sidebar.open { left: 0; }
  .grid-4, .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .brand-text span { display: none; }
  .main { padding: 14px; overflow-x: hidden; }
}

/* GHN Synchronized Detailed Video Lecture Player (10-30 min) */
.ghn-lecture-player {
  background: #071324; color: #fff; border-radius: 16px; overflow: hidden;
  border: 1.5px solid #1E3A5F; box-shadow: 0 14px 36px rgba(7,19,36,0.24); margin: 14px 0 20px;
}
.ghn-lecture-topbar {
  background: linear-gradient(90deg, #0B1E36 0%, #163358 100%); padding: 12px 18px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.ghn-lecture-stage {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; min-height: 360px;
}
.ghn-lecture-visual {
  background: #040B16; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.ghn-lecture-visual img {
  width: 100%; max-height: 290px; object-fit: contain; border-radius: 10px; background: #0B1E36; border: 1px solid rgba(255,255,255,0.15);
}
.ghn-lecture-sub {
  background: rgba(15,41,66,0.92); border-left: 4px solid #F97316; padding: 10px 14px; border-radius: 8px;
  font-size: 13px; line-height: 1.55; color: #F1F5F9; min-height: 58px;
}
.ghn-lecture-sidebar {
  background: #0B1E36; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; max-height: 430px; overflow-y: auto;
}
.ghn-ch-btn {
  text-align: left; width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  color: #E2E8F0; border-radius: 10px; padding: 9px 11px; cursor: pointer; font-size: 12.5px; transition: .15s;
}
.ghn-ch-btn:hover { background: rgba(249,115,22,0.18); border-color: #F97316; }
.ghn-ch-btn.active { background: rgba(249,115,22,0.28); border-color: #FDBA74; color: #fff; font-weight: 700; }
.ghn-lecture-controls {
  background: #091628; padding: 11px 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 900px) { .ghn-lecture-stage { grid-template-columns: 1fr; } }

/* ===== Bảo vệ học liệu (máy thật — CEO 07/12/2026) ===== */
.acad-protected body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.acad-protected input, .acad-protected textarea, .acad-protected select, .acad-protected [contenteditable="true"] { -webkit-user-select: text; user-select: text; }
.acad-protected img, .acad-protected video { -webkit-user-drag: none; }
.acad-wm { position: fixed; inset: 0; pointer-events: none; z-index: 2147483000; background-image: var(--acad-wm); background-repeat: repeat; }
.acad-wm-local { position: absolute; z-index: 5; }
.acad-media { position: relative; }
.acad-media .acad-fs-btn { position: absolute; right: 10px; top: 10px; z-index: 6; border: 0; border-radius: 8px; padding: 4px 9px; font-size: 16px; line-height: 1; background: rgba(15, 23, 42, .65); color: #fff; cursor: pointer; }
.acad-media:fullscreen { background: #000; display: flex; align-items: center; justify-content: center; }
.acad-media:fullscreen video { max-height: 100vh; width: 100%; }
.acad-lightbox { display: none; position: fixed; inset: 0; z-index: 2147482000; background: rgba(2, 6, 23, .88); align-items: center; justify-content: center; flex-direction: column; padding: 24px; cursor: zoom-out; }
.acad-lightbox.show { display: flex; }
.acad-lightbox img { max-width: 96vw; max-height: 86vh; border-radius: 10px; }
.acad-lightbox-cap { color: #CBD5E1; font-size: 13px; margin-top: 10px; text-align: center; }
.acad-session-box { position: fixed; inset: 0; z-index: 2147483600; display: flex; align-items: center; justify-content: center; background: rgba(11, 30, 54, .92); color: #F8FAFC; text-align: center; font-size: 15px; line-height: 1.6; padding: 24px; }
@media print {
  .acad-protected body > * { display: none !important; }
  .acad-protected body::before { content: "Nội dung GHN Academy chỉ xem trên CRM, không in được."; display: block; padding: 40px; font: 16px sans-serif; }
}
