#view-finance .fc-shell{font-size:13px;color:#cbd5e1}
#view-finance .fc-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}
#view-finance .fc-brand{display:flex;gap:12px;align-items:center}.fc-brand>i{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;color:#34d399;background:#073326;border:1px solid #17624d;font-size:18px}.fc-brand h2{font-size:20px!important;color:#f8fafc;margin:0;letter-spacing:.08em}.fc-brand p{font-size:11px;color:#3b82f6;font-weight:900;margin-top:3px}
#view-finance .fc-panel{background:linear-gradient(145deg,rgba(13,23,39,.97),rgba(7,12,23,.98));border:1px solid rgba(51,65,85,.72);border-radius:14px;box-shadow:0 12px 32px rgba(0,0,0,.2)}
#view-finance .fc-filter{padding:12px 15px;display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:12px}.fc-filter label{font-size:9px;color:#64748b;font-weight:950;text-transform:uppercase}.fc-filter input{display:block;margin-top:5px;height:36px;width:170px;background:#09111f;border:1px solid #263449;border-radius:8px;padding:0 10px;color:#cbd5e1}.fc-filter-actions{display:flex;gap:8px;margin-left:auto}
#view-finance .fc-btn{height:36px;padding:0 13px;border-radius:8px;border:1px solid #28558c;background:#0b1c36;color:#60a5fa;font-size:11px;font-weight:900;cursor:pointer}.fc-btn.green{border-color:#17683d;background:#092719;color:#4ade80}.fc-btn.red{border-color:#743044;background:#2d1019;color:#fb7185}
#view-finance #kpi-container.fc-kpis{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px}.fc-kpis>div{min-height:112px;padding:14px!important;border-radius:13px!important}.fc-kpis h2{font-size:20px!important;line-height:1.16;white-space:normal}.fc-kpis span{font-size:10px!important}.fc-kpis p{font-size:10px!important}
#view-finance .fc-ai{display:flex;gap:14px;align-items:center;padding:12px 15px;margin:12px 0;border-color:#24548d;background:linear-gradient(90deg,#0a2344,#0b172b)}.fc-ai b{color:#60a5fa;white-space:nowrap}.fc-ai p{flex:1}.fc-ai-actions{display:flex;gap:8px}
#view-finance .fc-analysis{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.fc-card{padding:15px}.fc-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.fc-card-head h3{font-size:11px!important;color:#94a3b8;letter-spacing:.08em}.fc-toggle{display:flex;padding:3px;border-radius:8px;background:#07101d}.fc-toggle button{border:0;background:transparent;color:#64748b;padding:5px 10px;border-radius:6px;font-size:10px;font-weight:900}.fc-toggle button.active{color:#60a5fa;background:#102851}
#view-finance .fc-aging-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.fc-aging-row{display:grid;grid-template-columns:90px 1fr 110px;align-items:center;gap:10px;margin:10px 0;font-size:11px}.fc-bar{height:10px;border-radius:5px;background:#1e293b;overflow:hidden}.fc-bar i{display:block;height:100%;border-radius:inherit}.fc-source-row{margin:10px 0}.fc-source-row>div:first-child{display:flex;justify-content:space-between;font-size:11px;margin-bottom:5px}
#view-finance .fc-section-head{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;border-bottom:1px solid #263449}.fc-section-head h3{font-size:11px!important;letter-spacing:.08em}.fc-debt-filters{display:flex;gap:6px;flex-wrap:wrap}.fc-debt-filters button{padding:5px 10px;border:1px solid #334155;background:#0d1727;color:#94a3b8;border-radius:7px;font-size:10px;font-weight:900}.fc-debt-filters button.active{color:#60a5fa;border-color:#3b82f6;background:#102851}
#view-finance .fc-debt-table-wrap{max-height:330px;overflow:auto}.fc-debt-table{width:100%;min-width:1100px;border-collapse:collapse}.fc-debt-table th{position:sticky;top:0;z-index:2;background:#111b2c;color:#64748b;font-size:9px;text-transform:uppercase;padding:10px;text-align:left}.fc-debt-table td{padding:10px;border-top:1px solid #233047;font-size:11px}.fc-status{display:inline-flex;padding:4px 8px;border-radius:6px;font-size:9px;font-weight:950}.fc-status.warn{color:#fbbf24;background:#3b2a0b;border:1px solid #755719}.fc-status.risk{color:#fb7185;background:#3b1018;border:1px solid #7e2939}.fc-status.info{color:#60a5fa;background:#0b2545;border:1px solid #24578b}
#view-finance .fc-bottom{display:grid;grid-template-columns:1.5fr 1fr;gap:12px;margin-top:12px}.fc-ledger-wrap{max-height:300px;overflow:auto}.fc-data-checks{display:grid;grid-template-columns:1fr 1fr}.fc-check{padding:14px;border-right:1px solid #253248;border-bottom:1px solid #253248}.fc-check b{display:block;font-size:11px}.fc-check small{color:#64748b}.fc-check.ok b{color:#34d399}.fc-check.warn b{color:#fbbf24}.fc-check.risk b{color:#fb7185}
#view-finance .fc-compact-ledger table{min-width:800px}.fc-compact-ledger th,.fc-compact-ledger td{padding:10px!important}.fc-compact-ledger tbody tr:nth-child(n+7){display:none}
@media(max-width:1280px){#view-finance #kpi-container.fc-kpis{grid-template-columns:repeat(3,1fr)!important}.fc-analysis{grid-template-columns:1fr}.fc-bottom{grid-template-columns:1fr}}
@media(max-width:700px){#view-finance .fc-head{align-items:flex-start;flex-wrap:wrap}.fc-brand h2{font-size:16px!important}.fc-filter>*{width:100%}.fc-filter input{width:100%}.fc-filter-actions{margin-left:0}.fc-filter-actions button{flex:1}#view-finance #kpi-container.fc-kpis{display:flex!important;overflow-x:auto}.fc-kpis>div{min-width:230px}.fc-ai{align-items:flex-start;flex-wrap:wrap}.fc-ai p{flex-basis:100%;order:2}.fc-ai-actions{width:100%;order:3}.fc-ai-actions button{flex:1}.fc-aging-grid{grid-template-columns:1fr}.fc-data-checks{grid-template-columns:1fr}}
