/* STARONE_V27_1_95_PERFORMANCE_STATISTICS_DASHBOARD */
/* STARONE_V27_1_96_PERFORMANCE_STATISTICS_SHELL_AND_VIEWPORT_REPAIR */
/* STARONE_V27_1_97_PERFORMANCE_STATISTICS_ALL_THEME_INHERITANCE */
/* STARONE_V27_1_98_PERFORMANCE_STATISTICS_TRADE_MODE_FILTER */
/* STARONE_V27_2_2_PERFORMANCE_STATISTICS_INTERACTION_REPAIR */
body[data-page="performance-statistics"]{background:var(--bg)!important;color:var(--text)!important;overflow:hidden}
body[data-page="performance-statistics"] .app-shell[data-vnext-shell]>.app-header{background:var(--nav)!important;border-color:var(--line)!important;box-shadow:0 1px 0 color-mix(in srgb,var(--line) 72%,transparent)!important;color:var(--text)!important}
body[data-page="performance-statistics"] .app-header :where(.brand b,.vnext-page-context strong,.header-actions){color:var(--text)!important}
body[data-page="performance-statistics"] .app-header :where(.vnext-page-context small,.brand small){color:var(--muted)!important}
body[data-page="performance-statistics"] .app-header :where(.icon-btn,.avatar,.badge.soft,.logout-btn){background:var(--surface)!important;border-color:var(--line)!important;color:var(--text)!important}
body[data-page="performance-statistics"] .vnext-app-body{background:var(--bg)!important;min-height:0}
body[data-page="performance-statistics"] .vnext-rail{background:var(--nav)!important;border-color:var(--line)!important;box-shadow:var(--shadow)!important}
body[data-page="performance-statistics"] .vnext-rail :where(.vnext-nav-item,.vnext-rail-toggle){color:var(--muted)!important}
body[data-page="performance-statistics"] .vnext-rail .vnext-nav-item.active{background:var(--primary2)!important;border-color:var(--primary)!important;color:var(--primary)!important}
body[data-page="performance-statistics"] .vnext-app-body{height:100%;min-height:0;overflow:hidden}
body[data-page="performance-statistics"] #mainContent{max-width:none!important;margin:0!important;padding:6px!important;height:100%!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:none;background:var(--bg)!important}
body[data-page="performance-statistics"] #mainContent::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
body[data-page="performance-statistics"] #breadcrumb{display:none!important}
body[data-page="performance-statistics"] #content{height:auto!important;min-height:100%;padding:0!important;max-width:none!important;overflow:visible!important;background:transparent!important}
.ps-dashboard{--ps-bg:var(--bg);--ps-card:var(--surface);--ps-card2:var(--surface2);--ps-line:var(--line);--ps-text:var(--text);--ps-muted:var(--muted);--ps-green:var(--green);--ps-red:var(--red);--ps-blue:var(--primary);color:var(--ps-text);background:linear-gradient(180deg,var(--bg),var(--bg2));min-height:100%;padding:8px;border-radius:12px;font-size:12px;line-height:1.35;overflow:hidden}
.ps-dashboard *{box-sizing:border-box}.ps-dashboard h1,.ps-dashboard h2,.ps-dashboard h3,.ps-dashboard h4,.ps-dashboard p{margin:0}.ps-dashboard button{font:inherit}.ps-dashboard .positive{color:var(--ps-green)!important}.ps-dashboard .negative{color:var(--ps-red)!important}.ps-muted{color:var(--ps-muted)}
.ps-page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 7px}.ps-page-head h1{font-size:21px;letter-spacing:-.02em}.ps-page-head p{color:var(--ps-muted);font-size:11px;margin-top:2px}.ps-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.ps-toolbar .btn{min-height:32px;padding:6px 10px;border-color:var(--ps-line);background:var(--ps-card);color:var(--ps-text)}.ps-toolbar .btn.primary{background:var(--ps-blue);border-color:var(--ps-blue);color:white}.ps-toolbar .icon-only{width:34px;padding:0;font-size:18px}
.ps-mode-switch{display:inline-grid;grid-template-columns:repeat(3,minmax(52px,1fr));align-items:center;padding:2px;border:1px solid var(--ps-line);border-radius:8px;background:var(--ps-card2);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ps-line) 30%,transparent)}.ps-mode-switch button{min-height:26px;padding:4px 9px;border:0;border-radius:6px;background:transparent;color:var(--ps-muted);font-size:10px;font-weight:800;letter-spacing:.035em;cursor:pointer;transition:background .15s ease,color .15s ease,box-shadow .15s ease}.ps-mode-switch button:hover{color:var(--ps-text);background:color-mix(in srgb,var(--ps-blue) 10%,transparent)}.ps-mode-switch button.active{background:var(--ps-blue);color:#fff;box-shadow:0 2px 8px color-mix(in srgb,var(--ps-blue) 32%,transparent)}.ps-mode-switch button:focus-visible{outline:2px solid var(--ps-blue);outline-offset:2px}
.ps-profitability,.ps-panel{border:1px solid var(--ps-line);background:linear-gradient(180deg,color-mix(in srgb,var(--ps-card) 96%,var(--ps-blue) 4%),var(--ps-card));border-radius:9px;box-shadow:var(--shadow);min-width:0}.ps-profitability{padding:8px;margin-bottom:8px}.ps-profitability>header,.ps-panel>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.ps-profitability>header{padding:0 4px 7px}.ps-profitability h3,.ps-panel h3{font-size:11px;letter-spacing:.035em;color:var(--ps-green);text-transform:uppercase}.ps-profitability>header span,.ps-chip{font-size:10px;color:var(--ps-muted)}
.ps-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.ps-kpi{border:1px solid var(--ps-line);background:var(--ps-card2);border-radius:7px;padding:7px 8px;min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:5px;overflow:hidden}.ps-kpi>div{display:flex;flex-direction:column;min-width:0}.ps-kpi span{color:var(--ps-muted);font-size:10px;white-space:nowrap}.ps-kpi strong{font-size:17px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ps-kpi small{font-size:9px;margin-top:2px;white-space:nowrap}.ps-spark{width:92px;max-width:38%;height:34px;overflow:visible;filter:drop-shadow(0 2px 4px color-mix(in srgb,var(--ps-green) 24%,transparent))}
.ps-grid{display:grid;gap:8px;margin-bottom:8px;min-width:0}.ps-grid-top{grid-template-columns:1.15fr 1fr .95fr}.ps-grid-mid{grid-template-columns:1.15fr .72fr 1.08fr}.ps-grid-bottom{grid-template-columns:1fr 1.45fr}.ps-panel{padding:8px;min-height:0}.ps-panel>header{margin-bottom:6px}.ps-panel h4{font-size:10px;color:var(--ps-text);margin:6px 0}.ps-chip{border:1px solid var(--ps-line);border-radius:5px;padding:3px 7px}
.ps-chart{width:100%;height:clamp(142px,17.5vh,174px);display:block}.ps-grid line{stroke:var(--ps-line);stroke-width:1}.ps-grid text{fill:var(--ps-muted);font-size:10px}.ps-line{stroke:var(--ps-green);stroke-width:2.1;vector-effect:non-scaling-stroke}.ps-area{fill:color-mix(in srgb,var(--ps-green) 20%,transparent)}.ps-last-dot{fill:var(--ps-green);stroke:var(--ps-card);stroke-width:1.5}.ps-bars{height:clamp(142px,17.5vh,174px);display:flex;align-items:flex-end;gap:7px;padding:10px 4px 2px;border-bottom:1px solid var(--ps-line)}.ps-bar-col{flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:10px}.ps-bar-track{height:138px;width:100%;display:flex;align-items:flex-end;justify-content:center}.ps-bar{width:min(24px,65%);min-height:2px;background:linear-gradient(#378cff,#1d62dd);border-radius:3px 3px 0 0}.ps-bar.negative{background:linear-gradient(#ff7277,#d94a50)}.ps-bar-col span{font-size:9px;color:var(--ps-muted);margin-top:5px}
.ps-calendar-head{display:flex;justify-content:flex-end;color:var(--ps-text);font-size:11px;margin-bottom:4px}.ps-weekdays,.ps-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.ps-weekdays span{text-align:center;color:var(--ps-muted);font-size:9px}.ps-calendar>div{height:24px;border:1px solid var(--ps-line);border-radius:3px;display:grid;place-items:center;font-size:10px;background:var(--ps-card2)}.ps-calendar .gain{background:color-mix(in srgb,var(--ps-green) 42%,var(--ps-card2));color:var(--ps-text)}.ps-calendar .loss{background:color-mix(in srgb,var(--ps-red) 42%,var(--ps-card2));color:#fff}.ps-calendar .nodata{background:var(--ps-card2);color:var(--ps-muted)}.ps-calendar .outside{opacity:0}.ps-calendar-legend{display:flex;align-items:center;justify-content:flex-end;gap:5px;color:var(--ps-muted);font-size:8px;margin-top:6px}.ps-calendar-legend span{width:8px;height:8px;border-radius:2px}.ps-calendar-legend .gain{background:var(--ps-green)}.ps-calendar-legend .loss{background:var(--ps-red)}.ps-calendar-legend .nodata{background:var(--ps-line)}
.ps-insight-split{display:grid;grid-template-columns:.92fr 1.08fr;gap:10px;align-items:center}.ps-donut-wrap{display:grid;grid-template-columns:120px 1fr;gap:8px;align-items:center}.ps-donut{width:112px;height:112px;border-radius:50%;display:grid;place-items:center;position:relative}.ps-donut:after{content:"";position:absolute;inset:25px;border-radius:50%;background:var(--ps-card);border:1px solid var(--ps-line)}.ps-donut>div{z-index:1;text-align:center;display:flex;flex-direction:column}.ps-donut strong{font-size:12px}.ps-donut span{font-size:8px;color:var(--ps-muted)}.ps-legend{display:flex;flex-direction:column;gap:5px;min-width:0}.ps-legend>div{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:5px;min-width:0}.ps-legend i{width:7px;height:7px;border-radius:50%}.ps-legend span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ps-muted);font-size:9px}.ps-legend b{font-size:9px;font-weight:600;color:var(--ps-text)}
.ps-matrix{display:grid;grid-template-columns:46px repeat(4,minmax(40px,1fr));gap:2px}.ps-matrix b{font-size:8px;color:var(--ps-muted);font-weight:600;text-align:center;padding:3px 1px}.ps-matrix span{font-size:8px;text-align:center;padding:5px 1px;border-radius:2px;background:var(--ps-card2)}.ps-matrix span.gain{background:color-mix(in srgb,var(--ps-green) 42%,var(--ps-card2));color:var(--ps-text)}.ps-matrix span.loss{background:color-mix(in srgb,var(--ps-red) 42%,var(--ps-card2));color:#fff}
.ps-table-wrap{overflow:auto;scrollbar-width:none}.ps-table-wrap::-webkit-scrollbar{display:none}.ps-dashboard table{width:100%;border-collapse:collapse;min-width:450px}.ps-dashboard th,.ps-dashboard td{padding:7px 5px;border-bottom:1px solid var(--ps-line);text-align:right;font-size:9px;white-space:nowrap}.ps-dashboard th:first-child,.ps-dashboard td:first-child{text-align:left}.ps-dashboard th{color:var(--ps-muted);font-weight:600}.ps-dashboard td{color:var(--ps-text)}.ps-rank{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:5px;background:var(--primary2);color:var(--primary);margin-right:6px}.ps-empty-cell{text-align:center!important;color:var(--ps-muted)!important}
.ps-mini-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.ps-mini{border:1px solid var(--ps-line);background:var(--ps-card2);border-radius:6px;padding:7px;min-width:0}.ps-mini span{display:block;color:var(--ps-muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ps-mini strong{font-size:15px;display:block;margin-top:2px;white-space:nowrap}.ps-duration{height:31px;display:flex;overflow:hidden;border-radius:4px;background:var(--ps-line)}.ps-duration span{height:100%;display:grid;place-items:center;color:#fff;font-size:9px;min-width:0}.ps-duration-legend{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:7px;color:var(--ps-muted);font-size:8px}.ps-duration-legend span{display:flex;align-items:center;gap:4px}.ps-duration-legend i{width:7px;height:7px;border-radius:50%}.ps-risk-metrics{grid-template-columns:repeat(6,minmax(0,1fr))}.ps-widget-risk .ps-chart{height:122px}.ps-widget-risk .ps-area{fill:color-mix(in srgb,var(--ps-red) 18%,transparent)}.ps-widget-risk .ps-line{stroke:var(--ps-red)}
.ps-observe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.ps-observe-grid article{border:1px solid var(--ps-line);background:var(--ps-card2);border-radius:7px;padding:9px;min-width:0}.ps-observe-grid article>span{color:var(--ps-muted);font-size:10px}.ps-observe-grid article>strong{display:block;font-size:21px;color:var(--ps-green);margin:5px 0}.ps-observe-grid .ps-spark{width:100%;max-width:none;height:42px}.ps-observe-grid dl{display:grid;grid-template-columns:1fr auto;gap:5px;margin:6px 0;font-size:9px}.ps-observe-grid dt{color:var(--ps-muted)}.ps-observe-grid dd{margin:0;color:var(--ps-text)}.ps-observe-grid small{font-size:9px}.ps-empty{height:clamp(142px,17.5vh,174px);display:grid;place-items:center;color:var(--ps-muted);text-align:center}.ps-empty>div{display:grid;gap:5px}.ps-empty b{color:var(--ps-text);font-size:11px}.ps-empty span{font-size:9px;color:var(--ps-muted)}.ps-load-error{max-width:580px;margin:8vh auto;padding:28px;background:var(--ps-card);border:1px solid var(--ps-line);border-radius:10px;text-align:center}.ps-load-error p{color:var(--ps-muted);margin:10px 0 18px}.ps-dashboard footer{text-align:right;color:var(--ps-muted);font-size:8px;padding:1px 5px 0}.ps-widget-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ps-widget-picker label{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid var(--border,#d5dce3);border-radius:8px}.ps-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}
.ps-dashboard.comfortable{padding:15px}.ps-dashboard.comfortable .ps-grid{gap:12px;margin-bottom:12px}.ps-dashboard.comfortable .ps-panel{padding:12px}.ps-dashboard.comfortable .ps-kpis{gap:10px}
@media(max-width:1280px){.ps-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.ps-grid-top{grid-template-columns:1.1fr 1fr}.ps-widget-calendar{grid-column:1/-1}.ps-grid-mid{grid-template-columns:1.2fr .8fr}.ps-widget-tradeQuality{grid-column:1/-1}.ps-grid-bottom{grid-template-columns:1fr}.ps-chart{height:175px}}
@media(max-width:1050px){body[data-page="performance-statistics"] #content{padding:4px!important}.ps-page-head{align-items:flex-start}.ps-grid-top,.ps-grid-mid,.ps-grid-bottom{grid-template-columns:1fr}.ps-widget-calendar,.ps-widget-tradeQuality{grid-column:auto}.ps-insight-split{grid-template-columns:1fr}.ps-observe-grid{grid-template-columns:1fr 1fr}.ps-observe-grid article:last-child{grid-column:1/-1}.ps-kpi strong{font-size:15px}}
@media(max-width:760px){.ps-mode-switch{order:-1;width:100%;grid-template-columns:repeat(3,1fr)}.ps-mode-switch button{min-height:30px}.ps-dashboard{border-radius:0;padding:7px;min-height:100vh}.ps-page-head{display:block}.ps-page-head h1{font-size:19px}.ps-toolbar{justify-content:flex-start;margin-top:8px}.ps-toolbar .btn:first-child{flex:1}.ps-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ps-kpi{min-height:62px}.ps-kpi .ps-spark{display:none}.ps-donut-wrap{grid-template-columns:110px 1fr}.ps-donut{width:104px;height:104px}.ps-mini-grid,.ps-risk-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ps-observe-grid{grid-template-columns:1fr}.ps-observe-grid article:last-child{grid-column:auto}.ps-chart,.ps-bars{height:160px}.ps-filter-form,.ps-widget-picker{grid-template-columns:1fr}}
@media(max-width:420px){.ps-mode-switch button{font-size:9px;padding:4px 5px}.ps-kpis{grid-template-columns:1fr}.ps-toolbar .btn{font-size:10px;padding:5px 7px}.ps-donut-wrap{grid-template-columns:1fr}.ps-donut{margin:auto}.ps-legend{margin-top:5px}.ps-matrix{grid-template-columns:38px repeat(4,minmax(34px,1fr))}.ps-duration-legend{justify-content:flex-start}.ps-page-head p{max-width:300px}}
@media(prefers-reduced-motion:reduce){.ps-dashboard *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(min-width:1281px) and (max-height:900px){
  .ps-dashboard{padding:6px;font-size:11px}.ps-page-head{margin-bottom:5px}.ps-page-head h1{font-size:19px}.ps-page-head p{font-size:9px}.ps-toolbar .btn{min-height:28px;padding:4px 8px;font-size:10px}
  .ps-profitability{padding:6px;margin-bottom:6px}.ps-kpis{gap:5px}.ps-kpi{min-height:54px;padding:5px 7px}.ps-kpi strong{font-size:15px}.ps-kpi .ps-spark{height:27px}
  .ps-grid{gap:6px;margin-bottom:6px}.ps-panel{padding:6px}.ps-panel>header{margin-bottom:4px}.ps-chart,.ps-bars,.ps-empty{height:136px}.ps-bar-track{height:108px}
  .ps-calendar>div{height:21px}.ps-donut{width:100px;height:100px}.ps-donut:after{inset:22px}.ps-donut-wrap{grid-template-columns:106px 1fr}.ps-matrix span{padding:4px 1px}.ps-dashboard th,.ps-dashboard td{padding:5px 4px}
  .ps-mini{padding:5px}.ps-mini strong{font-size:13px}.ps-duration{height:26px}.ps-widget-risk .ps-chart{height:104px}.ps-observe-grid article{padding:6px}.ps-observe-grid article>strong{font-size:18px;margin:3px 0}.ps-observe-grid .ps-spark{height:31px}.ps-observe-grid dl{margin:4px 0;gap:3px}
}
@media(max-width:760px){body[data-page="performance-statistics"]{overflow:hidden}body[data-page="performance-statistics"] #mainContent{height:100%!important;min-height:0!important;overflow-y:auto!important;padding-bottom:calc(var(--vx-bottom-nav-h,68px) + 10px)!important}body[data-page="performance-statistics"] #content{height:auto!important;min-height:100%;overflow:visible!important}}

/* Theme-specific contrast refinement without replacing the selected global theme. */
html[data-theme="light"] .ps-dashboard,html[data-theme="corporate"] .ps-dashboard,html[data-theme="contrast"] .ps-dashboard{--ps-chart-grid:color-mix(in srgb,var(--line) 78%,transparent);--ps-chart-area:color-mix(in srgb,var(--green) 14%,transparent)}
html[data-theme="dark"] .ps-dashboard,html[data-theme="terminal"] .ps-dashboard,html[data-theme="amoled"] .ps-dashboard{--ps-chart-grid:color-mix(in srgb,var(--line) 88%,transparent);--ps-chart-area:color-mix(in srgb,var(--green) 20%,transparent)}
.ps-dashboard .ps-grid line{stroke:var(--ps-chart-grid,var(--ps-line))}.ps-dashboard .ps-area{fill:var(--ps-chart-area,color-mix(in srgb,var(--ps-green) 18%,transparent))}
html[data-theme="contrast"] .ps-dashboard{font-size:13px}.ps-dashboard :where(button,input,select){color-scheme:light dark}

/* STARONE_V27_1_99_PERFORMANCE_STATISTICS_EFFECTIVE_MODE_TRUTH */
.ps-mode-switch button[title]{cursor:pointer}

/* STARONE_V27_2_0_PERFORMANCE_STATISTICS_MODE_REQUEST_CONSISTENCY */
.ps-dashboard{position:relative}.ps-mode-content{display:contents}.ps-mode-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:72px;margin:0 0 7px;padding:12px;border:1px solid var(--ps-line);border-radius:8px;background:var(--ps-card);color:var(--ps-text);box-shadow:0 8px 24px color-mix(in srgb,var(--ps-bg) 72%,transparent)}.ps-mode-loading b,.ps-mode-loading small{display:block}.ps-mode-loading small{margin-top:3px;color:var(--ps-muted);font-size:9px}.ps-mode-spinner{width:22px;height:22px;border:3px solid color-mix(in srgb,var(--ps-blue) 24%,var(--ps-line));border-top-color:var(--ps-blue);border-radius:50%;animation:ps-mode-spin-r27200 .8s linear infinite}.ps-dashboard.is-mode-loading .ps-mode-content{opacity:.16;filter:saturate(.35);pointer-events:none;user-select:none}.ps-dashboard.is-mode-loading .ps-toolbar button:disabled,.ps-dashboard.is-mode-loading .ps-mode-switch button:disabled{cursor:wait;opacity:.7}@keyframes ps-mode-spin-r27200{to{transform:rotate(360deg)}}
@media(max-width:760px){.ps-mode-loading{align-items:flex-start;justify-content:flex-start;min-height:62px}.ps-mode-loading small{max-width:280px}}
@media(prefers-reduced-motion:reduce){.ps-mode-spinner{animation:none;border-top-color:var(--ps-green)}}

/* STARONE_V27_2_2_PERFORMANCE_STATISTICS_INTERACTION_REPAIR */
.ps-panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}.ps-panel-actions>.ps-chip,.ps-panel-actions>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ps-widget-expand{width:26px;height:26px;display:inline-grid;place-items:center;flex:0 0 26px;border:1px solid var(--ps-line);border-radius:6px;background:var(--ps-card2);color:var(--ps-muted);font-size:15px;line-height:1;cursor:pointer}.ps-widget-expand:hover,.ps-widget-expand:focus-visible{background:var(--ps-blue);border-color:var(--ps-blue);color:#fff;outline:none;box-shadow:0 3px 10px color-mix(in srgb,var(--ps-blue) 28%,transparent)}
.performance-statistics-filter-modal .modal-card{width:min(1040px,96vw)!important}.performance-statistics-filter-modal #modalBody{padding:14px 18px;max-height:68vh}.performance-statistics-filter-modal .modal-head{padding:12px 18px}.performance-statistics-filter-modal .modal-actions{padding:10px 16px}.performance-statistics-filter-modal .ps-filter-form{grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px}.performance-statistics-filter-modal .ps-filter-form label{min-width:0}.performance-statistics-filter-modal .ps-filter-form :where(input,select){min-height:38px}.performance-statistics-filter-modal .ps-filter-form input:disabled{opacity:.78;cursor:not-allowed;background:var(--surface2)}.ps-filter-note{margin:8px 0 0}
.performance-statistics-widget-modal .modal-card{width:min(720px,94vw)!important;max-height:82vh}.performance-statistics-widget-modal .modal-head{padding:11px 16px}.performance-statistics-widget-modal #modalBody{padding:12px 14px;max-height:58vh}.performance-statistics-widget-modal .modal-actions{padding:9px 14px}.performance-statistics-widget-modal .ps-widget-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.performance-statistics-widget-modal .ps-widget-choice{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface2);color:var(--text);cursor:pointer}.performance-statistics-widget-modal .ps-widget-choice:hover{border-color:var(--primary);background:color-mix(in srgb,var(--primary2) 65%,var(--surface))}.performance-statistics-widget-modal .ps-widget-choice input{appearance:auto;width:18px!important;height:18px!important;min-width:18px;margin:0;padding:0;accent-color:var(--primary)}.performance-statistics-widget-modal .ps-widget-choice span{font-size:11px;line-height:1.2}.performance-statistics-widget-modal .ps-widget-note{margin:8px 0 0;font-size:10px}
.performance-statistics-widget-view-modal .modal-card{width:min(1320px,98vw)!important;height:min(88vh,900px);max-height:92vh}.performance-statistics-widget-view-modal .modal-head{padding:11px 16px}.performance-statistics-widget-view-modal #modalBody{flex:1;min-height:0;max-height:none;padding:12px;overflow:auto}.performance-statistics-widget-view-modal .modal-actions{padding:8px 12px}.ps-widget-fullview{height:100%;min-height:0}.ps-widget-fullview>.ps-panel,.ps-widget-fullview>.ps-profitability{height:100%;min-height:0;margin:0;padding:14px;border-radius:10px}.ps-widget-fullview .ps-widget-fullview-panel{display:flex;flex-direction:column}.ps-widget-fullview .ps-widget-fullview-panel>header{flex:0 0 auto}.ps-widget-fullview .ps-chart{width:100%;height:min(58vh,560px)}.ps-widget-fullview .ps-bars,.ps-widget-fullview .ps-empty{height:min(58vh,560px)}.ps-widget-fullview .ps-widget-risk .ps-chart{height:min(48vh,460px)}.ps-widget-fullview .ps-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ps-widget-fullview .ps-kpi{min-height:90px}.ps-widget-fullview .ps-kpi strong{font-size:22px}.ps-widget-fullview .ps-observe-grid{height:100%;align-items:stretch}.ps-widget-fullview .ps-observe-grid article{display:flex;flex-direction:column;justify-content:center}.ps-widget-fullview .ps-table-wrap{max-height:62vh;overflow:auto;scrollbar-width:thin}.ps-widget-fullview .ps-dashboard table{min-width:640px}
@media(max-width:900px){.performance-statistics-filter-modal .ps-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-statistics-widget-modal .ps-widget-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.ps-widget-fullview .ps-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-statistics-widget-view-modal .modal-card{height:90vh}}
@media(max-width:560px){.performance-statistics-filter-modal .ps-filter-form,.performance-statistics-widget-modal .ps-widget-picker{grid-template-columns:1fr}.performance-statistics-widget-modal .modal-card,.performance-statistics-filter-modal .modal-card{width:100%!important;max-height:94vh}.ps-widget-fullview .ps-kpis{grid-template-columns:1fr}.performance-statistics-widget-view-modal #modalBody{padding:8px}.ps-widget-fullview>.ps-panel,.ps-widget-fullview>.ps-profitability{padding:9px}.ps-widget-expand{width:30px;height:30px;flex-basis:30px}}

