/* dialog: every native <dialog>. The form dialog (form_dialog, and
   .open_in_dialog links) is built by user_interface/dialogs/form. It has a
   title bar (.dialog_toolbar with .dialog_title and .close_button), the
   content (.dialog_content) and the submit menu. A form in it sets the
   dialog's width and column layout (data-dialog-size, data-dialog-layout).
   The confirmation dialog (user_interface/dialogs/confirmation) has a header,
   one scrolling section and a footer of buttons. */
dialog {
  --block-dialog-min-width: 304px;
  --block-dialog-edge: var(--ui-space-3);
  --block-dialog-menu-height: 48px;
  --block-dialog-close-glyph: calc(var(--ui-icon-size) * 9 / 8);

  position: absolute;
  inset-inline-end: 0;
  inset-inline-start: 0;
  display: block;
  box-sizing: border-box;
  width: fit-content;
  min-width: var(--block-dialog-min-width);
  max-width: calc(100vw - var(--block-dialog-edge) * 2);
  height: fit-content;
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: var(--color-text);
  background: var(--color-dialog-background);
  border: 1px solid var(--color-dialog-border);
  border-radius: var(--ui-radius-surface);
}

dialog:not([open]) {
  display: none;
}

dialog::backdrop {
  background-color: var(--color-dialog-backdrop);
}

dialog :is(input, select, textarea):disabled {
  color: var(--color-text-muted);
  opacity: 1;
  cursor: not-allowed;
}

/* @group Form dialog */

dialog .container {
  display: flex;
  flex-flow: column nowrap;
  place-content: stretch flex-start;
  align-items: stretch;
  max-height: calc(100dvh - var(--ui-space-8));
}

/* The title bar keeps to its title. It is 44px, the close button's own
   touch target, which fills the bar's height rather than adding to it. The
   bar is then balanced against a one-line title, not too tall. The title
   starts on the content's own edge. */
dialog .container .dialog_toolbar {
  --block-dialog-close-size: var(--ui-touch-target);

  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) var(--block-dialog-close-size);
  padding: var(--ui-space-1) var(--ui-space-1) var(--ui-space-1) var(--ui-surface-padding);
  background-color: var(--color-dialog-toolbar-background);
  border-block-end: 1px solid var(--color-border-faint);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

dialog .container .dialog_toolbar .close_button {
  width: var(--block-dialog-close-size);
  height: var(--block-dialog-close-size);
  margin-block: calc(var(--ui-space-1) * -1);
  color: var(--color-dialog-toolbar-text);
}

dialog .container .dialog_toolbar .close_button:hover,
dialog .container .dialog_toolbar .close_button:hover .close_glyph::before {
  color: var(--color-dialog-toolbar-text-hover);
}

/* The close symbol is an aria-hidden span, so the glyph never counts in the
   button's name, even where the alternative-text form is not supported. */
dialog .container .dialog_toolbar .close_button .close_glyph {
  display: block;
}

dialog .container .dialog_toolbar .close_button .close_glyph::before {
  display: flex;
  flex-flow: column nowrap;
  place-content: stretch center;
  align-items: center;
  box-sizing: border-box;
  height: var(--block-dialog-close-size);
  color: var(--color-dialog-toolbar-text);
  font-family: var(--ui-icon-font-family);
  font-size: var(--block-dialog-close-glyph);
  font-weight: var(--ui-icon-weight);
  content: '\f00d' var(--ui-icon-alt,);
}

dialog .container .dialog_toolbar .dialog_title {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  color: var(--color-dialog-toolbar-text);
  font-family: var(--ui-font-family);
  font-size: var(--ui-font-size-label);
  font-weight: var(--ui-weight-medium);
  place-content: stretch flex-start;
}

dialog[data-menu-state='hidden'] .container menu .submit {
  display: none;
}

dialog .container menu {
  min-height: var(--block-dialog-menu-height);
  margin: 0;
  padding: var(--ui-space-2) var(--ui-surface-padding);
  border-block-start: 1px solid var(--color-toolbar-border);
}

dialog .container menu .submit button {
  width: 100%;
}

dialog .container .dialog_content {
  padding: var(--ui-surface-padding);
  overflow: auto;
  overscroll-behavior: contain;
}

/* Fields fill the content; check boxes and switches keep their own size.
   :where keeps the weight of a plain element selector. */
dialog .container .dialog_content :is(input, textarea, select):where(:not([type='checkbox'], [type='radio'])) {
  width: 100%;
}

/* One visible workspace for native forms, including the on-screen keyboard. */
dialog.ui-form-dialog {
  --ui-dialog-content-width: calc(var(--form-dialog-viewport-width, 100vw) - var(--ui-space-8) - var(--ui-surface-padding) * 2 - 2px);

  /* The visible viewport's rectangle (libraries/utilities/visual_viewport): auto margins centre the dialog
     in it, as a browser centres a modal in the whole viewport. */
  position: fixed;
  inset-block: calc(var(--form-dialog-center-y, 50%) - var(--form-dialog-viewport-height, 100%) / 2)
    calc(100% - var(--form-dialog-center-y, 50%) - var(--form-dialog-viewport-height, 100%) / 2);
  inset-inline: calc(var(--form-dialog-center-x, 50%) - var(--form-dialog-viewport-width, 100%) / 2)
    calc(100% - var(--form-dialog-center-x, 50%) - var(--form-dialog-viewport-width, 100%) / 2);
  min-width: min(var(--block-dialog-min-width), calc(var(--form-dialog-viewport-width, 100vw) - var(--ui-space-8)));
  max-width: calc(var(--form-dialog-viewport-width, 100vw) - var(--ui-space-8));
  max-height: calc(var(--form-dialog-viewport-height, 100dvh) - var(--ui-space-8));
  margin: auto;
  font-family: var(--ui-font-family);
  font-size: var(--ui-font-size-control);
  line-height: var(--ui-line-height-body);
}

dialog.ui-form-dialog > .container {
  max-height: inherit;
}

dialog.ui-form-dialog .dialog_toolbar,
dialog.ui-form-dialog menu {
  flex: none;
}

dialog.ui-form-dialog .dialog_content {
  min-height: 0;
}

dialog.ui-form-dialog .dialog_toolbar .dialog_title {
  margin: 0;
  font-size: var(--ui-font-size-control);
  line-height: var(--ui-line-height-body);
  overflow-wrap: anywhere;
}

dialog:is(.ui-form-dialog, [data-document-editor]) .dialog_toolbar .close_button {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--ui-radius-control);
  cursor: pointer;
}

dialog:is(.ui-form-dialog, [data-document-editor]) .dialog_toolbar .close_button:focus-visible {
  outline: 2px solid var(--color-neutral);
  outline-offset: 2px;
}

dialog.ui-form-dialog menu .button {
  min-height: var(--ui-touch-target);
}

dialog.ui-form-dialog .dialog_form_feedback {
  margin: 0 0 var(--ui-space-4);
  padding: var(--ui-space-3);
  color: var(--color-text);
  font-size: var(--ui-font-size-control);
  line-height: var(--ui-line-height-body);
  white-space: pre-line;
  overflow-wrap: anywhere;
  background: var(--color-instructions-background);
  border-radius: var(--ui-radius-control);
}

dialog.ui-form-dialog .dialog_form_feedback[hidden] {
  display: none;
}

dialog.ui-form-dialog .dialog_title:focus {
  outline: none;
}

/* The content sets its dialog's width: form_tag(…, data: { dialog_size:
   'compact' | 'standard' | 'wide' }), from the --ui-dialog-width-* tokens
   and never wider than the screen allows. */
dialog [data-dialog-size] {
  width: min(var(--block-dialog-form-width), var(--ui-dialog-content-width));
  min-width: 0;
}

dialog [data-dialog-size='compact'] {
  --block-dialog-form-width: var(--ui-dialog-width-compact);
}

dialog [data-dialog-size='standard'] {
  --block-dialog-form-width: var(--ui-dialog-width-standard);
}

dialog [data-dialog-size='wide'] {
  --block-dialog-form-width: var(--ui-dialog-width-wide);
}

/* Multi-step builders keep a stable workspace while their content changes. */
dialog.ui-form-dialog:has([data-dialog-size='workspace']) {
  height: min(var(--ui-dialog-height-workspace), calc(var(--form-dialog-viewport-height, 100dvh) - var(--ui-space-8)));
}

dialog.ui-form-dialog:has([data-dialog-size='workspace']) > .container {
  height: 100%;
}

dialog.ui-form-dialog:has([data-dialog-size='workspace']) .dialog_content {
  flex: 1;
}

dialog.ui-form-dialog form[data-dialog-size='workspace'] {
  --block-dialog-form-width: var(--ui-dialog-width-workspace);

  display: flex;
  flex-direction: column;
  min-height: 100%;
}

[data-dialog-workspace-content] {
  display: grid;
  flex: 1;
}

dialog [data-dialog-fill]:not([hidden]) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: min-content;
}

dialog [data-dialog-fill] > :not([data-dialog-fill], [data-fill]) {
  flex-shrink: 0;
}

/* data-dialog-layout='columns' (on the form, or on one part of it such as a
   wizard step): its groups flow into columns. There are as many columns of
   at least --ui-dialog-column-min as fit. */
dialog :is(form, div, section)[data-dialog-layout='columns'] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--ui-dialog-column-min)), 1fr));
  gap: var(--ui-section-gap);
}

dialog :is(form, div, section)[data-dialog-layout='columns'] > * {
  align-content: start;
  min-width: 0;
}

dialog :is(form, div, section)[data-dialog-layout='columns'][hidden] {
  display: none;
}

/* data-dialog-layout='stack': the form's parts (a choice, a calendar, a
   status, facts) one under another, the section gap between them. */
dialog :is(form, div, section)[data-dialog-layout='stack'] {
  display: grid;
  gap: var(--ui-section-gap);
}

dialog :is(form, div, section)[data-dialog-layout='stack'] > * {
  min-width: 0;
  margin: 0;
}

/* A dialog in steps (the website wizard; the form dialog shell adds the
   parts). "Step 2 of 4" shows under the title bar, and Previous and Next at
   the end of the footer. The start and the ready-to-build steps hide
   Previous and Next (data-current-content-helper 0, data-status done). */
dialog .dialog_wizard_progress {
  flex: none;
  margin: 0;
  padding: var(--ui-space-2) var(--ui-surface-padding) 0;
  color: var(--color-text-muted);
  font-size: var(--ui-font-size-small);
}

dialog .dialog_wizard_progress[hidden] {
  display: none;
}

dialog .container .navigation_buttons {
  justify-content: flex-end;
}

dialog[data-current-content-helper='0'] .container .navigation_buttons,
dialog[data-status='done'] .container .navigation_buttons {
  display: none;
}

/* A dialog's steps (the website wizard). A line divides each step from the
   one before. The first and last steps are an introduction: a picture, a
   title, some sentences and their actions, in the centre. A step's text and
   pictures come before its fields. Scripts find the parts by data-wizard-*. */
dialog .block_wizard_steps {
  min-width: 0;
}

dialog .block_wizard_step {
  min-width: 0;
  padding-block: var(--ui-space-4);
  border-block-start: 1px solid var(--color-border-faint);
}

dialog .block_wizard_intro {
  display: flex;
  flex-flow: column nowrap;
  place-content: stretch center;
  align-items: stretch;
  text-align: center;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

dialog .block_wizard_intro_icon {
  width: 100%;
  height: calc(var(--ui-space-12) + var(--ui-space-4));
  object-fit: contain;
}

dialog .block_wizard_intro_title {
  margin-block: var(--ui-space-2) var(--ui-section-gap);
  font-family: var(--ui-font-family);
  font-size: var(--ui-font-size-title);
  font-weight: var(--ui-weight-medium);
}

dialog .block_wizard_intro .block_actions {
  justify-content: center;
}

dialog .block_wizard_step_text {
  margin-block-end: var(--ui-section-gap);
}

dialog .block_wizard_step_text p {
  margin: 0;
}

dialog .block_wizard_step_text p + p {
  margin-block-start: var(--ui-space-3);
}

dialog .block_wizard_step_title {
  margin: 0 0 var(--ui-space-2);
  font-family: var(--ui-font-family);
  font-size: var(--ui-font-size-control);
  font-weight: var(--ui-weight-medium);
}

dialog .block_wizard_step_media :is(img, video),
dialog .block_dialog_media :is(img, video) {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* A picture or film beside a dialog's fields (a content helper's media). */
dialog .block_dialog_media :is(img, video) {
  max-width: 480px;
}

/* A step's note about content that loads into it (the wizard's products and
   recent images), with its Retry. */
dialog .block_wizard_feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ui-action-gap);
  margin-block: var(--ui-space-3);
}

dialog .block_wizard_feedback p {
  flex: 1 1 var(--ui-dialog-column-min);
  margin: 0;
  color: var(--color-text-muted);
}

/* A preview beside a dialog's fields (the new page dialog's chosen
   template): its screenshots, name, description and a link to see it, in
   the centre. */
dialog .block_dialog_preview {
  text-align: center;
}

dialog .block_dialog_preview .screenshot_slider {
  margin-inline: auto;
}

dialog .block_dialog_preview img {
  border: 1px solid var(--color-input-border);
}

dialog .block_dialog_preview_title {
  margin: var(--ui-space-3) 0 var(--ui-space-2);
  font-size: var(--ui-font-size-control);
  font-weight: var(--ui-weight-medium);
  line-height: var(--ui-line-height-body);
  overflow-wrap: anywhere;
}

dialog .block_dialog_preview_text {
  margin: 0 0 var(--ui-space-3);
  color: var(--color-text-muted);
  font-size: var(--ui-font-size-label);
  line-height: var(--ui-line-height-body);
  overflow-wrap: anywhere;
}

dialog .block_dialog_preview .block_actions {
  justify-content: center;
}

/* Records edited inside a dialog (a product's options, its information
   blocks, its print mappings): a stack of bordered groups. Each group has
   its fields and a footer of actions, whose last one (Remove) sits at the
   end. Their buttons keep a full touch target. */
dialog .block_dialog_records {
  display: grid;
  gap: var(--ui-section-gap);
  margin-block-end: var(--ui-section-gap);
}

dialog .block_dialog_record {
  min-width: 0;
  margin: 0;
  padding: var(--ui-surface-padding);
  border: 1px solid var(--color-border-light);
  border-radius: var(--ui-radius-surface);
}

dialog .block_dialog_record > legend {
  padding-inline: var(--ui-space-2);
  font-size: var(--ui-font-size-label);
  font-weight: var(--ui-weight-strong);
}

dialog .block_dialog_record_actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ui-field-gap);
  margin-block-start: var(--ui-section-gap);
  padding-block-start: var(--ui-field-gap);
  border-block-start: 1px solid var(--color-border-faint);
}

dialog .block_dialog_record_actions > :last-child {
  margin-inline-start: auto;
}

dialog :is(.block_dialog_record .button, .block_dialog_records ~ .button) {
  min-height: var(--ui-touch-target);
}

/* data-density='compact': short records each on one line, the value then its
   action at the end (a product's keywords). */
dialog .block_dialog_records[data-density='compact'] {
  gap: var(--ui-field-gap);
  margin-block-start: var(--ui-section-gap);
}

dialog .block_dialog_records[data-density='compact'] > .block_dialog_record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--ui-field-gap);
  padding: 0;
  border: 0;
}

/* Reorderable rows in a dialog's table. */
dialog table {
  margin-block-start: var(--ui-space-4);
}

dialog table thead tr th {
  font-family: var(--ui-font-family);
  font-weight: var(--ui-weight-medium);
  text-align: start;
}

dialog table tbody tr td {
  min-width: 9px;
}

dialog table tbody tr td.drag_handle::before {
  font: var(--ui-icon-size) var(--ui-icon-font-family);
  font-weight: var(--ui-icon-weight);
  cursor: move;
  content: '\f7a4' var(--ui-icon-alt,);
}

/* @end */

/* @group Confirmation dialog */

dialog.confirmation_dialog {
  --block-dialog-confirmation-width: 460px;

  /* Centred in the visible viewport's rectangle, as dialog.ui-form-dialog is. */
  position: fixed;
  inset-block: calc(var(--confirmation-center-y, 50%) - var(--confirmation-viewport-height, 100%) / 2)
    calc(100% - var(--confirmation-center-y, 50%) - var(--confirmation-viewport-height, 100%) / 2);
  inset-inline: calc(var(--confirmation-center-x, 50%) - var(--confirmation-viewport-width, 100%) / 2)
    calc(100% - var(--confirmation-center-x, 50%) - var(--confirmation-viewport-width, 100%) / 2);
  box-sizing: border-box;
  width: min(var(--block-dialog-confirmation-width), calc(var(--confirmation-viewport-width, 100vw) - var(--ui-space-8)));
  max-height: calc(var(--confirmation-viewport-height, 100dvh) - var(--ui-space-8));
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: var(--color-text);
  background: var(--color-dialog-background);
  border: 1px solid var(--color-dialog-border);
  border-radius: var(--ui-radius-surface);
  box-shadow: 0 8px 32px rgb(0 0 0 / 20%);
}

dialog.confirmation_dialog form {
  display: flex;
  flex-flow: column nowrap;
  max-height: inherit;
  margin: 0;
  padding: 0;
}

dialog.confirmation_dialog header {
  flex: none;
  padding: var(--ui-space-3) var(--ui-space-4);
  background-color: var(--color-dialog-toolbar-background);
  border-block-end: 1px solid var(--color-dialog-border);
}

dialog.confirmation_dialog header h2 {
  margin: 0;
  color: var(--color-dialog-toolbar-text);
  font-family: var(--ui-font-family);
  font-size: var(--ui-font-size-control);
  font-weight: var(--ui-weight-strong);
  line-height: var(--ui-line-height-body);
  overflow-wrap: anywhere;
}

dialog.confirmation_dialog section {
  min-height: 0;
  padding: var(--ui-space-4);
  overflow: auto;
  font-family: var(--ui-font-family);
  font-size: var(--ui-font-size-control);
  line-height: var(--ui-line-height-body);
  overscroll-behavior: contain;
}

dialog.confirmation_dialog section p {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

dialog.confirmation_dialog .sections {
  margin-block-start: var(--ui-space-3);
  font-size: var(--ui-font-size-body);
}

dialog.confirmation_dialog [hidden] {
  display: none;
}

dialog.confirmation_dialog .confirmation_section_heading {
  margin: var(--ui-space-3) 0 var(--ui-space-1);
  font-size: inherit;
  font-weight: var(--ui-weight-strong);
}

dialog.confirmation_dialog .sections ul {
  margin: 0;
  padding-inline-start: var(--ui-space-6);
}

dialog.confirmation_dialog .sections li {
  overflow-wrap: anywhere;
}

dialog.confirmation_dialog section input {
  box-sizing: border-box;
  width: 100%;
  min-height: var(--ui-touch-target);
  margin-block-start: var(--ui-space-3);
  padding: var(--ui-space-2) var(--ui-space-3);
  color: var(--color-input-text);
  font: inherit;
  font-size: var(--ui-font-size-field);
  background-color: var(--color-input-background);
  border: 1px solid var(--color-input-border);
  border-radius: var(--ui-radius-control);
}

dialog.confirmation_dialog section input:focus-visible {
  outline: 2px solid var(--color-input-focus-border);
  outline-offset: -1px;
}

dialog.confirmation_dialog section input[aria-invalid='true'] {
  border-color: var(--color-negative);
}

dialog.confirmation_dialog footer {
  display: flex;
  flex: none;
  flex-flow: row wrap;
  justify-content: flex-end;
  gap: var(--ui-action-gap);
  padding: var(--ui-space-3) var(--ui-space-4);
  border-block-start: 1px solid var(--color-dialog-border);
}

dialog.confirmation_dialog footer .button {
  min-width: calc(var(--ui-touch-target) * 2);
  max-width: 100%;
  height: auto;
  min-height: var(--ui-touch-target);
  margin: 0;
  padding-block: var(--ui-space-2);
  white-space: normal;
  overflow-wrap: anywhere;
}

dialog.confirmation_dialog[data-mode='alert'] .cancel {
  display: none;
}

/* A second choice (not Cancel) reads as a button, as its partner does. */
dialog.confirmation_dialog[data-choice='true'] footer .cancel {
  border: 1px solid var(--color-control-border);
}

/* On a phone the buttons share each row evenly: side by side when they fit,
   otherwise one full-width button per row. */
@media (width <= 480px) {
  dialog.confirmation_dialog footer .button {
    flex: 1 1 auto;
  }
}

@supports (transition-behavior: allow-discrete) {
  dialog.confirmation_dialog,
  dialog.confirmation_dialog::backdrop {
    opacity: 0;
    transition:
      opacity var(--ui-duration-dismiss) var(--ui-ease-dismiss),
      overlay var(--ui-duration-dismiss) var(--ui-ease-dismiss) allow-discrete,
      display var(--ui-duration-dismiss) var(--ui-ease-dismiss) allow-discrete;
  }

  dialog.confirmation_dialog[open],
  dialog.confirmation_dialog[open]::backdrop {
    opacity: 1;
    transition-duration: var(--ui-duration-reveal);
  }

  @starting-style {
    dialog.confirmation_dialog[open],
    dialog.confirmation_dialog[open]::backdrop {
      opacity: 0;
    }
  }
}

/* @end */

/* Full document editors share the modal toolbar and keep their own scrolling frame. */
dialog[data-document-editor] {
  position: fixed;
  inset: 0;
  width: var(--ui-dialog-width-wide);
  max-width: calc(100% - var(--ui-space-4));
  height: calc(100% - var(--ui-space-4));
  max-height: calc(var(--form-dialog-viewport-height, 100dvh) - var(--ui-space-4));
}

dialog[data-document-editor] > .container {
  height: 100%;
  max-height: 100%;
}

dialog[data-document-editor] iframe {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
  background: var(--color-dialog-background);
}

dialog[data-document-editor] [role='status'] {
  margin: var(--ui-space-3);
}

dialog[data-document-editor] [role='status']:empty {
  display: none;
}

dialog[data-document-editor] .dialog_toolbar {
  flex: none;
}

/* A tabbed form keeps its header, tabs and footer still as panels change. */
dialog.ui-form-dialog:has(.dialog_content form > .block_tabs) {
  height: min(var(--ui-dialog-height-workspace), calc(var(--form-dialog-viewport-height, 100dvh) - var(--ui-space-8)));
}

dialog.ui-form-dialog:has(.dialog_content form > .block_tabs) > .container {
  height: 100%;
}

dialog.ui-form-dialog .dialog_content:has(form > .block_tabs) {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}

dialog.ui-form-dialog .dialog_content > .dialog:has(form > .block_tabs),
dialog.ui-form-dialog .dialog_content form:has(> .block_tabs),
dialog.ui-form-dialog .dialog_content form > .block_tabs {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  margin-block-end: 0;
}

dialog.ui-form-dialog .dialog_content form > .block_tabs > .block_tabs_bar {
  flex: none;
}

/* The panel positions what it holds: a switch's input or a hidden label
   scrolls with the panel and cannot overflow the dialog. The panel reaches
   the dialog's sides and carries their padding, so its scroll bar is at the
   edge, not over the fields. */
dialog.ui-form-dialog .dialog_content form > .block_tabs > .block_tab_panel {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-inline: calc(-1 * var(--ui-surface-padding));
  padding-inline: var(--ui-surface-padding);
  overflow: auto;
  overscroll-behavior: contain;
}

@supports (scrollbar-gutter: stable) {
  dialog.ui-form-dialog .dialog_content form > .block_tabs > .block_tab_panel {
    scrollbar-gutter: stable;
  }
}
