.pea-check-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pea-check-btn::before {
  content: "✓";
  font-size: 0.78rem;
}

.pea-review {
  margin: 14px 0;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #0f766e;
  border-radius: 10px;
  background: #f8fafc;
  color: #172033;
  overflow: hidden;
}

.pea-review.is-stale {
  border-left-color: #b45309;
}

.pea-review-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 48px 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.pea-review-head > div { flex: 1; min-width: 0; }
.pea-review-head span { color: #0f766e; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.pea-review-head strong { display: block; margin-top: 3px; font-size: 1rem; }
.pea-review-head p { margin: 6px 0 0; color: #64748b; font-size: 0.78rem; line-height: 1.55; }
.pea-status { flex: none; padding: 5px 9px; border-radius: 999px; font-size: 0.72rem; }
.pea-status.is-warning { color: #92400e; background: #fef3c7; }
.pea-status.is-clear { color: #166534; background: #dcfce7; }
.pea-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: #64748b; font-size: 1.25rem; cursor: pointer; }

.pea-issue-list { display: grid; gap: 10px; padding: 12px; }
.pea-issue { padding: 13px 14px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.pea-issue-title { display: flex; align-items: flex-start; gap: 10px; }
.pea-issue-title > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff7ed; color: #9a3412; font-size: 0.75rem; font-weight: 800; }
.pea-issue-title > div { flex: 1; min-width: 0; }
.pea-issue-title small { display: block; color: #64748b; font-size: 0.7rem; }
.pea-issue-title strong { margin-top: 2px; font-size: 0.9rem; }
.pea-issue-title button { border: 0; background: transparent; color: #0f766e; font-size: 0.75rem; cursor: pointer; }
.pea-issue dl { margin: 10px 0 0; }
.pea-issue dl > div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid #f1f5f9; }
.pea-issue dt { color: #475569; font-size: 0.74rem; font-weight: 700; }
.pea-issue dd { margin: 0; color: #334155; font-size: 0.78rem; line-height: 1.55; }
.pea-issue details { margin-top: 7px; color: #475569; font-size: 0.75rem; }
.pea-issue details ul { margin: 7px 0 0; padding-left: 18px; }
.pea-omitted { margin: 0 14px 12px; color: #9a3412; font-size: 0.76rem; }
.pea-clear { margin: 12px; padding: 13px 14px; border: 1px solid #bbf7d0; border-radius: 8px; background: #f0fdf4; }
.pea-clear strong { color: #166534; font-size: 0.86rem; }
.pea-clear p { margin: 5px 0 0; color: #475569; font-size: 0.77rem; line-height: 1.55; }

.pea-method { margin: 0 12px 10px; border-top: 1px solid #e2e8f0; }
.pea-method > summary { padding: 10px 2px; color: #334155; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.pea-method > div { display: grid; gap: 8px; padding-bottom: 10px; }
.pea-method article { padding: 10px 12px; border-left: 2px solid #94a3b8; background: #fff; }
.pea-method article strong { font-size: 0.78rem; }
.pea-method article p { margin: 4px 0; color: #475569; font-size: 0.75rem; line-height: 1.5; }
.pea-method article small { color: #64748b; font-size: 0.68rem; }
.pea-review > footer { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: #eef2f7; color: #64748b; font-size: 0.7rem; }
.pea-review > footer strong { color: #475569; text-align: right; }

@media (max-width: 760px) {
  .pea-review-head { display: block; }
  .pea-status { display: inline-block; margin-top: 10px; }
  .pea-issue dl > div { grid-template-columns: 1fr; gap: 3px; }
  .pea-review > footer { display: block; }
  .pea-review > footer strong { display: block; margin-top: 4px; text-align: left; }
}
