.pro-chart{display:block!important;min-width:0;background:#fff;border:1px solid #e1e7ef;border-radius:8px;overflow:hidden;--pc-blue:#2878c8}.pro-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid #edf1f6;flex-wrap:wrap}.pro-title{font-size:13px;font-weight:650;color:#263b51}.pro-title small{font-size:11px;font-weight:400;color:#8390a0;margin-right:10px}.pro-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.pro-chart button{cursor:pointer}.pro-chart button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.pro-actions button,.pro-draw-tools button,.pro-properties>button{width:31px;height:31px;min-height:0;padding:5px;display:grid;place-items:center;border:1px solid transparent;border-radius:4px;background:#fff;color:#607388}.pro-actions button:hover,.pro-draw-tools button:hover,.pro-chart button[aria-pressed=true]{background:#eaf2fc;color:#2878c8;border-color:#d5e5f9}.pro-actions select{height:30px;min-height:0;font-size:11px;padding:3px 8px;border:1px solid #e1e7ef}.pro-legend{display:flex;flex-wrap:wrap;gap:8px 14px;padding:8px 12px;font-size:11px;min-height:28px}.pro-legend label{display:flex;align-items:center;gap:5px}.pro-legend input{width:12px;height:12px;min-height:0;margin:0;accent-color:#2878c8}.pro-legend i{width:8px;height:8px;border-radius:50%}.pro-workbench{display:flex;direction:ltr;min-width:0}.pro-draw-tools{display:flex;flex-direction:column;gap:3px;padding:5px;border-right:1px solid #e6ecf3;flex:0 0 41px;max-height:560px;overflow:auto}.pro-draw-tools hr{width:70%;border:0;border-top:1px solid #e6ecf3}.pro-stage{position:relative;min-width:0;flex:1;height:420px;direction:ltr;overflow:hidden}.pro-tools .pro-stage{height:clamp(350px,58vh,600px)}.pro-canvas{position:absolute;inset:0;direction:ltr}.pro-chart .pro-overlay{position:absolute;top:0;pointer-events:none;overflow:hidden;max-width:none;min-width:0!important;min-height:0!important;max-height:none!important;direction:ltr}.pro-overlay .editable{pointer-events:visiblePainted;cursor:pointer}.pro-overlay .locked{pointer-events:none}.pro-overlay circle[data-handle]{pointer-events:all;cursor:move}.pro-overlay.drawing-active{pointer-events:all;touch-action:none;cursor:crosshair}.pro-overlay text{font:12px Tahoma,sans-serif;direction:rtl;unicode-bidi:plaintext}.pro-tooltip{min-height:30px;background:#f7f9fc;color:#526881;padding:7px 12px;font-size:11px;border-top:1px solid #edf1f6;direction:rtl}.pro-properties{display:flex;gap:10px;align-items:center;padding:8px 12px;border-top:1px solid #edf1f6;font-size:11px;flex-wrap:wrap}.pro-properties label{display:flex;align-items:center;gap:5px}.pro-properties input[type=color]{padding:0;width:26px;height:26px;min-height:0;border:0}.pro-properties select{height:26px;min-height:0;padding:2px 8px}.pro-properties input[type=checkbox]{width:13px;height:13px;min-height:0;accent-color:#2878c8}.pro-properties input[data-text]{font-size:11px;width:130px;height:28px;min-height:0;padding:4px}.pro-hint{color:#69819b}.pro-objects{padding:8px 12px;font-size:11px;border-top:1px solid #edf1f6}.pro-objects>div>div{display:flex;gap:8px;justify-content:space-between;margin:6px 0}.pro-objects button{font-size:11px;padding:3px 8px}.pro-objects .selected{color:#2878c8;border-color:#2878c8}.pro-foot{padding:5px 12px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:10px;color:#8a95a4}.pro-foot a{color:#647b93}.pro-compact .pro-stage{height:300px}.pro-preview .pro-stage{height:165px}.pro-preview .pro-toolbar,.pro-preview .pro-legend,.pro-preview .pro-tooltip,.pro-preview .pro-foot{display:none}.pro-preview{border:0}.mini-popover .pro-stage{height:170px}.pro-chart:fullscreen{display:flex!important;flex-direction:column;padding:8px;background:#fff}.pro-chart:fullscreen .pro-workbench{flex:1;min-height:0}.pro-chart:fullscreen .pro-stage{height:100%!important}.pro-chart:fullscreen .pro-draw-tools{max-height:none}#rateChart.pro-chart{min-width:0}.pro-canvas table{direction:ltr!important;margin:0!important;background:transparent!important;border:0!important}.pro-canvas td,.pro-canvas th{padding:0!important;border:0!important;position:static!important;background:transparent!important}.pro-canvas canvas{max-width:none!important}
@media(max-width:650px){.pro-toolbar{padding:7px}.pro-title{width:100%;font-size:12px}.pro-actions{gap:2px}.pro-actions select{max-width:130px}.pro-stage,.pro-tools .pro-stage{height:350px}.pro-draw-tools{flex-basis:35px;padding:2px}.pro-draw-tools button{width:29px}.pro-legend{gap:6px;padding:6px}.pro-properties{padding:6px;gap:6px}.pro-hint{width:100%}.pro-foot{font-size:9px}.pro-compact .pro-stage{height:260px}}
.pro-chart .pro-overlay{z-index:5}.pro-chart .pro-overlay.drawing-active{pointer-events:all}

.pro-chart.pro-expanded{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:100000!important;display:flex!important;flex-direction:column;background:#fff;border-radius:0;padding:8px;box-sizing:border-box}.pro-expanded .pro-workbench{flex:1;min-height:0}.pro-expanded .pro-stage{height:100%!important}.pro-expanded .pro-draw-tools{max-height:none}.pro-expanded .pro-objects{max-height:100px;overflow:auto}
/* Legend samples match the actual line and column shapes. */
.pro-legend i[data-shape=line],.pro-legend i[data-shape=dashed]{width:22px;height:0;border-radius:0;border-top:3px solid currentColor;background:none!important;flex-shrink:0}.pro-legend i[data-shape=dashed]{border-top-width:2px;border-top-style:dashed}.pro-legend i[data-shape=bar]{width:10px;height:12px;border-radius:2px;flex-shrink:0}.pro-compact .pro-legend{font-size:12px;gap:10px 18px}.pro-legend label:has(input:not(:checked)){opacity:.55}
.pro-values-toggle{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;padding:4px 8px;cursor:pointer}.pro-values-toggle input{width:14px;height:14px;min-height:0;margin:0;accent-color:#2878c8}.pro-chart .pro-value-labels text{font:600 11px 'Vazirmatn FD',Tahoma,sans-serif;direction:ltr;unicode-bidi:plaintext;paint-order:stroke;stroke-width:4;stroke-linejoin:round;pointer-events:none}
.pro-compact.pro-values-visible:not(.pro-preview) .pro-stage{height:420px}
.pro-display-unit{display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap}.pro-display-unit select{max-width:100px}
