.tax-rate-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.15rem 1rem !important;
}

.tax-rate-entry {
    min-width: 0;
}

.tax-pair-box input[readonly] {
    background: #eef2f4 !important;
    color: #40545d;
    cursor: not-allowed;
}

.version-marker {
    margin: .65rem 0 1rem;
    color: #667983;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.accepted-report-section {
    margin-bottom: 1rem;
}

.tax-section-total {
    grid-column: span 1;
    align-self: end;
    border: 2px solid #b79552;
    border-radius: 12px;
    background: #f7f1e5;
    overflow: hidden;
}

.tax-section-total > strong {
    display: block;
    padding: .5rem .75rem;
    background: #b79552;
    color: #fff;
}

.tax-section-total > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .42rem .75rem;
    border-top: 1px solid #ddcda9;
}

.tax-section-total span {
    color: #526873;
}

.tax-section-total .grand-total {
    background: #173b4a;
    color: #fff;
}

.tax-section-total .grand-total span {
    color: #fff;
}

@media (max-width: 900px) {
    .tax-rate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .tax-rate-grid {
        grid-template-columns: 1fr !important;
    }

}

@media print {
    .accepted-report-section {
        box-shadow: none !important;
        break-inside: auto;
    }

    .accepted-report-section table {
        font-size: 7.5pt;
    }

    .accepted-report-section tr {
        break-inside: avoid;
    }
}
