.docs-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
  align-items: start;
}
.docs-list-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.docs-list-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.docs-list {
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow-y: auto;
  max-height: 80vh;
}
/* .docs-code {
  margin-bottom: 8px;
} */
.docs-viewer {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 12px;
  min-height: 200px;
  overflow: hidden;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
.docs-viewer .xlsx-table-wrapper {
  overflow: auto;
  flex: 1;
}
.docs-download {
  margin-bottom: 8px;
}

/* Responsive smartphone */
/* ===================== */
@media (max-width: 768px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }
  .docs-list {
    max-height: none;
  }
  .docs-viewer {
    max-height: none;
    overflow-x: auto;
    overflow-y: visible;
  }
}
