/* ===== Base ===== */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Ubuntu, Arial, sans-serif;
  background: #f4f6f8;
  margin: 20px;
  color: #222;
}

h1 {
  margin-bottom: 18px;
  font-size: 26px;
}

/* ===== Tabla ===== */

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

thead th {
  background: #2f3b52;
  color: #fff;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 2px solid #1e2738;
}

tbody td {
  padding: 8px 10px;
  font-size: 14px;
  border-bottom: 1px solid #e0e0e0;
}

tbody tr:hover {
  background: #f0f4ff;
}

/* ===== Edición inline ===== */

td[contenteditable="true"] {
  cursor: text;
}

td[contenteditable="true"]:focus {
  background: #fff9c4;
  outline: none;
}

/* ===== Acciones ===== */

.actions {
  text-align: center;
  white-space: nowrap;
}

.actions i {
  cursor: pointer;
  margin: 0 6px;
  font-size: 16px;
  color: #888;
  transition: color 0.2
