.editor-group { margin-top: 22px; }
.editor-group + .editor-group { padding-top: 20px; border-top: 1px solid #edf2f5; }
.group-heading { margin-bottom: 13px; display: grid; gap: 3px; }
.group-heading > span { font-family: var(--font-app-bold); color: #294b60; font-size: 12px; font-weight: 700; font-synthesis: weight; line-height: 1.25; }
.group-heading > small { font-family: var(--font-app); max-width: 76ch; color: #8998a2; font-size: 10px; line-height: 1.42; }
.compact-group-heading { margin-bottom: 11px; }

.form-grid,
.display-settings-grid,
.stamp-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.form-grid { gap: 12px 14px; }
.display-settings-grid { gap: 10px; align-items: stretch; }
.stamp-settings-grid { gap: 11px 12px; }
.field { min-width: 0; margin: 0; display: grid; gap: 5px; font-size: inherit; }
.field > span { font-family: var(--font-app-bold); color: #35566a; font-size: 10px; font-weight: 700; font-synthesis: weight; line-height: 1.25; }
.field-span-2 { grid-column: 1 / -1; }
.compact-field { width: 100%; align-content: start; }

input:not([type="range"]), select {
  width: 100%; min-width: 0; height: 43px; padding: 0 11px; color: #203f52; background-color: var(--surface);
  border: 1px solid #cbd9e2; border-radius: 9px; box-shadow: 0 1px 1px rgba(15,54,80,.018);
  font-family: var(--font-app-medium); font-size: 12.2px; font-weight: 500; line-height: 1;
}
input:not([type="range"]):hover, select:hover { border-color: #aebfca; }
input:not([type="range"]):focus, select:focus { border-color: #0d9fe6; box-shadow: 0 0 0 2px rgba(13,159,230,.13); }
input::placeholder { color: #a1afb8; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: var(--select-arrow); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px 18px;
  cursor: pointer;
}
select optgroup { color: #17394d; font-family: var(--font-app-bold); font-weight: 700; }
select option { color: #173b52; font-family: var(--font-app-medium); font-weight: 500; padding-block: 3px; }
.input-with-action { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.mini-button {
  min-width: 60px; height: 43px; padding: 0 12px; border: 1px solid #bfd7e6; border-radius: 9px;
  color: var(--brand-600); background: #f5fbff; font-family: var(--font-app-medium); font-size: 10.5px; font-weight: 500; cursor: pointer;
}
.mini-button:hover { background: #ecf7fd; border-color: #a8cbdc; }
.mini-button:focus-visible { box-shadow: 0 0 0 3px var(--focus); }
