/* HR landing: current work first, full records behind native disclosures. */
#hr-view>.page-title{margin-bottom:26px}
#hr-view>.page-title>.secondary{flex-shrink:0;min-height:44px}
#hr-view .dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.dashboard-priority{grid-column:1/-1;padding:22px 24px}
.dashboard-priority .dashboard-card-head h2{font-size:17px}
.dashboard-priority .dashboard-item{padding:16px 0}
.dashboard-node-date{display:block;white-space:nowrap;margin-top:3px}
.dashboard-priority .dashboard-item .detail-button{border:1px solid #d7e5df;border-radius:6px;padding:10px 14px;min-height:44px}
.dashboard-priority .dashboard-empty{padding:16px 0;margin:0}
.priority-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #edf1ee;padding-top:12px}
.priority-footer>span{font-size:11px;color:#82938a;line-height:1.8}
.priority-footer>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.priority-footer a{text-decoration:none}
.priority-footer .detail-button{min-height:44px;display:inline-flex;align-items:center}
.dashboard-compact{padding:18px 20px;min-width:0}
.dashboard-compact .dashboard-card-head h2{font-size:13px}
.dashboard-compact .dashboard-count{font-size:21px;min-height:44px;padding:7px 9px}
.dashboard-compact .dashboard-hint{margin:8px 0;font-size:11px}
.overview-more{padding:5px 0;min-height:36px;display:block}
.dashboard-team-summary{font-size:11px;color:#617c70;line-height:1.8;margin:8px 0 0}
.hr-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:30px 0 14px}
.hr-detail-heading h2{font-size:14px;font-weight:600;margin:0}
.hr-detail-heading>span{font-size:11px;color:#8a9a92}
.hr-fold{border:1px solid #e2e8e6;border-radius:9px;background:#fff;margin-top:12px;scroll-margin-top:20px;min-width:0}
.hr-fold>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none;padding:19px 22px;cursor:pointer;min-height:74px}
.hr-fold>summary::-webkit-details-marker{display:none}
.hr-fold>summary>span:first-child{min-width:0}
.hr-fold summary b{font-size:13px;font-weight:550;display:block;color:#294539}
.hr-fold summary small{display:block;font-size:11px;color:#8a9a92;margin-top:6px;line-height:1.7;overflow-wrap:anywhere}
.hr-fold-action{flex-shrink:0;font-size:11px;color:#298271;white-space:nowrap}
.hr-fold-action:after{content:'展开 ＋'}.hr-fold[open]>summary .hr-fold-action:after{content:'收起 −'}
.hr-fold[open]>summary{border-bottom:1px solid #edf1ee}
.hr-fold>summary:focus-visible{outline:3px solid #8acbc4;outline-offset:3px;border-radius:8px}
.hr-fold .employee-panel{border:0;border-radius:0;margin-top:0}
.hr-fold .summary{margin:0;border:0;border-bottom:1px solid #edf1ee;border-radius:0;padding:18px 24px}
.hr-fold .task-panel,.hr-fold .reporting-panel{border-top:1px solid #edf1ee}
#hr-more>.hr-fold{margin:14px 18px;border-color:#edf1ee}
#statistics-section>.dashboard-tools{padding:18px 22px;margin:0}
#statistics-section>.dashboard-note{margin:0;padding:0 22px 16px}
#reminder-section>.footnote{padding:0 22px 16px;margin:0;line-height:1.8}
@media(hover:hover) and (pointer:fine){.hr-fold>summary:hover{background:#fafcfb}}
@media(max-width:900px){.dashboard-compact{padding:15px}.priority-footer{align-items:flex-start;flex-direction:column}.priority-footer>div{justify-content:flex-start}}
@media(max-width:640px){
 #hr-view>.page-title{margin-bottom:20px}
 #hr-view .dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .dashboard-priority{padding:18px}.dashboard-priority .dashboard-item{gap:10px}
 .dashboard-priority .dashboard-item .detail-button{padding:9px 10px;font-size:11px}
 .dashboard-priority .dashboard-item p{font-size:10px}
 .dashboard-compact{padding:10px 11px}
 .dashboard-compact .dashboard-card-head{display:block}
 .dashboard-compact .dashboard-card-head h2{font-size:11px;white-space:nowrap}
 .dashboard-compact .dashboard-count{display:block;font-size:19px;margin:5px 0 0}
 .dashboard-compact .dashboard-hint,.dashboard-team-summary{display:none}
 .overview-more{font-size:10px;min-height:44px;white-space:nowrap}
 .hr-detail-heading{margin-top:24px}.hr-detail-heading>span{font-size:10px}
 .hr-fold>summary{padding:16px;gap:10px}.hr-fold summary small{font-size:10px}
 #hr-more>.hr-fold{margin:12px 10px}.hr-fold .summary{padding:18px}
}
