.attendance-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(590px,1.12fr);gap:20px;align-items:start}.attendance-layout #attendance-list,.attendance-layout #attendance-calendar{min-width:0}.attendance-layout #attendance-list .page-head{min-height:112px}.attendance-calendar{padding:18px;margin-top:112px}.attendance-calendar-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}.attendance-calendar-head h2{margin:0;color:#173b50;font-size:18px}.attendance-calendar-head p,.attendance-calendar-note{margin:5px 0 0;color:#8a9caa;font-size:11px}.attendance-month{display:flex;align-items:center;gap:6px;white-space:nowrap}.attendance-month strong{font-size:13px;color:#25475a}.attendance-month button{border:1px solid #dfe8ec;border-radius:7px;background:#fff;color:#167e71;padding:5px 8px}.attendance-weekdays,.attendance-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.attendance-weekdays span{text-align:center;padding:8px 0;color:#8196a4;font-size:11px}.attendance-day{display:flex;flex-direction:column;gap:3px;min-width:0;min-height:95px;text-align:left;padding:6px;border:1px solid #e9eff1;background:#fff;color:#344f60}.attendance-day:not(.outside):hover{background:#f2faf7;cursor:pointer}.attendance-day.outside{background:#fafcfc}.attendance-day.today{background:#f0faf7}.attendance-number{font-size:11px;font-weight:700}.attendance-day.today .attendance-number{color:#078d77}.attendance-event{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:4px;padding:2px 4px;background:#e8f6f0;color:#24725f;font-size:10px}.attendance-event[data-type="请假"],.attendance-event[data-type="病假"]{background:#fff2e5;color:#a66b1d}.attendance-event[data-type="迟到"],.attendance-event[data-type="早退"],.attendance-event[data-type="旷工"],.attendance-event[data-type="缺勤"]{background:#fcebea;color:#af514c}.attendance-more{font-size:10px;color:#8196a4}.attendance-calendar-note{margin-top:13px;line-height:1.5}@media(max-width:1350px){.attendance-layout{grid-template-columns:1fr}.attendance-layout #attendance-list .page-head{min-height:0}.attendance-calendar{margin-top:0}}@media(max-width:720px){.attendance-calendar{padding:10px}.attendance-calendar-head{display:block}.attendance-month{margin-top:10px}.attendance-day{min-height:75px;padding:3px}.attendance-event{font-size:9px;padding:2px}.attendance-weekdays span{font-size:10px}}
.attendance-employee-picker{grid-column:span 2;margin:0;padding:10px 12px;border:1px solid #dfe7ec;border-radius:8px;color:#637c8c;font-size:12px}.attendance-employee-picker legend{font-weight:600}.attendance-employee-picker em{color:#dd7777;font-style:normal}.attendance-select-all,.attendance-employee-list label{display:flex;align-items:center;gap:7px;cursor:pointer}.attendance-employee-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:150px;overflow:auto;margin:9px 0;padding:8px;background:#f8fbfb;border-radius:6px}.attendance-employee-picker input{accent-color:#0a9c83}.attendance-employee-picker small{color:#8a9caa}@media(max-width:720px){.attendance-employee-picker{grid-column:span 1}.attendance-employee-list{grid-template-columns:1fr}}
.attendance-summary-card{padding:18px 20px;margin-bottom:20px}.attendance-summary-card .section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.attendance-summary-card .field{min-width:150px}.attendance-summary-card .table th,.attendance-summary-card .table td{white-space:nowrap}.attendance-summary-note{font-size:11px;color:#8497a5;margin:5px 0 0}@media(max-width:720px){.attendance-summary-card .section-head{align-items:flex-start;flex-direction:column}}
.payroll-attendance{margin:18px 0;padding:12px 14px;border:1px solid #dcebe6;background:#f5fbf8;border-radius:8px;color:#315d54;font-size:12px;line-height:1.8}.payroll-attendance strong{display:block;color:#173b50;margin-bottom:3px}.payroll-attendance small{color:#738d85}
