@layer theme.components {

.section-freight-rates .section__lead { max-inline-size: var(--width-text); }
.freight-rates-table {
  overflow-x: auto;
  overflow-y: hidden;
  margin-block-start: 24px;
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  background: var(--color-bg-page);
  scrollbar-color: var(--color-border-strong) transparent;
  scrollbar-width: thin;
}
.freight-rates-table::-webkit-scrollbar { block-size: 8px; }
.freight-rates-table::-webkit-scrollbar-track { background: transparent; }
.freight-rates-table::-webkit-scrollbar-thumb {
  border: 2px solid var(--color-bg-page);
  border-radius: var(--radius-sm);
  background: var(--color-border-strong);
}
.freight-rates-table table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  table-layout: fixed;
}
.freight-rates-table caption {
  padding: 12px 14px;
  border-block-end: 1px solid var(--color-border);
  color: var(--color-text-body);
  font-size: var(--font-size-small);
  line-height: 1.45;
  text-align: start;
}
.freight-rates-table caption span { display: block; color: var(--color-text-muted); }
.freight-rates-table thead { background: var(--color-bg-table-head); }
.freight-rates-table th,
.freight-rates-table td {
  padding: 8px 10px;
  border-block-start: 1px solid var(--color-border);
  font-size: var(--font-size-small);
  line-height: 1.4;
  text-align: start;
  vertical-align: top;
}
.freight-rates-table thead th {
  border-block-start: 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-caption);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.freight-rates-table tbody th { color: var(--color-text); font-weight: 600; }
.freight-rates-table td { color: var(--color-text-body); }
.freight-rates-table__rate { color: var(--color-text); font-weight: 600; white-space: nowrap; }
.freight-rates-table th:nth-child(1) { width: 14%; }
.freight-rates-table th:nth-child(2) { width: 15%; }
.freight-rates-table th:nth-child(3) { width: 12%; }
.freight-rates-table th:nth-child(4) { width: 13%; }
.freight-rates-table th:nth-child(5) { width: 11%; }
.freight-rates-table th:nth-child(6) { width: 11%; }
.freight-rates-table th:nth-child(7) { width: 13%; }
.freight-rates-table th:nth-child(8) { width: 11%; }
.freight-rates-table__notes {
  display: grid;
  max-inline-size: var(--width-table);
  margin-block-start: 18px;
  gap: 8px;
  color: var(--color-text-muted);
}
.freight-rates-table__notes > div { font-size: var(--font-size-small); line-height: 1.55; }

}
