[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-controls {
  display: grid;
  grid-template-columns: 180px 180px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-controls .wd-field {
  margin-bottom: 0;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-hint {
  margin: 0 0 8px;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-sheet {
  background: #f7f4ee;
  color: #1c2430;
  border-radius: 8px;
  padding: 14px 14px 12px;
  border-top: 6px solid #1f4f6b;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 120px;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(28, 36, 48, 0.15);
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-logo {
  width: 42px;
  height: 28px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-logo i {
  display: block;
  width: 8px;
  background: #1f4f6b;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-logo i:nth-child(1) { height: 14px; }
[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-logo i:nth-child(2) { height: 22px; }
[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-logo i:nth-child(3) { height: 16px; }

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-head strong {
  display: block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-head span {
  font-size: 11px;
  color: #5c6770;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-cover {
  height: 48px;
  border-radius: 4px;
  background:
    linear-gradient(#8aa4b5, #8aa4b5) 0 70% / 100% 30% no-repeat,
    linear-gradient(#1f4f6b, #1f4f6b) 18% 28% / 28% 42% no-repeat,
    linear-gradient(#1f4f6b, #1f4f6b) 54% 18% / 22% 52% no-repeat,
    #d5e0e6;
  color: #1f4f6b;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: flex-end;
  padding: 4px 6px;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-table th,
[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-table td {
  text-align: left;
  padding: 5px 8px;
  border-bottom: 1px solid rgba(28, 36, 48, 0.08);
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-table th {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c6770;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-group td {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 7px;
  padding-bottom: 4px;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] [data-ds-band="a"] { background: #d5ebe4; }
[data-wd-demo="datasheet-tables-from-spreadsheet"] [data-ds-band="b"] { background: #d5e3f2; }
[data-wd-demo="datasheet-tables-from-spreadsheet"] [data-ds-band="c"] { background: #e4dcf2; }

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-sheet.is-external [data-ds-band="a"] { background: #f6e3c4; }
[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-sheet.is-external [data-ds-band="b"] { background: #f3d0c4; }
[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-sheet.is-external [data-ds-band="c"] { background: #e5e6c8; }

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-sentence {
  margin: 10px 0 0;
  font-size: 13px;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-match {
  margin: 10px 0 0;
  color: #4ade80;
  font-size: 13px;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-export {
  display: grid;
  justify-items: start;
  gap: 8px;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .ds-export p {
  margin: 0;
}

[data-wd-demo="datasheet-tables-from-spreadsheet"] .wd-log {
  max-height: 88px;
  margin-top: 8px;
}
