.finance-page { width: min(1540px, calc(100% - 64px)); }
.finance-usage span { width: 47%; }
.finance-panel { overflow: hidden; }
.finance-table { min-width: 960px; }
.finance-table th:nth-child(1) { width: 22%; padding-left: 20px; }
.finance-table th:nth-child(2) { width: 8%; }
.finance-table th:nth-child(3) { width: 14%; }
.finance-table th:nth-child(4) { width: 17%; }
.finance-table th:nth-child(5) { width: 23%; }
.finance-table th:nth-child(6) { width: 12%; }
.finance-table th:nth-child(7) { width: 4%; }
.finance-table td { height: 76px; }
.dataset-name { min-width: 0; display: flex; align-items: center; gap: 11px; }
.dataset-name .prompt-icon { width: 38px; height: 34px; font-size: 8px; }
.dataset-name > span:last-child, .size-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dataset-name strong { overflow: hidden; color: #1c3747; font-size: 11.5px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.dataset-name small, .size-main small { overflow: hidden; color: #8b9aa2; font-size: 8.5px; white-space: nowrap; text-overflow: ellipsis; }
.size-main strong { color: #243e4e; font-size: 11px; font-weight: 600; }
.source-link { min-width: 0; display: flex; align-items: center; gap: 7px; color: #526975; font-size: 9.5px; text-decoration: none; }
.source-link > span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.source-link:hover { color: #087e85; }
.source-badge { flex: none; display: grid; place-items: center; min-width: 27px; height: 24px; padding: 0 5px; border-radius: 4px; font-size: 7px; font-weight: 700; }
.source-badge.sec { color: #455f79; background: #e8eef3; }
.source-badge.fred { color: #9c5d52; background: #faebe8; }
.source-badge.treasury { color: #98700f; background: #fff3d0; }
.source-badge.nasdaq { color: #087983; background: #e2f2f2; }
.source-badge.house { color: #4a628e; background: #e8edf6; }
.source-badge.fdic { color: #157567; background: #e5f3ef; }
.source-badge.emma { color: #a15d48; background: #f9eae6; }
.scraper-cell { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.scraper-cell a { overflow: hidden; color: #087c84; font-family: "Roboto Mono", monospace; font-size: 8.5px; white-space: nowrap; text-decoration: none; text-overflow: ellipsis; }
.scraper-cell a:first-child { color: #425d6b; font-family: "Source Sans 3", sans-serif; font-size: 9.5px; font-weight: 600; }
.scraper-cell a:hover { text-decoration: underline; }
.refresh-note { display: flex; align-items: center; gap: 6px; }
.refresh-note i { width: 6px; height: 6px; border-radius: 50%; background: #12a18a; box-shadow: 0 0 0 3px rgba(18,161,138,.1); }
.finance-detail-page { width: min(1540px, calc(100% - 64px)); }
.financial-overview { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(600px, 1.6fr); gap: 14px; margin-bottom: 14px; }
.financial-description { display: flex; flex-direction: column; }
.financial-description > p { margin: 0; color: #506773; font-size: 10px; line-height: 1.55; }
.frequency-badge { padding: 3px 7px; color: #08776e; border-radius: 3px; background: #e7f5f1; font-size: 8px; letter-spacing: 0; text-transform: none; }
.coverage-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; padding-top: 14px; }
.coverage-row > span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.coverage-row small { color: #94a0a7; font-size: 7.5px; }
.coverage-row strong, .coverage-row a { overflow: hidden; color: #354f5d; font-family: "Roboto Mono", monospace; font-size: 8px; font-weight: 500; text-decoration: none; white-space: nowrap; text-overflow: ellipsis; }
.finance-metrics .metric > a { font-family: "Source Sans 3", sans-serif; font-size: 9px; }
.finance-metrics .source-badge { min-width: 27px; }
.financial-mechanism .mechanism-links { max-width: 800px; }
.records-table { min-width: 1080px; }
.records-table th:nth-child(1) { width: 12%; padding-left: 19px; }
.records-table th:nth-child(2) { width: 20%; }
.records-table th:nth-child(3) { width: 11%; }
.records-table th:nth-child(4) { width: 24%; }
.records-table th:nth-child(5) { width: 10%; }
.records-table th:nth-child(6) { width: 10%; }
.records-table th:nth-child(7) { width: 9%; }
.records-table th:nth-child(8) { width: 4%; }
.records-table td { height: 66px; }
.record-id { color: #087c84; font-family: "Roboto Mono", monospace; font-size: 8px; text-decoration: none; }
.record-id:hover { text-decoration: underline; }
.entity-cell { min-width: 0; display: flex; align-items: center; gap: 9px; }
.entity-mark { flex: none; display: grid; place-items: center; width: 31px; height: 31px; color: #087d84; border-radius: 4px; background: #e4f3f3; font-size: 8px; font-weight: 700; }
.entity-cell > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.entity-cell strong { overflow: hidden; color: #314c5b; font-size: 9.5px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.entity-cell small, .period-cell, .collected-cell { color: #8a99a1; font-size: 8px; }
.value-pairs { display: flex; align-items: center; gap: 5px; }
.value-pairs span { min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 4px 6px; border: 1px solid #d9e3e5; border-radius: 3px; background: #f4f7f7; color: #435d6a; font-family: "Roboto Mono", monospace; font-size: 7.5px; white-space: nowrap; }
.value-pairs small { color: #91a0a7; font-size: 6.5px; }
.record-source { display: inline-flex; align-items: center; gap: 5px; color: #617681; font-size: 8.5px; }
.validation-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px; color: #08756a; border-radius: 3px; background: #e7f5f1; font-size: 8px; }
.validation-pill i { width: 5px; height: 5px; border-radius: 50%; background: #0ba087; }
@media (max-width: 1120px) { .financial-overview { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .finance-page, .finance-detail-page { width: calc(100% - 32px); } .coverage-row { grid-template-columns: 1fr 1fr; } }
