/* Resources sections (finance metrics and later ones). Kept small: standard Quarto otherwise. */

h1.title {margin-bottom: .5em!important;}
h2 {border-bottom: 0!important;}

/* breadcrumbs inside the title banner */
.resources-crumbs .breadcrumb { margin-bottom: .4rem; font-size: .85rem; padding-left: 0!important;}
.resources-crumbs .breadcrumb-item,
.resources-crumbs .breadcrumb-item + .breadcrumb-item::before,
.resources-crumbs a { color: inherit; opacity: .85; }
.resources-crumbs a:hover { opacity: 1; }

/* index tables: same first-column width in every table */
.resources-index table { table-layout: fixed; width: 100%; }
.resources-index th:first-child, .resources-index td:first-child { width: 14rem; }
@media (max-width: 576px) {
  .resources-index th:first-child, .resources-index td:first-child { width: 9rem; }
}

/* nested account lists on line-item pages */
.account-tree ul { margin-bottom: 0; }
.account-tree li { margin: .1rem 0; }
.account-tree .account-total { font-weight: 600; }

/* chart of accounts table: small, one line per row, full text on hover or tap */
.coa-table { font-size: .8rem; table-layout: fixed; width: 100%; }
.coa-table th, .coa-table td { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: .25rem .4rem; }
.coa-table col.no { width: 4rem; }
.coa-table col.name { width: 40%; }
.coa-table col.category { width: 20%; }
.coa-table td.expanded { white-space: normal; overflow: visible; }
.coa-table .indent { display: block; overflow: hidden; text-overflow: ellipsis; }
.coa-table td.expanded .indent { white-space: normal; }
.coa-wrap { overflow-x: auto; }
@media (max-width: 768px) { .coa-table { min-width: 680px; } }
.coa-table tr.total td { font-weight: 600; }
.coa-table [title] { cursor: help; }

/* where an anchor link lands */
.coa-table tr:target td, li:target { background: rgba(var(--bs-warning-rgb), .25); }
