/* v5.3.7 Finance / Profitability */
.v537-fin-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px}.v537-fin-head h2{margin:0;color:#0B2F4A;font-size:24px}.v537-fin-head p{margin:4px 0 0;color:#667085;font-size:11px}.v537-fin-tools{display:flex;gap:8px;align-items:center}.v537-fin-tools select{height:38px;border:1px solid #D7E1EA;border-radius:8px;padding:0 12px;background:#fff}.v537-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.v537-kpi{background:#fff;border:1px solid #D7E1EA;border-radius:13px;padding:16px 18px;box-shadow:0 4px 15px rgba(17,43,65,.04);display:flex;flex-direction:column;gap:5px}.v537-kpi span{text-transform:uppercase;letter-spacing:.08em;font-size:9px;font-weight:800;color:#667085}.v537-kpi strong{font-size:22px;color:#0B2F4A}.v537-kpi small{font-size:9px;color:#81909C}.v537-kpi.profit{border-left:4px solid #2E7D59}.v537-kpi.profit strong{color:#17623B}.v537-fin-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.v537-detail-card{margin-bottom:16px}.v537-money-lines{display:flex;flex-direction:column;gap:2px}.v537-money-lines>div{display:flex;justify-content:space-between;gap:20px;padding:12px 2px;border-bottom:1px solid #EDF2F5}.v537-money-lines>div:last-child{border-bottom:0}.v537-money-lines span{color:#667085}.v537-money-lines b{color:#0B2F4A}.v537-num{text-align:right;font-weight:800;color:#0B2F4A}.v537-num.good{color:#17623B}@media(max-width:1200px){.v537-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.v537-fin-grid{grid-template-columns:1fr}}@media(max-width:700px){.v537-kpis{grid-template-columns:1fr}.v537-fin-head{align-items:stretch;flex-direction:column}.v537-fin-tools{justify-content:space-between}}

/* v5.5.12 Commercial finance cards */
.v5512-commercial-wrap{margin-top:16px}.v5512-commercial-wrap .ch small{display:block;color:#728197;margin-top:3px}
.v5512-commercial-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:14px}
.v5512-commercial-card{border:1px solid #dce5ec;border-radius:12px;background:#fff;overflow:hidden}
.v5512-commercial-head{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;background:#17344f;color:#fff}
.v5512-commercial-head b{display:block}.v5512-commercial-head small{display:block;color:#d4e0e9;margin-top:3px}.v5512-commercial-head>span{font-size:11px;color:#d4e0e9}
.v5512-commercial-body{padding:12px 14px}.v5512-commercial-body>div{padding:7px 0;border-bottom:1px solid #edf1f4}
.v5512-commercial-body>div:last-child{border-bottom:0}.v5512-commercial-body span{display:block;color:#718095;font-size:12px}.v5512-commercial-body strong{display:block;color:#17344f;font-size:17px;margin-top:2px}.v5512-commercial-body small{display:block;color:#8995a5;font-size:10px;margin-top:2px}
.v5512-commercial-body .v5512-margin strong{color:#287342}
.v5512-cash{border-top:1px solid #e7edf2;background:#f8fafb;padding:10px 14px;display:grid;gap:7px}
.v5512-cash div{display:flex;justify-content:space-between;gap:12px;font-size:11px}.v5512-cash span{color:#718095}.v5512-cash b{color:#273e54;text-align:right}

/* v5.5.15 Finance — line-by-line commercial view */
.v5515-commercial-wrap{margin-top:16px}
.v5515-commercial-wrap .ch small{display:block;color:#728197;margin-top:3px}
.v5515-commercial-table th{white-space:nowrap}
.v5515-commercial-table td{vertical-align:middle;padding-top:13px!important;padding-bottom:13px!important}
.v5515-commercial-table td b{font-weight:800;color:#17344f}
.v5515-sub{display:block;color:#7b8999;font-size:10px;margin-top:3px;white-space:normal}
.v5515-notlinked{display:inline-block;padding:4px 8px;border-radius:999px;background:#f1f4f7;color:#687789;font-size:11px;font-weight:700}
.v5515-profit{color:#287342!important;font-weight:800}
.v5515-loss{color:#a63228!important;font-weight:800}
