.cash-flow-workspace{font:14px/1.5 Arial,sans-serif;color:#234e3f;max-width:1250px;margin:auto;padding:16px;white-space:normal}
.cash-flow-workspace *{box-sizing:border-box}.cf-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.cf-head h2{margin:4px 0;font-size:26px}.cf-head p{margin:0}.cf-status{background:#f6e9cc;border-radius:20px;padding:7px 12px}.cf-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.cf-actions button{min-height:44px;border-radius:9px;padding:10px 16px;background:white;border:1px solid #c6d3ca;color:#234e3f}.cf-actions button:first-child{background:#234e3f;color:white}.cf-actions button:disabled{opacity:.55}.cf-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cf-metrics div{padding:14px;background:#eaf0e7;border-radius:12px}.cf-metrics strong,.cf-metrics span{display:block}.cf-metrics strong{font-size:22px;font-variant-numeric:tabular-nums}.cf-issues{background:#fff4dc;padding:12px;border-radius:9px;margin:16px 0}.cf-issues ul{padding-left:22px}.cf-block{border:1px solid #d4ddd2;border-radius:12px;padding:14px;margin:12px 0;background:#fffef8}.cash-flow-workspace summary{font-weight:700;cursor:pointer;min-height:32px}.cash-flow-workspace label{display:block}.cash-flow-workspace input[type=text],.cash-flow-workspace textarea{width:100%;font:16px/1.4 Arial,sans-serif;color:#234e3f;border:1px solid #bdcbbc;background:white;border-radius:7px;padding:8px;min-height:44px}.cash-flow-workspace textarea{resize:vertical;min-height:62px}.cf-check{display:flex!important;align-items:center;gap:8px;min-height:44px}.cf-check input,.cf-scroll input[type=checkbox]{width:22px;height:22px;flex-shrink:0}.cf-line{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:8px 16px;padding:14px 0;border-top:1px solid #dce2d7}.cf-line small,.cf-scroll small{display:block;color:#657669}.cf-note{grid-column:1/-1}.cf-work-section{padding:12px;border:1px solid #dee5d9;border-radius:9px;margin:8px 0}.cf-scroll{overflow-x:auto;max-width:100%}.cash-flow-workspace table{border-collapse:collapse;width:100%;min-width:0;font-size:13px;table-layout:auto}.cash-flow-workspace th,.cash-flow-workspace td{white-space:normal;padding:8px;border-bottom:1px solid #e2e7dc;text-align:left}.cash-flow-workspace .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.cf-preview{background:#fffef8;padding:16px;border:1px solid #d4ddd2;border-radius:12px;margin-top:18px}.cf-preview h3{margin:0}.cf-preview table{table-layout:fixed}.cf-preview th:last-child{width:160px;text-align:right}.cf-section{background:#e7eee2;font-weight:bold}.cf-total{font-weight:bold;border-top:1px solid #577c67}.table-wrap:has(.cash-flow-workspace)>table{min-width:0;width:100%;table-layout:fixed}.cash-flow-workspace input:focus-visible,.cash-flow-workspace textarea:focus-visible,.cash-flow-workspace summary:focus-visible,.cash-flow-workspace button:focus-visible{outline:3px solid #2198ae;outline-offset:2px}
@media(max-width:600px){.cash-flow-workspace{padding:8px;font-size:14px}.cf-head{display:block}.cf-status{display:inline-block;margin-top:8px}.cf-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cf-metrics div{padding:10px}.cf-metrics strong{font-size:18px}.cf-line{grid-template-columns:minmax(0,1fr)}.cf-preview,.cf-block{padding:10px}.cf-preview th:last-child{width:100px}.cash-flow-workspace td,.cash-flow-workspace th{padding:7px 4px}.cf-preview table{font-size:12px}.cf-head h2{font-size:22px}.cf-scroll table{min-width:580px}.cf-actions button{flex:1 1 130px}}

.cf-preview th:nth-child(2),.cf-preview th:nth-child(3){width:145px;text-align:right}
@media(max-width:600px){.cf-preview table,.cf-preview tbody{display:block}.cf-preview thead{display:none}.cf-preview tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:6px 0}.cf-preview td:first-child{grid-column:1/-1}.cf-preview td.num{white-space:normal}.cf-preview td.num::before{content:attr(data-year);display:block;font-size:10px;color:#68776a;font-weight:normal}.cf-preview .cf-section td.num{display:none}.cf-preview td{border:0;min-width:0}.cf-line input{min-width:0}}

.cash-flow-workspace .cf-actions button{height:auto;min-height:44px;line-height:1.35;white-space:normal}
