.performance-tabs,.attendance-subtabs{display:flex;align-items:center;gap:8px;padding:7px;margin:0 0 17px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(135deg,#211b1c,#171516);width:max-content;max-width:100%}
.performance-tabs button,.attendance-subtabs button{border:1px solid transparent;border-radius:8px;padding:10px 15px;background:transparent;color:var(--muted);font:inherit;font-size:11px;font-weight:750;white-space:nowrap;cursor:pointer;transition:background .16s,color .16s,border-color .16s}
.performance-tabs button:hover,.attendance-subtabs button:hover{background:#ffffff0c;color:var(--ink)}
.performance-tabs button.active,.attendance-subtabs button.active{background:#493337;border-color:#76565c;color:#fff;box-shadow:inset 0 1px #ffffff12,0 3px 12px #0003}
.performance-pane[hidden],.attendance-subpane[hidden]{display:none!important}
.performance-filters{display:grid;grid-template-columns:160px 160px minmax(240px,1fr);align-items:end;gap:12px;padding:16px;margin:0 0 16px;overflow:visible}
.performance-filters .field label{display:block;margin-bottom:6px;color:var(--muted);font-size:10px;font-weight:700}
.performance-filters input[type=date]{min-height:38px;width:100%;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:#211d1d;color:var(--ink);color-scheme:dark;font-size:11px}
.performance-picker{position:relative}
.performance-picker>summary{list-style:none;cursor:pointer;min-height:38px;padding:10px 12px;border:1px solid #493d3c;border-radius:9px;background:#211d1d;color:#f3ecea;font-size:11px;font-weight:650}
.performance-picker>summary::-webkit-details-marker{display:none}
.performance-picker>summary:after{content:"⌄";float:right;color:#cbbbbb}
.performance-picker[open]>summary:after{content:"⌃"}
.performance-picker-menu{position:absolute;z-index:12;top:calc(100% + 6px);left:0;width:min(380px,85vw);max-height:310px;overflow:auto;padding:10px;border:1px solid #493d3c;border-radius:12px;background:#211a1b;color:#f3ecea;box-shadow:0 16px 40px #0007}
.performance-picker-menu button{width:100%;padding:9px 10px;border:1px solid #5a4748;border-radius:8px;background:#3a2b2c;color:#fff;text-align:left;font-size:10px;font-weight:750;cursor:pointer}
.performance-picker-options{display:grid;gap:3px;margin-top:7px}
.performance-picker-options label{display:flex;align-items:center;gap:9px;padding:8px;border-radius:7px;color:#f3ecea;font-size:10px;cursor:pointer}
.performance-picker-options label:hover{background:#ffffff12}
.performance-picker-options input{accent-color:#d7a9b0}
.performance-table-panel .panel-head{gap:12px}
.performance-table-panel table{min-width:650px}
.performance-table-panel td{vertical-align:middle}
.performance-table-panel th{text-transform:uppercase}
.performance-source-note{padding:12px 16px;color:var(--muted);font-size:10px;line-height:1.5}
.late-count{display:inline-grid;min-width:28px;height:27px;place-items:center;border-radius:8px;font-size:11px;font-weight:800}
.late-green{background:#1f382b;color:#a8d5b7;border:1px solid #355c44}
.late-orange{background:#3a2f20;color:#efd09c;border:1px solid #6c5530}
.late-red{background:#3b2528;color:#f0adb3;border:1px solid #704147}
.assiduity-muted{display:block;margin-top:3px;color:var(--muted);font-size:9px}
@media(max-width:850px){.performance-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-filter-people{grid-column:1/-1}}
@media(max-width:700px){.performance-tabs,.attendance-subtabs{width:100%;overflow:auto}.performance-tabs button,.attendance-subtabs button{flex:1;padding:10px 8px}.performance-filters{grid-template-columns:1fr}.performance-filter-people{grid-column:auto}}
