.stock-screen { max-width: 1480px; }
.breadcrumb { color: #456173; }
.stock-filters { display:grid; grid-template-columns: repeat(4,minmax(120px,1fr)); gap:.8rem; align-items:end; }
.stock-filters label { min-width:0; margin:0; }
.stock-filters select { width:100%; min-width:0; min-height:42px; }
.stock-heading { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; align-items:flex-start; }
.stock-heading h2 { margin:0; }
.stock-heading p { margin:.4rem 0; }
.stock-actions { display:flex; flex-wrap:wrap; gap:8px; }
.stock-actions button[aria-pressed="true"], #indicators button[aria-pressed="true"] {
  background: #175559;
  color: white;
}
#indicators { margin-top: 1rem; }
#links { margin-bottom: 1rem; }
#result .stock-table table { min-width: 820px; }
#result .stock-table td { min-width: auto; text-align: left; }
#paging { margin-top: 1rem; align-items: center; }
#scope { margin-bottom: .8rem; }
#scope p { margin: .35rem 0; }
#scope + .stock-table { margin-top: 1rem; }
.metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:.65rem; }
.metrics div { padding:.7rem; border:1px solid #cbdcde; border-radius:8px; background:#eef6f5; }
.metrics dt { font-size:.88rem; color:#405a68; }
.metrics dd { margin:0; font-size:1.45rem; font-weight:700; color:#133347; }
.source-gap { background:#fff4dc; border-left:3px solid #c58a35; padding:.75rem; }
.stock-table { overflow:auto; max-height:65vh; border:1px solid #cbdcde; border-radius:8px; }
.stock-table table { border-collapse:collapse; width:100%; min-width:1280px; font-size:.84rem; }
.stock-table th { position:sticky; top:0; text-align:left; background:#175559; color:white; }
.stock-table th,.stock-table td { padding:8px; border-bottom:1px solid #d9e6e8; vertical-align:top; }
.stock-table td:nth-child(3) { min-width:210px; }
.stock-table td:nth-child(n+6):nth-child(-n+11) { text-align:right; font-variant-numeric:tabular-nums; }
.stock-table tr:nth-child(even) { background:#f0f7f6; }
.stock-table td:nth-child(13) { min-width:155px; }
.stock-table td:last-child { min-width:140px; }
@media(max-width:780px){.stock-filters{grid-template-columns:1fr 1fr;gap:.6rem}.stock-table{max-height:55vh}}
