/* Giao diện chung cho mọi module Xưởng Biển. Dùng tốt trên điện thoại.
   Module chỉ nên dùng các lớp có sẵn ở đây; cần kiểu riêng thì đặt trong module. */
:root {
  /* Bảng màu 2.0 (người giao việc, 10/11/2026) – giữ tên biến cũ để mọi module tự đổi theo */
  --mau-chinh: #10538a;      /* xanh điều hướng: nút, liên kết, mục đang chọn */
  --mau-chinh-dam: #102f47;  /* xanh navy chủ đạo: thanh trên cùng, tiêu đề, chữ chính */
  --mau-bien: #14658a;       /* xanh biển */
  --mau-vang: #e4b65e;       /* vàng nhấn */
  --mau-nen: #f3f7fa; --mau-the: #ffffff; --mau-chu: #102f47; --mau-chu-phu: #536979;
  --mau-vien: #d3dde6; --mau-loi: #b3261e; --mau-ok: #1e7b34; --mau-canh-bao: #8a5a00; --bo-goc: 10px;
  --rong-noi-dung: 1200px; --bong-the: 0 1px 2px rgba(16, 47, 71, .06), 0 2px 10px rgba(16, 47, 71, .05);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px;
  line-height: 1.5; color: var(--mau-chu); background: var(--mau-nen); }
a { color: var(--mau-chinh); }
h1 { font-size: 1.5rem; margin: 0 0 1rem; } h2 { font-size: 1.2rem; margin: 1.5rem 0 .75rem; }

.dau-trang { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .5rem 1rem;
  background: var(--mau-chinh); color: #fff; }
.dau-trang a { color: #fff; text-decoration: none; }
.logo { font-weight: 700; font-size: 1.15rem; }
.cac-tab { display: flex; gap: .25rem; overflow-x: auto; flex: 1 1 auto; -webkit-overflow-scrolling: touch; }
.tab { padding: .4rem .8rem; border-radius: var(--bo-goc); white-space: nowrap; }
.tab:hover, .tab-chon { background: var(--mau-chinh-dam); }
.tab-bao-tri { opacity: .6; }
.khu-nguoi-dung { display: flex; align-items: center; gap: .75rem; font-size: .9rem; flex-wrap: wrap; }
.nut-dong { margin: 0; display: inline; }
.nut-dong button { background: transparent; border: 1px solid #fff8; color: #fff; padding: .25rem .6rem; min-height: 0; }

.noi-dung { max-width: 1100px; margin: 0 auto; padding: 1rem; }
.chan-trang { text-align: center; color: #7a8796; font-size: .8rem; padding: 2rem 1rem; }

.luoi-module { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.the-module { display: block; padding: 1.5rem 1rem; background: #fff; border: 1px solid var(--mau-vien);
  border-radius: var(--bo-goc); text-decoration: none; color: var(--mau-chu); font-size: 1.1rem; }
.the-module:hover { border-color: var(--mau-chinh); box-shadow: 0 2px 8px #0b539422; }
.the-module span { display: block; font-size: .85rem; color: var(--mau-canh-bao); margin-top: .4rem; }
.the-bao-tri { opacity: .7; }

.bieu-mau { display: grid; gap: .9rem; background: #fff; padding: 1rem; border: 1px solid var(--mau-vien);
  border-radius: var(--bo-goc); margin-bottom: 1rem; }
.bieu-mau.hep { max-width: 480px; }
label { display: grid; gap: .3rem; font-weight: 500; }
label.o-chon { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
input, select, textarea { font: inherit; padding: .6rem .7rem; border: 1px solid var(--mau-vien); border-radius: 6px;
  background: #fff; width: 100%; min-height: 44px; }
input[type=checkbox], input[type=radio] { width: 1.25rem; min-height: 1.25rem; height: 1.25rem; }
button, .nut { font: inherit; display: inline-block; padding: .6rem 1.1rem; min-height: 44px; border: 0; border-radius: 6px;
  background: var(--mau-chinh); color: #fff; cursor: pointer; text-decoration: none; text-align: center; }
button.phu, .nut.phu { background: #fff; color: var(--mau-chinh); border: 1px solid var(--mau-chinh); }
.hang-nut { display: flex; flex-wrap: wrap; gap: .5rem; }
.tim-kiem { display: flex; gap: .5rem; margin: 1rem 0; flex-wrap: wrap; }
.tim-kiem input { flex: 1 1 200px; width: auto; }

table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: .5rem .6rem; border-bottom: 1px solid var(--mau-vien); text-align: left; vertical-align: top; }
th { background: #eaf0f7; font-weight: 600; }
.bang-cuon { overflow-x: auto; border: 1px solid var(--mau-vien); border-radius: var(--bo-goc); }
.chi-tiet { max-width: 360px; word-break: break-word; font-size: .85rem; }

.thong-bao { padding: .7rem 1rem; border-radius: 6px; margin: 0 0 1rem; }
.thong-bao-loi { background: #fde8e7; color: var(--mau-loi); }
.thong-bao-ok { background: #e3f4e7; color: var(--mau-ok); }
.thong-bao-canh-bao { background: #fff4d6; color: var(--mau-canh-bao); }
.goi-y { color: #5b6878; font-size: .9rem; margin: 0; }

@media (max-width: 640px) {
  .dau-trang { padding: .5rem .75rem; }
  .cac-tab { order: 3; flex-basis: 100%; }
  .noi-dung { padding: .75rem; }
  h1 { font-size: 1.3rem; }
}

/* ---------- Bổ sung phiên bản 1.1 (lõi Tài khoản) ---------- */
.noi-dung-rong { max-width: 1400px; }
.nut-dang-nhap { background: #fff; color: var(--mau-chinh) !important; padding: .35rem .9rem; border-radius: 6px; font-weight: 600; }
.nguoi-dung { color: #fff; }
.bang-nhac { background: #fff4d6; color: var(--mau-canh-bao); padding: .55rem 1rem; text-align: center; font-size: .92rem; }
.bang-nhac a { color: inherit; font-weight: 600; }
h1 small, .goi-y small { font-weight: 400; color: #5b6878; }
label small { font-weight: 400; color: #5b6878; }

/* Trang chủ công khai */
.bia { background: linear-gradient(135deg, #0b5394 0%, #0a7aa8 60%, #13a3b8 100%); color: #fff; border-radius: 12px;
  padding: 3rem 1.5rem; margin-bottom: 2rem; }
.bia-chu { max-width: 640px; }
.bia h1 { font-size: 2.2rem; margin: 0 0 .5rem; }
.bia p { font-size: 1.1rem; margin: 0 0 1.5rem; opacity: .95; }
.bia .nut { background: #fff; color: var(--mau-chinh); font-weight: 600; }
.nut-lon { padding: .8rem 1.6rem; font-size: 1.05rem; }
.khoi h2 { margin-top: 0; }
.o-trong { padding: 2rem 1rem; text-align: center; color: #5b6878; background: #fff; border: 1px dashed var(--mau-vien); border-radius: var(--bo-goc); }
.luoi-tin { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.the-tin { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mau-vien); border-radius: var(--bo-goc);
  overflow: hidden; color: var(--mau-chu); text-decoration: none; }
.the-tin img, .the-tin .anh-trong { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #dde7f1; }
.the-tin-chu { padding: .8rem 1rem; }
.the-tin-chu small { color: #7a8796; }
.the-tin-chu strong { display: block; margin: .2rem 0; }
.the-tin-chu p { margin: 0; color: #5b6878; font-size: .9rem; }
.the-module span.phu { color: #5b6878; }

/* Biểu mẫu & khung */
.hop-giua { max-width: 440px; margin: 1.5rem auto; }
.hop { background: #fff; border: 1px solid var(--mau-vien); border-radius: var(--bo-goc); padding: 1rem; }
.hop h2 { margin-top: 0; }
.hai-cot { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; align-items: start; }
.hai-o { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.bieu-mau.phang { border: 0; padding: 0; }
.bang-thong-tin th { width: 38%; background: transparent; color: #5b6878; font-weight: 500; }
.nhom-chon { border: 1px solid var(--mau-vien); border-radius: 6px; padding: .6rem .9rem; display: grid; gap: .4rem;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin: 0; }
.nhom-chon legend { font-weight: 500; padding: 0 .3rem; }
.nhom-chon > label:not(.o-chon) { grid-column: 1 / -1; }
.dong-form { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0; }
.dong-form input { flex: 1 1 160px; width: auto; }
button.nguy { color: var(--mau-loi); border-color: var(--mau-loi); }
button:disabled { opacity: .5; cursor: not-allowed; }

/* Quản trị */
.thanh-con { display: flex; gap: .25rem; flex-wrap: wrap; border-bottom: 2px solid var(--mau-vien); margin: 0 0 1rem; }
.thanh-con a { padding: .5rem .8rem; text-decoration: none; border-radius: 6px 6px 0 0; color: var(--mau-chu); }
.thanh-con a.chon { background: var(--mau-chinh); color: #fff; }
.nhan { display: inline-block; font-size: .72rem; padding: .05rem .4rem; border-radius: 4px; background: #e3ecf7; color: var(--mau-chinh); vertical-align: middle; }
.nhan-do { background: #fde8e7; color: var(--mau-loi); }
tr.mo td { opacity: .55; }
.luoi-so { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .75rem; margin: 1rem 0; }
.luoi-so div { background: #fff; border: 1px solid var(--mau-vien); border-radius: var(--bo-goc); padding: .8rem; text-align: center; color: #5b6878; }
.luoi-so b { display: block; font-size: 1.8rem; color: var(--mau-chu); }
.luoi-so .so-loi b { color: var(--mau-loi); }
.tim-kiem select { flex: 0 1 220px; width: auto; }

@media (max-width: 640px) {
  .bia { padding: 2rem 1rem; }
  .bia h1 { font-size: 1.7rem; }
  .hai-o { grid-template-columns: 1fr; }
  .bang-cuon table { font-size: .9rem; }
}

details summary { cursor: pointer; color: var(--mau-chinh); margin: 1rem 0 .5rem; font-weight: 500; }

/* ---------- Hồ sơ CBCNV ---------- */
fieldset.nhom { border: 1px solid var(--mau-vien); border-radius: var(--bo-goc); padding: .8rem 1rem 1rem; margin: 0; display: grid; gap: .7rem; background: #fbfdff; }
fieldset.nhom > legend { font-weight: 600; padding: 0 .4rem; color: var(--mau-chinh-dam); }
fieldset.nhom .nhom-chon { border: 0; padding: 0; }
.ds-sdt { display: grid; gap: .5rem; }
.dong-sdt { display: flex; gap: .4rem; }
.dong-sdt input { flex: 1; }
.dong-sdt .nut-xoa { min-width: 44px; padding: 0 .6rem; }
.nhan-o { font-weight: 500; }
.the-nguoi-than { border: 1px dashed var(--mau-vien); border-radius: var(--bo-goc); padding: .8rem; display: grid; gap: .6rem; background: #fff; margin-bottom: .6rem; }
.the-thong-tin { background: #fff; border: 1px solid var(--mau-vien); border-radius: var(--bo-goc); padding: .7rem 1rem; margin-bottom: 1rem; }
textarea { font: inherit; padding: .6rem .7rem; border: 1px solid var(--mau-vien); border-radius: 6px; width: 100%; }
.nhan-vang { background: #fff4d6; color: var(--mau-canh-bao); }
table.so-sanh th { width: 20%; }
table.so-sanh td { width: 40%; }
table.so-sanh tr.co-doi td:last-child { background: #fffbe8; font-weight: 500; }
.thong-bao ul { margin: .3rem 0 0; padding-left: 1.2rem; }

/* Xem hồ sơ, xuất dữ liệu */
.tieu-de-nut { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tieu-de-nut h1 { margin: 0; }
.xem-ho-so { background: #fff; border: 1px solid var(--mau-vien); border-radius: var(--bo-goc); padding: .5rem 1.2rem 1rem; margin-bottom: 1rem; }
.xem-ho-so h2 { font-size: 1.05rem; margin: 1rem 0 .4rem; color: var(--mau-chinh-dam); }
.xem-ho-so dl { display: grid; grid-template-columns: minmax(140px, 32%) 1fr; margin: 0; }
.xem-ho-so dt { color: #5b6878; padding: .3rem 0; border-bottom: 1px solid #eef2f7; }
.xem-ho-so dd { margin: 0; padding: .3rem 0; border-bottom: 1px solid #eef2f7; word-break: break-word; }
.chon-muc { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .6rem 1.2rem; }
.chon-muc > p { grid-column: 1 / -1; margin: 0; }
.nhom-muc { display: grid; gap: .25rem; align-content: start; }
.chon-dinh-dang { display: grid; gap: .4rem; }
@media (max-width: 640px) { .xem-ho-so dl { grid-template-columns: 1fr; } .xem-ho-so dt { border: 0; padding-bottom: 0; font-size: .88rem; } }


/* =====================================================================
   GIAO DIỆN 2.0 (Tab Chung, 10/11/2026) – chỉ đổi cách trình bày, không đổi tên lớp.
   Thanh trên cùng navy + mục đang chọn gạch vàng; nội dung rộng 1200px; thẻ, nút, trạng thái thống nhất.
   ===================================================================== */
body { color: var(--mau-chu); background: var(--mau-nen); }
a { color: var(--mau-chinh); text-underline-offset: 2px; }
h1, h2, h3 { color: var(--mau-chinh-dam); text-wrap: balance; }
h1 { font-size: 1.65rem; line-height: 1.25; }
.goi-y, h1 small, .goi-y small, label small { color: var(--mau-chu-phu); }

/* Thanh điều hướng */
.dau-trang { background: var(--mau-chinh-dam); padding: .45rem max(1rem, calc((100% - var(--rong-noi-dung)) / 2)); gap: .4rem 1rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; position: sticky; top: 0; z-index: 20; }
.logo { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.15rem; letter-spacing: .02em; white-space: nowrap; }
.logo::before { content: ""; width: 1.5rem; height: 1.5rem; border-radius: 6px; background: var(--mau-vang); flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v14M5 13a7 7 0 0 0 14 0M8 10h8'/%3E%3C/svg%3E") center / 80% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v14M5 13a7 7 0 0 0 14 0M8 10h8'/%3E%3C/svg%3E") center / 80% no-repeat; }
.cac-tab { gap: .15rem; scrollbar-width: thin; flex: 1 1 auto; min-width: 0; }
@media (min-width: 1024px) {
  .dau-trang { flex-wrap: nowrap; gap: .4rem .7rem; padding-left: max(1rem, calc((100% - 1440px) / 2)); padding-right: max(1rem, calc((100% - 1440px) / 2)); }
  .khu-nguoi-dung { flex: none; flex-wrap: nowrap; }
  .cac-tab { flex-wrap: wrap; overflow: visible; row-gap: .1rem; }
  .tab { padding: .45rem .55rem; font-size: .9rem; } .tab-chon::after { left: .55rem; right: .55rem; }
  .nguoi-dung { max-width: 16ch; font-size: .9rem; } .nut-dong button { font-size: .85rem; padding: .2rem .55rem; } }
.tab { padding: .5rem .75rem; border-radius: 8px; color: #dbe6ef !important; font-size: .95rem; position: relative; }
.tab:hover { background: rgba(255, 255, 255, .08); color: #fff !important; }
.tab-chon, .tab-chon:hover { background: rgba(255, 255, 255, .12); color: #fff !important; font-weight: 600; }
.tab-chon::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .15rem; height: 3px; border-radius: 3px; background: var(--mau-vang); }
.tab-bao-tri { opacity: .55; }
.tab-bao-tri small { font-size: .75rem; }
.khu-nguoi-dung { min-width: 0; }
.nguoi-dung { display: inline-block; max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; color: #fff !important; }
.nut-dong button { border-color: rgba(255, 255, 255, .45); border-radius: 7px; }
.nut-dong button:hover { background: rgba(255, 255, 255, .1); }
.nut-dang-nhap { background: var(--mau-vang); color: var(--mau-chinh-dam) !important; }
/* Menu thu gọn trên điện thoại (lõi thêm: <input type="checkbox" id="mo-menu" class="mo-menu"><label for="mo-menu" class="nut-menu">Menu</label> trước <nav class="cac-tab">) */
.mo-menu { position: absolute; opacity: 0; pointer-events: none; }
.nut-menu { display: none; color: #fff; border: 1px solid rgba(255, 255, 255, .45); border-radius: 7px; padding: .3rem .7rem; cursor: pointer; font-weight: 500; }
.mo-menu:focus-visible + .nut-menu { outline: 3px solid var(--mau-vang); outline-offset: 2px; }

/* Nội dung */
.noi-dung { max-width: var(--rong-noi-dung); padding: 1.5rem 1rem 2rem; }
.noi-dung-rong { max-width: 1400px; }
.chan-trang { color: var(--mau-chu-phu); border-top: 1px solid var(--mau-vien); margin-top: 1rem; }

/* Thông báo mật khẩu ban đầu */
.bang-nhac { background: #fff6e0; color: #6b4a00; border-bottom: 1px solid #f0dca8; padding: .6rem 1rem; }
.bang-nhac a { display: inline-block; margin-left: .3rem; background: var(--mau-chinh); color: #fff !important; padding: .15rem .7rem; border-radius: 6px; text-decoration: none; }
.bang-nhac a:hover { background: var(--mau-chinh-dam); }

/* Nút, ô nhập, trạng thái tập trung (dùng được bằng bàn phím) */
button, .nut { border-radius: 8px; font-weight: 500; }
button:hover, .nut:hover { filter: brightness(1.08); }
button.phu, .nut.phu { background: var(--mau-the); color: var(--mau-chinh); border: 1px solid var(--mau-chinh); }
a:focus-visible, button:focus-visible, .nut:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--mau-vang); outline-offset: 2px; }
input, select, textarea { border-color: var(--mau-vien); border-radius: 8px; }

/* Thẻ, bảng */
.the-module, .hop, .bieu-mau, .the-tin, .xem-ho-so, .the-thong-tin, .luoi-so div { border-radius: 12px; box-shadow: var(--bong-the); border-color: var(--mau-vien); }
.the-module { padding: 1.2rem 1.1rem; color: var(--mau-chu); }
.the-module:hover { border-color: var(--mau-chinh); box-shadow: 0 4px 16px rgba(16, 83, 138, .14); }
.the-module span, .the-module span.phu { color: var(--mau-chu-phu); }
.the-bao-tri { opacity: .6; pointer-events: none; }
.the-bao-tri span { color: var(--mau-canh-bao) !important; }
th { background: #e9f0f6; color: var(--mau-chinh-dam); }
.bang-cuon { border-radius: 12px; background: var(--mau-the); }
.thanh-con a.chon { background: var(--mau-chinh); }
.nhan { background: #e3edf6; color: var(--mau-chinh); border-radius: 999px; padding: .05rem .5rem; }
/* Nhãn trạng thái dùng chung – đặt SAU .nhan để màu không bị ghi đè (lỗi Tab Hồ sơ báo 11/11) */
.nhan.nhan-do, .nhan-do { background: #fde8e7; color: var(--mau-loi); }
.nhan.nhan-vang, .nhan-vang { background: #fff4d6; color: var(--mau-canh-bao); }
.nhan.nhan-xanh, .nhan-xanh { background: #e3f4e7; color: var(--mau-ok); }
.nhan.nhan-xam, .nhan-xam { background: #eef1f5; color: var(--mau-chu-phu); }
.o-trong { border-radius: 12px; color: var(--mau-chu-phu); }
.bia { background: linear-gradient(120deg, var(--mau-chinh-dam), var(--mau-bien)); }
.bia .nut { background: var(--mau-vang); color: var(--mau-chinh-dam); }

@media (max-width: 1023px) {
  .nut-menu { display: inline-block; margin-left: auto; }
  .dau-trang { flex-wrap: wrap; }
  .dau-trang:has(.mo-menu) .cac-tab { display: none; order: 3; flex-basis: 100%; flex-direction: column; padding: .3rem 0 .5rem; }
  .mo-menu:checked ~ .cac-tab { display: flex !important; }
  .dau-trang:has(.mo-menu) .khu-nguoi-dung { order: 4; flex-basis: 100%; justify-content: space-between; padding-bottom: .3rem; }
  .tab-chon::after { left: 0; right: auto; top: .4rem; bottom: .4rem; width: 3px; height: auto; }
}
@media (max-width: 640px) { .noi-dung { padding: 1rem .9rem 1.5rem; } h1 { font-size: 1.35rem; } .nguoi-dung { max-width: 16ch; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Về trang chính (góp ý 11/11/2026) – dùng ở MỌI trang trong các tab ----------
   Trên cùng nội dung:  <nav class="duong-dan" aria-label="Đường dẫn"><a href="/">Trang chính</a><span>Tên tab</span></nav>
   Dưới cùng nội dung:  <nav class="ve-trang-chinh"><a class="nut" href="/">← Về trang chính</a></nav>  */
.duong-dan { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .45rem; font-size: .9rem; color: var(--mau-chu-phu); margin: 0 0 .9rem; }
.duong-dan a { color: var(--mau-chinh); font-weight: 500; text-decoration: none; }
.duong-dan a:hover { text-decoration: underline; }
.duong-dan > *:not(:last-child)::after { content: "›"; margin-left: .45rem; color: var(--mau-chu-phu); }
.duong-dan a:first-child::before { content: "⌂ "; }
.ve-trang-chinh { display: flex; justify-content: center; margin: 2.2rem 0 .4rem; padding-top: 1.4rem; border-top: 1px solid var(--mau-vien); }
.ve-trang-chinh .nut { font-size: 1.05rem; font-weight: 600; padding: .8rem 1.8rem; min-height: 50px; border-radius: 10px; }
@media (max-width: 640px) { .ve-trang-chinh .nut { width: 100%; } }

/* ---------- Ảnh bìa không bị cắt (góp ý Tin tức 11/11: "tự động căn chỉnh, không tràn viền, không mất hình") ----------
   Cách đẹp: <span class="khung-anh"><img class="nen" src="X" alt="" aria-hidden="true"><img class="chinh" src="X" alt=""></span>
   → hiện trọn ảnh, phần trống là nền mờ lấy từ chính ảnh. Ảnh cũ trong .the-tin (chưa đổi HTML) cũng không còn bị cắt. */
.the-tin img { object-fit: contain; background: #e9f0f6; }
.khung-anh { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #dde7f1; }
.khung-anh img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.khung-anh .nen { object-fit: cover; filter: blur(16px) brightness(.92); transform: scale(1.15); }
.khung-anh .chinh { object-fit: contain; }


/* =====================================================================
   GIAO DIỆN 3.0 – XB-WEB UI/UX REDESIGN SPECIFICATION V1.0 (người giao việc, 12/11/2026; docs/GIAO-DIEN-3.md)
   Chỉ đổi cách trình bày: giữ tên lớp cũ, biến cũ trỏ sang token mới → mọi module tự đổi theo.
   ===================================================================== */
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("phong-chu/be-vietnam-pro-vietnamese-400-normal.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-chu/be-vietnam-pro-vietnamese-500-normal.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-chu/be-vietnam-pro-vietnamese-600-normal.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: 700; font-display: swap;
  src: url("phong-chu/be-vietnam-pro-vietnamese-700-normal.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-chu/be-vietnam-pro-latin-400-normal.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-chu/be-vietnam-pro-latin-500-normal.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-chu/be-vietnam-pro-latin-600-normal.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: 700; font-display: swap;
  src: url("phong-chu/be-vietnam-pro-latin-700-normal.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 {
  /* Token 3.0 (palette thiết kế dự kiến – chưa phải mã màu thương hiệu chính thức) */
  --xb-navy: #102F46; --xb-blue: #176B93; --xb-gold: #E5AD43;
  --xb-yeu-thuong: #BE4033; --xb-ky-cuong: #12678C; --xb-trach-nhiem: #C45C08;
  --xb-trach-nhiem-chu: #A94F07; /* cam đậm cho CHỮ nhỏ trên nền sáng: #C45C08 trên trắng chỉ 4,3:1, chưa đạt WCAG AA */
  --xb-nen: #F4F7FA; --xb-be-mat: #FFFFFF; --xb-vien: #D6E1E9; --xb-chu: #102F46; --xb-chu-phu: #4F6577;
  /* Kích thước chuẩn */
  --xb-bo-goc: 12px; --xb-bo-goc-nho: 8px; --xb-nut-cao: 44px; --xb-khoang: 20px; --xb-dem-the: 22px; --xb-icon: 22px;
  --xb-rong-trang: 1280px; --xb-rong-van-hoa: 1180px;
  --xb-chu-tieu-de-trang: clamp(1.6rem, 1.2rem + 1.2vw, 2rem);   /* 26–32px */
  --xb-chu-muc: clamp(1.2rem, 1.1rem + .4vw, 1.375rem);           /* 19–22px */
  --xb-chu-the: 1.0625rem;                                         /* 17px */
  --xb-chu-phu-de: .875rem;                                        /* 14px */
  /* Biến cũ trỏ sang token mới */
  --mau-chinh: var(--xb-blue); --mau-chinh-dam: var(--xb-navy); --mau-bien: var(--xb-ky-cuong); --mau-vang: var(--xb-gold);
  --mau-nen: var(--xb-nen); --mau-the: var(--xb-be-mat); --mau-chu: var(--xb-chu); --mau-chu-phu: var(--xb-chu-phu);
  --mau-vien: var(--xb-vien); --bo-goc: var(--xb-bo-goc); --rong-noi-dung: var(--xb-rong-trang);
}
body { font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15.5px; line-height: 1.6; }
@media (min-width: 1024px) { body { font-size: 16px; } }
h1 { font-size: var(--xb-chu-tieu-de-trang); line-height: 1.25; font-weight: 700; }
h2 { font-size: var(--xb-chu-muc); line-height: 1.3; font-weight: 700; }
h3 { font-size: var(--xb-chu-the); line-height: 1.35; font-weight: 600; }
small, .goi-y { font-size: var(--xb-chu-phu-de); line-height: 1.5; }

/* Khung trang: nội dung tối đa 1280px, thanh trên cùng trải toàn chiều rộng */
.noi-dung { max-width: var(--xb-rong-trang); padding-left: max(1rem, 16px); padding-right: max(1rem, 16px); }
.dau-trang { padding-left: max(1rem, calc((100% - 1760px) / 2)); padding-right: max(1rem, calc((100% - 1760px) / 2)); }
@media (min-width: 1024px) {
  /* Máy tính: menu MỘT hàng, không xuống dòng. Khi số tab không đủ chỗ (vd. quản trị 8–10 tab ở 1366–1600px),
     đoạn JS của lõi (core/lib/giao-dien.js) thêm lớp .thu-menu → chuyển sang nút "Menu".
     Thanh của module tự vẽ (chưa có nút Menu) thì hàng tab cuộn ngang, không xuống dòng. */
  .dau-trang { flex-wrap: nowrap; }
  .cac-tab { flex-wrap: nowrap; overflow-x: auto; }
  .dau-trang:has(.mo-menu):not(.thu-menu) .cac-tab { overflow: visible; }
  .khu-nguoi-dung { flex: none; flex-wrap: nowrap; }
  .tab { padding: .45rem .5rem; font-size: .875rem; }
  .dau-trang { column-gap: .75rem; }
}
@media (max-width: 1023px) {
  .nut-menu { display: inline-flex; align-items: center; min-height: 40px; margin-left: auto; }
  .dau-trang { flex-wrap: wrap; }
  .dau-trang:has(.mo-menu) .cac-tab { display: none; order: 3; flex-basis: 100%; flex-direction: column; padding: .3rem 0 .5rem; }
  .mo-menu:checked ~ .cac-tab { display: flex !important; }
  .dau-trang:has(.mo-menu) .khu-nguoi-dung { order: 4; flex-basis: 100%; justify-content: space-between; padding-bottom: .3rem; }
  .tab { font-size: .95rem; padding: .55rem .75rem; }
  .tab-chon::after { left: 0; right: auto; top: .4rem; bottom: .4rem; width: 3px; height: auto; }
}
.dau-trang.thu-menu .tab-chon::after { left: 0; right: auto; top: .4rem; bottom: .4rem; width: 3px; height: auto; }

/* Nút: cao 40–44px, đủ trạng thái hover / focus / active / disabled / đang tải */
button, .nut { min-height: var(--xb-nut-cao); padding: .55rem 1.1rem; border-radius: var(--xb-bo-goc-nho); font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; transition: background-color .15s, box-shadow .15s, filter .15s; }
button:hover, .nut:hover { filter: brightness(.9); }
button.phu:hover, .nut.phu:hover { filter: none; background: #EAF3F8; }
button:active, .nut:active { transform: translateY(1px); }
button:disabled, .nut[aria-disabled="true"], .nut.tat { opacity: .5; cursor: not-allowed; pointer-events: none; }
button[aria-busy="true"], .nut.dang-tai { position: relative; color: transparent !important; pointer-events: none; }
button[aria-busy="true"]::after, .nut.dang-tai::after { content: ""; position: absolute; width: 1.1em; height: 1.1em; border-radius: 50%;
  border: 2px solid #fff; border-right-color: transparent; animation: xb-quay .7s linear infinite; }
.nut.phu.dang-tai::after { border-color: var(--xb-blue); border-right-color: transparent; }
@keyframes xb-quay { to { transform: rotate(360deg); } }
.nut-dong button, .dau-trang button { min-height: 32px; }
input, select { min-height: var(--xb-nut-cao); }
input:focus, select:focus, textarea:focus { border-color: var(--xb-blue); box-shadow: 0 0 0 3px rgba(23, 107, 147, .18); outline: none; }
input:disabled, select:disabled, textarea:disabled { background: #EEF2F5; color: var(--xb-chu-phu); cursor: not-allowed; }
a:focus-visible, button:focus-visible, .nut:focus-visible, summary:focus-visible, .the-module:focus-visible, .the-tin:focus-visible {
  outline: 3px solid var(--xb-gold); outline-offset: 2px; }

/* Thẻ: bo góc 12px, đệm 20–24px, khoảng cách lưới 16–20px */
.the-module, .hop, .bieu-mau, .xem-ho-so, .the-thong-tin { border-radius: var(--xb-bo-goc); }
.hop, .the-thong-tin { padding: var(--xb-dem-the); }
.bieu-mau { padding: var(--xb-dem-the); }
.luoi-module, .luoi-tin, .hai-cot { gap: var(--xb-khoang); }

/* Truy cập nhanh: lưới 4 cột trên desktop, 3 cột tablet ngang, 2 cột tablet dọc, 1 cột điện thoại */
.luoi-module { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .luoi-module { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .luoi-module { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .luoi-module { grid-template-columns: 1fr; } }
.the-module { display: flex; flex-direction: column; gap: .3rem; padding: var(--xb-dem-the); min-height: 108px; font-size: var(--xb-chu-the); font-weight: 600;
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.the-module span, .the-module span.phu { margin-top: 0; font-size: var(--xb-chu-phu-de); font-weight: 400; line-height: 1.45; }
.the-module:hover { transform: translateY(-2px); border-color: var(--xb-blue); box-shadow: 0 6px 18px rgba(16, 47, 70, .12); }
.the-module svg, .the-module .icon { width: var(--xb-icon); height: var(--xb-icon); color: var(--xb-blue); flex: none; }

/* Tin tức: thẻ nhiều cột, ảnh 16:9; chỉ 1 tin → thẻ ngang, không để khoảng trống */
.luoi-tin { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.the-tin { border-radius: var(--xb-bo-goc); transition: border-color .15s, box-shadow .15s, transform .15s; }
.the-tin:hover { transform: translateY(-2px); border-color: var(--xb-blue); box-shadow: 0 6px 18px rgba(16, 47, 70, .12); }
.the-tin-chu { padding: 16px 20px 20px; display: grid; gap: .3rem; }
.the-tin-chu strong { font-size: var(--xb-chu-the); line-height: 1.4; margin: 0; }
.the-tin-chu p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.the-tin .anh-trong { display: grid; place-items: center; aspect-ratio: 16 / 9; color: var(--xb-blue);
  background: linear-gradient(135deg, #E3EEF5, #F4F7FA); font-size: 2rem; }
.luoi-tin:has(> .the-tin:only-child) { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .luoi-tin > .the-tin:only-child { flex-direction: row; }
  .luoi-tin > .the-tin:only-child > img, .luoi-tin > .the-tin:only-child > .khung-anh, .luoi-tin > .the-tin:only-child > .anh-trong { width: 48%; flex: none; }
  .luoi-tin > .the-tin:only-child .the-tin-chu { align-content: center; padding: 24px 28px; }
  .luoi-tin > .the-tin:only-child strong { font-size: var(--xb-chu-muc); }
}

/* Màu ba giá trị cốt lõi – dùng cho thẻ/nhãn: <... class="gia-tri gia-tri-yeu-thuong|gia-tri-ky-cuong|gia-tri-trach-nhiem"> */
.gia-tri-yeu-thuong { --mau-gia-tri: var(--xb-yeu-thuong); }
.gia-tri-ky-cuong { --mau-gia-tri: var(--xb-ky-cuong); }
.gia-tri-trach-nhiem { --mau-gia-tri: var(--xb-trach-nhiem); --mau-gia-tri-chu: var(--xb-trach-nhiem-chu); }
.gia-tri { border-top: 4px solid var(--mau-gia-tri, var(--xb-blue)); }
.gia-tri .ten-gia-tri { color: var(--mau-gia-tri-chu, var(--mau-gia-tri, var(--xb-blue))); }

/* Không tràn ngang trên điện thoại */
img, video, iframe { max-width: 100%; height: auto; }
@media (max-width: 640px) { .noi-dung { padding: 1rem 16px 1.5rem; } }


/* =====================================================================
   THƯƠNG HIỆU – XB-WEB BRAND INTEGRATION V1.0 (người giao việc, 12/11/2026; docs/THUONG-HIEU.md)
   Logo chính thức trong /giao-dien/thuong-hieu/ (KHÔNG sửa logo).
   THỨ BẬC TÊN (góp ý 12/11): VIETSOVPETRO → XÍ NGHIỆP XLKS & SC → XƯỞNG BIỂN. Xưởng Biển là chủ thể, chữ to, đậm nhất,
   nằm DƯỚI hai cấp trên (chữ nhỏ). Khẩu hiệu YÊU THƯƠNG – KỶ CƯƠNG – TRÁCH NHIỆM tách riêng, không viết liền với tên đơn vị.
   ===================================================================== */

/* ---- Header: logo tròn | dòng nhỏ "VIETSOVPETRO · XN XLKS & SC" / dòng chính "XƯỞNG BIỂN" ----
   Trang đang có <a class="logo" href="/">Xưởng Biển</a> tự hiện đúng thứ bậc (không cần sửa mã).
   Markup đầy đủ (khuyên dùng, có alt): xem docs/THUONG-HIEU.md mục 3. */
.logo { display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: center;
  column-gap: .6rem; row-gap: 4px; line-height: 1.15; text-transform: uppercase; font-weight: 700; font-size: 1.1rem; letter-spacing: .04em;
  color: #fff !important; text-decoration: none; white-space: nowrap; flex: none; }
.logo::before { content: ""; grid-column: 1; grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 50%;
  -webkit-mask: none; mask: none; background-color: transparent;
  background-image: url("thuong-hieu/xb-logo-circle-512.png");
  background-image: image-set(url("thuong-hieu/xb-logo-circle-128.webp") type("image/webp"), url("thuong-hieu/xb-logo-circle-512.png") type("image/png"));
  background-size: contain; background-position: center; background-repeat: no-repeat; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.logo::after { content: "Vietsovpetro · XN XLKS & SC"; grid-column: 2; grid-row: 1; align-self: end;
  font-size: .62rem; font-weight: 500; letter-spacing: .1em; color: #c9d8e4; }
.logo.thuong-hieu::before, .logo.thuong-hieu::after { content: none; }
.logo.thuong-hieu .logo-tron { grid-column: 1; grid-row: 1 / 3; width: 46px; height: 46px; object-fit: contain; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.logo.thuong-hieu .ten-cap-tren { grid-column: 2; grid-row: 1; align-self: end; font-size: .62rem; font-weight: 500; letter-spacing: .1em; color: #c9d8e4; }
.logo.thuong-hieu .ten-chinh { grid-column: 2; grid-row: 2; align-self: start; }
.dau-trang { padding-top: .4rem; padding-bottom: .4rem; }
@media (max-width: 640px) {
  .logo { font-size: 1rem; column-gap: .5rem; }
  .logo::before, .logo.thuong-hieu .logo-tron { width: 40px; height: 40px; }
  .logo::after, .logo.thuong-hieu .ten-cap-tren { font-size: .56rem; letter-spacing: .06em; }
}

/* ---- Chân trang – NAVY hàng hải (người giao việc 12/11/2026, xem docs/THUONG-HIEU.md mục 3) ----
   Nền #102F46 (đồng bộ header) · mỏ neo vàng nhỏ căn giữa · dòng 1 vàng kim #E5AD43 đậm · dòng 2 trắng đậm ·
   vạch mảnh · "© Xưởng Biển · xuongbien.com.vn" màu #D6E1E9. Cao ~120–150px. Không logo, không khối tên đơn vị.
     ⚓
     CHUNG MỘT MÁI NHÀ – CHUNG MỘT HÀNH TRÌNH        (vàng kim)
     CÙNG CHIA SẺ TRÁCH NHIỆM – CÙNG TRỞ VỀ BÌNH AN   (trắng)
     ───────────
     © Xưởng Biển · xuongbien.com.vn                      (#D6E1E9)
   Áp cho mọi markup đang có: footer cũ chỉ có dòng "©…" (CSS tự thêm 2 dòng), .chan-trang-thuong-hieu (khối logo/tên/3 giá trị bị ẩn),
   footer lõi có <p class="ct-loi"> (2 dòng ngăn bằng <br>). Lớp .chan-trang-chu-rieng: chỉ dòng "©" (trang Văn hoá). */
.chan-trang { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center;
  margin-top: 2rem; padding: 1.15rem 1rem 1.1rem; border-top: 3px solid var(--xb-gold); background: var(--xb-navy);
  color: #D6E1E9; font-size: .78rem; min-height: 120px; justify-content: center; }
.chan-trang a { color: #D6E1E9; }
.chan-trang a:hover { color: #fff; }
.chan-trang-thuong-hieu .ct-don-vi, .chan-trang-thuong-hieu .ct-khau-hieu { display: none; }
.chan-trang-thuong-hieu .ct-ban-quyen { margin: 0; font-size: .78rem; color: #D6E1E9; }
/* Dòng khẩu hiệu dùng chung kiểu chữ */
.chan-trang:not(.chan-trang-chu-rieng):not(:has(.ct-loi)):not(:has(> div:not(.ct-don-vi)))::before, .chan-trang:not(.chan-trang-chu-rieng):not(:has(.ct-loi)):not(:has(> div:not(.ct-don-vi)))::after, .chan-trang .ct-loi {
  font-size: clamp(.68rem, 2.7vw, .82rem); font-weight: 700; letter-spacing: clamp(0em, .4vw, .05em); line-height: 1.7; }
/* Dòng 1 (vàng kim) + mỏ neo phía trên */
.chan-trang:not(.chan-trang-chu-rieng):not(:has(.ct-loi)):not(:has(> div:not(.ct-don-vi)))::before { content: "CHUNG MỘT MÁI NHÀ – CHUNG MỘT HÀNH TRÌNH"; order: -2; color: var(--xb-gold);
  padding-top: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5AD43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v14M8 11h8M5 14a7 7 0 0 0 14 0'/%3E%3Cpath d='M5 14l-1.5 1.5M19 14l1.5 1.5'/%3E%3C/svg%3E") top center / 20px 20px no-repeat; }
/* Dòng 2 (trắng) + vạch mảnh phía dưới, ngăn với dòng bản quyền */
.chan-trang:not(.chan-trang-chu-rieng):not(:has(.ct-loi)):not(:has(> div:not(.ct-don-vi)))::after { content: "CÙNG CHIA SẺ TRÁCH NHIỆM – CÙNG TRỞ VỀ BÌNH AN"; order: -1; color: #fff;
  padding-bottom: .6rem; margin-bottom: .55rem; border-bottom: 1px solid rgba(214, 225, 233, .28); min-width: min(100%, 300px); }
/* Footer lõi: <p class="ct-loi">dòng 1<br>dòng 2</p> */
.chan-trang .ct-loi { margin: 0 0 .55rem; padding: 26px 0 .6rem; color: #fff; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5AD43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v14M8 11h8M5 14a7 7 0 0 0 14 0'/%3E%3Cpath d='M5 14l-1.5 1.5M19 14l1.5 1.5'/%3E%3C/svg%3E") top center / 20px 20px no-repeat;
  border-bottom: 1px solid rgba(214, 225, 233, .28); }
.chan-trang .ct-loi::first-line { color: var(--xb-gold); }
/* Footer chỉ có dòng © (trang Văn hoá – khẩu hiệu đã ở khối Con tàu) */
.chan-trang.chan-trang-chu-rieng { min-height: 0; }
.chan-trang.chan-trang-chu-rieng::before { content: ""; width: 20px; height: 20px; margin-bottom: .45rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5AD43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v14M8 11h8M5 14a7 7 0 0 0 14 0'/%3E%3Cpath d='M5 14l-1.5 1.5M19 14l1.5 1.5'/%3E%3C/svg%3E") center / 20px 20px no-repeat; }
@media (max-width: 640px) { .chan-trang { padding: 1rem .75rem; } }

/* Logo dùng trong trang (Văn hoá, giới thiệu, đăng nhập): giữ tỷ lệ, không cắt, không kéo giãn */
.logo-oval { display: block; width: min(100%, 420px); height: auto; aspect-ratio: 1200 / 749; object-fit: contain; margin: 0 auto; }
.logo-tron-lon { display: block; width: clamp(88px, 22vw, 128px); height: auto; aspect-ratio: 1; object-fit: contain; margin: 0 auto; }

/* Khi IN: bỏ thanh trên cùng, chân trang thương hiệu, đường dẫn, nút về trang chính – mẫu in giữ đúng mẫu gốc */
@media print {
  .dau-trang, .chan-trang, .bang-nhac, .duong-dan, .ve-trang-chinh, .nut-menu, .mo-menu { display: none !important; }
  body { background: #fff; }
}
