#view-cleanup .cleanup-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  padding: 26px 30px;
}

#view-cleanup .panel-head h3 {
  font-size: 1.05rem;
}

#view-cleanup .cleanup-selector-shell {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

#view-cleanup .cleanup-selector-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(14, 106, 120, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(26, 161, 181, 0.13), transparent 48%),
    linear-gradient(135deg, rgba(14, 106, 120, 0.08), rgba(255, 255, 255, 0.95));
}

#view-cleanup .cleanup-selector-kicker,
#view-cleanup .cleanup-toolbar-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b5560;
}

#view-cleanup .cleanup-selector-kicker::before,
#view-cleanup .cleanup-toolbar-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e6a78, #1aa1b5);
}

#view-cleanup .cleanup-selector-copy h4 {
  margin: 10px 0 8px;
  font-size: 1.2rem;
  color: #0b1220;
}

#view-cleanup .cleanup-selector-copy p {
  margin: 0;
}

#view-cleanup .cleanup-selector-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

#view-cleanup .cleanup-selector-actions .btn {
  width: 100%;
}

#view-cleanup .cleanup-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

#view-cleanup .cleanup-grid-empty {
  padding: 18px;
  border: 1px dashed rgba(14, 106, 120, 0.22);
  border-radius: 16px;
  background: rgba(14, 106, 120, 0.04);
  color: #48606a;
}

#view-cleanup .cleanup-category-btn {
  border: 1px solid rgba(14, 106, 120, 0.16);
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  box-shadow: 0 12px 28px rgba(15, 59, 71, 0.06);
}

#view-cleanup .cleanup-category-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 106, 120, 0.34);
  box-shadow: 0 16px 36px rgba(15, 59, 71, 0.12);
}

#view-cleanup .cleanup-category-btn.is-active {
  border-color: rgba(14, 106, 120, 0.48);
  background: linear-gradient(135deg, rgba(14, 106, 120, 0.12), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 38px rgba(14, 106, 120, 0.16);
}

#view-cleanup .cleanup-category-number {
  min-width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0e6a78, #1aa1b5);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

#view-cleanup .cleanup-category-copy {
  display: grid;
  gap: 6px;
}

#view-cleanup .cleanup-category-label {
  font-weight: 800;
  color: #0b1220;
}

#view-cleanup .cleanup-category-desc {
  font-size: 0.84rem;
  line-height: 1.45;
  color: #5b6970;
}

#view-cleanup .cleanup-toolbar {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#view-cleanup .cleanup-toolbar-card {
  min-height: 156px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(14, 106, 120, 0.14);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 59, 71, 0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#view-cleanup .cleanup-toolbar-card-actions .btn {
  margin-top: auto;
}

#view-cleanup .cleanup-toolbar-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b1220;
}

#view-cleanup .cleanup-toolbar-meta {
  color: #60727a;
  font-size: 0.86rem;
  line-height: 1.45;
}

#view-cleanup .cleanup-toolbar-card .input {
  width: 100%;
}

#view-cleanup .cleanup-summary-note {
  margin-top: 16px;
  border-radius: 16px;
  border: 1px solid rgba(14, 106, 120, 0.12);
  background: linear-gradient(135deg, rgba(14, 106, 120, 0.07), rgba(26, 161, 181, 0.04));
  color: #0b5560;
  font-weight: 700;
}

#view-cleanup .cleanup-summary-note.is-danger {
  border-color: rgba(192, 57, 43, 0.2);
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.08), rgba(255, 255, 255, 0.98));
  color: #9f2a1f;
}

#view-cleanup .cleanup-table-wrap {
  margin-top: 16px;
}

#view-cleanup .cleanup-table-wrap .table thead th,
#view-cleanup .cleanup-table-wrap .table tbody td {
  white-space: normal;
  word-break: break-word;
}

#view-cleanup .cleanup-pager-shell {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f5fafc;
  border: 1px solid rgba(14, 106, 120, 0.12);
}

#view-cleanup .cleanup-pager-summary {
  display: grid;
  gap: 4px;
  color: #48606a;
}

#view-cleanup .cleanup-pager-summary strong {
  color: #0b1220;
}

#view-cleanup .cleanup-pager-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

#view-cleanup .cleanup-pager-page {
  font-weight: 700;
  color: #0b5560;
}

#view-cleanup .cleanup-pager-btn {
  min-width: 92px;
  border: 1px solid rgba(14, 106, 120, 0.18);
  background: #ffffff;
  color: #0b1220;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

#view-cleanup .cleanup-pager-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 1080px) {
  #view-cleanup .cleanup-selector-card,
  #view-cleanup .cleanup-toolbar {
    grid-template-columns: 1fr;
  }

  #view-cleanup .cleanup-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #view-cleanup .cleanup-panel {
    padding: 20px 18px;
  }

  #view-cleanup .cleanup-category-grid {
    grid-template-columns: 1fr;
  }

  #view-cleanup .cleanup-pager-shell,
  #view-cleanup .cleanup-pager-controls {
    flex-direction: column;
    align-items: stretch;
  }

  #view-cleanup .cleanup-pager-btn {
    width: 100%;
  }
}
