/*! Financial Core · Tables
 * Style of the HTML tables written in posts (.est-table). Loaded only on posts that have one.
 * The body:not(.woocommerce-cart) .main-content prefix outranks the theme's generic table rules.
 */
body:not(.woocommerce-cart) .main-content .est-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.6em 0 2.2em; border: 1px solid #e9e9e9; border-radius: var(--est-radius-sm); background: var(--est-surface); }
body:not(.woocommerce-cart) .main-content .est-table table { width: 100%; margin: 0; border: 0; border-collapse: collapse; border-spacing: 0; background: var(--est-surface); font-family: var(--est-font); color: var(--est-ink); }
body:not(.woocommerce-cart) .main-content .est-table caption { position: static; width: auto; z-index: auto; caption-side: top; text-align: left; padding: 14px 20px; font-size: 15px; line-height: 1.5; font-weight: 400; color: #676767; background: var(--est-surface); }
body:not(.woocommerce-cart) .main-content .est-table caption strong { font-weight: 600; color: var(--est-ink); }
body:not(.woocommerce-cart) .main-content .est-table tr, body:not(.woocommerce-cart) .main-content .est-table table tr:nth-child(2n+1) { background: transparent; }
body:not(.woocommerce-cart) .main-content .est-table th, body:not(.woocommerce-cart) .main-content .est-table td, body:not(.woocommerce-cart) .main-content .est-table tr th:first-child, body:not(.woocommerce-cart) .main-content .est-table tr td:first-child { padding: 14px 20px; border: 0; border-top: 1px solid #ececec; text-align: left; vertical-align: middle; color: var(--est-ink); font-size: 16px; line-height: 1.45; font-weight: 400; background: transparent; }
body:not(.woocommerce-cart) .main-content .est-table thead th, body:not(.woocommerce-cart) .main-content .est-table thead tr th:first-child { background: #f6f6f6; font-weight: 600; font-size: 15px; }
body:not(.woocommerce-cart) .main-content .est-table .est-nowrap, body:not(.woocommerce-cart) .main-content .est-table tr th.est-nowrap:first-child { white-space: nowrap; }
body:not(.woocommerce-cart) .main-content .est-table .est-num { text-align: right; font-variant-numeric: tabular-nums; }
body:not(.woocommerce-cart) .main-content .est-table td.est-num { white-space: nowrap; }
body:not(.woocommerce-cart) .main-content .est-table .est-highlight, body:not(.woocommerce-cart) .main-content .est-table thead th.est-highlight { background: #fdf2e8; font-weight: 600; }
body:not(.woocommerce-cart) .main-content .est-table thead th.est-highlight { box-shadow: inset 0 -3px 0 var(--est-primary); }
body:not(.woocommerce-cart) .main-content .est-table .est-total th, body:not(.woocommerce-cart) .main-content .est-table .est-total td, body:not(.woocommerce-cart) .main-content .est-table .est-total th:first-child { font-weight: 600; }
body:not(.woocommerce-cart) .main-content .est-table .est-total td.est-highlight { background: #fce6d4; }
@media (max-width: 690px) {
  body:not(.woocommerce-cart) .main-content .est-table th, body:not(.woocommerce-cart) .main-content .est-table td, body:not(.woocommerce-cart) .main-content .est-table tr th:first-child, body:not(.woocommerce-cart) .main-content .est-table tr td:first-child { padding: 11px 12px; font-size: 14.5px; }
  body:not(.woocommerce-cart) .main-content .est-table thead th, body:not(.woocommerce-cart) .main-content .est-table thead tr th:first-child, body:not(.woocommerce-cart) .main-content .est-table thead th.est-num { font-size: 14px; white-space: normal; }
  body:not(.woocommerce-cart) .main-content .est-table caption { padding: 12px; font-size: 14px; }
}
body:not(.woocommerce-cart) .main-content .est-table.est-table-summary thead th, body:not(.woocommerce-cart) .main-content .est-table.est-table-summary thead tr th:first-child { background: var(--est-primary); color: #fff; font-weight: 600; border-top: 0; }
body:not(.woocommerce-cart) .main-content .est-table.est-table-summary tbody th, body:not(.woocommerce-cart) .main-content .est-table.est-table-summary tbody tr th:first-child { font-weight: 600; }
body:not(.woocommerce-cart) .main-content .est-table.est-table-summary tbody tr:nth-child(2n) { background: #fdf6f0; }

/* Keep the caption readable across the visible width of a scrolling data table. */
@supports (width: 1cqi) {
  body.single-post .post-content .est-table { container-type: inline-size; }
  body.single-post .post-content .est-table caption { max-inline-size: 100cqi; box-sizing: border-box; }
}
