@media print{body{background:#fff}.sidebar,.topbar,.page-actions,.toolbar,.btn,.modal-mask,#toastRoot{display:none!important}.app-shell{display:block;height:auto}.main-area,.content{display:block;overflow:visible;padding:0}.card,.print-area{box-shadow:none;border:0;border-radius:0}.table th,.table td{padding:5px 6px;font-size:12px} @page{size:A4 landscape;margin:8mm}}

/* v14 打印排班表 / 工资签收表优化 */
.print-page{display:flex;flex-direction:column;gap:16px}.print-control-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid rgba(220,38,38,.12);background:linear-gradient(135deg,#fff,#fff7f7);border-radius:18px}.print-control-card h3{margin:0 0 6px;font-size:22px}.print-control-card p{margin:0;color:#64748b}.print-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.print-paper{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:20px;box-shadow:0 12px 28px rgba(15,23,42,.08)}.print-title-row{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:10px;border-bottom:2px solid #111827;padding-bottom:10px}.print-title-row h2{margin:0;font-size:28px;letter-spacing:1px}.print-title-row span{font-weight:700;color:#64748b}.print-schedule-note,.print-salary-note{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:12px;padding:10px 12px;margin:10px 0 14px;font-weight:700}.print-schedule-table{min-width:1320px;font-size:12px}.print-schedule-table th,.print-schedule-table td{text-align:center;white-space:nowrap;padding:6px 7px}.print-schedule-table th small{display:block;color:#64748b;font-size:10px}.name-col{position:sticky;left:0;background:#fff;z-index:2;min-width:82px}.print-schedule-table .name-col small{display:block;color:#64748b}.ps-cell{font-weight:800;border-radius:8px}.ps-cell.work{background:#ecfdf5;color:#047857}.ps-cell.off{background:#fee2e2;color:#b91c1c}.ps-cell.half{background:#dbeafe;color:#1d4ed8}.ps-cell.leave{background:#fef3c7;color:#a16207}.ps-cell.empty{background:#f1f5f9;color:#64748b}.salary-sign-table th,.salary-sign-table td{text-align:center;padding:12px 10px}.salary-sign-table .sign-cell{height:48px;min-width:120px}.salary-print-footer{display:flex;justify-content:space-between;margin-top:18px;font-weight:700;color:#334155}
@media print{.no-print,.print-control-card{display:none!important}.print-paper{border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important}.print-title-row h2{font-size:22px}.print-schedule-table{min-width:0;width:100%;font-size:9px}.print-schedule-table th,.print-schedule-table td{padding:3px 4px}.name-col{position:static;min-width:56px}.ps-cell{border-radius:0}.salary-sign-table th,.salary-sign-table td{padding:8px 6px;font-size:11px}.salary-sign-table .sign-cell{height:42px}.salary-print-footer{font-size:12px}}
