/* Economic overview; independent of the customer/matter directory. */
body[data-ui=books110] .economy-page .section-heading {flex-direction:row;flex-wrap:nowrap;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px;}
.economy-page .section-heading h1 {margin-bottom:12px;}
.economy-page .section-heading .intro {margin-bottom:0;}
.economy-refresh {min-width:44px;min-height:44px;flex:none;}
.economy-refresh svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;}
.economy-search {max-width:600px;margin-bottom:12px;}
.economy-search label {flex:1;min-width:0;}
.economy-search input {width:100%;}
.economy-status,.economy-note {font-size:var(--label-size);color:var(--muted);}
.economy-note {max-width:900px;margin-top:24px;line-height:1.6;}
.economy-region {overflow-x:auto;max-width:100%;}
.economy-table {border-collapse:collapse;width:100%;min-width:1080px;table-layout:fixed;font-size:var(--label-size);text-align:left;}
.economy-table th {font-weight:500;color:var(--muted);font-size:.86em;padding:14px 12px;border-bottom:1px solid var(--line);}
.economy-table td {padding:18px 12px;border-bottom:1px solid var(--line);vertical-align:middle;}
.economy-table th:first-child {width:28%;}
.economy-table th:nth-child(2) {width:16%;}
.economy-table th:nth-child(3) {width:21%;}
.economy-table th:nth-child(4) {width:16%;}
.economy-table th:last-child {width:19%;}
.economy-table small {display:block;font-size:.86em;color:var(--muted);margin-top:6px;line-height:1.5;}
.economy-case,.economy-table td:first-child small {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.economy-case {color:var(--text);font-weight:500;text-decoration:none;}
.economy-case:hover {text-decoration:underline;}
.economy-actions {display:flex;align-items:flex-start;flex-direction:column;gap:0;}
body[data-ui=books110] .economy-actions .button {white-space:nowrap;justify-content:flex-start;padding:6px 0;min-height:32px;border-inline:0;}
.economy-paging {margin-top:16px;}
@media(max-width:600px){.economy-search {flex-wrap:wrap;}.economy-search label {flex-basis:100%;}body[data-ui=books110] .economy-page .section-heading {flex-direction:row;gap:12px;}}

@media(max-width:740px){
 .economy-table,.economy-table tbody {display:block;min-width:0;}
 .economy-table thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
 .economy-table tr {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 12px;padding:20px 0;border-bottom:1px solid var(--line);}
 .economy-table td {display:block;padding:0;border:0;min-width:0;}
 .economy-table td:first-child,.economy-table td:last-child {grid-column:1/-1;}
 .economy-table td[data-label]::before {content:attr(data-label);display:block;font-size:.86em;color:var(--muted);margin-bottom:8px;}
 .economy-table td:nth-child(4) {grid-column:1/-1;}
 .economy-actions {flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px;}
 body[data-ui=books110] .economy-actions .button {min-height:44px;display:inline-flex;align-items:center;}
}

.economy-page .section-heading>div {min-width:0;flex:1;}

/* Funds uses the same read-only overview with a narrower, page-scoped filter. */
.funds-page .economy-toolbar {display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;}
.funds-page .economy-toolbar {margin-top:24px;}
.funds-page .economy-toolbar label,.funds-page .economy-toolbar select {margin:0;}
.funds-page .economy-search {flex:1;min-width:240px;margin-bottom:0;}
.funds-filter {display:flex;flex-direction:column;gap:8px;font-size:var(--label-size);}
.funds-filter select {max-width:100%;}
.funds-count {font-size:var(--label-size);line-height:1.6;}
.funds-page .funds-scope {margin-top:8px;margin-bottom:16px;}
.funds-page .economy-table {min-width:820px;}
.funds-page .economy-table th:first-child {width:36%;}
.funds-page .economy-table th:nth-child(2) {width:24%;}
.funds-page .economy-table th:nth-child(3) {width:25%;}
.funds-page .economy-table th:last-child {width:15%;}
.economy-table tr[hidden] {display:none;}
@media(max-width:740px){
 .funds-page .economy-table {min-width:0;}
 body[data-ui=books110] .funds-page .economy-table td {padding:0;}
 body[data-ui=books110] .funds-page .economy-table td:nth-child(3) {grid-column:auto;}
}
@media(max-width:600px){.funds-page .economy-search,.funds-filter {min-width:0;width:100%;flex-basis:100%;}}
