/* Report graphics: expressive colour and real data, within the workspace shell. */
.report-dashboard{--report-blue:#5278d8;--report-violet:#8761c7;--report-coral:#c77a58;display:grid;gap:22px;margin:0 0 28px;min-width:0}
.workspace .erp-metrics strong{font-family:inherit;font-weight:600}
.erp-page:has(.report-dashboard)>.page-heading .muted{max-width:650px}
.erp-page:has(.report-dashboard) .erp-report-period-label{display:none}
.report-period-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:var(--muted)}
.report-period-heading>span:first-child{font-weight:600;color:var(--ink);text-transform:capitalize}
.report-currency-label{font-size:12px}
.report-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.report-kpi{position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;min-width:0;padding:20px 20px 14px;border:1px solid #e1e7e1;border-radius:14px;background:white;color:var(--ink);text-decoration:none;box-shadow:0 3px 14px #18231f04;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.report-kpi:hover{transform:translateY(-3px);border-color:#acbfb1;box-shadow:0 10px 26px #18231f0d}
.report-kpi>*:not(.report-card-art){position:relative;z-index:1}
.report-kpi-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:19px}
.report-icon{display:inline-grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid #d6e6dd;border-radius:12px;background:#eaf6ef;color:#0c7a5b}
.report-icon .ws-icon{width:21px;height:21px}
.report-tag{font-size:11px;font-weight:600;letter-spacing:.015em;border:1px solid #e3e7e2;border-radius:20px;padding:3px 8px;white-space:nowrap;background:#ffffffb8;color:#59655f}
.report-kpi-label{display:block;font-size:13px;font-weight:500;line-height:20px}
.report-kpi-value{display:block;margin:5px 0 9px;font-family:inherit;font-size:clamp(22px,1.8vw,30px);font-weight:600;letter-spacing:-.6px;line-height:1.25;font-variant-numeric:tabular-nums lining-nums;overflow-wrap:anywhere}
.report-kpi-note{font-size:12px;line-height:18px;color:#59655f;min-height:36px;margin:0 0 17px}
.report-kpi-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #18231f10;padding-top:12px;margin-top:auto;font-size:12px;font-weight:500}
.report-kpi-foot .ws-icon{width:16px;height:16px;opacity:.65}
.report-kpi-hero{background:#0b654e;color:white;border-color:#0b654e;box-shadow:0 7px 20px #0c7a5b16}
.report-kpi-hero:hover{border-color:#0a503f;box-shadow:0 12px 28px #0c7a5b23}
.report-kpi-hero .report-icon{background:#ffffff17;border-color:#ffffff2b;color:#c2f7df}
.report-kpi-hero .report-tag{background:#ffffff12;border-color:#ffffff2b;color:#e0f7ed}
.report-kpi-hero .report-kpi-note{color:#dbf1e7}
.report-kpi-hero .report-kpi-foot{border-color:#ffffff26;color:#e2f7ed}
.report-card-art{position:absolute;right:-38px;top:42px;width:180px;height:155px;stroke:#c3f9dd;stroke-width:1;opacity:.16;z-index:0;pointer-events:none}
.report-kpi-blue{background:#f9fbff}.report-kpi-blue .report-icon{color:#4567bd;background:#edf2ff;border-color:#dce5fb}
.report-kpi-amber{background:#fffaf0}.report-kpi-amber .report-icon{color:#8b651b;background:#fff0cf;border-color:#f1dfb5}
.report-kpi-coral{background:#fffaf8}.report-kpi-coral .report-icon{color:#a96344;background:#fceee6;border-color:#f2dfd3}
.report-kpi-value.is-negative{color:#a22c24}.report-kpi-hero .report-kpi-value.is-negative{color:#fff0dc}
.report-charts-grid{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(265px,1fr);gap:20px;align-items:stretch}
.report-chart-card{border:1px solid #e1e7e1;border-radius:14px;background:white;min-width:0;padding:22px;box-shadow:0 3px 14px #18231f03}
.report-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}
.report-overline{display:block;color:#65746c;font-size:11px;font-weight:500;line-height:16px;margin-bottom:4px;letter-spacing:.025em}
.workspace .report-section-heading h2{font-size:16px;font-weight:600;line-height:22px;margin:0;font-family:inherit;letter-spacing:normal}
.report-period-chip{border:1px solid #e1e7e1;border-radius:20px;background:#f7f9f5;font-size:11px;white-space:nowrap;color:#59655f;padding:5px 9px;text-transform:capitalize}
.report-chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:36px;margin-bottom:7px;flex-wrap:wrap}
.report-legend{display:flex;align-items:center;gap:18px;font-size:12px;color:#4f5f55;flex:none}
.report-legend>span,.report-treasury-legend a>span{display:flex;align-items:center;gap:7px}
.report-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex:none}
.report-dot-sales{background:#0c7a5b}.report-dot-collections{background:#5278d8}.report-dot-violet{background:#8761c7}
.report-tooltip{font-size:11px;line-height:18px;color:#65746c;min-height:18px;max-width:100%;font-variant-numeric:tabular-nums}
.report-tooltip.has-value{color:#304d3e;font-weight:500}
.report-activity-svg{display:block;width:100%;height:auto;overflow:visible;margin:6px 0 12px}
.report-gridline{stroke:#e8ede7;stroke-width:1;stroke-dasharray:3 5}
.report-axis-label{fill:#6b786f;font-size:12px;font-family:inherit;font-variant-numeric:tabular-nums}
.report-series{fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.report-series-sales{stroke:#0c7a5b}.report-series-collections{stroke:#5278d8;stroke-dasharray:5 4}
.report-chart-point{cursor:crosshair}
.report-point-guide{stroke:#8fa398;stroke-width:1;stroke-dasharray:3 4;opacity:0}
.report-point-marker{fill:#fff;stroke-width:2.5;opacity:0;vector-effect:non-scaling-stroke}
.report-point-sales{stroke:#0c7a5b}.report-point-collections{stroke:#5278d8}
.report-chart-point:hover .report-point-marker,.report-chart-point:focus-visible .report-point-marker,.report-chart-point:hover .report-point-guide,.report-chart-point:focus-visible .report-point-guide{opacity:1}
.report-chart-point:focus-visible{outline:2px solid #0c7a5b;outline-offset:2px}
.report-chart-basis{font-size:11px;line-height:17px;color:#65746c;margin:12px 0 0}
.report-chart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;min-height:247px;border:1px dashed #dce6dc;border-radius:10px;background:#f8fbf7;padding:24px;margin:8px 0 14px;text-align:center}
.report-chart-empty svg{width:130px;height:88px;stroke:#85ac99;stroke-width:1.5;flex:none;margin-bottom:15px}
.report-chart-empty svg rect{fill:#eef6ef}.report-chart-empty svg circle{fill:#e0f2e7;stroke:#0c7a5b}
.report-chart-empty h3{font-size:15px;font-weight:600;line-height:22px;margin:0 0 5px;color:#294e3e}
.report-chart-empty p{font-size:12px;line-height:18px;color:#65746c;max-width:340px}
.report-data{border-top:1px solid #e8ede7;margin-top:15px;padding-top:12px;font-size:12px}
.report-data summary{color:#52685b;cursor:pointer;min-height:28px}
.report-data table{width:100%;border-collapse:collapse;margin-top:12px;font-size:12px}
.report-data th,.report-data td{padding:9px 10px;border-bottom:1px solid #e8ede7;text-align:left;font-weight:400}
.report-data thead th{font-weight:600;color:#52685b}.report-data td{text-align:right;font-variant-numeric:tabular-nums}.report-data thead th:not(:first-child){text-align:right}
.report-treasury{display:flex;flex-direction:column}
.report-mini-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f2f5ef;color:#5d7465}
.report-chart-subtitle{font-size:12px;color:#65746c;line-height:18px;margin:-8px 0 2px}
.report-donut{width:190px;height:190px;position:relative;align-self:center;margin:10px 0 12px;flex:none}
.report-donut svg{width:100%;height:100%}.report-donut svg circle{fill:none;stroke-width:18}
.report-donut-track{stroke:#edf1eb}.report-donut-cash{stroke:#0c7a5b}.report-donut-bank{stroke:#8761c7}
.report-donut-center{position:absolute;inset:43px 22px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;text-align:center;pointer-events:none}
.report-donut-center span{font-size:11px;color:#65746c}.report-donut-center strong{font-size:20px;line-height:24px;font-weight:600;letter-spacing:-.5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:150px}.report-donut-center small{font-size:10px;color:#65746c;line-height:14px}
.report-treasury-legend{margin-top:auto;display:grid;gap:0}
.report-treasury-legend a{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #edf1eb;text-decoration:none;color:#4f5f55;padding:10px 0;font-size:12px}
.report-treasury-legend a strong{font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}
.report-bottom-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(0,1fr);gap:20px}
.report-reconciliation .report-section-heading>.ws-icon{color:#7f9c8b}
.report-bridge{display:grid;gap:13px;margin:18px 0 16px}
.report-bridge-row>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:6px}
.report-bridge-row strong{font-weight:500;font-variant-numeric:tabular-nums}.report-bridge-row span{color:#596b5e}
.report-bar{display:block;width:100%;height:7px}.report-bar-track{fill:#eff3ee}.report-bar-gross{fill:#0c7a5b}.report-bar-correction{fill:#d3a85c}.report-bar-credit{fill:#bf8f75}
.report-reconciliation-total{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #e1e7e1;padding-top:14px;font-size:12px}.report-reconciliation-total strong{font-size:19px;font-weight:600;font-variant-numeric:tabular-nums}
.report-detail-card{display:flex;position:relative;overflow:hidden;isolation:isolate;flex-direction:column;border:1px solid #e1e7e1;border-radius:14px;text-decoration:none;padding:22px;color:#244b3a;min-width:0}
.report-detail-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.report-detail-top>.ws-icon{width:17px;height:17px;opacity:.6}
.report-detail-value{display:block;font-size:27px;line-height:34px;font-weight:600;letter-spacing:-.5px;font-variant-numeric:tabular-nums;margin:5px 0 8px;overflow-wrap:anywhere}
.report-detail-card p{color:#526d5e;font-size:12px;line-height:19px;max-width:220px;margin-bottom:45px}
.report-detail-mint{background:#f0f8f1;border-color:#dcebdd}.report-detail-violet{background:#f7f3fc;border-color:#e7dff0;color:#584174}.report-detail-violet p{color:#6f5d80}.report-detail-violet .report-icon{background:#eee6f8;border-color:#e2d7ef;color:#7957a6}
.report-detail-card>*:not(.report-detail-art){position:relative;z-index:1}.report-detail-art{position:absolute;right:-8px;bottom:-23px;width:145px;height:100px;stroke:currentColor;stroke-width:1.3;opacity:.15;pointer-events:none}
.report-detail-card:hover{border-color:#afc5b2}.report-detail-violet:hover{border-color:#baa8d3}
.report-refunds{display:flex;align-items:center;gap:12px;background:#fff7ed;border:1px solid #e8ceaa;padding:15px 20px;border-radius:12px;color:#795312;text-decoration:none;font-size:13px}.report-refunds strong{margin-left:auto;font-variant-numeric:tabular-nums}
@media(min-width:761px) and (max-width:1200px){.report-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-kpi-value{font-size:28px}.report-charts-grid{grid-template-columns:minmax(0,1.6fr) minmax(235px,1fr);gap:16px}.report-chart-card{padding:18px}.report-period-chip{display:none}.report-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.report-reconciliation{grid-column:1/-1}.report-detail-card p{margin-bottom:20px}}
@media(min-width:761px) and (max-width:1000px){.report-charts-grid{grid-template-columns:1fr}.report-treasury{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;align-items:center}.report-treasury .report-section-heading,.report-treasury .report-chart-subtitle,.report-treasury>.report-chart-basis{grid-column:1/-1}.report-treasury .report-donut{justify-self:center}.report-treasury-legend{margin-top:0}}
@media(max-width:760px){.report-dashboard{gap:18px}.report-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-kpi{padding:15px 14px 12px;border-radius:12px}.report-kpi-top{margin-bottom:14px;gap:6px}.report-icon{width:34px;height:34px;border-radius:10px}.report-kpi .report-tag{font-size:10px;padding:2px 5px;letter-spacing:0;max-width:90px;white-space:normal;text-align:center}.report-kpi-label{font-size:12px}.report-kpi-value{font-size:22px;letter-spacing:-.6px}.report-kpi-note{font-size:11px;line-height:17px;margin-bottom:12px;min-height:51px}.report-kpi-foot{font-size:11px;line-height:16px;min-height:36px;gap:5px}.report-kpi-foot .ws-icon{width:14px;height:14px}.report-charts-grid,.report-bottom-grid{grid-template-columns:1fr;gap:16px}.report-chart-card,.report-detail-card{padding:18px;border-radius:12px}.report-period-chip{display:none}.report-activity-svg{min-height:160px}.report-axis-label{font-size:24px}.report-axis-y{display:none}.report-chart-toolbar{align-items:flex-start;gap:8px;min-height:50px}.report-tooltip{font-size:11px;line-height:17px;width:100%}.report-chart-empty{min-height:230px;padding:20px}.report-data summary{min-height:44px;padding-block:12px}.report-treasury{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;align-items:center}.report-treasury .report-section-heading,.report-treasury .report-chart-subtitle,.report-treasury>.report-chart-basis{grid-column:1/-1}.report-donut{width:150px;height:150px;margin:10px 0}.report-donut-center{inset:32px 16px}.report-donut-center span{font-size:10px}.report-donut-center strong{font-size:17px;line-height:22px}.report-donut-center small{font-size:10px;max-width:100px}.report-treasury-legend{margin:0}.report-treasury-legend a{flex-direction:column;align-items:flex-start;gap:5px;padding:10px 0;min-height:58px}.report-detail-card{min-height:200px}.report-detail-top{margin-bottom:18px}.report-detail-card p{margin-bottom:24px;max-width:80%}.report-detail-art{right:4px;bottom:-12px}.report-refunds{flex-wrap:wrap;padding:14px;font-size:12px}.report-refunds strong{margin-left:32px}.report-section-heading{gap:10px}.report-currency-label{font-size:11px}}
@media(max-width:360px){.report-kpi-grid{grid-template-columns:1fr}.report-kpi{min-height:210px;padding:18px}.report-kpi-value{font-size:28px}.report-kpi-note{min-height:0}.report-kpi-top{margin-bottom:14px}.report-kpi .report-tag{max-width:none;white-space:nowrap;font-size:11px}.report-treasury{display:flex}.report-treasury-legend{width:100%}.report-treasury-legend a{flex-direction:row;align-items:center;min-height:44px}}
@media(prefers-reduced-motion:reduce){.report-kpi{transition:none}.report-kpi:hover{transform:none}}
@media print{.report-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.report-kpi,.report-chart-card,.report-detail-card{break-inside:avoid;box-shadow:none;border-color:#aaa;background:#fff!important;color:#18231f!important;padding:12px;border-radius:6px}.report-kpi *{color:#18231f!important}.report-kpi-top,.report-card-art,.report-detail-art,.report-kpi-foot,.report-data,.report-tooltip{display:none}.report-kpi-label{font-size:10px}.report-kpi-value{font-size:17px}.report-kpi-note{font-size:9px;min-height:0;margin-bottom:0}.report-charts-grid{grid-template-columns:1.7fr 1fr;gap:10px}.report-bottom-grid{grid-template-columns:1.4fr 1fr 1fr;gap:10px}.report-chart-empty{min-height:150px}.report-donut{width:150px;height:150px}.report-donut-center strong{font-size:16px}.report-dashboard{gap:12px}.report-detail-card p{margin-bottom:0}.report-chart-basis{font-size:9px}.report-axis-y{display:block}.report-axis-label{font-size:12px}}
/* Keep metadata legible and a one-day series visible without inventing a trend. */
.report-tag,.report-overline,.report-period-chip,.report-tooltip,.report-chart-basis,.report-donut-center span,.report-donut-center small{font-size:12px}
.report-chart-point.is-only-point .report-point-marker{opacity:1}
@media(max-width:760px){.report-kpi .report-tag,.report-kpi-note,.report-kpi-foot,.report-tooltip,.report-currency-label{font-size:12px}.report-donut-center span,.report-donut-center small{font-size:12px}.report-kpi-note{line-height:18px;min-height:54px}}

.erp-page:has(.report-dashboard) #erp-report-period{display:flex;align-items:flex-end;gap:10px;background:transparent;border:0;padding:0;margin-bottom:20px}
.erp-page:has(.report-dashboard) #erp-report-period .field{flex:0 1 240px;margin:0}
.erp-page:has(.report-dashboard) #erp-report-period input,.erp-page:has(.report-dashboard) #erp-report-period button{min-height:38px}
.report-period-heading>span:first-child,.report-period-chip{text-transform:none}
.report-period-heading>span:first-child::first-letter,.report-period-chip::first-letter{text-transform:uppercase}
@media(max-width:760px){.erp-page:has(.report-dashboard) #erp-report-period .field{flex:1;min-width:0}.erp-page:has(.report-dashboard) #erp-report-period input,.erp-page:has(.report-dashboard) #erp-report-period button{min-height:44px}}
