/* Thu chi, Doanh thu & lợi nhuận, Đơn thuê: cùng kiểu thẻ sáng, tiêu đề 15px, khoảng cách 16px với Tổng quan vận hành. */
#thuchi .card,#baocao .card,#donthuelist .card{border-radius:14px}
#thuchi .fv-chart-card,#baocao .fv-chart-card{padding:18px!important;margin-bottom:16px}
#thuchi .fv-filter-panel,#baocao .fv-filter-panel{margin-bottom:16px;padding:14px 18px!important}
#thuchi .fv-section-head h3,#baocao .fv-section-head h3{font-size:16px;font-weight:600}
#thuchi .fv-section-head p,#baocao .fv-section-head p{font-size:12px}
#thuchi .period-bar,#baocao .period-bar{margin-bottom:16px}
#thuchi .fv-overview{gap:16px;margin-bottom:16px}
#baocao .fv-report-metrics{gap:16px;margin-bottom:16px}
#baocao .fv-report-charts{gap:16px;margin-bottom:16px}
#baocao .fv-report-metrics .metric{padding:16px 18px;border-radius:14px}

/* Ô Thu nhập ròng: nền sáng thay cho navy */
.fv-hero{background:linear-gradient(135deg,#EAF3FF 0%,#F5FAFF 55%,#fff 100%);color:var(--ink);border:1px solid #CFE2FA;border-radius:14px;padding:20px 22px}
.fv-hero-label{color:var(--ink-soft)}
.fv-hero #finance-net{color:#16845B!important}.fv-hero #finance-net.fv-negative{color:#D23A3F!important}
.fv-hero #finance-net-status{color:var(--ink-soft)}
.fv-hero-link{border:1px solid #BBD6FA;background:#fff;color:#1257C0;font-weight:600}
.fv-compare-label{color:var(--ink-soft)}.fv-compare-label b{color:var(--ink)}
.fv-compare-track{background:#DCE9F8}
.fv-compare-track .income{background:#1677FF}.fv-compare-track .expense{background:#E5484D}
.fv-hero-note{color:var(--ink-soft)}
#thuchi .fv-mini-card{padding:18px!important}

/* Đơn thuê: thẻ lọc thành ô số liệu */
#donthuelist .bo-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;overflow:visible;padding:0;margin-bottom:12px}
#donthuelist .bo-tab{flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-height:78px;padding:12px 16px;border-radius:14px;border:1px solid var(--line);background:#fff;text-align:left;font-size:12px;color:var(--ink-soft);font-weight:500;transition:box-shadow .15s,border-color .15s}
#donthuelist .bo-tab span{order:2}
#donthuelist .bo-tab b{order:1;background:none!important;padding:0;font-size:22px;line-height:1.1;font-weight:700;color:var(--ink);min-width:0;text-align:left;font-variant-numeric:tabular-nums}
#donthuelist .bo-tab[data-bo-tab="action"] b{color:#D23A3F}
#donthuelist .bo-tab:hover{border-color:#9CC4FA;box-shadow:0 4px 12px rgba(22,119,255,.1)}
#donthuelist .bo-tab.active{background:#EAF3FF;border-color:#1677FF;color:#1257C0;box-shadow:inset 0 0 0 1px #1677FF}
#donthuelist .bo-tab.active b{color:#1257C0}
#donthuelist .bo-tab[data-bo-tab="action"].active b{color:#D23A3F}
#donthuelist .bo-tab-hint{margin:0 0 12px}
@media(max-width:680px){
  #donthuelist .bo-tabs{grid-template-columns:1fr 1fr;gap:10px}
  #donthuelist .bo-tab{min-height:66px;padding:10px 12px;flex:initial}
  #donthuelist .bo-tab b{font-size:22px}
  #donthuelist .bo-tab b{font-size:22px!important}
}

/* Chống rớt chữ: tiêu đề, mô tả và chú thích tự cân dòng để không còn một chữ lẻ ở dòng cuối */
h1,h2,h3,.sub,.page-head p,.ov-head p,.fv-section-head p,.fv-filter-note,.ov-note,.ov-lab,.ov-delta,.pf-q small,.fx-glossary dd,.ov-attn-row span,.fv-mini-card p,.fv-hero-note{text-wrap:balance}
p,li,small,label{text-wrap:pretty}
.metric .lbl,.btn,.quick-vehicle-expense-actions .btn,.chip,.badge,.period-chip{text-wrap:balance}

/* Hợp đồng: giữ nguyên cụm dữ liệu điền sẵn, tránh rớt một chữ lẻ xuống dòng */
.doc-paper [data-field]{display:inline-block;max-width:100%;vertical-align:baseline}
.doc-paper p,.doc-paper li{text-wrap:pretty}
