.wh-sheet-preview-card {
  background: transparent;
  padding: 0;
  margin: 0;
  border: 0;
}

.wh-sheet-preview-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 16px;
  padding: 8px 24px 8px 66px;
  background: #00507e;
  color: #fff;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
}

.wh-sheet-preview-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 54px;
  height: 5px;
  background: #fff;
  transform: translateY(-50%);
}

.wh-sheet-preview-body {
  margin: 0;
}

.wh-sheet-preview-table-wrap {
  overflow-x: hidden;
  margin: 0;
  border: 0;
}

.wh-sheet-preview-table {
  width: 100%;
  min-width: 0;
  margin: 0;
  border-collapse: collapse;
  background: #fff;
  table-layout: fixed;
}

.wh-sheet-preview-table thead th {
  background: #f3f6fb;
  color: #123c78;
  font-weight: 700;
}

.wh-sheet-preview-table thead th,
.wh-sheet-preview-table thead td {
  width: auto;
}

.wh-sheet-preview-table thead tr:first-child th[colspan] {
  background: #f3f6fb;
  color: #123c78;
}

.wh-sheet-preview-table th,
.wh-sheet-preview-table td {
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  vertical-align: top;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}

.wh-sheet-preview-table tbody tr:nth-child(even) td {
  background: #fafafa;
}

.wh-sheet-preview-cell-inner {
  display: block;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.wh-sheet-preview-cell-inner.is-small-text {
  font-size: 12px;
  line-height: 1.45;
}

.wh-sheet-preview-cell-inner.is-scroll-candidate {
  scrollbar-width: thin;
}

.wh-sheet-preview-cell-inner.is-overflow-active {
  padding-bottom: 3px;
}

.wh-sheet-preview-cell-inner.is-overflow-x {
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  text-overflow: clip;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.wh-sheet-preview-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: #666;
}

.wh-sheet-preview-note--error {
  color: #b32d2e;
}

.wh-sheet-preview-actions {
  margin-top: 18px;
}

.wh-sheet-preview-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  color: #fff;
  background: #0f5ea8;
  font-weight: 700;
}

.wh-sheet-preview-download:hover,
.wh-sheet-preview-download:focus {
  color: #fff;
  opacity: 0.9;
}

@media (max-width: 767px) {
  .wh-sheet-preview-title {
    display: flex;
    width: 100%;
    gap: 16px;
    margin-bottom: 14px;
    padding: 8px 16px 8px 50px;
    font-size: 22px;
  }

  .wh-sheet-preview-title::before {
    left: 0;
    width: 40px;
    height: 4px;
  }

  .wh-sheet-preview-table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .wh-sheet-preview-table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
  }

  .wh-sheet-preview-table th,
  .wh-sheet-preview-table td {
    padding: 9px 10px;
    font-size: 13px;
  }

  .wh-sheet-preview-table th,
  .wh-sheet-preview-table thead th {
    white-space: nowrap !important;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .wh-sheet-preview-table thead th {
    width: max-content;
  }

  .wh-sheet-preview-table th .wh-sheet-preview-cell-inner,
  .wh-sheet-preview-table thead th .wh-sheet-preview-cell-inner {
    display: inline-block;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    min-width: max-content;
  }

  .wh-sheet-preview-cell-inner.is-overflow-x {
    display: block;
    width: 100%;
    max-width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }
}
