/* Tower · leitura confortável dos conteúdos.
   Não altera login, navegação lateral ou barras do aplicativo.
   As poucas regras importantes vencem tamanhos importantes preexistentes. */

/* Visão do mês */
.main-content .overview .eyebrow,
.main-content .section-heading .eyebrow,
.main-content .forecast-panel > .eyebrow {
  font-size: .75rem;
  letter-spacing: .07em;
  line-height: 1.6;
}
.main-content .total-label { font-size: 1rem; line-height: 1.5; }
.main-content .total-amount { font-size: 3.125rem; letter-spacing: -.1rem; }
.main-content .total-amount > span { font-size: 1.5rem; }
.main-content .overview .text-link { font-size: .875rem; min-height: 2.5rem; }
.main-content .balance-explainer .badge { font-size: .8125rem; line-height: 1.5; padding: .375rem .625rem; }
.main-content .balance-explainer h2 { font-size: 1.5rem; line-height: 1.35; }
.main-content .balance-explainer p { font-size: .9375rem; line-height: 1.75; max-width: 43ch; }
.main-content .overview-breakdown span { font-size: .8125rem; line-height: 1.6; }
.main-content .overview-breakdown strong { font-size: 1.375rem; line-height: 1.4; }
.main-content .overview-breakdown { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.main-content .review-notice { padding: 1rem 1.125rem; gap: .875rem; align-items: flex-start; }
.main-content .review-notice strong { font-size: .9375rem; line-height: 1.5; }
.main-content .review-notice div > span { font-size: .875rem; line-height: 1.7; margin-top: .25rem; }
.main-content .review-notice button { font-size: .875rem; min-height: 2.5rem; white-space: normal; }
.main-content .notice-label { font-size: .75rem; padding-top: .25rem; }
.main-content .panel { padding: 1.5rem; }
.main-content .section-heading h2,
.main-content .credits-panel .section-heading h2 { font-size: 1.375rem; line-height: 1.35; }
.main-content .section-subtitle,
.main-content .credits-panel .section-subtitle { font-size: .875rem; line-height: 1.75; margin-top: .75rem; }
.main-content .segmented button { font-size: .8125rem; padding: .5rem .625rem; min-height: 2.25rem; }
.main-content .chart-svg text { font-size: 1rem; }
.main-content .chart-reading { font-size: .8125rem; line-height: 1.6; padding: .75rem 0 1rem; flex-wrap: wrap; }
.main-content .chart-reading select { font-size: .9375rem; padding: .5rem; min-height: 2.5rem; }
.main-content .chart-reading strong { font-size: 1.375rem; line-height: 1.5; }
.main-content .chart-note p { font-size: .875rem; line-height: 1.75; }
.main-content .chart-note .icon { width: 1rem; height: 1rem; margin-top: .3rem; }
.main-content .view-all-link { font-size: .8125rem; min-height: 2.5rem; }
.main-content .credit-row { gap: .875rem; padding: 1.125rem 0; align-items: flex-start; }
.main-content .credit-rank { font-size: .75rem; margin-top: .2rem; }
.main-content .credit-desc b,
.main-content .credit-drilldown .credit-desc b { font-size: .9375rem; line-height: 1.6; }
.main-content .credit-desc > span:not(.credit-track),
.main-content .credit-drilldown .credit-desc > span:not(.credit-track) { font-size: .75rem; line-height: 1.75; margin-top: .375rem; }
.main-content .credit-amount b { font-size: 1.125rem; line-height: 1.5; }
.main-content .credit-amount span { font-size: .75rem; line-height: 1.6; }
.main-content .credit-footer > span { font-size: .75rem; line-height: 1.7; }
.main-content .credit-footer > button { font-size: .875rem; line-height: 1.6; }
.main-content .small-label { font-size: .75rem; }
.main-content .tax-composition { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.25rem; padding: 1.5rem 0 1rem; }
.main-content .tax-composition > svg { max-width: 7.5rem; }
.main-content .tax-composition svg text { font-size: .5rem; }
.main-content .tax-composition svg .donut-number { font-size: 1.5rem; }
.main-content .tax-composition > div { gap: .75rem; }
.main-content .tax-composition > div > span { font-size: .8125rem; line-height: 1.5; }
.main-content .tax-composition em { font-size: .75rem; }
.main-content .payment-list > div { padding: .9375rem 0; gap: .875rem; }
.main-content .payment-list dt { font-size: .9375rem; line-height: 1.5; }
.main-content .payment-list dt small { font-size: .75rem; line-height: 1.65; margin-top: .375rem; }
.main-content .payment-list dd { font-size: 1.125rem; line-height: 1.5; }
.main-content .payment-total dt { font-size: 1rem; }
.main-content .payment-total dd { font-size: 1.5rem; }
.main-content .fineprint { font-size: .75rem; line-height: 1.8; }
.main-content .forecast-panel { padding: 1.625rem; }
.main-content .forecast-panel h2 { font-size: 1.5rem; line-height: 1.4; }
.main-content .forecast-panel > p { font-size: .9375rem; line-height: 1.8; }
.main-content .forecast-panel dl > div { font-size: .875rem; line-height: 1.6; padding: .625rem 0; }
.main-content .forecast-panel dd { font-size: 1.125rem; }
.main-content .forecast-total dt { font-size: .875rem; }
.main-content .forecast-total dd { font-size: 2rem; line-height: 1.4; }
.main-content .forecast-panel details { font-size: .875rem; line-height: 1.6; }
.main-content .forecast-panel details p { font-size: .875rem; line-height: 1.8; }
.main-content .forecast-foot { font-size: .75rem; line-height: 1.75; }
.main-content .calculation-details { font-size: .875rem; padding: 1.125rem 1.375rem; }
.main-content .calculation-grid span { font-size: .8125rem; line-height: 1.6; }
.main-content .calculation-grid b { font-size: 1.1875rem; }
.main-content .calculation-details p { font-size: .8125rem; line-height: 1.75; }
.main-content .account-summary > div:not(.delta-feedback) { padding: 1.25rem; }
.main-content .account-summary span { font-size: .8125rem; line-height: 1.5; }
.main-content .account-summary strong { font-size: 1.75rem; line-height: 1.4; }
.main-content .account-summary strong em { font-size: .875rem; }
.main-content .account-summary small { font-size: .75rem; line-height: 1.7; }
.main-content .delta-feedback { font-size: .875rem; line-height: 1.6; padding: .875rem 1.25rem; }

/* Conferência e áreas internas */
.main-content .acct { font-size: .9375rem; line-height: 1.6; }
.main-content .acct .acc-heading h2 { font-size: 1.5rem; line-height: 1.4; }
.main-content .acct .acc-heading p { font-size: .9375rem; line-height: 1.7; }
.main-content .acct .acc-heading-count { font-size: .8125rem; line-height: 1.5; }
.main-content .acct .acc-search { min-height: 2.875rem; }
.main-content .acct .acc-search input { font-size: 1rem; height: 2.75rem; }
.main-content .acct .acc-search input::placeholder { font-size: .875rem; letter-spacing: 0; }
.main-content .acct .acc-search kbd { font-size: .75rem; }
.main-content .acct .acc-segmented button { font-size: .875rem; min-height: 2.5rem; padding: .5rem .875rem; }
.main-content .acct .acc-segmented button span { font-size: .75rem; }
.main-content .acct .acc-workspace { grid-template-columns: 17rem minmax(0, 1fr); }
.main-content .acct .acc-list-caption { font-size: .75rem; line-height: 1.5; padding: 1rem; }
.main-content .acct .acc-note-button { padding: 1.125rem 1rem; }
.main-content .acct .acc-note-top { font-size: .75rem; margin-bottom: .625rem; }
.main-content .acct .acc-note-supplier { font-size: .875rem; line-height: 1.6; }
.main-content .acct .acc-note-value { font-size: 1.125rem; line-height: 1.5; flex-wrap: wrap; }
.main-content .acct .acc-note-state { font-size: .75rem; line-height: 1.5; }
.main-content .acct .acc-large-flag { font-size: .75rem; line-height: 1.6; }
.main-content .acct .acc-list-empty { font-size: .875rem; }
.main-content .acct .acc-detail-heading { padding: 1.625rem 1.5rem 1.25rem; }
.main-content .acct .acc-detail-kicker > span:first-child { font-size: .75rem; line-height: 1.6; letter-spacing: .065em; }
.main-content .acct .acc-status-pill { font-size: .75rem; padding: .25rem .5rem; line-height: 1.5; }
.main-content .acct .acc-detail-heading h3 { font-size: 1.375rem; line-height: 1.45; }
.main-content .acct .acc-detail-heading p { font-size: .8125rem; line-height: 1.75; }
.main-content .acct .acc-note-totals { padding-top: 1.125rem; padding-bottom: 1.125rem; gap: 1.125rem .75rem; }
.main-content .acct .acc-note-totals dt { font-size: .8125rem; line-height: 1.6; }
.main-content .acct .acc-note-totals dd { font-size: 1.375rem; line-height: 1.4; }
.main-content .acct .acc-items-head,
.main-content .acct .acc-item { grid-template-columns: minmax(12.5rem, 1.4fr) minmax(7.75rem, .8fr) minmax(11.5rem, 1fr) minmax(10rem, 1fr); column-gap: 1rem; }
.main-content .acct .acc-items-head { font-size: .75rem; line-height: 1.6; letter-spacing: .04em; padding: .875rem 1.5rem; }
.main-content .acct .acc-item { padding: 1.5rem; }
.main-content .acct .acc-item-seq { font-size: .75rem; padding-top: .2rem; }
.main-content .acct .acc-item-product h4 { font-size: .9375rem; line-height: 1.6; }
.main-content .acct .acc-item-product p { font-size: .75rem; line-height: 1.8; }
.main-content .acct .acc-item-reason { font-size: .75rem; line-height: 1.6; }
.main-content .acct .acc-item-values strong { font-size: 1rem; line-height: 1.5; }
.main-content .acct .acc-item-values > span:not(.acc-mobile-label) { font-size: .75rem; line-height: 1.65; }
.main-content .acct .acc-item-class select { font-size: .9375rem; min-height: 2.75rem; padding: .5rem 1.5rem .5rem .625rem; }
.main-content .acct .acc-item-class small,
.main-content .acct .acc-locked-class { font-size: .75rem; line-height: 1.7; }
.main-content .acct .acc-effect-credit,
.main-content .acct .acc-effect-due,
.main-content .acct .acc-effect-neutral { font-size: .875rem; line-height: 1.6; }
.main-content .acct .acc-effect-excess,
.main-content .acct .acc-item-checked { font-size: .75rem; line-height: 1.6; }
.main-content .acct .acc-confirm-item { font-size: .8125rem !important; line-height: 1.5; min-height: 2.5rem; }
.main-content .acct .acc-eyebrow { font-size: .75rem; letter-spacing: .065em; line-height: 1.6; }
.main-content .acct .acc-scope { padding: 1.125rem; }
.main-content .acct .acc-scope p { font-size: .9375rem; line-height: 1.6; }
.main-content .acct .acc-scope > div > span:last-child { font-size: .875rem; line-height: 1.65; }
.main-content .acct .acc-scope-actions .btn { font-size: .875rem; line-height: 1.5; min-height: 2.75rem; padding: .625rem .75rem; }
.main-content .acct .acc-text-button { font-size: .8125rem !important; min-height: 2.5rem; }
.main-content .acct .acc-scope .acc-scope-help { font-size: .75rem; line-height: 1.7; }
.main-content .acct .acc-note-footer { padding: 1.375rem 1.5rem; }
.main-content .acct .acc-note-footer p { font-size: .875rem; line-height: 1.7; max-width: 40ch; }
.main-content .acct .acc-note-footer p span { font-size: .75rem; line-height: 1.7; }
.main-content .acct .acc-note-footer .btn { font-size: .875rem; line-height: 1.5; min-height: 2.75rem; white-space: normal; }
.main-content .acct .acc-complete-note { font-size: .8125rem; }
.main-content .acct .acc-empty h3 { font-size: 1.375rem; line-height: 1.4; }
.main-content .acct .acc-empty p { font-size: .9375rem; line-height: 1.75; }
.main-content .acct .acc-empty .btn { font-size: .875rem; min-height: 2.75rem; }
.main-content .acct .acc-mobile-label { font-size: .75rem; line-height: 1.6; letter-spacing: .035em; }
.main-content .acct .acc-mobile-back { font-size: .875rem !important; min-height: 2.875rem; }
.main-content .acct .acc-rule-head,
.main-content .acct .acc-history-head { font-size: .75rem; line-height: 1.6; letter-spacing: .035em; }
.main-content .acct .acc-rule-row { padding: 1.5rem 0; }
.main-content .acct .acc-rule-product h3,
.main-content .acct .acc-history-change h3 { font-size: .9375rem; line-height: 1.6; }
.main-content .acct .acc-rule-product p,
.main-content .acct .acc-history-change p { font-size: .8125rem; line-height: 1.7; }
.main-content .acct .acc-rule-product small { font-size: .75rem; line-height: 1.7; }
.main-content .acct .acc-rule-badge { font-size: .8125rem; line-height: 1.6; padding: .375rem .5rem; }
.main-content .acct .acc-rule-author strong { font-size: .875rem; line-height: 1.6; }
.main-content .acct .acc-rule-author > span:not(.acc-mobile-label) { font-size: .75rem; line-height: 1.7; }
.main-content .acct .acc-remove-rule { font-size: .8125rem !important; line-height: 1.5; min-height: 2.75rem; }
.main-content .acct .acc-ledger-footnote { font-size: .75rem; line-height: 1.8; }
.main-content .acct .acc-rules-reference h3 { font-size: 1.375rem; line-height: 1.4; }
.main-content .acct .acc-priority-list li { gap: 1rem; margin-bottom: 1.25rem; }
.main-content .acct .acc-priority-list li > span { font-size: .875rem; }
.main-content .acct .acc-priority-list strong { font-size: .9375rem; line-height: 1.6; }
.main-content .acct .acc-priority-list p,
.main-content .acct .acc-parameters > p { font-size: .875rem; line-height: 1.75; }
.main-content .acct .acc-parameters dl > div { font-size: .875rem; line-height: 1.7; padding: .9375rem 0; }
.main-content .acct .acc-parameters-note { font-size: .75rem; line-height: 1.6; }
.main-content .acct .acc-alert-index button { font-size: .8125rem; line-height: 1.5; min-height: 2.5rem; padding: .5rem .75rem; }
.main-content .acct .acc-section-index { font-size: .875rem; }
.main-content .acct .acc-alert-title h3 { font-size: 1.375rem; line-height: 1.5; }
.main-content .acct .acc-alert-title h3 span { font-size: .9375rem; }
.main-content .acct .acc-alert-title p { font-size: .875rem; line-height: 1.75; }
.main-content .acct .acc-impact-note { padding: 1.5rem; gap: 1.5rem; }
.main-content .acct .acc-impact-description h4 { font-size: 1rem; line-height: 1.6; }
.main-content .acct .acc-impact-description p { font-size: .8125rem; line-height: 1.7; }
.main-content .acct .acc-impact-note dt { font-size: .8125rem; line-height: 1.6; }
.main-content .acct .acc-impact-note dd { font-size: 1.375rem; line-height: 1.4; }
.main-content .acct .acc-open-note { font-size: .875rem !important; line-height: 1.5; min-height: 2.5rem; }
.main-content .acct .acc-supplier-alert h4,
.main-content .acct .acc-product-alert h4 { font-size: .9375rem; line-height: 1.6; }
.main-content .acct .acc-supplier-alert p,
.main-content .acct .acc-product-alert p { font-size: .8125rem; line-height: 1.7; }
.main-content .acct .acc-product-alert small { font-size: .75rem; line-height: 1.7; }
.main-content .acct .acc-supplier-alert > strong,
.main-content .acct .acc-product-alert > strong { font-size: 1rem; line-height: 1.5; }
.main-content .acct .acc-section-empty { font-size: .875rem; line-height: 1.7; }
.main-content .acct .acc-missing-summary { font-size: .8125rem; line-height: 1.6; }
.main-content .acct .acc-missing-summary strong { font-size: 1.25rem; }
.main-content .acct .acc-missing-summary > span:last-child { font-size: .75rem; line-height: 1.7; }
.main-content .acct .acc-missing-note summary { padding: 1.125rem 0; }
.main-content .acct .acc-missing-note summary > span:first-child b { font-size: .875rem; line-height: 1.6; }
.main-content .acct .acc-missing-note summary > span:first-child > span { font-size: .75rem; line-height: 1.7; }
.main-content .acct .acc-missing-recipient { font-size: .875rem; line-height: 1.7; }
.main-content .acct .acc-missing-note summary > strong { font-size: 1rem; line-height: 1.5; }
.main-content .acct .acc-missing-detail dt,
.main-content .acct .acc-missing-detail p { font-size: .8125rem; line-height: 1.75; }
.main-content .acct .acc-missing-detail dd { font-size: 1.125rem; }
.main-content .acct .acc-number-legend { font-size: .75rem; line-height: 1.6; }
.main-content .acct .acc-number-list button { font-size: .9375rem; min-height: 2.75rem; padding: .625rem .875rem; }
.main-content .acct .acc-number-detail strong { font-size: .9375rem; }
.main-content .acct .acc-number-detail p { font-size: .875rem; line-height: 1.75; }
.main-content .acct .acc-history-who strong { font-size: .8125rem; line-height: 1.6; }
.main-content .acct .acc-history-who > div > span { font-size: .75rem; line-height: 1.6; }
.main-content .acct .acc-change-line,
.main-content .acct .acc-history-scope { font-size: .8125rem; line-height: 1.7; }
.main-content .acct .acc-history-delta strong { font-size: 1rem; line-height: 1.5; }
.main-content .acct .acc-history-delta small { font-size: .75rem; line-height: 1.7; }

/* Notas e consulta de documentos */
.main-content .ledger { font-size: .9375rem; line-height: 1.6; }
.main-content .ledger .led-tabs > button { font-size: .9375rem; min-height: 2.875rem; padding: .625rem 1rem; }
.main-content .ledger .led-tabs > button > span { font-size: .75rem; }
.main-content .ledger .led-period { font-size: .75rem; letter-spacing: .04em; }
.main-content .ledger .led-summary { gap: 1.5rem; }
.main-content .ledger .led-summary > div > span { font-size: .8125rem; line-height: 1.6; }
.main-content .ledger .led-summary b { font-size: 1.875rem; line-height: 1.4; }
.main-content .ledger .led-summary small { font-size: .75rem; line-height: 1.75; }
.main-content .ledger .led-summary-caption p,
.main-content .ledger .led-summary-caption b { font-size: .875rem; line-height: 1.75; }
.main-content .ledger .led-search { min-height: 2.875rem; }
.main-content .ledger .led-search input { font-size: 1rem; height: 2.75rem; }
.main-content .ledger .led-search input::placeholder { font-size: .875rem; }
.main-content .ledger .led-selects label,
.main-content .ledger .led-selects > label > span { font-size: .8125rem; line-height: 1.5; }
.main-content .ledger .led-selects select,
.main-content .ledger .led-selects input[type=date] { font-size: .9375rem; min-height: 2.75rem; padding: .625rem; max-width: 13rem; }
.main-content .ledger .led-results-caption { font-size: .8125rem; line-height: 1.7; }
.main-content .ledger .led-list-head,
.main-content .ledger .led-row { grid-template-columns: 9rem minmax(13rem, 1.6fr) minmax(8rem, .85fr) minmax(9rem, .95fr) 9rem; column-gap: 1.125rem; }
.main-content .ledger .led-list-head { font-size: .75rem; line-height: 1.6; letter-spacing: .025em; }
.main-content .ledger .led-row { padding-top: 1.375rem; padding-bottom: 1.375rem; }
.main-content .ledger .led-note-number { font-size: .9375rem !important; line-height: 1.6; }
.main-content .ledger .led-row-identity > div > span { font-size: .75rem; line-height: 1.6; }
.main-content .ledger .led-party strong { font-size: .9375rem; line-height: 1.65; }
.main-content .ledger .led-party > span,
.main-content .ledger .led-pending { font-size: .75rem; line-height: 1.75; }
.main-content .ledger .led-money strong { font-size: 1.125rem; line-height: 1.5; }
.main-content .ledger .led-money small { font-size: .75rem; line-height: 1.75; }
.main-content .ledger .led-document { font-size: .8125rem !important; min-height: 2.625rem; padding: .5rem .625rem; }
.main-content .ledger .led-row-files > small { font-size: .75rem; line-height: 1.7; }
.main-content .ledger .led-pagination p { font-size: .8125rem; line-height: 1.65; }
.main-content .ledger .led-pagination button { font-size: .875rem; min-height: 2.75rem; padding: .625rem .875rem; }
.main-content .ledger .led-empty-filter h3 { font-size: 1.375rem; line-height: 1.4; }
.main-content .ledger .led-empty-filter p,
.main-content .ledger .led-empty-source p { font-size: .9375rem; line-height: 1.8; }
.main-content .ledger .led-eyebrow { font-size: .75rem; letter-spacing: .04em; line-height: 1.7; }
.main-content .ledger .led-empty-source h2 { font-size: 1.5rem; line-height: 1.4; }
.main-content .ledger .led-empty-facts > span { font-size: .8125rem; line-height: 1.6; }
.main-content .ledger .led-empty-facts b { font-size: 1.375rem; line-height: 1.5; }
.main-content .ledger .led-source-note { font-size: .875rem; line-height: 1.75; padding: 1rem; }
.main-content .ledger .led-mobile-label { font-size: .75rem; line-height: 1.6; letter-spacing: .025em; }
.main-content .ledger .led-back { font-size: .875rem !important; min-height: 2.5rem; }
.main-content .ledger .led-readonly { font-size: .75rem; line-height: 1.6; }
.main-content .ledger .led-detail-heading h2 { font-size: 2rem; line-height: 1.35; }
.main-content .ledger .led-detail-heading h2 > span { font-size: .875rem; line-height: 1.65; }
.main-content .ledger .led-doc-actions.is-detailed .led-document { font-size: .875rem !important; min-height: 2.875rem; padding: .625rem .875rem; }
.main-content .ledger .led-document-status { font-size: .8125rem; line-height: 1.8; padding: .875rem 1rem; }
.main-content .ledger .led-parties > section > span { font-size: .75rem; line-height: 1.6; letter-spacing: .035em; }
.main-content .ledger .led-parties h3 { font-size: 1.25rem; line-height: 1.55; }
.main-content .ledger .led-parties p { font-size: .875rem; line-height: 1.75; }
.main-content .ledger .led-detail-totals dt { font-size: .8125rem; line-height: 1.6; }
.main-content .ledger .led-detail-totals dd { font-size: 1.625rem; line-height: 1.4; }
.main-content .ledger .led-detail-totals dd small { font-size: .75rem; line-height: 1.6; }
.main-content .ledger .led-access-key summary { font-size: .875rem; line-height: 1.6; }
.main-content .ledger .led-access-key code { font-size: .8125rem; line-height: 1.9; letter-spacing: 0; }
.main-content .ledger .led-items-title h3 { font-size: 1.375rem; line-height: 1.4; }
.main-content .ledger .led-items-title > span { font-size: .8125rem; line-height: 1.65; }
.main-content .ledger .led-items-head { font-size: .75rem; line-height: 1.6; letter-spacing: .025em; }
.main-content .ledger .led-item { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.main-content .ledger .led-item-seq { font-size: .75rem; }
.main-content .ledger .led-item-product h4 { font-size: .9375rem; line-height: 1.65; }
.main-content .ledger .led-item-product p { font-size: .75rem; line-height: 1.85; }
.main-content .ledger .led-item-qty { font-size: .875rem; line-height: 1.6; }
.main-content .ledger .led-item-value b,
.main-content .ledger .led-item-tax b { font-size: 1.125rem; line-height: 1.5; }
.main-content .ledger .led-item-tax small { font-size: .75rem; line-height: 1.75; }
.main-content .ledger .led-detail-foot p { font-size: .875rem; line-height: 1.75; }
.main-content .ledger .led-detail-foot .btn { font-size: .875rem; min-height: 2.875rem; }
.main-content .ledger .led-date-chip { font-size: .75rem; line-height: 1.6; }

/* Movimento, clientes e fornecedores */
.main-content .ana { font-size: .9375rem; line-height: 1.65; }
.main-content .ana .ana-overline,
.main-content .ana .ana-series-label { font-size: .75rem; line-height: 1.65; letter-spacing: .045em; }
.main-content .ana .ana-movement-totals strong { font-size: 2rem; line-height: 1.35; }
.main-content .ana .ana-movement-totals small { font-size: .8125rem; line-height: 1.75; }
.main-content .ana .ana-period-stat strong em { font-size: .875rem; line-height: 1.65; }
.main-content .ana .ana-chart-header h2,
.main-content .ana .ana-composition h2 { font-size: 1.5rem; line-height: 1.4; }
.main-content .ana .ana-chart-header p,
.main-content .ana .ana-composition header p { font-size: .875rem; line-height: 1.75; }
.main-content .ana .ana-chart-mode button { font-size: .875rem; min-height: 2.5rem; padding: .5rem .75rem; }
.main-content .ana .ana-chart-legend button { font-size: .8125rem; line-height: 1.5; padding: .5rem .625rem; min-height: 2.375rem; }
.main-content .ana .ana-axis-caption { font-size: .75rem; line-height: 1.6; }
.main-content .ana .ana-chart-stage { padding-left: 3.25rem; }
.main-content .ana .ana-y-labels { width: 2.625rem; }
.main-content .ana .ana-y-labels span { font-size: .75rem; line-height: 1.4; }
.main-content .ana .ana-chart-plot { height: 16rem; }
.main-content .ana .ana-x-labels { height: 2.75rem; padding-top: .5rem; }
.main-content .ana .ana-x-labels button { font-size: .8125rem; min-height: 2rem; }
.main-content .ana .ana-y-labels { bottom: 2.75rem; }
.main-content .ana .ana-selected-date > span { font-size: .75rem; line-height: 1.6; letter-spacing: .035em; }
.main-content .ana .ana-selected-date > strong { font-size: 2rem; line-height: 1.3; }
.main-content .ana .ana-selected-date em { font-size: .8125rem; line-height: 1.6; }
.main-content .ana .ana-day-value > span { font-size: .8125rem; line-height: 1.6; }
.main-content .ana .ana-day-value > strong { font-size: 1.625rem; line-height: 1.4; }
.main-content .ana .ana-day-value > button { font-size: .75rem; line-height: 1.7; min-height: 2.375rem; }
.main-content .ana .ana-day-context > span { font-size: .75rem; line-height: 1.6; letter-spacing: .025em; }
.main-content .ana .ana-day-context p { font-size: .875rem; line-height: 1.75; }
.main-content .ana .ana-data-table > summary { font-size: .8125rem; line-height: 1.6; padding: 1.125rem 0; }
.main-content .ana .ana-data-table table { font-size: .8125rem; line-height: 1.6; }
.main-content .ana .ana-data-table thead th { font-size: .75rem; line-height: 1.6; }
.main-content .ana .ana-data-table th,
.main-content .ana .ana-data-table td { padding: .75rem .5rem; }
.main-content .ana .ana-reading-note { font-size: .8125rem; line-height: 1.8; gap: .625rem; }
.main-content .ana .ana-composition-tabs button { font-size: .8125rem; line-height: 1.5; min-height: 2.5rem; padding: .5rem .75rem; }
.main-content .ana .ana-composition-head { font-size: .75rem; line-height: 1.6; letter-spacing: .035em; }
.main-content .ana .ana-composition-code { font-size: .875rem; line-height: 1.5; }
.main-content .ana .ana-composition-name h3 { font-size: .9375rem; line-height: 1.65; }
.main-content .ana .ana-composition-name p { font-size: .75rem; line-height: 1.75; }
.main-content .ana .ana-composition-share > span { font-size: .875rem; line-height: 1.6; min-width: 3.125rem; }
.main-content .ana .ana-composition-value strong { font-size: 1.25rem; line-height: 1.5; }
.main-content .ana .ana-composition-value button { min-height: 2.5rem; }
.main-content .ana .ana-composition footer { font-size: .875rem; line-height: 1.6; }
.main-content .ana .ana-composition footer strong { font-size: 1.5rem; }
.main-content .ana .ana-party-total > strong { font-size: 3rem; line-height: 1.3; }
.main-content .ana .ana-party-total em { font-size: .8125rem; line-height: 1.7; }
.main-content .ana .ana-party-overview dt { font-size: .8125rem; line-height: 1.6; }
.main-content .ana .ana-party-overview dd { font-size: 1.625rem; line-height: 1.4; }
.main-content .ana .ana-concentration > span { font-size: .8125rem; line-height: 1.65; }
.main-content .ana .ana-concentration > strong { font-size: 2rem; line-height: 1.4; }
.main-content .ana .ana-concentration small { font-size: .75rem; line-height: 1.75; }
.main-content .ana .ana-source-note { font-size: .8125rem; line-height: 1.8; }
.main-content .ana .ana-party-search input { font-size: 1rem; height: 2.875rem; }
.main-content .ana .ana-party-search input::placeholder { font-size: .875rem; }
.main-content .ana .ana-party-sort { font-size: .8125rem; line-height: 1.5; }
.main-content .ana .ana-party-sort select { font-size: .9375rem; min-height: 2.75rem; padding: .625rem 1.75rem .625rem .75rem; }
.main-content .ana .ana-ranking-caption { font-size: .8125rem; line-height: 1.65; }
.main-content .ana .ana-ranking-caption > span:last-child { font-size: .75rem; line-height: 1.65; }
.main-content .ana .ana-party-head { font-size: .75rem; line-height: 1.6; letter-spacing: .025em; }
.main-content .ana .ana-party-row { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.main-content .ana .ana-rank { font-size: .8125rem; padding-top: .2rem; }
.main-content .ana .ana-party-name { font-size: .9375rem !important; line-height: 1.65; }
.main-content .ana .ana-party-identity p { font-size: .75rem; line-height: 1.75; }
.main-content .ana .ana-self-label,
.main-content .ana .ana-party-pending { font-size: .75rem; line-height: 1.7; }
.main-content .ana .ana-party-count > strong { font-size: 1.125rem; line-height: 1.5; }
.main-content .ana .ana-party-count small { font-size: .75rem; line-height: 1.7; }
.main-content .ana .ana-party-money > strong,
.main-content .ana .ana-party-tax > strong { font-size: 1.1875rem; line-height: 1.5; }
.main-content .ana .ana-party-money > small { font-size: .75rem; line-height: 1.7; }
.main-content .ana .ana-party-share > span:not(.ana-mobile-label) { font-size: .875rem; line-height: 1.6; }
.main-content .ana .ana-party-detail-title h4 { font-size: 1rem; line-height: 1.65; }
.main-content .ana .ana-link { font-size: .875rem !important; line-height: 1.6; min-height: 2.5rem; }
.main-content .ana .ana-party-note-list b { font-size: .875rem; line-height: 1.6; }
.main-content .ana .ana-party-note-list small { font-size: .75rem; line-height: 1.75; }
.main-content .ana .ana-party-note-product { font-size: .875rem; line-height: 1.65; }
.main-content .ana .ana-party-foot { font-size: .8125rem; line-height: 1.7; }
.main-content .ana .ana-party-foot strong { font-size: 1.5rem; line-height: 1.4; }
.main-content .ana .ana-mobile-label { font-size: .75rem; line-height: 1.6; letter-spacing: .025em; }
.main-content .ana .ana-empty-search h3 { font-size: 1.375rem; line-height: 1.5; }
.main-content .ana .ana-empty-search p { font-size: .9375rem; line-height: 1.75; }
.main-content .ana .ana-empty-search .btn { font-size: .875rem; min-height: 2.75rem; }
.main-content .ana .ana-customer-availability h2 { font-size: 1.5rem; line-height: 1.5; }
.main-content .ana .ana-customer-availability p { font-size: .9375rem; line-height: 1.8; }
.main-content .ana .ana-customer-availability .btn { font-size: .875rem; line-height: 1.5; min-height: 2.875rem; }
.main-content .ana .ana-customer-availability dt { font-size: .8125rem; line-height: 1.6; }
.main-content .ana .ana-customer-availability dd { font-size: 1.75rem; line-height: 1.4; }
.main-content .ana .ana-customer-availability dd > span { font-size: .8125rem; }
.main-content .ana .ana-customer-availability dd.ana-unavailable-value { font-size: .875rem; line-height: 1.7; }
.main-content .ana .ana-availability-route > div > span { font-size: .8125rem; }
.main-content .ana .ana-availability-route strong { font-size: .9375rem; line-height: 1.6; }
.main-content .ana .ana-availability-route p { font-size: .875rem; line-height: 1.75; }
.main-content .ana .ana-absent-reference summary { font-size: .875rem; line-height: 1.7; }
.main-content .ana .ana-absent-reference summary b { font-size: .8125rem; }
.main-content .ana .ana-absent-reference > div > p { font-size: .875rem; line-height: 1.8; }
.main-content .ana .ana-reference-list strong { font-size: .875rem; line-height: 1.7; }
.main-content .ana .ana-reference-list small,
.main-content .ana .ana-reference-list > div > span:last-child { font-size: .75rem; line-height: 1.7; }
.main-content .ana .ana-summary-heading h2 { font-size: 1.5rem; line-height: 1.4; }
.main-content .ana .ana-summary-values > div > span { font-size: .8125rem; line-height: 1.6; }
.main-content .ana .ana-summary-values strong { font-size: 1.75rem; line-height: 1.4; }
.main-content .ana .ana-summary-values small { font-size: .75rem; line-height: 1.7; }
.main-content .ana .ana-summary-intro > p { font-size: .75rem; line-height: 1.8; }
.main-content .ana .ana-summary-days > span { font-size: .75rem; line-height: 1.5; }
.main-content .ana .ana-summary-caption { font-size: .75rem; line-height: 1.6; letter-spacing: .045em; }
.main-content .ana .ana-source-banner .ana-overline { font-size: .75rem; line-height: 1.65; letter-spacing: .035em; }
.main-content .ana .ana-source-banner h2 { font-size: 1.5rem; line-height: 1.4; }
.main-content .ana .ana-source-banner p { font-size: .9375rem; line-height: 1.8; }
.main-content .ana .ana-source-banner small { font-size: .8125rem; line-height: 1.8; }
.main-content .ana .ana-source-banner dt { font-size: .8125rem; line-height: 1.6; }
.main-content .ana .ana-source-banner dd { font-size: 2rem; line-height: 1.4; }
.main-content .ana .ana-source-banner dd > span { font-size: .8125rem; }

/* Mais espaço quando a leitura ampliada muda a largura útil. */
@media (max-width: 1440px) {
  .main-content .acct .acc-items-head { display: none; }
  .main-content .acct .acc-item { grid-template-columns: minmax(7.5rem, .85fr) minmax(10.5rem, 1.15fr) minmax(10rem, 1fr); gap: 1rem; }
  .main-content .acct .acc-item-product { grid-column: 1 / -1; margin-bottom: .25rem; }
  .main-content .acct .acc-item-values { margin-left: 1.375rem; }
  .main-content .acct .acc-item-class { grid-column: 2; grid-row: 2; }
  .main-content .acct .acc-item-impact { grid-column: 3; grid-row: 2; margin: 0; }
  .main-content .acct .acc-item .acc-mobile-label { display: block; }
  .main-content .acct .acc-scope { grid-column: 1 / -1; grid-row: 3; grid-template-columns: 1fr; gap: .875rem; }
  .main-content .acct .acc-note-footer { flex-wrap: wrap; }
  .main-content .ana .ana-party-head { display: none; }
  .main-content .ana .ana-party-ledger { border-top: 1px solid var(--ana-line); }
  .main-content .ana .ana-party-row { grid-template-columns: minmax(13rem, 1.8fr) 4rem 9.5rem 8.5rem 1.5rem; gap: 1rem; }
  .main-content .ana .ana-party-identity { grid-column: 1; grid-row: 1 / 3; }
  .main-content .ana .ana-party-count { grid-column: 2; grid-row: 1 / 3; }
  .main-content .ana .ana-party-money { grid-column: 3; grid-row: 1 / 3; }
  .main-content .ana .ana-party-tax { grid-column: 4; grid-row: 1; }
  .main-content .ana .ana-party-share { grid-column: 4; grid-row: 2; display: flex; align-items: center; gap: .625rem; }
  .main-content .ana .ana-party-share .ana-meter { margin: 0; order: 1; }
  .main-content .ana .ana-party-share > span:not(.ana-mobile-label) { order: 2; }
  .main-content .ana .ana-party-share .ana-mobile-label { display: none; }
  .main-content .ana .ana-party-actions { grid-column: 5; grid-row: 1 / 3; }
  .main-content .ana .ana-party-row .ana-mobile-label { display: block; }
  .main-content .ana .ana-party-share .ana-mobile-label { display: none; }
  .main-content .ana .ana-day-details { grid-template-columns: .7fr 1fr 1fr; gap: 1.25rem; }
  .main-content .ana .ana-day-context { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--ana-line); padding: 1rem 0 0; display: block; }
  .main-content .ana .ana-day-context p { margin-top: .5rem; }
}

@media (max-width: 1240px) {
  .main-content .dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .main-content .dashboard-secondary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 1.5rem; }
  .main-content .overview-breakdown { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.375rem 1.25rem; }
  .main-content .overview-breakdown > div { border: 0; padding: 0; }
  .main-content .overview-breakdown > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1.25rem; }
  .main-content .account-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-content .account-summary > div:nth-child(2) { border-right: 0; }
  .main-content .account-summary > div:nth-child(n+3):not(.delta-feedback) { border-top: 1px solid var(--line); }
  .main-content .acct .acc-workspace { grid-template-columns: 15.5rem minmax(0, 1fr); }
  .main-content .acct .acc-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .main-content .acct .acc-item-values { grid-column: 1; grid-row: 2; margin-left: 0; }
  .main-content .acct .acc-item-class { grid-column: 2; grid-row: 2 / 4; }
  .main-content .acct .acc-item-impact { grid-column: 1; grid-row: 3; margin: 0; }
  .main-content .acct .acc-scope { grid-row: 4; }
  .main-content .acct .acc-note-totals { grid-template-columns: 1fr 1fr; }
  .main-content .acct .acc-note-totals > div:last-child { grid-column: 1 / -1; }
  .main-content .acct .acc-note-totals > div:last-child dd { font-size: 1.5rem; }
  .main-content .acct .acc-note-footer { flex-direction: column; align-items: stretch; }
  .main-content .acct .acc-note-footer p { max-width: none; }
  .main-content .acct .acc-impact-note { grid-template-columns: 1fr; }
  .main-content .acct .acc-impact-note dl { flex-wrap: wrap; gap: 1.5rem; }
  .main-content .acct .acc-impact-note > .acc-open-note { grid-column: 1; justify-self: start; margin: 0; }
  .main-content .ledger .led-list-head { display: none; }
  .main-content .ledger .led-row { grid-template-columns: 8.5rem minmax(0, 1fr) 10rem; gap: 1rem 1.25rem; }
  .main-content .ledger .led-row-identity { grid-column: 1; grid-row: 1 / 3; }
  .main-content .ledger .led-party { grid-column: 2; grid-row: 1; }
  .main-content .ledger .led-money:not(.led-tax) { grid-column: 3; grid-row: 1; }
  .main-content .ledger .led-tax { grid-column: 3; grid-row: 2; }
  .main-content .ledger .led-row-files { grid-column: 2; grid-row: 2; }
  .main-content .ledger .led-row-files > small { text-align: left; }
  .main-content .ledger .led-doc-actions { justify-content: flex-start; }
  .main-content .ledger .led-mobile-label { display: block; }
  .main-content .ledger .led-items-head { display: none; }
  .main-content .ledger .led-item { grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }
  .main-content .ledger .led-item-product { grid-column: 1 / -1; }
  .main-content .ledger .led-item-qty,
  .main-content .ledger .led-item-value,
  .main-content .ledger .led-item-tax { text-align: left; }
  .main-content .ledger .led-item-qty { padding-left: 1.5rem; }
  .main-content .ana .ana-chart-header { flex-direction: column; gap: 1.125rem; }
  .main-content .ana .ana-composition > header { flex-direction: column; gap: 1.125rem; }
  .main-content .ana .ana-movement-totals { grid-template-columns: 1fr 1fr; }
  .main-content .ana .ana-period-stat { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--ana-line); padding: 1.125rem 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .625rem 1.25rem; }
  .main-content .ana .ana-period-stat strong { display: flex; align-items: baseline; gap: .625rem; margin: 0; }
  .main-content .ana .ana-period-stat strong em { margin: 0; }
  .main-content .ana .ana-period-stat small { margin-left: auto; margin-top: 0; }
  .main-content .ana.ana-summary { grid-template-columns: 1fr; gap: 1.5rem; }
  .main-content .ana .ana-summary-values { gap: 2.5rem; }
  .main-content .ana .ana-summary-plot { height: 7.5rem; }
  .main-content .ana .ana-composition-head { display: none; }
  .main-content .ana .ana-composition-row { grid-template-columns: minmax(0, 1fr) 12rem; gap: .875rem 1.5rem; }
  .main-content .ana .ana-composition-name { grid-column: 1 / -1; }
  .main-content .ana .ana-composition-share { grid-column: 1; grid-row: 2; margin-left: 3.125rem; }
  .main-content .ana .ana-composition-value { grid-column: 2; grid-row: 2; }
}

@media (max-width: 1050px) {
  .main-content .acct .acc-conference-tools { flex-direction: column; align-items: stretch; gap: .875rem; }
  .main-content .acct .acc-search { width: 100%; }
  .main-content .acct .acc-segmented { width: fit-content; }
  .main-content .acct .acc-rule-row { grid-template-columns: minmax(0, 1fr) 11rem 5rem; gap: 1rem; }
  .main-content .acct .acc-rule-product { grid-column: 1; grid-row: 1 / 3; }
  .main-content .acct .acc-rule-class { grid-column: 2; grid-row: 1; }
  .main-content .acct .acc-rule-author { grid-column: 2; grid-row: 2; }
  .main-content .acct .acc-remove-rule { grid-column: 3; grid-row: 1 / 3; }
  .main-content .acct .acc-rule-head { display: none; }
  .main-content .acct .acc-history-who > div { flex-wrap: wrap; }
  .main-content .ana .ana-party-row { grid-template-columns: minmax(0, 1fr) 8.5rem 2rem; gap: 1.125rem; }
  .main-content .ana .ana-party-identity { grid-column: 1 / 3; grid-row: 1; }
  .main-content .ana .ana-party-count { grid-column: 2; grid-row: 2; align-self: start; }
  .main-content .ana .ana-party-money { grid-column: 1; grid-row: 2; text-align: left; padding-left: 2rem; }
  .main-content .ana .ana-party-tax { grid-column: 1; grid-row: 3; text-align: left; padding-left: 2rem; }
  .main-content .ana .ana-party-share { grid-column: 2 / 4; grid-row: 3; }
  .main-content .ana .ana-party-actions { grid-column: 3; grid-row: 1; }
  .main-content .ana .ana-party-overview { grid-template-columns: .7fr 1fr; }
  .main-content .ana .ana-concentration { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--ana-line); padding: 1rem 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .75rem 1.125rem; }
  .main-content .ana .ana-concentration small { max-width: none; margin: 0; }
  .main-content .ana .ana-source-banner { grid-template-columns: 2rem minmax(0, 1fr); }
  .main-content .ana .ana-source-banner > dl { grid-column: 1 / -1; flex-direction: row; border-left: 0; border-top: 1px solid #c5a5722a; padding: 1rem 0 0; gap: 2rem; }
  .main-content .ana .ana-table-extra { display: none; }
}

@media (max-width: 780px) {
  .main-content .dashboard-secondary { display: flex; flex-direction: column; gap: 1.5rem; }
  .main-content .overview { grid-template-columns: 1fr; }
  .main-content .balance-explainer { border-left: 0; border-top: 1px solid var(--line); }
  .main-content .balance-explainer h2 br { display: none; }
  .main-content .credit-row { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: .75rem; }
  .main-content .credit-rank { grid-column: 1; grid-row: 1; }
  .main-content .credit-desc { grid-column: 2; grid-row: 1; }
  .main-content .credit-amount { grid-column: 2; grid-row: 2; justify-self: stretch; text-align: left; display: flex; align-items: baseline; gap: .75rem; margin-left: 0; }
  .main-content .credit-amount span { font-size: .75rem; }
  .main-content .acct .acc-workspace { display: block; }
  .main-content .acct .acc-notes { border-right: 0; }
  .main-content .acct .acc-notes ul { max-height: none; overflow: visible; }
  .main-content .acct .acc-conference:not(.acc-show-detail) .acc-note-detail { display: none; }
  .main-content .acct .acc-show-detail .acc-notes,
  .main-content .acct .acc-show-detail .acc-conference-tools { display: none; }
  .main-content .acct .acc-mobile-back { display: flex; align-items: center; gap: .5rem; padding: .875rem 1.125rem; border: 0; border-bottom: 1px solid var(--acc-line); background: transparent; width: 100%; color: var(--acc-gold-dark); }
  .main-content .acct .acc-note-value { flex-direction: row; justify-content: space-between; align-items: center; }
  .main-content .acct .acc-list-caption span:last-child { max-width: none; }
  .main-content .acct .acc-segmented { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .main-content .acct .acc-segmented button { justify-content: center; }
  .main-content .acct .acc-rule-row { grid-template-columns: minmax(0, 1fr) auto; gap: 1.125rem; }
  .main-content .acct .acc-rule-product { grid-column: 1 / -1; grid-row: 1; }
  .main-content .acct .acc-rule-class { grid-column: 1; grid-row: 2; }
  .main-content .acct .acc-rule-author { grid-column: 1; grid-row: 3; }
  .main-content .acct .acc-remove-rule { grid-column: 2; grid-row: 2 / 4; }
  .main-content .acct .acc-rules-reference { grid-template-columns: 1fr; gap: 2rem; }
  .main-content .acct .acc-supplier-alert,
  .main-content .acct .acc-product-alert { grid-template-columns: minmax(0, 1fr) auto; gap: .875rem 1rem; }
  .main-content .acct .acc-supplier-alert > div:first-child,
  .main-content .acct .acc-product-alert > div:first-child { grid-column: 1 / -1; }
  .main-content .acct .acc-supplier-alert > strong,
  .main-content .acct .acc-product-alert > strong { grid-column: 1; grid-row: 2; text-align: left; }
  .main-content .acct .acc-supplier-notes,
  .main-content .acct .acc-product-alert > .acc-open-note { grid-column: 2; grid-row: 2; justify-self: end; }
  .main-content .acct .acc-history-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .main-content .acct .acc-history-who,
  .main-content .acct .acc-history-change { grid-column: 1 / -1; }
  .main-content .acct .acc-history-scope { grid-column: 1; grid-row: 3; }
  .main-content .acct .acc-history-delta { grid-column: 2; grid-row: 3; }
  .main-content .acct .acc-history-row .acc-mobile-label { display: block; }
  .main-content .ana .ana-party-detail-title { flex-direction: column; align-items: flex-start; }
  .main-content .ana .ana-party-note-list > div { grid-template-columns: minmax(0, 1fr) 9rem 1.125rem; gap: .75rem; }
  .main-content .ana .ana-party-note-product { grid-column: 1 / 3; grid-row: 2; }
  .main-content .ana .ana-party-note-value { grid-column: 2; grid-row: 1; }
  .main-content .ana .ana-party-note-list button { grid-column: 3; grid-row: 1; }
}

@media (max-width: 680px) {
  .main-content .overview-main,
  .main-content .balance-explainer { padding: 1.5rem 1.25rem; }
  .main-content .total-amount { font-size: 3rem; }
  .main-content .overview-breakdown { padding: 1.25rem; gap: 1.25rem 1rem; }
  .main-content .overview-breakdown > div:nth-child(even) { padding-left: 1rem; }
  .main-content .overview-breakdown strong { font-size: 1.25rem; }
  .main-content .review-notice { flex-wrap: wrap; padding: 1rem; }
  .main-content .review-notice > div { flex: 1; }
  .main-content .review-notice button { margin-left: 1.875rem; }
  .main-content .panel { padding: 1.375rem 1.125rem; }
  .main-content .chart-svg text { font-size: 1.5rem; }
  .main-content .chart-svg { margin-left: -.375rem; margin-right: -.375rem; }
  .main-content .chart-reading { align-items: flex-start; gap: 1rem; }
  .main-content .chart-reading > span { text-align: left; }
  .main-content .tax-composition { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; }
  .main-content .tax-composition > svg { max-width: 6.5rem; }
  .main-content .tax-composition > div > span { font-size: .75rem; }
  .main-content .payment-list dd { font-size: 1.0625rem; }
  .main-content .payment-total dd { font-size: 1.5rem; }
  .main-content .forecast-panel { padding: 1.5rem 1.25rem; }
  .main-content .account-summary > div:not(.delta-feedback) { padding: 1rem; }
  .main-content .account-summary strong { font-size: 1.5rem; }
  .main-content .account-summary strong em { font-size: .8125rem; }
  .main-content .calculation-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .main-content .ledger .led-tabs { flex-wrap: wrap; }
  .main-content .ledger .led-period { flex-basis: 100%; margin-top: .625rem; text-align: left; }
  .main-content .ledger .led-summary { grid-template-columns: 1fr 1fr; gap: 1.125rem .875rem; }
  .main-content .ledger .led-summary b { font-size: 1.5rem; }
  .main-content .ledger .led-summary > div:nth-child(3) { grid-column: 1 / -1; }
  .main-content .ledger .led-summary-caption { display: none; }
  .main-content .ledger .led-selects { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; width: 100%; }
  .main-content .ledger .led-selects label { display: flex; flex-direction: column; align-items: stretch; gap: .375rem; }
  .main-content .ledger .led-selects select,
  .main-content .ledger .led-selects input[type=date] { font-size: 1rem; max-width: none; width: 100%; min-width: 0; }
  .main-content .ledger .led-selects label.led-date-filter { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .main-content .ledger .led-selects label.led-date-filter input { max-width: 12rem; }
  .main-content .ledger .led-results-caption > span:last-child { font-size: .75rem; line-height: 1.75; }
  .main-content .ledger .led-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; padding: 1.25rem 1rem; }
  .main-content .ledger .led-row-identity { grid-column: 1 / -1; grid-row: 1; }
  .main-content .ledger .led-row-identity > div { flex-wrap: wrap; }
  .main-content .ledger .led-party { grid-column: 1 / -1; grid-row: 2; }
  .main-content .ledger .led-money:not(.led-tax) { grid-column: 1; grid-row: 3; text-align: left; }
  .main-content .ledger .led-tax { grid-column: 2; grid-row: 3; text-align: right; }
  .main-content .ledger .led-row-files { grid-column: 1 / -1; grid-row: 4; display: flex; align-items: center; justify-content: space-between; gap: .875rem; flex-wrap: wrap; padding-top: 1rem; }
  .main-content .ledger .led-row-files > small { max-width: none; text-align: left; }
  .main-content .ledger .led-document { min-width: 4rem; }
  .main-content .ledger .led-detail-top { flex-wrap: wrap; }
  .main-content .ledger .led-detail-heading { padding: 1.375rem 1.125rem; }
  .main-content .ledger .led-detail-heading h2 { font-size: 2rem; }
  .main-content .ledger .led-parties { grid-template-columns: 1fr; }
  .main-content .ledger .led-parties h3 { font-size: 1.25rem; }
  .main-content .ledger .led-detail-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 1.375rem 1rem; }
  .main-content .ledger .led-detail-totals dd { font-size: 1.375rem; }
  .main-content .ledger .led-item { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; padding: 1.375rem 1.125rem; }
  .main-content .ledger .led-item-product { grid-column: 1 / -1; }
  .main-content .ledger .led-item-qty { grid-column: 1 / -1; padding-left: 0; }
  .main-content .ledger .led-item-qty .led-mobile-label { display: inline; margin-right: .75rem; }
  .main-content .ledger .led-item-value { grid-column: 1; }
  .main-content .ledger .led-item-tax { grid-column: 2; }
  .main-content .ledger .led-item .led-mobile-label { font-size: .75rem; line-height: 1.65; }
  .main-content .ledger .led-detail-foot { display: block; }
  .main-content .ledger .led-detail-foot .btn { width: 100%; }
}

@media (max-width: 600px) {
  .main-content .acct .acc-heading-count { font-size: .8125rem; }
  .main-content .acct .acc-search kbd { display: none; }
  .main-content .acct .acc-detail-heading { padding: 1.375rem 1.125rem 1.125rem; }
  .main-content .acct .acc-detail-heading h3 { font-size: 1.25rem; }
  .main-content .acct .acc-note-totals dd { font-size: 1.25rem; }
  .main-content .acct .acc-note-totals > div:last-child dt,
  .main-content .acct .acc-note-totals > div:last-child dd { display: block; }
  .main-content .acct .acc-note-totals > div:last-child dd { font-size: 1.375rem; }
  .main-content .acct .acc-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); padding: 1.5rem 1.125rem; gap: 1.125rem .875rem; }
  .main-content .acct .acc-item-product { grid-column: 1 / -1; grid-row: 1; margin-bottom: 0; }
  .main-content .acct .acc-item-values { grid-column: 1; grid-row: 2; margin-left: 0; }
  .main-content .acct .acc-item-impact { grid-column: 2; grid-row: 2; margin: 0; }
  .main-content .acct .acc-item-class { grid-column: 1 / -1; grid-row: 3; }
  .main-content .acct .acc-item-class select { font-size: 1rem; min-height: 2.875rem; }
  .main-content .acct .acc-scope { grid-row: 4; margin-left: 0; padding: 1rem; }
  .main-content .acct .acc-scope-actions { flex-direction: column; align-items: stretch; }
  .main-content .acct .acc-note-footer { padding: 1.25rem 1.125rem; }
  .main-content .acct .acc-rule-author strong,
  .main-content .acct .acc-rule-author > span:not(.acc-mobile-label) { display: block; margin-left: 0; }
  .main-content .acct .acc-history-scope > span:last-child { font-size: .8125rem; }
  .main-content .acct .acc-history-row .acc-mobile-label { font-size: .75rem; }
  .main-content .acct .acc-missing-note summary { grid-template-columns: 7rem minmax(0, 1fr) 1rem; }
  .main-content .acct .acc-missing-detail dl { flex-wrap: wrap; }
  .main-content .acct .acc-number-legend { gap: .625rem 1rem; }
  .main-content .ana .ana-movement-totals { gap: 1.25rem .875rem; }
  .main-content .ana .ana-movement-totals strong { font-size: 1.5rem; line-height: 1.45; letter-spacing: -.05rem; }
  .main-content .ana .ana-series-label { font-size: .75rem; line-height: 1.6; flex-wrap: wrap; }
  .main-content .ana .ana-movement-totals small { font-size: .75rem; }
  .main-content .ana .ana-period-stat .ana-overline { flex-basis: 100%; font-size: .75rem; }
  .main-content .ana .ana-period-stat strong { font-size: 1.5rem; }
  .main-content .ana .ana-period-stat strong em { font-size: .8125rem; }
  .main-content .ana .ana-period-stat small { flex-basis: 100%; margin-left: 0; }
  .main-content .ana .ana-main-chart { padding: 1.375rem 1rem 0; }
  .main-content .ana .ana-chart-header h2 { font-size: 1.375rem; }
  .main-content .ana .ana-chart-mode { width: 100%; }
  .main-content .ana .ana-chart-mode button { flex: 1; justify-content: center; }
  .main-content .ana .ana-chart-controls { flex-wrap: wrap; gap: .625rem; }
  .main-content .ana .ana-axis-caption { margin-left: auto; }
  .main-content .ana .ana-chart-stage { padding-left: 2.875rem; }
  .main-content .ana .ana-y-labels { width: 2.375rem; }
  .main-content .ana .ana-y-labels span { font-size: .75rem; }
  .main-content .ana .ana-x-labels button { font-size: .75rem; }
  .main-content .ana .ana-chart-plot { height: 15.25rem; }
  .main-content .ana .ana-day-details { grid-template-columns: 1fr; gap: 1.125rem; padding: 1.25rem 0; }
  .main-content .ana .ana-selected-date { grid-column: 1; display: flex; align-items: baseline; justify-content: space-between; }
  .main-content .ana .ana-selected-date > strong { font-size: 1.5rem; }
  .main-content .ana .ana-day-value { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .75rem; align-items: baseline; }
  .main-content .ana .ana-day-value > span { grid-column: 1; grid-row: 1; }
  .main-content .ana .ana-day-value > strong { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.5rem; }
  .main-content .ana .ana-day-value > button { grid-column: 1 / -1; margin-top: .25rem; font-size: .8125rem; }
  .main-content .ana .ana-day-context { grid-column: 1; }
  .main-content .ana .ana-day-context > span { font-size: .75rem; }
  .main-content .ana .ana-data-table table { font-size: .75rem; }
  .main-content .ana .ana-data-table th,
  .main-content .ana .ana-data-table td { padding: .75rem .25rem; }
  .main-content .ana .ana-composition-row { grid-template-columns: minmax(0, 1fr) 11rem; gap: .875rem; }
  .main-content .ana .ana-composition-name { gap: .625rem; }
  .main-content .ana .ana-composition-code { min-width: 2rem; }
  .main-content .ana .ana-composition-share { margin-left: 0; gap: .625rem; }
  .main-content .ana .ana-composition-value { gap: .5rem; }
  .main-content .ana .ana-composition-value strong { font-size: 1.125rem; }
  .main-content .ana .ana-party-overview { gap: 1.25rem; }
  .main-content .ana .ana-party-overview dd { font-size: 1.375rem; }
  .main-content .ana .ana-party-total > strong { font-size: 2.625rem; }
  .main-content .ana .ana-concentration > span { font-size: .8125rem; }
  .main-content .ana .ana-concentration > strong { font-size: 1.875rem; }
  .main-content .ana .ana-party-sort > span { font-size: .8125rem; }
  .main-content .ana .ana-party-sort select { font-size: 1rem; min-width: 11.25rem; }
  .main-content .ana .ana-ranking-caption > span:last-child { font-size: .75rem; max-width: 11rem; }
  .main-content .ana .ana-party-row { grid-template-columns: minmax(0, 1fr) 6.5rem 1.5rem; gap: 1rem .75rem; }
  .main-content .ana .ana-party-identity { grid-column: 1 / 3; grid-row: 1; }
  .main-content .ana .ana-party-count { grid-column: 2 / 4; grid-row: 2; display: flex; align-items: baseline; justify-content: flex-end; gap: .375rem; }
  .main-content .ana .ana-party-money { grid-column: 1; grid-row: 2; padding-left: 0; }
  .main-content .ana .ana-party-tax { grid-column: 1 / 3; grid-row: 3; padding-left: 0; }
  .main-content .ana .ana-party-share { grid-column: 1 / 3; grid-row: 4; margin-left: 0; max-width: 11rem; }
  .main-content .ana .ana-party-money > strong,
  .main-content .ana .ana-party-tax > strong { font-size: 1.25rem; }
  .main-content .ana .ana-party-tax .ana-mobile-label { display: block; margin-bottom: .375rem; }
  .main-content .ana .ana-party-count .ana-mobile-label { margin: 0; order: 2; }
  .main-content .ana .ana-party-count > strong { order: 1; }
  .main-content .ana .ana-party-detail { margin-left: 0; padding: 1.25rem 1rem; }
  .main-content .ana .ana-party-note-list > div { grid-template-columns: minmax(0, 1fr) 8.5rem 1rem; gap: .75rem .5rem; }
  .main-content .ana .ana-summary-values { gap: 1rem; }
  .main-content .ana .ana-summary-values strong { font-size: 1.5rem; }
  .main-content .ana .ana-summary-plot { height: 7rem; }
  .main-content .ana .ana-source-banner { padding: 1.375rem 1.125rem; gap: .875rem; }
  .main-content .ana .ana-source-banner .ana-overline { font-size: .75rem; }
  .main-content .ana .ana-source-banner h2 { font-size: 1.375rem; }
  .main-content .ana .ana-source-banner p { font-size: .875rem; }
}

@media (max-width: 380px) {
  .main-content .total-amount { font-size: 2.75rem; }
  .main-content .overview-breakdown strong { font-size: 1.1875rem; }
  .main-content .account-summary strong { font-size: 1.375rem; }
  .main-content .acct .acc-segmented button { font-size: .8125rem; padding-left: .625rem; padding-right: .625rem; }
  .main-content .acct .acc-note-totals dd { font-size: 1.1875rem; }
  .main-content .ledger .led-summary b { font-size: 1.375rem; }
  .main-content .ledger .led-money strong { font-size: 1.0625rem; }
  .main-content .ana .ana-movement-totals strong,
  .main-content .ana .ana-summary-values strong { font-size: 1.375rem; }
  .main-content .ana .ana-composition-row { grid-template-columns: minmax(0, 1fr) 10rem; }
  .main-content .ana .ana-day-value > strong { font-size: 1.375rem; }
  .main-content .ana .ana-party-overview dd { font-size: 1.25rem; }
  .main-content .ana .ana-source-banner { grid-template-columns: minmax(0, 1fr); }
  .main-content .ana .ana-source-banner-icon { display: none; }
}
