/* ===== CONTROLS ===== */
/* line 8, app/assets/stylesheets/exchange/top_brokers.scss */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 8px 0 20px;
}

/* line 16, app/assets/stylesheets/exchange/top_brokers.scss */
.search {
  flex: 1 1 340px;
  min-width: 260px;
  position: relative;
}

/* line 22, app/assets/stylesheets/exchange/top_brokers.scss */
.search input {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--uz-ink);
  border: 1px solid var(--uz-line);
  border-radius: 100px;
  padding: 13px 18px 13px 44px;
  outline: none;
  transition: .2s;
  background: #fff;
}

/* line 35, app/assets/stylesheets/exchange/top_brokers.scss */
.search input:focus {
  border-color: var(--uz-blue);
  box-shadow: 0 0 0 4px rgba(2, 95, 244, 0.1);
}

/* line 40, app/assets/stylesheets/exchange/top_brokers.scss */
.search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .45;
}

/* line 48, app/assets/stylesheets/exchange/top_brokers.scss */
.fld {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* line 54, app/assets/stylesheets/exchange/top_brokers.scss */
.fld select {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--uz-navy);
  background: #fff;
  border: 1px solid var(--uz-line);
  border-radius: 100px;
  padding: 11px 38px 11px 16px;
  cursor: pointer;
  outline: none;
  transition: .2s;
  max-width: 100%;
}

/* line 71, app/assets/stylesheets/exchange/top_brokers.scss */
.fld select:hover {
  border-color: #C6D6F8;
}

/* line 75, app/assets/stylesheets/exchange/top_brokers.scss */
.fld select:focus {
  border-color: var(--uz-blue);
  box-shadow: 0 0 0 4px rgba(2, 95, 244, 0.1);
}

/* line 80, app/assets/stylesheets/exchange/top_brokers.scss */
.fld select.on {
  border-color: var(--uz-blue);
  color: var(--uz-blue);
}

/* line 85, app/assets/stylesheets/exchange/top_brokers.scss */
.fld .cv {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: .5;
}

/* line 94, app/assets/stylesheets/exchange/top_brokers.scss */
.count {
  font-size: 13.5px;
  color: var(--uz-muted);
  margin-left: auto;
  white-space: nowrap;
}

/* line 101, app/assets/stylesheets/exchange/top_brokers.scss */
.reset {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--uz-blue);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: auto;
}

/* line 113, app/assets/stylesheets/exchange/top_brokers.scss */
.reset:hover {
  text-decoration: underline;
}

/* line 117, app/assets/stylesheets/exchange/top_brokers.scss */
.reset[hidden] + .count {
  margin-left: auto;
}

/* line 121, app/assets/stylesheets/exchange/top_brokers.scss */
.reset:not([hidden]) + .count {
  margin-left: 0;
}

/* line 125, app/assets/stylesheets/exchange/top_brokers.scss */
.period {
  font-size: 12.5px;
  color: var(--uz-muted);
  margin-top: 5px;
}

/* line 131, app/assets/stylesheets/exchange/top_brokers.scss */
.nodata {
  padding: 52px 22px;
  text-align: center;
  color: var(--uz-muted);
  font-size: 13.5px;
}

/* line 138, app/assets/stylesheets/exchange/top_brokers.scss */
.nodata b {
  display: block;
  color: var(--uz-navy);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

/* ===== GRID & PANELS ===== */
/* line 147, app/assets/stylesheets/exchange/top_brokers.scss */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* line 154, app/assets/stylesheets/exchange/top_brokers.scss */
.panel {
  border: 1px solid var(--uz-line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* line 164, app/assets/stylesheets/exchange/top_brokers.scss */
.panel > header {
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--uz-line);
  background: #F7F9FE;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* line 174, app/assets/stylesheets/exchange/top_brokers.scss */
.panel table {
  flex: 1 1 auto;
}

/* line 178, app/assets/stylesheets/exchange/top_brokers.scss */
.panel h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--uz-navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* line 186, app/assets/stylesheets/exchange/top_brokers.scss */
.panel p {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--uz-muted);
}

/* ===== TABLE ===== */
/* line 193, app/assets/stylesheets/exchange/top_brokers.scss */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  table-layout: fixed;
}

/* line 201, app/assets/stylesheets/exchange/top_brokers.scss */
thead th {
  background: #fff;
  color: var(--uz-muted);
  text-align: right;
  font-size: 9.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0 8px;
  border-bottom: 1px solid var(--uz-line);
  line-height: 1;
  user-select: none;
  vertical-align: middle;
  height: 42px;
  white-space: nowrap;
}

/* line 218, app/assets/stylesheets/exchange/top_brokers.scss */
thead th.l {
  text-align: left;
}

/* line 222, app/assets/stylesheets/exchange/top_brokers.scss */
thead th:first-child {
  padding-left: 22px;
  text-align: left;
}

/* line 227, app/assets/stylesheets/exchange/top_brokers.scss */
thead th:last-child {
  padding-right: 22px;
}

/* line 231, app/assets/stylesheets/exchange/top_brokers.scss */
col.c-n {
  width: 52px;
}

/* line 232, app/assets/stylesheets/exchange/top_brokers.scss */
col.c-name {
  width: auto;
}

/* line 233, app/assets/stylesheets/exchange/top_brokers.scss */
col.c-val {
  width: 44%;
}

/* line 235, app/assets/stylesheets/exchange/top_brokers.scss */
tbody td {
  padding: 9px 8px;
  border-bottom: 1px solid #EFF2F9;
  vertical-align: middle;
  height: 62px;
}

/* line 242, app/assets/stylesheets/exchange/top_brokers.scss */
tbody td:first-child {
  padding-left: 22px;
}

/* line 246, app/assets/stylesheets/exchange/top_brokers.scss */
tbody td:last-child {
  padding-right: 22px;
}

/* line 250, app/assets/stylesheets/exchange/top_brokers.scss */
tbody tr:last-child td {
  border-bottom: 0;
}

/* line 254, app/assets/stylesheets/exchange/top_brokers.scss */
tbody tr:hover {
  background: #F7FAFF;
}

/* line 258, app/assets/stylesheets/exchange/top_brokers.scss */
tbody tr.dim {
  opacity: .32;
}

/* ===== RANK BADGE ===== */
/* line 263, app/assets/stylesheets/exchange/top_brokers.scss */
.rk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  background: #EEF3FF;
  color: var(--uz-blue);
  font-variant-numeric: tabular-nums;
}

/* line 277, app/assets/stylesheets/exchange/top_brokers.scss */
.rk.top {
  background: var(--uz-blue);
  color: #fff;
}

/* ===== CONTENT CELLS ===== */
/* line 283, app/assets/stylesheets/exchange/top_brokers.scss */
.co b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--uz-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 293, app/assets/stylesheets/exchange/top_brokers.scss */
.val {
  text-align: right;
}

/* line 297, app/assets/stylesheets/exchange/top_brokers.scss */
.val b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--uz-navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1.25;
}

/* line 307, app/assets/stylesheets/exchange/top_brokers.scss */
.val s {
  display: block;
  text-decoration: none;
  font-size: 11px;
  color: var(--uz-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  margin-top: 1px;
}

/* line 317, app/assets/stylesheets/exchange/top_brokers.scss */
.bar {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--uz-blue);
  margin: 6px 0 0 auto;
  opacity: .85;
}

/* line 326, app/assets/stylesheets/exchange/top_brokers.scss */
tbody tr:nth-child(n+4) .bar {
  background: #9FBEF9;
}

/* ===== PROGRESS BARS (DISTRIBUTION) ===== */
/* line 331, app/assets/stylesheets/exchange/top_brokers.scss */
.bar-stack {
  display: flex;
  height: 8px;
  background: var(--uz-line);
  border-radius: 4px;
  overflow: hidden;
}

/* line 339, app/assets/stylesheets/exchange/top_brokers.scss */
.bar-stack span {
  height: 100%;
  transition: width .4s ease;
}

/* line 344, app/assets/stylesheets/exchange/top_brokers.scss */
.bs-high {
  background: var(--ok);
}

/* line 345, app/assets/stylesheets/exchange/top_brokers.scss */
.bs-mid {
  background: var(--warn);
}

/* line 346, app/assets/stylesheets/exchange/top_brokers.scss */
.bs-low {
  background: var(--red);
}

/* line 348, app/assets/stylesheets/exchange/top_brokers.scss */
.dist {
  margin-top: 16px;
}

/* line 352, app/assets/stylesheets/exchange/top_brokers.scss */
.dist .lbl {
  font-weight: 700;
  color: var(--uz-navy);
  margin-bottom: 8px;
}

/* line 358, app/assets/stylesheets/exchange/top_brokers.scss */
.legend {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

/* line 364, app/assets/stylesheets/exchange/top_brokers.scss */
.legend > div {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--uz-muted);
}

/* line 372, app/assets/stylesheets/exchange/top_brokers.scss */
.legend b {
  font-weight: 700;
  color: var(--uz-navy);
}

/* line 377, app/assets/stylesheets/exchange/top_brokers.scss */
.sw {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* line 384, app/assets/stylesheets/exchange/top_brokers.scss */
.sw.bs-high {
  background: var(--ok);
}

/* line 385, app/assets/stylesheets/exchange/top_brokers.scss */
.sw.bs-mid {
  background: var(--warn);
}

/* line 386, app/assets/stylesheets/exchange/top_brokers.scss */
.sw.bs-low {
  background: var(--red);
}

/* ===== TABS ===== */
/* line 389, app/assets/stylesheets/exchange/top_brokers.scss */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* line 395, app/assets/stylesheets/exchange/top_brokers.scss */
.tabs .tab {
  padding: 6px 12px;
  border: 1px solid var(--uz-line);
  border-radius: 100px;
  background: #fff;
  color: var(--uz-navy);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}

/* line 407, app/assets/stylesheets/exchange/top_brokers.scss */
.tabs .tab:hover {
  border-color: var(--uz-blue);
}

/* line 411, app/assets/stylesheets/exchange/top_brokers.scss */
.tabs .tab.on {
  border-color: var(--uz-blue);
  color: var(--uz-blue);
}

/* line 416, app/assets/stylesheets/exchange/top_brokers.scss */
.tabs .tab .n {
  margin-left: 6px;
  font-weight: 400;
  opacity: .7;
}

/* ===== SEARCH ===== */
/* line 423, app/assets/stylesheets/exchange/top_brokers.scss */
.search input {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--uz-ink);
  border: 1px solid var(--uz-line);
  border-radius: 100px;
  padding: 13px 18px 13px 44px;
  outline: none;
  transition: .2s;
  background: #fff;
}

/* line 436, app/assets/stylesheets/exchange/top_brokers.scss */
.search input:focus {
  border-color: var(--uz-blue);
  box-shadow: 0 0 0 4px rgba(2, 95, 244, 0.1);
}

/* ===== EMPTY / NODATA ===== */
/* line 442, app/assets/stylesheets/exchange/top_brokers.scss */
.nodata {
  padding: 52px 22px;
  text-align: center;
  color: var(--uz-muted);
  font-size: 13.5px;
}

/* line 449, app/assets/stylesheets/exchange/top_brokers.scss */
.nodata b {
  display: block;
  color: var(--uz-navy);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

/* line 457, app/assets/stylesheets/exchange/top_brokers.scss */
.empty {
  padding: 40px 22px;
  text-align: center;
  color: var(--uz-muted);
  font-size: 13.5px;
}

/* line 466, app/assets/stylesheets/exchange/top_brokers.scss */
.page-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* line 471, app/assets/stylesheets/exchange/top_brokers.scss */
.page-ellipsis {
  padding: 6px 8px;
  color: var(--uz-muted);
}

/* ===== HERO NUMBER ===== */
/* line 477, app/assets/stylesheets/exchange/top_brokers.scss */
.hero-number {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 800;
  color: var(--uz-blue);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* line 485, app/assets/stylesheets/exchange/top_brokers.scss */
.hero-number::after {
  content: attr(data-suffix);
  font-size: 20px;
  font-weight: 400;
  color: var(--uz-muted);
  margin-left: 8px;
}

/* ===== NOTE ===== */
/* line 494, app/assets/stylesheets/exchange/top_brokers.scss */
.note {
  margin: 22px 0 0;
  font-size: 12.5px;
  color: var(--uz-muted);
  text-align: center;
}

/* ===== FOOTER ===== */
/* line 502, app/assets/stylesheets/exchange/top_brokers.scss */
footer {
  background: var(--uz-navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0;
  font-size: 14px;
  margin-top: 80px;
}

/* line 510, app/assets/stylesheets/exchange/top_brokers.scss */
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
}

/* line 517, app/assets/stylesheets/exchange/top_brokers.scss */
footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

/* line 522, app/assets/stylesheets/exchange/top_brokers.scss */
footer a:hover {
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  /* line 528, app/assets/stylesheets/exchange/top_brokers.scss */
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  /* line 534, app/assets/stylesheets/exchange/top_brokers.scss */
  .count {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 540, app/assets/stylesheets/exchange/top_brokers.scss */
  * {
    transition: none !important;
  }
}
