.tmall-cashflow .cashflow-subtitle{margin:-8px 0 18px;color:#667085}
.tmall-cashflow .cashflow-formula{margin:14px 0 10px;color:#667085;font-weight:600}
.tmall-cashflow input[readonly]{background:#f5f8fb;color:#15967d;font-weight:700}
.tmall-cashflow .subject-monitor{margin:10px 0 14px;padding:12px;border:1px solid #d9e7e2;border-radius:12px;background:#f8fbfa}
.tmall-cashflow .subject-monitor-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}
.tmall-cashflow .subject-monitor-head h3{margin:0;color:#243447;font-size:16px}
.tmall-cashflow .subject-monitor-head p,.tmall-cashflow .subject-monitor-head span{margin:3px 0 0;color:#718096;font-size:12px}
.tmall-cashflow .subject-monitor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:10px}
.tmall-cashflow .subject-card{min-width:0;padding:12px;border:1px solid #cfe3dc;border-top:3px solid #35a879;border-radius:10px;background:#fff}
.tmall-cashflow .subject-card.near{border-color:#eabf63;border-top-color:#d99913;background:#fffbf1}
.tmall-cashflow .subject-card.warning{border-color:#ef8f8a;border-top-color:#d6433b;background:#fff5f4}
.tmall-cashflow .subject-card.empty{border-top-color:#a7b4c2;background:#fbfcfd;color:#718096}
.tmall-cashflow .subject-card.empty.verified{border-top-color:#5f8fa7;background:#f5fafc}
.tmall-cashflow .subject-card.empty.verified .subject-card-title span{background:#e4f0f5;color:#386d84}
.tmall-cashflow .subject-card.no-change .subject-card-title span{background:#e4f0f5;color:#386d84}
.tmall-cashflow .subject-card-title{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tmall-cashflow .subject-card-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#243447}
.tmall-cashflow .subject-card-title span{flex:none;padding:2px 7px;border-radius:999px;background:#e8f6f0;color:#1c7b5d;font-size:11px;font-weight:700}
.tmall-cashflow .subject-card.near .subject-card-title span{background:#fff0c9;color:#9a6500}
.tmall-cashflow .subject-card.warning .subject-card-title span{background:#ffe0de;color:#bc3029}
.tmall-cashflow .subject-change-note{min-height:38px;margin:8px 0;color:#637083;font-size:12px;line-height:1.55}
.tmall-cashflow .subject-total{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.tmall-cashflow .subject-total span{color:#637083;font-size:12px}
.tmall-cashflow .subject-total strong{color:#168467;font-size:20px}
.tmall-cashflow .subject-card.warning .subject-total strong{color:#c73730}
.tmall-cashflow .subject-progress{height:6px;margin:8px 0;border-radius:999px;background:#e5ece9;overflow:hidden}
.tmall-cashflow .subject-progress i{display:block;height:100%;border-radius:inherit;background:#35a879}
.tmall-cashflow .subject-card.near .subject-progress i{background:#d99913}
.tmall-cashflow .subject-card.warning .subject-progress i{background:#d6433b}
.tmall-cashflow .subject-card small{display:block;color:#718096;font-size:11px;line-height:1.45}
.tmall-cashflow .subject-card details{margin-top:8px;border-top:1px solid #e5ece9;padding-top:7px}
.tmall-cashflow .subject-card summary{cursor:pointer;color:#356f62;font-size:12px;font-weight:700}
.tmall-cashflow .subject-history{display:grid;gap:6px;margin-top:7px}
.tmall-cashflow .subject-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:7px;border-radius:7px;background:#f5f8f7}
.tmall-cashflow .subject-history-row>div{min-width:0}
.tmall-cashflow .subject-history-row b,.tmall-cashflow .subject-history-row span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.tmall-cashflow .subject-history-row span{color:#718096}
.tmall-cashflow .subject-history-row strong{align-self:center;color:#168467;font-size:13px}
.tmall-cashflow .subject-history-row em{grid-column:2;color:#718096;font-size:10px;font-style:normal;text-align:right}
.tmall-cashflow .subject-history-row.warning{background:#ffe7e5}.tmall-cashflow .subject-history-row.warning strong,.tmall-cashflow .subject-history-row.warning em{color:#bf342d}
.tmall-cashflow .subject-entry>p{margin:-8px 0 10px;color:#718096;font-size:12px}
.tmall-cashflow .subject-entry input[name="previous_subject"]{min-width:240px}
@media(max-width:900px){.tmall-cashflow .subject-monitor-head{align-items:flex-start;flex-direction:column}.tmall-cashflow .subject-monitor-grid{grid-template-columns:1fr}.tmall-cashflow .subject-entry input[name="previous_subject"]{min-width:0}}
