#cashflow{--bg:#f5f7fb;--card:#fff;--ink:#17202a;--muted:#667085;--line:#e2e8f0;--nav:#062b52;--blue:#0b6fdc;--blue-soft:#edf5ff;--green:#067647;--red:#b42318;--shadow:0 8px 28px rgba(15,35,65,.08)}#cashflow *{box-sizing:border-box}#cashflow,#cashflow{min-height:100%}#cashflow{margin:0;font:14px Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--ink)}#cashflow button,#cashflow .file-btn{font:inherit}#cashflow .page-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 22px;background:#fff;border-bottom:1px solid var(--line);position:relative;top:auto;z-index:auto}#cashflow .page-head h1{margin:0;font-size:22px;letter-spacing:-.02em}#cashflow .head-sub{color:var(--muted);font-size:12px;margin-top:4px}#cashflow .head-actions{display:flex;gap:8px}#cashflow .wrap{max-width:1500px;margin:16px auto;padding:0 16px 28px}#cashflow .kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}#cashflow .kpi,#cashflow .panel,#cashflow .setup-card{background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 1px 2px rgba(16,24,40,.03)}#cashflow .kpi{padding:14px 15px}#cashflow .kpi label{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.055em;font-weight:700}#cashflow .kpi b{display:block;font-size:23px;margin-top:6px;letter-spacing:-.025em}#cashflow .pos{color:var(--green)!important}#cashflow .neg{color:var(--red)!important}#cashflow .panel{padding:16px;margin-bottom:14px}#cashflow .section-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}#cashflow .section-head h2{font-size:15px;margin:0 0 4px}#cashflow .section-head p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}#cashflow .forecast-card{padding-bottom:9px}#cashflow .cash-chart{height:260px;margin-top:8px;overflow:hidden}#cashflow .cash-chart svg{display:block;width:100%;height:260px}#cashflow .chart-grid{stroke:#e7edf5;stroke-width:1}#cashflow .chart-zero{stroke:#aeb9c8;stroke-width:1.2;stroke-dasharray:5 5}#cashflow .chart-axis{fill:#6b7a90;font-size:10px}#cashflow .chart-area{fill:rgba(11,111,220,.08)}#cashflow .chart-line{fill:none;stroke:var(--blue);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}#cashflow .setup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}#cashflow .setup-card{display:grid;grid-template-columns:42px 1fr auto;gap:11px;align-items:center;padding:13px}#cashflow .setup-icon{width:42px;height:42px;border-radius:12px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-size:18px;font-weight:800}#cashflow .setup-content{min-width:0}#cashflow .setup-content span{display:block;color:var(--muted);font-size:11px;font-weight:700}#cashflow .setup-content strong{display:block;font-size:19px;margin:3px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#cashflow .setup-content small{display:block;color:var(--muted);font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#cashflow .table-panel{padding-bottom:0}#cashflow .tablewrap{overflow:auto;max-height:66vh;border:1px solid var(--line);border-radius:11px;background:#fff;margin-top:12px}#cashflow table.forecast{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:11.5px}#cashflow .forecast th{position:sticky;top:0;background:#f8fafc;z-index:4;color:#475467;border-bottom:1px solid #d8e0ea;padding:8px;white-space:nowrap}#cashflow .forecast td{border-bottom:1px solid #eef2f6;padding:7px 8px;white-space:nowrap;text-align:right}#cashflow .forecast td:first-child,#cashflow .forecast th:first-child{position:sticky;left:0;background:#fff;z-index:3;text-align:left}#cashflow .forecast th:first-child{background:#f8fafc;z-index:6}#cashflow .forecast tr.today td{background:#eff7ff}#cashflow .forecast tr.today td:first-child{background:#eff7ff}#cashflow .forecast .cash{font-weight:800}#cashflow .forecast .out{color:var(--red)}#cashflow .forecast .in{color:var(--green)}#cashflow button,#cashflow .file-btn{border:1px solid #cfd8e4;background:#fff;border-radius:9px;padding:8px 11px;font-weight:700;color:#344054;cursor:pointer}#cashflow button:hover,#cashflow .file-btn:hover{border-color:#9eb5cf}#cashflow .primary{background:var(--blue)!important;border-color:var(--blue)!important;color:#fff!important}#cashflow .ghost{background:#f8fafc}#cashflow .danger{color:var(--red)!important}#cashflow .fcf-modal-bg{position:fixed;inset:0;background:rgba(9,30,54,.42);display:none;align-items:center;justify-content:center;padding:18px;z-index:100}#cashflow .fcf-modal-bg.open{display:flex}#cashflow .modal{width:min(620px,100%);max-height:min(86vh,760px);background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(6,43,82,.28);overflow:hidden;display:flex;flex-direction:column}#cashflow .wide-modal{width:min(820px,100%)}#cashflow .small-modal{width:min(470px,100%)}#cashflow .modal-head{display:flex;justify-content:space-between;gap:14px;padding:17px 18px 14px;border-bottom:1px solid var(--line)}#cashflow .modal-head h2{font-size:17px;margin:0 0 4px}#cashflow .modal-head p{font-size:11.5px;color:var(--muted);line-height:1.45;margin:0}#cashflow .close-btn{border:0;background:transparent;padding:2px 7px;font-size:24px;font-weight:400;color:#667085}#cashflow .modal-body{padding:17px 18px;overflow:auto}#cashflow .modal-foot{padding:12px 18px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px}#cashflow .modal-foot.split{justify-content:space-between}#cashflow .modal-foot.split>div{display:flex;gap:8px}#cashflow .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}#cashflow .form-grid label,#cashflow .block-label{display:block;color:#475467;font-size:11px;font-weight:700}#cashflow .form-grid label.full{grid-column:1/-1}#cashflow .form-grid input,#cashflow .form-grid select,#cashflow .block-label select{width:100%;margin-top:5px;border:1px solid #cfd8e4;border-radius:9px;padding:9px 10px;background:#fff;color:#17202a;font:inherit}#cashflow .editor-list{display:flex;flex-direction:column;gap:9px}#cashflow .editor-row{border:1px solid var(--line);border-radius:12px;padding:11px;background:#fff}#cashflow .editor-row.selected{border-color:#9ac5f5;background:#f5f9ff}#cashflow .editor-fields{display:grid;grid-template-columns:1.4fr .8fr;gap:9px}#cashflow .editor-fields label{font-size:10.5px;color:var(--muted);font-weight:700}#cashflow .editor-fields input{width:100%;margin-top:4px;border:1px solid #cfd8e4;border-radius:8px;padding:8px}#cashflow .editor-actions{display:flex;gap:7px;justify-content:flex-end;margin-top:9px}#cashflow .mini{padding:6px 8px;font-size:11px}#cashflow .add-btn{width:100%;margin-top:11px;border-style:dashed;background:#f8fbff;color:var(--blue)}#cashflow .list-stack{display:flex;flex-direction:column;gap:7px}#cashflow .list-row{width:100%;display:flex;justify-content:space-between;align-items:center;gap:14px;text-align:left;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:#fff}#cashflow .list-row:hover{background:#f8fbff}#cashflow .list-row span{min-width:0}#cashflow .list-row b{display:block;color:var(--ink)}#cashflow .list-row small{display:block;color:var(--muted);margin-top:3px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#cashflow .list-row strong{white-space:nowrap;color:var(--ink)}#cashflow .empty-state{padding:24px 12px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:11px}#cashflow .data-actions{display:grid;gap:9px}#cashflow .data-actions button,#cashflow .data-actions .file-btn{width:100%;text-align:center}#cashflow @media(max-width:1000px){#cashflow .kpis{grid-template-columns:repeat(3,1fr)}#cashflow .setup-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){#cashflow .page-head{padding:13px 12px;align-items:flex-start}#cashflow .page-head h1{font-size:19px}#cashflow .head-sub{font-size:10.5px}#cashflow .head-actions{gap:6px}#cashflow .head-actions button{padding:7px 8px;font-size:11px}#cashflow .wrap{padding:0 8px 90px;margin-top:9px}#cashflow .kpis{grid-template-columns:repeat(2,1fr);gap:7px}#cashflow .kpi{padding:11px}#cashflow .kpi b{font-size:18px}#cashflow .kpi:nth-child(5){grid-column:1/-1}#cashflow .panel{padding:12px;border-radius:12px}#cashflow .cash-chart,#cashflow .cash-chart svg{height:220px}#cashflow .setup-grid{grid-template-columns:1fr;gap:7px}#cashflow .setup-card{padding:11px;grid-template-columns:38px 1fr auto}#cashflow .setup-icon{width:38px;height:38px;border-radius:10px}#cashflow .setup-content strong{font-size:17px}#cashflow .tablewrap{max-height:62vh}#cashflow .fcf-modal-bg{padding:0;align-items:flex-end}#cashflow .modal{width:100%;max-width:none;max-height:91vh;border-radius:18px 18px 0 0;padding-bottom:env(safe-area-inset-bottom)}#cashflow .modal-head{padding:15px 15px 12px}#cashflow .modal-body{padding:14px 15px}#cashflow .modal-foot{padding:11px 15px}#cashflow .form-grid{grid-template-columns:1fr}#cashflow .form-grid label.full{grid-column:auto}#cashflow .form-grid>span{display:none}#cashflow .editor-fields{grid-template-columns:1fr 120px}#cashflow .editor-actions{justify-content:flex-start}#cashflow .list-row{padding:10px}#cashflow .section-head{align-items:center}#cashflow .section-head p{font-size:10.5px}#cashflow .section-head button{white-space:nowrap}#cashflow .forecast-card .section-head{align-items:flex-start}}
body.asterly-cashflow-active .global-toolbar,body.asterly-cashflow-active #asAtBanner{display:none!important}
body:has(#cashflow .fcf-modal-bg.open) #mobileBottomNav,body:has(#cashflow .fcf-modal-bg.open) #mobileTopbar,body:has(#cashflow .fcf-modal-bg.open) #asset-cloud-sync{display:none!important}
#cashflow .fcf-modal-bg{overscroll-behavior:contain;touch-action:none;z-index:40}
#cashflow .fcf-modal{touch-action:pan-y}
#cashflow .fcf-modal .modal-body{min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y}
#cashflow .modal-head,#cashflow .modal-foot{flex:0 0 auto}
@media(max-width:700px){#cashflow .fcf-modal{max-height:calc(100dvh - 8px)}#cashflow .fcf-modal .modal-body{max-height:calc(100dvh - 150px)}}
