.coa-preview {
  width: min(35rem, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(100% - 1.5rem);
  padding: 0;
  border: 1px solid #c9d8d0;
  border-radius: 14px;
  color: #173e34;
  background: #fff;
  box-shadow: 0 16px 52px #102e2640;
  overflow: hidden;
}
.coa-preview[open] { display: flex; flex-direction: column; }
.coa-preview::backdrop { background: #132d27a6; }
.coa-preview > header, .coa-preview > footer {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  flex: none;
  padding: .875rem 1rem;
  margin: 0;
}
.coa-preview > header { border-bottom: 1px solid #dce6df; }
.coa-preview > footer { border-top: 1px solid #dce6df; }
.coa-preview h2 { margin: 0; font-size: 1.25rem; }
.coa-preview p { margin: 0; }
.coa-preview footer p { font-size: .875rem; }
.coa-preview-body { padding: 1rem; overflow: auto; overscroll-behavior: contain; }
.coa-preview-status:empty { display: none; }
.coa-preview-report h3 { margin: 0 0 .75rem; font-size: 1rem; }
.coa-preview-report dl { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 0 0 1rem; }
.coa-preview-report dt { font-size: .8rem; font-weight: 600; }
.coa-preview-report dd { margin: 0; overflow-wrap: anywhere; }
.coa-preview-close, .coa-preview-open {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .85rem;
  border: 1px solid #b6c9bd;
  border-radius: 7px;
  color: #173e34;
  background: #f4f8f5;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.coa-preview-open { border-color: #173e34; background: #173e34; color: #fff; text-decoration: none; }
