.workforce-panel{flex-direction:column;gap:22px;margin-top:20px;display:flex}.workforce-panel>header{border:1px solid var(--line);background:var(--surface);border-radius:22px;justify-content:space-between;align-items:flex-end;padding:24px;display:flex}.workforce-panel>header span{color:var(--accent-ink);letter-spacing:2px;font-size:11px}.workforce-panel>header h3{margin:5px 0;font-size:24px}.workforce-panel>header p{color:var(--ink-soft);margin:0;font-size:13px}.workforce-panel>header button{min-height:42px}.workforce-message{color:var(--accent-ink);background:var(--accent-soft);border-radius:12px;margin:0;padding:12px 16px}.policy-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;display:grid}.policy-grid article{border:1px solid var(--line);background:var(--surface);box-shadow:var(--material-edge);border-radius:20px;padding:20px}.policy-grid article.inactive{opacity:.62}.policy-grid article>div:first-child{align-items:center;gap:12px;display:flex}.policy-grid i{width:44px;height:44px;color:var(--accent-ink);background:var(--accent-soft);border-radius:13px;place-items:center;font-style:normal;display:grid}.policy-grid span{flex-direction:column;flex:1;gap:4px;display:flex}.policy-grid small,.attendance-table small{color:var(--ink-soft);font-size:11px;display:block}.policy-grid em{color:var(--positive);font-size:12px;font-style:normal}.policy-grid dl{grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0;display:grid}.policy-grid dl div{background:var(--surface-soft);border-radius:11px;padding:10px}.policy-grid dt{color:var(--ink-soft);font-size:10px}.policy-grid dd{margin:4px 0 0;font-weight:700}.policy-grid article>p{min-height:40px;color:var(--ink-soft);font-size:13px}.policy-grid article>button{border:1px solid var(--line);background:0 0;border-radius:10px;width:100%;height:36px}.workforce-empty{text-align:center;color:var(--ink-soft);padding:70px}.workforce-modal{border:1px solid var(--line);background:var(--surface);border-radius:22px;width:min(760px,92vw);max-height:90vh;overflow:auto}.workforce-modal>header{border-bottom:1px solid var(--line);justify-content:space-between;padding:22px;display:flex}.workforce-modal h2{margin:0}.workforce-modal header p{color:var(--ink-soft);margin:6px 0 0;font-size:12px}.workforce-modal header button{border-radius:50%;width:36px;height:36px}.workforce-form{grid-template-columns:repeat(2,1fr);gap:16px;padding:22px;display:grid}.workforce-form label{color:var(--ink-soft);flex-direction:column;gap:8px;font-size:12px;display:flex}.workforce-form .wide{grid-column:1/-1}.workforce-form :is(input,select,textarea){border:1px solid var(--line);min-height:42px;color:var(--ink);background:var(--surface-soft);border-radius:10px;padding:0 12px}.workforce-form textarea{min-height:100px;padding-top:12px}.workforce-modal footer{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;padding:16px 22px;display:flex}.workforce-modal footer button{min-width:110px;height:40px}.attendance-search{grid-template-columns:1.2fr 1fr 1fr 1fr auto;gap:10px;display:grid}.attendance-search :is(input,select,button){border:1px solid var(--line);background:var(--surface);border-radius:11px;min-height:42px;padding:0 12px}.status-tabs{gap:8px;display:flex}.status-tabs button{background:var(--surface);border-radius:99px;padding:9px 18px}.status-tabs button.active{color:var(--hero-ink);background:var(--hero)}.attendance-table{border:1px solid var(--line);background:var(--surface);border-radius:18px;overflow:hidden}.attendance-table>div{border-bottom:1px solid var(--line);grid-template-columns:1fr 1.5fr 1.2fr 1.2fr .8fr;align-items:center;gap:10px;min-height:62px;padding:0 18px;display:grid}.attendance-table>div:first-child{min-height:44px;color:var(--ink-soft);background:var(--surface-soft);font-size:11px}.attendance-table>div:last-child{border-bottom:0}.attendance-table select{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;height:36px}@media (max-width:850px){.attendance-search{grid-template-columns:1fr 1fr}.attendance-table{overflow-x:auto}.attendance-table>div{min-width:760px}.workforce-form{grid-template-columns:1fr}}
.attendance-rule-summary{border:1px solid var(--line);background:var(--surface);border-radius:14px;align-items:center;gap:14px;padding:14px 18px;display:flex}.attendance-rule-summary span{color:var(--ink-soft);font-variant-numeric:tabular-nums}.attendance-rule-summary em{color:var(--positive);margin-left:auto;font-style:normal}
.employee-performance{min-width:0;color:var(--ui-text);grid-template-columns:minmax(0,1fr);gap:24px;margin-top:20px;display:grid}.employee-performance>header,.employee-performance-detail>header{justify-content:space-between;align-items:center;gap:16px;display:flex}.employee-performance h3,.employee-performance-detail h3{margin:0;font-size:22px}.employee-performance h4{margin:0 0 12px;font-size:16px}.employee-performance p,.employee-performance-detail p{margin:8px 0}.employee-performance>header p,.performance-note,.performance-filter-actions>span,.employee-performance small{color:var(--ui-muted);font-size:12px}.employee-performance button,.employee-performance-detail button{border:1px solid var(--ui-border);min-height:40px;color:var(--ui-text);background:var(--ui-panel);cursor:pointer;font:inherit;border-radius:10px;padding:8px 16px}.employee-performance button:focus-visible,.employee-performance-detail button:focus-visible,.performance-filters :is(input,select):focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.employee-performance button:disabled{opacity:.6;cursor:wait}.employee-performance button[aria-pressed=true]{border-color:var(--ui-accent);color:var(--ui-accent);background:var(--ui-accent-soft)}.employee-performance button.primary{color:var(--ui-on-accent);background:var(--ui-accent);border-color:var(--ui-accent)}.performance-filters,.performance-target{border:1px solid var(--ui-border);background:var(--ui-panel);border-radius:16px;padding:20px}.performance-periods{flex-wrap:wrap;gap:8px;margin-bottom:20px;display:flex}.performance-filter-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.performance-filter-grid label{min-width:0;color:var(--ui-muted);flex-direction:column;gap:8px;font-size:12px;display:flex}.performance-filter-grid :is(input,select){box-sizing:border-box;border:1px solid var(--ui-border);background:var(--ui-panel-soft);width:100%;min-width:0;min-height:42px;color:var(--ui-text);font:inherit;border-radius:10px;padding:8px 12px;font-size:14px}.performance-filter-actions{justify-content:flex-end;align-items:center;gap:12px;margin-top:20px;display:flex}.performance-filter-actions>span{margin-right:auto}.performance-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.performance-totals>div{border:1px solid var(--ui-border);background:var(--ui-panel);border-radius:16px;gap:8px;padding:20px 24px;display:grid}.performance-totals strong{color:var(--ui-accent);font-variant-numeric:tabular-nums;font-size:30px}.performance-categories{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;display:grid}:root .employee-performance .performance-categories button{text-align:left;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;display:flex}.performance-categories strong{font-variant-numeric:tabular-nums;font-size:18px}.performance-table-wrap{border:1px solid var(--ui-border);background:var(--ui-panel);border-radius:14px;overflow:auto}.employee-performance table{border-collapse:collapse;width:100%;min-width:720px;font-size:13px}.employee-performance :is(th,td){text-align:left;border-bottom:1px solid var(--ui-border);padding:14px 16px}.employee-performance thead th{color:var(--ui-muted);background:var(--ui-panel-soft);white-space:nowrap;font-weight:500}.employee-performance tbody th{font-weight:600}.employee-performance td small,.employee-performance th small{margin-top:6px;font-weight:400;display:block}.employee-performance .numeric{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.performance-target-values{flex-wrap:wrap;gap:32px;margin:16px 0;display:flex}.performance-target-values span{gap:8px;display:grid}.performance-target progress{width:100%;height:12px;accent-color:var(--ui-accent)}.performance-empty{text-align:center;color:var(--ui-muted);padding:40px 20px}.performance-error{border:1px solid var(--ui-border);color:var(--ui-danger,var(--ui-text));background:var(--ui-panel);border-radius:12px;padding:12px 16px}.employee-performance-detail{box-sizing:border-box;width:min(760px,100vw - 48px);max-height:85vh;color:var(--ui-text);border:1px solid var(--ui-border);background:var(--ui-panel);border-radius:20px;padding:24px;overflow:auto}.employee-performance-detail::backdrop{background:var(--ui-overlay,#00000073)}.employee-performance-detail .performance-totals{margin-top:20px}.employee-performance-detail dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.employee-performance-detail dt{color:var(--ui-muted);font-size:12px}.employee-performance-detail dd{overflow-wrap:anywhere;margin:8px 0 0}@media (max-width:1200px){.performance-filter-grid,.performance-categories{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:768px){.performance-filter-grid,.performance-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-totals strong{font-size:24px}.employee-performance>header{align-items:flex-start}}@media (max-width:480px){.performance-filter-grid,.performance-totals,.employee-performance-detail dl{grid-template-columns:1fr}.performance-filter-actions{flex-wrap:wrap}.performance-filter-actions>span{flex-basis:100%}}.org-performance-tabs{flex-wrap:wrap}.org-performance-tabs button{white-space:nowrap}.employee-performance>section{min-width:0}
