.admin-editor-intro {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid #d6e3dd;
  border-radius: 14px;
  color: #355b50;
  background: #eef6f1;
  font-size: 14px;
  line-height: 1.6;
}
.admin-content-section {
  min-width: 0;
  margin: 0 0 22px;
  padding: 24px;
  border: 1px solid var(--line, #d6e3dd);
  border-radius: 16px;
  background: var(--surface, #fff);
}
.admin-content-section h2 { margin: 0 0 8px; font-size: 23px; }
.admin-content-section > p { margin: 0 0 20px; color: var(--muted, #65766f); font-size: 14px; }
.admin-content-section textarea { min-height: 160px; line-height: 1.6; }
.admin-content-section textarea.admin-legal-text { min-height: 320px; }
.admin-content-section .field + .field { margin-top: 20px; }
.admin-content-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.admin-content-heading small { display: block; color: var(--muted, #65766f); font-size: 12px; }
.admin-editor-preview { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line, #d6e3dd); }
.admin-editor-preview summary { cursor: pointer; color: #2c5c4e; font-weight: 600; font-size: 13px; }
.admin-editor-preview p { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 16px; color: var(--ink, #2d433a); font: 15px/1.7 var(--sans, sans-serif); }
.admin-editor-tools { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.admin-editor-tools small { color: var(--muted, #65766f); font-size: 12px; }
.admin-editor-save { position: sticky; bottom: 12px; z-index: 4; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 15px 18px; border: 1px solid #b8d1c4; border-radius: 14px; background: #fafffcf5; box-shadow: 0 5px 22px #1e4b3920; backdrop-filter: blur(10px); }
.admin-editor-save p { margin: 0; color: #4d675a; font-size: 12px; }
.admin-mail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-mail-grid[hidden] { display: none; }
.admin-mail-grid .field { min-width: 0; margin: 0; }
.admin-mail-grid .field + .field { margin: 0; }
.admin-mail-grid .full-width { grid-column: 1/-1; }
.admin-mail-password-state { display: inline-flex; padding: 6px 10px; border-radius: 8px; background: #e8f4ec; color: #285d47; font-size: 12px; }
.admin-mail-events { display: grid; gap: 12px; margin-top: 18px; }
.admin-mail-events label { display: flex; align-items: start; gap: 12px; padding: 14px; border: 1px solid var(--line, #d6e3dd); border-radius: 10px; }
.admin-mail-events input { flex: none; margin-top: 3px; }
.admin-mail-events strong, .admin-mail-events small { display: block; }
.admin-mail-events strong { font-size: 14px; }
.admin-mail-events small { margin-top: 4px; color: #65766f; font-size: 12px; line-height: 1.5; }
.admin-mail-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 20px; }
.admin-mail-status p { margin: 0; color: #65766f; font-size: 13px; }
.admin-mail-queue table { min-width: 620px; }
.admin-mail-queue td { font-size: 13px; }
.admin-mail-queue td small { display: block; margin-top: 4px; color: #6c7c72; }
.admin-mail-test { display: flex; align-items: end; gap: 14px; flex-wrap: wrap; }
.admin-mail-test .field { flex: 1; min-width: 200px; margin: 0; }
.admin-mail-test .button { min-height: 48px; }
@media (max-width: 650px) {
  .admin-content-section { padding: 18px 15px; border-radius: 12px; }
  .admin-content-section h2 { font-size: 20px; }
  .admin-content-heading { flex-direction: column; }
  .admin-mail-grid { grid-template-columns: 1fr; gap: 17px; }
  .admin-mail-grid .full-width { grid-column: auto; }
  .admin-editor-save { bottom: 8px; flex-direction: column; align-items: stretch; gap: 9px; padding: 12px; }
  .admin-editor-save .button { width: 100%; }
  .admin-editor-save p { text-align: center; }
  .admin-content-section textarea.admin-legal-text { min-height: 260px; }
  .admin-mail-test { flex-direction: column; align-items: stretch; }
  .admin-mail-test .field { min-width: 0; width: 100%; }
}
