/**
 * Simulador da Reforma Tributária — ajustes mobile e tabela
 */

#form-reforma-tributaria input[type="text"],
#form-reforma-tributaria select {
    font-size: 16px;
    min-height: 48px;
}

.reforma-chart-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.reforma-chart-wrap svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.reforma-tabela-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.25rem;
    padding-bottom: 0.25rem;
}

.reforma-tabela-scroll table {
    min-width: 720px;
}

.reforma-tabela-hint {
    display: none;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
    .reforma-tabela-hint {
        display: block;
    }

    .reforma-layout .reforma-result-sidebar {
        margin-top: 0;
    }
}

.reforma-accordion summary {
    list-style: none;
}
.reforma-accordion summary::-webkit-details-marker {
    display: none;
}
.reforma-accordion[open] summary {
    border-bottom: 1px solid #e5e7eb;
}

.reforma-row-2026 {
    background-color: #fef3c7;
}

.reforma-nota-2026 {
    border-left: 4px solid #d97706;
}

@media print {
    #modo-avancado-sections details:not([open]) {
        display: none;
    }
    #modo-avancado-sections details[open] summary {
        font-weight: 700;
    }
    .print-advanced table {
        font-size: 10px;
    }
    .no-print,
    #form-reforma-tributaria .no-print,
    .reforma-tabela-hint {
        display: none !important;
    }
}
