/* v3.0.0: Phản hồi HCNS */
.ph-wrap .ph-card{display:block;text-decoration:none;color:inherit}
.ph-txt{margin:4px 0;white-space:pre-line}
.ph-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
.ph-cats .btn{justify-content:flex-start;text-align:left;min-height:48px;white-space:normal}
.ph-cats .btn.on{background:var(--brand);border-color:var(--brand);color:#fff}
.ph-cats .btn.ph-sens{border-style:dashed}
.ph-dl{display:grid;grid-template-columns:max-content 1fr;gap:4px 14px;margin:0 0 10px}
.ph-dl dt{color:var(--muted);font-size:13px} .ph-dl dd{margin:0}
.ph-content{font-size:15px;padding:10px 12px;background:var(--soft);border-radius:10px;margin-bottom:8px}
.ph-acts{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.ph-log{list-style:none;margin:0;padding:0} .ph-log li{padding:8px 0;border-bottom:1px solid var(--line2)} .ph-log li:last-child{border-bottom:0}
.ph-log li.op{background:#FFF8F1;padding-left:8px;border-radius:6px}
.ph-filter select,.ph-filter input{max-width:220px}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 12px}
/* Kỳ công, lương (ưu tiên) */
.pill.p-pay{background:#6D28D9;color:#fff;border-color:#6D28D9}
.ph-wrap .ph-card.ph-pay{border-left:4px solid #6D28D9}
.ph-cats .btn.ph-paybtn{border:2px solid #6D28D9;color:#5B21B6;font-weight:700;grid-column:1/-1}
.ph-cats .btn.ph-paybtn.on{background:#6D28D9;border-color:#6D28D9;color:#fff}
.ph-paykinds .btn.on{background:#6D28D9;border-color:#6D28D9;color:#fff}
.ph-paybox{border:1px dashed #A78BFA;border-radius:12px;padding:10px;background:#FAF7FF}
/* TD-170: hộp thư góp ý giấy - danh sách hòm, ô mã phiếu, tờ in 4 phiếu / A4 dọc (mỗi phiếu có cuống xé) */
.ph-boxes{margin:0;padding-left:18px;display:grid;gap:4px}
.ph-more{margin:8px 0}.ph-more>summary{cursor:pointer;font-weight:600;min-height:44px;display:flex;align-items:center}
.ph-slipin{display:flex;gap:8px;align-items:center}.ph-slipin input{flex:1;min-width:0;text-transform:uppercase}.ph-slipin input::placeholder{text-transform:none}
.ph-printwrap{overflow-x:auto}
.ph-sheet{width:200mm;height:286mm;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;background:#fff;color:#000;margin:0 auto 12px;border:1px solid var(--line)}
.ph-slip{display:flex;flex-direction:column;gap:1.4mm;padding:4mm 5mm;border:1px dotted #999;min-width:0;min-height:0;overflow:hidden;font-size:9pt;line-height:1.35}
.ph-slip-h{display:flex;flex-direction:column;align-items:center;text-align:center}.ph-slip-h b{font-size:13pt}.ph-slip-h span{font-size:8.5pt}
.ph-slip-sub{text-align:center;font-size:8.5pt}
.ph-slip-code{text-align:right;font-family:Consolas,"Courier New",monospace}
.ph-slip-lines{flex:1;min-height:0;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(7mm - 1px),#999 calc(7mm - 1px),#999 7mm)}
.ph-slip-sign{padding:2mm 0 5mm}
.ph-slip-cut{border-top:1.5px dashed #000;text-align:center;font-size:7.5pt;padding-top:.6mm}
.ph-slip-stub{display:flex;gap:3mm;align-items:center;font-size:8pt}.ph-slip-stub img{width:27mm;height:27mm;flex:none;image-rendering:pixelated}
.ph-slip-big{font:700 15pt Consolas,"Courier New",monospace;letter-spacing:.06em}
@media print{
  .ph-printwrap{overflow:visible}
  .ph-sheet{border:0;margin:0 auto;break-after:page;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .ph-sheet:last-child{break-after:auto}
}
.ph-huy td{text-decoration:line-through;color:var(--muted)}.ph-huy td:last-child{text-decoration:none}
/* TD-170: tờ công khai kết quả góp ý (A4 dọc, chữ to đọc được ở bảng tin) */
.ph-bull{background:#fff;color:#000;max-width:186mm;margin:0 auto;padding:6mm;border:1px solid var(--line);font-size:12pt;line-height:1.4}
.ph-bull h1{font-size:18pt;text-align:center;margin:0}.ph-bull-sub{text-align:center;margin:2mm 0 4mm;font-weight:600}
.ph-bull h2{font-size:13pt;margin:5mm 0 2mm}.ph-bull-faq{margin-bottom:3mm;break-inside:avoid}.ph-bull-note{margin:0 0 2mm;font-size:10.5pt}
.ph-bull table{width:100%;border-collapse:collapse}.ph-bull th,.ph-bull td{border:1px solid #000;padding:1.5mm 2mm;text-align:left;vertical-align:top;color:#000}
.ph-bull tr{break-inside:avoid}.ph-bull-code{font:700 13pt Consolas,"Courier New",monospace;white-space:nowrap}
@media print{.ph-bull{border:0;padding:0;max-width:none}}
