:root {
  --navy:#1C355F; --navy-2:#274B85; --acc:#0E6EA0; --acc-lite:#2EA5D6; --acc-soft:#EAF6FD;
  --bg:#F7F9FC; --card:#FFFFFF; --line:#E5E7EB; --line-2:#D1D5DB;
  --muted:#6B7280; --text:#1F2937;
  --ok:#065F46; --okbg:#D1FAE5; --warn:#B45309; --warnbg:#FEF3E2;
  --err:#991B1B; --errbg:#FEE2E2;
  --radius:6px; --shadow:0 1px 2px rgba(16,24,40,.06);
}
* { box-sizing:border-box; margin:0; }
html { scroll-behavior:smooth; }
body { font-family:Arial,"Helvetica Neue",Helvetica,system-ui,-apple-system,sans-serif;
  background:var(--bg); color:var(--text); line-height:1.6; }
img { max-width:100%; }
a { color:var(--navy-2); }

@media (min-width:1240px) { body:not(.exam) { zoom:1.10; } }
@media (min-width:1700px) { body:not(.exam) { zoom:1.15; } }
.wrap { max-width:1080px; margin:0 auto; padding:0 20px; }
.muted { color:var(--muted); }
.hidden { display:none !important; }

.site-header { background:#fff; border-bottom:1px solid var(--line-2); position:sticky; top:0; z-index:200; }
.site-header .top-row { display:flex; align-items:center; gap:20px; height:58px; }
.site-logo { display:flex; align-items:center; gap:9px; text-decoration:none; flex:none; }
.site-logo img { height:36px; }
.site-logo span { font-weight:800; color:var(--navy); font-size:15px; letter-spacing:.2px; }
.header-cta { margin-left:auto; display:flex; gap:9px; align-items:center; }
.header-cta > .btn { padding:8px 15px; font-size:13.5px; }
.cta-stack { display:flex; flex-direction:column; align-items:stretch; gap:3px; min-width:0; }
.cta-stack .btn { padding:4px 13px; font-size:12.5px; line-height:1.4; border-radius:8px;
  max-width:250px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.btn { display:inline-block; border:0; border-radius:4px; padding:10px 18px; font-size:14px;
  font-weight:700; cursor:pointer; text-decoration:none; text-align:center;
  -webkit-user-select:none; user-select:none; touch-action:manipulation; }
.btn-acc { background:var(--acc); color:#fff; }
.btn-acc:hover { background:#0A5A84; }
.btn-navy { background:var(--navy); color:#fff; }
.btn-navy:hover { background:#274B85; }
.btn-outline { background:#fff; color:var(--navy); border:1px solid var(--line-2); }
.btn-outline:hover { border-color:var(--navy); background:#F3F6FB; }
.btn-lg { padding:14px 28px; font-size:16px; }
.btn[disabled] { opacity:.5; cursor:not-allowed; }

.tabbar { background:#EEF2F8; border-top:1px solid var(--line-2); border-bottom:1px solid var(--line-2); }
.main-nav { position:relative; display:flex; gap:0; align-items:stretch; justify-content:flex-start; }
.nav-item { position:static; display:flex; border-right:1px solid #DCE3ED; }
.nav-item:first-child { border-left:1px solid #DCE3ED; }
.main-nav a { position:relative; text-decoration:none; color:#374151; font-size:13.5px; font-weight:700;
  padding:12px 16px; border-bottom:3px solid transparent; border-radius:0;
  flex:0 0 auto; text-align:center; line-height:1.35; white-space:nowrap;
  display:flex; flex-direction:row; align-items:center; gap:7px; justify-content:center;
  transition:color .14s, background .14s, border-color .14s; }
.main-nav a:hover { color:var(--navy); background:#E3EAF4; }
.main-nav a.active { color:var(--navy); background:#fff; border-bottom-color:var(--acc);
  margin-bottom:-1px; padding-bottom:13px; }
.main-nav a.active:hover { background:#fff; }
.main-nav a .t-badge { background:#fff; color:var(--navy); border:1px solid var(--line-2);
  font-size:9.5px; font-weight:800; letter-spacing:.5px; border-radius:3px;
  padding:2px 5px; line-height:1.4; flex:none; }
.main-nav a.active .t-badge { border-color:var(--acc); color:var(--acc); }
.main-nav a .t-badge.quantrong,
.main-nav a.active .t-badge.quantrong { background:var(--navy); border-color:var(--navy); color:#fff; }
.main-nav a .t-badge.hot,
.main-nav a.active .t-badge.hot,
.main-nav a .t-badge.free,
.main-nav a.active .t-badge.free { background:var(--acc); border-color:var(--acc); color:#fff; }
.nav-drop { position:absolute; top:100%; left:0; right:0; z-index:60;
  display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:12px 14px;
  background:#F4F7FB; border-bottom:1px solid var(--line-2);
  box-shadow:0 10px 24px rgba(16,24,40,.12);
  opacity:0; visibility:hidden; transform:translateY(-4px); transition:.14s ease; }
.nav-item.has-drop:hover .nav-drop, .nav-item.has-drop:focus-within .nav-drop {
  opacity:1; visibility:visible; transform:none; }
.main-nav .nav-drop a { flex:none; display:flex; align-items:center; justify-content:flex-start;
  gap:6px; text-align:left; white-space:nowrap; padding:9px 14px; font-size:13.5px;
  font-weight:600; color:var(--text); background:#fff; border:1px solid #DCE3ED;
  border-bottom:1px solid #DCE3ED; border-radius:4px; }
.main-nav .nav-drop a:hover { background:var(--navy); border-color:var(--navy); color:#fff; }

/* ===== Khung trang ===== */
.page { padding-top:28px; padding-bottom:64px; }
.kicker { color:var(--acc); font-weight:800; font-size:13px; text-transform:uppercase; letter-spacing:1.2px; margin-bottom:6px; }
h1.page-title { color:var(--navy); font-size:clamp(26px,3.6vw,36px); line-height:1.2; letter-spacing:-.3px; }
.page-lead { color:var(--muted); font-size:16px; max-width:720px; margin-top:6px; }
h2.sec-title { color:var(--navy); font-size:clamp(20px,2.6vw,26px); line-height:1.25; margin:34px 0 12px; }
.grid { display:grid; gap:18px; }
.grid.c2 { grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); }
.grid.c3 { grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); }
.card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow); }
.card h3 { color:var(--navy); font-size:17px; margin-bottom:8px; }
.pill { display:inline-block; font-size:11px; font-weight:800; letter-spacing:.4px; border-radius:3px; padding:2px 7px; border:1px solid var(--line-2); color:var(--navy); background:#fff; }
.pill.pro { border-color:var(--acc); color:var(--acc); }
.pill.free { border-color:#0E9F6E; color:#0E9F6E; }
.pill.done { border-color:#0E9F6E; color:#065F46; background:var(--okbg); }

.layout { display:grid; grid-template-columns:230px 1fr; gap:26px; align-items:start; margin-top:22px; }
.rail { position:sticky; top:120px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.rail .rail-tieu-de { font-size:11px; font-weight:800; letter-spacing:.9px; text-transform:uppercase;
  color:var(--muted); padding:12px 16px 8px; }
.rail a { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:11px 16px;
  font-size:14px; font-weight:600; color:var(--text); text-decoration:none; border-left:3px solid transparent; }
.rail a:hover { background:#F3F6FB; }
.rail a.on { color:var(--navy); background:var(--acc-soft); border-left-color:var(--acc); font-weight:800; }
.rail a .n { font-size:12px; color:var(--muted); font-weight:700; }
.rail .rail-chu-thich { font-size:12px; color:var(--muted); padding:10px 16px 14px; border-top:1px solid var(--line); line-height:1.5; }

.phan-trang { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:10px; margin:18px 0 4px; padding-top:14px; border-top:1px solid var(--line); }
.phan-trang .pt-dem { font-size:13px; color:var(--muted); font-weight:600; }
.phan-trang .pt-nut-hang { display:flex; flex-wrap:wrap; gap:6px; }
.phan-trang .pt-nut, .phan-trang .pt-so {
  display:inline-flex; align-items:center; justify-content:center; min-width:34px; height:34px;
  padding:0 10px; font-size:13.5px; font-weight:700; text-decoration:none; color:var(--text);
  background:#fff; border:1px solid #DCE3ED; border-radius:4px; }
.phan-trang a.pt-nut:hover, .phan-trang a.pt-so:hover { border-color:var(--navy); }
.phan-trang .pt-so.on { background:var(--navy); border-color:var(--navy); color:#fff; }
.phan-trang .pt-nut.tat { color:var(--muted); background:#F3F6FB; border-color:var(--line); cursor:default; }

@media (max-width:560px) {
  .phan-trang { flex-direction:column; align-items:stretch; }
  .phan-trang .pt-nut-hang { overflow-x:auto; flex-wrap:nowrap; padding-bottom:4px; }
}

.dom-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 4px; }
.dom-tabs a { text-decoration:none; font-size:13.5px; font-weight:700; color:var(--text);
  background:#fff; border:1px solid #DCE3ED; border-radius:4px; padding:9px 14px; }
.dom-tabs a.on { background:var(--navy); border-color:var(--navy); color:#fff; }
.dom-tabs a:hover:not(.on) { border-color:var(--navy); }

.de-list { display:grid; gap:12px; margin-top:14px;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); }
.de-item { display:flex; flex-direction:column; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden; text-decoration:none; color:var(--text);
  transition:border-color .12s ease, transform .12s ease; }
.de-item:hover { border-color:var(--acc); transform:translateY(-2px); }

.de-xem { display:flex; align-items:center; justify-content:center; height:126px;
  background:#F5F8FC; border-bottom:1px solid var(--line); overflow:hidden; padding:10px; }
.de-xem.hinh svg { max-width:100%; max-height:106px; height:auto; width:auto; }
.de-xem.chu { align-items:flex-start; padding:0; position:relative; background:#fff; }
.de-xem.chu > span { display:block; padding:13px 15px 0; font-size:12.5px; line-height:1.62;
  font-family:Georgia,"Times New Roman",serif; color:#334155; }
.de-xem.chu::after { content:""; position:absolute; left:0; right:0; bottom:0; height:44px;
  background:linear-gradient(rgba(255,255,255,0),#fff 88%); }
.de-xem.bang { align-items:flex-start; justify-content:flex-start; padding:10px 0 0 12px;
  background:#fff; position:relative; }
.de-xem.bang table { border-collapse:collapse; font-size:10.5px; line-height:1.35; width:auto; }
.de-xem.bang th, .de-xem.bang td { border:1px solid var(--line); padding:3px 6px;
  text-align:left; color:#334155; white-space:nowrap; }
.de-xem.bang th { background:#F5F8FC; font-weight:700; color:var(--navy); }
.de-xem.bang::after { content:""; position:absolute; top:0; bottom:0; right:0; width:38px;
  background:linear-gradient(90deg,rgba(255,255,255,0),#fff 82%); }
.de-xem.bang::before { content:""; position:absolute; left:0; right:0; bottom:0; height:26px;
  background:linear-gradient(rgba(255,255,255,0),#fff 85%); z-index:1; }
.de-xem.trong { font-size:13px; font-weight:800; color:var(--line-2); letter-spacing:1px; }

.de-than { display:flex; flex-direction:column; gap:6px; padding:12px 14px 13px; flex:1; }
.de-item .hang-tren { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.de-item .ma { flex:none; font-size:11px; font-weight:800; color:var(--muted); letter-spacing:.4px;
  background:#F3F6FB; border-radius:3px; padding:3px 7px; }
.de-item .ten { font-weight:700; color:var(--navy); font-size:14.5px; line-height:1.4; }
.de-item .meta { margin-top:auto; font-size:12.5px; color:var(--muted); }
.de-item:hover .meta { color:var(--acc); }
.de-item .diem { font-weight:800; color:var(--ok); font-size:12.5px; margin-left:auto; }

.full-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; }
.full-card .fc-than { padding:16px 20px 18px; display:flex; flex-direction:column; gap:9px; flex:1; }
.full-card h3 { color:var(--navy); font-size:16.5px; line-height:1.35; }
.full-card .chi-tiet { font-size:13px; color:var(--muted); line-height:1.55; }
.full-card .chi-tiet.trong-tam { display:-webkit-box; -webkit-line-clamp:2;
  -webkit-box-orient:vertical; overflow:hidden; }
.full-card .hang-nut { margin-top:auto; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.full-card .kq-cu { font-size:12.5px; color:var(--ok); font-weight:700; }

.pro-box { background:#fff; border:2px solid var(--acc); border-radius:var(--radius); padding:24px; margin-top:26px; }
.pro-box h3 { color:var(--navy); font-size:19px; }
.goi-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:14px; margin-top:26px; }
.goi { border:1px solid var(--line-2); border-radius:var(--radius); padding:18px; display:flex; flex-direction:column; gap:6px; background:#fff; }
.goi.hay { border-color:var(--acc); box-shadow:0 0 0 1px var(--acc); position:relative; }
.goi .nhan { font-size:12px; font-weight:800; letter-spacing:.5px; text-transform:uppercase; color:var(--muted); }
.goi.hay .nhan { color:var(--acc); }
.goi { position:relative; padding-top:22px; }
.goi .gia { font-size:36px; font-weight:800; color:var(--acc); line-height:1.1;
            letter-spacing:-1px; display:flex; align-items:baseline;
            flex-wrap:wrap; gap:1px; }
.goi .gia small { font-size:14px; color:var(--muted); font-weight:700; letter-spacing:0; }
.goi.hay .gia { font-size:38px; }
.goi.hay { background:var(--acc-soft); }
.goi .thang { font-size:13.5px; color:var(--text); font-weight:700; }
.goi .goc { color:var(--muted); font-weight:700; text-decoration:line-through;
            text-decoration-thickness:1.5px; margin-right:3px; }
.goi .tk { display:inline-block; font-size:11.5px; font-weight:800; color:#fff;
           background:var(--ok); border-radius:999px; padding:2px 9px; margin-left:6px; }
.goi .tk.vua { font-size:13px; padding:3px 11px; }
.goi .tk.manh { display:block; width:-moz-fit-content; width:fit-content;
                margin:8px 0 2px; font-size:15px; padding:4px 13px;
                letter-spacing:.3px; text-transform:uppercase;
                box-shadow:0 2px 6px rgba(6,95,70,.28); }
.goi .tong { font-size:12.5px; color:var(--muted); margin-top:auto; padding-top:9px;
             border-top:1px dashed var(--line-2); }
.goi .tong b { color:var(--text); font-weight:800; }
.goi .tag-hay { position:absolute; top:-12px; left:50%; transform:translateX(-50%);
                background:var(--acc); color:#fff; font-size:11.5px; font-weight:800;
                letter-spacing:.2px; border-radius:999px; padding:3px 13px; white-space:nowrap; }
.goi .ngay { font-size:12.5px; color:var(--ok); font-weight:700; }
.goi .mo { font-size:13px; color:var(--muted); line-height:1.5; }
.goi .btn { margin-top:10px; }
.msg { border-radius:4px; padding:10px 14px; font-size:13.5px; margin-top:10px; }
.msg.err { background:var(--errbg); color:var(--err); }
.help { background:#F8FAFC; border:1px dashed var(--line-2); border-radius:4px; padding:12px 14px; font-size:13px; color:var(--muted); margin-top:12px; }

.lt-o { display:flex; flex-direction:column; gap:4px; background:#fff;
  border:1px solid var(--line); border-radius:var(--radius); padding:14px 16px;
  text-decoration:none; transition:border-color .15s, box-shadow .15s, transform .15s; }
.lt-o:hover { border-color:var(--acc); box-shadow:var(--shadow); transform:translateY(-2px); }
.lt-o b { color:var(--navy); font-size:15px; }
.lt-o span { color:var(--muted); font-size:12.5px; line-height:1.5; }

.sat-faq { display:flex; flex-direction:column; gap:8px; margin-top:12px; }
.sat-faq details { background:#fff; border:1px solid var(--line); border-radius:var(--radius); }
.sat-faq summary { cursor:pointer; padding:13px 16px; font-weight:600; color:var(--navy);
  font-size:14.5px; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.sat-faq summary::-webkit-details-marker { display:none; }
.sat-faq summary::after { content:"+"; color:var(--acc); font-weight:700; font-size:18px; flex:none; }
.sat-faq details[open] summary::after { content:"−"; }
.sat-faq summary:hover { color:var(--acc); }
.sat-faq p { padding:0 16px 14px; margin:0; color:var(--muted); font-size:14px; line-height:1.65; }

.lt-hero { background:linear-gradient(135deg,#EAF6FD,#F5FAFE 60%,#fff); border:1px solid #C7E4F4;
  border-radius:var(--radius); padding:24px; margin-top:20px; display:flex; gap:20px; align-items:center; flex-wrap:wrap; }
.lt-hero .noi-dung { flex:1 1 380px; }
.lt-hero h2 { color:var(--navy); font-size:20px; margin-bottom:6px; }
.stat-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; margin-top:18px; }
.stat { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:16px 18px; }
.stat .so { font-size:26px; font-weight:800; color:var(--navy); font-variant-numeric:tabular-nums; }
.stat .so small { font-size:13px; color:var(--muted); font-weight:600; }
.stat .ten { font-size:12.5px; color:var(--muted); margin-top:2px; }
.si-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px 36px; margin-top:14px; }
.si-cot h4 { color:var(--navy); font-size:14.5px; margin:10px 0 8px; }
.si-item { padding:7px 0; border-bottom:1px solid var(--line); }
.si-item .d { display:flex; justify-content:space-between; font-size:13px; margin-bottom:4px; }
.si-item .d b { color:var(--navy); font-weight:700; }
.si-item .d span { color:var(--muted); font-variant-numeric:tabular-nums; }
.si-bar { height:9px; background:#EEF2F8; border-radius:2px; overflow:hidden; display:flex; }
.si-bar i { display:block; height:100%; background:var(--navy); }
.si-bar i.thap { background:var(--acc); }
.ls-table { width:100%; border-collapse:collapse; font-size:13.5px; background:#fff; border:1px solid var(--line); }
.ls-table th { text-align:left; font-size:11.5px; letter-spacing:.5px; text-transform:uppercase; color:var(--muted); padding:10px 14px; border-bottom:1px solid var(--line-2); background:#F8FAFC; }
.ls-table td { padding:10px 14px; border-bottom:1px solid var(--line); }
.ls-table tr:last-child td { border-bottom:0; }

.wins-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; margin-top:18px; }
.win-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px; }
.win-top { display:flex; align-items:baseline; gap:8px; }
.win-label { font-size:11px; font-weight:800; letter-spacing:.8px; color:#fff; background:var(--navy); border-radius:3px; padding:2px 7px; }
.win-total { font-size:34px; font-weight:800; color:var(--navy); }
.win-max { color:var(--muted); font-size:14px; }
.win-subs { display:flex; gap:18px; margin:10px 0; }
.win-sub b { display:block; font-size:19px; color:var(--navy); }
.win-sub span { font-size:11.5px; color:var(--muted); }
.win-stars { color:#F59E0B; letter-spacing:2px; }
.win-name { font-weight:800; color:var(--navy); margin-top:6px; }
.win-course { font-size:12.5px; color:var(--muted); }
.win-quote { font-size:13px; color:var(--text); margin-top:8px; font-style:italic; }

body.exam { background:#fff; }
.bb-top { position:sticky; top:0; z-index:100; background:#fff; border-bottom:1px solid #E5E7EB;
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; padding:10px 22px; gap:10px; }
.bb-top .ten-de { font-size:14px; font-weight:700; color:#111827; justify-self:start; line-height:1.3; }
.bb-top .ten-de small { display:block; font-weight:400; color:#6B7280; font-size:12px; }
.bb-timer { justify-self:center; text-align:center; }
.bb-timer .t { font-size:20px; font-weight:800; color:#111827; font-variant-numeric:tabular-nums; letter-spacing:.5px; }
.bb-timer .t.sap-het { color:#B91C1C; }
.bb-timer button { background:none; border:1px solid #D1D5DB; border-radius:999px; font-size:11px; padding:2px 12px; cursor:pointer; color:#374151; }
.bb-top .cong-cu { justify-self:end; display:flex; gap:14px; align-items:center; }
.bb-top .cong-cu button, .bb-top .cong-cu a { background:none; border:0; cursor:pointer; color:#111827;
  font-size:12px; display:flex; flex-direction:column; align-items:center; gap:1px; text-decoration:none; }
.bb-top .cong-cu .ico { font-size:17px; line-height:1; }
.bb-stage { max-width:1240px; margin:0 auto; padding:26px 22px 90px; }
.bb-2cot { display:grid; grid-template-columns:1fr 1fr; gap:0; min-height:52vh; }
.bb-2cot .doan { padding:6px 34px 6px 6px; border-right:2px solid #E5E7EB; font-size:15.5px; line-height:1.75; color:#111827; }
.bb-2cot .hoi { padding:6px 6px 6px 34px; }
.bb-1cot { max-width:720px; margin:0 auto; }
.q-so-hang { display:flex; align-items:center; gap:10px; background:#F3F4F6; border-bottom:1px solid #D1D5DB; padding:6px 10px; margin-bottom:18px; }
.q-so { background:#111827; color:#fff; font-weight:800; font-size:14px; padding:2px 10px; }
.q-danh-dau { display:flex; align-items:center; gap:5px; font-size:12.5px; color:#374151; background:none; border:0; cursor:pointer; }
.q-danh-dau .co { font-size:15px; }
.q-danh-dau.on { color:#B91C1C; font-weight:700; }
.q-gach-btn { margin-left:auto; background:none; border:1px solid #9CA3AF; border-radius:3px; font-size:11px; font-weight:700; padding:1px 7px; cursor:pointer; color:#374151; text-decoration:line-through; }
.q-gach-btn.on { background:#111827; color:#fff; border-color:#111827; }
.q-stem { font-size:15.5px; line-height:1.7; color:#111827; }
.q-stem table { border-collapse:collapse; margin:14px auto; font-size:14px; }
.q-stem table th, .q-stem table td { border:1px solid #6B7280; padding:6px 12px; text-align:center; }
.q-stem table th { background:#F3F4F6; }
.q-fig { margin:14px auto; text-align:center; max-width:420px; }
.q-fig svg { width:100%; height:auto; }
.q-opts { list-style:none; padding:0; margin:18px 0 0; display:grid; gap:10px; }
.q-opt { position:relative; display:flex; align-items:flex-start; gap:12px; border:1px solid #6B7280;
  border-radius:6px; padding:11px 14px; cursor:pointer; font-size:15px; line-height:1.55; background:#fff; }
.q-opt:hover { background:#F9FAFB; }
.q-opt .chu { flex:none; width:26px; height:26px; border:1.5px solid #111827; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; }
.q-opt.chon { border:2px solid #2563EB; padding:10px 13px; background:#EFF6FF; }
.q-opt.chon .chu { background:#2563EB; border-color:#2563EB; color:#fff; }
.q-opt.gach { opacity:.45; }
.q-opt.gach .nd { text-decoration:line-through; }
.q-opt .gach-x { position:absolute; right:8px; top:8px; font-size:11px; border:1px solid #9CA3AF;
  border-radius:3px; padding:0 5px; background:#fff; cursor:pointer; display:none; }
.bb-stage.che-do-gach .q-opt .gach-x { display:block; }
.q-opt.dung { border:2px solid #059669; background:#ECFDF5; }
.q-opt.dung .chu { background:#059669; border-color:#059669; color:#fff; }
.q-opt.sai { border:2px solid #DC2626; background:#FEF2F2; }
.q-opt.sai .chu { background:#DC2626; border-color:#DC2626; color:#fff; }
.q-spr input { font-size:18px; padding:9px 13px; border:1.5px solid #6B7280; border-radius:5px; width:190px; font-family:inherit; }
.q-spr .luat { font-size:12.5px; color:#6B7280; margin-top:8px; line-height:1.6; }
.q-giai { margin-top:18px; border:1px solid var(--line-2); border-left:4px solid var(--navy); background:#F8FAFC; border-radius:4px; padding:14px 16px; font-size:14px; line-height:1.7; }
.q-giai .bay { margin-top:8px; color:var(--warn); }
.q-giai .nhan { font-size:11px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:4px; }
.bb-bottom { position:fixed; left:0; right:0; bottom:0; z-index:100; background:#fff; border-top:1px solid #E5E7EB;
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; padding:10px 22px; }
.bb-bottom .hv-ten { font-size:13.5px; font-weight:700; color:#111827; justify-self:start; }
.bb-qnav-btn { justify-self:center; background:#111827; color:#fff; border:0; border-radius:6px;
  font-size:13.5px; font-weight:700; padding:8px 16px; cursor:pointer; display:flex; align-items:center; gap:7px; }
.bb-bottom .di-chuyen { justify-self:end; display:flex; gap:9px; }
.bb-bottom .di-chuyen button { background:#2563EB; color:#fff; border:0; border-radius:999px;
  font-size:14px; font-weight:700; padding:9px 24px; cursor:pointer; }
.bb-bottom .di-chuyen button.lui { background:#fff; color:#2563EB; border:1px solid #2563EB; }
.bb-bottom .di-chuyen button[disabled] { opacity:.4; cursor:not-allowed; }
.bb-palette { position:fixed; bottom:64px; left:50%; transform:translateX(-50%); z-index:120;
  background:#fff; border:1px solid #D1D5DB; border-radius:8px; box-shadow:0 12px 34px rgba(16,24,40,.22);
  padding:16px 18px; width:min(480px, 94vw); }
.bb-palette h4 { font-size:13.5px; color:#111827; text-align:center; margin-bottom:4px; }
.bb-palette .chu-thich { display:flex; justify-content:center; gap:16px; font-size:11.5px; color:#374151;
  border-bottom:1px solid #E5E7EB; padding-bottom:8px; margin-bottom:10px; }
.bb-palette .o-luoi { display:grid; grid-template-columns:repeat(auto-fill,minmax(38px,1fr)); gap:7px; }
.bb-palette .o { position:relative; border:1px dashed #6B7280; background:#fff; color:#2563EB;
  font-weight:700; font-size:13px; padding:7px 0; text-align:center; cursor:pointer; border-radius:3px; }
.bb-palette .o.da-tra-loi { background:#2563EB; border:1px solid #2563EB; color:#fff; }
.bb-palette .o.hien-tai::after { content:"📍"; position:absolute; top:-9px; right:-4px; font-size:11px; }
.bb-palette .o.danh-dau { outline:2px solid #B91C1C; outline-offset:1px; }
.bb-palette .dong { display:block; margin:12px auto 0; background:none; border:1px solid #2563EB;
  color:#2563EB; border-radius:999px; font-size:12.5px; font-weight:700; padding:5px 18px; cursor:pointer; }
.bb-nghi { max-width:640px; margin:60px auto; text-align:center; }
.bb-nghi h2 { color:#111827; font-size:24px; margin-bottom:10px; }
.bb-nghi p { color:#374151; margin-bottom:10px; }
.bb-nghi .dem { font-size:44px; font-weight:800; color:var(--navy); font-variant-numeric:tabular-nums; margin:16px 0; }
.kq-box { max-width:760px; margin:40px auto; }
.kq-tong { display:flex; gap:20px; align-items:center; justify-content:center; flex-wrap:wrap; margin:22px 0; }
.kq-o { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px 30px; text-align:center; min-width:170px; }
.kq-o .so { font-size:38px; font-weight:800; color:var(--navy); font-variant-numeric:tabular-nums; }
.kq-o .ten { font-size:12.5px; color:var(--muted); }
.kq-o.tong-diem { border:2px solid var(--acc); }
.kq-o.tong-diem .so { color:var(--acc); }

.kq-box.kq-rong { max-width:1060px; }
.sr { display:grid; grid-template-columns:342px 1fr; background:var(--card);
  border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; margin:22px 0; }
.sr-rail { padding:18px 20px 22px; border-right:1px solid var(--line); background:#FBFCFE; }
.sr-than { padding:18px 22px 22px; }
.sr-nhan { font-size:11px; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
.sr-hang { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.sr-so { font-size:38px; font-weight:800; line-height:1.1; color:var(--navy); font-variant-numeric:tabular-nums; }
.sr-thang { font-size:11.5px; color:var(--muted); border-left:1px solid var(--line-2); padding-left:8px; }
.sr-pv { margin-left:auto; font-size:11px; font-weight:700; color:var(--navy-2); white-space:nowrap;
  border:1px solid var(--line-2); border-radius:999px; padding:2px 9px; }
.sr-phu { font-size:11.5px; color:var(--muted); margin-top:3px; font-variant-numeric:tabular-nums; }
.sr-phu:empty { display:none; }
.sr-tong { border:2px solid var(--acc); border-radius:6px; padding:11px 13px; margin-top:4px; }
.sr-tong .sr-so { color:var(--acc); }
.sr-tong .sr-pv { color:var(--acc); border-color:var(--acc); }
.sr-vach { height:1px; background:var(--line); margin:16px 0 12px; }
.sr-phan { padding:11px 0; border-bottom:1px dashed var(--line); }
.sr-phan:last-child { border-bottom:0; padding-bottom:0; }
.sr-phan .sr-so { font-size:29px; }
.sr-ten { font-size:13px; font-weight:700; color:var(--navy); margin-bottom:1px; }
.sr-ten em { font-style:normal; font-weight:400; font-size:11px; color:var(--muted); }
.sr-than h3 { font-size:17px; color:var(--navy); }
.sr-lead { font-size:12.5px; color:var(--muted); margin-top:2px; }
.sr-cot { display:grid; grid-template-columns:1fr 1fr; gap:0 26px; margin-top:14px; }
.sr-cot h4 { font-size:12.5px; color:var(--navy); border-bottom:1px solid var(--line); padding-bottom:5px; }
.sr-dom { padding:9px 0; }
.sr-dom > b { display:block; font-size:12.5px; font-weight:700; color:var(--text); }
.sr-dom > span { display:block; font-size:11px; color:var(--muted); margin:1px 0 5px; font-variant-numeric:tabular-nums; }
.sr-dom > span b { color:var(--navy); font-weight:700; }
.sr-dom > span b.sr-yeu { color:var(--acc); }
.sr-oo { display:flex; gap:2px; }
.sr-oo i { flex:1 1 0; height:13px; border-radius:1px; background:#EDF1F7; border:1px solid #DCE3ED; }
.sr-oo i.on { background:var(--navy); border-color:var(--navy); }
.sr-oo i.on.yeu { background:var(--acc); border-color:var(--acc); }
.sr-ghi { font-size:11.5px; line-height:1.55; color:var(--muted); margin-top:14px;
  border-top:1px solid var(--line); padding-top:10px; }
@media (max-width:880px) {
  .sr { grid-template-columns:1fr; }
  .sr-rail { border-right:0; border-bottom:1px solid var(--line); }
  .sr-cot { grid-template-columns:1fr; }
  .sr-cot > div + div h4 { margin-top:14px; }
}
.bb-ref { position:fixed; top:64px; right:18px; z-index:130; width:min(560px,92vw); max-height:74vh; overflow:auto;
  background:#fff; border:1px solid #D1D5DB; border-radius:8px; box-shadow:0 14px 40px rgba(16,24,40,.25); padding:18px 20px; }
.bb-ref h4 { font-size:14px; margin-bottom:10px; color:#111827; }
.bb-ref .luoi { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; font-size:12.5px; text-align:center; }
.bb-ref figure { margin:0; }
.bb-ref .dong { display:block; margin:14px auto 0; background:none; border:1px solid #2563EB; color:#2563EB;
  border-radius:999px; font-size:12.5px; font-weight:700; padding:5px 18px; cursor:pointer; }
.xem-lai-nav { display:flex; flex-wrap:wrap; gap:6px; margin:14px 0; }
.xem-lai-nav button { border:1px solid var(--line-2); background:#fff; border-radius:3px; min-width:34px;
  padding:5px 0; font-size:12.5px; font-weight:700; cursor:pointer; color:var(--text); }
.xem-lai-nav button.dung { background:var(--okbg); color:var(--ok); border-color:#A7F3D0; }
.xem-lai-nav button.sai { background:var(--errbg); color:var(--err); border-color:#FECACA; }
.xem-lai-nav button.on { outline:2px solid var(--navy); }

/* ===== Responsive ===== */
@media (max-width:900px) {
  .layout { grid-template-columns:1fr; }
  .rail { position:static; display:flex; flex-wrap:wrap; }
  .rail .rail-tieu-de, .rail .rail-chu-thich { display:none; }
  .rail a { border-left:0; border-bottom:3px solid transparent; flex:1 1 auto; justify-content:center; }
  .rail a.on { border-bottom-color:var(--acc); }
  .bb-2cot { grid-template-columns:1fr; }
  .bb-2cot .doan { border-right:0; border-bottom:2px solid #E5E7EB; padding:6px 6px 20px; margin-bottom:18px; }
  .bb-2cot .hoi { padding:6px; }
  .si-grid { grid-template-columns:1fr; }
}
@media (max-width:760px) {
  .main-nav { overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .nav-drop { display:none; }
  .header-cta > .btn.an-mobile { display:none; }
  #satAdminBtn .nhan-adm { display:none; }
  #satAdminBtn { padding:8px 11px; }
  .site-header .top-row { gap:8px; flex-wrap:wrap; height:auto; min-height:58px; padding-top:6px; padding-bottom:6px; }
  .site-logo img { height:30px; }
  .header-cta { gap:6px; min-width:0; flex:1 1 auto; justify-content:flex-end; }
  .cta-stack { flex:0 1 auto; }
  .cta-stack .btn { max-width:38vw; }
  #satLopBtn .nhan-adm { display:none; }
  #satLopBtn { padding:8px 11px; }
  .bb-top { padding:8px 12px; }
  .bb-top .ten-de small { display:none; }
  .bb-stage { padding:18px 14px 100px; }
  .bb-bottom { padding:8px 12px; }
  .bb-bottom .hv-ten { display:none; }
  .bb-bottom { grid-template-columns:auto 1fr; }
  .bb-bottom .di-chuyen { justify-self:end; }
}


.bb-huongdan { max-width:1240px; margin:0 auto; padding:0 22px; }
.bb-huongdan > button { background:none; border:0; cursor:pointer; padding:10px 0 2px;
  font-size:13.5px; font-weight:700; color:#2563EB; display:flex; align-items:center; gap:5px; }
.bb-huongdan .noi-dung { display:none; border:1px solid #D1D5DB; border-radius:8px; background:#F9FAFB;
  padding:14px 16px; margin-top:8px; font-size:13.5px; line-height:1.7; color:#111827; }
.bb-huongdan.mo .noi-dung { display:block; }
.bb-huongdan .noi-dung .viet { margin-top:10px; padding-top:10px; border-top:1px dashed #D1D5DB; color:#4B5563; }

mark.hl { padding:1px 0; border-radius:2px; cursor:pointer; }
mark.hl.v { background:#FDE68A; }
mark.hl.x { background:#BBF7D0; }
mark.hl.h { background:#BFDBFE; }
mark.hl[data-nc]::after { content:"✎"; font-size:11px; vertical-align:super; color:#B45309; margin-left:1px; }
#hlMenu { position:fixed; z-index:150; background:#fff; border:1px solid #D1D5DB; border-radius:8px;
  box-shadow:0 8px 24px rgba(16,24,40,.2); padding:7px; display:flex; gap:6px; align-items:center; }
#hlMenu .mau { width:22px; height:22px; border-radius:50%; border:1px solid #9CA3AF; cursor:pointer; }
#hlMenu .mau.v { background:#FDE68A; } #hlMenu .mau.x { background:#BBF7D0; } #hlMenu .mau.h { background:#BFDBFE; }
#hlMenu button.chu { background:none; border:1px solid #D1D5DB; border-radius:6px; cursor:pointer;
  font-size:12px; padding:4px 8px; color:#111827; }
.bb-nc { position:fixed; z-index:150; background:#fff; border:1px solid #D1D5DB; border-radius:8px;
  box-shadow:0 8px 24px rgba(16,24,40,.2); padding:10px; width:260px; }
.bb-nc textarea { width:100%; height:70px; border:1px solid #D1D5DB; border-radius:6px; padding:6px;
  font:inherit; font-size:13px; resize:vertical; }
.bb-nc .hang { display:flex; gap:6px; justify-content:flex-end; margin-top:7px; }

.bb-2cot { grid-template-columns:var(--cot,1fr) 6px 1fr; }
.bb-2cot .keo { cursor:col-resize; background:#E5E7EB; border-radius:3px; }
.bb-2cot .keo:hover { background:#9CA3AF; }
.bb-2cot .doan { border-right:0; padding-right:22px; }
.bb-2cot .hoi { padding-left:22px; }
@media (max-width:860px) {
  .bb-2cot { grid-template-columns:1fr; }
  .bb-2cot .keo { display:none; }
  .bb-2cot .doan { border-bottom:2px solid #E5E7EB; padding:6px 6px 20px; margin-bottom:18px; }
}

.cmp { width:100%; border-collapse:collapse; background:#fff; border-radius:10px; overflow:hidden;
  box-shadow:var(--shadow); margin-top:22px; }
.cmp th, .cmp td { border:1px solid var(--line); padding:12px 15px; font-size:14.5px; text-align:center; }
.cmp th { background:var(--navy); color:#fff; font-size:14px; }
.cmp td:first-child { text-align:left; font-weight:600; }
.cmp .y { color:var(--ok); font-weight:800; }
.cmp .n { color:#B91C1C; opacity:.6; }
.cmp tr.row-dd td { background:var(--acc-soft); font-size:15px; }
.cmp tr.row-dd td:first-child { border-left:5px solid var(--acc); }
.cmp-cuon { overflow-x:auto; }
details.faq { background:#fff; border:1px solid var(--line); border-radius:6px; padding:14px 18px; margin-bottom:10px; }
details.faq summary { font-weight:700; color:var(--navy); cursor:pointer; font-size:15px; }
details.faq p { margin-top:10px; color:#374151; font-size:14.5px; line-height:1.75; }

.giai-khoa { margin-top:18px; border:1px dashed var(--acc); border-left:4px solid var(--acc);
  background:linear-gradient(135deg,#FDF2F8,#F5F7FF); border-radius:4px; padding:14px 16px; }
.giai-khoa .nhan { font-size:11px; font-weight:800; letter-spacing:.6px; text-transform:uppercase;
  color:var(--acc); display:block; margin-bottom:6px; }
.giai-khoa p { margin:0 0 10px; font-size:14px; line-height:1.7; color:#374151; }
.giai-khoa .nut { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.giai-khoa .phu { font-size:12.5px; color:var(--muted); }

.pill.dauvao { border-color:#0E9F6E; color:#0E9F6E; background:#ECFDF5; }
.bang-dauvao { border:1px solid #A7F3D0; background:#ECFDF5; border-radius:12px; padding:14px 18px;
  margin:0 0 18px; font-size:14.5px; line-height:1.75; color:#065F46; }
.bang-dauvao b { color:#064E3B; }

.mo-wrap { position:relative; }
.mo-trong { filter:blur(7px) saturate(.85); opacity:.7; pointer-events:none;
  user-select:none; -webkit-user-select:none; }
.mo-giu { position:sticky; top:30vh; height:0; z-index:6; display:flex; justify-content:center; }
.mo-cta { background:#fff; border:1.5px solid var(--line-2); border-radius:14px;
  box-shadow:0 12px 34px rgba(28,53,95,.22); padding:20px 24px; text-align:center;
  max-width:360px; transform:translateY(-50%); }
.mo-cta p { font-size:13.5px; color:var(--muted); margin:8px 0 14px; line-height:1.65; }
.mo-cta .phu { font-size:12px; margin:10px 0 0; }

.tl-o { display:flex; flex-direction:column; overflow:hidden; padding:0; }
.tl-anh {
  position:relative; display:block; width:100%; aspect-ratio:4/3;
  border:none; padding:0; margin:0; background:#EEF2F7; cursor:zoom-in;
  border-bottom:1px solid var(--line); overflow:hidden;
}
.tl-anh img {
  width:100%; height:100%; object-fit:cover; object-position:top left;
  display:block; transform:scale(1.55); transform-origin:top left;
  transition:transform .35s ease;
}
.tl-anh:hover img, .tl-anh:focus-visible img { transform:scale(1.62); }
.tl-anh .tl-nhan {
  position:absolute; left:0; right:0; bottom:0; padding:22px 14px 10px;
  background:linear-gradient(to top,rgba(15,23,42,.82),rgba(15,23,42,0));
  color:#fff; font-size:12.5px; font-weight:700; letter-spacing:.2px;
  display:flex; align-items:center; gap:6px;
}
.tl-anh:focus-visible { outline:3px solid var(--acc); outline-offset:-3px; }
.tl-than { padding:18px 20px 20px; display:flex; flex-direction:column; flex:1; }
.tl-than h3 { margin:0 0 6px; }
.tl-than .tl-mo { font-size:14px; color:var(--muted); line-height:1.55; margin:0 0 14px; flex:1; }
.tl-than .btn { align-self:flex-start; }

.tl-lop {
  position:fixed; inset:0; z-index:300; background:rgba(15,23,42,.88);
  display:flex; align-items:center; justify-content:center;
  padding:22px 16px 78px; overflow:hidden;
}
.tl-lop img {
  max-width:min(860px,100%); max-height:100%;
  width:auto; height:auto; object-fit:contain;
  border-radius:8px; box-shadow:0 24px 70px rgba(0,0,0,.5); background:#fff;
}
.tl-lop .tl-dong {
  position:fixed; top:16px; right:18px; width:42px; height:42px; border:none;
  border-radius:50%; background:#fff; color:var(--navy); font-size:20px;
  cursor:pointer; line-height:1; box-shadow:0 4px 14px rgba(0,0,0,.3);
}
.tl-lop .tl-chu {
  position:fixed; left:0; right:0; bottom:0; padding:14px 18px;
  background:rgba(15,23,42,.92); color:#fff; font-size:13.5px; text-align:center;
}
@media (max-width:600px) { .tl-anh { aspect-ratio:3/2; } }

.dn-lop { position:fixed; inset:0; z-index:400; background:rgba(16,24,40,.55);
  display:flex; align-items:center; justify-content:center; padding:20px; }
.dn-hop { position:relative; width:min(400px,100%); background:#fff; border-radius:10px;
  padding:26px 26px 22px; box-shadow:0 20px 60px rgba(16,24,40,.35); text-align:center; }
.dn-hop h3 { font-size:19px; color:var(--navy); }
.dn-hop > p { font-size:13px; color:var(--muted); margin-top:7px; line-height:1.6; }
.dn-dong { position:absolute; top:8px; right:10px; border:0; background:none; cursor:pointer;
  font-size:17px; line-height:1; color:var(--muted); padding:5px 7px; }
.dn-google { display:flex; align-items:center; justify-content:center; gap:10px; width:100%;
  margin-top:18px; padding:12px 16px; font:700 15px/1 Arial,sans-serif; color:#3C4043; cursor:pointer;
  background:#fff; border:1px solid var(--line-2); border-radius:6px; }
.dn-google:hover { background:#F7F9FC; }
.dn-google:disabled { opacity:.65; cursor:default; }
.dn-msg { font-size:12.5px; color:var(--err); margin-top:9px; }
.dn-msg:empty { display:none; }
.dn-phu { font-size:12px; color:var(--muted); margin-top:14px;
  border-top:1px solid var(--line); padding-top:12px; }

.pro-anh { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:46px 0 0; }
.pro-anh img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--radius);
  border:1px solid var(--line); display:block; }
@media (max-width:700px) { .pro-anh { grid-template-columns:1fr 1fr; }
  .pro-anh img:nth-child(3) { display:none; } }

.dkl { margin:6px 0 30px; }
.dkl .page-title { margin-bottom:16px; }
.dkl-anh { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.dkl-o { display:block; border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; text-decoration:none; background:#fff;
  transition:border-color .12s ease, transform .12s ease; }
.dkl-o:hover { border-color:var(--acc); transform:translateY(-2px); }
.dkl-o .de-xem { height:150px; border-bottom:0; }
.dkl-o .de-xem.hinh svg { max-height:128px; }
.dkl-chu { margin:9px 0 0; font-size:13px; color:var(--muted); text-align:center; }

.dkl-bang { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:18px 0 18px; }
.dkl-diem { display:flex; align-items:baseline; gap:4px; flex-wrap:wrap;
  background:var(--acc-soft); border:1px solid #C7E4F4; border-radius:var(--radius);
  padding:9px 14px; }
.dkl-diem b { font-size:22px; font-weight:800; color:var(--navy); line-height:1; }
.dkl-diem span { font-size:12px; color:var(--muted); }
.dkl-diem i { font-style:normal; font-size:12.5px; color:var(--muted); flex:1 0 100%; }
.dkl-them { font-size:13px; font-weight:700; white-space:nowrap; }

@media (max-width:820px) {
  .dkl-anh { grid-template-columns:1fr 1fr; }
  .dkl-o:nth-child(n+3) { display:none; }   
  .dkl-o .de-xem { height:130px; }
  .dkl .btn-lg { display:block; text-align:center; }
}

.tang-truong { background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:26px 24px 24px; margin-top:30px; box-shadow:var(--shadow); }
.tang-truong h2 { color:var(--navy); font-size:23px; line-height:1.3; }
.tang-truong h2 b { color:var(--acc); }
.tang-truong .lead { color:var(--muted); font-size:14.5px; line-height:1.65;
  max-width:760px; margin-top:8px; }
.tt-do-thi { display:block; width:100%; height:auto; max-width:760px; margin:18px auto 4px; }
.tt-o { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:14px; margin-top:18px; }
.tt-o > div { background:var(--acc-soft); border-radius:var(--radius); padding:14px 16px; }
.tt-o b { display:block; color:var(--navy); font-size:14.5px; margin-bottom:4px; }
.tt-o span { font-size:13px; color:var(--text); line-height:1.55; }

.de-man { border-bottom:1px solid var(--line); background:#fff; }
.dm-top { display:flex; align-items:center; gap:8px; padding:5px 10px;
  border-bottom:1px solid var(--line); background:#fff; }
.dm-gio { font-size:12px; font-weight:800; color:#111827; font-variant-numeric:tabular-nums; }
.dm-nhan { font-size:10.5px; color:var(--muted); font-weight:600; margin-left:auto;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.de-man .de-xem { height:104px; border-bottom:0; }
.de-man .de-xem.hinh svg { max-height:88px; }
.dm-day { display:flex; align-items:center; gap:6px; padding:6px 10px;
  border-top:1px solid var(--line); background:#FAFBFD; }
.dm-day i { width:17px; height:17px; border:1.5px solid var(--line-2); border-radius:50%;
  font-style:normal; font-size:9.5px; font-weight:800; color:var(--muted);
  display:flex; align-items:center; justify-content:center; }
.dm-day i:first-child { border-color:#2563EB; background:#2563EB; color:#fff; }
.dm-next { margin-left:auto; background:#2563EB; color:#fff; border-radius:999px;
  font-size:10px; font-weight:800; padding:2px 11px; }

.bxh { background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:18px 20px 16px; margin-top:30px; box-shadow:var(--shadow); }
.bxh-dau { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.bxh-dau h3 { color:var(--navy); font-size:17px; }
.bxh-phu { font-size:12.5px; color:var(--muted); }
.bxh-tai, .bxh-trong { font-size:13.5px; color:var(--muted); padding:14px 0 4px; }
.bxh-cuon { overflow-x:auto; margin-top:12px; }
.bxh-bang { width:100%; border-collapse:collapse; font-size:13.5px; min-width:520px; }
.bxh-bang th { text-align:left; font-size:11.5px; font-weight:800; letter-spacing:.4px;
  text-transform:uppercase; color:var(--muted); padding:0 10px 7px; border-bottom:1px solid var(--line); }
.bxh-bang th:not(:nth-child(2)):not(:first-child) { text-align:right; }
.bxh-bang td { padding:8px 10px; border-bottom:1px solid var(--line); color:var(--text); }
.bxh-bang td.s { text-align:right; font-variant-numeric:tabular-nums; }
.bxh-bang td.h { width:38px; font-weight:800; color:var(--muted); font-size:15px;
  font-variant-numeric:tabular-nums; }
.bxh-bang td.h.top3 { color:var(--acc); font-size:16px; }
.bxh-bang tr:last-child td { border-bottom:0; }
.bxh-bang tr.toi td { background:var(--acc-soft); }
.bxh-bang tr.toi td:first-child { border-left:3px solid var(--acc); padding-left:7px; }
.bxh-ban { font-size:10.5px; font-weight:800; letter-spacing:.3px; text-transform:uppercase;
  color:#fff; background:var(--acc); border-radius:999px; padding:1px 7px; margin-left:5px; }
.bxh-toi { font-size:13px; color:var(--text); margin-top:11px; }
.bxh-toi b { color:var(--acc); }
.bxh-nhac { font-size:12.5px; color:var(--warn); background:var(--warnbg);
  border-radius:4px; padding:8px 12px; margin-top:12px; }

.ico-adm { vertical-align:-3px; }

.kh-phan-mota { color:var(--muted); font-size:14.5px; max-width:760px; margin:14px 0 4px; }

.kh-tiendo { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:14px 0 6px;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:11px 14px; }
.kh-td-thanh { flex:1 1 200px; height:8px; background:#EEF2F7; border-radius:999px; overflow:hidden; }
.kh-td-thanh i { display:block; height:100%; background:var(--acc-lite); border-radius:999px; }
.kh-td-chu { font-size:13px; color:var(--muted); }
.kh-td-chu b { color:var(--navy); }

.kh-chuong { margin-top:30px; }
.kh-ch-ten { display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  color:var(--navy); font-size:19px; line-height:1.3; }
.kh-ch-ma { font-size:12px; font-weight:800; letter-spacing:.6px; color:#fff;
  background:var(--navy); border-radius:3px; padding:3px 8px; }
.kh-ch-so { font-size:12px; font-weight:700; color:var(--muted); }
.kh-ch-mota { color:var(--muted); font-size:13.5px; margin:6px 0 12px; max-width:760px; }

.kh-ds { list-style:none; display:grid; gap:8px; }
.kh-bai { display:flex; align-items:center; gap:13px; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); padding:12px 15px; text-decoration:none; color:var(--text);
  transition:border-color .15s, box-shadow .15s; }
.kh-bai:hover { border-color:var(--acc); box-shadow:var(--shadow); }
.kh-so { flex:none; width:28px; height:28px; display:flex; align-items:center; justify-content:center;
  border-radius:999px; background:var(--acc-soft); color:var(--acc); font-size:13px; font-weight:800; }
.kh-than { display:flex; flex-direction:column; gap:1px; min-width:0; flex:1; }
.kh-ten { font-size:15px; font-weight:700; color:var(--navy); line-height:1.35; }
.kh-ten-vi { font-size:13.5px; color:var(--text); line-height:1.4; }
.kh-meta { font-size:12.5px; color:var(--muted); }
.kh-diem { color:var(--ok); }
.kh-xong { flex:none; width:24px; height:24px; display:flex; align-items:center; justify-content:center;
  border-radius:999px; background:var(--okbg); color:var(--ok); font-weight:800; font-size:13px; }

.kh-doc { max-width:820px; }
.kh-duong { display:flex; align-items:center; gap:7px; flex-wrap:wrap; font-size:12.5px;
  color:var(--muted); margin-bottom:12px; }
.kh-duong a { color:var(--muted); text-decoration:none; }
.kh-duong a:hover { color:var(--acc); text-decoration:underline; }
.kh-duong b { color:var(--navy); }

.lt-muc-tieu { background:var(--acc-soft); border-left:3px solid var(--acc); border-radius:4px;
  padding:12px 16px; margin:18px 0 6px; font-size:14.5px; line-height:1.6; }

.lt-than { font-size:16px; line-height:1.75; margin-top:20px; }
.lt-than p { margin:13px 0; }
.lt-than h2 { color:var(--navy); font-size:21px; line-height:1.3; margin:32px 0 6px;
  padding-top:16px; border-top:1px solid var(--line); }
.lt-than h3 { color:var(--navy); font-size:17px; margin:22px 0 4px; }
.lt-than ul, .lt-than ol { margin:12px 0 12px 22px; }
.lt-than li { margin:6px 0; }
.lt-than u { text-decoration:underline; text-underline-offset:3px; }
.th-o code { overflow-wrap:anywhere; }
.lt-than code { background:#F1F5F9; border:1px solid var(--line); border-radius:3px;
  padding:1px 5px; font-size:.92em; font-family:"SF Mono",Menlo,Consolas,monospace;
  overflow-wrap:anywhere; }
.lt-giua { text-align:center; }
.lt-giua > table, .lt-giua .lt-bang-cuon { margin-left:auto; margin-right:auto; text-align:left; }

.lt-nhan { font-size:11px; font-weight:800; letter-spacing:.8px; text-transform:uppercase;
  margin-bottom:5px; }
.lt-key, .lt-concept, .lt-vd, .lt-vn, .lt-bay { border-radius:5px; padding:13px 16px; margin:18px 0;
  font-size:15px; line-height:1.65; }
.lt-key   { background:#F1F5FA; border-left:3px solid var(--navy); }
.lt-concept { background:#EEF2F8; border-left:3px solid var(--navy); }
.lt-concept .lt-nhan { color:var(--navy); }
.lt-vd    { background:#fff; border:1px solid var(--navy); }
.lt-vd .lt-nhan { color:var(--navy); }
.lt-vn    { background:var(--acc-soft); border-left:3px solid var(--acc-lite); }
.lt-vn .lt-nhan { color:var(--acc); }
.lt-bay   { background:var(--warnbg); border-left:3px solid var(--warn); }
.lt-bay .lt-nhan { color:var(--warn); }
.lt-key p:first-child, .lt-concept p:first-child, .lt-vd p:first-child,
.lt-vn p:first-child, .lt-bay p:first-child { margin-top:0; }
.lt-key p:last-child, .lt-concept p:last-child, .lt-vd p:last-child,
.lt-vn p:last-child, .lt-bay p:last-child { margin-bottom:0; }

.lt-doan-de { background:#FBFCFE; border:1px solid var(--line); border-radius:4px;
  padding:12px 15px; margin:12px 0; font-size:14.5px; line-height:1.7; font-style:italic; }
.lt-muctieu { font-style:italic; color:var(--navy); margin:10px 0; }

.lt-bang-cuon { overflow-x:auto; margin:16px 0; }
.lt-bang { border-collapse:collapse; font-size:14px; min-width:min(100%,420px); background:#fff; }
.lt-bang th, .lt-bang td { border:1px solid var(--line); padding:7px 12px; text-align:left;
  vertical-align:top; }
.lt-bang th { background:#F1F5FA; color:var(--navy); font-weight:800; }

.lt-hinh { margin:18px 0; text-align:center; }
.lt-hinh svg { max-width:100%; height:auto; }

.lt-than .katex-display, .th-o .katex-display { overflow-x:auto; overflow-y:hidden;
  padding:2px 0; }
.lt-than .lt-ct-rong, .th-o .lt-ct-rong { display:inline-block; max-width:100%;
  vertical-align:bottom; overflow-x:auto; overflow-y:hidden; }
.katex-mathml { left:0; }

.kh-lam { background:#fff; border:1px solid var(--acc); border-radius:var(--radius);
  padding:20px 22px; margin:34px 0 0; }
.kh-lam h2 { color:var(--navy); font-size:19px; margin-bottom:6px; }
.kh-lam p { font-size:14.5px; color:var(--text); }
.kh-tang { display:inline-flex; gap:6px; flex-wrap:wrap; margin-top:10px; }
.kh-tang i { font-style:normal; font-size:11.5px; font-weight:800; letter-spacing:.2px;
  border-radius:3px; padding:3px 9px; }
.kh-tang .n  { background:#F1F5FA; color:var(--muted); }
.kh-tang .k  { background:var(--acc-soft); color:var(--acc); }
.kh-tang .rk { background:var(--warnbg); color:var(--warn); }
.kh-nut { display:flex; gap:10px; flex-wrap:wrap; margin-top:15px; }
.kh-nut .btn { padding:11px 20px; }
#khXong.kh-da-xong { border-color:#0E9F6E; color:#065F46; background:var(--okbg); }
.kh-kq { font-size:13px; color:var(--muted); margin-top:11px; }

.kh-tiep { display:flex; justify-content:space-between; gap:12px; margin-top:22px; }
.kh-tiep a { display:flex; flex-direction:column; gap:2px; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); padding:11px 16px; text-decoration:none; color:var(--muted);
  font-size:12.5px; max-width:48%; }
.kh-tiep a:hover { border-color:var(--acc); }
.kh-tiep a b { color:var(--navy); font-size:14px; }
.kh-tiep .kh-sa { text-align:right; }

@media (max-width:560px) {
  .lt-than { font-size:15.5px; }
  .kh-bai { align-items:flex-start; }
  .kh-lam { padding:16px; }
}

.lt-chon { list-style:none; counter-reset:pa; margin:12px 0 12px 2px; }
.lt-chon li { counter-increment:pa; position:relative; padding-left:36px; margin:6px 0; }
.lt-chon li::before { content:"(" counter(pa, upper-alpha) ")"; position:absolute; left:0;
  font-weight:800; color:var(--navy); }

.th-o { margin:26px 0; font-size:16px; line-height:1.75; }
.th-o p { margin:12px 0; }
.th-o ul { margin:10px 0 10px 22px; }
.th-o li { margin:5px 0; }
.th-nhan { color:var(--navy); font-size:20px; line-height:1.3; margin-bottom:8px;
  padding-top:18px; border-top:1px solid var(--line); }
.th-muc { color:var(--navy); font-size:17px; margin:22px 0 2px; }
.th-lien { color:var(--acc); font-weight:600; }

.th-vao { background:#F8FAFD; border:1px solid var(--line); border-radius:var(--radius);
  padding:16px 18px; font-size:15.5px; }
.th-vao .th-nhan { border-top:0; padding-top:0; font-size:16px; }
.th-vao p:last-child { margin-bottom:0; }

.th-truoc { background:#fff; border-left:3px solid var(--acc-lite); border-radius:4px;
  padding:13px 16px; font-size:15px; }
.th-truoc .th-nhan { border-top:0; padding-top:0; font-size:15px;
  text-transform:uppercase; letter-spacing:.6px; color:var(--acc); }
.th-truoc ul { margin:6px 0 0 20px; }

.th-sai .th-muc { color:var(--warn); font-size:15.5px; }
.th-sai { background:var(--warnbg); border-radius:5px; padding:14px 18px; }
.th-sai .th-nhan { border-top:0; padding-top:0; color:var(--warn); font-size:17px; }
.th-sai p:last-child { margin-bottom:0; }

.th-cau { background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:15px 17px; margin:12px 0; }
.th-so { font-size:11px; font-weight:800; letter-spacing:.8px; text-transform:uppercase;
  color:var(--acc); margin-bottom:5px; }
.th-de { font-size:15.5px; line-height:1.7; }
.th-pa { list-style:none; counter-reset:tp; margin:10px 0 0; }
.th-pa li { counter-increment:tp; position:relative; padding-left:34px; margin:5px 0;
  font-size:15px; }
.th-pa li::before { content:"(" counter(tp, upper-alpha) ")"; position:absolute; left:0;
  font-weight:800; color:var(--navy); }
.th-pa li.dung { }
.th-chua { margin-top:11px; border-top:1px dashed var(--line-2); padding-top:9px; }
.th-chua summary { cursor:pointer; font-size:13.5px; font-weight:700; color:var(--acc);
  list-style:none; }
.th-chua summary::-webkit-details-marker { display:none; }
.th-chua summary::after { content:" ↓"; }
.th-chua[open] summary::after { content:" ↑"; }
.th-nhan-dap { display:inline-block; font-size:12px; font-weight:800; letter-spacing:.4px;
  background:var(--okbg); color:var(--ok); border-radius:3px; padding:3px 10px; margin:9px 0 2px; }
.th-chua p { font-size:15px; margin:9px 0; }

.th-tom { background:var(--acc-soft); border-radius:5px; padding:15px 18px; }
.th-tom .th-nhan { border-top:0; padding-top:0; color:var(--acc); font-size:17px; }
.th-tom ul { margin:6px 0 0 20px; }
.th-tom li { margin:7px 0; font-size:15.5px; }

.th-nhan-en span { display:block; font-size:13.5px; font-weight:400; color:var(--muted);
  margin-top:3px; line-height:1.55; }

@media (max-width:560px) {
  .th-o { font-size:15.5px; }
  .th-vao, .th-sai, .th-tom { padding:13px 15px; }
}

.tv-cuon { overflow-x:auto; }
.tv-bang { border-collapse:collapse; width:100%; font-size:14.5px; background:#fff;
  min-width:min(100%,520px); }
.tv-bang th, .tv-bang td { border:1px solid var(--line); padding:8px 12px; text-align:left;
  vertical-align:top; }
.tv-bang th { background:#F1F5FA; color:var(--navy); font-weight:800; font-size:12px;
  letter-spacing:.4px; text-transform:uppercase; }
.tv-bang .tv-en { font-weight:700; color:var(--navy); white-space:nowrap; }
.tv-bang .tv-vi { color:var(--text); }
.tv-bang .tv-gt { color:var(--muted); font-size:13.5px; }
.th-tv .th-nhan { border-top:0; padding-top:0; font-size:17px; }

.btn-sm { padding:7px 14px; font-size:13px; }

.lt-trong { display:inline-block; min-width:110px; border-bottom:2px solid var(--navy);
  vertical-align:baseline; text-decoration:none; }

.kh-trang { max-width:1180px; }
.kh-2cot { display:grid; grid-template-columns:288px minmax(0,1fr); gap:34px; align-items:start; }
.kh-noi { max-width:820px; min-width:0; }

.kh-ben { position:sticky; top:118px; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.kh-ben-tom { display:none; }
.kh-ben-than { display:flex; flex-direction:column; max-height:calc(100vh - 150px); }
.kh-ben-dau { padding:13px 15px 12px; border-bottom:1px solid var(--line); }
.kh-ben-ve { display:block; font-size:13px; font-weight:700; color:var(--navy);
  text-decoration:none; margin-bottom:9px; }
.kh-ben-ve:hover { color:var(--acc); }
.kh-ben-dau .kh-td-thanh { height:6px; }
.kh-ben-td-chu { font-size:12px; color:var(--muted); margin-top:6px; }
.kh-ben-td-chu b { color:var(--navy); }

.kh-ben-ds { overflow-y:auto; padding:6px 0 10px; }
.kh-ben-ch { padding:6px 0 2px; }
.kh-ben-ch-ten { display:flex; align-items:center; gap:7px; padding:7px 15px 5px; }
.kh-ben-ch-ten .ma { font-size:10.5px; font-weight:800; letter-spacing:.5px; color:#fff;
  background:var(--navy); border-radius:3px; padding:2px 6px; }
.kh-ben-ch-ten .ten { font-size:12.5px; font-weight:800; color:var(--navy); line-height:1.3;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.kh-ben-ch-ten .so { margin-left:auto; font-size:11px; color:var(--muted); }
.kh-ben-ch.dang .kh-ben-ch-ten .ma { background:var(--acc); }
.kh-ben-ch ol { list-style:none; margin:0; padding:0; }
.kh-ben-ch a { display:flex; align-items:flex-start; gap:9px; padding:6px 15px 6px 13px;
  text-decoration:none; color:var(--text); border-left:3px solid transparent; }
.kh-ben-ch a:hover { background:#F5F8FC; }
.kh-ben-ch a .stt { flex:none; width:19px; height:19px; margin-top:1px; display:flex;
  align-items:center; justify-content:center; border-radius:999px; background:#EEF2F8;
  color:var(--muted); font-size:10.5px; font-weight:800; }
.kh-ben-ch a .nd { min-width:0; display:flex; flex-direction:column; gap:1px; }
.kh-ben-ch a .nd b { font-size:12.5px; font-weight:600; line-height:1.35; color:var(--text); }
.kh-ben-ch a .nd i { font-style:normal; font-size:11.5px; color:var(--muted); line-height:1.35;
  display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
.kh-ben-ch a .v { margin-left:auto; color:var(--ok); font-size:11px; font-weight:800; }
.kh-ben-ch a.xong .stt { background:var(--okbg); color:var(--ok); }
.kh-ben-ch a.dang { background:var(--acc-soft); border-left-color:var(--acc); }
.kh-ben-ch a.dang .nd b { color:var(--acc); font-weight:800; }
.kh-ben-ch a.dang .stt { background:var(--acc); color:#fff; }

@media (max-width: 959px) {
  .kh-2cot { grid-template-columns:1fr; gap:16px; }
  .kh-ben { position:static; }
  .kh-ben-tom { display:flex; align-items:center; gap:10px; padding:12px 15px;
    cursor:pointer; list-style:none; font-size:13.5px; }
  .kh-ben-tom::-webkit-details-marker { display:none; }
  .kh-ben-tom .nhan { font-weight:800; color:var(--navy); }
  .kh-ben-tom .vt { margin-left:auto; color:var(--muted); font-size:12.5px; }
  .kh-ben-tom .vt b { color:var(--acc); }
  .kh-ben-tom::after { content:"▾"; color:var(--muted); }
  .kh-ben[open] .kh-ben-tom::after { content:"▴"; }
  .kh-ben[open] .kh-ben-tom { border-bottom:1px solid var(--line); }
  .kh-ben-than { max-height:none; }
  .kh-ben-ds { max-height:60vh; }
}

.vd-chon { margin-left:0; }
.vd-chon li { cursor:pointer; background:#fff; border:1px solid var(--line-2);
  border-radius:6px; padding:9px 13px 9px 42px; margin:7px 0;
  transition:background .12s, border-color .12s, box-shadow .12s; }
.vd-chon li::before { left:14px; top:9px; }
.vd-chon li:hover { border-color:var(--acc); background:#F7FBFE; }
.vd-chon li.chon { background:var(--acc-soft); border-color:var(--acc);
  box-shadow:inset 0 0 0 1px var(--acc); }
.vd-chon li.chon::before { color:var(--acc); }
.vd-chon.da-cham li { cursor:default; }
.vd-chon.da-cham li:hover { background:none; }
.vd-chon.da-cham li.dung { background:var(--okbg); border-color:#0E9F6E;
  box-shadow:inset 0 0 0 1px #0E9F6E; font-weight:600; }
.vd-chon.da-cham li.dung::before { color:var(--ok); }
.vd-chon.da-cham li.sai { background:#FEF2F2; border-color:#DC2626;
  box-shadow:inset 0 0 0 1px #DC2626; }
.vd-chon.da-cham li.sai::before { color:#B91C1C; }

.vd-nut { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:12px; }
.vd-bao { font-size:13px; color:var(--muted); }
.th-o-dap { font-size:15px; padding:7px 11px; border:1.5px solid var(--line-2); border-radius:5px;
  width:150px; font-family:inherit; }
.th-o-dap:disabled { background:#F5F7FA; color:var(--muted); }
.vd-bao.ok { color:var(--ok); font-weight:700; }
.vd-bao.hong { color:#B91C1C; font-weight:700; }
.vd-giai { margin-top:12px; border-top:1px dashed var(--line-2); padding-top:10px; }
.vd-giai > p:first-child { margin-top:0; }

.bt-may { margin-top:16px; border:1px solid var(--line-2); border-radius:var(--radius);
  background:#fff; overflow:hidden; }
.bt-dau { display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  background:#F3F6FB; border-bottom:1px solid var(--line-2); padding:9px 14px; }
.bt-ten b { color:var(--navy); font-size:14px; }
.bt-ten-phu { color:var(--muted); font-size:12.5px; margin-left:8px; }
.bt-cc { margin-left:auto; display:flex; align-items:center; gap:10px; }
.bt-gio { font-variant-numeric:tabular-nums; font-weight:800; color:var(--navy); font-size:14px; }
.bt-gach, .bt-rong { background:#fff; border:1px solid var(--line-2); border-radius:4px;
  font-size:12px; font-weight:700; color:var(--navy); padding:4px 10px; cursor:pointer;
  text-decoration:none; }
.bt-gach:hover, .bt-rong:hover { border-color:var(--acc); color:var(--acc); }
.bt-san { padding:18px 18px 6px; }
.bt-san .bb-1cot { max-width:none; }
.bt-san.che-do-gach .q-opt .gach-x { display:block; }
.bt-san .kq-box { margin:6px auto 10px; }
.bt-san .bb-nghi { margin:10px auto; }
.bt-duoi { display:flex; align-items:center; justify-content:space-between; gap:12px;
  border-top:1px solid var(--line); padding:10px 14px; }
.bt-dem { font-size:13px; color:var(--muted); }
.bt-dem b { color:var(--navy); font-variant-numeric:tabular-nums; }
.bt-di { background:var(--navy); color:#fff; border:0; border-radius:999px; font-size:13.5px;
  font-weight:700; padding:8px 20px; cursor:pointer; font-family:inherit; }
.bt-di.lui { background:#fff; color:var(--navy); border:1px solid var(--line-2); }
.bt-di[disabled] { opacity:.4; cursor:not-allowed; }
.bt-luoi { border-top:1px solid var(--line); background:#FAFCFE; padding:11px 14px 13px; }
.bt-luoi-dau { font-size:12px; color:var(--muted); margin-bottom:8px; }
.bt-luoi-dau b { color:var(--navy); }
.bt-luoi .o-luoi { display:grid; grid-template-columns:repeat(auto-fill,minmax(34px,1fr)); gap:6px; }
.bt-luoi .o { position:relative; border:1px dashed var(--line-2); background:#fff; color:var(--acc);
  font-weight:700; font-size:12.5px; padding:6px 0; text-align:center; cursor:pointer;
  border-radius:3px; font-family:inherit; }
.bt-luoi .o.da-tra-loi { background:var(--acc); border:1px solid var(--acc); color:#fff; }
.bt-luoi .o.hien-tai { outline:2px solid var(--navy); outline-offset:1px; }
@media (max-width: 560px) {
  .bt-san { padding:14px 12px 4px; }
  .bt-dau, .bt-duoi, .bt-luoi { padding-left:11px; padding-right:11px; }
  .bt-ten-phu { display:none; }
}

.kh-bdk { display:grid; grid-template-columns:auto 1fr auto; gap:26px; align-items:center;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:18px 22px; margin:18px 0 4px; }
.kh-bdk-vong { display:flex; align-items:center; gap:13px; }
.kh-vong { width:64px; height:64px; flex:none; transform:rotate(-90deg); }
.kh-vong circle { fill:none; stroke:#EEF2F8; stroke-width:7; }
.kh-vong circle.chay { stroke:var(--acc); stroke-linecap:round; transition:stroke-dasharray .5s; }
.kh-vong text { transform:rotate(90deg); transform-origin:32px 32px; text-anchor:middle;
  font-size:15px; font-weight:800; fill:var(--navy); stroke:none; }
.kh-bdk-vt b { display:block; color:var(--navy); font-size:15.5px; }
.kh-bdk-vt span { font-size:12.5px; color:var(--muted); }
.kh-bdk-so { display:flex; gap:26px; flex-wrap:wrap; }
.kh-bdk-so b { display:block; color:var(--navy); font-size:22px; font-variant-numeric:tabular-nums; }
.kh-bdk-so span { font-size:12px; color:var(--muted); }
.kh-bdk-tiep { text-align:right; max-width:330px; }
.kh-bdk-tiep .nhan { display:block; font-size:11px; font-weight:800; letter-spacing:.6px;
  text-transform:uppercase; color:var(--muted); margin-bottom:7px; }
.kh-bdk-tiep .ten-bai { display:block; font-size:13px; color:var(--navy); line-height:1.4;
  margin-bottom:9px; }
.kh-dongbo { font-size:12.5px; color:var(--muted); margin:0 0 18px; }
.kh-dongbo.ok { color:var(--ok); }
@media (max-width: 820px) {
  .kh-bdk { grid-template-columns:1fr; gap:16px; text-align:left; }
  .kh-bdk-tiep { text-align:left; max-width:none; }
  .kh-bdk-so { gap:18px; }
}

.kh-muc { display:inline-block; font-size:11.5px; font-weight:800; letter-spacing:.2px;
  border-radius:3px; padding:2px 8px; }
.kh-muc.chua { background:#F1F5FA; color:var(--muted); }
.kh-muc.yeu  { background:var(--warnbg); color:var(--warn); }
.kh-muc.qua  { background:var(--acc-soft); color:var(--acc); }
.kh-muc.thao { background:var(--okbg); color:var(--ok); }
.kh-lan { font-size:11.5px; color:var(--muted); margin-left:7px; }

.kh-ch-thanh { flex:1 1 90px; max-width:180px; height:6px; background:#EEF2F8;
  border-radius:999px; overflow:hidden; }
.kh-ch-thanh i { display:block; height:100%; background:var(--ok); border-radius:999px; }
.kh-ch-xong .kh-ch-ma { background:#0E9F6E; }

.kh-bai { border-left-width:3px; }
.kh-bai.kh-chua { border-left-color:var(--line-2); }
.kh-bai.kh-yeu  { border-left-color:var(--warn); }
.kh-bai.kh-qua  { border-left-color:var(--acc); }
.kh-bai.kh-thao { border-left-color:#0E9F6E; }
.kh-bai .kh-di { flex:none; font-size:12.5px; font-weight:800; color:var(--acc); opacity:0;
  transition:opacity .14s; }
.kh-bai:hover .kh-di { opacity:1; }
@media (max-width: 700px) { .kh-bai .kh-di { display:none; } }

.kh-ben-ch a .v { font-weight:800; font-size:11.5px; }
.kh-ben-ch a.m-thao .stt { background:var(--okbg); color:var(--ok); }
.kh-ben-ch a.m-thao .v { color:var(--ok); }
.kh-ben-ch a.m-qua  .stt { background:var(--acc-soft); color:var(--acc); }
.kh-ben-ch a.m-qua  .v { color:var(--acc); }
.kh-ben-ch a.m-yeu  .stt { background:var(--warnbg); color:var(--warn); }
.kh-ben-ch a.m-yeu  .v { color:var(--warn); }
.kh-ben-ch a.dang .stt { background:var(--acc); color:#fff; }

.th-dai{max-width:1120px;margin:56px auto 28px;padding:18px 20px 20px;
  border-top:1px solid #e5e7eb;color:#6b7280;font-size:13.5px;line-height:1.65}
.th-dai p{margin:0}
.th-dai p + p{margin-top:7px}
.th-dai b{color:#111827}
.th-dai a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.th-dai a:hover{color:#2563eb}
.th-ds{word-spacing:.02em}

.tv-stat .stat .so { font-size:30px; }
.tv-dn { font-size:13.5px; margin-top:8px; }
.kho-nhom { display:flex; flex-wrap:wrap; align-items:center; gap:7px; width:100%; margin:14px 0 4px; }
.kho-nhom-ten { font-size:11px; font-weight:800; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); margin-right:4px; }
.kho-nhom a { text-decoration:none; font-size:12.5px; font-weight:700; color:var(--text); border:1px solid var(--line-2); border-radius:99px; padding:4px 11px; background:#fff; }
.kho-nhom a.on { background:var(--navy); border-color:var(--navy); color:#fff; }
.kho-nhom a:hover:not(.on) { border-color:var(--acc); color:var(--acc); }
.kho-nhom a .n { font-size:11px; color:var(--muted); font-weight:700; margin-left:3px; }
.kho-nhom a.on .n { color:#CBD5E1; }
.tv-nhanh { margin-top:26px; }
.tv-nhanh-dau { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; }
.tv-nhanh-dau h2 { color:var(--navy); font-size:21px; }
.tv-nhanh-dau h2 .muted { font-size:14px; font-weight:600; }
.tv-nhanh-dau p { font-size:14px; max-width:640px; }
.tv-nut { display:flex; flex-wrap:wrap; gap:9px; }
.tv-luoi { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:12px; margin-top:14px; }
.tv-bo { display:flex; flex-direction:column; gap:6px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:14px 16px; text-decoration:none; color:var(--text); transition:border-color .15s, transform .15s; }
.tv-bo:hover { border-color:var(--acc); transform:translateY(-2px); }
.tv-bo-dau { display:flex; gap:6px; flex-wrap:wrap; }
.tv-bo b { font-size:16px; color:var(--navy); line-height:1.35; }
.tv-bo-en { font-size:12.5px; color:var(--muted); font-style:italic; margin-top:-4px; }
.tv-bo p { font-size:13.5px; line-height:1.55; color:#334155; flex:1; }
.tv-bo-chan { display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:12px; color:var(--muted); margin-top:4px; }
.the-thanh.nho { display:inline-block; width:90px; height:6px; background:#E3E8EF; border-radius:3px; overflow:hidden; vertical-align:middle; }
.the-thanh.nho i { display:block; height:100%; background:var(--acc); }
.tv-thanh { display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap; margin-top:14px; }
.tv-loc { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.tv-loc input[type=search] { border:1px solid var(--line-2); border-radius:6px; padding:8px 12px; font-size:14px; min-width:220px; font-family:inherit; }
.tv-an { font-size:13.5px; color:var(--muted); display:flex; align-items:center; gap:6px; cursor:pointer; }
.pill.kho.d3 { border-color:#94A3B8; color:#475569; }
.pill.kho.d4 { border-color:#D97706; color:#B45309; }
.pill.kho.d5 { border-color:#DC2626; color:#B91C1C; }
.nh-nhan { font-size:11px; font-weight:800; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); }

.tu-luoi { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:14px; margin-top:16px; }
.tu-the { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:16px 18px; }
.tu-the.thuoc { border-color:var(--acc); background:var(--acc-soft); }
.tu-dau { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px; margin-bottom:6px; }
.tu-dau h3 { margin:0; font-size:20px; color:var(--navy); }
.tu-loai { font-style:italic; color:#64748B; font-size:13px; }
.tu-ipa { color:#64748B; font-size:13px; font-family:ui-monospace,Menlo,monospace; }
.tu-nghia { margin:2px 0 6px; font-weight:700; color:#0F172A; }
.tu-dn { font-size:13.5px; color:#475569; margin:0 0 6px; }
.tu-vd { margin:8px 0; padding-left:12px; border-left:3px solid var(--acc-lite); color:#334155; font-size:14.5px; }
.tu-vd-vi { display:block; color:#64748B; font-size:13.5px; margin-top:3px; }
.tu-col { margin-top:10px; }
.tu-col ul { margin:4px 0 0; padding-left:18px; color:#334155; font-size:14px; }
.tu-col li { margin:2px 0; }
.tu-ho { margin-top:8px; font-size:14px; color:#334155; }
.tu-bay { margin-top:10px; background:#FEF3C7; border-left:3px solid #D97706; padding:8px 10px; border-radius:6px; font-size:14px; color:#78350F; }
.tu-part { margin-top:10px; display:flex; gap:5px; flex-wrap:wrap; }
.tu-luoi.an-nghia .tu-ruot > :not(.tu-vd) { visibility:hidden; }
.tu-luoi.an-nghia .tu-vd .tu-vd-vi { visibility:hidden; }
.tu-luoi.an-nghia .tu-the:hover .tu-ruot > *, .tu-luoi.an-nghia .tu-the:hover .tu-vd-vi { visibility:visible; }

.on-tu { max-width:680px; margin:0 auto; }
.on-thanh { display:flex; align-items:center; gap:12px; color:#64748B; font-size:13.5px; margin-bottom:14px; }
.on-vach { flex:1; height:6px; background:#E3E8EF; border-radius:3px; overflow:hidden; }
.on-vach i { display:block; height:100%; background:var(--acc); transition:width .2s; }
.on-the { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:32px 24px; text-align:center; cursor:pointer; min-height:230px; }
.on-the h1 { margin:6px 0; font-size:34px; color:var(--navy); }
.on-hop { font-size:12px; color:#64748B; text-transform:uppercase; letter-spacing:1px; }
.on-mat { margin-top:18px; text-align:left; }
.on-mat .tu-nghia { font-size:19px; text-align:center; }
.on-nut { display:flex; justify-content:center; gap:10px; margin-top:16px; flex-wrap:wrap; }
.on-cau { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px 26px; }
.on-doan { font-size:17px; line-height:1.75; color:#1F2937; margin:10px 0 14px; font-family:Georgia,"Times New Roman",serif; }
.on-trong { display:inline-block; min-width:90px; border-bottom:2px solid var(--navy); font-weight:700; text-align:center; padding:0 4px; }
.on-trong.dung { color:var(--ok); border-color:var(--ok); }
.on-trong.sai { color:var(--err); border-color:var(--err); }
.on-hoi { font-weight:700; font-size:15px; margin-bottom:12px; }
.on-pa { display:grid; gap:8px; }
.on-pa-o { display:flex; align-items:center; gap:12px; text-align:left; background:#fff; border:1.5px solid var(--line-2); border-radius:8px; padding:10px 14px; font:inherit; font-size:15.5px; cursor:pointer; color:var(--text); }
.on-pa-o b { flex:none; width:28px; height:28px; border:1.5px solid var(--navy); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:13px; color:var(--navy); }
.on-pa-o:hover:not(:disabled) { border-color:var(--acc); background:var(--acc-soft); }
.on-pa-o:disabled { cursor:default; opacity:.85; }
.on-pa-o.dung { border-color:var(--ok); background:var(--okbg); }
.on-pa-o.dung b { background:var(--ok); border-color:var(--ok); color:#fff; }
.on-pa-o.sai { border-color:var(--err); background:var(--errbg); }
.on-pa-o.sai b { background:var(--err); border-color:var(--err); color:#fff; }
.on-giai { margin-top:14px; padding:12px 14px; border-radius:8px; border:1px solid var(--line); background:#F8FAFC; font-size:14.5px; }
.on-giai.ok { border-color:#A7F3D0; } .on-giai.hong { border-color:#FECACA; }
.on-giai .tu-nghia { margin-top:6px; }
.the-diem { display:flex; flex-wrap:wrap; gap:24px; align-items:center; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px 24px; margin-top:8px; }
.the-so { display:flex; flex-direction:column; align-items:flex-start; min-width:150px; }
.the-so .nhan { font-size:11.5px; font-weight:800; letter-spacing:1px; text-transform:uppercase; color:var(--muted); }
.the-so .so { font-size:56px; font-weight:800; color:var(--acc); line-height:1.05; }
.the-thanh { width:100%; height:7px; background:var(--acc-soft); border-radius:4px; margin-top:10px; overflow:hidden; }
.the-thanh i { display:block; height:100%; background:var(--acc-lite); border-radius:4px; }
.the-chu { flex:1; min-width:250px; }
.the-chu h1 { font-size:20px; color:var(--navy); margin-bottom:7px; }
.the-chu p { font-size:14.5px; line-height:1.7; }
@media (max-width:600px) { .on-cau { padding:16px; } .on-doan { font-size:16px; } .tv-loc input[type=search] { min-width:0; width:100%; } }
