/* VĂN PHÒNG */
.tom-tat { margin-bottom: 18px; }
/* Sơ đồ: điện thoại 1 cột · 640+ 2 cột · 900+ 6 cột (hàng trên: Ban Giám đốc + Nhân sự; hàng dưới: 3 khối chuyên môn) */
.so-do { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 640px) { .so-do { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .so-do { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .so-do > .khoi { grid-column: span 2; order: 2; }
  .so-do > .khoi-ban-giam-doc { order: 0; }
  .so-do > .khoi-nhan-su { grid-column: span 4; order: 1; }
}
.khoi {
  border: 1px solid var(--vien); border-radius: 18px; padding: 12px; min-width: 0;
  background: radial-gradient(120% 90% at 0% 0%, rgba(124, 196, 214, .06), transparent 60%), rgba(11, 17, 40, .6);
}
.khoi-ten { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist-500); font-weight: 700; margin: 2px 4px 10px; }
.khoi-luoi { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.o-agent { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; }
.o-agent.dang-lam { border-color: rgba(111, 227, 164, .3); background-image: linear-gradient(180deg, rgba(111, 227, 164, .05), transparent); }
.o-agent.mo-di { opacity: .55; }
.o-dau { display: flex; align-items: center; gap: 10px; min-width: 0; }
.o-ten { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.o-ten b { font-size: 14.5px; }
.o-phai { display: flex; align-items: center; gap: 8px; flex: none; }
.o-viec { font-size: 12.5px; color: var(--mist-300); line-height: 1.45; padding-top: 7px; border-top: 1px solid var(--vien); }
@media (min-width: 640px) { .khoi-luoi { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); } }
@media (min-width: 640px) and (max-width: 899px) { .khoi-luoi { grid-template-columns: minmax(0, 1fr); } }

/* NHÂN SỰ */
.loc { margin-bottom: 14px; }
.the-ns { display: grid; gap: 10px; }
.ns-dau { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ns-ten { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.ns-ten b { font-size: 15px; }
.ns-chan { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.ns-chan .thanh-diem { margin-top: 2px; }

/* HỒ SƠ */
.quay-lai { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--mist-300); font-weight: 600; margin: -6px 0 4px -6px; padding: 0 10px 0 6px; border-radius: 10px; }
.quay-lai:hover { color: var(--mist-100); }
.ho-so-dau { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; min-width: 0; }
.ho-so-dau h1 { font-size: 22px; line-height: 1.2; }
.ho-so-dau .mo-ta { color: var(--mist-300); margin-top: 3px; }
.ho-so-so { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.ho-so-luoi { display: grid; gap: 14px; }
@media (min-width: 900px) { .ho-so-luoi { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } }
.bieu-do { width: 100%; min-height: 200px; }
.bieu-do svg { display: block; width: 100%; height: auto; }
.bd-luoi { stroke: var(--vien); stroke-width: 1; }
.bd-ngưỡng, .bd-nguong { stroke: var(--mist-500); stroke-width: 1; stroke-dasharray: 4 4; }
.bd-chu { fill: var(--mist-500); font-size: 11px; font-family: inherit; }
.bd-diem-so { fill: var(--mist-100); font-size: 12px; font-weight: 700; font-family: inherit; }
.bd-duong { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.bd-vung { opacity: .12; }
.bd-su-kien { stroke: var(--signal-strong); stroke-width: 1; opacity: .55; stroke-dasharray: 2 3; }
.bd-cham { stroke: var(--ink-900); stroke-width: 2; }
.the.dong-thoi-gian { list-style: none; margin: 0; padding: 2px 14px; display: grid; gap: 0; }
.dong-thoi-gian li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--vien); align-items: start; }
.dong-thoi-gian li:last-child { border-bottom: 0; }
.ls-icon { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--ink-700); color: var(--mist-300); }
.ls-icon.kiem-tra { color: var(--signal-strong); } .ls-icon.dao-tao { color: var(--warn); } .ls-icon.thay-the { color: var(--bad); } .ls-icon.vao { color: var(--ok); }
.ls-noi-dung { min-width: 0; }
.ls-noi-dung time { display: block; font-size: 11.5px; color: var(--mist-500); font-variant-numeric: tabular-nums; }
