#leaveBalancePolicy{padding:20px;margin-bottom:20px;line-height:1.8}
#leaveBalancePolicy .table-wrap{margin-top:14px}
#page-leave-details .leave-balance-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
#page-leave-details .leave-balance-toolbar input{max-width:220px}
#leaveHistoryOpen{margin-left:auto}
.leave-history-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:14px;margin:0 0 14px;border:1px solid var(--border);border-radius:10px;background:var(--bg-secondary)}
.leave-history-form[hidden]{display:none}
.leave-history-form label{display:grid;gap:5px;font-size:12px;color:var(--text-secondary)}
.leave-history-form select,.leave-history-form input{min-width:150px}
.leave-history-note{flex:1;min-width:180px}
.leave-history-record{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.leave-history-record button{border:0;background:none;color:var(--danger);cursor:pointer;font-size:11px;padding:2px}
#page-leave-details .leave-balance-hint{font-size:12px;color:var(--text-secondary);line-height:1.8;margin:0 0 14px}
#page-leave-details .data-table th,#page-leave-details .data-table td{text-align:center;white-space:nowrap}
#page-leave-details .leave-balance-number{font-weight:700;color:#15803d}
#page-leave-details .is-unknown{color:#a16207}
#page-leave-details .is-negative{color:var(--danger)}
#page-leave-details .leave-balance-records{text-align:left;font-size:12px;line-height:1.8}
#page-leave-details summary{cursor:pointer}
#page-leave-details #leaveBalanceStatus{font-size:13px;margin-bottom:12px}
#leaveBalanceHead{position:sticky;top:0;z-index:5;background:#f6f8fb}
#leaveBalanceHead th{position:static!important;background:#f6f8fb}
#attTable td.att-status-cell[data-status="cyan"]{--att-status-fill:#67e8f9}
.office-att-cell.attendance-cyan{background:#67e8f9}
.office-att-cell.attendance-unpaid{background:#cbd5e1}
