/* FIN-01/02/03: chú thích bộ lọc, giải thích chỉ số, đối chiếu và trạng thái tải. Màu sáng, cùng bảng màu Appcar. */
.fx-scope{margin:6px 0 10px;padding:7px 12px;border-radius:999px;background:#eaf3ff;color:#0f4fb0;font-size:14px;font-weight:600;display:inline-block;max-width:100%;overflow-wrap:anywhere}
.fx-scope[hidden]{display:none}
.fx-error-banner{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 12px;padding:10px 14px;border:1px solid #f3c1c3;background:#fff1f1;color:#b3261e;border-radius:10px;font-size:14px;font-weight:600}
.fx-loading .fv-hero strong,.fx-loading .fv-mini-card strong,.fx-loading .fv-report-metrics .val{color:#9fb0c2}
.fx-glossary{margin:0 0 14px;border:1px solid #dce6f1;border-radius:12px;background:#fff;padding:0 14px}
.fx-glossary>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:14px;font-weight:600;color:#1677ff;list-style:none}
.fx-glossary>summary::-webkit-details-marker{display:none}
.fx-glossary>summary::before{content:"ⓘ";margin-right:8px}
.fx-glossary dl{margin:0 0 12px;display:grid;grid-template-columns:minmax(120px,190px) 1fr;gap:8px 16px;font-size:14px;line-height:1.5}
.fx-glossary dt{font-weight:700;color:#27394b}.fx-glossary dd{margin:0;color:#5b6f82}
@media(max-width:600px){.fx-glossary dl{grid-template-columns:1fr;gap:2px}.fx-glossary dd{margin-bottom:8px}}
.fx-link{display:inline-block;margin-top:6px;padding:4px 0;border:0;background:none;color:#1677ff;font:inherit;font-size:12px;font-weight:600;cursor:pointer;text-align:left}
.fx-link:hover{text-decoration:underline}
.fv-report-metrics .metric .fx-link{display:block}
.fx-recon{display:flex;flex-direction:column;gap:6px;margin:0 0 12px;padding:12px 14px;border-radius:10px;background:#eaf3ff;color:#27394b;font-size:14px;line-height:1.5}
.fx-recon[hidden]{display:none}
.fx-recon .is-ok,.fx-recon-line.is-ok{color:#16845b;font-weight:600}.fx-recon .is-warn,.fx-recon-line.is-warn{color:#a75f13;font-weight:600}
.fx-recon small,.fx-recon-scope{color:#5b6f82;font-size:12px}
.fx-back{align-self:flex-start;margin-top:4px}
.fx-debt-card{margin-bottom:14px}
.fx-recon-line{margin:0 0 10px;font-size:14px}
.fx-debt-list{display:grid;gap:0;margin-bottom:10px}
.fx-debt-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #dce6f1;align-items:center}
.fx-debt-row small{display:block;color:#5b6f82}
.fx-debt-amt{display:flex;flex-direction:column;align-items:flex-end;gap:4px;color:#a75f13;white-space:nowrap}
.fx-tag{font-size:12px;font-weight:700;padding:2px 8px;border-radius:999px}
.fx-tag.in{background:#e6f6ee;color:#16845b}.fx-tag.out{background:#fff1dc;color:#a75f13}
/* Bộ lọc gọn: nhóm xe nằm một hàng nhỏ để số liệu chính lên sớm */
#thuchi .fv-filter-panel,#baocao .fv-filter-panel{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;padding:10px 14px;margin-bottom:10px}
#thuchi .fv-filter-panel .field,#baocao .fv-filter-panel .field{display:flex;align-items:center;gap:10px;margin:0;flex:0 0 auto}
#thuchi .fv-filter-panel .field label,#baocao .fv-filter-panel .field label{margin:0;white-space:nowrap}
#thuchi .fv-filter-panel .field-input,#baocao .fv-filter-panel .field-input{min-width:200px}
#thuchi .fv-filter-note,#baocao .fv-filter-note{margin:0;flex:1 1 260px;font-size:12px}
.fx-debt-card .fx-recon-scope{display:block;margin:8px 0}
@media(max-width:780px){#thuchi .fv-filter-note,#baocao .fv-filter-note{flex:0 0 auto}#thuchi .fv-filter-panel .field,#baocao .fv-filter-panel .field{width:100%}#thuchi .fv-filter-panel .field-input,#baocao .fv-filter-panel .field-input{min-width:0;flex:1}}
