/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Typography
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Radius scale.
 */
/**
 * Elevation scale.
 */
/**
 * Dimensions.
 */
/**
 * Mobile specific styles
 */
/**
 * Editor styles.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
 * Typography
 */
/**
 * Breakpoints & Media Queries
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Breakpoint mixins
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Creates a checkerboard pattern background to indicate transparency.
 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
 */
@media (min-width: 782px) {
  .font-library-modal.font-library-modal {
    width: 65vw;
  }
}
.font-library-modal .components-modal__header {
  border-bottom: none;
}
.font-library-modal .components-modal__content {
  padding: 0;
  margin-bottom: 90px;
}
.font-library-modal .font-library__subtitle {
  text-transform: uppercase;
  font-weight: 499;
  font-size: 11px;
}

.font-library-modal__tab-panel {
  height: calc(100% - 50px);
}

.font-library__tabpanel-layout {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.font-library__tabpanel-layout > div {
  flex-grow: 1;
}
.font-library__tabpanel-layout .font-library__loading {
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  right: 0;
  top: 0;
  align-items: center;
  justify-content: center;
  padding-top: 124px;
  box-sizing: border-box;
}
.font-library__tabpanel-layout .components-navigator-screen {
  padding: 24px;
  width: 100%;
}

.font-library__footer {
  position: absolute;
  width: 100%;
  bottom: 0;
  border-top: 1px solid #ddd;
  padding: 24px;
  background-color: #fff;
  box-sizing: border-box;
  flex-grow: 0 !important;
  flex-shrink: 0;
  height: 90px;
}

.font-library__page-selection {
  font-size: 11px;
  font-weight: 499;
  text-transform: uppercase;
}
@media (min-width: 600px) {
  .font-library__page-selection .font-library__page-selection-trigger {
    font-size: 11px !important;
    font-weight: 499;
  }
}

.font-library__fonts-title {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0;
}

.font-library__fonts-list {
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.font-library__fonts-list-item {
  margin-bottom: 0;
}

.font-library__font-card {
  box-sizing: border-box;
  border: 1px solid #ddd;
  width: 100%;
  height: auto !important;
  padding: 16px;
  margin-top: -1px; /* To collapse the margin with the previous element */
}
.font-library__font-card:hover {
  background-color: #f0f0f0;
}
.font-library__font-card:focus {
  position: relative;
}
.font-library__font-card .font-library__font-card__name {
  font-weight: bold;
}
.font-library__font-card .font-library__font-card__count {
  color: #757575;
}
.font-library__font-card .font-library__font-variant_demo-image {
  display: block;
  height: 24px;
  width: auto;
}
.font-library__font-card .font-library__font-variant_demo-text {
  white-space: nowrap;
  flex-shrink: 0;
}
@media not (prefers-reduced-motion) {
  .font-library__font-card .font-library__font-variant_demo-text {
    transition: opacity 0.3s ease-in-out;
  }
}

.font-library-modal__tablist-container {
  position: sticky;
  top: 0;
  border-bottom: 1px solid #ddd;
  background: #fff;
  z-index: 1;
}

.font-library__upload-area {
  align-items: center;
  display: flex;
  justify-content: center;
  height: 256px !important;
  width: 100%;
}

button.font-library__upload-area {
  background-color: #f0f0f0;
}

.font-library__local-fonts {
  margin: 24px auto;
  width: 80%;
}
.font-library__local-fonts .font-library__upload-area__text {
  color: #757575;
}

.font-library__google-fonts-confirm {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 64px;
}
.font-library__google-fonts-confirm p {
  line-height: 1.4;
}
.font-library__google-fonts-confirm h2 {
  font-size: 1.2rem;
  font-weight: 400;
}
.font-library__google-fonts-confirm .components-card {
  padding: 16px;
  width: 400px;
}
.font-library__google-fonts-confirm .components-button {
  width: 100%;
  justify-content: center;
}

.font-library__select-all {
  padding: 16px 17px 16px 16px;
}
.font-library__select-all .components-checkbox-control__label {
  padding-right: 16px;
}

.global-styles-ui-pagination .components-button.is-tertiary {
  width: 32px;
  height: 32px;
  justify-content: center;
}

.global-styles-ui-screen-revisions__revisions-list {
  list-style: none;
  margin: 0 16px 16px 16px;
  flex-grow: 1;
}
.global-styles-ui-screen-revisions__revisions-list li {
  margin-bottom: 0;
}

.global-styles-ui-screen-revisions__revision-item {
  position: relative;
  cursor: var(--wpds-cursor-control, pointer);
  display: flex;
  flex-direction: column;
}
.global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus {
  box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  outline: 2px solid transparent;
}
.global-styles-ui-screen-revisions__revision-item:hover {
  background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
}
.global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date {
  color: var(--wp-admin-theme-color);
}
.global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after {
  position: absolute;
  content: "\a";
  display: block;
}
.global-styles-ui-screen-revisions__revision-item::before {
  background: #ddd;
  border-radius: 50%;
  height: 8px;
  width: 8px;
  top: 18px;
  right: 17px;
  transform: translate(50%, -50%);
  z-index: 1;
  border: 4px solid transparent;
}
.global-styles-ui-screen-revisions__revision-item[aria-selected=true] {
  border-radius: 2px;
  outline: 3px solid transparent;
  outline-offset: -2px;
  color: var(--wp-admin-theme-color);
  background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
}
.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date {
  color: var(--wp-admin-theme-color);
}
.global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before {
  background: var(--wp-admin-theme-color);
}
.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li,
.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta {
  color: #1e1e1e;
}
.global-styles-ui-screen-revisions__revision-item::after {
  height: 100%;
  right: 16px;
  top: 0;
  width: 0;
  border: 0.5px solid #ddd;
}
.global-styles-ui-screen-revisions__revision-item:first-child::after {
  top: 18px;
}
.global-styles-ui-screen-revisions__revision-item:last-child::after {
  height: 18px;
}

.global-styles-ui-screen-revisions__revision-item-wrapper {
  display: block;
  padding: 12px 40px 4px 12px;
}

.global-styles-ui-screen-revisions__apply-button.is-primary,
.global-styles-ui-screen-revisions__active-badge {
  align-self: flex-start;
  margin: 0 40px 12px 12px;
}

.global-styles-ui-screen-revisions__changes,
.global-styles-ui-screen-revisions__meta {
  color: #757575;
  font-size: 12px;
}

.global-styles-ui-screen-revisions__description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
}

.global-styles-ui-screen-revisions__meta {
  display: flex;
  justify-content: start;
  width: 100%;
  align-items: flex-start;
  text-align: right;
  margin-bottom: 4px;
}
.global-styles-ui-screen-revisions__meta img {
  width: 16px;
  height: 16px;
  border-radius: 100%;
  margin-left: 8px;
}

.global-styles-ui-screen-revisions__loading {
  margin: 24px auto !important;
}

.global-styles-ui-screen-revisions__changes {
  text-align: right;
  line-height: 1.4;
  margin-right: 12px;
  list-style: disc;
}
.global-styles-ui-screen-revisions__changes li {
  margin-bottom: 4px;
}

.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination {
  justify-content: space-between;
  gap: 2px;
}
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total {
  position: absolute;
  right: -1000px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
}
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text {
  font-size: 12px;
  will-change: opacity;
}
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary {
  color: #1e1e1e;
}
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled,
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] {
  color: #949494;
}

.global-styles-ui-screen-revisions__footer {
  height: 56px;
  z-index: 1;
  position: sticky;
  min-width: 100%;
  bottom: 0;
  background: #fff;
  padding: 12px;
  border-top: 1px solid #ddd;
  box-sizing: border-box;
}

.global-styles-ui-variations_item {
  box-sizing: border-box;
  cursor: var(--wpds-cursor-control, pointer);
}
.global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
  border-radius: 2px;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
  overflow: hidden;
  position: relative;
}
@media not (prefers-reduced-motion) {
  .global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
    transition: outline 0.1s linear;
  }
}
.global-styles-ui-variations_item .global-styles-ui-variations_item-preview.is-pill {
  height: 32px;
}
.global-styles-ui-variations_item .global-styles-ui-variations_item-preview.is-pill .block-editor-iframe__scale-container {
  overflow: hidden;
}
.global-styles-ui-variations_item:not(.is-active):hover .global-styles-ui-variations_item-preview {
  outline-color: rgba(0, 0, 0, 0.3);
}
.global-styles-ui-variations_item.is-active .global-styles-ui-variations_item-preview, .global-styles-ui-variations_item:focus-visible .global-styles-ui-variations_item-preview {
  outline-color: #1e1e1e;
  outline-offset: 1px;
  outline-width: var(--wp-admin-border-width-focus);
}
.global-styles-ui-variations_item:focus-visible .global-styles-ui-variations_item-preview {
  outline-color: var(--wp-admin-theme-color);
}

.global-styles-ui-preview__wrapper {
  max-width: 100%;
  display: block;
  width: 100%;
}
.global-styles-ui-preview__wrapper.is-hoverable {
  cursor: var(--wpds-cursor-control, pointer);
}

.global-styles-ui-typography-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  margin-bottom: 20px;
  background: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
}

.global-styles-ui-font-size__item {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-break: anywhere;
}

.global-styles-ui-font-size__item-value {
  color: #757575;
}

.global-styles-ui-screen-typography__indicator {
  height: 24px;
  width: 24px;
  font-size: 14px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.global-styles-ui-block-types-search {
  margin-bottom: 10px;
  padding: 0 16px;
}

.global-styles-ui-screen-typography__font-variants-count {
  color: #757575;
}

.global-styles-ui-font-families__manage-fonts {
  justify-content: center;
}

.global-styles-ui-screen .color-block-support-panel {
  padding-right: 0;
  padding-left: 0;
  padding-top: 0;
  border-top: none;
  row-gap: 12px;
}

.global-styles-ui-header {
  margin-bottom: 0 !important;
  line-height: 1.9 !important;
}

.global-styles-ui-subtitle {
  margin-bottom: 0 !important;
  text-transform: uppercase;
  font-weight: 499 !important;
  font-size: 11px !important;
}

.global-styles-ui-section-title {
  color: #2f2f2f;
  font-weight: 600;
  line-height: 1.2;
  padding: 16px 16px 0;
  margin: 0;
}

.global-styles-ui-icon-with-current-color {
  fill: currentColor;
}

.global-styles-ui__color-indicator-wrapper {
  height: 24px;
  flex-shrink: 0;
}

.global-styles-ui__shadows-panel__options-container,
.global-styles-ui__typography-panel__options-container {
  height: 24px;
}

.global-styles-ui__block-preview-panel {
  position: relative;
  width: 100%;
  border: #ddd 1px solid;
  border-radius: 2px;
  overflow: hidden;
}

.global-styles-ui__shadow-preview-panel {
  height: 144px;
  border: #ddd 1px solid;
  border-radius: 2px;
  overflow: auto;
  background-image: repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0), repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0);
  background-position: 0 0, 8px 8px;
  background-size: 16px 16px;
}
.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block {
  border: #ddd 1px solid;
  border-radius: 2px;
  background-color: #fff;
  width: 60%;
  height: 60px;
}

.global-styles-ui__shadow-editor__dropdown-content {
  width: 280px;
}

.global-styles-ui__shadow-editor-panel {
  margin-bottom: 4px;
}

.global-styles-ui__shadow-editor__dropdown {
  width: 100%;
  position: relative;
}

.global-styles-ui__shadow-editor__dropdown-toggle {
  width: 100%;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: right;
  border-radius: inherit;
}
.global-styles-ui__shadow-editor__dropdown-toggle.is-open {
  background: #f0f0f0;
  color: var(--wp-admin-theme-color);
}

.global-styles-ui__shadow-editor__remove-button {
  position: absolute;
  left: 8px;
  top: 8px;
  opacity: 0;
}
.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
  border: none;
}
.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover {
  opacity: 1;
}
@media (hover: none) {
  .global-styles-ui__shadow-editor__remove-button {
    opacity: 1;
  }
}

.global-styles-ui-screen-css {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  margin: 16px;
}
.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel {
  flex: 1 1 auto;
}
.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input textarea {
  flex: 1 1 auto;
}

.global-styles-ui-screen-css-help-link {
  display: inline-block;
  margin-top: 8px;
}

.global-styles-ui-screen-variations {
  margin-top: 16px;
  border-top: 1px solid #ddd;
}
.global-styles-ui-screen-variations > * {
  margin: 24px 16px;
}

.global-styles-ui-sidebar__navigator-provider {
  height: 100%;
}

.global-styles-ui-sidebar__navigator-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.global-styles-ui-sidebar__navigator-screen .single-column {
  grid-column: span 1;
}

.global-styles-ui-screen-root.global-styles-ui-screen-root,
.global-styles-ui-screen-style-variations.global-styles-ui-screen-style-variations {
  background: unset;
  color: inherit;
}

.global-styles-ui-sidebar__panel .block-editor-block-icon svg {
  fill: currentColor;
}

.global-styles-ui-screen-root__active-style-tile.global-styles-ui-screen-root__active-style-tile, .global-styles-ui-screen-root__active-style-tile.global-styles-ui-screen-root__active-style-tile .global-styles-ui-screen-root__active-style-tile-preview {
  border-radius: 2px;
}

.global-styles-ui-screen-root__active-style-tile-preview {
  clip-path: border-box;
}

.global-styles-ui-color-palette-panel,
.global-styles-ui-gradient-palette-panel {
  padding: 16px;
}