/* Cash projection: small-screen layout and chart legend remain explicit. */
.cf514{margin:18px 0 22px;padding:22px;min-width:0;border-top:4px solid #157a67}
.cf514-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px}
.cf514-head h2{margin:6px 0 7px;font-size:1.35rem;letter-spacing:-.02em}
.cf514-head p{font-size:.79rem;color:#5c7086;margin:0;line-height:1.5}
.cf514-eyebrow{font-size:.66rem;font-weight:750;letter-spacing:.12em;color:#157a67}
.cf514-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}
.cf514-kpis article{padding:15px 12px;background:#f1f5f7;border-radius:10px;min-width:0}
.cf514-kpis small{display:block;font-size:.74rem;color:#52677c}
.cf514-kpis strong{display:block;font-size:1.25rem;margin:8px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#153c35}
.cf514-kpis span{font-size:.67rem;color:#617385;display:block;line-height:1.5}
.cf514-kpis .cf514-negative strong{color:#a13746}
.cf514-plot{width:100%;min-width:0;margin:8px 0}
.cf514-svg{display:block;width:100%;height:auto;overflow:visible}
.cf514-axis{fill:#526476;font-size:12px;font-family:inherit}
.cf514-gridline{stroke:#e7edf2;stroke-width:1}.cf514-zero{stroke:#bdc9d2;stroke-width:1.3}
.cf514-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 20px;margin:8px 0 14px;font-size:.73rem;color:#475d71}
.cf514-legend span{display:inline-flex;align-items:center;gap:7px;min-width:0;overflow-wrap:anywhere}
.cf514-legend i{display:inline-block;width:24px;border-top:3px solid var(--cf-color);flex-shrink:0}
.cf514-legend i.dashed{border-top-style:dashed}
.cf514-benchmarks{padding:12px 8px 2px;background:#f8fafb;border-radius:8px}.cf514-benchmarks>small{font-size:.62rem;letter-spacing:.1em;color:#617385}
.cf514-notice{font-size:.75rem;line-height:1.6;color:#52677c;margin-top:14px;border-top:1px solid #e4eaf0;padding-top:14px}
.cf514-notice summary{font-weight:650;cursor:pointer}.cf514-notice p{margin:8px 0}
.cf514-foot{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:16px;font-size:.69rem;color:#617385}
.cf514-empty{background:#f2f6f8;padding:28px 18px;border-radius:9px}
dialog.cf514-dialog{width:min(1100px,calc(100% - 28px))}.cf514-dialog .modal-body{padding:20px 24px}
.cf514-explain{padding:14px 16px;background:#edf6f4;border-left:3px solid #157a67;border-radius:8px;font-size:.8rem;line-height:1.6;margin-bottom:18px}.cf514-explain p{margin:6px 0 0}
.cf514-editor-section{padding:18px 0;border-bottom:1px solid #e4eaf0}.cf514-editor-section h3{font-size:.96rem;margin:0 0 12px}.cf514-editor-section small{font-size:.73rem;color:#63788b;display:block;margin-top:9px;line-height:1.6}
.cf514-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cf514-wide{grid-column:1/-1}
.cf514-dialog label{display:block;font-size:.8rem;font-weight:550;line-height:1.5;min-width:0}.cf514-dialog input,.cf514-dialog select,.cf514-dialog textarea{width:100%;box-sizing:border-box;margin-top:5px;min-width:0}
.cf514-check{display:flex!important;align-items:flex-start;gap:9px;margin:12px 0;font-weight:450!important}.cf514-check input{width:17px!important;flex:none;margin-top:3px!important}
.cf514-series-choices{display:flex;flex-wrap:wrap;gap:0 24px}
.cf514-bench-row,.cf514-sim-row{display:grid;grid-template-columns:2fr 1.3fr 1fr auto;gap:10px;align-items:end;margin:12px 0;padding:12px;background:#f4f7f9;border-radius:9px}
.cf514-sim-row{grid-template-columns:2fr 1.2fr 1.2fr auto}.cf514-muted{color:#60768a;font-size:.77rem;line-height:1.6}
.cf514-error{color:#a13746;white-space:pre-wrap;font-size:.8rem}.cf514-error:empty{display:none}
.cf514-table-scroll{overflow:auto;max-height:60vh}.cf514-table{border-collapse:collapse;width:100%;font-size:.78rem}.cf514-table th{position:sticky;top:0;background:#eaf0f4}.cf514-table th,.cf514-table td{padding:10px 12px;text-align:right;border-bottom:1px solid #e3eaf0;white-space:nowrap}.cf514-table th:first-child,.cf514-table td:first-child{text-align:left}.cf514-table td small{display:block;font-size:.66rem;color:#64788c;margin-top:4px}
.cf514-history{border-bottom:1px solid #e5ebf0;padding:14px 0;font-size:.81rem}.cf514-history small{display:block;color:#64788c;margin-top:7px}
#cf514-preview .cf514-foot{display:none}
@media(max-width:850px){.cf514-kpis{grid-template-columns:1fr 1fr}.cf514-bench-row,.cf514-sim-row{grid-template-columns:1fr 1fr}.cf514-bench-row>label:first-child,.cf514-sim-row>label:first-child{grid-column:1/-1}.cf514-head{flex-wrap:wrap}.cf514-kpis strong{font-size:1.2rem}}
@media(max-width:600px){.cf514{padding:14px;margin-top:14px}.cf514-head{gap:12px;margin-bottom:14px}.cf514-head h2{font-size:1.15rem}.cf514-head .btn{font-size:.78rem}.cf514-kpis{gap:7px}.cf514-kpis article{padding:12px 9px}.cf514-kpis strong{font-size:1.05rem}.cf514-kpis small{font-size:.68rem}.cf514-axis{font-size:16px}.cf514-legend{justify-content:flex-start;font-size:.69rem;gap:8px 14px}.cf514-foot{flex-direction:column;align-items:flex-start}.cf514-dialog .modal-body{padding:14px}.cf514-dialog .modal-footer{padding:12px;flex-wrap:wrap}.cf514-form-grid{grid-template-columns:1fr}.cf514-bench-row,.cf514-sim-row{grid-template-columns:1fr;padding:10px}.cf514-editor-section .row.between{align-items:flex-start;flex-wrap:wrap;gap:8px}.cf514-dialog .modal-header{padding:15px}.cf514-dialog .modal-header h2{font-size:1rem}.cf514-series-choices{gap:0 12px}.cf514-dialog input,.cf514-dialog select,.cf514-dialog textarea{font-size:16px}.cf514-explain{font-size:.76rem}.cf514-notice{font-size:.72rem}.cf514-empty{padding:18px 12px}}

.cf514-color-teal{--cf-color:#157a67}.cf514-color-blue{--cf-color:#3474b8}.cf514-color-amber{--cf-color:#b97a10}.cf514-color-red{--cf-color:#bc4252}.cf514-color-purple{--cf-color:#895ec4}.cf514-color-slate{--cf-color:#5c7086}
