/* Bảng màu theo nhận diện Pinbus (12/11/2026): Lightning Green #D5E72F làm điểm nhấn (nút chính, mục đang mở), đầu trang đen,
   nền trắng ngà và chữ than chì cho dịu mắt. --nhan là màu CHỮ nhấn (liên kết, nút phụ) nên phải đủ đậm trên nền sáng;
   --chanh là màu NỀN nhấn, chữ trên nó luôn là --chanh-chu. Không dùng --chanh làm màu chữ trên nền sáng (không đọc được). */
@font-face { font-family: "Lexend"; src: url("/static/phong/Lexend-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("/static/phong/Lexend-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("/static/phong/Lexend-600.ttf") format("truetype"); font-weight: 600 650; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("/static/phong/Lexend-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root {
  --nen: #f5f6f1; --nen-2: #eaece3; --mat: #ffffff; --chu: #1f221b; --chu-mo: #5e6457; --vien: #dcdfd3;
  --nhan: #46520a; --nhan-chu: #ffffff; --loi: #a8281f; --loi-nen: #fbebe8; --tot: #1d6a3c; --tot-nen: #e7f3e9; --canh: #7a5200;
  --chanh: #d5e72f; --chanh-dam: #b4c51c; --chanh-nhat: #f2f7c9; --chanh-chu: #1a1d0b; --dau: #0d0e0b; --dau-chu: #f4f5ee;
}
@media (prefers-color-scheme: dark) {
  :root {
    --nen: #121310; --nen-2: #23251f; --mat: #1a1c17; --chu: #e9ebe3; --chu-mo: #a0a696; --vien: #30332a;
    --nhan: #d5e72f; --nhan-chu: #14160a; --loi: #ffb4ab; --loi-nen: #3a1512; --tot: #8fd6a8; --tot-nen: #12301f; --canh: #f2c96b;
    --chanh-nhat: #2c3210; --dau: #0a0b08;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--nen); color: var(--chu); font: 16px/1.55 "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--nhan); }
h1 { font-size: 1.6rem; margin: 0 0 .25rem; text-wrap: balance; }
h2 { font-size: 1.1rem; margin: 2rem 0 .75rem; }
.mo { color: var(--chu-mo); }
small { color: var(--chu-mo); font-weight: 400; }

.dau-trang { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: .75rem 1rem; background: var(--mat); border-bottom: 1px solid var(--vien); }
.dau-trang nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.dau-trang form { margin: 0; }
.ten-he-thong { font-weight: 700; color: var(--chu); text-decoration: none; }
.nguoi-dung { color: var(--chu-mo); }

main { max-width: 60rem; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
main.hep { max-width: 26rem; }
main.rong { max-width: none; padding: 0; }

.luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.o { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem; min-height: 7rem; background: var(--mat);
  border: 1px solid var(--vien); border-radius: 12px; color: var(--chu); text-decoration: none; }
a.o:hover, a.o:focus-visible { border-color: var(--nhan); outline: 2px solid var(--nhan); outline-offset: 1px; }
.o-ten { font-weight: 650; font-size: 1.05rem; }
.o-mo-ta { color: var(--chu-mo); font-size: .92rem; }
.o.chua { opacity: .65; }
.nhan { align-self: flex-start; margin-top: auto; padding: .1rem .5rem; border: 1px solid var(--vien); border-radius: 99px; font-size: .78rem; color: var(--chu-mo); }

.the { display: grid; gap: 1rem; padding: 1.25rem; margin-top: 1.25rem; background: var(--mat); border: 1px solid var(--vien); border-radius: 12px; }
.the h2 { margin: 0; }
.hang { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: end; }
label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
label.tich { display: flex; align-items: center; gap: .45rem; font-weight: 500; padding-bottom: .55rem; }
input:not([type=checkbox]), select, textarea { width: 100%; padding: .55rem .7rem; font: inherit; color: var(--chu);
  background: var(--nen); border: 1px solid var(--vien); border-radius: 8px; }
textarea { font-family: inherit; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 2px solid var(--nhan); outline-offset: 1px; }

.nut { justify-self: start; padding: .6rem 1.1rem; font: inherit; font-weight: 600; color: var(--nhan-chu);
  background: var(--nhan); border: 1px solid var(--nhan); border-radius: 8px; cursor: pointer; }
.nut.phu { background: transparent; color: var(--nhan); }
.nut-chu { padding: 0; font: inherit; color: var(--nhan); background: none; border: 0; cursor: pointer; text-decoration: underline; }

.bao { margin: 1rem 0 0; padding: .7rem .9rem; border-radius: 8px; }
.bao.loi { color: var(--loi); background: var(--loi-nen); }
.bao.tot { color: var(--tot); background: var(--tot-nen); }

.khung-tool { display: block; width: 100%; height: calc(100vh - 3.4rem); border: 0; background: var(--nen); }
.giu-lai { color: var(--canh); }

/* thoa-thuan: form nhiều ô, dòng điểm đặt / thiết bị thêm bớt được, bảng kiểm lại sau khi xuất */
.tt-hang > label { flex: 1 1 11rem; }
.tt-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem 1.25rem; align-items: start; }
.tt-ca-hang { grid-column: 1 / -1; }
.tt-bang { display: grid; gap: .75rem; }
.tt-dong { display: grid; gap: .6rem .75rem; align-items: end; padding: .85rem; border: 1px solid var(--vien); border-radius: 10px; }
.tt-dong.tt-ttht { grid-template-columns: minmax(10rem, 1fr) 6rem 7.5rem; }
.tt-dong.tt-hdmb { grid-template-columns: minmax(11rem, 3fr) 4.5rem 5.5rem minmax(9rem, 1.5fr); }
.tt-dong.tt-ttht > label:first-child, .tt-dong > .tt-khac, .tt-dong.tt-hdmb > .tt-xoa { grid-column: 1 / -1; }
.tt-dong.tt-ttht > label:last-of-type { grid-column: 1 / -2; }
.tt-dong .tt-xoa { justify-self: end; padding-bottom: .6rem; }
.tt-form [hidden], .tt-dang-chay { display: none; }
.tt-dang-chay.htmx-request { display: inline; }
.tt-ds { margin: .35rem 0 0; padding-left: 1.2rem; }
.tt-cuon { overflow-x: auto; }
.tt-kq { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tt-kq th, .tt-kq td { padding: .4rem .55rem; border: 1px solid var(--vien); text-align: left; vertical-align: top; }
.tt-kq th { color: var(--chu-mo); font-weight: 600; }
.tt-kq .tt-so { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 40rem) {
  .tt-dong.tt-ttht, .tt-dong.tt-hdmb { grid-template-columns: 1fr 1fr; }
}

/* ---------- Công cụ AI: hàng đợi, kết quả ---------- */
.bao.cho { color: var(--chu); background: var(--nen-2, #eceff3); border: 1px solid var(--vien); }
fieldset.nhom { display: grid; gap: .9rem; margin: 0; padding: 1rem; border: 1px solid var(--vien); border-radius: 10px; }
fieldset.nhom legend { padding: 0 .4rem; font-weight: 650; font-size: .95rem; }
.van-ban { margin: 0; padding: 1rem; overflow-x: auto; white-space: pre-wrap; word-break: break-word; font: .9rem/1.55 ui-monospace, Menlo, Consolas, monospace; background: var(--nen); border: 1px solid var(--vien); border-radius: 8px; }
.ds-tep, .ds-viec { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.ds-viec li { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; padding: .6rem .8rem; background: var(--mat); border: 1px solid var(--vien); border-radius: 8px; }
.ds-viec .nhan { margin: 0 0 0 auto; align-self: center; }
.nhan.xong { color: var(--tot); border-color: var(--tot); }
.nhan.loi { color: var(--loi); border-color: var(--loi); }
code { font: .88em ui-monospace, Menlo, Consolas, monospace; background: var(--nen); border: 1px solid var(--vien); border-radius: 4px; padding: 0 .3em; }

/* --- thu-vien (NS4 Biểu mẫu thư viện) --- */
.tv-ds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: .5rem; }
.tv-ds li { display: flex; gap: .5rem; align-items: center; justify-content: space-between; padding: .6rem .8rem; background: var(--mat); border: 1px solid var(--vien); border-radius: 8px; }
.tv-ds a { color: var(--chu); text-decoration: none; }
.tv-ds a:hover, .tv-ds a:focus-visible { color: var(--nhan); text-decoration: underline; }
.tv-ds .nhan { margin: 0; flex: none; }
.tv-ma { display: inline-block; min-width: 4.6rem; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--nhan); }
.tv-truong { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; align-items: start; }
.tv-rong { grid-column: 1 / -1; }
.tv-sao { color: var(--loi); }
fieldset.tv-bang, fieldset.tv-dinh-dang { margin: 0; padding: .75rem; border: 1px solid var(--vien); border-radius: 8px; min-width: 0; }
fieldset.tv-bang legend, fieldset.tv-dinh-dang legend { padding: 0 .35rem; font-weight: 600; font-size: .95rem; }
fieldset.tv-dinh-dang { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
fieldset.tv-dinh-dang label.tich { padding-bottom: 0; }
.tv-cuon { overflow-x: auto; margin-top: .4rem; }
.tv-bang table { width: 100%; min-width: 40rem; border-collapse: collapse; }
.tv-bang th { padding: .25rem .3rem; font-size: .82rem; font-weight: 600; text-align: left; color: var(--chu-mo); }
.tv-bang td { padding: .15rem; font-size: .9rem; }
.tv-bang td input { padding: .35rem .45rem; font-size: .9rem; }
.tv-tep { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.tv-tep li { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; }
.tv-tep a.nut { text-decoration: none; }
.htmx-indicator { opacity: 0; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; }

/* ---------- Tiến độ việc đang chạy ---------- */
.viec-gan-day { margin: 1rem 0 1.5rem; }
.viec-gan-day:empty { display: none; margin: 0; }
.viec-gan-day h2 { margin-top: 0; }
.ds-viec li.dang-chay { border-color: var(--nhan); }
.tien-do-dong { flex-basis: 100%; display: grid; gap: .35rem; font-size: .9rem; }
.chu-loi { color: var(--loi); }
.thanh-chay { position: relative; height: 6px; margin: .5rem 0; overflow: hidden; border-radius: 99px; background: var(--vien); }
.thanh-chay::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 35%; border-radius: 99px; background: var(--nhan); animation: thanh-chay 1.4s ease-in-out infinite; }
@keyframes thanh-chay { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
@media (prefers-reduced-motion: reduce) { .thanh-chay::before { animation: none; width: 100%; opacity: .5; } }

/* ---------- Xem nội dung dạng trình bày ---------- */
.dau-noi-dung { align-items: center; }
.dau-noi-dung h2 { margin-right: auto; }
.chuyen { display: inline-flex; border: 1px solid var(--vien); border-radius: 8px; overflow: hidden; }
.nut-chuyen { padding: .4rem .8rem; font: inherit; font-size: .9rem; color: var(--chu-mo); background: transparent; border: 0; cursor: pointer; }
.nut-chuyen[aria-pressed="true"] { color: var(--nhan-chu); background: var(--nhan); }
.md { min-width: 0; overflow-x: auto; line-height: 1.6; }
.md > :first-child { margin-top: 0; }
.md h1 { font-size: 1.35rem; margin: 1.2rem 0 .6rem; }
.md h2 { font-size: 1.15rem; margin: 1.4rem 0 .5rem; padding-bottom: .3rem; border-bottom: 1px solid var(--vien); }
.md h3, .md h4 { font-size: 1rem; margin: 1.1rem 0 .4rem; }
.md p, .md ul, .md ol { margin: .5rem 0; }
.md ul, .md ol { padding-left: 1.4rem; }
.md table { width: 100%; border-collapse: collapse; margin: .75rem 0; font-size: .93rem; }
.md th, .md td { padding: .5rem .65rem; border: 1px solid var(--vien); text-align: left; vertical-align: top; }
.md th { background: var(--nen); font-weight: 650; }
.md code { font-size: .88em; }
.md blockquote { margin: .75rem 0; padding: .1rem .9rem; border-left: 3px solid var(--vien); color: var(--chu-mo); }
.md hr { border: 0; border-top: 1px solid var(--vien); margin: 1.2rem 0; }

/* ---------- Chip chọn nhanh, danh sách file đã chọn ---------- */
.ds-chip { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; font-weight: 500; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { padding: .35rem .8rem; border: 1px solid var(--vien); border-radius: 99px; background: var(--mat); font-size: .92rem; }
.chip:hover span { border-color: var(--nhan); }
.chip input:checked + span { color: var(--nhan-chu); background: var(--nhan); border-color: var(--nhan); }
.chip input:focus-visible + span { outline: 2px solid var(--nhan); outline-offset: 2px; }
.them-nguoi label { flex: 1 1 10rem; }
.rong-ra { flex: 1 1 18rem; }
.sua-danh-ba summary { cursor: pointer; color: var(--nhan); font-size: .9rem; }
.sua-danh-ba li { display: flex; gap: .75rem; align-items: baseline; }
.ds-da-chon { margin: .35rem 0 0; padding: 0; list-style: none; display: grid; gap: .3rem; font-weight: 400; }
.ds-da-chon:empty { display: none; }
.ds-da-chon li { display: flex; align-items: center; gap: .6rem; padding: .3rem .3rem .3rem .7rem; border: 1px solid var(--vien); border-radius: 8px; background: var(--mat); font-size: .9rem; }
.ds-da-chon .ten-tep { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.nut-go { flex: none; width: 1.9rem; height: 1.9rem; padding: 0; font: inherit; font-size: 1.15rem; line-height: 1; color: var(--chu-mo); background: transparent; border: 1px solid transparent; border-radius: 6px; cursor: pointer; }
.nut-go:hover, .nut-go:focus-visible { color: var(--loi); border-color: var(--loi); outline: none; }

main.hep-vua { max-width: 40rem; }
a.nut { display: inline-block; text-decoration: none; }

/* ---------- Bộ chọn nhanh dạng nút ---------- */
.chip-nut { padding: .35rem .8rem; font: inherit; font-size: .92rem; color: var(--chu); background: var(--mat); border: 1px solid var(--vien); border-radius: 99px; cursor: pointer; }
.chip-nut:hover { border-color: var(--nhan); }
.chip-nut[aria-pressed="true"] { color: var(--nhan-chu); background: var(--nhan); border-color: var(--nhan); }
.chip-nut.nhap { border-style: dashed; }
.luoi-form { display: grid; gap: 1rem; }
.hang > .nut, .hang > .nut.phu { align-self: end; }

/* ---------- Trang Kết nối ---------- */
.bang-tt { border-collapse: collapse; }
.bang-tt th { padding: .2rem 1.2rem .2rem 0; text-align: left; font-weight: 500; color: var(--chu-mo); }
.bang-tt td { padding: .2rem 0; }
.huong-dan summary { cursor: pointer; color: var(--nhan); font-weight: 600; }
.huong-dan ol { margin: .75rem 0; padding-left: 1.4rem; display: grid; gap: .45rem; }

.o-sua { font: .9rem/1.55 ui-monospace, Menlo, Consolas, monospace; min-height: 24rem; }

/* ---------- Xem trước task MyXTeam ---------- */
.hai-cot { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (max-width: 76rem) { .hai-cot { grid-template-columns: 1fr; } }
.mx-xem-truoc { position: sticky; top: 1rem; display: grid; gap: .5rem; }
.nhan-nho { font-size: .82rem; }
.mx-the { padding: 1rem; background: var(--nen); border: 1px solid var(--vien); border-radius: 10px; display: grid; gap: .6rem; }
.mx-duong { font-size: .82rem; }
.mx-ten { margin: 0; font-size: 1.1rem; line-height: 1.35; overflow-wrap: anywhere; }
.mx-tt { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; font-size: .9rem; }
.mx-tt dt { color: var(--chu-mo); }
.mx-tt dd { margin: 0; }
.mx-nhan { margin-top: .4rem; font-size: .8rem; font-weight: 600; }
.mx-mo-ta { padding: .75rem; background: var(--mat); border: 1px solid var(--vien); border-radius: 8px; font-size: .92rem; }
.mx-mo-ta > :last-child { margin-bottom: 0; }
.mx-canh-bao { margin: 0; padding: .6rem .9rem .6rem 1.8rem; border-radius: 8px; color: var(--canh); background: var(--mat); border: 1px solid var(--vien); font-size: .9rem; }

fieldset.nhom.co-loi { border-color: var(--loi); }

/* Thư viện: hộp xem mẫu / xem trước */
.tv-ben-phai { display: flex; gap: .4rem; align-items: center; flex: none; }
.nut.nho { padding: .25rem .6rem; font-size: .85rem; }
.tv-hop-xem { width: min(60rem, 96vw); height: 92vh; padding: 1rem; color: var(--chu); background: var(--nen); border: 1px solid var(--vien); border-radius: 12px; }
.tv-hop-xem::backdrop { background: rgb(0 0 0 / .5); }
.tv-hop-xem[open] { display: flex; flex-direction: column; gap: .6rem; }
#hop-xem-than { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .4rem; }
#hop-xem-than p { margin: 0; }
.tv-khung-xem { flex: 1; width: 100%; min-height: 20rem; border: 1px solid var(--vien); border-radius: 8px; background: #fff; }
.tv-tinh-ngay:empty { display: none; }

/* Đề xuất hợp tác: ô ảnh bìa ẩn/hiện theo lựa chọn (label là display:grid nên phải ép) */
#dx-form [hidden] { display: none; }

/* Giao diện gọn (11/11/2026): gợi ý dưới ô nhập chỉ hiện khi đang đứng ở ô đó. Trạng thái và cảnh báo thì luôn hiện. */
label > small { display: none; }
label:focus-within > small, label > small.luon-hien, label > small.giu-lai:not([hidden]), label > small.tv-tinh-ngay, label > small:has(.chu-loi) { display: block; }
.luoi-form.nho { gap: .4rem; }
#dx-dang-doc { display: none; }
#dx-dang-doc.htmx-request { display: block; }

/* ---------- Kế toán (12/11/2026) ---------- */
main.kt-rong { max-width: 78rem; }
.kt-bang td { vertical-align: top; }
.kt-bang tr.kt-ngung td { color: var(--chu-mo); }
.kt-bang .kt-nut { white-space: nowrap; }
.kt-bang .kt-nut form { display: inline; }
.kt-bang .nhan { display: inline-block; margin: 0 0 0 .35rem; }

/* BBĐS: chọn nhiều đối tác, email từng đối tác, khối MyXTeam nhiều task */
.truong { display: grid; gap: .35rem; }
.truong > .truong-nhan { font-weight: 600; font-size: .95rem; }
#bbds-form [hidden] { display: none !important; }
.chon-nhieu { position: relative; }
.chon-nhieu > summary { list-style: none; cursor: pointer; padding: .55rem 2rem .55rem .75rem; background: var(--mat); border: 1px solid var(--vien); border-radius: 8px; position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chon-nhieu > summary::-webkit-details-marker { display: none; }
.chon-nhieu > summary::after { content: "▾"; position: absolute; right: .75rem; top: 50%; translate: 0 -50%; color: var(--chu-mo); }
.chon-nhieu > summary:focus-visible { outline: 2px solid var(--nhan); outline-offset: 2px; }
.chon-nhieu[open] > summary { border-color: var(--nhan); }
.chon-nhieu-ds { position: absolute; z-index: 5; left: 0; right: 0; margin-top: .25rem; max-height: 22rem; overflow: auto; display: grid; padding: .4rem; background: var(--mat); border: 1px solid var(--vien); border-radius: 10px; box-shadow: 0 8px 24px rgb(0 0 0 / .14); }
.chon-nhieu-ds label.tich { padding: .35rem .5rem; border-radius: 6px; flex-wrap: wrap; }
.chon-nhieu-ds label.tich:hover { background: var(--nen-2); }
.chon-nhieu-ds .dong-tat-ca { border-bottom: 1px solid var(--vien); border-radius: 6px 6px 0 0; margin-bottom: .25rem; }
.bbds-email-ds { display: grid; gap: .7rem; }
.bbds-da-tao { margin: 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.bbds-da-tao li { padding: .5rem .75rem; background: var(--nen); border: 1px solid var(--vien); border-radius: 8px; font-size: .93rem; overflow-wrap: anywhere; }
.bbds-nhieu-the { display: grid; gap: .75rem; }

input[type=radio] { width: auto; padding: 0; }
main.kt-het { max-width: none; padding-inline: 1.25rem; }
.kt-hai-ben { display: grid; grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 85rem) { .kt-hai-ben { grid-template-columns: 1fr; } }
.kt-anh { position: sticky; top: 1rem; display: grid; gap: .6rem; max-height: calc(100vh - 2rem); overflow-y: auto; margin-top: 1.25rem; }
@media (max-width: 85rem) { .kt-anh { position: static; max-height: 30rem; max-width: 30rem; } }
.kt-anh img { display: block; width: 100%; border: 1px solid var(--vien); border-radius: 8px; }
.kt-anh iframe { width: 100%; height: 34rem; border: 1px solid var(--vien); border-radius: 8px; background: #fff; }
.kt-may-doc { display: grid; gap: .5rem; padding: .8rem 1rem; background: var(--nen); border: 1px solid var(--vien); border-radius: 8px; font-size: .93rem; }
.kt-may-doc p { margin: 0; }
.kt-may-doc summary { cursor: pointer; color: var(--nhan); }
.kt-xuong-dong { white-space: pre-wrap; }
.kt-dong { min-width: 62rem; table-layout: fixed; }
.kt-dong th, .kt-dong td { padding: .2rem .2rem; }
.kt-dong td input, .kt-dong td select { padding: .3rem .35rem; border-radius: 6px; font-size: .88rem; }
.kt-dong td small { display: block; margin-top: .15rem; font-size: .76rem; color: var(--chu-mo); font-weight: 400; overflow-wrap: anywhere; }
.kt-dong td small[hidden] { display: none; }
.kt-dong th:nth-child(1) { width: 1.6rem; } .kt-dong th:nth-child(2) { width: 17%; } .kt-dong th:nth-child(3) { width: 10%; }
.kt-dong th:nth-child(4) { width: 15%; } .kt-dong th:nth-child(5) { width: 11%; } .kt-dong th:nth-child(6) { width: 7%; }
.kt-dong th:nth-child(7) { width: 7%; } .kt-dong th:nth-child(8) { width: 9%; } .kt-dong th:nth-child(9) { width: 10%; }
.kt-dong th:nth-child(10) { width: 5%; } .kt-dong th:nth-child(11) { width: 9%; } .kt-dong th:nth-child(12) { width: 2.2rem; }
.kt-dong tfoot td { border: 0; }
input.kt-so { text-align: right; font-variant-numeric: tabular-nums; }
input.kt-thieu, select.kt-thieu { border-color: var(--loi); box-shadow: 0 0 0 1px var(--loi) inset; }
section.bao ul { margin: .4rem 0 0; padding-left: 1.2rem; display: grid; gap: .25rem; }
.kt-dn { min-width: 60rem; }
.kt-dn th:nth-child(2) { width: 28%; } .kt-dn th:nth-child(3) { width: 7%; } .kt-dn th:nth-child(4) { width: 9%; }
.kt-dn th:nth-child(5) { width: 11%; } .kt-dn th:nth-child(6) { width: 10%; } .kt-dn th:nth-child(7) { width: 9%; }
.kt-dn th:nth-child(8) { width: 11%; } .kt-dn th:nth-child(9) { width: 13%; } .kt-dn th:nth-child(10) { width: 2.2rem; } .kt-dn th:nth-child(11), .kt-dn th:nth-child(12) { width: auto; }
.kt-to-in { display: block; width: 100%; max-width: 230mm; height: 300mm; margin-top: .5rem; border: 1px solid var(--vien); border-radius: 8px; background: #fff; }

/* Tiến độ theo phần trăm và bảng nổi "Tác vụ đang chạy" (mọi trang) */
.thanh-pt { height: 6px; margin: .5rem 0; overflow: hidden; border-radius: 99px; background: var(--vien); flex: 1; }
.thanh-pt > span { display: block; height: 100%; border-radius: 99px; background: var(--nhan); transition: width .6s ease; }
.thanh-pt.xong > span { background: var(--tot); }
@media (prefers-reduced-motion: reduce) { .thanh-pt > span { transition: none; } }
.viec-noi { position: fixed; right: 1rem; bottom: 1rem; z-index: 20; width: min(21rem, calc(100vw - 2rem)); max-height: 60vh; overflow: auto; padding: .8rem .9rem; background: var(--mat); border: 1px solid var(--vien); border-radius: 12px; box-shadow: 0 10px 30px rgb(0 0 0 / .18); }
.viec-noi[hidden] { display: none; }
.viec-noi-dau { font-weight: 650; font-size: .9rem; margin-bottom: .5rem; }
.viec-noi ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.viec-noi li { display: grid; gap: .1rem; font-size: .9rem; }
.viec-noi li + li { padding-top: .7rem; border-top: 1px solid var(--vien); }
.viec-noi a { font-weight: 600; overflow-wrap: anywhere; }
.viec-noi-dong { display: flex; align-items: center; gap: .6rem; }
.viec-noi-dong strong { font-variant-numeric: tabular-nums; min-width: 2.6rem; text-align: right; }
.viec-noi .chu-tot { color: var(--tot); }
.chon-nhieu-tim { position: sticky; top: -.4rem; z-index: 1; padding: .4rem 0; margin-top: -.4rem; background: var(--mat); }
.chon-nhieu-ds [hidden] { display: none !important; }
/* Vùng kéo thả / dán file (tep.js) và ô chọn có tìm (chon-tim.js) — 12/11/2026 */
label.vung-tha { padding: 1rem; border: 2px dashed var(--vien); border-radius: 10px; cursor: pointer; }
label.vung-tha:hover, .dang-tha { border-color: var(--nhan); }
.dang-tha { outline: 2px solid var(--nhan); outline-offset: 2px; background: var(--nen); }
.vung-tha-loi { font-weight: 400; color: var(--chu-mo); }
.chon-tim { position: relative; }
.chon-tim-ds { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 2px); max-height: 18rem; overflow-y: auto; margin: 0; padding: .25rem;
  list-style: none; font-weight: 400; background: var(--mat); border: 1px solid var(--vien); border-radius: 8px; box-shadow: 0 6px 18px rgb(0 0 0 / .18); }
.chon-tim-ds[hidden] { display: none; }
.chon-tim-ds li { padding: .4rem .6rem; border-radius: 6px; cursor: pointer; }
.chon-tim-ds li:hover, .chon-tim-ds li[aria-selected="true"] { color: var(--nhan-chu); background: var(--nhan); }
.chon-tim-ds li.chon-tim-rong { color: var(--chu-mo); cursor: default; background: none; }

/* ---------- Khung có menu trái, hộp xác nhận, khu quản trị (12/11/2026) ---------- */
.bo-qua { position: absolute; left: -999rem; }
.bo-qua:focus { left: .5rem; top: .5rem; z-index: 50; padding: .4rem .7rem; background: var(--mat); border-radius: 6px; }
.dau-trang { position: sticky; top: 0; z-index: 15; min-height: 3.4rem; }
.dau-trai { display: flex; align-items: center; gap: .75rem; }
.the-vai-tro { display: inline-block; margin: 0 0 0 .3rem; }
.nut-menu { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 2.4rem; height: 2.4rem; padding: 0 .55rem; background: none; border: 1px solid var(--vien); border-radius: 8px; cursor: pointer; }
.nut-menu span { display: block; height: 2px; background: var(--chu); border-radius: 2px; }
.bo-cuc { display: block; }
.co-menu .bo-cuc { display: grid; grid-template-columns: 16rem minmax(0, 1fr); align-items: start; }
.menu-ben { position: sticky; top: 3.4rem; height: calc(100vh - 3.4rem); overflow-y: auto; padding: 1rem .75rem 2rem; background: var(--mat); border-right: 1px solid var(--vien); }
.menu-nhom + .menu-nhom { margin-top: 1.1rem; }
.menu-ten-nhom { display: block; padding: .2rem .6rem; font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--chu-mo); text-decoration: none; }
a.menu-ten-nhom:hover, a.menu-ten-nhom.dang-mo { color: var(--nhan); }
.menu-ben ul { margin: .2rem 0 0; padding: 0; list-style: none; display: grid; gap: 1px; }
.menu-muc { display: block; padding: .42rem .6rem; border-radius: 8px; color: var(--chu); text-decoration: none; font-size: .94rem; line-height: 1.35; }
a.menu-muc:hover { background: var(--nen-2); }
.menu-muc.dang-mo { background: var(--nhan); color: var(--nhan-chu); font-weight: 600; }
.menu-muc.khoa { color: var(--chu-mo); opacity: .7; }
.menu-muc.khoa::after { content: " · sắp có"; font-size: .78rem; }
@media (max-width: 62rem) {
  .nut-menu { display: flex; }
  .dau-trang { flex-wrap: nowrap; }
  .dau-trang .nguoi-dung { display: none; }  /* đầu trang một dòng để menu mở ra không bị che */
  .co-menu .bo-cuc { display: block; }
  .menu-ben { display: none; position: fixed; inset: 3.4rem 0 0 0; z-index: 14; height: auto; border-right: 0; }
  .menu-ben.mo { display: block; }
}

.hop-thoai { width: min(28rem, calc(100vw - 2rem)); padding: 1.25rem; color: var(--chu); background: var(--mat); border: 1px solid var(--vien); border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.hop-thoai::backdrop { background: rgba(10, 14, 22, .5); }
.hop-thoai p { margin: 0 0 1.1rem; font-size: 1.02rem; overflow-wrap: anywhere; }
.nut.nguy { background: var(--loi); border-color: var(--loi); color: var(--mat); }
.nut.phu.nguy { background: transparent; color: var(--loi); border-color: var(--loi); }
.bao { border-left: 4px solid transparent; }
.bao.loi { border-left-color: var(--loi); }
.bao.tot { border-left-color: var(--tot); }
.bao.canh { color: var(--canh); background: var(--nen-2); border-left-color: var(--canh); }

.tab { display: flex; gap: .25rem; margin: 0 0 1.25rem; border-bottom: 1px solid var(--vien); overflow-x: auto; }
.tab a { padding: .55rem .9rem; color: var(--chu-mo); text-decoration: none; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tab a:hover { color: var(--chu); }
.tab a[aria-current="page"] { color: var(--nhan); border-bottom-color: var(--nhan); }
.the-mat-khau { border-color: var(--tot); }
.the-mat-khau code { font-size: 1.15rem; padding: .25rem .6rem; user-select: all; }
.qt-so { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.qt-luoi-so { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .75rem; margin-top: 1.25rem; }
.qt-o-so { padding: .9rem 1rem; background: var(--mat); border: 1px solid var(--vien); border-radius: 12px; }
.qt-o-so strong { display: block; font-size: 1.5rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.qt-o-so span { color: var(--chu-mo); font-size: .88rem; }
.qt-thanh { display: block; height: 6px; margin-top: .25rem; background: var(--nen-2); border-radius: 3px; overflow: hidden; }
.qt-thanh i { display: block; height: 100%; background: var(--nhan); border-radius: 3px; }
.qt-bieu-do { display: flex; align-items: flex-end; gap: 3px; height: 11rem; padding: .5rem 0 0; border-bottom: 1px solid var(--vien); }
.qt-cot { position: relative; flex: 1 1 0; min-width: 4px; height: 100%; display: flex; align-items: flex-end; }
.qt-cot i { display: block; width: 100%; min-height: 1px; background: var(--nhan); border-radius: 3px 3px 0 0; }
.qt-cot.rong i { background: var(--vien); }
.qt-cot:hover i, .qt-cot:focus i { background: var(--chu); }
.qt-cot b { display: none; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); z-index: 3; padding: .25rem .5rem; font-size: .8rem; font-weight: 500; white-space: nowrap; color: var(--mat); background: var(--chu); border-radius: 6px; }
.qt-cot:hover b, .qt-cot:focus b { display: block; }
.qt-cot:first-child b { left: 0; transform: none; } .qt-cot:last-child b { left: auto; right: 0; transform: none; }
.qt-truc { display: flex; justify-content: space-between; font-size: .8rem; color: var(--chu-mo); margin-top: .25rem; }
.qt-loai { display: inline-block; padding: .05rem .5rem; border-radius: 99px; font-size: .8rem; border: 1px solid var(--vien); white-space: nowrap; }
.qt-loai.xoa { color: var(--loi); border-color: var(--loi); }
.qt-loai.them, .qt-loai.sua { color: var(--tot); border-color: var(--tot); }
.qt-loai.ai { color: var(--nhan); border-color: var(--nhan); }
.qt-loc label { flex: 1 1 9rem; }
.qt-trang { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; }

/* ---------- Nhận diện Pinbus, menu có biểu tượng, chú giải (12/11/2026) ---------- */
h1 { font-weight: 650; letter-spacing: -.01em; }
h1 + .mo { max-width: 46rem; }
.bt { flex: none; vertical-align: -3px; }
.nut { display: inline-flex; align-items: center; gap: .45rem; background: var(--chanh); color: var(--chanh-chu); border: 1px solid var(--chanh-dam); border-radius: 9px; cursor: pointer; }
a.nut { display: inline-flex; }
.nut:hover { background: var(--chanh-dam); }
.nut.phu { background: var(--mat); color: var(--chu); border-color: var(--vien); }
.nut.phu:hover { background: var(--nen-2); border-color: var(--chu-mo); }
.nut.nguy, .nut.nguy:hover { background: var(--loi); border-color: var(--loi); color: #fff; }
.nut.phu.nguy { background: var(--mat); color: var(--loi); border-color: var(--vien); }
.nut.phu.nguy:hover { background: var(--loi-nen); border-color: var(--loi); color: var(--loi); }
.nut.nho .bt { width: 14px; height: 14px; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--chanh-dam); outline-offset: 2px; }
a.o:hover, a.o:focus-visible { border-color: var(--chanh-dam); outline: 2px solid var(--chanh); }
.chip input:checked + span, .chip-nut[aria-pressed="true"], .nut-chuyen[aria-pressed="true"] { color: var(--chanh-chu); background: var(--chanh); border-color: var(--chanh-dam); }
.the, .o, .qt-o-so { box-shadow: 0 1px 2px rgba(20, 24, 10, .04); }
.tt-kq th { background: var(--nen-2); color: var(--chu); }
.tt-kq tbody tr:hover td { background: var(--chanh-nhat); }

.dau-trang { background: var(--dau); color: var(--dau-chu); border-bottom: 3px solid var(--chanh); }
.ten-he-thong { display: inline-flex; align-items: center; gap: .55rem; color: var(--dau-chu); font-size: 1.05rem; font-weight: 600; }
.dau-trang .nguoi-dung { color: var(--dau-chu); opacity: .85; }
.dau-trang .the-vai-tro { color: var(--chanh-chu); background: var(--chanh); border-color: var(--chanh); font-weight: 600; }
.nut-dau { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; font: inherit; font-size: .9rem; color: var(--dau-chu); background: transparent; border: 1px solid rgba(255, 255, 255, .28); border-radius: 8px; cursor: pointer; }
.nut-dau:hover { border-color: var(--chanh); color: var(--chanh); }
.nut-menu { border-color: rgba(255, 255, 255, .28); }
.nut-menu span { background: var(--dau-chu); }

.co-menu .bo-cuc { grid-template-columns: 17.5rem minmax(0, 1fr); }
.menu-ben { top: calc(3.4rem + 3px); height: calc(100vh - 3.4rem - 3px); padding: 1rem .7rem 2.5rem; }
.khung-tool { height: calc(100vh - 3.4rem - 3px); }
.menu-nhom + .menu-nhom { margin-top: 1.15rem; padding-top: 1.05rem; border-top: 1px solid var(--vien); }
.menu-ten-nhom { display: flex; align-items: center; gap: .55rem; padding: .3rem .55rem; font-size: .98rem; font-weight: 650; letter-spacing: 0; text-transform: none; color: var(--chu); border-radius: 8px; }
.menu-ten-nhom .bt { width: 20px; height: 20px; padding: 3px; box-sizing: content-box; color: var(--chanh-chu); background: var(--chanh); border-radius: 7px; }
a.menu-ten-nhom:hover { color: var(--chu); background: var(--nen-2); }
a.menu-ten-nhom.dang-mo { color: var(--chu); background: var(--chanh-nhat); }
.menu-ben ul { margin: .35rem 0 0; gap: 2px; }
.menu-muc { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem .5rem .75rem; font-size: .95rem; border-left: 3px solid transparent; border-radius: 0 8px 8px 0; }
.menu-muc .bt { color: var(--chu-mo); }
a.menu-muc:hover { background: var(--nen-2); }
a.menu-muc:hover .bt { color: var(--chu); }
.menu-muc.dang-mo { background: var(--chanh-nhat); color: var(--chu); font-weight: 600; border-left-color: var(--chanh-dam); }
.menu-muc.dang-mo .bt { color: var(--chu); }
.menu-muc.khoa { opacity: .6; cursor: default; }
.menu-muc.khoa::after { content: none; }
.menu-muc em { margin-left: auto; padding: 0 .4rem; font-size: .72rem; font-style: normal; border: 1px solid var(--vien); border-radius: 99px; white-space: nowrap; }
.tab a[aria-current="page"] { color: var(--chu); border-bottom-color: var(--chanh-dam); }
.qt-thanh i, .qt-cot i { background: var(--chanh-dam); }
.qt-cot.rong i { background: var(--vien); }
.goi-y { position: fixed; z-index: 60; max-width: 19rem; padding: .45rem .65rem; font-size: .84rem; line-height: 1.4; color: #f4f5ee; background: #1b1d16; border-radius: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, .22); pointer-events: none; }
.goi-y[hidden] { display: none; }
@media (max-width: 62rem) { .co-menu .bo-cuc { display: block; } .menu-ben { inset: calc(3.4rem + 3px) 0 0 0; height: auto; } }

/* ---------- Bố cục co giãn theo màn hình (12/11/2026) ----------
   LỖI ĐÃ GẶP: <main> là ô lưới có margin auto nên co lại vừa nội dung — form hợp đồng (iframe) chỉ còn một dải hẹp ở giữa.
   Ô lưới muốn vừa căn giữa vừa chiếm hết bề ngang thì phải có width: 100% đi cùng max-width. */
main { width: 100%; max-width: 66rem; }
main.hep { max-width: 26rem; } main.hep-vua { max-width: 40rem; } main.kt-rong { max-width: 82rem; }
main.rong, main.kt-het { max-width: none; }
.tv-ds { grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
.tv-ds li { align-items: flex-start; }
img, video, iframe { max-width: 100%; }
.tt-cuon, .tv-cuon { -webkit-overflow-scrolling: touch; }
@media (max-width: 62rem) {            /* máy tính bảng dọc, điện thoại: menu thu vào nút ☰ */
  main { padding: 1.1rem .85rem 4rem; }
  main.kt-het { padding-inline: .85rem; }
  .khung-tool { height: calc(100dvh - 3.4rem - 3px); }
}
@media (max-width: 40rem) {            /* điện thoại */
  h1 { font-size: 1.35rem; }
  .the { padding: 1rem .85rem; }
  .hang { gap: .6rem .75rem; }
  .hang > label, .hang > .nut, .hang > a.nut { flex: 1 1 100%; justify-content: center; }
  .hang > label.tich { flex: 1 1 100%; justify-content: flex-start; }
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px; }   /* nhỏ hơn 16px thì iPhone tự phóng to khi chạm ô */
  .nut, .nut-dau { min-height: 2.6rem; }
  .nut.nho { min-height: 2.1rem; }
  .kt-bang .kt-nut { white-space: normal; }
  .kt-bang .kt-nut form, .kt-bang .kt-nut a { display: inline-flex; margin: 0 .2rem .3rem 0; }
  .tab a { padding: .55rem .65rem; }
  .qt-luoi-so { grid-template-columns: 1fr 1fr; }
  .tv-ds { grid-template-columns: 1fr; }
  .viec-noi { right: .5rem; bottom: .5rem; }
  .goi-y { display: none; }
}
.ds-viec li { min-width: 0; }
.ds-viec li > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }   /* tên file dài không dấu cách từng đẩy trang tràn ngang trên điện thoại */
@media (max-width: 40rem) {            /* đầu trang điện thoại: một dòng, nút đăng xuất chỉ còn biểu tượng */
  .ten-he-thong { font-size: .98rem; white-space: nowrap; }
  .nut-dau span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nut-dau { min-height: 2.4rem; padding: .35rem .6rem; }
}
@media (max-width: 40rem) { .dau-trang { padding-block: .5rem; } }   /* giữ đầu trang cao 3.4rem để menu mở ra khớp mép */

/* ---------- Trang đăng nhập riêng và trang đầu sau đăng nhập (12/11/2026) ---------- */
main.dn-trang { max-width: none; min-height: calc(100vh - 3.4rem - 3px); display: grid; place-items: center; padding: 1.5rem 1rem; }
.dn-khung { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: min(56rem, 100%); background: var(--mat); border: 1px solid var(--vien); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 40px rgba(20, 24, 10, .08); }
.dn-gioi-thieu { display: grid; align-content: center; gap: .6rem; padding: 2.5rem 2.25rem; color: #f4f5ee; background: #0d0e0b; }
.dn-gioi-thieu p { margin: 0; color: #c9ccbf; }
.dn-gioi-thieu .dn-khau-hieu { font-size: 1.7rem; font-weight: 650; line-height: 1.2; color: #d5e72f; }
.dn-gioi-thieu ul { margin: .9rem 0 0; padding: 0; list-style: none; display: grid; gap: .55rem; font-size: .93rem; color: #e3e5da; }
.dn-gioi-thieu li { padding-left: 1.3rem; position: relative; }
.dn-gioi-thieu li::before { content: ""; position: absolute; left: 0; top: .5em; width: .55rem; height: .55rem; border-radius: 2px; background: #d5e72f; }
.dn-form { display: grid; align-content: center; gap: .35rem; padding: 2.5rem 2.25rem; }
.dn-form h1 { margin: 0; }
.dn-form .luoi-form { margin-top: 1rem; }
.dn-o-mk { position: relative; display: block; }
.dn-o-mk input { padding-right: 3.6rem; }
.dn-o-mk .nut-chu { position: absolute; right: .7rem; top: 50%; transform: translateY(-50%); font-size: .88rem; cursor: pointer; }
.nut.dn-nut { justify-self: stretch; justify-content: center; padding-block: .75rem; font-size: 1.02rem; }
.dn-ghi-chu { margin: .75rem 0 0; font-size: .9rem; }
@media (max-width: 44rem) {
  .dn-khung { grid-template-columns: 1fr; }
  .dn-gioi-thieu { padding: 1.5rem 1.25rem; }
  .dn-gioi-thieu ul { display: none; }
  .dn-gioi-thieu img { width: 48px; height: 48px; }
  .dn-form { padding: 1.5rem 1.25rem 1.75rem; }
}
.td-nhom { display: flex; align-items: center; gap: .5rem; margin-top: 1.75rem; }
.td-nhom .bt { width: 20px; height: 20px; padding: 4px; box-sizing: content-box; color: var(--chanh-chu); background: var(--chanh); border-radius: 8px; }
.td-nhom + .luoi { margin-top: .75rem; }
.o-ten { display: flex; align-items: center; gap: .5rem; }
.o-ten .bt { color: var(--chu-mo); }

/* ---------- Trang quy tắc và hướng dẫn (12/11/2026) ---------- */
.hd-muc-luc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.hd-muc-luc a { padding: .35rem .8rem; font-size: .92rem; color: var(--chu); text-decoration: none; background: var(--mat); border: 1px solid var(--vien); border-radius: 99px; }
.hd-muc-luc a:hover { border-color: var(--chanh-dam); background: var(--chanh-nhat); }
.hd { scroll-margin-top: 4.5rem; line-height: 1.65; }
.hd ol { margin: 0; padding-left: 1.4rem; display: grid; gap: .6rem; max-width: 46rem; }
.hd ol li::marker { font-weight: 650; }
.hd dl { margin: 0; display: grid; grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr); gap: .7rem 1.25rem; }
.hd dt { font-weight: 600; }
.hd dd { margin: 0; max-width: 40rem; }
.hd h3 { margin: .5rem 0 0; font-size: 1rem; }
.hd-cong-cu { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .6rem 1.25rem; }
.hd-cong-cu li { display: flex; gap: .6rem; align-items: flex-start; }
.hd-cong-cu .bt { margin-top: .25rem; color: var(--chu-mo); }
@media (max-width: 40rem) { .hd dl { grid-template-columns: 1fr; gap: .15rem; } .hd dd { margin-bottom: .6rem; } }
