.etf-section { min-width: 0; padding: 20px 0 8px; border-top: 1px solid var(--line); background: rgba(3,6,6,.92); }
.etf-heading-row, .etf-table-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.etf-heading-row { padding: 0 14px; }
.etf-heading-row h2 { font-size: 18px; line-height: 1.4; margin: 0; font-weight: 600; }
.etf-heading-row h2 span { color: var(--muted); margin-left: 8px; font-size: 14.63px; }
.etf-heading-row p, .etf-source, .etf-status, .etf-table-foot { font-size: 12.38px; line-height: 1.6; color: var(--muted); }
.etf-heading-row p { margin: 4px 0 0; }
.etf-section button, .etf-section input, .etf-section select { border: 1px solid var(--line); background: #090f10; color: var(--text); border-radius: 3px; padding: 7px 10px; font: inherit; font-size: 13.5px; min-height: 34px; }
.etf-section button { cursor: pointer; }
.etf-section button:hover:not(:disabled) { border-color: var(--line-strong); background: #142021; }
.etf-section button:disabled { opacity: .4; cursor: default; }
.etf-section :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.etf-summary { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); padding: 16px 14px; gap: 24px; border-bottom: 1px solid var(--border); }
.etf-summary-item { min-width: 0; }
.etf-summary-item + .etf-summary-item { border-left: 1px solid var(--border); padding-left: 24px; }
.etf-summary-item strong { font-size: 14.63px; }
.etf-summary-item .etf-total { font-size: 27px; line-height: 1.4; font-weight: 600; display: block; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.etf-summary-item small { display: block; color: var(--muted); line-height: 1.6; font-size: 12.38px; }
.etf-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 14px 14px 0; }
.etf-toolbar label { display: flex; flex-direction: column; gap: 4px; font-size: 12.38px; color: var(--muted); }
.etf-toolbar input { max-width: 100%; }
.etf-status { margin: 10px 14px; min-height: 18px; }
.etf-status.warn { color: var(--yellow); }
.etf-table-scroll { width: 100%; overflow-x: auto; scrollbar-color: var(--line-strong) #090f10; }
.etf-table { width: 100%; min-width: 570px; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; table-layout: fixed; }
.etf-table th, .etf-table td { text-align: right; padding: 9px 14px; white-space: nowrap; border-bottom: 1px solid var(--border); }
.etf-table th { color: var(--muted); font-size: 12.38px; font-weight: 600; background: #0c1314; white-space: normal; line-height: 1.5; }
.etf-table th:first-child, .etf-table td:first-child { text-align: left; width: 112px; }
.etf-table td:nth-child(4), .etf-table th:nth-child(4) { border-left: 1px solid var(--line); }
.etf-table tbody tr:hover { background: #111c1d; }
.etf-table td.etf-empty { text-align: center; padding: 35px 12px; color: var(--muted); }
.etf-up { color: var(--green); }
.etf-down { color: var(--red); }
.etf-missing { color: var(--muted); }
.etf-table-foot { padding: 10px 14px; }
.etf-paging { display: flex; gap: 6px; }
.etf-paging button { width: 36px; height: 34px; font-size: 20.25px; padding: 0; }
.etf-source { margin: 0; padding: 4px 14px; }
.etf-source a { color: var(--muted); text-underline-offset: 3px; }
@media (max-width: 540px) {
  .etf-heading-row { align-items: start; gap: 8px; }
  .etf-heading-row h2 span { display: block; margin: 0; }
  .etf-summary { gap: 12px; }
  .etf-summary-item + .etf-summary-item { padding-left: 12px; }
  .etf-summary-item .etf-total { font-size: 20.25px; }
  .etf-toolbar { gap: 8px; }
  .etf-toolbar label:nth-child(-n+2) { width: calc(50% - 4px); }
  .etf-table th, .etf-table td { padding: 9px 10px; }
}
