/* Đào tạo nội bộ · mẫu 2, 26/10/2026. Shared application surface. */
:root {
  --gs-night:#232D38; --gs-night-2:#2C3846; --gs-night-3:#3A495C;
  --gs-night-ink:#F3F6FC; --gs-night-ink-2:#B6C2D3;
  --gs-ground:#F7F9FC; --gs-surface:#FFF; --gs-surface-2:#EFF3F9;
  --gs-ink:#20252D; --gs-ink-2:#4B586C; --gs-ink-3:#626E81;
  --gs-rule:#D8E0EB; --gs-rule-2:#E9EEF5;
  --gs-primary:#3159DB; --gs-primary-h:#2446B8; --gs-primary-ink:#FFF;
  --gs-primary-sub:#EAF0FF; --gs-primary-sub-h:#DDE7FF;
  --gs-r-sm:7px; --gs-r:10px; --gs-r-lg:12px;
  --gs-h:42px; --gs-h-lg:46px;
  --gs-sh-1:0 1px 2px #17274108;
  --gs-sh-2:0 4px 14px #1727410B;
  --gs-sh-3:0 14px 42px #17274122;
  --gs-menu-w:240px;
  --lp-accent:var(--gs-primary); --lp-accent-ink:var(--gs-primary-ink);
  --lp-accent-sub:var(--gs-primary-sub); --lp-ground:var(--gs-ground);
  --lp-surface:var(--gs-surface); --lp-surface-sub:var(--gs-surface-2);
  --lp-ink:var(--gs-ink); --lp-ink-soft:var(--gs-ink-2); --lp-ink-faint:var(--gs-ink-3);
  --lp-rule:var(--gs-rule); --lp-rule-soft:var(--gs-rule-2);
  --lp-chrome:var(--gs-surface); --lp-chrome-alt:var(--gs-surface-2);
  --lp-chrome-ink:var(--gs-ink); --lp-chrome-soft:var(--gs-ink-2);
  --lp-chrome-rule:var(--gs-rule);
  --text:var(--gs-ink); --border:var(--gs-rule);
}
:root[data-theme=dark] {
  --gs-night:#141C28; --gs-night-2:#253145; --gs-night-3:#344159;
  --gs-night-ink:#EDF3FF; --gs-night-ink-2:#B4C2D7;
  --gs-ground:#151C28; --gs-surface:#1D2737; --gs-surface-2:#263348;
  --gs-ink:#EDF3FF; --gs-ink-2:#BDCADF; --gs-ink-3:#A2B2CA;
  --gs-rule:#3B4B65; --gs-rule-2:#2D3A50;
  --gs-primary:#99B2FF; --gs-primary-h:#B9CAFF; --gs-primary-ink:#132249;
  --gs-primary-sub:#273C68; --gs-primary-sub-h:#344B7B;
  --gs-sh-1:0 1px 2px #0002; --gs-sh-2:0 4px 14px #0003; --gs-sh-3:0 14px 42px #0006;
}
html,body { background:var(--gs-ground); color:var(--gs-ink); }
html { scroll-padding-top:84px; }
body { font-family:var(--gs-font); -webkit-font-smoothing:antialiased; }
*,*::before,*::after { box-sizing:border-box; }
[hidden] { display:none !important; }
:where(button,input,select,textarea,a):focus-visible { outline:3px solid var(--gs-primary); outline-offset:3px; }
button,input,select,textarea { accent-color:var(--gs-primary); }
:where(main,.bs-db-body,.gs-hm,.gs-dt) h1 { letter-spacing:-.035em; line-height:1.18; }
:where(main,.bs-db-body,.gs-hm,.gs-dt) h2 { letter-spacing:-.02em; }
.gs-btn { font-size:14px; min-height:40px; box-shadow:none; }
.gs-btn--primary { background:var(--gs-primary); border-color:var(--gs-primary); color:var(--gs-primary-ink); box-shadow:none; }
.gs-btn--primary:hover { background:var(--gs-primary-h); border-color:var(--gs-primary-h); }
/* Chrome inherits the approved cobalt palette; geometry is owned by thanh-tren.css. */
.gs-top { background:var(--gs-ground); color:var(--gs-ink); border-color:var(--gs-rule-2); box-shadow:none; }
.gs-top-row { height:64px; min-height:64px; padding:0 var(--gs-page-gutter); gap:16px; }
.gs-top-mark { width:32px; height:32px; object-fit:contain; border-radius:0; }
.gs-side-nav { background:none; }
.gs-side-dau { height:72px; }
.gs-side-link { min-height:44px; font-size:13px; }
.gs-side-tieu { color:var(--gs-ink-3); }
.gs-side-link[aria-current=page]::before { display:none; }
.gs-side :focus-visible,.gs-top :focus-visible { outline-color:var(--gs-primary); }
.gs-top-trail { display:flex; align-items:center; gap:13px; color:var(--gs-ink-3); font-size:13px; min-width:0; }
.gs-top-trail a { color:var(--gs-ink-3); }
.gs-top-trail a:hover { color:var(--gs-primary); }
.gs-top-trail svg { width:14px; height:14px; transform:rotate(-90deg); }
.gs-top-trail span { color:var(--gs-ink-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.gs-top-date { margin-left:auto; color:var(--gs-ink-3); font-size:12px; white-space:nowrap; }
.gs-top-bell { margin-left:12px; }
.gs-top-bell-nut,.gs-top-mo-menu,.gs-top-truoc { color:var(--gs-ink-2); }
.gs-top-bell-dem { box-shadow:0 0 0 2px var(--gs-ground); }
.gs-top-acc { margin-left:auto; }
.gs-top-date~.gs-top-acc { margin-left:0; }
.gs-top-av { background:var(--gs-surface-2); color:var(--gs-ink-2); width:36px; height:36px; font-size:14px; }
.gs-top-ten { display:none; }
.gs-top-acc-nut:hover,.gs-top-bell-nut:hover,.gs-top-mo-menu:hover { background:var(--gs-surface-2); }
.gs-top-menu { width:290px; padding:8px; border-radius:12px; }
.gs-top-menu a,.gs-top-menu-hang,.gs-top-menu-thoat { min-height:44px; }
.gs-top-truoc { margin-right:4px; }
.gs-top .lp-burger { color:var(--gs-ink); }
dialog { color:var(--gs-ink); background:var(--gs-surface); border:1px solid var(--gs-rule); border-radius:14px; box-shadow:var(--gs-sh-3); }
dialog::backdrop { background:#14213F70; }
.gs-workspace-main { width:100%; max-width:var(--gs-workspace-max); margin:0 auto 0 0; padding:28px var(--gs-page-gutter) 72px; min-width:0; }
.gs-workspace-kicker { color:var(--gs-ink-3); text-transform:uppercase; letter-spacing:.1em; font-size:10px; font-weight:650; margin:0 0 12px; }
.gs-workspace-head h1 { font-size:clamp(28px,3vw,40px); margin:0 0 12px; letter-spacing:-.04em; }
.gs-workspace-head>p:last-child { max-width:64ch; color:var(--gs-ink-2); font-size:15px; line-height:1.65; margin:0; }
.gs-view-tabs { display:flex; gap:28px; flex-wrap:wrap; border-bottom:1px solid var(--gs-rule); margin:24px 0 28px; }
.gs-view-tabs a { display:flex; align-items:center; min-height:46px; padding:9px 1px; text-decoration:none; color:var(--gs-ink-2); font-size:14px; border-bottom:3px solid transparent; margin-bottom:-1px; }
.gs-view-tabs a[aria-current=page] { color:var(--gs-primary); border-bottom-color:var(--gs-primary); font-weight:650; }
.gs-view-tabs a:hover { color:var(--gs-primary); }
.gs-workspace-main [data-workspace-content] { min-width:0; }
.gs-workspace-main [data-workspace-content]>section { min-width:0; }
/* Login is an application entry, with the same brand and readable form. */
.bs-auth { padding:48px 24px; min-height:100dvh; }
.bs-auth-khung { max-width:1060px; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); border:1px solid var(--gs-rule-2); border-radius:14px; box-shadow:0 16px 60px #1727410D; }
.bs-auth-gioi { background:#232D38; padding:52px 44px; gap:30px; }
.bs-auth-hieu { gap:15px; }
.bs-auth-dau { width:65px; height:65px; object-fit:contain; border-radius:0; }
.bs-auth-hieu b { font-size:23px; line-height:1.3; letter-spacing:-.04em; color:#F5F8FF; }
.bs-auth-hieu small { font-size:12px; line-height:1.5; color:#BBC8DA; }
.bs-auth-gioi>p { font-size:22px; line-height:1.45; letter-spacing:-.025em; color:#FFF; }
.bs-auth-ds { gap:22px; }
.bs-auth-ds svg { background:#344254; color:#B4C7FF; }
.bs-auth-ds b { color:#F5F8FF; }
.bs-auth-ds span { color:#BDCADC; }
.bs-auth-card { padding:64px 44px 46px; align-self:center; }
.bs-auth h1 { font-size:32px; line-height:1.2; margin-bottom:12px; letter-spacing:-.04em; }
.bs-auth-sub { margin-bottom:30px; font-size:14px; line-height:1.6; }
.bs-auth label { font-size:14px; font-weight:550; }
.bs-auth input { height:48px; margin-bottom:20px; }
.bs-auth-hien { top:8px; }
.bs-auth-go { height:48px; margin-top:6px; }
.bs-auth-quen { margin-top:24px; }
.bs-auth-note { line-height:1.7; }
@media(max-width:959px) {
  .gs-top-brand { font-size:15px; gap:8px; }
  .gs-top-brand .gs-top-mark { width:30px; height:30px; }
  .gs-top-trail { display:none; }
  .gs-top-date { margin-left:auto; }
}
@media(max-width:760px) {
  .gs-workspace-main { padding:22px 16px 56px; }
  .gs-view-tabs { gap:16px; margin:20px 0; }
  .gs-view-tabs a { font-size:13px; }
  .gs-top-row { height:60px; min-height:60px; gap:8px; padding:0 12px; }
  .gs-top-date { display:none; }
  .gs-top-bell { margin-left:auto; }
  .gs-top-brand span { display:inline; font-size:14px; }
  .gs-top-menu { top:64px; width:auto; }
  .bs-auth { padding:20px 16px; }
  .bs-auth-khung { display:block; max-width:480px; }
  .bs-auth-gioi { padding:22px; gap:0; }
  .bs-auth-dau { width:44px; height:44px; }
  .bs-auth-hieu b { font-size:20px; }
  .bs-auth-card { padding:30px 24px; }
  .bs-auth h1 { font-size:28px; }
}
@media(max-width:390px) { .gs-top-brand span { font-size:12px; } .gs-top-row { gap:4px; } .gs-top-acc-nut { padding-right:0; } }
@media(max-width:640px) {
  .bs-hoc-goc .gs-top-brand span { display:none; }
  .bs-hoc-goc .gs-top .lp-burger.gs-top-truoc { padding:0 8px; min-width:0; font-size:12px; }
}
/* The retained procedure-work board uses the same workspace rhythm. */
.bs-db { --text-strong:var(--gs-ink); --text-mid:var(--gs-ink-2); --text-muted:var(--gs-ink-3); --primary:var(--gs-primary); --primary-nen:var(--gs-primary-sub); }
.bs-db .bs-db-body,.bs-db[data-tab="board"] .bs-db-body { width:100%; max-width:var(--gs-workspace-max); padding:28px var(--gs-page-gutter) 120px; margin:0 auto 0 0; border-radius:0; box-shadow:none; background:var(--gs-ground); }
.gs-legacy-work-head { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0 0 24px; }
.bs-db .bs-db-title { margin:8px 0 10px; font:650 32px/1.2 var(--gs-font) !important; letter-spacing:-.035em; color:var(--gs-ink); }
.gs-legacy-work-desc { margin:0; font-size:14px; color:var(--gs-ink-3); line-height:1.6; }
.bs-db .bs-tab { gap:20px; background:none; border-radius:0; border-bottom:1px solid var(--gs-rule); padding:0; margin-bottom:24px; box-shadow:none; }
.bs-db .bs-tab-nut { min-height:46px; padding:8px 0; border-radius:0; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--gs-ink-2); font-size:14px; }
.bs-db .bs-tab-nut.is-active { color:var(--gs-primary); border-bottom-color:var(--gs-primary); background:transparent; box-shadow:none; }
.bs-db .bs-task-sum { padding:16px 20px; border:1px solid var(--gs-rule); border-radius:10px; background:var(--gs-surface); gap:20px; }
.bs-db .bs-task-bar i { background:var(--gs-primary); }
.bs-db .bs-ds { border:1px solid var(--gs-rule); border-radius:10px; background:var(--gs-surface); overflow:hidden; }
.bs-db .bs-ds-tuan { margin:0; padding:15px 20px; background:var(--gs-surface-2); color:var(--gs-ink-2); border-bottom:1px solid var(--gs-rule); font-size:13px; }
.bs-db .bs-ds-hang { padding:15px 20px; border-bottom:1px solid var(--gs-rule-2); border-radius:0; background:var(--gs-surface); min-height:64px; }
.bs-db .bs-ds-hang:hover { background:var(--gs-primary-sub); }
.bs-db .bs-ds-hang.is-chon { background:var(--gs-primary-sub); box-shadow:inset 3px 0 var(--gs-primary); }
.bs-db .bs-ds-ten { font-size:14px; line-height:1.5; color:var(--gs-ink); }
.bs-db .bs-ds-con { border-color:var(--gs-rule); background:var(--gs-surface); }
.bs-db .bs-ct-khung { background:var(--gs-ground); border-color:var(--gs-rule); box-shadow:var(--gs-sh-3); }
.bs-db .bs-ct-dau { background:var(--gs-surface); border-color:var(--gs-rule); min-height:64px; }
.bs-db .bs-ct-the { box-shadow:none; border:1px solid var(--gs-rule); border-radius:10px; background:var(--gs-surface); }
.bs-db .bs-ct-ten { font-size:24px; color:var(--gs-ink); }
.bs-db .bs-ct-them-ct > summary { min-height:40px; padding:10px 0; box-sizing:border-box; }
.bs-db .bs-kpi-xoa { min-width:32px; min-height:32px; }
.lp-crumb a:not([hidden]) { display:inline-flex; align-items:center; min-height:24px; }
.bct .bct-task:not([hidden]) { display:inline-flex; align-items:center; min-height:28px; padding:3px 0; }
.kv-pet-cho-het:not([hidden]) { display:flex; align-items:center; min-height:36px; }
.bs-db[data-tab="board"] .bs-ct:not([hidden]) { position:fixed; inset:0; width:auto; z-index:90; }
.bs-db[data-tab="board"] .bs-ct .bs-ct-nen { display:block; background:#13223B66; }
.bs-db[data-tab="board"] .bs-ct .bs-ct-khung { position:absolute; inset:4vh max(24px,calc((100vw - 1080px)/2)); width:auto; height:auto; margin:0; max-width:none; border-radius:12px; box-shadow:var(--gs-sh-3); }
.bs-db .bs-ct-tien,.bs-db .bs-soan-gui { background:var(--gs-primary); color:var(--gs-primary-ink); border-color:var(--gs-primary); min-height:40px; border-radius:7px; }
@media(max-width:760px) {
  .bs-db .bs-db-body,.bs-db[data-tab="board"] .bs-db-body { padding:22px 16px 100px; }
  .gs-legacy-work-head { align-items:flex-start; flex-direction:column; gap:14px; }
  .bs-db .bs-db-title { font-size:27px !important; }
  .bs-db[data-tab="board"] .bs-ct .bs-ct-khung { inset:0; border-radius:0; }
  .bs-db .bs-tab { gap:14px; }
  .bs-db .bs-tab-nut { font-size:12px; }
  .bs-db .bs-tab-nut svg { display:none; }
  .bs-db .bs-ds-hang { padding:13px 12px; }
  .bs-db .bs-ds-tuan { padding:13px 12px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition-duration:0s !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; } }

/* Align work surfaces to the sidebar gutter. Reading/editor text columns keep their own measure. */
.bs-hoc-goc .lp-shell.lp-no-side { margin-inline:0; padding-inline:0; width:100%; }
.bs-hoc-goc .lp-content.gs-kh.gs-kh { width:100%; max-width:var(--gs-workspace-max); margin:0 auto 0 0; padding:28px var(--gs-page-gutter) 64px; }
.kv-goc > main.kv:not(.bct) { max-width:var(--gs-workspace-max); margin:0 auto 0 0; padding-inline:var(--gs-page-gutter); }
@media(max-width:759px) {
  :root { --gs-page-gutter:16px; }
  .bs-hoc-goc .lp-content.gs-kh.gs-kh { padding-top:22px; }
}

/* ===================================================================
   RÀ GIAO DIỆN 30/10/2026 — sửa các chỗ lệch của bản giao diện 27/10.
   Tệp này nạp CUỐI ở mọi trang, nên khối này là nơi DUY NHẤT đặt khung trang, tiêu đề trang và thanh trên.
   Đo trước khi sửa (1366px): đường dẫn ở thanh trên cách mép menu 27px nhưng thân trang chủ, Văn bản, Master Doc,
   Quản trị, Cần xử lý bắt đầu ở 41px (lệch 14px); ở 2560px trang thì canh giữa, trang thì dính trái (chừa trống
   ~640px bên phải); tiêu đề trang có 7 cỡ chữ khác nhau (26–48px); đầu menu trái cao 72px còn thanh trên 64px.
   =================================================================== */

/* Trang Tiến độ học (khoahoc.html?tab=tien-do) thay lớp của <body> nên mất "margin: 0" của trang học: cả trang lệch 8px. */
body { margin: 0; }

/* ---- 1. Đầu menu trái cao đúng bằng thanh trên (64px + vạch 1px): logo nằm cùng hàng với đường dẫn, vạch kẻ dưới
   thanh trên chạy liền sang menu. ---- */
@media (min-width: 960px) {
  .gs-side-dau { height: 65px; min-height: 65px; padding-top: 0; padding-bottom: 0; border-bottom: 1px solid var(--gs-rule-2); }
}

/* ---- 2. Đường dẫn ở thanh trên ----
   Trang chủ chỉ ghi "Trang chủ" (trước: "Trang chủ › Trang chủ"); ngày đã có ở đầu trang chủ nên thanh trên không lặp.
   Trang học / trang soạn ("Trang chủ › Khoá học › tên khoá / Module") và trang một việc / một dự án / Giao việc / Trọng
   số ("Công việc của bạn › Dự án › …") đã có đường dẫn đầy đủ ngay trên nội dung: bỏ bản rút gọn trên thanh trên —
   trước đó hai hàng đường dẫn chồng nhau. */
.gs-top-trail--goc > a, .gs-top-trail--goc > svg { display: none; }
@media (min-width: 960px) {
  .gs-top-trail--goc { margin-right: auto; }
  .gs-top-trail--goc ~ .gs-top-date { display: none; }
}
html:has(.lp-content .lp-crumb, main .kv-duong) .gs-top-trail { display: none; }

/* ---- 3. MỘT KHUNG TRANG cho mọi trang làm việc ----
   Cùng bề ngang tối đa (--gs-workspace-max), cùng lề hai bên (--gs-page-gutter, đúng lề của thanh trên), canh GIỮA
   vùng bên phải menu; thanh trên dùng đúng khung đó nên mép trái đường dẫn = mép trái tiêu đề trang, mép phải ô tài
   khoản = mép phải nội dung, ở mọi cỡ màn. Dưới ~1.750px (khung đầy vùng) không đổi gì so với bản dính trái. */
@media (min-width: 960px) {
  .gs-top-row { max-width: var(--gs-workspace-max); margin-left: auto; margin-right: auto; }
  /* Trang học bài: cột mục lục bám mép trái, cột đọc canh giữa phần còn lại — thanh trên trải hết bề ngang. */
  html:has(.lp-article:not(.lp-wide)) .gs-top-row { max-width: none; margin-left: 0; margin-right: 0; }
}
:root :is(.gs-workspace-main, .bs-db.bs-db .bs-db-body.bs-db-body:not(.tm-body), .gs-hm-goc .gs-hm, .gs-dt-goc .gs-dt:not(.tm-body),
          .bs-hoc-goc .lp-content.gs-kh, .kv-goc > main.kv) {
  width: 100%; max-width: var(--gs-workspace-max); box-sizing: border-box;
  margin-left: auto; margin-right: auto;
  padding-left: var(--gs-page-gutter); padding-right: var(--gs-page-gutter); padding-top: 28px;
}
@media (max-width: 760px) {
  :root :is(.gs-workspace-main, .bs-db.bs-db .bs-db-body.bs-db-body:not(.tm-body), .gs-hm-goc .gs-hm, .gs-dt-goc .gs-dt:not(.tm-body),
            .bs-hoc-goc .lp-content.gs-kh, .kv-goc > main.kv) { padding-top: 22px; }
}

/* ---- 4. Tiêu đề trang: một cỡ, một độ đậm ở mọi trang (trước 26 / 30 / 32 / 40 / 42 / 48px, đậm 650–750) ---- */
:root :is(.gs-workspace-head h1, .gs-hm .gs-hm-chao h1, .gs-dt .gs-dt-dau h1, .bs-hoc-goc .gs-kh .gs-kh-dau h1,
          .bs-db .bs-db-title, .gs-md .bs-db-title, .kv-ui .kv-dau h1, .kv-ui .kv-work .kv-dau h1, .kv-dau h1, .bct-header h1) {
  font-size: clamp(24px, calc(1.1vw + 15px), 30px) !important;
  font-weight: 650 !important; line-height: 1.25 !important; letter-spacing: -.02em !important;
  margin-top: 0;
}
:root .kv-dau h1[data-dai] { font-size: clamp(21px, calc(.8vw + 13px), 24px) !important; }
/* Báo cáo công việc tháng: tiêu đề là tên người + tháng, đứng cạnh ba ô chọn — cỡ nhỏ hơn một bậc để vừa một dòng ở 1366px. */
:root .kv-ui main.kv.bct .bct-header h1 { font-size: clamp(22px, calc(.9vw + 14px), 26px) !important; }
/* Tên dài xuống hai dòng thì chia đều hai dòng, không để một chữ lẻ ở dòng dưới. */
:root :is(.gs-workspace-head h1, .gs-hm .gs-hm-chao h1, .gs-dt .gs-dt-dau h1, .bs-hoc-goc .gs-kh .gs-kh-dau h1,
          .bs-db .bs-db-title, .kv-dau h1, .bct-header h1) { text-wrap: balance; }
/* Dòng mô tả dưới tiêu đề: cùng cỡ, cùng màu. */
:root :is(.gs-workspace-head > p:last-child, .gs-dt .gs-dt-dau > p, .bs-hoc-goc .gs-kh .gs-kh-dau p, .kv-ui .kv-dau p, .gs-md .gs-md-vi) {
  font-size: 14px; line-height: 1.6; color: var(--gs-ink-2);
}

/* ---- 5. Dòng nhãn nhỏ trên tiêu đề: một kiểu (chữ hoa nhỏ, xám) thay cho bốn kiểu (xanh 10–11px, cam, xám 12px…).
   Nhãn "Đào tạo nội bộ" trên các trang Chức danh / Tiến độ / Việc quy trình chỉ lặp tên site: bỏ. ---- */
.gs-workspace-head > .gs-workspace-kicker { display: none; }
:root :is(.gs-workspace-kicker, .kv-dau .kv-eyebrow, .bct-header .kv-eyebrow, .gs-md .gs-md-nho, .gs-md-nho) {
  margin: 0 0 8px; font: 600 12px/1.4 var(--gs-font); letter-spacing: .04em; text-transform: uppercase; color: var(--gs-ink-3);
}

/* ---- 6. Menu trái: các mục của khu Quản lý đào tạo là mục con, thụt vào dưới "Quản lý đào tạo" có vạch dẫn — thay cho
   dòng chữ hoa "TRONG QUẢN LÝ ĐÀO TẠO" lệch lề so với các mục. Menu thu gọn giữ nguyên. ---- */
.gs-side-nhom[data-side-nhom="daotao"] > .gs-side-tieu {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.gs-side-nhom[data-side-nhom="daotao"] { margin: 0 0 4px 20px !important; padding-left: 8px; border-left: 1px solid var(--gs-rule); }
@media (min-width: 1001px) and (pointer: fine) {
  .gs-side-nhom[data-side-nhom="daotao"] .gs-side-link { min-height: 38px; padding-top: 8px; padding-bottom: 8px; margin: 2px 0; }
}
.gs-side-nhom[data-side-nhom="daotao"] .gs-side-ico { width: 18px; height: 18px; }
@media (min-width: 960px) {
  html[data-gs-side="gon"] .gs-side-nhom[data-side-nhom="daotao"] { margin: 10px 0 0 !important; padding-left: 0; border-left: 0; }
  html[data-gs-side="gon"] .gs-side-nhom[data-side-nhom="daotao"] .gs-side-link { min-height: 44px; }
}

/* ---- 7. Mục thu gọn được ("Hướng dẫn", "Tổng quan công ty"…): mũi tên của site thay tam giác mặc định của trình duyệt,
   ba mục ở cuối trang Công việc xếp thành danh sách thay vì ba cột chữ lơ lửng. ---- */
:is(.gs-luu-y, .kv-ui .kv-context .kv-phu) > summary { list-style: none; display: flex; align-items: center; gap: 10px; }
:is(.gs-luu-y, .kv-ui .kv-context .kv-phu) > summary::-webkit-details-marker { display: none; }
:is(.gs-luu-y, .kv-ui .kv-context .kv-phu) > summary::before {
  content: ""; flex: none; width: 7px; height: 7px; margin: 0 3px 0 1px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg);
  transition: transform var(--gs-t, .15s);
}
:is(.gs-luu-y, .kv-ui .kv-context .kv-phu)[open] > summary::before { transform: rotate(45deg); }
.kv-ui .kv-context { display: block; }
.kv-ui .kv-context > .kv-phu { border-bottom: 1px solid var(--gs-rule-2); }
.kv-ui .kv-context .kv-phu > summary { min-height: 48px; padding: 12px 0; font-size: 14px; color: var(--gs-ink); }

/* ---- 8. Khoá học: nút "Lộ trình học" về mép phải hàng tiêu đề (trước nằm lơ lửng giữa trang); thanh mục chỉ có một
   mục (nhân viên chỉ thấy "Khoá học của bạn") thì bỏ — nó lặp đúng tiêu đề. ---- */
.bs-hoc-goc .gs-kh .gs-kh-dau > .gs-kh-page-actions { flex: 0 0 auto; margin-left: auto; }
@media (max-width: 760px) { .bs-hoc-goc .gs-kh .gs-kh-dau > .gs-kh-page-actions { margin-left: 0; } }
/* Trang danh sách khoá học không có nút "Mục lục" trên thanh trên: điện thoại vẫn hiện tên site như mọi trang khác. */
@media (max-width: 640px) { .bs-hoc-goc:has(.lp-content.gs-kh) .gs-top-brand span { display: inline; } }
.gs-view-tabs:not(:has(> a:not([hidden]) ~ a:not([hidden]))) { display: none; }

/* ---- 9. Trang chủ: hai thẻ "Tiếp tục học" / "Văn bản nội bộ" rộng bằng nhau; nút của từng khoá cùng bề ngang để các
   thanh tiến độ dài bằng nhau. ---- */
@container home-surface (min-width: 801px) { .gs-hm .gs-hm-doi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gs-hm .gs-hm-kh-nut { min-width: 92px; justify-content: center; }

/* ---- 10. Trang soạn bài, màn ≥ 1.900px: thanh công cụ của người soạn canh đúng hai mép cột bài (chip trạng thái ở mép
   trái cột, nút Lưu ở mép phải cột). Bản 27/10 đặt lề 16–32px nên ở 2560px nút cách cột bài ~480px, chip dính mép menu.
   Cột bài: mục lục 300px + cột tối đa 1.170px canh giữa phần còn lại (hoc.css mục 1). 100% = bề ngang thanh. ---- */
@media (min-width: 1900px) {
  .bs-hoc-goc .lp-editbar.bs-editbar {
    padding-left: calc(300px + (100% - 300px - 1170px) / 2);
    padding-right: calc((100% - 300px - 1170px) / 2);
  }
}

/* ---- 11. Khung nhúng dưới thanh mục (Phân công nhân sự, Tiến độ học, Việc quy trình): tiêu đề khung là tiêu đề mục
   (20px), không phải tiêu đề trang thứ hai cùng cỡ ngay dưới tên thanh mục. Dòng mô tả dưới tiêu đề trang rộng như
   các trang khác (78 ký tự) — trước đó 64 ký tự, chữ cuối rơi một mình xuống dòng hai. ---- */
:root .tm-panel[data-embedded="true"] .bs-db-title { font-size: 20px !important; font-weight: 650 !important; letter-spacing: -.01em; margin: 0 0 8px; }
.gs-workspace-head > p:last-child { max-width: 78ch; }

/* ---- 12. Bảng Khoá SOP: chip trạng thái và nút thao tác không gãy chữ ("Đang phát / hành", "Xem như / học / viên" trong ô
   hẹp); cột nút co theo nút dài nhất, các nút cùng bề ngang. Màn hẹp (bảng thành thẻ) giữ nguyên. ---- */
.gs-dt .gs-ks-bang .gs-dt-chip { white-space: nowrap; }
@container (min-width: 861px) {
  .gs-dt .gs-ks-bang td.gs-ks-nut { width: 1%; }
  .gs-dt .gs-ks-bang td.gs-ks-nut .gs-dt-nut-nho { display: flex; justify-content: center; width: 100%; white-space: nowrap; text-align: center; }
}

/* ---- 13. Đọc văn bản / Master Doc trên màn rộng: mục lục và thân văn bản giữ độ dài dòng đọc được (tối đa 1.100px, như
   cột đọc của trang học). Ở 2560px dòng chữ từng dài ~1.600px. Từ 1366px trở xuống không đổi. ---- */
/* Cả trang đọc một văn bản là MỘT cột: đầu văn bản, hộp quyết định SOP, mục lục, thân bài cùng bề ngang. */
:root .bs-db.gs-md:has(.gs-md-bai) > .bs-db-body > * { max-width: 1100px; }

/* ---- 14. Nút "Mục lục" trên thanh trên (trang học / soạn, màn ≤ 1.000px): chữ, viền và nền khi rê chuột còn màu của thanh
   trên TỐI cũ (trắng, trắng 20%) nên trên thanh trên sáng gần như không thấy — người học trên điện thoại / máy tính bảng
   không thấy nút mở mục lục khoá. ---- */
.gs-top .lp-burger.gs-top-truoc { color: var(--gs-ink-2); border-color: var(--gs-rule); }
.gs-top .lp-burger.gs-top-truoc:hover { background: var(--gs-surface-2); color: var(--gs-primary); }

/* (2026-11-11) Nút Hướng dẫn trên thanh trên — src/huongdan/huongDan.js; ẩn (hidden) khi máy chủ chưa bật mục
   "huong_dan". Đứng giữa ngày và chuông; dưới 1100 px chỉ còn biểu tượng; dưới 760 px nhận margin-left:auto. */
.gs-top-hd { display:inline-flex; align-items:center; gap:6px; flex:none; height:36px; padding:0 12px 0 10px; margin-left:12px; border:1px solid var(--gs-rule); border-radius:999px; background:var(--gs-surface); color:var(--gs-ink-2); font:inherit; font-size:13.5px; font-weight:550; white-space:nowrap; cursor:pointer; }
.gs-top-hd .gs-top-ico { width:18px; height:18px; flex:none; }
.gs-top-hd:hover { background:var(--gs-surface-2); color:var(--gs-ink); }
.gs-top-hd:focus-visible { outline:2px solid var(--gs-primary); outline-offset:2px; }
.gs-top-hd[aria-expanded="true"] { border-color:var(--gs-primary); background:var(--gs-primary-sub); color:var(--gs-ink); }
.gs-top-hd:not([hidden]) + .gs-top-bell { margin-left:4px; }
@media(max-width:1099px) { .gs-top-hd { width:36px; padding:0; justify-content:center; } .gs-top-hd span { display:none; } }
@media(max-width:760px) { .gs-top-hd { margin-left:auto; } .gs-top-hd:not([hidden]) + .gs-top-bell { margin-left:0; } }
