.compactEditor {
  color: var(--ink); width: min(440px, calc(100% - 24px)); max-height: 88dvh; margin: auto; padding: 20px;
  border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 16px 75px #1023423b;
}
.compactEditor::backdrop { background: rgb(16 34 62 / .48); }
.compactEditor header, .compactEditor footer { display: flex; gap: .65rem; align-items: center; }
.compactEditor header { justify-content: space-between; margin-block-end: 14px; }
.compactEditor header h2 { font-size: 1.22rem; }
.compactClose { border: 0; background: var(--paper); color: var(--ink); border-radius: 50%; flex: 0 0 36px; height: 36px; font-size: 1.4rem; line-height: 1; }
.compactFields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.compactEditor label { display: grid; gap: 4px; font-size: .85rem; margin-block: 4px 9px; color: var(--muted); min-width: 0; }
.compactEditor input, .compactEditor select { width: 100%; min-width: 0; font-size: 1rem; padding: 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; }
.compactEditor .error:empty { display: none; }
.compactEditor footer { flex-wrap: wrap; margin-block-start: 10px; }
