﻿/* Section blocks (soft Excel-like fills) */
.rs-pretax {
    background: #e6f0ff;
}
/* light blue */
.rs-cash {
    background: #e9f6e9;
}
/* light green */
.rs-taxable {
    background: #e6fbff;
}
/* light cyan */
.rs-roth {
    background: #f1ecff;
}
/* light purple */

.rs-total-highlight {
    background-color: #f5f5f5 !important; /* light gray */
    border: 1px solid #e0e0e0;
}

/* light yellow like Excel totals */

.rs-table td {
    padding: 8px 6px;
}

.rs-table .text-right {
    text-align: right;
}

/* Hide cover on screen */
.print-cover {
    display: none;
}

@media print {

    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Hide UI (buttons/nav) */
    .mud-button-root,
    button,
    nav,
    header {
        display: none !important;
    }

    /* Orange background page */
    .print-cover {
        display: block !important;
        page-break-after: always;
        background: #f39a2e;
        padding: 36px; /* orange border thickness */
        box-sizing: border-box;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    /* White inner "paper" */
    .cover-page {
        background: #ffffff;
        padding: 56px 64px; /* slightly smaller to avoid overflow */
        padding-bottom: 90px; /* reserve space for footer */
        box-sizing: border-box;
        font-family: Arial, Helvetica, sans-serif;
        position: relative; /* anchor for absolute footer */
        page-break-inside: avoid;
        break-inside: avoid;
    }

    /* Header */
    .cover-head {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 70px;
    }

    .cover-title {
        font-size: 44px;
        font-weight: 800;
        text-decoration: underline;
        line-height: 1.1;
    }

    .cover-conf {
        font-size: 14px;
        font-weight: 700;
        margin-top: 10px;
    }

    /* Notes */
    .notes-label {
        font-size: 14px;
        text-decoration: underline;
        margin-bottom: 6px;
    }

    .notes-rule {
        border-top: 1px solid #222;
        margin-bottom: 14px;
    }

    .cover-notes p {
        font-size: 14px;
        margin: 0 0 10px 0;
    }

    /* Link readability */
    .notes-link {
        color: #0b2b57 !important; /* same as footer blue */
        text-decoration: none !important;
        font-weight: 600;
    }

    /* Footer bar fixed at bottom of white page */
    .cover-footer {
        background: #0b2b57;
        color: #fff;
        padding: 16px;
        font-size: 12px;
        line-height: 1.45;
        margin: 0;
    }

    .cover-footer-fixed {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
    }
}




