#dashboard .pre-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:8px 0 22px;padding:16px;background:#fff;border:1px solid #eaddea;border-radius:14px}
#dashboard .pre-controls label{display:flex;flex-direction:column;gap:5px;color:#66516c;font-size:14px;font-weight:700;min-width:155px}
#dashboard .pre-controls label[hidden]{display:none}
#dashboard .pre-controls select,#dashboard .pre-controls input{height:42px;max-width:100%;border:1px solid #dacbdc;border-radius:9px;padding:6px 10px;background:#fff;color:#432050;font:inherit}
#dashboard .pre-controls select:focus,#dashboard .pre-controls input:focus{outline:2px solid #9f61b4;outline-offset:1px}
#dashboard .pre-section-title{font:800 18px Manrope,sans-serif;margin:24px 0 12px;color:#432050}
#dashboard .pre-section-title small{font:500 14px 'DM Sans',sans-serif;color:#78677e;margin-left:8px}
#dashboard .pre-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#dashboard .pre-kpi{background:#fff;border:1px solid #eaddea;border-radius:13px;padding:17px;min-height:130px;display:flex;flex-direction:column;gap:8px}
#dashboard .pre-kpi span{font-size:14px;color:#66516c;font-weight:700}
#dashboard .pre-kpi strong{font:800 clamp(21px,2.2vw,30px) Manrope,sans-serif;color:#5a2770;overflow-wrap:anywhere}
#dashboard .pre-kpi small{font-size:13px;color:#78677e;line-height:1.35}
#dashboard .pre-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:18px 0}
#dashboard .pre-chart-panel{padding:20px;min-width:0}
#dashboard .pre-chart-panel h2{font:800 17px Manrope,sans-serif;margin:0 0 5px}
#dashboard .pre-chart-panel p{font-size:14px;color:#78677e;margin:0 0 18px}
#dashboard .pre-svg-wrap{overflow-x:auto}
#dashboard .pre-svg-wrap svg{display:block;width:100%;min-width:430px;height:auto}
#dashboard .pre-svg-wrap text{fill:#78677e;font:12px 'DM Sans',sans-serif}
#dashboard .pre-legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:10px;color:#66516c;font-size:13px}
#dashboard .pre-legend span{display:flex;align-items:center;gap:6px}
#dashboard .pre-legend i{width:10px;height:10px;border-radius:50%;display:inline-block}
#dashboard .pre-breakdown{padding:16px 20px;margin-bottom:16px}
#dashboard .pre-breakdown summary{font-weight:800;cursor:pointer}
#dashboard .pre-breakdown summary span{font-size:13px;font-weight:400;color:#78677e}
#dashboard .pre-table-wrap{overflow-x:auto;margin-top:14px}
#dashboard .pre-table-wrap table{border-collapse:collapse;width:100%;min-width:650px;font-size:14px}
#dashboard .pre-table-wrap th,#dashboard .pre-table-wrap td{text-align:left;padding:11px 9px;border-bottom:1px solid #eaddea}
#dashboard .pre-table-wrap th{font-weight:700;color:#66516c}
#dashboard .pre-method{font-size:13px;color:#78677e;line-height:1.5;margin:16px 0 28px}
#dashboard .pre-error{color:#9e354f;font-size:14px;min-height:0}
#dashboard .pre-error:empty{display:none}
#dashboard .pre-empty{padding:18px;color:#78677e}
@media(max-width:1100px){#dashboard .pre-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboard .pre-panels{grid-template-columns:1fr}}
@media(max-width:650px){#dashboard .pre-kpis{grid-template-columns:1fr}#dashboard .pre-controls label{flex:1 1 135px}#dashboard .pre-controls label:first-child,#dashboard .pre-controls label:last-child{flex-basis:100%}#dashboard .pre-chart-panel{padding:15px}}
