:root { --qlcl: #1f4e79; }
body { background: #f4f6f9; font-size: .92rem; }
.bg-qlcl { background: var(--qlcl); }
/* Thanh tab ngang theo module (core/_thanh_ben.html) */
.tab-chinh { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: .6rem; }
.tab-cum { border: 1px solid #dee2e6; border-radius: 10px; padding: 4px 5px; display: flex; align-items: center; gap: 2px; background: #fff; }
.tab-cum .ma-gd { font-size: .7rem; font-weight: 600; color: #8a8a8a; padding: 0 .3rem; white-space: nowrap; }
.tab-module { border: 0; background: transparent; border-radius: 7px; padding: .3rem .55rem; font-size: .82rem; color: #333; white-space: nowrap;
  display: flex; align-items: center; gap: .3rem; text-decoration: none; }
.tab-module:hover { background: #eef3f9; }
.tab-module.active { background: var(--qlcl); color: #fff; }
.tab-module.disabled { color: #adb5bd; pointer-events: none; }
.tab-con { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: .75rem; }
.tab-con .buoc-con { border: 1px solid #dee2e6; border-radius: 20px; padding: .25rem .75rem; font-size: .84rem; color: #333; text-decoration: none;
  background: #fff; display: inline-flex; align-items: center; }
.tab-con a.buoc-con:hover { background: #eef3f9; }
.tab-con .buoc-con.active { background: var(--qlcl); color: #fff; border-color: var(--qlcl); }
.tab-con .buoc-con.active .badge { background: #fff !important; color: var(--qlcl) !important; }
@media (max-width: 767.98px) { .tab-module .ten-tab { display: none; } }
.card-module { transition: box-shadow .15s; }
.card-module:hover { box-shadow: 0 .25rem .75rem rgba(0,0,0,.12); }
.table-sm td, .table-sm th { vertical-align: middle; }
.table thead th { background: #ddebf7; white-space: nowrap; }
.field-label { color: #6c757d; width: 32%; }
.formset-table td { padding: .2rem; }
.formset-table .form-control, .formset-table .form-select { min-width: 6rem; }
/* Bảng nhập nhiều dòng: cột thứ tự hẹp, cột tên / nội dung rộng (lớp cot-<tên trường> trong core/_formset.html) */
.formset-table .cot-thu_tu, .formset-table .cot-tt { width: 4.5rem; }
.formset-table .cot-thu_tu .form-control, .formset-table .cot-tt .form-control { min-width: 3.5rem; }
.formset-table td.cot-ten_ban_ve .form-control, .formset-table td.cot-ten .form-control, .formset-table td.cot-cong_viec .form-control,
.formset-table td.cot-noi_dung .form-control, .formset-table td.cot-tieu_chi .form-control { min-width: 16rem; }
.formset-table td.cot-ngay .form-control, .formset-table td[class*="cot-ngay_"] .form-control { min-width: 8.5rem; }
.text-pre { white-space: pre-line; }
.o-vang { background: #ffff00; }
/* Khối ký bản in (core/_ky_in.html) */
.ky-in { justify-content: space-around; text-align: center; margin-top: 1rem; break-inside: avoid; page-break-inside: avoid; break-before: avoid; page-break-before: avoid; }
.ky-in > div { width: 30%; }
.ky-in .cho-ky { height: 22mm; }
/* Chuông thông báo trên thanh công cụ */
.chuong-tb .dropdown-menu { width: min(380px, 92vw); max-height: 70vh; overflow-y: auto; }
.chuong-tb .dropdown-item { white-space: normal; }
/* Điện thoại: menu vai trò thành hàng cuộn ngang dưới tên phần mềm */
@media (max-width: 767.98px) {
  .navbar .menu-vai-tro { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .navbar > .navbar-brand { order: 1; }
  .navbar > .ms-auto { order: 2; }
  .navbar .menu-vai-tro .nav-link { white-space: nowrap; }
  .navbar .menu-vai-tro .dropdown-menu { position: fixed; top: auto; left: .5rem; right: .5rem; }
  .navbar-brand { margin-right: .5rem; }
  .chuong-tb .dropdown-menu { position: fixed !important; left: .5rem !important; right: .5rem !important; top: 3.2rem !important; width: auto; transform: none !important; }
}
@media print {
  a { color: inherit !important; text-decoration: none !important; }
  .table { font-size: 10.5pt; }
  body { background: #fff; font-family: "Times New Roman", serif; font-size: 12pt; }
  .table thead th { white-space: normal; }
  .table-responsive { overflow: visible !important; }
  .table-sm > :not(caption) > * > * { padding: .12rem .3rem; }
  .card-body { padding: .25rem 0; }
  .o-vang { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { size: A4; margin: 15mm 15mm 15mm 20mm; }
  main { width: 100% !important; }
  .card { border: 0 !important; box-shadow: none !important; }
}

/* ===== Thanh tab chung (nav-tabs, nav-pills) – phối màu theo màu chủ đạo (người dùng yêu cầu 08/11/2026) =====
   Nền xanh nhạt, đường đáy màu chủ đạo; tab đang mở nền --qlcl chữ trắng; biểu tượng mỗi tab một màu để dễ phân biệt. */
:root { --tab-nen: #eaf1f8; --tab-vien: #cfdceb; --tab-chu: #2f3f52; --tab-hover: #d9e7f5; }
.nav-tabs { border-bottom: 2px solid var(--qlcl); gap: 4px; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.nav-tabs .nav-item { flex: 0 0 auto; }
.nav-tabs .nav-link { background: var(--tab-nen); color: var(--tab-chu); border: 1px solid var(--tab-vien); border-bottom: 0;
  border-radius: 8px 8px 0 0; padding: .42rem .85rem; font-weight: 500; white-space: nowrap; margin-bottom: 0;
  transition: background-color .12s, color .12s; }
.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { background: var(--tab-hover); color: var(--qlcl); border-color: var(--tab-vien); isolation: auto; }
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { background: var(--qlcl); color: #fff; border-color: var(--qlcl); font-weight: 600;
  box-shadow: 0 -2px 6px rgba(31, 78, 121, .18); }
.nav-tabs .nav-link.disabled { background: #f3f5f7; color: #a7b0ba; }
.nav-tabs .nav-link .badge { font-weight: 600; }
.nav-tabs .nav-link.active .badge { background: #fff !important; color: var(--qlcl) !important; }
/* màu biểu tượng theo thứ tự tab (tab đang mở: trắng) */
.nav-tabs .nav-item:nth-child(8n+1) .nav-link:not(.active) .bi { color: #1f6fb2; }
.nav-tabs .nav-item:nth-child(8n+2) .nav-link:not(.active) .bi { color: #2e9d5b; }
.nav-tabs .nav-item:nth-child(8n+3) .nav-link:not(.active) .bi { color: #d9730d; }
.nav-tabs .nav-item:nth-child(8n+4) .nav-link:not(.active) .bi { color: #7b4bb7; }
.nav-tabs .nav-item:nth-child(8n+5) .nav-link:not(.active) .bi { color: #c0392b; }
.nav-tabs .nav-item:nth-child(8n+6) .nav-link:not(.active) .bi { color: #138d90; }
.nav-tabs .nav-item:nth-child(8n+7) .nav-link:not(.active) .bi { color: #a8740a; }
.nav-tabs .nav-item:nth-child(8n+8) .nav-link:not(.active) .bi { color: #5d6d7e; }
.nav-tabs .nav-link.active .bi { color: #fff; }
.nav-pills .nav-link { color: var(--tab-chu); background: var(--tab-nen); border: 1px solid var(--tab-vien); margin: 0 4px 4px 0; }
.nav-pills .nav-link:hover { background: var(--tab-hover); color: var(--qlcl); }
.nav-pills .nav-link.active { background: var(--qlcl); color: #fff; border-color: var(--qlcl); }
/* bước con dạng chip và tab module dùng cùng tông */
.tab-con .buoc-con { border-color: var(--tab-vien); background: var(--tab-nen); color: var(--tab-chu); }
.tab-con a.buoc-con:hover { background: var(--tab-hover); color: var(--qlcl); }
.tab-cum { border-color: var(--tab-vien); background: var(--tab-nen); }
.tab-module { color: var(--tab-chu); }
.tab-module:hover { background: var(--tab-hover); color: var(--qlcl); }
@media print { .nav-tabs, .nav-pills { display: none !important; } }
.tab-module.active:hover { background: var(--qlcl); color: #fff; }

/* ===== Giao diện đợt 10 (08/11/2026, người dùng duyệt mẫu): phong cách trang giới thiệu doanh nghiệp xây dựng =====
   Đầu trang trắng chữ in hoa, nút xanh bo tròn, cột nút đỏ bên trái, dải tiêu đề dự án, banner + thẻ giai đoạn có hình nền, chân trang navy.
   Hình nền là SVG tự vẽ (static/gd_*.svg); không dùng ảnh, logo của trang tham khảo. */
:root { --qlcl: #2378c1; --navy: #14245a; --do-nhan: #d7262e; --vien-nhat: #e3e9f1; --nen-trang: #f4f7fb;
        --tab-nen: #eef4fb; --tab-vien: #d3e1f0; --tab-chu: #334862; --tab-hover: #dceaf8; }
body { font-family: Lato, "Segoe UI", sans-serif; color: #3f4a59; background: var(--nen-trang) url("gd_luoi.svg"); }
h1, h2, h3, h4, h5, h6, .roboto, .btn { font-family: Roboto, "Segoe UI", sans-serif; }
h4, h5 { color: var(--navy); }
.table { --bs-table-bg: #fff; }
.table thead th { background: #eaf2fb; color: var(--navy); }
.card { border-color: var(--vien-nhat); }
.btn-primary { --bs-btn-bg: var(--qlcl); --bs-btn-border-color: var(--qlcl); --bs-btn-hover-bg: #1b5f9c; --bs-btn-hover-border-color: #1b5f9c; }

/* đầu trang */
.dau-trang { background: #fff; box-shadow: 0 2px 10px rgba(20, 36, 90, .08); position: sticky; top: 0; z-index: 1030; padding: .45rem 1.4rem; gap: 1rem;
  display: flex; align-items: center; flex-wrap: wrap; min-height: 62px; }
.dau-trang .logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.dau-trang .logo img { width: 42px; height: 42px; }
.dau-trang .logo .ten { font-family: Roboto; font-weight: 900; color: var(--navy); font-size: 1.15rem; line-height: 1.05; }
.dau-trang .logo .ten small { display: block; font-weight: 500; font-size: .64rem; color: #6b7a90; letter-spacing: .5px; text-transform: uppercase; }
.dau-trang .menu-chinh { display: flex; flex-wrap: wrap; align-items: center; margin-left: auto; }
.dau-trang .menu-chinh > a, .dau-trang .menu-vai-tro .nav-link { font-family: Roboto; font-weight: 700; font-size: .84rem; text-transform: uppercase;
  color: #111 !important; text-decoration: none; padding: .55rem .65rem !important; border-bottom: 3px solid transparent; white-space: nowrap; }
.dau-trang .menu-chinh > a:hover, .dau-trang .menu-vai-tro .nav-link:hover { color: var(--qlcl) !important; }
.dau-trang .menu-chinh > a.on { color: var(--qlcl) !important; border-bottom-color: var(--qlcl); }
.dau-trang .menu-vai-tro { flex-direction: row; margin: 0 !important; list-style: none; padding: 0; display: flex; }
.nut-xanh { background: var(--qlcl); color: #fff !important; border: 0; border-radius: 99px; padding: .4rem 1rem; font-family: Roboto; font-weight: 700;
  font-size: .78rem; text-transform: uppercase; white-space: nowrap; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.nut-xanh:hover { background: #1b5f9c; }
.dau-trang .bieu-tuong { color: #334862; text-decoration: none; position: relative; }
.dau-trang .bieu-tuong:hover { color: var(--qlcl); }
.dau-trang .nguoi { color: #334862 !important; text-decoration: none; display: flex; align-items: center; gap: .45rem; font-size: .84rem; line-height: 1.15; }
.dau-trang .nguoi .av { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .78rem; }

/* cột nút đỏ bên trái */
.cot-do { position: fixed; left: 0; top: 62px; bottom: 0; width: 58px; background: #fff; border-right: 1px solid var(--vien-nhat);
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 18px; z-index: 1020; }
.cot-do a.tron { width: 40px; height: 40px; border-radius: 50%; background: var(--do-nhan); color: #fff; display: grid; place-items: center; font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(215, 38, 46, .35); text-decoration: none; position: relative; }
.cot-do a.tron:hover { background: #b51e25; }
.cot-do a.tron .so { position: absolute; top: -4px; right: -6px; background: var(--navy); color: #fff; font-size: .62rem; font-weight: 700; border-radius: 99px; padding: 1px 5px; }
.cot-do a.tron .goi-y { position: absolute; left: 50px; background: #222; color: #fff; font-size: .75rem; white-space: nowrap; padding: 3px 8px; border-radius: 4px;
  opacity: 0; pointer-events: none; transition: opacity .15s; }
.cot-do a.tron:hover .goi-y { opacity: 1; }
.cot-do .tab-doc { margin-top: auto; margin-bottom: 18px; background: var(--do-nhan); color: #fff; writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: Roboto; font-weight: 700; font-size: .72rem; letter-spacing: 1.5px; padding: 12px 7px; border-radius: 6px; text-decoration: none; }
.co-cot-do .than-trang, .co-cot-do .chan-trang { margin-left: 58px; }

/* dải tiêu đề dự án */
.dai-tieu-de { color: #fff; padding: 1.2rem 1.6rem 1.1rem; margin: 0 -12px 0;
  background: url("gd_pho_trang.svg") no-repeat bottom right / 60% 70px, url("gd_luoi_trang.svg"), linear-gradient(90deg, #14245a, #2378c1); }
.dai-tieu-de .duong { font-size: .8rem; opacity: .85; } .dai-tieu-de .duong a { color: #fff; text-decoration: none; }
.dai-tieu-de h1 { font-size: 1.55rem; font-weight: 900; text-transform: uppercase; margin: .3rem 0 .1rem; color: #fff; }
.dai-tieu-de .phu { font-size: .88rem; opacity: .9; }

/* thanh module (ghi đè kiểu cũ): thanh trắng, chữ in hoa, gạch chân xanh */
.tab-chinh { background: #fff; border-bottom: 1px solid var(--vien-nhat); margin: 0 -12px .7rem; padding: 0 1.4rem; gap: 0; }
.tab-cum { border: 0; border-right: 1px solid var(--vien-nhat); border-radius: 0; background: transparent; padding: 0 .25rem 0 0; }
.tab-cum:last-child { border-right: 0; }
.tab-cum .ma-gd { font-family: Roboto; font-weight: 900; color: #b4bfcf; font-size: .72rem; }
.tab-module { font-family: Roboto; font-weight: 700; font-size: .74rem; text-transform: uppercase; color: var(--tab-chu); border-radius: 0;
  padding: .75rem .5rem .55rem; border-bottom: 3px solid transparent; background: transparent !important; }
.tab-module:hover { color: var(--qlcl); }
.tab-module.active, .tab-module.active:hover { background: transparent !important; color: var(--qlcl); border-bottom-color: var(--qlcl); }
.tab-con .buoc-con { border-radius: 99px; background: #fff; border-color: var(--vien-nhat); }
.tab-con .buoc-con.active { background: var(--qlcl); border-color: var(--qlcl); color: #fff; }

/* thẻ chỉ số có viền màu bên trái (trang tổng quan dự án) */
.the-vien { border-left: 4px solid var(--navy) !important; }
.the-vien.xanh { border-left-color: var(--qlcl) !important; } .the-vien.do { border-left-color: var(--do-nhan) !important; }
.the-vien .nhan-the { font-family: Roboto; font-weight: 700; text-transform: uppercase; font-size: .74rem; color: #6b7a90; letter-spacing: .3px; }
.the-tieu-de { font-family: Roboto; font-weight: 700; text-transform: uppercase; color: var(--navy); }

/* chân trang */
.chan-trang { background: var(--navy) url("gd_pho_navy.svg") no-repeat top center / 100% 60px; color: #c9d3e6; padding: 4.4rem 1.6rem 1rem; font-size: .88rem; margin-top: 2rem; }
.chan-trang h6 { color: #fff; text-transform: uppercase; font-weight: 700; margin-bottom: .6rem; }
.chan-trang a { color: #c9d3e6; text-decoration: none; } .chan-trang a:hover { color: #fff; }
.chan-trang .duoi { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1rem; padding-top: .7rem; font-size: .78rem; color: #8f9cb8; }

/* trang chủ */
.tc-banner { position: relative; min-height: 400px; margin: -1rem -12px 0; overflow: hidden; background: #0e1b3d url("gd_banner.svg") center / cover no-repeat; }
.tc-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,50,.8) 0%, rgba(10,20,50,.35) 55%, rgba(10,20,50,0) 100%); }
.tc-banner .chu { position: relative; color: #fff; max-width: 640px; padding: 4.2rem 0 3.5rem 7%; }
.tc-banner .nhan { display: inline-block; background: var(--do-nhan); font-family: Roboto; font-weight: 700; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; }
.tc-banner h1 { color: #fff; font-weight: 900; font-size: 2.4rem; text-transform: uppercase; line-height: 1.15; margin: .8rem 0 .5rem; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.tc-banner p { font-size: 1.02rem; opacity: .92; }
.tc-banner .xem { color: #fff; font-family: Roboto; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.6); }
.tc-banner .tom-tat { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.96); border-radius: 10px; padding: 1rem 1.3rem; width: 285px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.tc-banner .tom-tat .dong { display: flex; justify-content: space-between; font-size: .88rem; padding: .35rem 0; border-bottom: 1px solid var(--vien-nhat); }
.tc-banner .tom-tat .dong:last-child { border: 0; }
.tc-banner .tom-tat b { color: var(--navy); font-family: Roboto; }
.tc-banner .cham { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.tc-banner .cham a { width: 34px; height: 4px; background: rgba(255,255,255,.4); border-radius: 2px; }
.tc-banner .cham a.on { background: #fff; }
.tc-khoi { padding: 2.6rem .4rem; }
.tc-khoi.nen-nhat { background: #fff url("gd_luoi.svg"); margin: 0 -12px; padding-left: 1.6rem; padding-right: 1.6rem; }
.tc-tieu-de { text-align: center; margin-bottom: 1.6rem; }
.tc-tieu-de h2 { color: var(--navy); font-weight: 700; font-size: 1.95rem; margin: 0; }
.tc-tieu-de .gach { width: 70px; height: 3px; background: var(--qlcl); margin: .7rem auto 0; position: relative; }
.tc-tieu-de .gach::after { content: ""; position: absolute; left: 50%; top: -3px; width: 9px; height: 9px; background: var(--do-nhan); transform: translateX(-50%) rotate(45deg); }
.tc-tieu-de p { color: #6b7a90; margin: .7rem 0 0; }
.the-gd-hang { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.the-gd { position: relative; height: 245px; border-radius: 8px; overflow: hidden; color: #fff !important; text-decoration: none; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 1rem .9rem; transition: transform .18s, box-shadow .18s; background-size: 100% 100%, cover; }
.the-gd:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(20, 36, 90, .28); }
.the-gd::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(5,12,35,.72) 100%); }
.the-gd > * { position: relative; }
.the-gd .ma { font-family: Roboto; font-weight: 900; font-size: .8rem; opacity: .85; letter-spacing: 1px; }
.the-gd .ten { font-family: Roboto; font-weight: 700; text-transform: uppercase; font-size: .93rem; line-height: 1.25; margin: .25rem 0 .5rem; }
.the-gd .tien { height: 4px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; }
.the-gd .tien span { display: block; height: 100%; background: #fff; }
.the-gd .ghi { font-size: .75rem; opacity: .9; margin-top: .35rem; }
.gd-I { background-image: url("gd_the_I.svg"), linear-gradient(150deg, #2e6fb0, #14245a); }
.gd-II { background-image: url("gd_the_II.svg"), linear-gradient(150deg, #3a8cc9, #1b4a7d); }
.gd-III { background-image: url("gd_the_III.svg"), linear-gradient(150deg, #4a6fa5, #22335e); }
.gd-IV { background-image: url("gd_the_IV.svg"), linear-gradient(150deg, #2b8a8a, #164f5c); }
.gd-V { background-image: url("gd_the_V.svg"), linear-gradient(150deg, #b8862d, #6b4a14); }
.gd-VI { background-image: url("gd_the_VI.svg"), linear-gradient(150deg, #c0392b, #6d1b14); }
.gd-VII { background-image: url("gd_the_VII.svg"), linear-gradient(150deg, #5d6d7e, #2c3640); }
.gd-VIII { background-image: url("gd_the_VIII.svg"), linear-gradient(150deg, #6c4fa3, #2f2357); }
.tc-con-so { background: #f4f7fb url("gd_pho_nhat.svg") no-repeat bottom center / 100% 110px; margin: 0 -12px; padding: 2.6rem 1.6rem 6rem; }
.tc-con-so .o { text-align: center; }
.tc-con-so .o .bi { font-size: 1.9rem; color: var(--navy); opacity: .25; display: block; margin-bottom: .3rem; }
.tc-con-so .o .so { font-family: Roboto; font-weight: 900; font-size: 2.9rem; color: var(--qlcl); line-height: 1; }
.tc-con-so .o .so.do { color: var(--do-nhan); }
.tc-con-so .o .nhan { font-family: Roboto; font-weight: 700; color: var(--navy); text-transform: uppercase; font-size: .88rem; margin-top: .5rem; }
.tc-con-so .o .phu { font-size: .8rem; color: #6b7a90; }
.the-da { border: 1px solid var(--vien-nhat); border-radius: 8px; overflow: hidden; background: #fff; transition: box-shadow .18s; height: 100%; display: block; color: inherit !important; text-decoration: none; }
.the-da:hover { box-shadow: 0 10px 24px rgba(20, 36, 90, .14); }
.the-da .anh { height: 130px; position: relative; background: url("gd_nha.svg") center bottom / cover, linear-gradient(150deg, #2e6fb0, #14245a); }
.col-the-da:nth-child(3n+2) .anh { background-image: url("gd_nha.svg"), linear-gradient(150deg, #2b8a8a, #164f5c); }
.col-the-da:nth-child(3n) .anh { background-image: url("gd_nha.svg"), linear-gradient(150deg, #b8862d, #6b4a14); }
.the-da .anh .tt { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--navy); font-size: .74rem; font-weight: 700; border-radius: 99px; padding: 2px 10px; }
.the-da .than { padding: .85rem 1rem; }
.the-da h3 { font-size: 1rem; color: var(--navy); font-weight: 700; margin: 0 0 .2rem; }
.the-da .progress { height: 6px; }
@media (max-width: 991.98px) { .tc-banner .tom-tat { display: none; } }
@media (max-width: 767.98px) {
  .cot-do { display: none; } .co-cot-do .than-trang, .co-cot-do .chan-trang { margin-left: 0; }
  .dau-trang .logo .ten small { display: none; } .tc-banner h1 { font-size: 1.6rem; }
  .dau-trang .menu-chinh { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; }
}
@media print {
  body { background: #fff !important; }
  .dau-trang, .cot-do, .chan-trang, .dai-tieu-de, .tc-banner, .tab-chinh { display: none !important; }
  .co-cot-do .than-trang { margin-left: 0 !important; }
}
.dau-trang .navbar-nav .dropdown-menu { position: absolute; }
.cot-do { top: var(--cao-dau, 62px); }
.dau-trang { flex-wrap: nowrap; }
.dau-trang .menu-chinh { flex-wrap: nowrap; min-width: 0; }
@media (max-width: 1499.98px) { .dau-trang .logo .ten small, .dau-trang .nguoi .ten-nguoi { display: none !important; }
  .dau-trang .menu-chinh > a, .dau-trang .menu-vai-tro .nav-link { font-size: .78rem; padding: .5rem .5rem !important; } }
@media (max-width: 767.98px) { .dau-trang { flex-wrap: wrap; } }
.co-cot-do .than-trang { width: auto; } body { overflow-x: hidden; }
.dai-tieu-de .ten-ct { font-family: Roboto; font-weight: 700; font-size: 1.05rem; margin-bottom: .1rem; }
.trong-bd { text-align: center; color: #8592a6; font-size: .85rem; padding: 3.2rem 1rem; } .trong-bd .bi { display: block; font-size: 2.2rem; opacity: .35; margin-bottom: .4rem; }
/* banner trang chủ: ảnh người dùng gửi 08/11/2026 (static/gd_banner_anh.jpg); hình vẽ gd_banner.svg làm nền dự phòng */
.tc-banner { background: #0e1b3d url("gd_banner_anh.jpg") center 42% / cover no-repeat; }
.tc-banner::before { background: linear-gradient(90deg, rgba(8,16,40,.82) 0%, rgba(8,16,40,.45) 45%, rgba(8,16,40,.05) 75%); }
/* Bảng tin (tintuc): lưới thẻ ảnh kiểu thư viện ảnh */
.tt-dau { padding-top: 1rem; }
.tt-loc a { border: 1px solid var(--vien-nhat); background: #fff; color: var(--tab-chu); border-radius: 99px; padding: .3rem .9rem; text-decoration: none; font-size: .85rem; font-family: Roboto; font-weight: 500; }
.tt-loc a.on, .tt-loc a:hover { background: var(--qlcl); color: #fff; border-color: var(--qlcl); }
.tt-loc a.nut-xanh { border: 0; }
.tt-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; padding-bottom: 1rem; }
.tt-the { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--vien-nhat); text-decoration: none; color: inherit !important;
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.tt-the:hover { box-shadow: 0 14px 30px rgba(20, 36, 90, .16); transform: translateY(-3px); }
.tt-anh { height: 190px; background-size: cover; background-position: center; position: relative; transition: transform .35s; }
.tt-the { isolation: isolate; } .tt-the .tt-anh { transform-origin: center; }
.tt-the:hover .tt-anh { transform: scale(1.05); }
.tt-anh-trong { background: url("gd_nha.svg") center bottom / cover, linear-gradient(150deg, #2e6fb0, #14245a); }
.tt-nhan { position: absolute; left: 12px; bottom: 12px; background: var(--do-nhan); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 3px; font-family: Roboto; text-transform: uppercase; }
.tt-ghim { position: absolute; right: 12px; top: 12px; background: #fff; color: var(--do-nhan); font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; }
.tt-than { padding: .9rem 1.1rem 1rem; display: flex; flex-direction: column; flex: 1; background: #fff; position: relative; z-index: 1; }
.tt-ngay { color: #8592a6; font-size: .78rem; }
.tt-than h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin: .35rem 0 .4rem; line-height: 1.3; }
.tt-than p { font-size: .86rem; color: #5a6677; margin-bottom: .6rem; }
.tt-xem { margin-top: auto; color: var(--qlcl); font-family: Roboto; font-weight: 700; font-size: .8rem; text-transform: uppercase; }
.tt-bai { max-width: 860px; margin: 1rem auto; background: #fff; border: 1px solid var(--vien-nhat); border-radius: 10px; padding: 1.6rem 2rem; }
.tt-bai h1 { color: var(--navy); font-weight: 900; font-size: 1.7rem; }
.tt-anh-lon { width: 100%; border-radius: 8px; margin: .5rem 0 1rem; }
.tt-noi-dung { font-size: 1rem; line-height: 1.65; }
/* thanh menu 5 mục: Giới thiệu, Dự án, Vai trò, Dịch vụ, Tin tức */
.dau-trang .menu-chinh > .dropdown > a { font-family: Roboto; font-weight: 700; font-size: .84rem; text-transform: uppercase; color: #111 !important;
  text-decoration: none; padding: .55rem .65rem; border-bottom: 3px solid transparent; white-space: nowrap; display: inline-block; }
.dau-trang .menu-chinh > .dropdown > a:hover { color: var(--qlcl) !important; }
.dau-trang .menu-chinh > .dropdown > a.on { color: var(--qlcl) !important; border-bottom-color: var(--qlcl); }
.dau-trang .menu-chinh .dropdown-menu { max-height: 75vh; overflow-y: auto; }
.dau-trang .menu-lon { min-width: 260px; }
.dau-trang .menu-lon.nhieu-cot { width: min(980px, 92vw); padding: .5rem; }
.dau-trang .menu-lon.nhieu-cot { display: none; } .dau-trang .menu-lon.nhieu-cot.show { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .2rem .6rem; }
.dau-trang .menu-lon .dropdown-header { font-family: Roboto; font-weight: 700; text-transform: uppercase; font-size: .72rem; color: var(--navy); }
.dau-trang .menu-lon .dropdown-item { white-space: normal; }
.tt-nguon { margin-top: 1rem; padding: .6rem .9rem; background: var(--nen-trang); border-left: 3px solid var(--qlcl); border-radius: 4px; font-size: .9rem; }

/* Nạp hợp đồng / hồ sơ pháp lý để tự điền form công trình (09/11/2026) */
.vung-tha-tep{display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:1.1rem;border:2px dashed #9dbbe0;border-radius:10px;background:#f5f9fe;cursor:pointer;text-align:center}
.vung-tha-tep:hover,.vung-tha-tep.dang-tha{background:#e6f0fb;border-color:var(--qlcl)}
.o-tu-dien,.form-control.o-tu-dien,.form-select.o-tu-dien{background-color:#fff3a0 !important}
.nguon-tu-dien{font-size:.75rem;color:#7a5d00;margin-top:2px;word-break:break-word}

