/* Website luatthuannguyen.com, To hop Luat Thuan Nguyen (trang cua To hop, cong vao app noi bo). An dung 10/10/2026
   theo khuon daugiathanhcong.vn, vpthadsvinhlong.vn.
   Bang mau (Luat su dan 10/10/2026 "tuyet dep", An gui ban phoi): nen chu dao "muc tau" xanh den rat sau chuyen sac #0d1726
   sang #17283f (phan mo dau, dau trang con, khoi Ung dung noi bo, chan trang); nen noi dung nga am #f7f2e8, chu than #1c1f26;
   diem nhan vang sam panh #c9a96a CHI cho duong ke, vien (khong dung lam chu), chu vang tren nen toi #e2c98f, chu vang nho tren
   nen sang #7a6236. Phan mo dau co van thoi vang rat mo (5%) bang gradient CSS, khong anh. Moi the don vi mang mau rieng cua
   don vi do lam vach nhan (sinh tu cau_hinh.json, cuoi tep). Bieu tuong LTN doi sang vang kim (nen sang) va vang sang (nen muc).
   Tuong phan chu (WCAG AA, tu 4,5:1): xem bao cao web_tohop\bao_cao.md.
   Phong tu luu tren chinh website (chep tu WebDauGia, giay phep SIL OFL 1.1, xem phong/NGUON.txt), khong tai gi tu may chu ngoai. */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(/phong/be-vietnam-pro-400-vi.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(/phong/be-vietnam-pro-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(/phong/be-vietnam-pro-500-vi.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(/phong/be-vietnam-pro-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(/phong/be-vietnam-pro-600-vi.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(/phong/be-vietnam-pro-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/phong/lora-500-600-vi.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/phong/lora-500-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --muc-dam: #0d1726;       /* muc tau, dau chuyen sac */
  --muc-sang: #17283f;      /* muc tau, cuoi chuyen sac; nut chinh, chu lien ket */
  --muc-nhat: #e9e6de;
  --kim: #c9a96a;           /* vang sam panh: CHI duong ke, vien, van thoi (khong lam chu) */
  --kim-sang: #e2c98f;      /* chu vang tren nen muc (9,2:1 tren #17283f) */
  --kim-chu: #7a6236;       /* chu vang nho tren nen sang (5,2:1 tren #f7f2e8) */
  --kim-nhat: #efe6d2;
  --nen: #f7f2e8;           /* nga am */
  --trang: #fffdf8;
  --chu: #1c1f26;           /* chu than (14,8:1) */
  --chu-phu: #555a64;       /* chu phu (6,2:1) */
  --chu-toi: #d8dde6;       /* chu thuong tren nen muc (10,9:1) */
  --chu-toi-mo: #a7afbd;    /* chu nho tren nen muc (6,7:1) */
  --vien: #e5dccb;
  --mau-dv: var(--kim);     /* mau rieng tung don vi, dat o cuoi tep */
  --van-thoi: repeating-linear-gradient(45deg, rgba(201, 169, 106, .055) 0 1px, transparent 1px 26px),
              repeating-linear-gradient(-45deg, rgba(201, 169, 106, .055) 0 1px, transparent 1px 26px);
  --nen-muc: linear-gradient(135deg, var(--muc-dam) 0%, var(--muc-sang) 100%);
  --bo: 12px;
  --rong: 1120px;
  --chu-than: 'Be Vietnam Pro', 'Segoe UI', system-ui, sans-serif;
  --chu-tieu-de: 'Lora', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--chu-than); color: var(--chu); background: var(--nen); line-height: 1.68; font-size: 16.5px; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--muc-sang); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--kim); }
a:hover { color: var(--kim-chu); }
h1, h2, h3, h4 { font-family: var(--chu-tieu-de); color: var(--muc-dam); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); letter-spacing: .005em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
.khung { width: min(var(--rong), 100% - 32px); margin-inline: auto; }
.bo-qua { position: absolute; left: -999px; top: 8px; background: var(--muc-sang); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.bo-qua:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--kim); outline-offset: 2px; }

/* Ban xem truoc */
.du-thao { background: #fff4c2; color: #5c4700; text-align: center; font-size: .9rem; padding: 6px 16px; border-bottom: 1px solid #ecd889; }
mark.can-dien { background: #fff27a; color: #3d3000; padding: 0 .25em; border-radius: 3px; font-weight: 600; font-family: var(--chu-than); font-size: .92em; }

/* Dau trang */
.dau { position: sticky; top: 0; z-index: 50; background: rgba(247, 242, 232, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--vien); }
.dau .khung { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.nhan { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muc-dam); min-width: 0; }
.nhan img { width: 75px; height: 40px; flex: none; }
.nhan .ten { font-family: var(--chu-tieu-de); font-weight: 600; font-size: 1.25rem; line-height: 1.15; text-align: center; }
.nhan .ten small { display: block; font-family: var(--chu-than); font-weight: 600; font-size: .7rem; letter-spacing: .24em; margin-right: -.24em; text-transform: uppercase; color: var(--kim-chu); margin-bottom: 3px; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu a { text-decoration: none; color: var(--chu); font-weight: 500; font-size: .95rem; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--muc-dam); background: var(--muc-nhat); }
.menu .nut { margin-left: 8px; padding: 9px 16px; }
.menu a.noi-bo-menu { color: var(--kim-chu); font-weight: 600; }
.mo-menu { display: none; background: none; border: 1px solid var(--vien); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 500; color: var(--muc-sang); cursor: pointer; flex: none; }

/* Nut */
.nut { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; border-radius: 10px; padding: 12px 20px; border: 1px solid transparent; transition: background .15s, border-color .15s; font-size: 1rem; line-height: 1.3; text-align: center; max-width: 100%; }
.nut-chinh { background: var(--muc-sang); color: #fff !important; }
.nut-chinh:hover { background: var(--muc-dam); }
.nut-phu { border-color: var(--muc-sang); color: var(--muc-sang) !important; background: transparent; }
.nut-phu:hover { background: var(--muc-nhat); }
.nut-kim { background: var(--kim-sang); color: var(--muc-dam) !important; }
.nut-kim:hover { background: #ecd9ab; }
.nut-vien { border-color: rgba(226, 201, 143, .55); color: #fff !important; }
.nut-vien:hover { border-color: var(--kim-sang); }
.nhom-nut { display: flex; flex-wrap: wrap; gap: 12px; }
.nhom-nut.doc { flex-direction: column; align-items: stretch; }

/* Mo dau trang chu: muc tau chuyen sac, van thoi vang rat mo, duong kim manh duoi tieu de */
.mo-dau { background: var(--van-thoi), var(--nen-muc); color: var(--chu-toi); position: relative; overflow: hidden; border-bottom: 1px solid rgba(201, 169, 106, .5); }
.mo-dau::after { content: ''; position: absolute; right: -150px; top: -150px; width: 500px; height: 500px; border: 1px solid rgba(201, 169, 106, .28); border-radius: 50%; pointer-events: none; }
.mo-dau .khung { padding: clamp(52px, 8vw, 100px) 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 40px; align-items: center; position: relative; z-index: 1; }
.mo-dau h1 { color: #fff; }
.mo-dau h1::after { content: ''; display: block; width: 84px; height: 1px; background: var(--kim); margin-top: 20px; }
.mo-dau .phu { font-size: 1.1rem; color: var(--chu-toi); max-width: 36em; }
.mo-dau .nhom-nut { margin-top: 26px; }
.mo-dau .nhom-nut .nut { padding: 12px 18px; }
.nhan-nho { display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--kim-chu); margin-bottom: 10px; }
.mo-dau .nhan-nho, .loi-goi .nhan-nho, .the-noi-bo .nhan-nho { color: var(--kim-sang); }
.the-nhanh { background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 169, 106, .45); border-radius: var(--bo); padding: 24px 26px; }
.the-nhanh h2 { font-size: .78rem; color: var(--kim-sang); font-family: var(--chu-than); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.the-nhanh dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; }
.the-nhanh dt { color: var(--kim-sang); font-weight: 600; font-size: .9rem; padding-top: 2px; }
/* Cham mau dung rieng mot cot, ten don vi xuong dong thi dong sau thang hang voi chu dau dong tren (LS 10/10/2026) */
.the-nhanh dd { margin: 0; color: #fff; display: flex; align-items: baseline; }
.the-nhanh dd::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--mau-dv); box-shadow: 0 0 0 1.5px rgba(226, 201, 143, .8); margin-right: 11px; position: relative; top: -1px; }
.the-nhanh dd a { min-width: 0; }
.the-nhanh a { color: #fff; text-decoration-color: rgba(226, 201, 143, .7); }
.the-nhanh .lh-nhanh { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(201, 169, 106, .3); color: #fff; font-size: .95rem; }

/* Muc */
.muc { padding: clamp(50px, 7vw, 86px) 0; }
.muc-nen { background: var(--trang); border-block: 1px solid var(--vien); }
.muc-dau { max-width: 820px; margin-bottom: 32px; }
.muc-dau p { color: var(--chu-phu); }
.luoi { display: grid; gap: 20px; }
.luoi > *, .cot-ben > * { min-width: 0; }
.luoi-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.luoi-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.the { background: var(--trang); border: 1px solid var(--vien); border-radius: var(--bo); padding: 24px; }
.muc-nen .the { background: var(--nen); }
.the p { color: var(--chu-phu); margin: 0; }
.ghi-chu { font-size: .92rem; color: var(--chu-phu); border-left: 3px solid var(--kim); padding: 4px 0 4px 14px; margin: 24px 0 0; }

/* Luoi nam the don vi (LS 10/10/2026): ba the tren, hai the duoi can giua o may tinh; hai cot o may tinh bang; mot cot o dien thoai */
.luoi-dv { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.luoi-dv > .the-dv { flex: 0 1 calc((100% - 40px) / 3); min-width: 0; }

/* The don vi: vach nhan tren dau the mang mau rieng cua don vi */
.the-dv { border-top: 4px solid var(--mau-dv); display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 0 rgba(13, 23, 38, .03), 0 10px 24px -18px rgba(13, 23, 38, .35); }
.the-dv .logo-dv { height: 64px; display: flex; align-items: center; }
.the-dv .logo-dv img { max-height: 64px; width: auto; }
.the-dv .loai { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--kim-chu); margin: 4px 0 0; }
.the-dv h3 { margin: 0; }
.the-dv .phu-de, .dv-khoi .phu-de { color: var(--kim-chu); font-weight: 600; font-size: .92rem; margin: -2px 0 0; }
.dv-khoi .phu-de { margin: 0 0 .7em; }
.the-dv .lh { margin: 4px 0 0; font-size: .95rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; padding-top: 10px; border-top: 1px solid var(--vien); }
.the-dv .lh dt { color: var(--chu-phu); }
.the-dv .lh dd { margin: 0; font-weight: 600; }
.the-dv .lh a { text-decoration: none; }
.the-dv .nut { margin-top: auto; align-self: flex-start; }

/* Gioi thieu, trang con */
.cot-ben { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; align-items: start; }
.bai { max-width: 760px; }
.bai h2 { margin-top: 1.5em; scroll-margin-top: 92px; }
.bai h2:first-of-type { margin-top: 0; }
.bai .nhan-nho + h2 { margin-top: 0; }
.bai ul { padding-left: 1.2em; }
.bai li { margin-bottom: .4em; }
.hop-ben { position: sticky; top: 96px; background: var(--trang); border: 1px solid var(--vien); border-top: 3px solid var(--kim); border-radius: var(--bo); padding: 22px 24px; }
.muc-nen .hop-ben { background: var(--nen); }
.hop-ben h3 { font-size: 1.08rem; }
.hop-ben p, .hop-ben li { color: var(--chu-phu); font-size: .95rem; }
.hop-ben ul { margin: 0; padding-left: 1.1em; }
.hop-ben li { margin-bottom: .45em; }
.hop-ben li::marker { color: var(--kim); }
.dl-doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin: 0; font-size: .94rem; }
.dl-doc dt { color: var(--kim-chu); font-weight: 600; font-size: .82rem; letter-spacing: .04em; margin-top: 10px; }
.dl-doc dt:first-child { margin-top: 0; }
.dl-doc dd { margin: 0; }
.muc-luc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.muc-luc a { text-decoration: none; font-size: .9rem; font-weight: 500; padding: 6px 12px; border: 1px solid var(--vien); border-radius: 999px; background: var(--trang); color: var(--muc-sang); }
.muc-luc a:hover { border-color: var(--kim); }
.dau-trang { background: var(--van-thoi), var(--nen-muc); color: var(--chu-toi); padding: 46px 0 40px; border-bottom: 1px solid rgba(201, 169, 106, .5); }
.dau-trang h1 { color: #fff; margin-bottom: .3em; }
.dau-trang p { max-width: 48em; margin: 0; }
.dau-trang .dan { font-size: .88rem; margin-bottom: 10px; color: #b9c1cf; }
.dau-trang .dan a { color: #fff; }

/* Trang Cac don vi: moi don vi mot khoi, vach mau don vi tren logo */
.dv-khoi { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; padding: 34px 0; border-top: 1px solid var(--vien); scroll-margin-top: 92px; }
.dv-khoi:first-of-type { border-top: 0; padding-top: 0; }
.dv-khoi .logo-dv { border-top: 4px solid var(--mau-dv); padding-top: 16px; }
.dv-khoi .logo-dv img { max-width: 120px; max-height: 96px; width: auto; }
.dv-khoi h2 { margin: 0 0 .25em; }
.dv-khoi .loai { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--kim-chu); margin: 0 0 6px; }
.dv-khoi ul { margin: 0 0 1em; padding-left: 1.2em; }
.dv-khoi li { margin-bottom: .3em; }
.dv-khoi li::marker { color: var(--kim); }
.dv-khoi .dl-doc { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 8px 18px; margin-bottom: 18px; }
.dv-khoi .dl-doc dt { margin-top: 0; padding-top: 2px; }

/* Ung dung noi bo (LS duyet 10/10/2026, cach nut bam): khoi nho tren nen nga, the muc tau co van thoi, vien vang manh, mot nut
   vang dan thang https://app.luatthuannguyen.com/. Khong liet ke ten app. Cung tinh than cong vao.lfo.vn theo mau muc tau. */
.muc-noi-bo { padding: 0 0 clamp(50px, 7vw, 86px); }
.the-noi-bo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 36px; align-items: center; background: var(--van-thoi), var(--nen-muc); color: var(--chu-toi); border: 1px solid rgba(201, 169, 106, .55); border-radius: 14px; padding: 26px 32px; box-shadow: 0 14px 30px -24px rgba(13, 23, 38, .7); }
.the-noi-bo h2 { color: #fff; font-size: 1.4rem; margin-bottom: .3em; }
.the-noi-bo p { margin: 0; color: var(--chu-toi); font-size: .97rem; max-width: 40em; }
.the-noi-bo .nut { white-space: nowrap; }

/* Lien he */
.loi-goi { background: var(--van-thoi), var(--nen-muc); color: var(--chu-toi); border-radius: 16px; padding: clamp(24px, 4vw, 40px); border: 1px solid rgba(201, 169, 106, .45); }
.loi-goi h2 { color: #fff; }
.loi-goi a { color: #fff; text-decoration-color: rgba(226, 201, 143, .7); }
.loi-goi > p { max-width: 46em; }
.lh-chung { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 22px; margin: 18px 0 0; font-size: 1.05rem; }
.lh-chung dt { color: var(--kim-sang); font-weight: 600; font-size: .92rem; padding-top: 2px; }
.lh-chung dd { margin: 0; color: #fff; font-weight: 600; }
.lh-tieu-de { color: #fff; font-size: 1.12rem; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid rgba(201, 169, 106, .3); }
.luoi-lh { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 16px; }
.luoi-lh > .o-lh { flex: 0 1 calc((100% - 36px) / 3); min-width: 0; }
.o-lh { border: 1px solid rgba(201, 169, 106, .35); border-radius: 12px; padding: 18px 20px; background: rgba(13, 23, 38, .35); }
.o-lh h3 { color: #fff; font-size: 1.05rem; margin-bottom: .4em; }
.o-lh p { margin: 0 0 .3em; font-size: .95rem; }
.o-lh .loai { color: var(--kim-sang); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.ghi-chu-sang { margin: 18px 0 0; font-size: .9rem; }

/* Chan trang */
.chan { background: var(--van-thoi), linear-gradient(180deg, var(--muc-sang) 0%, var(--muc-dam) 100%); color: var(--chu-toi); padding: 50px 0 26px; font-size: .93rem; border-top: 1px solid rgba(201, 169, 106, .5); }
.chan .khung { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.chan h4 { color: #fff; font-size: 1rem; margin: 0 0 12px; }
.chan a { color: #ece9e1; text-decoration: none; }
.chan a:hover { color: var(--kim-sang); }
.chan ul { list-style: none; padding: 0; margin: 0; }
.chan li { margin-bottom: 7px; }
.chan .logo-chan { width: 90px; height: 48px; margin-bottom: 12px; }
.chan .lh-chan { color: #fff; margin-top: 4px; }
.chan .duoi { grid-column: 1 / -1; border-top: 1px solid rgba(201, 169, 106, .25); padding-top: 18px; margin-top: 6px; font-size: .84rem; color: var(--chu-toi-mo); }

@media (max-width: 1100px) {
  .menu a { padding: 8px 7px; font-size: .9rem; }
  .menu .nut { margin-left: 4px; padding: 9px 12px; }
}
@media (max-width: 960px) {
  .mo-dau .khung, .cot-ben { grid-template-columns: minmax(0, 1fr); }
  .luoi-3, .luoi-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .luoi-dv > .the-dv { flex-basis: calc((100% - 20px) / 2); }
  .luoi-lh > .o-lh { flex-basis: calc((100% - 18px) / 2); }
  .chan .khung { grid-template-columns: 1fr 1fr; }
  .chan .cot-dau { grid-column: 1 / -1; }
  .hop-ben { position: static; }
  .the-noi-bo { grid-template-columns: minmax(0, 1fr); }
  .the-noi-bo .nut { justify-self: start; }
}
@media (max-width: 920px) {
  .mo-menu { display: inline-block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--nen); border-bottom: 1px solid var(--vien); padding: 10px 16px 16px; box-shadow: 0 12px 24px rgba(13, 23, 38, .1); }
  .menu.mo { display: flex; }
  .menu a { padding: 10px 12px; font-size: 1rem; }
  .menu .nut { margin: 8px 0 0; padding: 12px 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .luoi-3, .luoi-4, .chan .khung { grid-template-columns: minmax(0, 1fr); }
  .luoi-dv > .the-dv, .luoi-lh > .o-lh { flex-basis: 100%; }
  .lh-chung { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .lh-chung dd { margin-bottom: 10px; }
  .nhan img { width: 62px; height: 33px; }
  .nhan .ten { font-size: 1.1rem; }
  .nhan .ten small { font-size: .62rem; letter-spacing: .18em; margin-right: -.18em; }
  .the-nhanh { padding: 20px; }
  .the-nhanh dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .the-nhanh dd { margin-bottom: 12px; }
  .nhom-nut .nut { flex: 1 1 100%; }
  .dv-khoi { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .dv-khoi .logo-dv img { max-height: 72px; }
  .dv-khoi .dl-doc { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .dv-khoi .dl-doc dd { margin-bottom: 10px; }
  .the-noi-bo { padding: 22px 20px; }
  .the-noi-bo .nut { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .nut { transition: none; } }

/* Khong de mot chu rot xuong dong rieng (LS 8/10/2026 va 10/10/2026, nhu a39.vn, lfo.vn, vpthadsvinhlong.vn). Tieu de chia
   dong can doi, doan van tranh dong cuoi chi con mot chu; cum ten rieng, tu ghep da duoc dung_web.py noi bang NBSP. */
h1, h2, h3, h4, dt, th, caption { text-wrap: balance; }
p, li, dd, td { text-wrap: pretty; }

/* Mot cum khong ngat dong */
.lien { white-space: nowrap; }

/* Do dai dong vua mat o trang Cac don vi */
.dv-khoi > div > p, .dv-khoi > div > ul { max-width: 48em; }

/* Lien he chung: moi dong mot doan rieng (so dien thoai, hop thu), khong dung <br> */
.lh-nhanh p, .lh-chan p { margin: 0; }
.lh-nhanh .nhan-lh, .lh-chan .nhan-lh { color: var(--kim-sang); font-weight: 600; font-size: .88rem; margin-bottom: 2px; }

/* Mau rieng tung don vi lam vach nhan (sinh tu nguon/cau_hinh.json don_vi[].mau luc dung) */
.dv-lfo { --mau-dv: #14254a; }
.dv-thads { --mau-dv: #6b1d24; }
.dv-dau-gia { --mau-dv: #1e4a3d; }
.dv-quan-tai { --mau-dv: #3a3157; }
.dv-vsiac { --mau-dv: #E5B023; }
.dv-a39 { --mau-dv: #105B9C; }
