#gin-sidebar-draggable {
  cursor: ew-resize;
  z-index: 104;
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  padding: 0;
  display: block;
  width: 2px;
  height: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  #gin-sidebar-draggable {
    transition: var(--gin-transition-fast);
  }
}

#gin-sidebar-draggable:hover {
  background-color: var(--gin-border-color-table);
}

#gin-sidebar-draggable:active {
  background-color: var(--gin-border-color);
}

@media (prefers-reduced-motion: no-preference) {
  .layout-region-node-secondary {
    transition: transform var(--gin-transition-fast);
  }
}

@media (max-width: 60.99em) {
  .layout-region-node-secondary {
    --gin-sidebar-width: var(--gin-sidebar-small-width);
  }
}

@media (max-width: 63.99em) {
  .layout-region-node-secondary {
    opacity: 0;
    visibility: hidden;
  }
}

body[data-meta-sidebar=closed] {
  --gin-sidebar-offset: 0px;
}

body[data-meta-sidebar=closed] .layout-region-node-secondary {
  transform: translateX(var(--gin-sidebar-width));
  visibility: hidden;
}

[dir=rtl] body[data-meta-sidebar=closed] .layout-region-node-secondary {
  transform: translateX(calc(var(--gin-sidebar-width) * -1));
}

@media (max-width: 63.99em) {
  body[data-meta-sidebar=open] .layout-region-node-secondary {
    opacity: 1;
    visibility: visible;
  }
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__close,
.meta-sidebar__close {
  cursor: pointer;
  background: transparent;
  height: 32px;
  width: 32px;
  border-radius: var(--gin-border-m);
}

@media (prefers-reduced-motion: no-preference) {
  :is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__close,
  .meta-sidebar__close {
    transition: background var(--gin-transition-fast);
  }
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__close::before,
.meta-sidebar__close::before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center center;
          mask-position: center center;
  background-color: var(--gin-icon-color);
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__close:hover, :is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__close:focus,
.meta-sidebar__close:hover,
.meta-sidebar__close:focus {
  background-color: var(--gin-color-primary-light);
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__close:hover::before, :is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__close:focus::before,
.meta-sidebar__close:hover::before,
.meta-sidebar__close:focus::before {
  background-color: var(--gin-color-primary);
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__close.is-active,
.meta-sidebar__close.is-active {
  background-color: var(--gin-color-primary-light-hover);
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__close.is-active::before,
.meta-sidebar__close.is-active::before {
  background-color: var(--gin-color-primary-active);
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__trigger,
.meta-sidebar__trigger {
  cursor: pointer;
  background: transparent;
  display: block;
  width: 32px;
  height: 32px;
  border-radius: var(--gin-border-m);
}

@media (prefers-reduced-motion: no-preference) {
  :is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__trigger,
  .meta-sidebar__trigger {
    transition: background var(--gin-transition-fast);
  }
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__trigger::before,
.meta-sidebar__trigger::before {
  display: inline-block;
  width: 100%;
  height: 100%;
  content: "";
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center center;
          mask-position: center center;
  background-color: var(--gin-icon-color);
  -webkit-mask-image: url("../../media/sprite.svg#sidebar-view");
          mask-image: url("../../media/sprite.svg#sidebar-view");
  -webkit-mask-size: var(--gin-icon-size-sidebar-toggle) var(--gin-icon-size-sidebar-toggle);
          mask-size: var(--gin-icon-size-sidebar-toggle) var(--gin-icon-size-sidebar-toggle);
  border-radius: 50%;
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__trigger:hover, :is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__trigger:focus, :is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__trigger.is-active, :is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__trigger.is-active:hover,
.meta-sidebar__trigger:hover,
.meta-sidebar__trigger:focus,
.meta-sidebar__trigger.is-active,
.meta-sidebar__trigger.is-active:hover {
  background-color: var(--gin-color-primary-light);
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__trigger:hover::before, :is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__trigger:focus::before, :is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__trigger.is-active::before, :is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__trigger.is-active:hover::before,
.meta-sidebar__trigger:hover::before,
.meta-sidebar__trigger:focus::before,
.meta-sidebar__trigger.is-active::before,
.meta-sidebar__trigger.is-active:hover::before {
  background-color: var(--gin-color-primary);
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__trigger.is-active,
.meta-sidebar__trigger.is-active {
  background-color: var(--gin-bg-item-hover);
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__close,
.meta-sidebar__close {
  z-index: 104;
  position: absolute;
  inset-block-start: 18px;
  inset-inline-end: var(--gin-spacing-m);
}

@media (min-width: 64em) {
  :is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__close,
  .meta-sidebar__close {
    display: none;
  }
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__close::before,
.meta-sidebar__close::before {
  -webkit-mask-image: url("../../media/sprite.svg#close-view");
          mask-image: url("../../media/sprite.svg#close-view");
  -webkit-mask-size: 16px 16px;
          mask-size: 16px 16px;
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__overlay,
.meta-sidebar__overlay {
  z-index: 102;
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  background: var(--gin-bg-layer2);
}

body[data-meta-sidebar=open] :is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__overlay,
body[data-meta-sidebar=open] .meta-sidebar__overlay {
  opacity: .9;
  visibility: visible;
}

@media (min-width: 64em) {
  :is(#extra-specificity-hack, [data-drupal-admin-styles]) .meta-sidebar__overlay,
  .meta-sidebar__overlay {
    display: none;
  }
}

