.performance-dashboard{margin:0 0 32px;color:#26251f}
.performance-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:4px 0 14px}
.performance-heading h2{font-size:27px;letter-spacing:-.5px;margin:5px 0 7px;font-weight:600}
.performance-heading p{color:#79776f;margin:0;font-size:13px}
.performance-controls{display:flex;align-items:end;gap:18px;flex-shrink:0}
.performance-controls label,.performance-range label{display:grid;gap:5px;color:#727065;font-size:12px}
.performance-controls select,.performance-range input{background:#fff;border:1px solid #ddd9cd;border-radius:8px;padding:9px 12px;color:#343127;font:inherit;font-size:13px}
.performance-period-note{font-size:12px;color:#858174;margin-bottom:17px}
.performance-range{display:flex;align-items:end;gap:12px;margin:15px 0}
.performance-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}
.performance-metric{background:#fff;border:1px solid #e7e2d6;border-radius:12px;padding:20px 22px;display:flex;flex-direction:column;min-width:0}
.performance-metric>span{font-size:12px;color:#777262}
.performance-metric>strong{font-size:clamp(21px,2.3vw,32px);font-weight:600;letter-spacing:-1px;margin:12px 0 9px;white-space:nowrap}
.performance-metric>small{font-size:11px;color:#898475}
.performance-metric.score-metric{background:#25251f;border-color:#25251f;color:#e0bb6d}
.score-metric>span{color:#eee6d2}.score-metric>small{color:#b9b5a6}
.performance-team{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,2.2fr);gap:20px;margin:0 0 22px}
.performance-dashboard .panel{margin:0;overflow:hidden}
.performance-dashboard .panel-heading{padding:20px 22px;border-bottom:1px solid #eeece5;gap:10px}
.performance-dashboard h3{font-size:16px;margin:0;color:#343129}
.performance-dashboard .panel-heading p{font-size:11px;color:#858072;margin:5px 0 0}
.performance-pill{display:inline-block;background:#f2f0e9;color:#77705c;padding:5px 8px;border-radius:5px;font-size:10px;font-weight:500}
.performance-pill.received{background:#eaf2e9;color:#486342}.performance-pill.voided{background:#f6ebe8;color:#99634d}
.performance-rank-row{display:flex;align-items:center;gap:12px;padding:19px 22px;border-bottom:1px solid #eeece5}
.performance-place{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#eee5d0;color:#8e702e;font-size:12px;font-weight:600;flex-shrink:0}
.performance-rank-row>div{flex:1;min-width:0}.performance-rank-row strong{display:block;font-size:13px}
.performance-rank-row small{display:block;color:#928b7b;font-weight:400;font-size:10px;margin-top:4px}
.performance-rank-row span:not(.performance-place){display:block;font-size:10px;color:#6f6b5f;margin-top:7px}
.performance-rank-row>b{text-align:right;white-space:nowrap;font-size:16px;color:#8e702e;font-weight:600}
.performance-table-scroll{overflow:auto}.performance-dashboard table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}
.performance-dashboard th{font-weight:500;text-align:right;font-size:10px;letter-spacing:.2px;color:#8c8678;background:#fbfaf7;padding:12px 14px}
.performance-dashboard td{padding:17px 14px;text-align:right;border-top:1px solid #efede6}
.performance-dashboard th:first-child,.performance-dashboard td:first-child{text-align:left;padding-left:22px}
.performance-dashboard td strong{display:block;font-size:12px;font-weight:500}
.performance-dashboard td small{display:block;color:#938c7b;font-size:10px;margin-top:5px}
.performance-dashboard td.performance-total{font-weight:600;color:#796130}
.performance-table-note,.performance-unassigned{font-size:10px;line-height:1.6;color:#8b8577;padding:12px 22px;margin:0;border-top:1px solid #efede6}
.performance-unassigned{color:#916e31;background:#fdf9ed}
.performance-empty{text-align:center!important;padding:32px 22px!important;color:#918978;font-size:12px;line-height:1.8;white-space:normal}
.performance-ledger th,.performance-ledger td{text-align:left}.performance-ledger td:nth-child(4),.performance-ledger td:nth-child(5),.performance-ledger th:nth-child(4),.performance-ledger th:nth-child(5){text-align:right}
.performance-ledger .primary{font-size:12px;padding:10px 15px}.turnover-allocation-cell{white-space:normal;max-width:250px;line-height:1.65}
.turnover-voided{opacity:.6}.performance-footnote{font-size:11px;color:#8f897c;line-height:1.7;margin:14px 3px 0}
.performance-loading{padding:35px;color:#88806e;font-size:13px;text-align:center}
.productivity-trend-controls{display:flex;align-items:end;gap:12px;padding:16px 22px 6px;flex-wrap:wrap}
.productivity-trend-controls label{display:grid;gap:5px;font-size:10px;color:#8b826f}
.productivity-trend-controls select{padding:7px 10px;background:#fff;border:1px solid #e2ddcf;border-radius:6px;font:inherit;font-size:12px;color:#4f493d;max-width:230px}
.productivity-trend-controls>span{font-size:10px;color:#978c79;margin-left:auto;padding-bottom:8px}
.productivity-trend-scroll{overflow-x:auto;padding:8px 18px 0}
.productivity-trend-chart{display:block;width:100%;min-width:530px;height:auto}
.productivity-grid{stroke:#eae6dc;stroke-width:1;stroke-dasharray:3 4}
.productivity-axis{fill:#8b8476;font-size:10px;font-family:inherit}
.productivity-axis.is-today{fill:#9a772e;font-weight:600}
.productivity-cursor{stroke:#ba9e61;stroke-width:1;stroke-dasharray:3 3;opacity:0;pointer-events:none}
.productivity-day{cursor:crosshair;outline:none}.productivity-day.selected .productivity-cursor,.productivity-day:focus .productivity-cursor{opacity:.65}
.productivity-day:focus rect{fill:#ba9e6112;stroke:#ba9e61;stroke-width:1}
.productivity-legend{display:flex;gap:9px 18px;flex-wrap:wrap;padding:4px 24px 16px;font-size:11px;color:#716956}
.productivity-legend>span,.productivity-day-values>span{display:inline-flex;align-items:center;gap:6px}
.productivity-legend i,.productivity-day-values i{display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0}
.productivity-day-readout{margin:0 22px 16px;background:#f8f6ef;border:1px solid #eeeadf;border-radius:7px;padding:12px 14px;min-height:67px;font-size:11px;color:#6d6453}
.productivity-day-readout>strong{display:block;font-size:11px;font-weight:600;margin-bottom:8px;color:#514631}
.productivity-day-values{display:flex;gap:8px 17px;flex-wrap:wrap}.productivity-day-values b{color:#463b28;margin-left:2px}
.productivity-zero{font-size:12px;color:#8e8066;padding:0 24px 12px;margin:0}
#turnoverEditorHost{scroll-margin-top:100px}.performance-dashboard .turnover-editor{margin-top:24px}
.turnover-editor .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.turnover-editor fieldset{border:1px solid #e4dece;border-radius:8px;margin:22px 0;padding:18px}
.turnover-editor legend{font-size:14px;padding:0 7px;font-weight:600}.turnover-editor fieldset>p{font-size:12px;line-height:1.6;color:#8b806d;margin:0 0 16px}
.turnover-allocation,.turnover-payment{display:grid;grid-template-columns:2fr 1.2fr 1fr;gap:15px;align-items:end;margin:12px 0}
.turnover-allocation label,.turnover-payment label{display:grid;gap:7px;font-size:12px;color:#756c5b}
.turnover-editor input,.turnover-editor select{padding:10px;border:1px solid #ded7c7;border-radius:6px;min-width:0;width:100%;background:#fff;color:#3c3427;font:inherit}
.turnover-editor input[readonly]{background:#f4f2ed}.turnover-editor [hidden]{display:none!important}
.turnover-listing-value{display:grid;gap:8px;background:#f8f4e9;border:1px solid #e5d8b8;border-radius:8px;padding:18px;margin:20px 0;color:#786034;font-size:12px}
.turnover-listing-value strong{font-size:27px;color:#8b6c30;font-weight:600}.turnover-listing-value small{color:#887b62;font-size:11px}
.performance-ledger th:nth-child(6),.performance-ledger td:nth-child(6){text-align:right}
.turnover-inline-actions{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:12px}
#turnoverShareTotal{color:#546b48}#turnoverShareTotal.invalid{color:#ac473d}
.turnover-editor .turnover-checkbox{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.6}
.turnover-checkbox input{width:16px;height:16px;flex-shrink:0}
#turnoverStatus{color:#9b4035;font-size:13px}#turnoverEditorHost .form-actions{margin-top:20px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1050px){.performance-team{grid-template-columns:1fr}.performance-ranking-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.performance-metric{padding:17px}.performance-metric>strong{font-size:24px}}
@media(max-width:700px){.performance-heading{align-items:start;flex-direction:column}.performance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-ranking-list{display:block}.turnover-editor .field-grid{grid-template-columns:1fr}.turnover-allocation,.turnover-payment{grid-template-columns:1fr}.performance-controls{flex-wrap:wrap}.performance-dashboard .panel-heading{flex-wrap:wrap}}
