/* PaintOps printable Job Profit Report (standalone document served by
   job-financials-addon.php; loaded via the enqueue API). */
                body {
                    font-family: Arial, sans-serif;
                    color: #111;
                    background: #fff;
                    margin: 30px;
                    font-size: 14px;
                    line-height: 1.4;
                }
                .report-wrap {
                    max-width: 850px;
                    margin: 0 auto;
                }
                .top-bar {
                    display: flex;
                    justify-content: space-between;
                    gap: 20px;
                    border-bottom: 2px solid #111;
                    padding-bottom: 14px;
                    margin-bottom: 20px;
                }
                h1 {
                    margin: 0 0 6px;
                    font-size: 26px;
                }
                h2 {
                    font-size: 17px;
                    margin: 24px 0 8px;
                    border-bottom: 1px solid #ccc;
                    padding-bottom: 5px;
                }
                table {
                    width: 100%;
                    border-collapse: collapse;
                    margin-top: 8px;
                }
                th, td {
                    padding: 8px;
                    border-bottom: 1px solid #ddd;
                    vertical-align: top;
                }
                th {
                    text-align: left;
                    background: #f4f4f4;
                }
                .right {
                    text-align: right;
                }
                .summary-grid {
                    display: grid;
                    grid-template-columns: repeat(4, 1fr);
                    gap: 10px;
                    margin-top: 15px;
                }
                .summary-box {
                    border: 1px solid #ccc;
                    padding: 10px;
                }
                .summary-box span {
                    display: block;
                    font-size: 12px;
                    color: #555;
                }
                .summary-box strong {
                    display: block;
                    font-size: 18px;
                    margin-top: 3px;
                }
                .receipts {
                    margin-top: 35px;
                    padding-top: 15px;
                    border-top: 1px solid #ccc;
                }
                .biz-head { font-size: 13px; color: #333; }
                .biz-head .biz-name { font-size: 18px; font-weight: bold; display: block; }
                .co-checkbox {
                    display: inline-block;
                    width: 14px; height: 14px;
                    border: 1.5px solid #333;
                    border-radius: 2px;
                }
                .kv-line { margin: 6px 0; font-size: 14px; }
                .co-foot {
                    margin-top: 40px;
                    padding-top: 14px;
                    border-top: 1px solid #ccc;
                    font-size: 13px;
                }
                .sign-line {
                    display: inline-block;
                    border-bottom: 1px solid #333;
                    min-width: 200px;
                    height: 16px;
                    vertical-align: bottom;
                }
                .co-notes {
                    border: 1px solid #bbb;
                    min-height: 90px;
                    margin-top: 6px;
                    border-radius: 3px;
                    padding: 6px 8px;
                    outline: none;
                }
                /* Type-over fill-ins (2026-07-22, Mike): pre-filled and
                 * editable on screen, but styled as the same plain
                 * underlined blanks when printed, nothing is saved,
                 * this only saves pen work before hitting Print. */
                .co-fill {
                    border: 0;
                    border-bottom: 1px solid #333;
                    background: transparent;
                    font: inherit;
                    color: inherit;
                    padding: 0 2px;
                    outline: none;
                }
                .receipt-page {
                    page-break-before: always;
                    margin-top: 40px;
                    padding-top: 20px;
                    border-top: 2px solid #111;
                }
                .receipt-page .cap {
                    font-size: 13px;
                    margin-bottom: 10px;
                }
                .receipt-page img {
                    display: block;
                    max-width: 100%;
                    max-height: 8.6in;
                    margin: 0 auto;
                    border: 1px solid #ccc;
                }
                @media print {
                    .receipt-page { margin-top: 0; border-top: none; }
                }
                .screen-actions {
                    margin-bottom: 20px;
                }
                @media print {
                    .screen-actions {
                        display: none;
                    }
                    body {
                        margin: 0.4in;
                    }
                    .summary-grid {
                        grid-template-columns: repeat(4, 1fr);
                    }
                }
