/* Manager-only combined performance / ranking / monthly movement view. */
.performance-subnav{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;padding:5px;margin:0 0 21px;border:1px solid var(--line);border-radius:14px;background:var(--panel-alt);overflow-x:auto}
.performance-subtab{white-space:nowrap;padding:11px 17px;border:none;background:transparent;border-radius:10px;color:var(--muted);font-size:12px;font-weight:800;transition:background .15s,color .15s}
.performance-subtab.active{background:var(--orange-soft);color:var(--orange)}
.trend-view{display:grid;gap:17px;min-width:0}
.trend-header,.trend-chart-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}
.trend-header h2,.trend-chart-head h2{font-size:17px;margin:0 0 6px}
.trend-header p{margin:0}
.trend-filters{display:grid;grid-template-columns:1fr minmax(180px,1.55fr) .85fr .85fr;gap:12px;margin-top:21px}
.trend-filters label{display:grid;gap:7px;color:var(--muted);font-size:11px;font-weight:800}
.trend-filters .run-select{width:100%;min-width:0;height:42px;font-size:12px}
.trend-chart-card{padding-bottom:17px}
.trend-chart-head{align-items:center}
.trend-chart-viewport{width:100%;overflow-x:auto}
.trend-chart-svg{display:block;width:100%;min-width:480px;max-height:300px}
.trend-chart-grid{stroke:var(--line);stroke-width:1}
.trend-chart-tick,.trend-chart-label{font:12px system-ui,sans-serif;fill:var(--muted)}
.trend-chart-line{fill:none;stroke:var(--orange);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.trend-chart-dot{fill:var(--orange);stroke:var(--panel);stroke-width:3}
.trend-period-points{display:flex;gap:8px;overflow-x:auto;margin-top:12px}
.trend-period-points>span{display:flex;flex-direction:column;gap:4px;white-space:nowrap;padding:9px 12px;border-radius:9px;background:var(--panel-alt)}
.trend-period-points small{color:var(--muted);font-size:10px}
.trend-period-points strong{font-size:12px}
.trend-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.trend-summary>div{display:flex;flex-direction:column;gap:7px;padding:19px 20px;background:var(--panel);border:1px solid var(--line);border-radius:13px}
.trend-summary strong{font-size:26px;line-height:1;font-weight:850}
.trend-summary span{font-size:11px;font-weight:650;color:var(--muted)}
.trend-table-card{min-width:0}
.trend-table{font-variant-numeric:tabular-nums}
.trend-table th{white-space:nowrap}
.trend-table td{font-size:12px}
.trend-table .trend-number{text-align:right;white-space:nowrap}
.trend-table tr.trend-current{background:var(--orange-soft)}
.trend-person-button{padding:3px 0;border:0;background:transparent;text-align:left;font-weight:800;font-size:12px;color:var(--ink)}
.trend-person-button:hover{text-decoration:underline;color:var(--orange)}
.trend-up{color:var(--green)}
.trend-down{color:var(--red)}
.trend-muted{color:var(--muted);font-size:10px}
.trend-table-card>p{margin-top:14px;margin-bottom:0}
@media(max-width:1100px){.trend-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){
 .performance-subnav{width:100%;justify-content:space-around}
 .performance-subtab{flex:1;padding:11px 8px;font-size:11px}
 .trend-controls,.trend-chart-card,.trend-table-card{padding:16px}
 .trend-header{flex-wrap:wrap}
 .trend-summary{gap:7px}
 .trend-summary>div{padding:13px 9px}
 .trend-summary strong{font-size:23px}
 .trend-summary span{font-size:9px}
 .trend-filters{gap:9px}
 .trend-table td{padding:10px}
}
