/* pro_phat_v0_7.css · v0.7 · 20/11/2026 · bản v0.19 (chủ dự án duyệt 17:42): nút i thành danh sách — mỗi ý một dòng.
   (v0.6) 20/11/2026 · bản v0.18 (chủ dự án duyệt 17:23): dòng "Tổng nếu có tăng" cuối khối Theo lựa chọn.
   (v0.5) 20/11/2026 · bản v0.16 (chủ dự án duyệt 15:52): dải ô phương án B — thanh ưu tiên trong ô Nghĩa vụ, ô Mức phạt cao
   nhất, ô Tổng phạt cơ bản (số triệu màu đỏ); điện thoại: ô Nghĩa vụ trải hết hàng.
   (v0.4) 20/11/2026 · bản v0.15 (chủ dự án duyệt 15:06): 3 ô (bỏ ô Gấp nhất) — 3 cột mọi khổ từ 521px, điện thoại 2 cột
   với ô Cao nhất trải hết hàng.
   (v0.3) 20/11/2026 · NOIBO · giao diện v0.14 (chủ dự án duyệt 14:31): đơn vị "việc" trong ô, câu nhãn đậm trong nút i,
   dòng biện pháp phi tiền ở §, khối "Theo lựa chọn" (nháy nền khi đổi, tắt khi giảm chuyển động).
   (v0.2) giao diện v0.13 (chủ dự án duyệt 20/11/2026 13:11): khối "Mức phạt theo NĐ330" gọn —
   tiêu đề, nút i, bốn ô có biểu tượng, một dòng nhãn QĐ-PH5; chi tiết thu gọn (bảng Làm trước, dòng Cộng, ô chọn khoảng); cờ ưu tiên kèm số
   (.co) dùng chung cho D4 bản web. Gắn qua CSSStyleSheet như CSS báo cáo (CSP không cho thẻ style, không style nội dòng). Chỉ nhắm .ph-*, .co.
   Màu theo token.css: navy #001860, red-ink #C8102E (chữ trên nền sáng), ink #141821/#4A5160/#606975, line #E4E7EE. */
.ph-khoi{border:1px solid rgba(0,24,96,.22);border-radius:10px;padding:16px 18px;background:#fff;margin:0 0 16px;display:grid;gap:10px}
.ph-khoi h2{font-size:18px;font-weight:500;margin:0;color:#001860}
.ph-khoi h3{font-size:15px;font-weight:500;margin:0 0 6px;color:#001860}
.ph-an{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ph-dau{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ph-i-nut,.ph-cc-nut,.ph-them-nut{font:inherit;background:none;border:0;cursor:pointer;color:#4A5160;border-radius:6px}
.ph-i-nut{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px}
.ph-i-nut[aria-expanded="true"]{color:#001860;background:rgba(0,24,96,.07)}
.ph-i-nut:focus-visible,.ph-cc-nut:focus-visible,.ph-them-nut:focus-visible,.ph-ct > summary:focus-visible,.ph-uoc-o select:focus-visible{outline:2px solid #001860;outline-offset:2px}
.ph-i-nd{margin:0;font-size:13px;line-height:1.6;color:#4A5160;background:#F7F8FB;border-radius:8px;padding:8px 12px}
.ph-i-nd a{color:#001860}
.ph-i-dau{margin:0 0 4px;color:#141821}
.ph-i-ds{margin:0 0 6px;padding-left:18px;display:grid;gap:3px}
.ph-i-ds li::marker{color:#606975}
.ph-i-lk{margin:0}
.ph-tong{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ph-o{display:flex;flex-direction:column;gap:2px;box-sizing:border-box;border-radius:8px;padding:10px 12px;background:#F7F8FB;min-width:0}
.ph-o-ten{display:flex;align-items:center;gap:6px;font-size:13px;color:#4A5160}
.ph-bt{flex:none;color:#4A5160}
.ph-o-gt{font-size:22px;font-weight:500;color:#001860;line-height:1.25;font-variant-numeric:tabular-nums}
.ph-o-phu{font-size:12px;color:#606975;line-height:1.4}
.ph-o-phat .ph-o-gt,.ph-o-tong .ph-o-gt{color:#C8102E}
.ph-thanh{display:block;width:100%;height:8px;margin:8px 0 4px;border-radius:4px;overflow:hidden}
.ph-thanh-nen{fill:#D5DAE3}
.ph-thanh-do{fill:#C8102E}
.ph-o-u1{display:flex;align-items:center;gap:4px;font-size:12px;color:#606975}
.ph-o-u1 strong{color:#C8102E;font-weight:500}
.ph-nhan{margin:0;font-size:13px;color:#141821;line-height:1.5}
.ph-ct{border-top:1px solid #E4E7EE;padding-top:2px}
.ph-ct > summary{cursor:pointer;font-size:14px;color:#001860;padding:8px 0;list-style:none;display:flex;align-items:center;gap:6px}
.ph-ct > summary::-webkit-details-marker{display:none}
.ph-ct > summary::before{content:"";width:7px;height:7px;border-right:1.6px solid #001860;border-bottom:1.6px solid #001860;transform:rotate(-45deg);margin:0 4px 0 2px;transition:transform .15s}
.ph-ct[open] > summary::before{transform:rotate(45deg)}
.ph-ct-nd{display:grid;gap:14px;padding:4px 0 2px}
.ph-bang{width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed}
.ph-bang th,.ph-bang td{padding:7px 4px;border-bottom:1px solid #E4E7EE;text-align:left;vertical-align:top;line-height:1.45}
.ph-bang thead th{font-size:12px;font-weight:400;color:#606975}
.ph-c-so{width:26px;color:#606975}
.ph-c-tien{width:96px;font-variant-numeric:tabular-nums;white-space:nowrap}
.ph-c-hang{width:36px}
.ph-c-kho{width:40px}
.ph-c-hm{width:34px;color:#4A5160}
.ph-c-cc{width:30px;text-align:center}
.ph-tang{display:block;font-size:12px;color:#606975}
.ph-chu-0,.ph-chu-lan{white-space:normal;font-size:12px;color:#606975}
.ph-cc-nut{width:26px;height:26px;font-size:15px;line-height:1}
.ph-cc-nut[aria-expanded="true"]{color:#001860;background:rgba(0,24,96,.07)}
.ph-cc td{font-size:13px;color:#4A5160;background:#F7F8FB}
.ph-cc td strong{font-weight:500;color:#141821}
.ph-cc td a{color:#001860}
.ph-them-nut{color:#001860;font-size:14px;padding:2px 0}
.ph-cong-hang th{font-weight:500;color:#141821;vertical-align:baseline}
.ph-cong-hang td,.ph-cong-hang th{border-bottom:0;padding-top:10px}
.ph-cong{display:block;color:#C8102E;font-size:18px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
.ph-cong small{font-size:13px;font-weight:400}
.ph-cong-phu{display:block;font-size:12px;font-weight:400;color:#606975;line-height:1.4;margin-top:2px}
.ph-uoc{display:grid;gap:6px}
.ph-uoc-hang{display:flex;flex-wrap:wrap;gap:10px}
.ph-uoc-o{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#4A5160;flex:1 1 180px;min-width:0}
.ph-uoc-o select{font:inherit;font-size:15px;color:#141821;padding:7px 8px;border:1px solid rgba(0,24,96,.35);border-radius:8px;background:#fff;min-height:40px;width:100%}
.ph-uoc-o small{font-size:12px;color:#606975;line-height:1.4}
.ph-uoc-loi{margin:0;font-size:13px;color:#B00020}
.ph-vach{display:inline-flex}
.ph-vach-dam{fill:#001860}
.ph-vach-nhat{fill:#D5DAE3}
.co{display:inline-flex;align-items:center;gap:2px;font-size:13px;font-weight:500;line-height:1;white-space:nowrap;vertical-align:-2px}
.co1{color:#C8102E}.co2{color:#001860}.co3{color:#606975}.co0{color:#606975}
.ph-chip{display:inline-block;font-size:13px;line-height:1.3;padding:2px 8px;border-radius:999px;border:1px solid #C9CED8;color:#141821;background:#fff;white-space:nowrap;font-variant-numeric:tabular-nums}
.ph-chip-0{border-style:dashed;color:#606975}
.bao-cao .ph-dong{margin-top:4px;font-size:13px;color:#4A5160}
.bao-cao .ph-nhan-d4{margin-top:4px}
.ph-o-gt small{font-size:14px;font-weight:400;color:#4A5160}
.ph-i-nd strong{font-weight:500;color:#141821}
.ph-bp strong{font-weight:500;color:#141821}
.ph-kq{background:#F7F8FB;border-radius:8px;padding:8px 12px;font-size:13px;line-height:1.55;color:#4A5160}
.ph-kq-dau{margin:0 0 4px;font-weight:500;color:#141821}
.ph-kq-ds{margin:0;padding-left:18px;display:grid;gap:2px}
.ph-kq-ds strong{font-weight:500;color:#141821}
.ph-kq-ds a{color:#001860}
.ph-kq-tong{margin:6px 0 0;padding-top:6px;border-top:1px solid #E4E7EE}
.ph-kq-tong-ten{font-weight:500;color:#141821}
.ph-kq-tong .ph-cong{display:inline;font-size:16px}
.ph-kq.ph-kq-moi{animation:ph-nhay 1.2s ease-out}
@keyframes ph-nhay{from{background:rgba(58,107,172,.22)}to{background:#F7F8FB}}

@media (max-width:520px){.ph-tong{grid-template-columns:repeat(2,minmax(0,1fr))}.ph-o-nghia_vu{grid-column:span 2}.ph-khoi{padding:14px}.ph-o-gt{font-size:20px}.ph-c-kho,.ph-c-hm{display:none}.ph-c-tien{width:84px}}
@media (prefers-reduced-motion:reduce){.ph-ct > summary::before{transition:none}.ph-kq.ph-kq-moi{animation:none}}
/* Bản in của khối (dựng ở #ban-in trước khi in): giữ chữ đầy đủ */
.ph-in{margin:0 0 12px}
.ph-in h2{font-size:16px;font-weight:500;margin:0 0 6px;color:#001860}
.ph-in-tong{border-collapse:collapse;width:100%;font-size:13px}
.ph-in-tong th,.ph-in-tong td{border:1px solid #C9CED8;padding:4px 6px;text-align:left;vertical-align:top}
.ph-in-tong th{font-weight:500;color:#4A5160;width:22%}
.ph-in .ph-nhan{font-size:12px;margin-top:6px}
.ph-in-lt{margin:8px 0 2px;font-size:13px;font-weight:500}
.ph-in-ds{margin:0;padding-left:18px;font-size:12px;line-height:1.45}
.ph-in-cong{margin:6px 0 0;font-size:12px}
@media print{.ph-khoi{display:none}.ph-chip{border-color:#888;color:#000;background:none}}
