.atoms-settings .calendar-form {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
  justify-items: start; width: 100%; max-width: 100%; min-width: 0;
}
/* Native selects otherwise size a grid's auto-min track from the longest
   product name, including after a mapping redirects to the unfiltered list. */
.atoms-settings .calendar-form > div { width: 100%; max-width: 640px; min-width: 0; }
.atoms-settings .calendar-form label { display: block; margin-bottom: 8px; }
.atoms-settings .calendar-form :is(input:not([type="hidden"]):not([type="submit"]),select) {
  box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0;
}
.atoms-settings :is(.calendar-primary,.calendar-secondary) { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.atoms-settings .vk-settings-community > div { min-width: 0; max-width: 100%; }
.atoms-settings .atoms-key-field { width: 100%; max-width: 640px; }
.atoms-settings .atoms-key-field label { display: block; margin-bottom: 8px; }
.atoms-settings .atoms-key-field input {
  display: block; box-sizing: border-box; width: 100%; min-height: 48px;
  padding: 12px 16px; border: 1px solid var(--border); border-radius: 14px;
  color: var(--text); background: var(--input); font: inherit;
}
.atoms-settings .atoms-key-field .vk-settings-caption { margin-top: 12px; line-height: 1.5; }
.atoms-settings .vk-settings-panel > h2 { margin-bottom: 12px; }
.atoms-settings .vk-settings-panel > p + p { margin-top: 12px; }
.atoms-settings .vk-access-grid { margin-block: 20px; }
.atoms-settings code { display: block; max-width: 100%; overflow-wrap: anywhere; font-size: 13px; line-height: 1.6; }
@media (max-width: 700px) {
  .atoms-settings .calendar-form > input[type="submit"] { width: 100%; }
}
