
.finReport-card {
    /*max-width: 880px;*/
    width: 100%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    border-radius: 2.5rem;
    padding: 2rem 2rem 2.5rem;
    box-shadow: 0 20px 40px -12px rgba(0,20,30,0.35),
        0 8px 24px -6px rgba(0,0,0,0.08);
}

.finReport-title {
    font-size: 1.9rem;
    font-weight: 600;
    color: #0b2a3b;
    margin-bottom: 1.75rem;
    border-bottom: 3px solid #b9d4e7;
    padding-bottom: 0.75rem;
}

.finReport-title small {
    font-size: 0.9rem;
    font-weight: 400;
    color: #2d5a72;
    float: right;
}

.finReport-wrapper {
    overflow-x: auto;
    border-radius: 1.8rem;
    background: #ffffffd9;
}

.finReport-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.finReport-table thead th {
    background: #1e3b4c;
    color: white;
    padding: 0.9rem 1.2rem;
    text-align: left;
}

.finReport-table td {
    padding: 0.7rem 1.2rem;
    border-bottom: 1px solid #e2edf5;
}

.finReport-account-name {
    font-weight: 500;
    color: #103546;
}

.finReport-amount {
    text-align: right;
    font-weight: 500;
}

.finReport-debit {
    color: #0d4c5e;
}

.finReport-credit {
    color: #1f5a3e;
}

.finReport-section-header td {
    background: #e7f0f8;
    font-weight: 700;
}

.finReport-section-subheader td {
    background: #e7fff1;
    font-weight: 700;
}

.finReport-section-total td {
    background: #ddeaf3;
    font-weight: 700;
}

.finReport-grand-total td {
    background: #1d3849;
    color: white;
    font-weight: 700;
}

.finReport-footer {
    margin-top: 1rem;
    text-align: right;
    font-size: 0.85rem;
}


.finReport-toolbar {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
    gap:20px;
    flex-wrap:wrap;
}

.finReport-toolbar-left,
.finReport-toolbar-right {
    display:flex;
    gap:10px;
    align-items:center;
}

.finReport-title {
    font-size:24px;
    font-weight:bold;
    margin-bottom:6px;
}

.finReport-description {
    color:#666;
    margin-bottom:20px;
}



.finReport-section-header{
    background:#334155;
    color:#fff;
    font-weight:bold;
    font-size:15px;
}

.finReport-header{
    background:#eef4ff;
    font-weight:600;
}

.finReport-header td:first-child{
    padding-left:18px;
}

.finReport-account td:first-child{
    padding-left:45px;
}

.finReport-account:hover{
    background:#f8fafc;
}

.finReport-header-total{
    background:#f9fafb;
    font-weight:600;
}

.finReport-header-total td:first-child{
    padding-left:18px;
}

.finReport-section-total{
    background:#dbeafe;
    font-weight:bold;
    font-size:15px;
}

.finReport-grand-total{
    background:#1e293b;
    color:#fff;
    font-size:16px;
    font-weight:bold;
}



.view-container { font-family: sans-serif; color: #333; }
.section-block { margin-bottom: 30px; }
.section-block h2 { border-bottom: 2px solid #eaeaea; padding-bottom: 8px; font-size: 1.25rem; }
.master-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.detail-group { display: flex; flex-direction: column; }
.detail-label { font-size: 0.85rem; color: #666; text-transform: uppercase; margin-bottom: 4px; }
.detail-value { font-size: 1.05rem; font-weight: 600; }
.display-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.display-table th, .display-table td { padding: 10px; border-bottom: 1px solid #eee; text-align: left; }
.display-table th { background-color: #fafafa; color: #555; font-weight: 600; }
.display-table tfoot td { border-top: 2px solid #333; border-bottom: none; background-color: #fafafa; }
.total-cell { color: #000; }

/* Custom CSS classes applied via the renderer */
.form-navigation-header { display: flex; justify-content: space-between; align-items: center; }

/* 🖨️ CSS Print Media Rule Stylesheet */
@media print {
    /* Hide everything outside of our container parent */
    body * {
        visibility: hidden;
    }
    
    /* Reveal only our master-child form wrapper element */
    .view-container, .view-container * {
        visibility: visible;
    }
    
    /* Position the report directly at the top left edge of the page */
    .view-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    
    /* Explicitly hide the action bar, button, and links from paper output */
    .no-print, .form-navigation-header, .print-btn, .back-link {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Clean formatting corrections for print engines */
    .card {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
}
