.moraine-case {
  container-type: inline-size;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.moraine-bed {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.moraine-bed th,
.moraine-bed td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: baseline;
  border-bottom: 1px solid rgba(252, 251, 247, 0.1400);
}

.moraine-bed thead th {
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.0300em;
  opacity: 1;
  white-space: nowrap;
  border-bottom-width: 1px;
  border-bottom-color: rgba(252, 251, 247, 0.2800);
}

.moraine-bed tbody th {
  font-weight: 650;
}

.moraine-bed tbody tr:nth-child(even) th,
.moraine-bed tbody tr:nth-child(even) td {
  background-color: rgba(69, 34, 97, 0.0000);
}

.moraine-bed tfoot th,
.moraine-bed tfoot td {
  font-weight: 650;
  border-bottom: 0;
  border-top: 1px solid rgba(252, 251, 247, 0.2800);
}

.moraine-column {
  display: none;
}

@container (max-width: 516px) {
  .moraine-case[data-moraine-ready] .moraine-bed {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .moraine-case[data-moraine-ready] .moraine-bed tfoot {
    order: 2;
  }

  .moraine-case[data-moraine-ready] .moraine-bed tbody,
  .moraine-case[data-moraine-ready] .moraine-bed tfoot {
    display: block;
  }

  .moraine-case[data-moraine-ready] .moraine-bed tfoot tr:first-child { display: none; }

  .moraine-case[data-moraine-ready] .moraine-bed thead {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .moraine-case[data-moraine-ready] .moraine-bed tbody tr,
  .moraine-case[data-moraine-ready] .moraine-bed tfoot tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
    margin-bottom: 23px;
  }

  .moraine-case[data-moraine-ready] .moraine-bed tbody tr:last-child,
  .moraine-case[data-moraine-ready] .moraine-bed tfoot tr:last-child {
    margin-bottom: 0;
  }

  .moraine-case[data-moraine-ready] .moraine-bed th,
  .moraine-case[data-moraine-ready] .moraine-bed td {
    display: block;
    border: 0;
    background: none;
    padding: 0;
  }

  .moraine-case[data-moraine-ready] .moraine-column {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.0899em;
    opacity: 0.5998;
  }

  .moraine-case[data-moraine-ready] .moraine-bed [data-moraine-said='empty'] {
    display: none;
  }

  .moraine-case[data-moraine-ready] .moraine-bed [data-moraine-said='wide'] {
    grid-column: 1 / -1;
  }
}

@media print {
  .moraine-case { overflow: visible; container-type: normal; }
}

@container (max-width: 516px) {
  .moraine-case[data-moraine-ready] .moraine-bed tbody tr,
  .moraine-case[data-moraine-ready] .moraine-bed tfoot tr {
    gap: 14px;
    padding: 13px 0;
    border-top: 1px solid rgba(252, 251, 247, 0.2398);
  }

  .moraine-case[data-moraine-ready] .moraine-bed tbody tr:first-child,
  .moraine-case[data-moraine-ready] .moraine-bed tfoot tr:first-child {
    border-top: 0;
  }

  .moraine-case[data-moraine-ready] .moraine-column {
    margin-bottom: 2px;
    letter-spacing: 0.1002em;
    text-transform: uppercase;
  }
}

@container (max-width: 516px) {
  .moraine-case[data-moraine-ready] .moraine-bed tbody th,
  .moraine-case[data-moraine-ready] .moraine-bed tfoot th {
    font-size: 20px;
    font-weight: 650;
    line-height: 1.25;
    padding-bottom: 10px;
  }
}
