.collection-panel {
  border: 1px solid #d8e4dc;
  background: #f7faf7;
  border-radius: 12px;
  margin: 4px 0 18px;
  padding: 18px 20px;
}
.collection-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.collection-top strong {
  font-size: 15px;
  color: #214e3b;
}
.collection-state {
  font-size: 11px;
  background: #e4eee5;
  border-radius: 14px;
  padding: 5px 9px;
  margin-left: 10px;
  color: #325940;
}
.collection-panel p {
  margin: 8px 0 0;
  font-size: 12px;
  color: #687b6e;
  line-height: 1.6;
}
.collection-panel .collection-alert {
  color: #8a5b27;
}
.collection-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.collection-panel button {
  font-size: 12px;
  padding: 10px 15px;
  white-space: nowrap;
}
.collection-panel button:disabled {
  opacity: 0.5;
  cursor: default;
}
.collection-panel .quiet-button {
  background: transparent;
  color: #4e6d59;
  padding: 6px;
}
.collection-panel details {
  font-size: 12px;
  margin-top: 12px;
}
.collection-panel summary {
  color: #456b54;
  cursor: pointer;
}
.collection-panel .source-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #e0e9e1;
}
.collection-panel .source-row:first-child {
  margin-top: 12px;
}
.collection-panel .source-row small {
  display: block;
  margin-top: 4px;
  line-height: 1.5;
  color: #687b6e;
}
.collection-panel [hidden] {
  display: none !important;
}
.collection-panel .owner-form {
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 520px;
  margin-top: 12px;
}
.collection-panel input {
  margin: 0;
  font-size: 12px;
}
.collection-message {
  min-height: 0;
}
.collection-panel #collection-result:not(:empty) {
  padding-top: 6px;
  color: #28543d;
}
@media (max-width: 650px) {
  .collection-top {
    align-items: start;
    flex-direction: column;
  }
  .collection-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .collection-panel {
    padding: 16px;
  }
  .collection-panel .source-row {
    grid-template-columns: 1fr 1fr;
  }
  .collection-panel .source-row > :first-child {
    grid-column: 1/-1;
  }
  .collection-state {
    display: inline-block;
    margin-left: 6px;
  }
}

.collection-panel .collection-coverage {
  border-top: 1px solid #dce6df;
  padding-top: 12px;
  font-size: 12px;
  color: #66766c;
}
