/* Crewbook print: when a payslip is printed, only the payslip prints. */
@page { size: A4; margin: 14mm; }

html.printing, html.printing body { background: #fff !important; color: #111 !important; }
html.printing body > *:not(#print-area) { display: none !important; }
html.printing #print-area { display: block !important; }
html.printing #print-area * { color: #111 !important; box-shadow: none !important; }

html.printing .payslip { border: 1px solid #999; border-radius: 0; padding: 16px; display: block; background: #fff !important; }
html.printing .payslip > * + * { margin-top: 14px; }
html.printing .ps-head { display: flex; justify-content: space-between; border-bottom: 2px solid #111; padding-bottom: 10px; }
html.printing .ps-co { display: flex; gap: 10px; }
html.printing .ps-co-mark { width: 36px; height: 36px; border: 1.5px solid #111; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 800; background: #fff !important; }
html.printing .ps-co-name { font-weight: 800; font-size: 15px; }
html.printing .ps-co-addr, html.printing .ps-foot, html.printing .ps-kicker { font-size: 10.5px; color: #444 !important; }
html.printing .ps-title { text-align: right; }
html.printing .ps-month { font-size: 16px; font-weight: 800; }
html.printing .chip { border: 1px solid #777; padding: 1px 6px; border-radius: 4px; font-size: 10.5px; background: #fff !important; }
html.printing .chip svg { display: none; }
html.printing .ps-emp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 12px; margin: 0; }
html.printing .kv dt { font-size: 9.5px; text-transform: uppercase; letter-spacing: .03em; color: #555 !important; font-weight: 700; }
html.printing .kv dd { margin: 0; font-size: 11.5px; font-weight: 600; }
html.printing .ps-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
html.printing .ps-table { width: 100%; border-collapse: collapse; border: 1px solid #999; font-size: 11.5px; }
html.printing .ps-table th, html.printing .ps-table td { border-bottom: 1px solid #ccc; padding: 5px 8px; text-align: left; background: #fff !important; }
html.printing .ps-table .num { text-align: right; }
html.printing .ps-table thead th, html.printing .ps-table tfoot th, html.printing .ps-table tfoot td { font-weight: 800; border-bottom: 1px solid #999; }
html.printing .ps-net { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid #111; padding: 10px 12px; background: #fff !important; }
html.printing .ps-net-label { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
html.printing .ps-net-value { font-size: 20px; font-weight: 800; }
html.printing .ps-net-words { font-size: 11.5px; font-weight: 600; }
html.printing .icon { display: none; }
