:root {
    --verde-escuro: #00353b;
    --verde-medio: #004d56;
    --verde-claro: #006f73;
    --cor-foco: #187b67;
    --elements-webflow-library--neutral--300: #eff0f6;
    --bege: #faf3e9;
    --bege-claro: #f8f4ee;
    --verde-titulos: #00343a;
    --elements-webflow-library--neutral--100: white;
    --elements-webflow-library--accent--primary-1: #afe327;
    --elements-webflow-library--general--shadow-02: #14142b14;
    --elements-webflow-library--neutral--600: #6e7191;
    --elements-webflow-library--neutral--800: #211f54;
    --blue-clean: #1f7eff;
    --green-triplob: #afe327;
    --blue-triplo-b: #086aef;
    --orange-triplob: #ffb900;
    --elements-webflow-library--general--shadow-01: #14142b0f;
    --elements-webflow-library--general--shadow-03: #14142b1a;
    --elements-webflow-library--secondary--color-1: #281ca5;
    --cinza-extra-claro:#F5F5F5;
    --cinza-claro: #E0E0E0;
    --cinza-medio: #CCCCCC;
    --cinza-medio-escuro: #999999;
    --cinza-escuro: #666666;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bege);
}

.eco-simulator * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.eco-simulator {
    font-family: 'Host Grotesk', sans-serif;
    min-height: 100vh;
}

.eco-logo{
    width: 100%;
    margin: 0;
    background-color: rgba(0, 53, 59, 0.85);
    padding: 1rem 0;
    margin-bottom: 3rem;
}

.eco-logo img{
  display: block;
  margin: 0 auto;
  height: 50px;
  background: transparent;
  margin-bottom: 1rem;
}

.eco-logo p{
    display: block;
    color: var(--bege);
    font-size: 1.2rem;
    background: transparent;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.eco-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.eco-card, .eco-card {
    background: var(--elements-webflow-library--neutral--100);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.eco-header {
    text-align: center;
    padding: 3rem 2.5rem 2rem;
    background: rgba(0, 53, 59, 0.85);
    color: var(--bege);
    position: relative;
}

.eco-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2rem;
    background: var(--elements-webflow-library--neutral--100);
    border-radius: 1.5rem 1.5rem 0 0;
}

.eco-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(164, 214, 94, 0.15);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--green-triplob);
    position: relative;
    z-index: 1;
}

.eco-card-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--bege);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.eco-card-subtitle {
    font-size: 1rem;
    color: var(--bege);
    line-height: 1.6;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.eco-location-form {
    padding: 2rem 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.eco-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.eco-form-group.eco-full {
    grid-column: 1 / -1;
}
.eco-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--verde-escuro);
    margin-bottom: 0;
}
.eco-label-required::after {
    content: '*';
    color: #d32f2f;
}
.eco-input, .eco-select {
    height: 3.5rem;
    border: 2px solid var(--cinza-claro);
    border-radius: 0.75rem;
    font-size: 1rem;
    padding: 0 1.25rem;
    background-color: var(--elements-webflow-library--neutral--100);
    transition: all 0.2s ease;
    cursor: pointer;
}
.eco-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300353b' d='M1.41 0L6 4.58L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 12px;
}

.eco-select:disabled {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e7191' d='M1.41 0L6 4.58L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
}

.eco-select:hover:not(:disabled),
.eco-input:hover:not(:disabled) {
    border-color: var(--green-triplob);
    background-color: var(--elements-webflow-library--neutral--100);
}
.eco-input:focus, .eco-select:focus {
    border-color: var(--cor-foco);
    background-color: var(--elements-webflow-library--neutral--100);
    box-shadow: 0 0 0 3px rgba(0, 53, 59, 0.1);
    outline: none;
}

.eco-input:focus-visible, .eco-select:focus-visible {
    border-color: var(--cor-foco);
    background-color: var(--elements-webflow-library--neutral--100);
    box-shadow: 0 0 0 3px rgba(0, 53, 59, 0.1);
    outline: none;
}

.eco-input:active, .eco-select:active {
    border-color: var(--cor-foco);
}
.eco-input.eco-error,
.eco-select.eco-error {
  border-color: #d32f2f;
}

.eco-input:disabled,
.eco-select:disabled {
  background-color: var(--cinza-extra-claro);
  border-color: var(--cinza-claro);
  color: var(--elements-webflow-library--neutral--600);
  cursor: not-allowed;
  opacity: 0.6;
}

.eco-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 3.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 53, 59, 0.25);
}

.eco-btn-primary {
  background:rgba(0, 53, 59, 0.85);
  color: var(--bege);
}

.eco-btn-primary:hover:not(:disabled) {
  background: var(--verde-medio);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 53, 59, 0.35);
}
.eco-btn-primary:active:not(:disabled) {
  transform: translateY(0);
}
.eco-btn-secondary {
  background: transparent;
  color: var(--verde-escuro);
  border: 2px solid var(--green-triplob);
}

.eco-btn-secondary:hover:not(:disabled) {
  background: rgba(175,227,39,0.7);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 53, 59, 0.25);
  border: none;
  color: var(--verde-medio);
}

.eco-btn-tertiary {
    background: rgba(173, 231, 29, 0.826);
    color: var(--verde-titulos);
    border: none;
}
.eco-btn-tertiary:hover:not(:disabled) {
    background: var(--green-triplob);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 53, 59, 0.25);
    color: var(--verde-escuro);
}
.eco-btn:disabled {
    background-color: #CCCCCC;
    color: #999999;
    cursor: not-allowed;
    box-shadow: none;
}

.eco-btn-small {
    width: fit-content;
    padding: 0 1.25rem;
    height: 2.5rem;
    font-size: 0.875rem;
}

.eco-btn-medium {
    width: auto;
    min-width: 180px;
    padding: 0.75rem 1.5rem;
    height: 3rem;
    font-size: 1rem;
}

.eco-step-actions {
    padding: 1.5rem 2.5rem 2.5rem;
    border-top: 1px solid var(--cinza-claro);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}
.eco-step-actions-double {
    flex-direction: row;
    justify-content: space-between;
}

.eco-separator {
    height: 1px;
    background: var(--cinza-claro);
    margin: 1rem 0;
}

.eco-area-card {
    background: var(--cinza-extra-claro);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.eco-area-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.eco-area-header h3 {
    font-size: 1.125rem;
    color: var(--verde-escuro);
}
.eco-pool-info-text {
    font-size: 0.9375rem;
    color: var(--cinza-escuro);
    line-height: 1.5;
}
.eco-btn-remove {
    background: transparent;
    border: none;
    color: #d32f2f;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s;
}

.eco-btn-remove:hover {
    color: #b71c1c;
    transform: scale(1.1);
}

.eco-icon-trash {
    width: 1.25rem;
    height: 1.25rem;
}

.eco-area-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

/* Selo dinâmico: indica que a área será tratada como prainha (<= 0,60 m). */
.eco-area-prainha-badge {
    display: none;
    align-items: center;
    gap: 0.625rem;
    margin-top: 1rem;
    padding: 0.625rem 0.875rem;
    background: rgba(175, 227, 39, 0.12);
    border-left: 3px solid var(--green-triplob);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--cinza-escuro);
    line-height: 1.4;
}
.eco-area-prainha-badge.is-visible {
    display: flex;
}
.eco-area-prainha-badge strong {
    color: var(--verde-escuro);
}
.eco-area-prainha-badge svg {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--verde-escuro);
    flex-shrink: 0;
}

.eco-pool-body {
    padding: 2rem 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.eco-pool-parameters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.eco-pool-parameters .eco-full {
    grid-column: 1 / -1;
}

.eco-pool-info {
    display: flex;
    gap: 1rem;
    background: var(--cinza-extra-claro);
    border-radius: 0.75rem;
    padding: 1rem;
    border-left: 12px solid var(--cinza-claro);
    margin-bottom: 1rem;
}
.eco-pool-info svg {
    color: var(--verde-medio);
}

.eco-info-note {
    text-align: center;
}

.eco-pool-info svg {
    flex-shrink: 0;
}

.eco-pool-info > div {
    flex: 1;
}

.eco-results-body {
    padding: 2rem 2.5rem 1.5rem;
}

.eco-result-text {
    font-size: 0.9375rem;
    color: var(--cinza-escuro);
    margin: 0;
    line-height: 1.5;
}

.eco-results-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.eco-results-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: var(--cinza-extra-claro);
    border: 1px solid var(--cinza-claro);
    box-shadow: 0 4px 16px rgba(0, 53, 59, 0.1);
    transition: all 0.3s ease;
}

.eco-results-card:hover {
    box-shadow: 0 6px 24px rgba(0, 53, 59, 0.15);
    transform: translateY(-2px);
}

.eco-results-header {
    display: flex;
    flex-direction: column;
    gap: 1rem; 
}

.eco-results-img-container {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    border-radius: 0.5rem;
}

.eco-results-img {
    width: 100%;
    max-height: 200px;
    height: auto;
    object-fit: contain;
}
.eco-results-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.eco-results-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}


.eco-result-pump-model {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--verde-titulos);
    margin: 0;
    align-self:center;
}

.eco-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.eco-results-notes {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--elements-webflow-library--neutral--100);
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
}

.eco-results-chart {
    padding: 2rem;
    border-radius: 0.75rem;
    background-color: var(--cinza-extra-claro);
    border: 1px solid var(--cinza-claro);
    margin-top: 1rem;
}

.eco-results-chart-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.eco-results-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: rgba(164, 214, 94, 0.15);
    border-radius: 50%;
    color: #A4D65E;
    flex-shrink: 0;   
}

.eco-results-chart-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--verde-titulos);
    margin: 0 0 0.5rem 0;
}

.eco-results-chart-wrapper {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}
.eco-results-warm, .eco-results-cold{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
}
.eco-results-warm {
    background-color: rgba(208, 74, 74, 0.1);
    border: 1px solid #d32f2f;
    color: #b71c1c;
}
.eco-results-cold {
    background-color: rgba(57, 165, 253, 0.1);
    border: 1px solid #2196f3;
    color: var(--blue-triplo-b);
}
.eco-results-chart-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.eco-results-chart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background-color: var(--elements-webflow-library--neutral--100);
    border-radius: 0.5rem;
    border: 1px solid var(--cinza-claro);
    position: relative;
    cursor: help;
    transition: all 0.2s ease;
}
.eco-results-chart-item:hover {
    border-color: var(--green-triplob);
    box-shadow: 0 4px 16px rgba(0, 53, 59, 0.1);
}
.eco-results-chart-item-tooltip {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--verde-escuro);
    color: var(--bege);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.eco-results-chart-item-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--verde-escuro);
}

.eco-results-chart-item:hover .eco-results-chart-item-tooltip {
    opacity: 1;
    visibility: visible;
}

.eco-result-chart-icon{
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    color: var(--green-triplob);
}
.eco-result-text-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--verde-titulos);
    margin: 0;
}
.eco-step-actions-result {
    flex-direction: row;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border: none;
}

.eco-step-actions-back {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 2.5rem 1rem;
    border-top: 1px solid var(--cinza-claro);
    margin-top: 2.5rem;
}

.eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.eco-results-footer {
    text-align: center;
    padding: 4rem 2.5rem 2rem;
    background: rgba(0, 53, 59, 0.85);
    color: var(--bege);
    position: relative;
}
.eco-results-footer::after {
    content: '';
    position: absolute;
    top: -3px;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2rem;
    background: var(--elements-webflow-library--neutral--100);
    border-radius: 0 0 1.5rem 1.5rem;
}
.eco-footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.eco-results-comparison-table {
    width: 100%;
    margin-top: 2rem;
    background-color: var(--cinza-extra-claro);
    border: 1px solid var(--cinza-claro);
    padding: 1.5rem;
    border-radius: 0.75rem;
}
.eco-results-table-wrapper {
    overflow-x: auto;
    background-color: var(--elements-webflow-library--neutral--100);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}
.eco-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background-color: var(--elements-webflow-library--neutral--100);
}
.eco-comparison-table th, .eco-comparison-table td {
    border-bottom: 1px solid var(--cinza-claro);
    border-right: 1px solid var(--elements-webflow-library--neutral--100);
    padding: 0.75rem;
    text-align: center;
    width: auto;
    min-width: 120px;
    white-space: nowrap;

}
.eco-comparison-table th {
    color: var(--verde-escuro);
    font-weight: 600;
}
.eco-comparison-table td {
    color: var(--cinza-escuro);
}

.eco-comparison-table td:last-child, .eco-comparison-table th:last-child {
    border-right: none;
}
.eco-comparison-table tbody tr:nth-child(odd) {
    background-color: var(--cinza-extra-claro);
}
.eco-comparison-table tbody tr:hover {
    background-color: rgba(175,227,39,0.4);
}
.eco-comparison-table tfoot td {
    font-weight: 600;
    color: var(--verde-titulos);
}
.eco-comparison-table tfoot tr {
    background-color: rgba(173, 231, 29, 0.4);
}

/* Toasts / notificações inline (substituem window.alert) */
.eco-toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: min(420px, calc(100vw - 2rem));
}
.eco-toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--toast-bg, #FEF2F2);
    border-left: 4px solid var(--toast-color, #EF4444);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    font-family: 'Host Grotesk', sans-serif;
    font-size: 0.95rem;
    color: #333333;
    animation: ecoToastIn 0.2s ease-out;
}
.eco-toast-msg {
    flex: 1;
    line-height: 1.35;
}
.eco-toast-close {
    background: none;
    border: none;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    color: var(--toast-color, #EF4444);
    padding: 0;
    flex-shrink: 0;
}
.eco-toast--out {
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
@keyframes ecoToastIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}
@media (max-width: 480px) {
    .eco-toast-container {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

/*
 * Relatório impresso (Tela 2). Sem backend gerando PDF (sem TCPDF/Composer),
 * o botão "Imprimir / Salvar PDF" aciona window.print() sobre o template
 * dedicado .print-report (StepResult.renderPrintReport()) — reproduz o
 * layout de um PDF de referência do cliente, e NÃO a UI de cards em 2
 * colunas da tela. Esse template fica sempre presente no DOM em largura
 * fixa, fora da tela (position: fixed, fora do viewport), para que os
 * gráficos Chart.js embutidos (#printCostComparisonChart e
 * #printMonthlyComparisonChart) tenham uma área real para desenhar antes da
 * impressão. Por ser uma árvore própria de largura fixa — não a largura da
 * janela/viewport — o resultado impresso sai idêntico em qualquer
 * dispositivo (desktop ou mobile), sem responsividade.
 */
.print-report {
    position: fixed;
    left: -99999px;
    top: 0;
    width: 700px;
    visibility: hidden;
    pointer-events: none;
    background: #fff;
    color: #333333;
    font-family: 'Host Grotesk', sans-serif;
    font-size: 12px;
    line-height: 1.45;
    /* Sem isso, a maioria dos navegadores omite cores de fundo na impressão a
       menos que o usuário marque "Gráficos de segundo plano" no diálogo — o
       relatório depende dessas cores (faixa do cabeçalho, zebra das tabelas),
       então força a exibição independente dessa opção. É herdado, mas alguns
       motores de impressão só respeitam quando declarado no próprio elemento
       com o background — por isso repetido abaixo em cada um. */
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    color-adjust: exact;
}

.print-band {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--verde-escuro);
    padding: 16px 20px;
    margin-bottom: 20px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    color-adjust: exact;
}
.print-band img { height: 34px; }
.print-band h1 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
.print-band-date {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: #fff;
    font-size: 10px;
}

.print-section { margin-bottom: 22px; }
.print-page-break { break-before: page; page-break-before: always; }
.print-keep { break-inside: avoid; page-break-inside: avoid; }

.print-h2 {
    display: inline-block;
    color: var(--verde-escuro);
    font-size: 14px;
    font-weight: 700;
    padding-bottom: 4px;
    margin: 0 0 10px;
    border-bottom: 3px solid var(--green-triplob);
}
.print-h3 {
    color: #222222;
    font-size: 12px;
    font-weight: 700;
    margin: 14px 0 6px;
}

.print-kv-table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.print-kv-table td { padding: 6px 10px; vertical-align: top; width: 50%; font-size: 11px; break-inside: avoid; page-break-inside: avoid; }
.print-kv-table tr { break-inside: avoid; page-break-inside: avoid; }
.print-kv-table tr:nth-child(odd) td { background: var(--cinza-extra-claro); -webkit-print-color-adjust: exact; print-color-adjust: exact; color-adjust: exact; }

.print-summary-table td:first-child { width: 26%; }
.print-summary-table td:last-child { width: 74%; line-height: 1.6; }

.print-pair-table { width: 100%; border-collapse: collapse; margin-bottom: 6px; }
.print-pair-table td { padding: 2px 0; font-size: 11px; width: 50%; }

.print-table { width: 100%; border-collapse: collapse; margin-bottom: 10px; font-size: 11px; }
.print-table th {
    background: var(--verde-escuro);
    color: #fff;
    font-weight: 700;
    text-align: left;
    padding: 6px 8px;
    border: 1px solid var(--verde-escuro);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    color-adjust: exact;
}
.print-table td {
    padding: 5px 8px;
    border: 1px solid var(--cinza-claro);
}
.print-table tr { break-inside: avoid; page-break-inside: avoid; }
.print-table tbody tr:nth-child(even) td { background: var(--cinza-extra-claro); -webkit-print-color-adjust: exact; print-color-adjust: exact; color-adjust: exact; }
.print-table-small th,
.print-table-small td { text-align: center; font-size: 9.5px; padding: 4px; }
.print-table-small td:first-child,
.print-table-small th:first-child { text-align: left; }
.print-total-row td { font-weight: 700; background: var(--cinza-claro) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; color-adjust: exact; }

.print-chart-wrap { position: relative; width: 100%; height: 230px; margin: 10px 0 20px; }
.print-chart-wrap-tall { height: 260px; }

.print-italic { font-style: italic; color: #555555; font-size: 11px; }
.print-footnote { font-style: italic; color: #666666; font-size: 9.5px; margin-top: 6px; }
.print-disclaimer { margin-top: 16px; }
.print-footer {
    text-align: center;
    font-size: 10px;
    color: #666666;
    border-top: 1px solid var(--cinza-claro);
    padding-top: 10px;
    margin-top: 16px;
}
.print-spacer { margin: 4px 0; }

@page {
    size: A4 portrait;
    margin: 12mm;
}

@media print {
    .dim-topbar,
    #page-footer,
    .screen-only-results,
    .eco-toast-container {
        display: none !important;
    }

    /* Fundo em branco na impressão — o gradiente/verde do fundo do app é só
       para a tela. */
    html,
    body,
    .eco-simulator,
    .dim-wrap {
        background: #fff !important;
    }

    .print-report {
        position: static;
        left: auto;
        top: auto;
        width: auto;
        visibility: visible;
        pointer-events: auto;
    }
}
