/* All styles scoped: shared by standalone tools, dashboard and public example. */
.result-charts{margin:18px 0 22px;padding:22px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;color:#172b43;text-align:left;min-width:0}
.rc-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.rc-heading h2{font-size:20px!important;line-height:1.4;margin:0 0 5px!important}.rc-heading p{font-size:12px;line-height:1.7;color:#667085;margin:0}.rc-status{flex-shrink:0;border:1px solid #bfd4ee;color:#24518b;background:#f0f6ff;border-radius:99px;padding:5px 10px;font-size:11px;line-height:1.5;font-weight:750}.rc-status-review{border-color:#f4cc8f;color:#944b0c;background:#fffaeb}.rc-status-settled{border-color:#b9ddd3;color:#126c58;background:#effaf6}.rc-status-demo,.rc-status-empty{border-color:#e2e8f0;color:#526178;background:#f7f9fc}
.rc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.rc-panel{padding:18px;background:#f9fbfd;border:1px solid #e6ecf2;border-radius:12px;min-width:0}.rc-panel:last-child:nth-child(odd){grid-column:1/-1}.rc-panel h3{font-size:15px!important;line-height:1.5;margin:0 0 6px!important}.rc-description,.rc-footnote{font-size:11px!important;line-height:1.7;color:#667085;margin:0 0 14px!important}.rc-footnote{margin:15px 0 0!important;padding-top:12px;border-top:1px solid #e6ecf2}.rc-rows{display:grid;gap:12px;list-style:none!important;padding:0!important;margin:0!important}.rc-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:0!important;border:0!important;min-width:0;background:transparent!important}.rc-row-label{font-size:12px;line-height:1.5;min-width:0;overflow-wrap:anywhere}.rc-row-label small{display:block;font-size:10px;color:#7b8797}.rc-value{font-size:12px!important;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:750;line-height:1.5}.rc-track{grid-column:1/-1;height:17px;border-radius:3px;position:relative;background:#eaf0f6;overflow:hidden}.rc-bar{display:block;position:absolute;height:100%;border-radius:3px}.rc-zero{position:absolute;top:0;bottom:0;width:1px;background:#738298;z-index:1}.rc-income,.rc-credit{color:#245a9a}.rc-expense{color:#aa4f0b}.rc-profit{color:#10715f}.rc-loss{color:#b42338}.rc-bar.rc-income,.rc-bar.rc-credit{background:#508bc5}.rc-bar.rc-expense{background:#e5974d}.rc-bar.rc-profit{background:#39a68d}.rc-bar.rc-loss{background:#d85b71}.rc-axis{display:flex;justify-content:space-between;gap:6px;font-size:9px;color:#6f7c8d;margin:8px 0 0;line-height:1.5}.rc-axis span:nth-child(2){text-align:center}.rc-placeholder{padding:20px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px}.rc-placeholder b{font-size:14px}.rc-placeholder p,.rc-empty-small{font-size:12px;color:#667085;line-height:1.7;margin:6px 0 0}.rc-data{margin-top:14px;font-size:11px}.rc-data>summary{cursor:pointer;color:#526c91;font-weight:700}.rc-data-scroll{overflow:auto;max-height:280px;margin-top:8px}.rc-data table{min-width:0!important;width:100%!important;border-collapse:collapse;table-layout:fixed}.rc-data caption{font-size:11px;color:#667085;text-align:left;padding:6px 0}.rc-data th,.rc-data td{white-space:normal!important;overflow-wrap:anywhere;font-size:11px!important;padding:7px!important;border-bottom:1px solid #e2e8f0;background:transparent!important;text-align:left}.rc-data th{font-weight:600}.rc-data td{font-variant-numeric:tabular-nums}
.rc-axis span{min-width:0;overflow-wrap:anywhere}.rc-value{max-width:min(220px,55vw);white-space:normal;overflow-wrap:anywhere;text-align:right}
@media(max-width:760px){.result-charts{padding:15px;border-radius:12px}.rc-heading{flex-direction:column;gap:8px}.rc-grid{grid-template-columns:1fr;gap:12px}.rc-panel{padding:14px}.rc-panel:last-child:nth-child(odd){grid-column:auto}.rc-heading h2{font-size:18px!important}.rc-track{height:16px}.rc-value{font-size:11px!important}.rc-axis{font-size:9px}}
@media(prefers-reduced-motion:reduce){.result-charts *{transition:none!important;animation:none!important}}
