.icl-panel {
  margin: 16px 0 24px;
  padding: 16px;
  border: 1px solid #cfd9cf;
  border-radius: 10px;
  background: linear-gradient(180deg, #f9fcf7 0%, #f2f8ef 100%);
}

.icl-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.icl-panel-header h3 {
  margin: 0;
}

.icl-panel-template {
  color: #4d664f;
}

.icl-items {
  display: grid;
  gap: 12px;
}

.icl-item {
  padding: 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #dfe8df;
}

.icl-item.is-completed {
  border-color: #6db56d;
  box-shadow: inset 0 0 0 1px #dff2df;
}

.icl-item-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.icl-item-state {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.icl-item-state.is-open {
  color: #6c5a17;
  background: #f5e9b3;
}

.icl-item-state.is-done {
  color: #1f6d2a;
  background: #caeecf;
}

.icl-item-description {
  margin-top: 8px;
  color: #4d4d4d;
}

.icl-item-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.icl-item-controls input[type="text"] {
  min-width: 280px;
  flex: 1 1 280px;
}

.icl-checkbox-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icl-item-updated,
.icl-item-completion-meta {
  margin-top: 8px;
  color: #4f5f4f;
}

.icl-status-check {
  color: #15803d;
  font-weight: 700;
}

.icl-item-history {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #d6e0d6;
}

.icl-item-history ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.icl-history-title {
  font-weight: 700;
}

.icl-history-time {
  color: #5c6c5c;
  margin-right: 8px;
}

.icl-history-user {
  margin-right: 8px;
}

.icl-empty-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.icl-apply-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.icl-template-items textarea {
  width: 100%;
}
