/* Borderless rhythm: tables, lists and blocks are separated by spacing only, never by hairlines. */

body.dash-page :is(table, thead, tbody, tfoot, tr, th, td) {
  border-block: 0 !important;
}

:is(
  .ops-preview-loading,
  .inv-preview-skeleton,
  .tx-preview-skeleton,
  .aud-preview__loading,
  .bud-preview-skeleton
) span {
  border-block: 0 !important;
  border-radius: 12px;
  margin-block-end: var(--spacing-sm, 8px);
}

body.dash-page .dash-main hr,
body.dash-page dialog hr {
  border: 0 !important;
  block-size: 0;
}

.acct-cal-stats,
.auth-more-options-dropdown,
.bill-detail-row + .bill-detail-row,
.bill-action-card + .bill-action-card,
.bill-invoice + .bill-invoice,
.bill-faq__item,
.bud-add-cat,
.bud-drawer__footer,
.message-bubble.markdown-content hr,
.calendar-picker-footer,
.flatpickr-time,
.acct-settings-preview__section + .acct-settings-preview__section,
.acct-settings-preview__row + .acct-settings-preview__row,
.aud-preview__row,
.aud-preview__state:not([hidden]),
.wsp-preview__section + .wsp-preview__section,
.wsp-preview__row + .wsp-preview__row,
.dash-form-dialog__footer,
.dash-onboarding--aside .dash-onboarding__step,
.demo-qa-panel__event-body,
.inv-week-timeline__add,
.inv-day-agenda__footer,
.nucleus-budget-insights-note,
.nucleus-dashboard-extra-grid #nucleus-dashboard-ai-panel,
.nv-labels-manager__list,
.nucleus-month-board-transactions-pane,
.nucleus-month-board-list,
#nucleus-dashboard-container #nucleus-payments-root .nucleus-payments-account-island__actions,
#nucleus-dashboard-container #nucleus-payments-root .nucleus-payments-island__footer,
#nucleus-dashboard-container .nucleus-stats-grid .nucleus-stat-card:not(:first-child),
.nucleus-taxes-ai,
.nucleus-taxes-brief,
.nucleus-taxes-brief-disclaimer,
.nucleus-taxes-brief-doc-footer,
.nucleus-taxes-brief-doc--report .nucleus-taxes-brief-disclaimer,
.nucleus-taxes-brief-doc--report .nucleus-taxes-brief-doc-footer,
.nucleus-taxes-card .nucleus-taxes-custom-block,
.nucleus-taxes-profile,
.nucleus-tx-remote-edit-form,
.nucleus-transactions-more-body,
.capi-restrict,
.capi-footer,
.cbnk-footer,
.cbnk-summary-panel__secure,
.cwlt-footer,
.cwlt-summary-panel__secure,
.cdel-archive,
.cdep-drawer__footer,
.cdep-drawer__sheet,
.cxch-rate__lock,
.cxch-review__row--total,
.cint-footer,
.cinv-sum-row--total,
.cinv-paper__total,
.cappr-footer,
.cpay-footer,
.csend-drawer__footer,
.csend-drawer__sheet,
.tinv-footer,
.cxfr-review__fx,
.dash-user-menu__head-balance,
.hlp-panel__foot,
.inc-add-cat,
.ins-counterparty + .ins-counterparty,
.ins-journal__empty,
.int-detail__foot,
.invd-receipt__totals div,
.invd-receipt__footer,
.invoice-share-doc__payment,
.inv-quote-dialog__actions,
.inv-payment-dialog__crypto-terms,
.inv-compose-preview__meta,
.inv-compose-preview__line,
.ntc-summary,
.ntf-row__channels,
.nucleus-tx-explain,
#nucleus-dashboard-container #nucleus-budget-insights .nucleus-budget-insights-visual--tiles-only .nucleus-budget-insights-bottom,
#nucleus-dashboard-container #nucleus-finance-planner .nucleus-insights-hub-main,
#nucleus-dashboard-container #nucleus-finance-planner .nucleus-insights-hub-visual .nucleus-insights-nav-head,
#nucleus-dashboard-container #nucleus-finance-planner .nucleus-insights-hub-chrome:not([hidden]),
#nucleus-dashboard-container #nucleus-finance-planner .nucleus-insights-hub-visual .nucleus-insights-body .nucleus-insights-overview .nucleus-insights-actions,
#nucleus-dashboard-container .nucleus-insights-layout .nucleus-insights-body > section,
#nucleus-dashboard-container .nucleus-insights-layout .nucleus-insights-body > form.nucleus-portfolio-add,
#nucleus-dashboard-container .nucleus-insights-layout .nucleus-insights-forecast-bars,
#nucleus-dashboard-container .nucleus-insights-body--journal .nucleus-insights-journal-section,
#nucleus-dashboard-container .nucleus-treasury-hub__post-pmf,
.ob-preview__accounts,
.pay-crypto-list,
.pay-crypto-brief,
.pay-add-method,
.pay-crypto-send__beneficiary,
.rpt-card__foot,
.rpt-panel__foot,
.sec-card__foot,
.sec-passkeys-list .settings-account-row,
.settings-team-role + .settings-team-role,
.txd-card__foot {
  border-top: 0 !important;
}

.accd-row,
.acct-payment,
.acct-bank-import__preview-head,
.calendar-picker-header,
.flatpickr-months,
.flatpickr-weekdays,
.nv-cloudflare-preview-auth .accd-preview-fact,
.acct-preview-link,
.inc-preview-link,
.nv-cloudflare-preview-auth .invd-preview-fact,
.ops-preview-row,
.demo-qa-panel__header,
body.nucleus-bold-v3 .nucleus-guide-widget[data-bold-onboarding='1'] .nucleus-guide-widget__header,
.nucleus-budget-insights-head,
.nucleus-budget-insights-no-categories,
.nucleus-budget-insights-summary-row,
.nucleus-dashboard-home__treasury-stat,
.dash-account-row,
.dash-upcoming-row,
#nucleus-dashboard-container .nucleus-finance-island #nucleus-operations-transactions-host .nucleus-calendar-header--operations,
#nucleus-dashboard-container .nucleus-invoicing-fintech-panel .nucleus-invoicing-timeline li,
#nucleus-dashboard-container #nucleus-payments-root .nucleus-payments-island__head,
#nucleus-dashboard-container #nucleus-payments-root .nucleus-payments-tx,
#nucleus-dashboard-container #nucleus-payments-root .nucleus-treasury-wallet-balances li,
#nucleus-dashboard-container #nucleus-payments-root .nucleus-treasury-wallet-movements__row,
.nucleus-budget-insights-pills,
.nucleus-taxes-brief-doc-head,
.nucleus-taxes-report-doc-header,
.nucleus-taxes-brief-doc--report > .nucleus-taxes-report-block,
.nucleus-taxes-card-title,
.nucleus-taxes-list--checklist > li,
.nucleus-tx-list-summary-bar,
.capi-side-row,
.cbnk-summary-panel__row,
.cwlt-summary-panel__row,
.cdel-info__row,
.cdep-drawer__header,
.cerr-details__row,
.cxch-review__row,
.cint-perm,
.cint-sync-row,
.cint-review__row,
.cint-summary-panel__row,
.cinv-payment-choice,
.cinv-review__row,
.cinv-paper__head,
.cappr-reason,
.cappr-detail,
.cappr-summary-row,
.cappr-check-row,
.cpay-est-row,
.cpay-review__row,
.cpay-summary-panel__row,
.cexpr-review__row,
.cexpr-side-row,
.csend-drawer__header,
.csend-drawer__review-list > div,
.cses-info__row,
.csuc-summary__row,
.tinv-access__row,
.tinv-review__row,
.tinv-summary-panel__row,
.cxfr-review__row,
.cuns-info__row,
.int-detail__head,
.invd-totals__row:not(:last-child),
.invoice-share-payment-preview__details div:not(:last-child),
.inv-domain-head,
.inv-quote-dialog__head,
.inv-compose-preview__line,
.ntf-row,
.ntf-summary__list li,
.ntf-history li,
#nucleus-dashboard-container .nucleus-insights-layout .nucleus-insights-forecast-bars,
#nucleus-dashboard-container .nucleus-treasury-wallet-balances li,
#nucleus-dashboard-container .nucleus-treasury-wallet-movements__row,
#nucleus-dashboard-container .nucleus-treasury-hub__queue-row,
.pay-crypto-item,
.pay-approval,
.pay-crypto-send__item,
.pay-crypto-section:first-child,
.txd-row,
.tx-selection-bar {
  border-bottom: 0 !important;
}
