.aep-panel {
  margin-top: 17px;
  box-shadow: none;
  border-color: #dbe5f5;
  background: #fbfdff;
}

.aep-loading,
.aep-empty,
.aep-error {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px dashed #cbd6e8;
  border-radius: 10px;
  color: #516078;
}

.aep-empty > div,
.aep-error {
  align-items: flex-start;
  flex-direction: column;
}

.aep-empty span,
.aep-error span {
  display: block;
  margin-top: 4px;
}

.aep-error {
  border-color: #f2b8bf;
  color: #9c2635;
}

.aep-status-head,
.aep-status-head > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.aep-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #246bfd;
  box-shadow: 0 0 0 4px #eaf1ff;
}

.aep-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.aep-facts div {
  padding: 10px 12px;
  border-radius: 9px;
  background: #f2f6fc;
}

.aep-facts dt {
  color: #6b778c;
  font-size: 12px;
}

.aep-facts dd {
  margin: 4px 0 0;
  color: #1d2a3b;
  font-weight: 600;
}

.aep-timeline {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  border-top: 1px solid #e4e9f2;
}

.aep-timeline li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
  font-size: 13px;
}

.aep-timeline time {
  color: #6b778c;
  font-variant-numeric: tabular-nums;
}

.aep-actions {
  margin-top: 14px;
}

.aep-boundary {
  margin: 12px 0 0;
}

.aep-consent label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 500;
  line-height: 1.55;
}

.aep-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.aep-reply-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #6b778c;
  font-size: 13px;
}

.aep-reply-text {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid #dbe5f5;
  border-radius: 10px;
  background: #fbfdff;
  color: #172033;
  white-space: pre-wrap;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .aep-loading,
  .aep-empty,
  .aep-error {
    align-items: stretch;
    flex-direction: column;
  }

  .aep-facts {
    grid-template-columns: 1fr;
  }

  .aep-timeline li {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
