.fathom-ground {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #151822;
  color: #ffe3ea;
  border-radius: 4px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.fathom-ground tbody tr { background: #151822; }

.fathom-ground th,
.fathom-ground td {
  padding: 16px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(16, 23, 40, 0.1684);
  background-clip: padding-box;
}
.fathom-ground tbody tr:last-child td { border-bottom: 0; }
.fathom-ground td:first-child { font-weight: 600; }

.fathom-ground thead th {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ff9eb4;
  border-bottom-width: 2px;
  white-space: nowrap;
  vertical-align: bottom;
}

.fathom-ground thead th button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  
  min-height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.fathom-ground thead th button:disabled { cursor: default; }
.fathom-ground thead th button:focus-visible {
  outline: 2px solid rgba(255, 23, 77, 0.85);
  outline-offset: 3px;
  border-radius: 2px;
}
.fathom-ground thead th[aria-sort]:not([aria-sort="none"]) { color: #ffe3ea; }

.fathom-ground tbody td {
  background-color: rgba(255, 23, 77, 0);
  transition: background-color 220ms ease;
}
.fathom-ground tbody td.fathom-leading { background-color: rgba(255, 23, 77, 0.1098); }

.fathom-ground.fathom-settling tbody tr {
  position: relative;
  will-change: transform;
}

@media print {
  .fathom-ground { background: none; color: #000; }
  .fathom-ground tbody td.fathom-leading { background-color: transparent; }
  .fathom-ground thead th button { text-decoration: underline; }
}

.fathom-ground thead th[data-fathom-sort] button::after {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.32;
  transform: rotate(0deg);
  transition: opacity 200ms ease, transform 260ms cubic-bezier(0.25, 0.8, 0.4, 1);
}
.fathom-ground thead th[aria-sort="descending"] button::after {
  opacity: 1;
  border-top-color: rgba(255, 23, 77, 1);
}
.fathom-ground thead th[aria-sort="ascending"] button::after {
  opacity: 1;
  border-top-color: rgba(255, 23, 77, 1);
  transform: rotate(180deg);
}

@media (pointer: coarse) {
  .fathom-ground thead th button { min-height: 44px; }
}
