body {
  font-family: sans-serif;
  background: #f3f5f7;
  margin: 0;
  color: #1a1a1a;
}

.container {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 16px 40px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hidden {
  display: none;
}

form {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

input {
  padding: 10px;
}

select {
  padding: 10px;
}

.btn {
  background: #2563eb;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn.danger {
  background: #dc2626;
}

.btn.filter {
  background: #cbd5e1;
  color: #0f172a;
}

.btn.filter.active {
  background: #2563eb;
  color: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border-bottom: 1px solid #ececec;
  padding: 10px;
  text-align: left;
}

.copyable {
  cursor: pointer;
  font-family: monospace;
}

.masked:hover {
  text-decoration: underline;
}

.actions {
  display: flex;
  gap: 6px;
}

.row {
  margin-bottom: 12px;
}

.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.cell-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cell-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-chip {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
}

.icon-btn {
  border: 1px solid #d4d4d4;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  line-height: 1;
}

.icon-btn:hover {
  background: #f1f5f9;
}

.icon-btn.ok {
  border-color: #22c55e;
  color: #166534;
}

.icon-btn.cancel {
  border-color: #ef4444;
  color: #991b1b;
}

.cell-edit-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cell-input {
  width: 100%;
  max-width: 320px;
  padding: 7px 9px;
}

.notice {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #16a34a;
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.notice.error {
  background: #dc2626;
}

.notice.visible {
  opacity: 1;
  transform: translateY(0);
}
