.server-dialog.action-dialog {
  --accent: #695591;
  --accent-wash: #f1edf8;
  width: min(408px, calc(100% - 32px));
  box-sizing: border-box;
  padding: 0;
  border: 1px solid #e7e1ef;
  border-radius: 16px;
  box-shadow: 0 16px 64px #30223e33;
}
.action-dialog[data-caution] {
  --accent: #924a29;
  --accent-wash: #fff1e6;
}
.action-dialog::backdrop {
  background: #28213566;
}
.action-dialog form {
  margin: 0;
}
.action-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 12px;
  align-items: start;
  padding: 24px;
}
.action-symbol,
.feedback-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  font-weight: 700;
}
.action-symbol {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 18px;
}
.action-dialog h3 {
  margin: 3px 0 6px;
  font-size: 18px;
  line-height: 1.4;
}
#creative-action-description {
  margin: 0;
  color: #655e71;
  font-size: 13px;
  line-height: 1.65;
}
.action-subject,
.action-reason,
#creative-action-error {
  grid-column: 1 / -1;
}
.action-subject {
  padding: 9px 12px;
  border-radius: 7px;
  background: #f6f5f9;
  color: #4e455c;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.action-reason label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.action-reason textarea {
  box-sizing: border-box;
  width: 100%;
  font: inherit;
}
.action-reason textarea[aria-invalid="true"] {
  border-color: #ba525d;
}
.creative-page input[aria-invalid="true"],
.creative-page textarea[aria-invalid="true"] {
  outline: 2px solid #b45462;
  outline-offset: 1px;
}
.action-dialog footer {
  border-top: 1px solid #eeeaf3;
  padding: 12px 24px;
  background: #fbfafc;
}
.action-dialog footer button {
  min-height: 36px;
  padding: 6px 15px;
  border-radius: 7px;
}
.action-dialog .action-accept {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}
.action-dialog .action-accept:hover {
  filter: brightness(0.94);
}
.action-dialog button:disabled {
  opacity: 0.6;
  cursor: wait;
}
#creative-action-error,
.creative-page .file-feedback {
  margin: 0;
  border: 1px solid #ecd3d4;
  border-radius: 8px;
  padding: 10px 12px;
  color: #893d45;
  background: #fff6f6;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.creative-page .file-feedback {
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}
.file-feedback [role="alert"] {
  flex: 1 1 130px;
}
.file-feedback [role="alert"] p {
  margin: 2px 0 0;
  color: #6e4f54;
}
.feedback-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f8dddd;
}
.file-feedback button {
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.file-feedback button:hover {
  background: #f8e8e8;
}
.creative-success.server-toast {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #d6e8de;
  border-radius: 10px;
  color: #21543d;
}
.creative-success::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e0f2e7;
}
