.manage-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.4fr) auto;
  gap: 10px;
  margin-top: 14px;
}

.manage-form input,
.excel-actions input {
  min-width: 0;
  border: 1px solid #d6dfeb;
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
}

.excel-import {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e8edf4;
}

.excel-import h3 {
  margin: 4px 0 3px;
}

.excel-actions {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 9px;
}

.import-message {
  min-height: 20px;
  color: #475467;
  font-size: 13px;
}

.excel-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.excel-preview div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f9fc;
  font-size: 12px;
}

.excel-preview span {
  overflow: hidden;
  color: #66758a;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.excel-preview small {
  color: #98a2b3;
}

@media (max-width: 760px) {
  .manage-form,
  .excel-actions,
  .excel-preview {
    grid-template-columns: 1fr;
  }
}

.table-tools select { min-width: 118px; border: 1px solid #d6dfeb; border-radius: 12px; padding: 11px 12px; background: #fff; }
.table-wrap table { min-width: 980px; }
.table-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; color: #66758a; font-size: 13px; }
.table-pagination > div { display: flex; align-items: center; gap: 8px; }
.table-pagination label { display: flex; align-items: center; gap: 6px; }
.table-pagination select { border: 1px solid #d6dfeb; border-radius: 9px; padding: 7px 9px; background: #fff; }
.table-pagination button { border: 1px solid #d6dfeb; border-radius: 9px; padding: 8px 12px; background: #fff; color: #475467; font-weight: 700; }
.table-pagination button:disabled { cursor: not-allowed; opacity: .45; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.row-actions button { border: 0; border-radius: 8px; padding: 7px 9px; background: #eaf3ff; color: #246bfd; font-size: 12px; font-weight: 800; }
.row-actions button:hover { filter: brightness(.97); }
.row-actions .danger { background: #fff0f1; color: #c83d52; }
.status-time { display: grid; gap: 3px; color: #475467; white-space: nowrap; }
.status-time small,.status-source small { color: #98a2b3; font-size: 11px; }
.status-source { display: grid; gap: 3px; color: #475467; }
