/* QLCV v7.5.42 - sticky list headers, exports, compact task filter */
:root{--v759-top:58px}
.v759-sticky-shell{position:sticky;top:var(--v759-top);z-index:8;background:var(--bg,#f4f7fb);padding-top:2px;padding-bottom:4px;box-shadow:0 5px 10px rgba(15,76,129,.04)}
.v759-sticky-shell>.title{margin-bottom:8px;background:var(--bg,#f4f7fb)}
.v759-sticky-shell>.filters{margin-bottom:0}
#tasks .v759-task-filters{grid-template-columns:minmax(260px,2fr) minmax(150px,1fr) minmax(150px,1fr) minmax(145px,.9fr) auto auto;align-items:center}
#tasks .v759-task-filters>label{display:flex;align-items:center;gap:6px;white-space:nowrap;margin:0}
#tasks .v759-task-filters>label input{width:auto}
#tasks .v759-task-filters>#taskFilter{white-space:nowrap;min-width:74px}
.v759-export-btn{white-space:nowrap}
.v759-export-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:4px}.v759-export-form label{display:grid;gap:5px;font-weight:700;font-size:12px}.v759-export-form input,.v759-export-form select{width:100%;padding:9px;border:1px solid #cbd5e1;border-radius:8px}.v759-export-form .wide{grid-column:1/-1}.v759-export-note{border:1px solid #b2ddff;background:#eff8ff;color:#1849a9;border-radius:9px;padding:9px 11px;font-size:11px}.v759-export-actions{display:flex;justify-content:flex-end;gap:8px}
/* Bảng quản trị: phần tiêu đề cột luôn giữ khi cuộn danh sách. */
.adminpane .table.v759-scroll-table{max-height:calc(100vh - 250px);overflow:auto;position:relative}.adminpane .table.v759-scroll-table thead th,.table table thead th.v759-sticky-th{position:sticky;top:0;z-index:5;background:#fff;box-shadow:0 1px 0 #d8e1ea}
/* Tài liệu và chấm công đã có sticky thead; thêm vùng cuộn chuẩn để header thực sự luôn hiện. */
.document-table-wrap.v759-scroll-document{max-height:calc(100vh - 260px);overflow:auto}.attendance-table-wrap.v759-scroll-attendance{max-height:calc(100vh - 360px);overflow:auto}
.document-table-wrap.v759-scroll-document .document-table thead th,.attendance-table-wrap.v759-scroll-attendance .attendance-table th{top:0!important;z-index:6}
@media(max-width:1100px){#tasks .v759-task-filters{grid-template-columns:2fr 1fr 1fr}.v759-sticky-shell{position:relative;top:auto;box-shadow:none}.adminpane .table.v759-scroll-table,.document-table-wrap.v759-scroll-document,.attendance-table-wrap.v759-scroll-attendance{max-height:none}}
@media(max-width:760px){#tasks .v759-task-filters{grid-template-columns:1fr 1fr}.v759-export-form{grid-template-columns:1fr}.v759-export-form .wide{grid-column:auto}.v759-export-actions{justify-content:stretch}.v759-export-actions button{flex:1}.v759-sticky-shell{padding:0}}
@media(max-width:520px){#tasks .v759-task-filters{grid-template-columns:1fr}}
